@yahoo/uds 3.0.0-beta.1 → 3.0.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/cli/ButtonFile2.mock.tsx +11 -0
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/codemods/addCommentAboveComponents.ts +8 -2
- package/cli/commands/expo/_setup.ts +1 -0
- package/cli/commands/sync.ts +3 -0
- package/cli/preload.ts +1 -0
- package/cli/utils/auth.ts +1 -0
- package/cli/utils/configWorker.ts +10 -2
- package/cli/utils/purgeCSS.ts +18 -6
- package/cli/utils/setupConfigWorker.ts +2 -2
- package/cli/utils/types.ts +3 -1
- package/dist/{Text-DC5H-ljU.d.cts → Text-yeQcITg9.d.cts} +1 -1
- package/dist/{Text-DC5H-ljU.d.ts → Text-yeQcITg9.d.ts} +1 -1
- package/dist/{VStack-dsjTgotn.d.ts → VStack-CJs5afN8.d.ts} +1 -1
- package/dist/{VStack-lZcVQtuR.d.cts → VStack-GpQHE4xQ.d.cts} +1 -1
- package/dist/analytics/server.js +1 -1
- package/dist/{chunk-ROCVTVD4.js → chunk-4G4TBHHL.js} +1 -1
- package/dist/chunk-6CVEYTLQ.js +2 -0
- package/dist/chunk-6XNKVFUM.cjs +2 -0
- package/dist/{chunk-GWUSJOIP.js → chunk-AFPPCX7S.js} +2 -2
- package/dist/{chunk-RCTE4OK2.cjs → chunk-BNLUH23E.cjs} +1 -1
- package/dist/{chunk-3R4CMTF2.js → chunk-EWJ3J526.js} +1 -1
- package/dist/{chunk-GXWRHF26.cjs → chunk-FOX6Q5GR.cjs} +1 -1
- package/dist/{chunk-UWAIMWW7.cjs → chunk-HTL6WRXY.cjs} +1 -1
- package/dist/{chunk-H35WDIEH.cjs → chunk-J7PUOUXC.cjs} +1 -1
- package/dist/{chunk-COT7GQ26.js → chunk-N3FKHXEJ.js} +2 -2
- package/dist/{chunk-PLVCO2Q2.cjs → chunk-NUEZVMWZ.cjs} +1 -1
- package/dist/chunk-O26JIFUR.cjs +3 -0
- package/dist/{chunk-TYCIDVTR.js → chunk-S5UKKXRV.js} +1 -1
- package/dist/chunk-WCB4EHGZ.js +3 -0
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +3 -3
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- 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 +2 -1
- package/dist/fixtures.js +2 -1
- package/dist/flags.cjs +1 -1
- package/dist/flags.js +1 -1
- package/dist/{index-B1ZHRmSN.d.ts → index-CU_UPAew.d.ts} +4 -4
- package/dist/{index-By9VJ9yq.d.cts → index-DUFUMc1S.d.cts} +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +108 -108
- package/dist/index.d.ts +108 -108
- 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 +9 -4
- package/dist/tailwind/plugin.d.ts +9 -4
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +3 -3
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +4 -4
- package/dist/tailwind/utils.d.ts +4 -4
- 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 +3810 -3810
- package/dist/tokens/index.d.ts +3810 -3810
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-oxQ-ciqn.d.cts → types-d2CfR7zp.d.cts} +1962 -1954
- package/dist/{types-oxQ-ciqn.d.ts → types-d2CfR7zp.d.ts} +1962 -1954
- package/package.json +1 -1
- package/dist/chunk-DIZ6AEFQ.cjs +0 -3
- package/dist/chunk-IGRY2O2E.js +0 -2
- package/dist/chunk-IQXT3UML.cjs +0 -2
- package/dist/chunk-SWTZ62RF.js +0 -3
- /package/dist/{motionFeatures-II2BNXF5.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
- /package/dist/{motionFeatures-25DAPVNO.js → motionFeatures-SJISLQ4M.js} +0 -0
package/dist/fixtures.js
CHANGED
package/dist/flags.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";/*! © 2025 Yahoo, Inc. UDS
|
1
|
+
"use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var e={useGetStylesCache:!!("undefined"!=typeof process)&&"true"===process.env.NEXT_PUBLIC_UDS_FEATURE_USE_STYLE_CACHE};exports.getFeatureFlags=()=>e,exports.updateFeatureFlags=s=>e={...e,...s};
|
package/dist/flags.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! © 2025 Yahoo, Inc. UDS
|
1
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
2
|
var e={useGetStylesCache:!!("undefined"!=typeof process)&&"true"===process.env.NEXT_PUBLIC_UDS_FEATURE_USE_STYLE_CACHE},s=s=>e={...e,...s},E=()=>e;export{E as getFeatureFlags,s as updateFeatureFlags};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { d as ShadowPreset, U as UniversalTokensConfig } from './types-
|
2
|
+
import { d as ShadowPreset, U as UniversalTokensConfig } from './types-d2CfR7zp.js';
|
3
3
|
|
4
4
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
5
|
name: string;
|
@@ -116,7 +116,7 @@ declare function generateClassName({ componentName, variantKey, variantValue, la
|
|
116
116
|
stateKey?: string;
|
117
117
|
stateValue?: string;
|
118
118
|
}): string;
|
119
|
-
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles,
|
119
|
+
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, generatePseudoStateSuffixes, }: {
|
120
120
|
componentName: string;
|
121
121
|
variantKey: string;
|
122
122
|
variantValue: string;
|
@@ -130,9 +130,9 @@ declare function generateDeclaration({ componentName, variantKey, variantValue,
|
|
130
130
|
originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
|
131
131
|
theme: ThemeFn;
|
132
132
|
currentStyles: Readonly<Record<string, Record<string, string>>>;
|
133
|
-
|
133
|
+
generatePseudoStateSuffixes?: boolean;
|
134
134
|
}): Record<string, Record<string, string>>;
|
135
|
-
declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn,
|
135
|
+
declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, generatePseudoStateSuffixes?: boolean): Record<string, Record<string, string>>;
|
136
136
|
declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
|
137
137
|
name: C;
|
138
138
|
typeOfFixture: T;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { d as ShadowPreset, U as UniversalTokensConfig } from './types-
|
2
|
+
import { d as ShadowPreset, U as UniversalTokensConfig } from './types-d2CfR7zp.cjs';
|
3
3
|
|
4
4
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
5
|
name: string;
|
@@ -116,7 +116,7 @@ declare function generateClassName({ componentName, variantKey, variantValue, la
|
|
116
116
|
stateKey?: string;
|
117
117
|
stateValue?: string;
|
118
118
|
}): string;
|
119
|
-
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles,
|
119
|
+
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, generatePseudoStateSuffixes, }: {
|
120
120
|
componentName: string;
|
121
121
|
variantKey: string;
|
122
122
|
variantValue: string;
|
@@ -130,9 +130,9 @@ declare function generateDeclaration({ componentName, variantKey, variantValue,
|
|
130
130
|
originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
|
131
131
|
theme: ThemeFn;
|
132
132
|
currentStyles: Readonly<Record<string, Record<string, string>>>;
|
133
|
-
|
133
|
+
generatePseudoStateSuffixes?: boolean;
|
134
134
|
}): Record<string, Record<string, string>>;
|
135
|
-
declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn,
|
135
|
+
declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, generatePseudoStateSuffixes?: boolean): Record<string, Record<string, string>>;
|
136
136
|
declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
|
137
137
|
name: C;
|
138
138
|
typeOfFixture: T;
|
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-IQXT3UML.cjs"),t=require("./chunk-DIZ6AEFQ.cjs"),r=require("./chunk-GXWRHF26.cjs"),n=require("./chunk-H35WDIEH.cjs"),o=require("./chunk-UWAIMWW7.cjs"),i=require("react/jsx-runtime"),u=require("react"),a=require("@yahoo/uds/client"),c=u.forwardRef((function({variant:t="primary",textVariant:r,startIcon:n,endIcon:o,alwaysUnderline:a=!1,children:c,className:f,...p},s){const b=!r,l=u.useMemo((()=>{const n=!b&&e.getStyles({linkTextStyleRoot:r,fontSize:r,fontFamily:r,fontWeight:r,lineHeight:r,textTransform:r});return e.getStyles({linkVariantRoot:t,display:"inline-flex",alignItems:"center",className:e.cx(n,"uds-ring",a?"underline":"hover:underline",f)})}),[a,b,r,t,f]),g=e.getStyles({linkVariantIconStart:t,linkTextStyleIcon:r,className:e.cx(b&&"w-[0.7em] h-[0.7em]")}),O=e.getStyles({linkVariantIconEnd:t,linkTextStyleIcon:r,className:e.cx(b&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return i.jsxs("a",{ref:s,className:l,...p,children:[n&&i.jsx(e.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),c,o&&i.jsx(e.IconSlot,{className:O,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));/*! © 2025 Yahoo, Inc. UDS v3.0.0-development */Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"Divider",{enumerable:!0,get:function(){return e.Divider}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return e.Icon}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return e.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return e.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return e.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return e.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return t.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return t.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return t.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return t.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return t.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return t.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return t.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return t.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return t.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return t.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return t.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return t.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return t.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return t.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return t.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return t.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return t.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return t.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return t.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return t.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return t.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return t.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return t.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return t.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return t.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return t.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return t.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return t.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return t.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return t.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return t.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return t.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return t.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return t.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return t.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return t.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return t.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return t.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return t.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return t.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return t.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return t.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return t.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return t.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return t.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return t.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return t.toMinimalDbConfigObject}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return n.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return n.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return o.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return o.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return o.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return o.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return o.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return o.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return o.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return o.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return o.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return o.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return o.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return o.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return o.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return o.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return o.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return o.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return o.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return a.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return a.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return a.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return a.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return a.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return a.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return a.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return a.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return a.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return a.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return a.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return a.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return a.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return a.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return a.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return a.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return a.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return a.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return a.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return a.Switch}}),exports.FormLabel=({htmlFor:t,required:r,children:n,spacingStart:o,color:u="muted",variant:a="label3",hasError:c=!1,showRequiredAsterisk:f=!1,className:p,...s})=>void 0===n?null:i.jsxs(e.Text,{variant:a,color:c?"alert":u,as:"label",htmlFor:t,spacingStart:o,className:e.cx("cursor-[inherit]",p),...s,children:[n,r&&f&&i.jsx(e.Text,{variant:a,as:"span",color:c?"alert":"muted",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}),exports.Link=c;
|
1
|
+
"use strict";var e=require("./chunk-O26JIFUR.cjs"),t=require("./chunk-6XNKVFUM.cjs"),r=require("./chunk-FOX6Q5GR.cjs"),n=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-HTL6WRXY.cjs"),i=require("react"),u=require("react/jsx-runtime"),a=require("@yahoo/uds/client"),c=i.forwardRef((function({variant:t="primary",textVariant:r,startIcon:n,endIcon:o,alwaysUnderline:a=!1,children:c,className:f,...p},b){const s=!r,O=i.useMemo((()=>{const n=!s&&e.getStyles({linkTextStyleRoot:r,fontSize:r,fontFamily:r,fontWeight:r,lineHeight:r,textTransform:r});return e.getStyles({linkVariantRoot:t,display:"inline-flex",alignItems:"center",className:e.cx(n,"uds-ring",a?"underline":"hover:underline",f)})}),[a,s,r,t,f]),g=e.getStyles({linkVariantIconStart:t,linkTextStyleIcon:r,className:e.cx(s&&"w-[0.7em] h-[0.7em]")}),l=e.getStyles({linkVariantIconEnd:t,linkTextStyleIcon:r,className:e.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return u.jsxs("a",{ref:b,className:O,...p,children:[n&&u.jsx(e.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),c,o&&u.jsx(e.IconSlot,{className:l,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"Divider",{enumerable:!0,get:function(){return e.Divider}}),Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return e.FormLabel}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return e.Icon}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return e.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return e.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return e.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return e.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return t.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return t.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return t.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return t.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return t.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return t.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return t.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return t.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return t.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return t.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return t.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return t.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return t.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return t.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return t.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return t.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return t.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return t.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return t.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return t.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return t.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return t.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return t.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return t.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return t.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return t.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return t.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return t.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return t.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return t.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return t.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return t.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return t.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return t.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return t.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return t.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return t.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return t.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return t.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return t.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return t.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return t.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return t.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return t.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return t.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return t.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return t.toMinimalDbConfigObject}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return n.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return n.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return o.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return o.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return o.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return o.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return o.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return o.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return o.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return o.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return o.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return o.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return o.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return o.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return o.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return o.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return o.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return o.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return o.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return o.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return a.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return a.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return a.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return a.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return a.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return a.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return a.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return a.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return a.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return a.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return a.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return a.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return a.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return a.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return a.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return a.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return a.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return a.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return a.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return a.Switch}}),exports.Link=c;
|
package/dist/index.d.cts
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
import { D as DivProps, I as InputProps } from './VStack-
|
2
|
-
export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-
|
1
|
+
import { D as DivProps, I as InputProps } from './VStack-GpQHE4xQ.cjs';
|
2
|
+
export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-GpQHE4xQ.cjs';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { r as UniversalFormLabelProps,
|
5
|
-
export {
|
4
|
+
import { r as UniversalFormLabelProps, f as UniversalStackProps, s as IconPropsWithSVGProps, t as ImagePropsWithImgProps, u as UniversalIconSlot, v as UniversalLinkProps, w as UniversalTextProps } from './types-d2CfR7zp.cjs';
|
5
|
+
export { A as AVATAR_SIZE_PREFIX, ad as AlwaysPalette, ae as AlwaysPaletteAlias, af as AlwaysPaletteColor, ag as Animation, ah as AriaAttribute, ai as AvatarAbbreviationStrategy, aj as AvatarShape, ak as AvatarSize, al as AvatarSizeConfig, am as AvatarVariant, D as BORDER_RADIUS_PREFIX, E as BORDER_WIDTH_PREFIX, a5 as BUTTON_CSS_VAR_MAP, an as BackgroundColor, ao as BackgroundPalette, ap as BackgroundPaletteAlias, aq as BackgroundStyleProps, ar as BadgeSize, as as BadgeVariant, at as BorderRadius, au as BorderRadiusConfig, av as BorderStyleProps, aw as BorderWidth, ax as BorderWidthConfig, ay as ButtonBaseConfig, i as ButtonClassMap, az as ButtonClassName, aA as ButtonColorConfig, aB as ButtonColorEffect, aC as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, B as ButtonConfig, aD as ButtonKind, aE as ButtonMotionEffect, aF as ButtonMotionProperty, aG as ButtonMotionPropertyConfig, aH as ButtonPalette, aI as ButtonPaletteColor, aJ as ButtonPaletteConfig, aK as ButtonShadowPropertyConfig, aL as ButtonSize, aM as ButtonSizeConfig, aN as ButtonSizeProperty, aO as ButtonSpectrumColor, aP as ButtonState, aQ as ButtonStateConfig, aR as ButtonStateEffectConfig, aS as ButtonVariant, aT as ButtonVariantConfig, aU as ButtonVariantFlat, aV as CheckboxSize, aW as CheckboxValue, aX as CheckboxVariant, aY as ChipSize, aZ as ChipVariant, C as ColorMode, a_ as ColorModeConfig, a$ as ColorModeForApp, a as ColorsConfig, b0 as ConfigurableDropShadowValues, b1 as ConfigurableInsetShadowValues, b2 as CustomSizingStyleProps, W as DARK_COLOR_MODE_CLASSNAME, a3 as DEFAULT_COLOR_MODE_CLASSNAME, a4 as DEFAULT_SCALE_MODE_CLASSNAME, b3 as DataAttribute, b4 as Display, b5 as DividerVariant, a8 as FONT_DECLARATIONS_MAP, G as FONT_FAMILY_PREFIX, J as FONT_SIZE_PREFIX, L as FONT_SLANT_PREFIX, K as FONT_WEIGHT_PREFIX, N as FONT_WIDTH_PREFIX, b6 as Flex, b7 as FlexAlignContent, b8 as FlexAlignItems, b9 as FlexAlignSelf, ba as FlexBasis, bb as FlexDirection, bc as FlexGrow, bd as FlexJustifyContent, be as FlexShrink, bf as FlexStyleProps, bg as FlexWrap, bh as FontAlias, a9 as FontAxisConfig, m as FontConfig, bi as FontCssVar, aa as FontDeclarationConfig, l as FontDeclarationItemConfig, ab as FontDeclarationMap, bj as FontFamilyCDNUrl, bk as FontFamilyConfig, F as FontID, bl as FontSize, bm as FontSizeConfig, bn as FontSlantConfig, bo as FontType, bp as FontWeightConfig, bq as FontWeightDescriptive, ac as FontWeightForFont, br as FontWeightNumeric, bs as FontWidthConfig, bt as ForegroundColor, bu as ForegroundPalette, bv as ForegroundPaletteAlias, bw as HighContrastMode, H as Hue, b as HueStep, a6 as ICON_BUTTON_CSS_VAR_MAP, O as ICON_SIZE_PREFIX, I as IconButtonClassMap, bx as IconButtonClassName, by as IconButtonConfig, bz as IconButtonDefaultsConfig, bA as IconButtonSize, bB as IconSizeConfig, bC as ImageStyleProps, bD as InputSize, $ as LARGE_SCALE_MODE_CLASSNAME, X as LIGHT_COLOR_MODE_CLASSNAME, Q as LINE_HEIGHT_PREFIX, bE as LayoutStyleProps, bF as LetterSpacing, bG as LineClampAlias, bH as LineColor, bI as LineHeight, bJ as LineHeightConfig, bK as LinePalette, bL as LinePaletteAlias, _ as MEDIUM_SCALE_MODE_CLASSNAME, R as MOTION_PREFIX, bM as Modes, p as MotionConfig, bN as MotionCssVar, bO as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bP as MotionVariantValues, bQ as Overflow, a7 as PSEUDO_STYLE_SELECTOR_MAP, bR as Palette, c as PaletteConfig, P as PaletteType, bS as PaletteValue, bT as PlatformMode, bU as Position, bV as PropertyToPaletteAliasMap, bW as RadioSize, bX as RadioValue, bY as RadioVariant, bZ as RegionMode, Z as SMALL_SCALE_MODE_CLASSNAME, T as SPECTRUM_COLOR_PREFIX, b_ as ScaleConfig, b$ as ScaleEffectMap, S as ScaleMode, c0 as ScaleModeConfig, c1 as ScaleModeForApp, c2 as ShadowColor, c3 as ShadowColorConfig, c4 as ShadowConfig, c5 as ShadowOffset, c6 as ShadowOpacity, c7 as ShadowPalette, c8 as ShadowPaletteAlias, d as ShadowPreset, c9 as ShadowSpreadRadius, ca as ShadowStyleProps, q as ShadowType, cb as ShadowTypeConfig, cc as ShadowVariant, cd as ShadowVariantConfig, ce as ShadowVariantInvert, cf as ShadowVariantWithInvert, cg as SharedPaletteAlias, ch as SpacingAlias, ci as SpacingConfig, cj as SpacingStyleProps, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, V as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, z as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, cP as UniversalImageProps, h as UniversalInputProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, U as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a0 as XLARGE_SCALE_MODE_CLASSNAME, Y as XSMALL_SCALE_MODE_CLASSNAME, a1 as XXLARGE_SCALE_MODE_CLASSNAME, a2 as XXXLARGE_SCALE_MODE_CLASSNAME, x as alwaysPalette, y as defaultUniversalTokensConfigAuto } from './types-d2CfR7zp.cjs';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
8
|
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, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
9
9
|
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, defaultTokensConfig, 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';
|
10
10
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
11
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, 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-
|
11
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, 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-DUFUMc1S.cjs';
|
12
12
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
13
13
|
import 'motion/react';
|
14
14
|
import 'type-fest';
|
15
15
|
import '@yahoo/uds/fixtures';
|
16
16
|
|
17
17
|
type HtmlLabelProps = Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>;
|
18
|
-
interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps
|
18
|
+
interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps {
|
19
19
|
}
|
20
|
-
declare const FormLabel: ({ htmlFor, required,
|
20
|
+
declare const FormLabel: ({ htmlFor, required, label, children, color, variant, hasError, showRequiredAsterisk, as, className, ...rest }: FormLabelProps) => react_jsx_runtime.JSX.Element | null;
|
21
21
|
|
22
22
|
interface HStackProps extends UniversalStackProps, DivProps {
|
23
23
|
}
|
@@ -163,7 +163,7 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
|
163
163
|
**/
|
164
164
|
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
165
165
|
|
166
|
-
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
|
166
|
+
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
|
167
167
|
type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
|
168
168
|
type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
|
169
169
|
type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
@@ -284,14 +284,23 @@ interface CX<T> {
|
|
284
284
|
declare const cx: CX<string>;
|
285
285
|
declare const cva: CVA<string>;
|
286
286
|
declare const getStylesInternal: (props?: ({
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
287
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
288
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
289
|
+
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
290
|
+
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
291
|
+
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
292
|
+
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | undefined;
|
293
|
+
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | undefined;
|
294
|
+
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
295
|
+
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
296
|
+
checkboxSizeRoot?: "sm" | "md" | undefined;
|
297
|
+
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
298
|
+
checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
|
299
|
+
checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
300
|
+
checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
|
301
|
+
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
302
|
+
checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
|
303
|
+
checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
295
304
|
chipSizeRoot?: "sm" | "md" | undefined;
|
296
305
|
chipToggleVariantActiveRoot?: "on" | "off" | undefined;
|
297
306
|
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
@@ -301,47 +310,9 @@ declare const getStylesInternal: (props?: ({
|
|
301
310
|
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
302
311
|
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
303
312
|
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
switchVariantSwitch?: "default" | undefined;
|
308
|
-
switchVariantActiveHandle?: "on" | "off" | undefined;
|
309
|
-
switchVariantHandle?: "default" | undefined;
|
310
|
-
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
311
|
-
switchVariantHandleIcon?: "default" | undefined;
|
312
|
-
switchSizeRoot?: "sm" | "md" | undefined;
|
313
|
-
switchSizeSwitch?: "sm" | "md" | undefined;
|
314
|
-
switchSizeHandle?: "sm" | "md" | undefined;
|
315
|
-
switchSizeHandleIcon?: "sm" | "md" | undefined;
|
316
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
317
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
318
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
319
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
320
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
321
|
-
avatarSizeRoot?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
322
|
-
avatarSizeIcon?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
323
|
-
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
324
|
-
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
325
|
-
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
326
|
-
menuSizeRoot?: "default" | undefined;
|
327
|
-
menuSizeStartIcon?: "default" | undefined;
|
328
|
-
menuSizeEndIcon?: "default" | undefined;
|
329
|
-
menuItemVariantActiveRoot?: "on" | "off" | undefined;
|
330
|
-
menuItemVariantRoot?: "default" | undefined;
|
331
|
-
menuItemVariantActiveText?: "on" | "off" | undefined;
|
332
|
-
menuItemVariantText?: "default" | undefined;
|
333
|
-
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
334
|
-
menuItemVariantIcon?: "default" | undefined;
|
335
|
-
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
336
|
-
menuItemCheckboxVariantRoot?: "default" | undefined;
|
337
|
-
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
338
|
-
menuItemCheckboxVariantText?: "default" | undefined;
|
339
|
-
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
340
|
-
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
341
|
-
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
342
|
-
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
343
|
-
menuDividerVariantRoot?: "default" | undefined;
|
344
|
-
menuDividerVariantText?: "default" | undefined;
|
313
|
+
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
314
|
+
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
315
|
+
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
345
316
|
inputSizeRoot?: "md" | "lg" | undefined;
|
346
317
|
inputSizeInputWrapper?: "md" | "lg" | undefined;
|
347
318
|
inputSizeInput?: "md" | "lg" | undefined;
|
@@ -370,56 +341,85 @@ declare const getStylesInternal: (props?: ({
|
|
370
341
|
inputVariantHelperIcon?: "default" | undefined;
|
371
342
|
inputVariantValueHelperText?: "filled" | "empty" | undefined;
|
372
343
|
inputVariantHelperText?: "default" | undefined;
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
344
|
+
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
345
|
+
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
346
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
347
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
348
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
349
|
+
menuSizeRoot?: "default" | undefined;
|
350
|
+
menuSizeStartIcon?: "default" | undefined;
|
351
|
+
menuSizeEndIcon?: "default" | undefined;
|
352
|
+
menuItemVariantActiveRoot?: "on" | "off" | undefined;
|
353
|
+
menuItemVariantRoot?: "default" | undefined;
|
354
|
+
menuItemVariantActiveText?: "on" | "off" | undefined;
|
355
|
+
menuItemVariantText?: "default" | undefined;
|
356
|
+
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
357
|
+
menuItemVariantIcon?: "default" | undefined;
|
358
|
+
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
359
|
+
menuItemCheckboxVariantRoot?: "default" | undefined;
|
360
|
+
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
361
|
+
menuItemCheckboxVariantText?: "default" | undefined;
|
362
|
+
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
363
|
+
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
364
|
+
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
365
|
+
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
366
|
+
menuDividerVariantRoot?: "default" | undefined;
|
367
|
+
menuDividerVariantText?: "default" | undefined;
|
368
|
+
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
369
|
+
radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
370
|
+
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
371
|
+
radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
372
|
+
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
373
|
+
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
374
|
+
radioSizeRoot?: "sm" | "md" | undefined;
|
375
|
+
radioSizeRadio?: "sm" | "md" | undefined;
|
376
|
+
switchVariantActiveRoot?: "on" | "off" | undefined;
|
377
|
+
switchVariantRoot?: "default" | undefined;
|
378
|
+
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
379
|
+
switchVariantSwitch?: "default" | undefined;
|
380
|
+
switchVariantActiveHandle?: "on" | "off" | undefined;
|
381
|
+
switchVariantHandle?: "default" | undefined;
|
382
|
+
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
383
|
+
switchVariantHandleIcon?: "default" | undefined;
|
384
|
+
switchSizeRoot?: "sm" | "md" | undefined;
|
385
|
+
switchSizeSwitch?: "sm" | "md" | undefined;
|
386
|
+
switchSizeHandle?: "sm" | "md" | undefined;
|
387
|
+
switchSizeHandleIcon?: "sm" | "md" | undefined;
|
388
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
389
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
390
390
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
391
391
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
392
392
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
393
393
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
394
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
395
395
|
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
396
|
-
spacing?: "
|
397
|
-
spacingHorizontal?: "
|
398
|
-
spacingVertical?: "
|
399
|
-
spacingBottom?: "
|
400
|
-
spacingEnd?: "
|
401
|
-
spacingStart?: "
|
402
|
-
spacingTop?: "
|
403
|
-
offset?: "
|
404
|
-
offsetVertical?: "
|
405
|
-
offsetHorizontal?: "
|
406
|
-
offsetBottom?: "
|
407
|
-
offsetEnd?: "
|
408
|
-
offsetStart?: "
|
409
|
-
offsetTop?: "
|
410
|
-
columnGap?: "
|
411
|
-
rowGap?: "
|
412
|
-
backgroundColor?: "primary" | "secondary" | "
|
413
|
-
borderColor?: "primary" | "secondary" | "
|
414
|
-
borderStartColor?: "primary" | "secondary" | "
|
415
|
-
borderEndColor?: "primary" | "secondary" | "
|
416
|
-
borderBottomColor?: "primary" | "secondary" | "
|
417
|
-
borderTopColor?: "primary" | "secondary" | "
|
418
|
-
borderRadius?: "
|
419
|
-
borderTopStartRadius?: "
|
420
|
-
borderTopEndRadius?: "
|
421
|
-
borderBottomStartRadius?: "
|
422
|
-
borderBottomEndRadius?: "
|
396
|
+
spacing?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
397
|
+
spacingHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
398
|
+
spacingVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
399
|
+
spacingBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
400
|
+
spacingEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
401
|
+
spacingStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
402
|
+
spacingTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
403
|
+
offset?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
404
|
+
offsetVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
405
|
+
offsetHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
406
|
+
offsetBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
407
|
+
offsetEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
408
|
+
offsetStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
409
|
+
offsetTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
410
|
+
columnGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
411
|
+
rowGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
413
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
414
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
415
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
419
|
+
borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
420
|
+
borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
421
|
+
borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
422
|
+
borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
423
423
|
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
424
424
|
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
425
425
|
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
@@ -427,14 +427,14 @@ declare const getStylesInternal: (props?: ({
|
|
427
427
|
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
428
|
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
429
|
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
-
avatarSize?: "
|
430
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
431
431
|
iconSize?: "sm" | "md" | "lg" | undefined;
|
432
432
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
433
433
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
434
434
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
435
435
|
flex?: "1" | "none" | "initial" | "auto" | undefined;
|
436
436
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
437
|
-
flexGrow?: "2" | "
|
437
|
+
flexGrow?: "2" | "1" | "3" | "0" | undefined;
|
438
438
|
flexShrink?: "1" | "0" | undefined;
|
439
439
|
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
440
440
|
justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
|
@@ -447,14 +447,14 @@ declare const getStylesInternal: (props?: ({
|
|
447
447
|
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
448
448
|
colorMode?: "light" | "dark" | undefined;
|
449
449
|
scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
450
|
-
buttonPalette?: "
|
450
|
+
buttonPalette?: "brand" | "alert" | "warning" | "positive" | "info" | "accent" | undefined;
|
451
451
|
buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
|
452
452
|
buttonSize?: "sm" | "md" | "lg" | undefined;
|
453
|
-
iconButtonSize?: "
|
453
|
+
iconButtonSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
454
454
|
width?: "full" | "fit" | "screen" | undefined;
|
455
455
|
height?: "full" | "fit" | "screen" | undefined;
|
456
|
-
dropShadow?: "
|
457
|
-
insetShadow?: "
|
456
|
+
dropShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none" | undefined;
|
457
|
+
insetShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xl-invert" | "none" | "md-invert" | "xl-invert" | "xs-invert" | "sm-invert" | "lg-invert" | undefined;
|
458
458
|
} & {
|
459
459
|
className?: string | undefined;
|
460
460
|
}) | undefined) => string;
|
@@ -463,4 +463,4 @@ declare const getStyles: (props: GetStylesInternalProps) => string;
|
|
463
463
|
|
464
464
|
type SetState<T> = Dispatch<SetStateAction<T>>;
|
465
465
|
|
466
|
-
export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps, type SetState,
|
466
|
+
export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps, type SetState, Text, type TextProps, UniversalFormLabelProps, UniversalIconSlot, UniversalLinkProps, UniversalStackProps, UniversalTextProps, cva, cx, getStyles };
|