@yahoo/uds 3.51.0-beta.1 → 3.51.0
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/{Box-CUh6JR7o.d.ts → Box-BRZ4oTzD.d.ts} +1 -1
- package/dist/{Box-DVCow8uy.d.ts → Box-Crrq6i4h.d.ts} +1 -1
- package/dist/{Box-L281XkpA.d.cts → Box-D3tacR6r.d.cts} +1 -1
- package/dist/{Box-Cvl7A9pQ.d.cts → Box-khx32G-b.d.cts} +1 -1
- package/dist/{Pressable-FRpIa3mr.d.ts → Pressable-BP0FhzRH.d.ts} +1 -1
- package/dist/{Pressable-NcqgljIB.d.ts → Pressable-B_tUxlD9.d.ts} +1 -1
- package/dist/{Pressable-CCQDpgdV.d.cts → Pressable-C1Csw_As.d.cts} +1 -1
- package/dist/{Pressable-CFvz_KkV.d.cts → Pressable-ellfpcNV.d.cts} +1 -1
- package/dist/{Text-C0g1BZRq.d.cts → Text-B34lMyPP.d.cts} +1 -1
- package/dist/{Text-DPAGXQX_.d.cts → Text-BAHkYEiK.d.cts} +2 -9
- package/dist/{Text-DPAGXQX_.d.ts → Text-BAHkYEiK.d.ts} +2 -9
- package/dist/{Text-DqJw6cX_.d.cts → Text-CsOioZGs.d.cts} +1 -1
- package/dist/{Text-Bs60-S4b.d.ts → Text-CvY2JUUX.d.ts} +1 -1
- package/dist/{Text-CObaD0dW.d.ts → Text-OWYMFHte.d.ts} +1 -1
- package/dist/{VStack-2-h0syMY.d.cts → VStack-C33dVmTS.d.cts} +2 -2
- package/dist/{VStack-B6EYjtcC.d.ts → VStack-CJJ81YBr.d.ts} +2 -2
- package/dist/{VStack-DhRmq3I4.d.ts → VStack-CbJ3sqEF.d.ts} +2 -2
- package/dist/{VStack-BS3zOnmF.d.cts → VStack-CyBmtBp6.d.cts} +2 -2
- package/dist/chunk-33NEAKZA.js +1 -0
- package/dist/chunk-3JPAMGZ6.cjs +1 -0
- package/dist/chunk-42TM364I.cjs +1 -0
- package/dist/chunk-47GDQLRF.cjs +1 -0
- package/dist/chunk-4FYSWG6O.cjs +1 -0
- package/dist/{chunk-U57GLRER.cjs → chunk-4YBHOXSS.cjs} +1 -1
- package/dist/chunk-6NN6LFUC.js +2 -0
- package/dist/{chunk-Z5IUIUGO.cjs → chunk-6YDD52PT.cjs} +1 -1
- package/dist/{chunk-ZG2QBSTD.js → chunk-7LL5RQKC.js} +1 -1
- package/dist/{chunk-EHDEWVLV.js → chunk-BZ4WZEML.js} +1 -1
- package/dist/{chunk-4AHFN3OA.cjs → chunk-DJUMIONK.cjs} +1 -1
- package/dist/chunk-DOZR4VV3.cjs +1 -0
- package/dist/{chunk-BM7BPYJZ.js → chunk-EHNYL5IT.js} +2 -2
- package/dist/chunk-FBUQPNDG.js +1 -0
- package/dist/{chunk-2KVNRQEO.cjs → chunk-GHZN55YT.cjs} +1 -1
- package/dist/{chunk-G4XGZNEI.cjs → chunk-GPNEY7KS.cjs} +1 -1
- package/dist/chunk-JPN6YWNN.js +3 -0
- package/dist/{chunk-U6EFKQU3.cjs → chunk-KE43NLOC.cjs} +1 -1
- package/dist/chunk-KVYG47TI.cjs +2 -0
- package/dist/chunk-LOMTXRSD.js +2 -0
- package/dist/chunk-ND5BLCNY.js +2 -0
- package/dist/{chunk-SIH6N4MG.js → chunk-OUNJ2EVS.js} +1 -1
- package/dist/{chunk-PH6MAF7V.cjs → chunk-OYSJXW7P.cjs} +1 -1
- package/dist/{chunk-6MGREGRB.js → chunk-P7V37CKS.js} +2 -2
- package/dist/chunk-Q3FDUDAQ.cjs +2 -0
- package/dist/{chunk-VZQYI656.cjs → chunk-QKVZMGMM.cjs} +1 -1
- package/dist/{chunk-KTHPG5TI.js → chunk-RBOC3W4R.js} +2 -2
- package/dist/chunk-S5RRP747.js +2 -0
- package/dist/{chunk-A775CEIC.cjs → chunk-SETEF3DV.cjs} +1 -1
- package/dist/chunk-TDZQZIK5.js +3 -0
- package/dist/{chunk-KCA6G2IP.js → chunk-VQ3E3HCA.js} +1 -1
- package/dist/{chunk-UMRLFVTY.cjs → chunk-WSOND4XN.cjs} +1 -1
- package/dist/{chunk-JQTRJCS3.js → chunk-XRC3XONK.js} +1 -1
- package/dist/{chunk-WQLTYMTS.cjs → chunk-YAZO2HQM.cjs} +1 -1
- package/dist/{chunk-5ZBIY6AW.js → chunk-YUETI7CX.js} +1 -1
- package/dist/{chunk-WDAGVBPY.js → chunk-ZNIACIJN.js} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +3482 -3482
- package/dist/defaultTokensConfig.d.ts +3482 -3482
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +2 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +2 -2
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/fixtures.cjs +4 -79
- package/dist/fixtures.d.cts +2 -5
- package/dist/fixtures.d.ts +2 -5
- package/dist/fixtures.js +2 -74
- package/dist/{index-BsoxPpjo.d.cts → index-CTlhEZRM.d.cts} +1 -1
- package/dist/{index-xvB5OxPZ.d.ts → index-CuQqyADG.d.ts} +1 -1
- package/dist/{index-4xKx2_xE.d.ts → index-D4H-tFSg.d.ts} +1 -1
- package/dist/{index-CWrqdCSS.d.cts → index-DK8IHooi.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- 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.d.cts +3 -3
- package/dist/tailwind/plugin.d.ts +3 -3
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +2 -2
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -114
- package/dist/tokens/index.d.ts +4 -114
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-CZs2hd57.d.cts → types-DyrBa-Te.d.cts} +1929 -1936
- package/dist/{types-CZs2hd57.d.ts → types-DyrBa-Te.d.ts} +1929 -1936
- package/dist/{types-hzDOw1m6.d.cts → types-wpDRhNL7.d.cts} +1942 -1949
- package/dist/{types-hzDOw1m6.d.ts → types-wpDRhNL7.d.ts} +1942 -1949
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- package/dist/chunk-24SIYFLS.cjs +0 -2
- package/dist/chunk-26KCJWEG.cjs +0 -1
- package/dist/chunk-2AZATKLC.cjs +0 -2
- package/dist/chunk-3ZCMMPZA.js +0 -1
- package/dist/chunk-7BSRRG47.js +0 -2
- package/dist/chunk-7QVCKS7V.js +0 -2
- package/dist/chunk-AMGEYAT4.js +0 -2
- package/dist/chunk-BAZC5ETD.js +0 -3
- package/dist/chunk-CXQDRT7W.cjs +0 -1
- package/dist/chunk-PPFRPMS7.js +0 -1
- package/dist/chunk-QTKEWJYB.cjs +0 -1
- package/dist/chunk-REBNTOTC.cjs +0 -1
- package/dist/chunk-S6YY3EIL.cjs +0 -1
- package/dist/chunk-TTM7M2N6.js +0 -2
- package/dist/chunk-XHHJDMZ3.js +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import { m as ShadowPreset, g as UniversalTokensConfig } from './types-
|
|
2
|
+
import { m as ShadowPreset, g as UniversalTokensConfig } from './types-DyrBa-Te.cjs';
|
|
3
3
|
|
|
4
4
|
type DispatchContext = {
|
|
5
5
|
componentName: string;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-A775CEIC.cjs"),t=require("./chunk-VZQYI656.cjs"),r=require("./chunk-G4XGZNEI.cjs"),n=require("./chunk-WQLTYMTS.cjs"),o=require("./chunk-24SIYFLS.cjs"),i=require("./chunk-4AHFN3OA.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-26KCJWEG.cjs"),c=require("./chunk-LNZSNDOV.cjs"),f=require("react"),p=require("react/jsx-runtime"),b=require("@yahoo/uds/client"),s=f.forwardRef(function(e,r){return p.jsx(t.DividerInternal,{ref:r,...e})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */s.displayName="Divider";var O=f.forwardRef(function({variant:e="primary",textVariant:t,startIcon:r,endIcon:n,alwaysUnderline:i=!1,children:u,className:a,...c},b){const s=!t,O=f.useMemo(()=>{const r=!s&&o.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return o.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:o.cx(r,"uds-ring",i&&"underline",a)})},[i,s,t,e,a]),g=o.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),l=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:P,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:l,icon:n,iconProps:P,"data-testid":"end-icon"})]})});O.displayName="Link",Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return n.FormLabel}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return o.Box}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return o.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return o.Text}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return o.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return o.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return o.getStyles}}),Object.defineProperty(exports,"getStylesCacheKeySymbol",{enumerable:!0,get:function(){return o.getStylesCacheKeySymbol}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return i.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return i.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return i.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return i.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return i.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return i.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return i.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return i.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return i.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return i.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return i.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return i.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return i.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return i.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return i.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return i.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return i.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return i.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return i.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return i.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return i.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return i.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return i.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return i.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return i.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return i.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return i.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return i.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return i.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return i.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return i.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return i.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return i.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return i.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return i.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return i.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return u.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return u.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return a.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return c.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return c.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return c.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return c.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return c.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return c.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return c.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.INVERT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return c.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return c.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return c.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return c.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SYSTEM_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return c.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return c.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return b.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return b.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return b.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return b.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return b.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return b.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return b.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return b.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return b.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return b.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return b.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return b.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return b.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return b.Input}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return b.InputHelpText}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return b.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return b.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return b.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return b.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return b.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return b.Switch}}),exports.Divider=s,exports.Link=O;
|
|
1
|
+
"use strict";var e=require("./chunk-SETEF3DV.cjs"),t=require("./chunk-QKVZMGMM.cjs"),r=require("./chunk-GPNEY7KS.cjs"),n=require("./chunk-YAZO2HQM.cjs"),o=require("./chunk-Q3FDUDAQ.cjs"),i=require("./chunk-WSOND4XN.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-47GDQLRF.cjs"),c=require("./chunk-LNZSNDOV.cjs"),f=require("react"),p=require("react/jsx-runtime"),b=require("@yahoo/uds/client"),s=f.forwardRef(function(e,r){return p.jsx(t.DividerInternal,{ref:r,...e})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */s.displayName="Divider";var O=f.forwardRef(function({variant:e="primary",textVariant:t,startIcon:r,endIcon:n,alwaysUnderline:i=!1,children:u,className:a,...c},b){const s=!t,O=f.useMemo(()=>{const r=!s&&o.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return o.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:o.cx(r,"uds-ring",i&&"underline",a)})},[i,s,t,e,a]),g=o.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),l=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:P,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:l,icon:n,iconProps:P,"data-testid":"end-icon"})]})});O.displayName="Link",Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return n.FormLabel}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return o.Box}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return o.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return o.Text}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return o.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return o.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return o.getStyles}}),Object.defineProperty(exports,"getStylesCacheKeySymbol",{enumerable:!0,get:function(){return o.getStylesCacheKeySymbol}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return i.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return i.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return i.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return i.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return i.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return i.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return i.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return i.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return i.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return i.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return i.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return i.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return i.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return i.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return i.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return i.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return i.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return i.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return i.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return i.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return i.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return i.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return i.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return i.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return i.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return i.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return i.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return i.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return i.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return i.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return i.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return i.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return i.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return i.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return i.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return i.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return u.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return u.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return a.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return c.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return c.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return c.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return c.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return c.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return c.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return c.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.INVERT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return c.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return c.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return c.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return c.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SYSTEM_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return c.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return c.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return b.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return b.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return b.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return b.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return b.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return b.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return b.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return b.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return b.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return b.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return b.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return b.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return b.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return b.Input}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return b.InputHelpText}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return b.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return b.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return b.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return b.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return b.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return b.Switch}}),exports.Divider=s,exports.Link=O;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as DivProps } from './Box-
|
|
2
|
-
export { a as Box, B as BoxProps } from './Box-
|
|
3
|
-
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-
|
|
1
|
+
import { D as DivProps } from './Box-khx32G-b.cjs';
|
|
2
|
+
export { a as Box, B as BoxProps } from './Box-khx32G-b.cjs';
|
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CyBmtBp6.cjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
5
|
+
import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-DyrBa-Te.cjs';
|
|
6
|
+
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-DyrBa-Te.cjs';
|
|
7
7
|
import * as react from 'react';
|
|
8
8
|
import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
|
9
|
-
export { T as Text, a as TextProps } from './Text-
|
|
9
|
+
export { T as Text, a as TextProps } from './Text-B34lMyPP.cjs';
|
|
10
10
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputHelpText, InputHelpTextProps, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
|
11
11
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
|
|
12
12
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
|
13
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
|
13
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-DK8IHooi.cjs';
|
|
14
14
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
15
15
|
import 'motion/react';
|
|
16
16
|
import 'type-fest';
|
|
@@ -296,12 +296,12 @@ declare const getStylesInternal: (props?: ({
|
|
|
296
296
|
menuDividerVariantLine?: "default" | undefined;
|
|
297
297
|
color?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
298
298
|
placeholderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
299
|
-
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "
|
|
300
|
-
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
301
|
-
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "
|
|
302
|
-
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
299
|
+
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
|
300
|
+
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
301
|
+
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "bold" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | undefined;
|
|
302
|
+
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
303
303
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
|
304
|
-
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "
|
|
304
|
+
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
|
305
305
|
spacing?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
306
306
|
spacingHorizontal?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
307
307
|
spacingVertical?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as DivProps } from './Box-
|
|
2
|
-
export { a as Box, B as BoxProps } from './Box-
|
|
3
|
-
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-
|
|
1
|
+
import { D as DivProps } from './Box-BRZ4oTzD.js';
|
|
2
|
+
export { a as Box, B as BoxProps } from './Box-BRZ4oTzD.js';
|
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CbJ3sqEF.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
5
|
+
import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-DyrBa-Te.js';
|
|
6
|
+
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-DyrBa-Te.js';
|
|
7
7
|
import * as react from 'react';
|
|
8
8
|
import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
|
9
|
-
export { T as Text, a as TextProps } from './Text-
|
|
9
|
+
export { T as Text, a as TextProps } from './Text-OWYMFHte.js';
|
|
10
10
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputHelpText, InputHelpTextProps, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
|
11
11
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
|
|
12
12
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
|
13
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
|
13
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-CuQqyADG.js';
|
|
14
14
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
15
15
|
import 'motion/react';
|
|
16
16
|
import 'type-fest';
|
|
@@ -296,12 +296,12 @@ declare const getStylesInternal: (props?: ({
|
|
|
296
296
|
menuDividerVariantLine?: "default" | undefined;
|
|
297
297
|
color?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
298
298
|
placeholderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
299
|
-
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "
|
|
300
|
-
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
301
|
-
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "
|
|
302
|
-
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
299
|
+
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
|
300
|
+
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
301
|
+
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "bold" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | undefined;
|
|
302
|
+
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
303
303
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
|
304
|
-
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "
|
|
304
|
+
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
|
305
305
|
spacing?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
306
306
|
spacingHorizontal?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
307
307
|
spacingVertical?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Image}from"./chunk-
|
|
1
|
+
export{Image}from"./chunk-FBUQPNDG.js";import{DividerInternal as e}from"./chunk-7LL5RQKC.js";export{HStack,VStack}from"./chunk-XRC3XONK.js";export{FormLabel}from"./chunk-EHNYL5IT.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-JPN6YWNN.js";export{Box,Icon,Text,cva,cx,getStyles,getStylesCacheKeySymbol}from"./chunk-JPN6YWNN.js";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,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"./chunk-RBOC3W4R.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-S5RRP747.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,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-PM4TFP3I.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as E}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,InputHelpText,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var _=o(function(t,a){return i(e,{ref:a,...t})});_.displayName="Divider";var S=o(function({variant:e="primary",textVariant:o,startIcon:_,endIcon:S,alwaysUnderline:s=!1,children:C,className:A,...c},L){const O=!o,l=r(()=>{const n=!O&&t({linkTextStyleRoot:o,fontSize:o,fontFamily:o,fontWeight:o,lineHeight:o,textTransform:o});return t({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:a(n,"uds-ring",s&&"underline",A)})},[s,O,o,e,A]),R=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),M=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),N={variant:"outline",color:"current"};return E("a",{ref:L,className:l,...c,children:[_&&i(n,{className:R,icon:_,iconProps:N,"data-testid":"start-icon"}),C,S&&i(n,{className:M,icon:S,iconProps:N,"data-testid":"end-icon"})]})});S.displayName="Link";export{_ as Divider,S as Link};
|