@yahoo/uds 3.66.2 → 3.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-6R44MOVY.js → chunk-52XP6M4A.js} +1 -1
- package/dist/{chunk-T7JIQU5L.cjs → chunk-MIFZ6CW4.cjs} +1 -1
- package/dist/{chunk-7XJEBJXK.js → chunk-PF4DFSHW.js} +1 -1
- package/dist/{chunk-CH4HM5MJ.cjs → chunk-RBWYRHZO.cjs} +1 -1
- package/dist/{chunk-NUBAR7JU.cjs → chunk-SENPKUAV.cjs} +1 -1
- package/dist/{chunk-ZDFJDBSZ.js → chunk-UHDFVABF.js} +1 -1
- package/dist/{chunk-AMQY73SF.cjs → chunk-UNZRFPUW.cjs} +1 -1
- package/dist/{chunk-BQKVHGOL.js → chunk-YB3FEQDR.js} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +0 -1
- package/dist/experimental/client/SwitchV2.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createSubComponentConfig as e,createVariantConfigWithProperties as a,createLayerConfig as r,createConfigurableProperty as t,createVariantConfigWithComponentStates as o,createComponentStates as s,createVariantConfig as l}from"../../chunk-BQKVHGOL.js";import{borderRadii as i,spectrumColors as n,linePaletteColors as d,alwaysPaletteAliases as p,backgroundPaletteColors as u,foregroundPaletteColors as c,iconSizes as y,textVariants as b,borderWidths as m,spacingAliases as f,shadowVariantsWithInvert as v,shadowVariants as h,buttonVariantsFlat as g,scaleEffects as x,opacitySteps as w,textDecorationLines as C,textVariantsWithoutEmphasized as O}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var F={label:"Avatar",description:"An avatar is a visual element that represents a user or entity, usually shown as a circle or square with an image, icon, or initials. It's commonly used in profiles, comments, or messages to help identify people.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:r({label:"root",properties:{height:t({name:"height",label:"Height",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),width:t({name:"width",label:"Width",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],defaults:{xs:"thin",sm:"thin",md:"thin",lg:"thin",xl:"thin"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{xs:"caption1",sm:"caption2",md:"headline1",lg:"title4",xl:"title3"}})}}),icon:r({label:"icon",properties:{iconSize:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg",xl:"lg"}})}})}})},subComponents:{text:e({label:"Text",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{color:t({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"brand",secondary:"secondary"}}),backgroundColor:t({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"primary",secondary:"secondary"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"brand",secondary:"secondary"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}}),image:e({label:"Image",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"muted",secondary:"muted"}}),borderRadius:t({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}}),icon:e({label:"Icon",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{color:t({name:"color",label:"icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"muted",secondary:"muted"}}),backgroundColor:t({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"secondary",secondary:"secondary"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"primary"}}),borderRadius:t({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}})}};var S={label:"Badge",description:"Component for demo purposes and testing the automation",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"0.5",sm:"1",md:"1.5",lg:"2"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{xs:"label4",sm:"label3",md:"label2",lg:"label1"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg"}})}})}}),variant:a({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary","alert","alert-secondary","warning","warning-secondary","positive","positive-secondary","info","info-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none",alert:"none","alert-secondary":"none",warning:"none","warning-secondary":"none",positive:"none","positive-secondary":"none",info:"none","info-secondary":"none"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"sm",secondary:"sm",brand:"sm","brand-secondary":"sm",alert:"sm","alert-secondary":"sm",warning:"sm","warning-secondary":"sm",positive:"sm","positive-secondary":"sm",info:"sm","info-secondary":"sm"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl-invert",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}})}})}})}};var P={label:"Button",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md","lg"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"3",md:"4",lg:"5"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"2",lg:"3.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1.5",md:"1.5",lg:"1.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"ui1",md:"ui1",lg:"ui1"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"sm",lg:"sm"}})}})}}),variant:a({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:g,layers:{root:r({label:"root",properties:{borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"thin",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"full",secondary:"full",tertiary:"full",brand:"full","brand-secondary":"full","brand-tertiary":"full",alert:"full","alert-secondary":"full","alert-tertiary":"full",warning:"full","warning-secondary":"full","warning-tertiary":"full",positive:"full","positive-secondary":"full","positive-tertiary":"full",info:"full","info-secondary":"full","info-tertiary":"full"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",tertiary:"tertiary",brand:"tertiary","brand-secondary":"tertiary","brand-tertiary":"tertiary",alert:"tertiary","alert-secondary":"tertiary","alert-tertiary":"tertiary",warning:"tertiary","warning-secondary":"tertiary","warning-tertiary":"tertiary",positive:"tertiary","positive-secondary":"tertiary","positive-tertiary":"tertiary",info:"tertiary","info-secondary":"tertiary","info-tertiary":"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"accent",secondary:"accent",tertiary:"accent",brand:"brand","brand-secondary":"accent","brand-tertiary":"accent",alert:"alert","alert-secondary":"accent","alert-tertiary":"accent",warning:"warning","warning-secondary":"accent","warning-tertiary":"accent",positive:"positive","positive-secondary":"accent","positive-tertiary":"accent",info:"accent","info-secondary":"accent","info-tertiary":"accent"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",tertiary:"primary",brand:"primary","brand-secondary":"primary","brand-tertiary":"primary",alert:"primary","alert-secondary":"primary","alert-tertiary":"primary",warning:"primary","warning-secondary":"primary","warning-tertiary":"primary",positive:"primary","positive-secondary":"primary","positive-tertiary":"primary",info:"info","info-secondary":"primary","info-tertiary":"primary"}}),opacity:t({name:"opacity",label:"Opacity",typeOfFixture:["opacitySteps"],values:[w],skipRestState:!0,pseudoStates:["disabled"],defaults:{primary:"100",secondary:"100",tertiary:"100",brand:"100","brand-secondary":"100","brand-tertiary":"100",alert:"100","alert-secondary":"100","alert-tertiary":"100",warning:"100","warning-secondary":"100","warning-tertiary":"100",positive:"100","positive-secondary":"100","positive-tertiary":"100",info:"100","info-secondary":"100","info-tertiary":"100"}}),shadow:t({name:"shadow",label:"Shadow",typeOfFixture:["shadowVariants"],values:[h],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],values:[v],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),scaleEffect:t({name:"scaleEffect",label:"Scale",typeOfFixture:["scaleEffects"],values:[x],skipRestState:!0,pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",tertiary:"primary",brand:"primary","brand-secondary":"primary","brand-tertiary":"primary",alert:"primary","alert-secondary":"primary","alert-tertiary":"primary",warning:"primary","warning-secondary":"primary","warning-tertiary":"primary",positive:"primary","positive-secondary":"primary","positive-tertiary":"primary",info:"primary","info-secondary":"primary","info-tertiary":"primary"}})}})}})}};var A={label:"Checkbox",description:"A checkbox is a small, interactive element that lets users select one or more options from a list.",variants:{size:a({label:"size",isConfigurable:!0,options:["sm","md"],default:"md",description:"",layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),checkbox:r({label:"checkbox",properties:{borderWidth:t({name:"borderWidth",label:"Checkbox border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"thin",md:"thin"}}),height:t({name:"height",label:"Checkbox height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}}),width:t({name:"width",label:"Checkbox width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}})}})}}),variant:o({label:"variant",description:"",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:s({label:"value",options:["checked","unchecked","indeterminate"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}}),checkbox:r({label:"checkbox",properties:{borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",alert:"tertiary","alert-secondary":"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Checkbox background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",alert:"md","alert-secondary":"none"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"md","alert-secondary":"xl"}})}}),checkboxIcon:r({label:"checkboxIcon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}})}})}})}};var z={label:"Chip",description:"A chip is a small, interactive element that presents information, actions, or selections in a compact form — commonly used for tags, filters, or user input.",subComponents:{toggle:e({label:"Toggle",description:"",variants:{variant:o({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})}}),dismissible:e({label:"Dismissible",description:"",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"gray-4",secondary:"blue-4",brand:"red-4","brand-secondary":"purple-4"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"gray-9",secondary:"blue-9",brand:"red-9","brand-secondary":"red-4"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}}),link:e({label:"Link",description:"",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["hover","pressed"],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})},variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"3",md:"3"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"1.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label1",md:"label1"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{sm:"full",md:"full"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"md"}})}})}})}};var k={label:"Divider",description:"Divider lines are purely decorative and non-interactive, serving as a visual guide. Use as horizontal and vertical lines.",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","muted"],layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{primary:"2",secondary:"2",tertiary:"2",muted:"2"}})}}),line:r({label:"line",properties:{borderWidth:t({name:"borderWidth",label:"Thickness",typeOfFixture:["borderWidths"],values:[m.filter(e=>"none"!==e)],defaults:{primary:"thin",secondary:"thin",tertiary:"thin",muted:"thin"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}}),label:r({label:"label",properties:{textVariant:t({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[b],defaults:{primary:"label3",secondary:"label3",tertiary:"label3",muted:"label3"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}})}})}};var V={label:"IconButton",description:"Customizing your own icon buttons involves adjusting icon sizes, and spacing values to create a personalized button.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:r({label:"root",properties:{padding:t({name:"padding",label:"Padding",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"2",md:"3",lg:"3.5",xl:"4"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"xs",sm:"sm",md:"sm",lg:"md",xl:"lg"}})}})}}),variant:l({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:g})}};var I={label:"input",description:"An input field is a box where users can type or select information. It can also open a dropdown menu to show options or help collect data.",variants:{size:a({label:"size",isConfigurable:!0,options:["md","lg"],default:"md",description:"",layers:{root:r({label:"root",properties:{}}),inputWrapper:r({label:"inputWrapper",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"3.5",lg:"4"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"2",lg:"3.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"3",lg:"3"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["pressed","invalid"],defaults:{md:"thin",lg:"thin"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{md:"md",lg:"md"}}),textVariant:t({name:"textVariant",label:"Input text style",typeOfFixture:["textVariants"],pseudoStates:["hover"],values:[b],defaults:{md:"label2",lg:"label2"}})}}),input:r({label:"input",properties:{height:t({name:"height",label:"Input element height",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"6",lg:"6"}})}}),startIcon:r({label:"startIcon",properties:{size:t({name:"iconSize",label:"Start icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"md",lg:"md"}})}}),endIcon:r({label:"endIcon",properties:{size:t({name:"iconSize",label:"End icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"md",lg:"md"}})}}),label:r({label:"label",properties:{textVariant:t({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[b],defaults:{md:"label4",lg:"label4"}})}}),helperIcon:r({label:"helperIcon",properties:{size:t({name:"iconSize",label:"Helper text icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"sm",lg:"sm"}})}}),helperText:r({label:"helperText",properties:{textVariant:t({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[b],defaults:{md:"label4",lg:"label4"}})}})}}),variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{value:s({label:"value",options:["filled","empty"],layers:{root:r({label:"root",properties:{}}),inputWrapper:r({label:"input",properties:{borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"primary"}})}}),input:r({label:"input",properties:{color:t({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),inputPlaceholder:r({label:"inputPlaceholder",pseudoSelector:"::placeholder",properties:{color:t({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),startIcon:r({label:"startIcon",properties:{color:t({name:"color",label:"Start icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),endIcon:r({label:"endIcon",properties:{color:t({name:"color",label:"End icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),label:r({label:"label",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),labelRequired:r({label:"labelRequired",properties:{color:t({name:"color",label:"Required color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperIcon:r({label:"helperIcon",properties:{color:t({name:"color",label:"Helper icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperText:r({label:"helpText",properties:{color:t({name:"color",label:"Helper text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"brand"}})}})}})}})}};var W={label:"Link",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{textStyle:a({label:"Text Style",description:"",isConfigurable:!0,default:"title1",options:O,layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{display1:"2",display2:"2",display3:"2",title1:"2",title2:"2",title3:"2",title4:"2",headline1:"2",body1:"2",label1:"2",label2:"2",label3:"2",label4:"2",caption1:"2",caption2:"2",legal1:"2",ui1:"2",ui2:"2",ui3:"2",ui4:"2",ui5:"2",ui6:"2"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{display1:"lg",display2:"lg",display3:"lg",title1:"md",title2:"md",title3:"md",title4:"md",headline1:"md",body1:"md",label1:"md",label2:"md",label3:"md",label4:"sm",caption1:"md",caption2:"sm",legal1:"md",ui1:"md",ui2:"md",ui3:"md",ui4:"md",ui5:"md",ui6:"md"}})}})}}),variant:a({label:"Variants",description:"Variants",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","on-color"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}}),textDecorationLine:t({name:"textDecorationLine",label:"Underline",typeOfFixture:["textDecorationLines"],values:[C],pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none","on-color":"none"}})}}),iconStart:r({label:"iconStart",properties:{color:t({name:"color",label:"Icon start color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}}),iconEnd:r({label:"iconEnd",properties:{color:t({name:"color",label:"Icon end color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}})}})}};var T={label:"Menu",description:"A menu is a component that offers a list of choices to the user, such as a set of actions or functions. ",variants:{size:a({label:"size",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:r({label:"root",properties:{}}),startIcon:r({label:"startIcon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{default:"sm"}})}}),endIcon:r({label:"endIcon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{default:"sm"}})}})}})},subComponents:{item:e({label:"Item",description:"",variants:{variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",pseudoStates:["hover","focused"],label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand-secondary"}})}}),text:r({label:"text",properties:{color:t({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[b],defaults:{default:"label2"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}})}})}})}}),itemCheckbox:e({label:"ItemCheckbox",description:"",variants:{variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"background color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand-secondary"}})}}),text:r({label:"text",properties:{textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[b],defaults:{default:"label2"}}),color:t({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}}),startIcon:r({label:"startIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}}),endIcon:r({label:"endIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}})}})}})}}),divider:e({label:"divider",description:"",variants:{variant:a({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:r({label:"root",properties:{}}),text:r({label:"text",properties:{color:t({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"muted"}}),textVariant:t({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[b],defaults:{default:"label3"}})}}),line:r({label:"line",properties:{borderWidth:t({name:"borderWidth",label:"line thickness",typeOfFixture:["borderWidths"],values:[m.filter(e=>"none"!==e)],defaults:{default:"thin"}}),borderColor:t({name:"borderColor",label:"line color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{default:"transparent"}})}})}})}})}};var R={label:"Radio",description:"Component for demo purposes and testing the automation",variants:{variant:o({label:"Variant",description:"Preview the colors, spacing values, and motion effects of your component at their default size.",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:s({label:"value",options:["checked","unchecked"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}})}}),radio:r({label:"radio",properties:{borderColor:t({name:"borderColor",label:"Radio border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"tertiary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}}),backgroundColor:t({name:"backgroundColor",label:"Radio background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",alert:"xl","alert-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"xl","alert-secondary":"xl-invert"}})}}),radioCircle:r({label:"radioCircle",properties:{backgroundColor:t({name:"backgroundColor",label:"Radio circle color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"brand",secondary:"brand-secondary",alert:"alert","alert-secondary":"alert-secondary"}})}})}})}}),size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"sm",options:["sm","md"],layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),radio:r({label:"radio",properties:{borderWidth:t({name:"borderWidth",label:"Radio border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"thin",md:"thin"}}),height:t({name:"height",label:"Radio height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}}),width:t({name:"width",label:"Radio width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}})}})}})}};var B={label:"Switch",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",variants:{variant:o({label:"Variant",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",default:"default",options:["default"],isConfigurable:!0,componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{labelColor:t({name:"color",label:"Label color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"secondary"}})}}),switch:r({label:"switch",properties:{backgroundColor:t({name:"backgroundColor",label:"Track background color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand"}}),borderColor:t({name:"borderColor",label:"Track border color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{default:"brand"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handle:r({label:"handle",properties:{backgroundColor:t({name:"backgroundColor",label:"Handle color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"primary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handleIcon:r({label:"handleIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c],defaults:{default:"brand"}})}})}})}}),size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"0",md:"0"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"1.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),switch:r({label:"switch",properties:{height:t({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"5",md:"7"}}),width:t({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"8",md:"12"}}),borderWidth:t({name:"borderWidth",label:"Track border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"none",md:"none"}}),padding:t({name:"padding",label:"Track padding",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"0.5",md:"0.5"}})}}),handle:r({label:"Handle",properties:{height:t({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"6"}}),width:t({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"6"}})}}),handleIcon:r({label:"Icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"sm"}})}})}})}};export{F as AvatarConfig,S as BadgeConfig,P as ButtonConfig,A as CheckboxConfig,z as ChipConfig,k as DividerConfig,V as IconButtonConfig,I as InputConfig,W as LinkConfig,T as MenuConfig,R as RadioConfig,B as SwitchConfig};
|
|
1
|
+
import{createSubComponentConfig as e,createVariantConfigWithProperties as a,createLayerConfig as r,createConfigurableProperty as t,createVariantConfigWithComponentStates as o,createComponentStates as s,createVariantConfig as l}from"../../chunk-YB3FEQDR.js";import{borderRadii as i,spectrumColors as n,linePaletteColors as d,alwaysPaletteAliases as p,backgroundPaletteColors as u,foregroundPaletteColors as c,iconSizes as y,textVariants as b,borderWidths as m,spacingAliases as f,shadowVariantsWithInvert as v,shadowVariants as h,buttonVariantsFlat as g,scaleEffects as x,opacitySteps as w,textDecorationLines as C,textVariantsWithoutEmphasized as F}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var O={label:"Avatar",description:"An avatar is a visual element that represents a user or entity, usually shown as a circle or square with an image, icon, or initials. It's commonly used in profiles, comments, or messages to help identify people.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:r({label:"root",properties:{height:t({name:"height",label:"Height",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),width:t({name:"width",label:"Width",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],defaults:{xs:"thin",sm:"thin",md:"thin",lg:"thin",xl:"thin"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{xs:"caption1",sm:"caption2",md:"headline1",lg:"title4",xl:"title3"}})}}),icon:r({label:"icon",properties:{iconSize:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg",xl:"lg"}})}})}})},subComponents:{text:e({label:"Text",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{color:t({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"brand",secondary:"secondary"}}),backgroundColor:t({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"primary",secondary:"secondary"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"brand",secondary:"secondary"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}}),image:e({label:"Image",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"muted",secondary:"muted"}}),borderRadius:t({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}}),icon:e({label:"Icon",description:"",variants:{variant:a({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:r({label:"root",properties:{color:t({name:"color",label:"icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"muted",secondary:"muted"}}),backgroundColor:t({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"secondary",secondary:"secondary"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"primary"}}),borderRadius:t({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"full",secondary:"sm"}})}})}})}})}};var S={label:"Badge",description:"Component for demo purposes and testing the automation",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"0.5",sm:"1",md:"1.5",lg:"2"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{xs:"label4",sm:"label3",md:"label2",lg:"label1"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg"}})}})}}),variant:a({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary","alert","alert-secondary","warning","warning-secondary","positive","positive-secondary","info","info-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none",alert:"none","alert-secondary":"none",warning:"none","warning-secondary":"none",positive:"none","positive-secondary":"none",info:"none","info-secondary":"none"}}),borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{primary:"sm",secondary:"sm",brand:"sm","brand-secondary":"sm",alert:"sm","alert-secondary":"sm",warning:"sm","warning-secondary":"sm",positive:"sm","positive-secondary":"sm",info:"sm","info-secondary":"sm"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl-invert",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}})}})}})}};var P={label:"Button",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md","lg"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"3",md:"4",lg:"5"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"2",lg:"3.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1.5",md:"1.5",lg:"1.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"ui1",md:"ui1",lg:"ui1"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"sm",lg:"sm"}})}})}}),variant:a({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:g,layers:{root:r({label:"root",properties:{borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"thin",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"full",secondary:"full",tertiary:"full",brand:"full","brand-secondary":"full","brand-tertiary":"full",alert:"full","alert-secondary":"full","alert-tertiary":"full",warning:"full","warning-secondary":"full","warning-tertiary":"full",positive:"full","positive-secondary":"full","positive-tertiary":"full",info:"full","info-secondary":"full","info-tertiary":"full"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",tertiary:"tertiary",brand:"tertiary","brand-secondary":"tertiary","brand-tertiary":"tertiary",alert:"tertiary","alert-secondary":"tertiary","alert-tertiary":"tertiary",warning:"tertiary","warning-secondary":"tertiary","warning-tertiary":"tertiary",positive:"tertiary","positive-secondary":"tertiary","positive-tertiary":"tertiary",info:"tertiary","info-secondary":"tertiary","info-tertiary":"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"accent",secondary:"accent",tertiary:"accent",brand:"brand","brand-secondary":"accent","brand-tertiary":"accent",alert:"alert","alert-secondary":"accent","alert-tertiary":"accent",warning:"warning","warning-secondary":"accent","warning-tertiary":"accent",positive:"positive","positive-secondary":"accent","positive-tertiary":"accent",info:"accent","info-secondary":"accent","info-tertiary":"accent"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",tertiary:"primary",brand:"primary","brand-secondary":"primary","brand-tertiary":"primary",alert:"primary","alert-secondary":"primary","alert-tertiary":"primary",warning:"primary","warning-secondary":"primary","warning-tertiary":"primary",positive:"primary","positive-secondary":"primary","positive-tertiary":"primary",info:"info","info-secondary":"primary","info-tertiary":"primary"}}),opacity:t({name:"opacity",label:"Opacity",typeOfFixture:["opacitySteps"],values:[w],skipRestState:!0,pseudoStates:["disabled"],defaults:{primary:"100",secondary:"100",tertiary:"100",brand:"100","brand-secondary":"100","brand-tertiary":"100",alert:"100","alert-secondary":"100","alert-tertiary":"100",warning:"100","warning-secondary":"100","warning-tertiary":"100",positive:"100","positive-secondary":"100","positive-tertiary":"100",info:"100","info-secondary":"100","info-tertiary":"100"}}),shadow:t({name:"shadow",label:"Shadow",typeOfFixture:["shadowVariants"],values:[h],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],values:[v],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}}),scaleEffect:t({name:"scaleEffect",label:"Scale",typeOfFixture:["scaleEffects"],values:[x],skipRestState:!0,pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none",brand:"none","brand-secondary":"none","brand-tertiary":"none",alert:"none","alert-secondary":"none","alert-tertiary":"none",warning:"none","warning-secondary":"none","warning-tertiary":"none",positive:"none","positive-secondary":"none","positive-tertiary":"none",info:"none","info-secondary":"none","info-tertiary":"none"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",tertiary:"primary",brand:"primary","brand-secondary":"primary","brand-tertiary":"primary",alert:"primary","alert-secondary":"primary","alert-tertiary":"primary",warning:"primary","warning-secondary":"primary","warning-tertiary":"primary",positive:"primary","positive-secondary":"primary","positive-tertiary":"primary",info:"primary","info-secondary":"primary","info-tertiary":"primary"}})}})}})}};var A={label:"Checkbox",description:"A checkbox is a small, interactive element that lets users select one or more options from a list.",variants:{size:a({label:"size",isConfigurable:!0,options:["sm","md"],default:"md",description:"",layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),checkbox:r({label:"checkbox",properties:{borderWidth:t({name:"borderWidth",label:"Checkbox border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"thin",md:"thin"}}),height:t({name:"height",label:"Checkbox height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}}),width:t({name:"width",label:"Checkbox width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}})}})}}),variant:o({label:"variant",description:"",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:s({label:"value",options:["checked","unchecked","indeterminate"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}}),checkbox:r({label:"checkbox",properties:{borderColor:t({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",alert:"tertiary","alert-secondary":"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Checkbox background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",alert:"md","alert-secondary":"none"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"md","alert-secondary":"xl"}})}}),checkboxIcon:r({label:"checkboxIcon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}})}})}})}};var z={label:"Chip",description:"A chip is a small, interactive element that presents information, actions, or selections in a compact form — commonly used for tags, filters, or user input.",subComponents:{toggle:e({label:"Toggle",description:"",variants:{variant:o({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})}}),dismissible:e({label:"Dismissible",description:"",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"gray-4",secondary:"blue-4",brand:"red-4","brand-secondary":"purple-4"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"gray-9",secondary:"blue-9",brand:"red-9","brand-secondary":"red-4"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[m],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}}),link:e({label:"Link",description:"",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["hover","pressed"],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})},variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"3",md:"3"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"1.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label1",md:"label1"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{sm:"full",md:"full"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"md"}})}})}})}};var k={label:"Divider",description:"Divider lines are purely decorative and non-interactive, serving as a visual guide. Use as horizontal and vertical lines.",variants:{variant:a({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","muted"],layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{primary:"2",secondary:"2",tertiary:"2",muted:"2"}})}}),line:r({label:"line",properties:{borderWidth:t({name:"borderWidth",label:"Thickness",typeOfFixture:["borderWidths"],values:[m.filter(e=>"none"!==e)],defaults:{primary:"thin",secondary:"thin",tertiary:"thin",muted:"thin"}}),borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}}),label:r({label:"label",properties:{textVariant:t({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[b],defaults:{primary:"label3",secondary:"label3",tertiary:"label3",muted:"label3"}}),color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}})}})}};var I={label:"IconButton",description:"Customizing your own icon buttons involves adjusting icon sizes, and spacing values to create a personalized button.",variants:{size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:r({label:"root",properties:{padding:t({name:"padding",label:"Padding",typeOfFixture:["spacingAliases"],values:[f],defaults:{xs:"2",sm:"2",md:"3",lg:"3.5",xl:"4"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{xs:"xs",sm:"sm",md:"sm",lg:"md",xl:"lg"}})}})}}),variant:l({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:g})}};var V={label:"input",description:"An input field is a box where users can type or select information. It can also open a dropdown menu to show options or help collect data.",variants:{size:a({label:"size",isConfigurable:!0,options:["md","lg"],default:"md",description:"",layers:{root:r({label:"root",properties:{}}),inputWrapper:r({label:"inputWrapper",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"3.5",lg:"4"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"2",lg:"3.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"3",lg:"3"}}),borderWidth:t({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[m],pseudoStates:["pressed","invalid"],defaults:{md:"thin",lg:"thin"}}),borderRadius:t({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[i],defaults:{md:"md",lg:"md"}}),textVariant:t({name:"textVariant",label:"Input text style",typeOfFixture:["textVariants"],pseudoStates:["hover"],values:[b],defaults:{md:"label2",lg:"label2"}})}}),input:r({label:"input",properties:{height:t({name:"height",label:"Input element height",typeOfFixture:["spacingAliases"],values:[f],defaults:{md:"6",lg:"6"}})}}),startIcon:r({label:"startIcon",properties:{size:t({name:"iconSize",label:"Start icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"md",lg:"md"}})}}),endIcon:r({label:"endIcon",properties:{size:t({name:"iconSize",label:"End icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"md",lg:"md"}})}}),label:r({label:"label",properties:{textVariant:t({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[b],defaults:{md:"label4",lg:"label4"}})}}),helperIcon:r({label:"helperIcon",properties:{size:t({name:"iconSize",label:"Helper text icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{md:"sm",lg:"sm"}})}}),helperText:r({label:"helperText",properties:{textVariant:t({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[b],defaults:{md:"label4",lg:"label4"}})}})}}),variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{value:s({label:"value",options:["filled","empty"],layers:{root:r({label:"root",properties:{}}),inputWrapper:r({label:"input",properties:{borderColor:t({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"tertiary"}}),backgroundColor:t({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"primary"}})}}),input:r({label:"input",properties:{color:t({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),inputPlaceholder:r({label:"inputPlaceholder",pseudoSelector:"::placeholder",properties:{color:t({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),startIcon:r({label:"startIcon",properties:{color:t({name:"color",label:"Start icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),endIcon:r({label:"endIcon",properties:{color:t({name:"color",label:"End icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),label:r({label:"label",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),labelRequired:r({label:"labelRequired",properties:{color:t({name:"color",label:"Required color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperIcon:r({label:"helperIcon",properties:{color:t({name:"color",label:"Helper icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperText:r({label:"helpText",properties:{color:t({name:"color",label:"Helper text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"brand"}})}})}})}})}};var W={label:"Link",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{textStyle:a({label:"Text Style",description:"",isConfigurable:!0,default:"title1",options:F,layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{display1:"2",display2:"2",display3:"2",title1:"2",title2:"2",title3:"2",title4:"2",headline1:"2",body1:"2",label1:"2",label2:"2",label3:"2",label4:"2",caption1:"2",caption2:"2",legal1:"2",ui1:"2",ui2:"2",ui3:"2",ui4:"2",ui5:"2",ui6:"2"}})}}),icon:r({label:"icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{display1:"lg",display2:"lg",display3:"lg",title1:"md",title2:"md",title3:"md",title4:"md",headline1:"md",body1:"md",label1:"md",label2:"md",label3:"md",label4:"sm",caption1:"md",caption2:"sm",legal1:"md",ui1:"md",ui2:"md",ui3:"md",ui4:"md",ui5:"md",ui6:"md"}})}})}}),variant:a({label:"Variants",description:"Variants",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","on-color"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}}),textDecorationLine:t({name:"textDecorationLine",label:"Underline",typeOfFixture:["textDecorationLines"],values:[C],pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none","on-color":"none"}})}}),iconStart:r({label:"iconStart",properties:{color:t({name:"color",label:"Icon start color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}}),iconEnd:r({label:"iconEnd",properties:{color:t({name:"color",label:"Icon end color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[n,c,p],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}})}})}};var T={label:"Menu",description:"A menu is a component that offers a list of choices to the user, such as a set of actions or functions. ",variants:{size:a({label:"size",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:r({label:"root",properties:{}}),startIcon:r({label:"startIcon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{default:"sm"}})}}),endIcon:r({label:"endIcon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{default:"sm"}})}})}})},subComponents:{item:e({label:"Item",description:"",variants:{variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",pseudoStates:["hover","focused"],label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand-secondary"}})}}),text:r({label:"text",properties:{color:t({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[b],defaults:{default:"label2"}})}}),icon:r({label:"icon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}})}})}})}}),itemCheckbox:e({label:"ItemCheckbox",description:"",variants:{variant:o({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{backgroundColor:t({name:"backgroundColor",label:"background color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand-secondary"}})}}),text:r({label:"text",properties:{textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[b],defaults:{default:"label2"}}),color:t({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}}),startIcon:r({label:"startIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}}),endIcon:r({label:"endIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"brand"}})}})}})}})}}),divider:e({label:"divider",description:"",variants:{variant:a({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:r({label:"root",properties:{}}),text:r({label:"text",properties:{color:t({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"muted"}}),textVariant:t({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[b],defaults:{default:"label3"}})}}),line:r({label:"line",properties:{borderWidth:t({name:"borderWidth",label:"line thickness",typeOfFixture:["borderWidths"],values:[m.filter(e=>"none"!==e)],defaults:{default:"thin"}}),borderColor:t({name:"borderColor",label:"line color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{default:"transparent"}})}})}})}})}};var R={label:"Radio",description:"Component for demo purposes and testing the automation",variants:{variant:o({label:"Variant",description:"Preview the colors, spacing values, and motion effects of your component at their default size.",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:s({label:"value",options:["checked","unchecked"],layers:{root:r({label:"root",properties:{color:t({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}})}}),radio:r({label:"radio",properties:{borderColor:t({name:"borderColor",label:"Radio border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],pseudoStates:["hover","pressed"],defaults:{primary:"tertiary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}}),backgroundColor:t({name:"backgroundColor",label:"Radio background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",alert:"xl","alert-secondary":"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"xl","alert-secondary":"xl-invert"}})}}),radioCircle:r({label:"radioCircle",properties:{backgroundColor:t({name:"backgroundColor",label:"Radio circle color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],pseudoStates:["hover","pressed"],defaults:{primary:"brand",secondary:"brand-secondary",alert:"alert","alert-secondary":"alert-secondary"}})}})}})}}),size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"sm",options:["sm","md"],layers:{root:r({label:"root",properties:{gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2.5"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),radio:r({label:"radio",properties:{borderWidth:t({name:"borderWidth",label:"Radio border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"thin",md:"thin"}}),height:t({name:"height",label:"Radio height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}}),width:t({name:"width",label:"Radio width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"5"}})}})}})}};var B={label:"Switch",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",variants:{variant:o({label:"Variant",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",default:"default",options:["default"],isConfigurable:!0,componentStates:{active:s({label:"active",options:["on","off"],layers:{root:r({label:"root",properties:{labelColor:t({name:"color",label:"Label color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c,p],defaults:{default:"secondary"}})}}),switch:r({label:"switch",properties:{backgroundColor:t({name:"backgroundColor",label:"Track background color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"brand"}}),borderColor:t({name:"borderColor",label:"Track border color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[n,d,p],defaults:{default:"brand"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handle:r({label:"handle",properties:{backgroundColor:t({name:"backgroundColor",label:"Handle color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[n,u,p],defaults:{default:"primary"}}),shadow:t({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[h],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:t({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[v],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handleIcon:r({label:"handleIcon",properties:{color:t({name:"color",label:"Icon color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[n,c],defaults:{default:"brand"}})}})}})}}),size:a({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:r({label:"root",properties:{spacingHorizontal:t({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"0",md:"0"}}),spacingVertical:t({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"1",md:"1.5"}}),gap:t({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"2",md:"2"}}),textVariant:t({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[b],defaults:{sm:"label4",md:"label2"}})}}),switch:r({label:"switch",properties:{height:t({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"5",md:"7"}}),width:t({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"8",md:"12"}}),borderWidth:t({name:"borderWidth",label:"Track border width",typeOfFixture:["borderWidths"],values:[m],defaults:{sm:"none",md:"none"}}),padding:t({name:"padding",label:"Track padding",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"0.5",md:"0.5"}})}}),handle:r({label:"Handle",properties:{height:t({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"6"}}),width:t({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[f],defaults:{sm:"4",md:"6"}})}}),handleIcon:r({label:"Icon",properties:{size:t({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[y],defaults:{sm:"sm",md:"sm"}})}})}})}};export{O as AvatarConfig,S as BadgeConfig,P as ButtonConfig,A as CheckboxConfig,z as ChipConfig,k as DividerConfig,I as IconButtonConfig,V as InputConfig,W as LinkConfig,T as MenuConfig,R as RadioConfig,B as SwitchConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../chunk-
|
|
1
|
+
"use strict";var e=require("../../chunk-MIFZ6CW4.cjs");Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{configurableProperties}from"../../chunk-
|
|
1
|
+
export{configurableProperties}from"../../chunk-YB3FEQDR.js";
|
package/dist/tokens/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../chunk-T7JIQU5L.cjs"),t=require("../chunk-ULP73NNZ.cjs"),r=require("../chunk-67NZP2EJ.cjs"),n=require("../chunk-ZGLNOALK.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return e.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return e.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return e.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return e.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return e.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return e.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return e.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return e.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return e.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return e.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return e.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return e.generateClassName}}),Object.defineProperty(exports,"generateConfigStyles",{enumerable:!0,get:function(){return e.generateConfigStyles}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return e.generateDeclaration}}),Object.defineProperty(exports,"generateDefaultClassName",{enumerable:!0,get:function(){return e.generateDefaultClassName}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return e.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return e.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return e.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return e.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return e.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return e.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return e.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return e.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return e.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return e.getConfigVariants}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return e.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return e.parseButtonVariantFlat}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return e.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return e.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return e.toMinimalDbConfigObject}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return t.alwaysPalette}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return t.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return t.mapValues}}),Object.defineProperty(exports,"parseOpacityStep",{enumerable:!0,get:function(){return t.parseOpacityStep}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BACKGROUND_COLOR_PREFIX",{enumerable:!0,get:function(){return n.BACKGROUND_COLOR_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_GAP_VAR",{enumerable:!0,get:function(){return n.BUTTON_GAP_VAR}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_HOVER",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_HOVER}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_PRESSED",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_PRESSED}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_REST",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_REST}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"DROP_SHADOW_PREFIX",{enumerable:!0,get:function(){return n.DROP_SHADOW_PREFIX}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return n.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.INVERT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return n.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_COLOR_PREFIX",{enumerable:!0,get:function(){return n.LINE_COLOR_PREFIX}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SYSTEM_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
|
|
1
|
+
"use strict";var e=require("../chunk-MIFZ6CW4.cjs"),t=require("../chunk-ULP73NNZ.cjs"),r=require("../chunk-67NZP2EJ.cjs"),n=require("../chunk-ZGLNOALK.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return e.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return e.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return e.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return e.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return e.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return e.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return e.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return e.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return e.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return e.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return e.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return e.generateClassName}}),Object.defineProperty(exports,"generateConfigStyles",{enumerable:!0,get:function(){return e.generateConfigStyles}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return e.generateDeclaration}}),Object.defineProperty(exports,"generateDefaultClassName",{enumerable:!0,get:function(){return e.generateDefaultClassName}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return e.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return e.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return e.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return e.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return e.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return e.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return e.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return e.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return e.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return e.getConfigVariants}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return e.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return e.parseButtonVariantFlat}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return e.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return e.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return e.toMinimalDbConfigObject}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return t.alwaysPalette}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return t.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return t.mapValues}}),Object.defineProperty(exports,"parseOpacityStep",{enumerable:!0,get:function(){return t.parseOpacityStep}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BACKGROUND_COLOR_PREFIX",{enumerable:!0,get:function(){return n.BACKGROUND_COLOR_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_GAP_VAR",{enumerable:!0,get:function(){return n.BUTTON_GAP_VAR}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_HOVER",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_HOVER}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_PRESSED",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_PRESSED}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_REST",{enumerable:!0,get:function(){return n.BUTTON_SCALE_EFFECT_REST}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"DROP_SHADOW_PREFIX",{enumerable:!0,get:function(){return n.DROP_SHADOW_PREFIX}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return n.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.INVERT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return n.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_COLOR_PREFIX",{enumerable:!0,get:function(){return n.LINE_COLOR_PREFIX}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SYSTEM_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
|
package/dist/tokens/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateConfigStyles,generateDeclaration,generateDefaultClassName,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,isConfigDefaultValue,parseButtonVariantFlat,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-
|
|
1
|
+
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateConfigStyles,generateDeclaration,generateDefaultClassName,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,isConfigDefaultValue,parseButtonVariantFlat,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-YB3FEQDR.js";export{alwaysPalette,entries,mapValues,parseOpacityStep}from"../chunk-RXOSKQ3M.js";export{variants}from"../chunk-DXTANXUQ.js";export{AVATAR_SIZE_PREFIX,BACKGROUND_COLOR_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_GAP_VAR,BUTTON_SCALE_EFFECT,BUTTON_SCALE_EFFECT_HOVER,BUTTON_SCALE_EFFECT_PRESSED,BUTTON_SCALE_EFFECT_REST,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,DROP_SHADOW_PREFIX,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LETTER_SPACING_PREFIX,LIGHT_COLOR_MODE_CLASSNAME,LINE_COLOR_PREFIX,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-STPH6333.js";
|