import{j as f}from"./iframe-p4aYZyoq.js";import{C as e}from"./chip-uVzAi-nV.js";import"./preload-helper-BDBacUwf.js";import"./index-Dx18ixSn.js";import"./times-DeY5Bu0x.js";const{fn:r}=__STORYBOOK_MODULE_TEST__,g={component:e,title:"Core/Chip",argTypes:{className:{options:["primary","secondary"],control:{type:"select"}},color:{control:"select",name:"--main-chip-color",options:["var(--fr--color-sapphire-blue)","var(--fr--color-sea-blue)","var(--fr--color-vivid-cerulean)","var(--fr--color-medium-turquoise)","var(--fr--color-gainsborough)","white","blue"]}},args:{title:"this is a chip",compact:!1,disabled:!1,className:"primary",removable:!1,onClick:r(),onKeyPress:r(),onRemove:r()},render:({title:i,compact:c,className:l,disabled:p,color:m,removable:n,onClick:d,onKeyPress:h,onRemove:u})=>f.jsx(e,{title:i,compact:c,disabled:p,className:l,onClick:d,onKeyPress:h,onRemove:n?u:void 0,style:{"--main-chip-color":m},children:"Chip content"})},o={};var s,a,t;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(t=(a=o.parameters)==null?void 0:a.docs)==null?void 0:t.source}}};const x=["Chip"];export{o as Chip,x as __namedExportsOrder,g as default};
