const e=`The Chip is used to display status information inside a badge. The status information can be mapped to the displayed label and the color-coding of the component.

The most common use of the Chip is to be mounted inside other components, for instance the Table or the Card.
`,t=`Il Chip viene utilizzato per visualizzare le informazioni di stato all'interno di un badge. Le informazioni sullo stato possono essere mappate sull'etichetta visualizzata e sul codice colore del componente.

L'uso più comune del chip è quello di essere montato all'interno di altri componenti, ad esempio la Table o la Card.
`,o={docLink:"https://docs.mia-platform.eu/docs/microfrontend-composer/back-kit/components/chip",label:"Chip",description:"Displays status information",descriptionLong:{en:e,it:t},example:JSON.stringify({tag:"bk-chip",properties:{value:"active",valueMap:{active:{label:"Active",color:"#0f0"}}}}),type:"layout",properties:{value:{__mia_configuration:{attribute:!1,"schema-hint":"localized-text",label:"Value",description:"Status value. Chooses the option amongs `valueMap` keys",priority:"high"}},valueMap:{__mia_configuration:{attribute:!1,label:"Value Map",description:"map of possible values. It must be an object that maps to each key and object with color and label.Color must be written as `hex` color with an initial hash and label can be an i18n string",priority:"high"},type:"object",additionalProperties:{type:"object",properties:{color:{type:"string",pattern:"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",label:"Color",description:"Primary color of the chip"},label:{type:"string",label:"Label",description:"Label to use for a given key"}}}}}};var i=o;export{i as default};
