@yahoo/uds 3.60.0 → 3.62.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/FlattenButtonVariant.mock.tsx +17 -0
- package/dist/{Box-C5a5zIIo.d.ts → Box-57CO48b8.d.ts} +1 -1
- package/dist/{Box-BSYsXHzh.d.cts → Box-BXzOEy6x.d.cts} +1 -1
- package/dist/{Box-BWU5UmHC.d.cts → Box-CvcBMBXN.d.cts} +1 -1
- package/dist/{Box-C9fHZ3nr.d.ts → Box-D0HE-AjA.d.ts} +1 -1
- package/dist/{Pressable-Q1KS3YU1.d.ts → Pressable-BLWVZEln.d.ts} +1 -1
- package/dist/{Pressable-jfrkzoAe.d.ts → Pressable-C4yJX0RZ.d.ts} +1 -1
- package/dist/{Pressable-5JJUWRN1.d.cts → Pressable-CUFe9wvm.d.cts} +1 -1
- package/dist/{Pressable-DjYpKTPO.d.cts → Pressable-DxZb2fnD.d.cts} +1 -1
- package/dist/{Text-CJRvqui_.d.cts → Text-BSMhN-G2.d.cts} +1 -1
- package/dist/{Text-BQhCLqTc.d.ts → Text-BTk0X3uq.d.ts} +1 -1
- package/dist/{Text-1qIcMDEP.d.cts → Text-BjbkZ-2A.d.cts} +15 -11
- package/dist/{Text-1qIcMDEP.d.ts → Text-BjbkZ-2A.d.ts} +15 -11
- package/dist/{Text-Dw9vuP5i.d.cts → Text-Cit3FWD8.d.cts} +1 -1
- package/dist/{Text-ksXYBDQ6.d.ts → Text-DGq0Cz-E.d.ts} +1 -1
- package/dist/{VStack-CkK4XZ1Y.d.ts → VStack-CAGbFcZU.d.ts} +2 -2
- package/dist/{VStack-DdYKhUxh.d.ts → VStack-CJZsAnS3.d.ts} +2 -2
- package/dist/{VStack-Ch6JJPQE.d.cts → VStack-DbgzKoH2.d.cts} +2 -2
- package/dist/{VStack-OvZNhyoq.d.cts → VStack-TYqG4Ln7.d.cts} +2 -2
- package/dist/chunk-2N25B3VJ.js +2 -0
- package/dist/{chunk-KMRYZOR7.js → chunk-2WPM3ZG4.js} +1 -1
- package/dist/chunk-3AQ5EJDX.cjs +2 -0
- package/dist/chunk-4JWOS7R4.cjs +1 -0
- package/dist/chunk-4UBSZT2O.js +2 -0
- package/dist/{chunk-4UB6EIVI.cjs → chunk-76P4SNBZ.cjs} +1 -1
- package/dist/chunk-7PQ7BZJU.js +2 -0
- package/dist/{chunk-R72INVUM.cjs → chunk-AHUGKCAN.cjs} +1 -1
- package/dist/chunk-ANBAJ5VM.js +1 -0
- package/dist/{chunk-L3JHNF65.js → chunk-ANTWGR57.js} +3 -3
- package/dist/{chunk-66IO4LQQ.cjs → chunk-AQM3J7QN.cjs} +1 -1
- package/dist/{chunk-FP76653E.cjs → chunk-AREXX3FQ.cjs} +1 -1
- package/dist/{chunk-TN3TGUL4.cjs → chunk-CBL6HNHG.cjs} +1 -1
- package/dist/{chunk-W4J7ZS6U.cjs → chunk-CKRMBFE3.cjs} +1 -1
- package/dist/{chunk-R4JM3BY7.js → chunk-CWNVM6MA.js} +2 -2
- package/dist/{chunk-HMRYK2NP.js → chunk-E6Y7IJFH.js} +1 -1
- package/dist/{chunk-NNZ2U4VM.js → chunk-EN3AWJUK.js} +1 -1
- package/dist/{chunk-4BOF3VWD.cjs → chunk-FTAMKJ7E.cjs} +1 -1
- package/dist/chunk-GPYK5KNS.cjs +1 -0
- package/dist/{chunk-5R7POUAI.cjs → chunk-GQMK6FYZ.cjs} +1 -1
- package/dist/chunk-GTBACPVZ.cjs +2 -0
- package/dist/{chunk-UQJ7WV2P.cjs → chunk-HPQZKJ4U.cjs} +1 -1
- package/dist/chunk-HVUHLT7A.js +2 -0
- package/dist/chunk-I45HQK6H.cjs +1 -0
- package/dist/{chunk-THCRN4KF.cjs → chunk-IPQ7C7VG.cjs} +1 -1
- package/dist/{chunk-KQTBZT7T.js → chunk-IZPSCW3Y.js} +1 -1
- package/dist/chunk-J3BQW2FL.js +2 -0
- package/dist/chunk-JTT3MEL4.js +2 -0
- package/dist/{chunk-4CPVEVKO.cjs → chunk-KA44DST5.cjs} +1 -1
- package/dist/{chunk-DXLUH24B.cjs → chunk-N3W5A6AB.cjs} +1 -1
- package/dist/chunk-NHEPBE4E.js +2 -0
- package/dist/chunk-P2RTCITU.js +2 -0
- package/dist/{chunk-H7DBPPWM.js → chunk-PC5KZY4N.js} +1 -1
- package/dist/{chunk-QQ4MS32D.js → chunk-PVSVTPB6.js} +1 -1
- package/dist/chunk-QIXKYNKY.cjs +2 -0
- package/dist/{chunk-YB2KIANK.js → chunk-R5QRV75W.js} +2 -2
- package/dist/chunk-RBY2NY2J.cjs +2 -0
- package/dist/chunk-RJMTDWNW.js +2 -0
- package/dist/chunk-RLK3BA4S.cjs +1 -0
- package/dist/{chunk-4OO7CUA6.js → chunk-TLTC3CSM.js} +1 -1
- package/dist/chunk-U7C4F57A.cjs +1 -0
- package/dist/{chunk-VTOQOUNP.js → chunk-UBFACVVV.js} +1 -1
- package/dist/chunk-VLLVGEOR.js +2 -0
- package/dist/{chunk-YYYUPBMK.cjs → chunk-X353EJXO.cjs} +1 -1
- package/dist/{chunk-DJK7XG62.cjs → chunk-XFNGTK2I.cjs} +1 -1
- package/dist/{chunk-MXEZ3L4I.js → chunk-XO4R77US.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 +3 -2
- package/dist/defaultTokensConfig.d.ts +3 -2
- 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 +2 -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 +35 -5
- package/dist/fixtures.d.cts +7 -4
- package/dist/fixtures.d.ts +7 -4
- package/dist/fixtures.js +31 -4
- package/dist/{index-Bcr3i5Fo.d.cts → index-Aeqs7Unh.d.ts} +3 -3
- package/dist/{index-DfNmJjc_.d.ts → index-BD9b-X3s.d.cts} +3 -3
- package/dist/{index-JgnxLMoN.d.ts → index-BR1WT58F.d.cts} +3 -3
- package/dist/{index-BPXfpHkp.d.cts → index-DwHt8CXe.d.ts} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- 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 +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- 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 +838 -4
- package/dist/tailwind/utils.d.ts +838 -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 +88 -4
- package/dist/tokens/index.d.ts +88 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +3 -2
- package/dist/tokens/parseTokens.d.ts +3 -2
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-DYstZLNq.d.cts → types-BB_vmfZS.d.cts} +1968 -1926
- package/dist/{types-DYstZLNq.d.ts → types-BB_vmfZS.d.ts} +1968 -1926
- package/dist/{types-gGaZxCMr.d.cts → types-CbJ9vfW5.d.cts} +1968 -1926
- package/dist/{types-gGaZxCMr.d.ts → types-CbJ9vfW5.d.ts} +1968 -1926
- package/package.json +1 -1
- package/dist/chunk-4I3UGCX7.js +0 -2
- package/dist/chunk-4VD23ARR.cjs +0 -2
- package/dist/chunk-CCW6IDIM.js +0 -2
- package/dist/chunk-CKTDV4QK.cjs +0 -1
- package/dist/chunk-DE7HKKF7.cjs +0 -1
- package/dist/chunk-DXNJK3DK.js +0 -1
- package/dist/chunk-EWJ3J526.js +0 -2
- package/dist/chunk-GA64SR3T.js +0 -2
- package/dist/chunk-J7PUOUXC.cjs +0 -1
- package/dist/chunk-K5YXKPQS.js +0 -2
- package/dist/chunk-KLQ3KKQY.cjs +0 -1
- package/dist/chunk-LBBFEPKC.cjs +0 -2
- package/dist/chunk-N4PLNTDV.cjs +0 -2
- package/dist/chunk-OSJVSN23.js +0 -2
- package/dist/chunk-QLETZKZI.cjs +0 -2
- package/dist/chunk-QNM2JS62.js +0 -2
- package/dist/chunk-RI3JVWBJ.js +0 -2
- package/dist/chunk-V5UIHMW2.js +0 -2
- package/dist/chunk-V7E46T44.cjs +0 -1
- package/dist/chunk-WXDJBIBP.js +0 -2
package/dist/fixtures.js
CHANGED
|
@@ -844,6 +844,23 @@ var regionModes = [
|
|
|
844
844
|
"\uD83C\uDDEB\uD83C\uDDF7 FR",
|
|
845
845
|
"\uD83C\uDDE8\uD83C\uDDF3 CN"
|
|
846
846
|
];
|
|
847
|
+
var elevationLevels = [
|
|
848
|
+
"0",
|
|
849
|
+
"1",
|
|
850
|
+
"2",
|
|
851
|
+
"3",
|
|
852
|
+
"4",
|
|
853
|
+
"5"
|
|
854
|
+
];
|
|
855
|
+
var elevationAliases = [
|
|
856
|
+
"elevation-0",
|
|
857
|
+
"elevation-1",
|
|
858
|
+
"elevation-2",
|
|
859
|
+
"elevation-3",
|
|
860
|
+
"elevation-4",
|
|
861
|
+
"elevation-5"
|
|
862
|
+
];
|
|
863
|
+
var elevationShadowLayerCount = 4;
|
|
847
864
|
var hues = [
|
|
848
865
|
"gray",
|
|
849
866
|
"purple",
|
|
@@ -1267,6 +1284,12 @@ var shadowPaletteColors = [
|
|
|
1267
1284
|
"secondary"
|
|
1268
1285
|
];
|
|
1269
1286
|
var shadowColors = [
|
|
1287
|
+
"elevation-0",
|
|
1288
|
+
"elevation-1",
|
|
1289
|
+
"elevation-2",
|
|
1290
|
+
"elevation-3",
|
|
1291
|
+
"elevation-4",
|
|
1292
|
+
"elevation-5",
|
|
1270
1293
|
"gray-0",
|
|
1271
1294
|
"gray-1",
|
|
1272
1295
|
"gray-2",
|
|
@@ -1594,9 +1617,9 @@ var shadowColors = [
|
|
|
1594
1617
|
"black",
|
|
1595
1618
|
"current"
|
|
1596
1619
|
];
|
|
1597
|
-
var backgroundColors = [...backgroundPaletteColors, ...alwaysPaletteAliases];
|
|
1620
|
+
var backgroundColors = [...backgroundPaletteColors, ...alwaysPaletteAliases, ...elevationAliases];
|
|
1598
1621
|
var foregroundColors = [...foregroundPaletteColors, ...alwaysPaletteAliases];
|
|
1599
|
-
var lineColors = [...linePaletteColors, ...alwaysPaletteAliases];
|
|
1622
|
+
var lineColors = [...linePaletteColors, ...alwaysPaletteAliases, ...elevationAliases];
|
|
1600
1623
|
var palette = {
|
|
1601
1624
|
background: backgroundPaletteColors,
|
|
1602
1625
|
foreground: foregroundPaletteColors,
|
|
@@ -2203,6 +2226,10 @@ var borderWidths = [
|
|
|
2203
2226
|
"thin",
|
|
2204
2227
|
"thick"
|
|
2205
2228
|
];
|
|
2229
|
+
var borderWidthsWithElevation = [
|
|
2230
|
+
...borderWidths,
|
|
2231
|
+
...elevationAliases.map((alias) => `width-${alias}`)
|
|
2232
|
+
];
|
|
2206
2233
|
var borderWidthRamp = {
|
|
2207
2234
|
xSmall: {
|
|
2208
2235
|
none: 0,
|
|
@@ -2880,7 +2907,7 @@ var buttonMotionProperties = [
|
|
|
2880
2907
|
"trimLeft",
|
|
2881
2908
|
"trimRight",
|
|
2882
2909
|
"matchAll",
|
|
2883
|
-
"__@iterator@
|
|
2910
|
+
"__@iterator@86",
|
|
2884
2911
|
"at"
|
|
2885
2912
|
];
|
|
2886
2913
|
var buttonMotionEffects = [
|
|
@@ -3026,4 +3053,4 @@ var badgeSizes = [
|
|
|
3026
3053
|
"lg",
|
|
3027
3054
|
"xs"
|
|
3028
3055
|
];
|
|
3029
|
-
export { typographyStyleProperties, tshirtSizes, textVariantsWithoutEmphasized, textVariantsUi, textVariantsTypography, textVariants, textTransforms, textProperties, textDecorationLines, tailwindColorsAsUds, switchSizes, spectrumColors, spacingMap, spacingAliases, sortPalette, shadowVariantsWithInvert, shadowVariantsInvert, shadowVariants, shadowSpreadRadiusMap, shadowSpreadRadii, shadowPaletteColors, shadowOpacityMap, shadowOpacities, shadowOffsets, shadowOffsetMap, shadowColors, scaleModes, scaleEffectMap, regionModes, palette, motionVariants, motionVariantSpeeds, motionSpringConfigOptions, motionSpringConfig, linePaletteColors, lineColors, inputSizes, iconVariants, iconSizes, iconButtonSizes, iconButtonClassNames, hues, hueSteps, foregroundPaletteColors, foregroundColors, fontWeights, fontUrls, fontIds, fontAliases, colorModes, chipVariants, chipSizes, checkboxVariants, checkboxSizes, buttonVariantsTertiary, buttonVariantsSecondary, buttonVariantsPrimary, buttonVariantsFlat, buttonVariants, buttonStates, buttonSizes, buttonSizeProperties, buttonPalettes, buttonMotionProperties, buttonMotionEffects, buttonKinds, buttonIconSvgSize, buttonColorProperties, buttonClassNames, breakpoints, borderWidths, borderWidthRamp, borderRadiusRamp, borderRadii, badgeVariants, badgeSizes, backgroundPaletteColors, backgroundColors, avatarSizes, avatarShapes, alwaysPaletteAliases };
|
|
3056
|
+
export { typographyStyleProperties, tshirtSizes, textVariantsWithoutEmphasized, textVariantsUi, textVariantsTypography, textVariants, textTransforms, textProperties, textDecorationLines, tailwindColorsAsUds, switchSizes, spectrumColors, spacingMap, spacingAliases, sortPalette, shadowVariantsWithInvert, shadowVariantsInvert, shadowVariants, shadowSpreadRadiusMap, shadowSpreadRadii, shadowPaletteColors, shadowOpacityMap, shadowOpacities, shadowOffsets, shadowOffsetMap, shadowColors, scaleModes, scaleEffectMap, regionModes, palette, motionVariants, motionVariantSpeeds, motionSpringConfigOptions, motionSpringConfig, linePaletteColors, lineColors, inputSizes, iconVariants, iconSizes, iconButtonSizes, iconButtonClassNames, hues, hueSteps, foregroundPaletteColors, foregroundColors, fontWeights, fontUrls, fontIds, fontAliases, elevationShadowLayerCount, elevationLevels, colorModes, chipVariants, chipSizes, checkboxVariants, checkboxSizes, buttonVariantsTertiary, buttonVariantsSecondary, buttonVariantsPrimary, buttonVariantsFlat, buttonVariants, buttonStates, buttonSizes, buttonSizeProperties, buttonPalettes, buttonMotionProperties, buttonMotionEffects, buttonKinds, buttonIconSvgSize, buttonColorProperties, buttonClassNames, breakpoints, borderWidthsWithElevation, borderWidths, borderWidthRamp, borderRadiusRamp, borderRadii, badgeVariants, badgeSizes, backgroundPaletteColors, backgroundColors, avatarSizes, avatarShapes, alwaysPaletteAliases };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import {
|
|
2
|
+
import { o as ShadowPreset, g as UniversalTokensConfig } from './types-CbJ9vfW5.js';
|
|
3
3
|
|
|
4
4
|
type DispatchContext = {
|
|
5
5
|
componentName: string;
|
|
@@ -85,7 +85,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
|
|
88
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
89
89
|
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
90
90
|
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
91
91
|
interface LayerConfig {
|
|
@@ -128,7 +128,7 @@ interface ComponentConfig {
|
|
|
128
128
|
subComponents?: Record<string, SubComponentConfig>;
|
|
129
129
|
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
130
130
|
}
|
|
131
|
-
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
|
|
131
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
132
132
|
type AutoComponentName = keyof AutoComponents;
|
|
133
133
|
type AllVariantKeys = {
|
|
134
134
|
[K in keyof AutoComponents]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import {
|
|
2
|
+
import { o as ShadowPreset, g as UniversalTokensConfig } from './types-BB_vmfZS.cjs';
|
|
3
3
|
|
|
4
4
|
type DispatchContext = {
|
|
5
5
|
componentName: string;
|
|
@@ -85,7 +85,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
|
|
88
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
89
89
|
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
90
90
|
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
91
91
|
interface LayerConfig {
|
|
@@ -128,7 +128,7 @@ interface ComponentConfig {
|
|
|
128
128
|
subComponents?: Record<string, SubComponentConfig>;
|
|
129
129
|
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
130
130
|
}
|
|
131
|
-
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
|
|
131
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
132
132
|
type AutoComponentName = keyof AutoComponents;
|
|
133
133
|
type AllVariantKeys = {
|
|
134
134
|
[K in keyof AutoComponents]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import {
|
|
2
|
+
import { o as ShadowPreset, g as UniversalTokensConfig } from './types-CbJ9vfW5.cjs';
|
|
3
3
|
|
|
4
4
|
type DispatchContext = {
|
|
5
5
|
componentName: string;
|
|
@@ -85,7 +85,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
|
|
88
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
89
89
|
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
90
90
|
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
91
91
|
interface LayerConfig {
|
|
@@ -128,7 +128,7 @@ interface ComponentConfig {
|
|
|
128
128
|
subComponents?: Record<string, SubComponentConfig>;
|
|
129
129
|
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
130
130
|
}
|
|
131
|
-
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
|
|
131
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
132
132
|
type AutoComponentName = keyof AutoComponents;
|
|
133
133
|
type AllVariantKeys = {
|
|
134
134
|
[K in keyof AutoComponents]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import {
|
|
2
|
+
import { o as ShadowPreset, g as UniversalTokensConfig } from './types-BB_vmfZS.js';
|
|
3
3
|
|
|
4
4
|
type DispatchContext = {
|
|
5
5
|
componentName: string;
|
|
@@ -85,7 +85,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
|
|
88
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
89
89
|
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
90
90
|
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
91
91
|
interface LayerConfig {
|
|
@@ -128,7 +128,7 @@ interface ComponentConfig {
|
|
|
128
128
|
subComponents?: Record<string, SubComponentConfig>;
|
|
129
129
|
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
130
130
|
}
|
|
131
|
-
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
|
|
131
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
132
132
|
type AutoComponentName = keyof AutoComponents;
|
|
133
133
|
type AllVariantKeys = {
|
|
134
134
|
[K in keyof AutoComponents]: {
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-W4J7ZS6U.cjs"),t=require("./chunk-DJK7XG62.cjs"),r=require("./chunk-UQJ7WV2P.cjs"),n=require("./chunk-FP76653E.cjs"),o=require("./chunk-QLETZKZI.cjs"),i=require("./chunk-4UB6EIVI.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-DE7HKKF7.cjs"),c=require("./chunk-V7E46T44.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]")}),E={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:E,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:l,icon:n,iconProps:E,"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,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return c.LETTER_SPACING_PREFIX}}),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-CKRMBFE3.cjs"),t=require("./chunk-XFNGTK2I.cjs"),r=require("./chunk-AQM3J7QN.cjs"),n=require("./chunk-AREXX3FQ.cjs"),o=require("./chunk-3AQ5EJDX.cjs"),u=require("./chunk-FTAMKJ7E.cjs"),i=require("./chunk-U7C4F57A.cjs"),a=require("./chunk-RLK3BA4S.cjs"),c=require("./chunk-GPYK5KNS.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:u=!1,children:i,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",u&&"underline",a)})},[u,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"}),i,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 u.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return u.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return u.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return u.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return u.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return u.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return u.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return u.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return u.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return u.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return u.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return u.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return u.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return u.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return u.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return u.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return u.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return u.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return u.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return u.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return u.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return u.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return u.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return u.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return u.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return u.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return u.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return u.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return u.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return u.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return u.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return u.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return u.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return u.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return u.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return u.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return u.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return u.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return u.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return u.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return u.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return u.toMinimalDbConfigObject}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return i.alwaysPalette}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return i.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return i.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,"DROP_SHADOW_PREFIX",{enumerable:!0,get:function(){return c.DROP_SHADOW_PREFIX}}),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,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return c.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_COLOR_PREFIX",{enumerable:!0,get:function(){return c.LINE_COLOR_PREFIX}}),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-BXzOEy6x.cjs';
|
|
2
|
+
export { a as Box, B as BoxProps } from './Box-BXzOEy6x.cjs';
|
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-TYqG4Ln7.cjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
5
|
+
import { y as UniversalFormLabelProps, p as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalLinkProps } from './types-BB_vmfZS.cjs';
|
|
6
|
+
export { L as AVATAR_SIZE_PREFIX, as as AlwaysPalette, at as AlwaysPaletteAlias, au as AlwaysPaletteColor, av as Animation, aw as AriaAttribute, ax as AvatarAbbreviationStrategy, ay as AvatarShape, az as AvatarSize, aA as AvatarSizeConfig, aB as AvatarVariant, N as BORDER_RADIUS_PREFIX, O as BORDER_WIDTH_PREFIX, aj as BUTTON_CSS_VAR_MAP, aC as BackgroundColor, aD as BackgroundPalette, aE as BackgroundPaletteAlias, aF as BackgroundStyleProps, aG as BadgeSize, aH as BadgeVariant, aI as BorderRadius, aJ as BorderRadiusConfig, aK as BorderStyleProps, aL as BorderWidth, aM as BorderWidthConfig, aN as BorderWidthWithElevation, aO as Breakpoint, aP as BreakpointWithBase, e as BreakpointsConfig, aQ as ButtonBaseConfig, r as ButtonClassMap, aR as ButtonClassName, aS as ButtonColorConfig, aT as ButtonColorEffect, aU as ButtonColorEffectConfig, u as ButtonColorProperty, v as ButtonColorPropertyConfig, B as ButtonConfig, aV as ButtonKind, aW as ButtonMotionEffect, aX as ButtonMotionProperty, aY as ButtonMotionPropertyConfig, aZ as ButtonPalette, a_ as ButtonPaletteColor, a$ as ButtonPaletteConfig, b0 as ButtonShadowPropertyConfig, b1 as ButtonSize, b2 as ButtonSizeConfig, b3 as ButtonSizeProperty, b4 as ButtonSpectrumColor, b5 as ButtonState, b6 as ButtonStateConfig, b7 as ButtonStateEffectConfig, b8 as ButtonVariant, b9 as ButtonVariantConfig, ba as ButtonVariantFlat, bb as CheckboxSize, bc as CheckboxValue, bd as CheckboxVariant, be as ChipSize, bf as ChipVariant, h as ColorMode, C as ColorModeConfig, bg as ColorModeForApp, i as ColorsConfig, bh as ConfigurableDropShadowValues, bi as ConfigurableInsetShadowValues, bj as CustomSizingStyleProps, a4 as DARK_COLOR_MODE_CLASSNAME, af as DEFAULT_COLOR_MODE_CLASSNAME, ag as DEFAULT_SCALE_MODE_CLASSNAME, Q as DROP_SHADOW_PREFIX, bk as DataAttribute, bl as Display, bm as DividerVariant, bn as ElevationAlias, E as ElevationConfig, j as ElevationLevel, k as ElevationPreset, am as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bo as Flex, bp as FlexAlignContent, bq as FlexAlignItems, br as FlexAlignSelf, bs as FlexBasis, bt as FlexDirection, bu as FlexGrow, bv as FlexJustifyContent, bw as FlexShrink, bx as FlexStyleProps, by as FlexWrap, bz as FontAlias, an as FontAxisConfig, F as FontConfig, bA as FontCssVar, ap as FontDeclarationConfig, ao as FontDeclarationItemConfig, aq as FontDeclarationMap, bB as FontFamilyCDNUrl, bC as FontFamilyConfig, bD as FontID, bE as FontSize, bF as FontSizeConfig, bG as FontSlantConfig, bH as FontType, bI as FontWeightConfig, bJ as FontWeightDescriptive, ar as FontWeightForFont, bK as FontWeightNumeric, bL as FontWidthConfig, bM as ForegroundColor, bN as ForegroundPalette, bO as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bP as HighContrastMode, H as Hue, l as HueStep, ak as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a7 as INVERT_COLOR_MODE_CLASSNAME, s as IconButtonClassMap, bQ as IconButtonClassName, I as IconButtonConfig, bR as IconButtonDefaultsConfig, bS as IconButtonSize, bT as IconSizeConfig, bU as IconSlotRenderProps, bV as ImageStyleProps, bW as InputSize, ab as LARGE_SCALE_MODE_CLASSNAME, a0 as LETTER_SPACING_PREFIX, a5 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_COLOR_PREFIX, $ as LINE_HEIGHT_PREFIX, bX as LayoutStyleProps, bY as LineClampAlias, bZ as LineColor, b_ as LineHeight, b$ as LineHeightConfig, c0 as LinePalette, c1 as LinePaletteAlias, aa as MEDIUM_SCALE_MODE_CLASSNAME, a1 as MOTION_PREFIX, c2 as Modes, M as MotionConfig, c3 as MotionCssVar, c4 as MotionSpringConfig, c5 as MotionSpringConfigOptions, c6 as MotionVariant, c7 as MotionVariantSpeed, c8 as MotionVariantValues, c9 as OpacityStep, ca as Overflow, al as PSEUDO_STYLE_SELECTOR_MAP, cb as Palette, m as PaletteConfig, P as PaletteType, cc as PaletteValue, cd as Percentage, ce as PercentageUnit, cf as PixelsUnit, cg as PlatformMode, ch as Position, ci as PropertyToPaletteAliasMap, co as RGBAUnit, cp as RGBColorValue, cj as RadioSize, ck as RadioValue, cl as RadioVariant, cm as RegionMode, cn as RemsUnit, a9 as SMALL_SCALE_MODE_CLASSNAME, a2 as SPECTRUM_COLOR_PREFIX, a6 as SYSTEM_COLOR_MODE_CLASSNAME, cq as ScaleConfig, cr as ScaleEffectMap, n as ScaleMode, S as ScaleModeConfig, cs as ScaleModeForApp, ct as ShadowColor, cu as ShadowColorConfig, d as ShadowConfig, cv as ShadowOffset, cw as ShadowOpacity, cx as ShadowPalette, cy as ShadowPaletteAlias, o as ShadowPreset, cz as ShadowSpreadRadius, cA as ShadowStyleProps, cB as ShadowType, cC as ShadowTypeConfig, cD as ShadowVariant, cE as ShadowVariantConfig, cF as ShadowVariantInvert, cG as ShadowVariantWithElevation, cH as ShadowVariantWithInvert, cI as SharedPaletteAlias, w as SpacingAlias, cJ as SpacingConfig, cK as SpacingStyleProps, cL as SpectrumColor, cM as SpectrumConfig, cN as StateStyleProps, cO as StyleProps, cP as SwitchSize, ai as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ah as TEXT_RESPONSIVE_CLASSNAME, a3 as TEXT_TRANSFORM_PREFIX, c$ as TShirtSize, d0 as TShirtSizeCommon, cQ as TextDecorationLine, cR as TextProperty, cS as TextStyleProps, cT as TextTransform, cU as TextTransformConfig, cV as TextVariant, cW as TextVariantTypography, t as TextVariantUi, cX as TextVariantWithoutEmphasized, cY as TransitionDelay, cZ as TransitionDuration, c_ as TransitionTiming, T as TypographyConfig, d1 as TypographyResponsiveProperty, d2 as TypographyStyle, d3 as TypographyStyleProperty, d4 as TypographyUnitValue, K as UDS_PREFIX, d5 as UdsCssVar, d6 as UnitlessUnit, d7 as UniversalAvatarIconProps, d8 as UniversalAvatarImageProps, d9 as UniversalAvatarProps, da as UniversalAvatarTextProps, db as UniversalBadgeProps, b as UniversalBoxProps, dc as UniversalButtonProps, dd as UniversalCheckboxProps, de as UniversalChipBaseProps, df as UniversalChipButtonProps, dg as UniversalChipDismissibleProps, dh as UniversalChipLinkProps, di as UniversalChipProps, dj as UniversalChipToggleProps, q as UniversalDividerProps, dk as UniversalIconButtonProps, dl as UniversalIconProps, dm as UniversalIconSlot, dn as UniversalImageProps, dp as UniversalInputProps, x as UniversalMenuItemProps, a as UniversalPressableProps, dq as UniversalRadioGroupProps, dr as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, ds as UniversalTokensConfigAuto, ac as XLARGE_SCALE_MODE_CLASSNAME, a8 as XSMALL_SCALE_MODE_CLASSNAME, ad as XXLARGE_SCALE_MODE_CLASSNAME, ae as XXXLARGE_SCALE_MODE_CLASSNAME, J as alwaysPalette } from './types-BB_vmfZS.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-Cit3FWD8.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-BD9b-X3s.cjs';
|
|
14
14
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
15
15
|
import 'motion/react';
|
|
16
16
|
import 'type-fest';
|
|
@@ -319,24 +319,24 @@ declare const getStylesInternal: (props?: ({
|
|
|
319
319
|
offsetTop?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
320
320
|
columnGap?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
321
321
|
rowGap?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
322
|
-
backgroundColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
323
|
-
borderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
324
|
-
borderStartColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
325
|
-
borderEndColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
326
|
-
borderBottomColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
327
|
-
borderTopColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
322
|
+
backgroundColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
323
|
+
borderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
324
|
+
borderStartColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
325
|
+
borderEndColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
326
|
+
borderBottomColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
327
|
+
borderTopColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
328
328
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
329
329
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
330
330
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
331
331
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
332
332
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
333
|
-
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
334
|
-
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
335
|
-
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
336
|
-
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
337
|
-
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
338
|
-
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
339
|
-
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
333
|
+
borderWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
334
|
+
borderVerticalWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
335
|
+
borderHorizontalWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
336
|
+
borderStartWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
337
|
+
borderEndWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
338
|
+
borderTopWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
339
|
+
borderBottomWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
340
340
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
341
341
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
342
342
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
|
@@ -363,7 +363,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
363
363
|
iconButtonSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
364
364
|
width?: "full" | "fit" | "screen" | undefined;
|
|
365
365
|
height?: "full" | "fit" | "screen" | undefined;
|
|
366
|
-
dropShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl" | undefined;
|
|
366
|
+
dropShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
367
367
|
insetShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl-invert" | "md-invert" | "2xl" | "xl-invert" | "sm-invert" | "xs-invert" | "lg-invert" | undefined;
|
|
368
368
|
} & {
|
|
369
369
|
className?: string | 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-D0HE-AjA.js';
|
|
2
|
+
export { a as Box, B as BoxProps } from './Box-D0HE-AjA.js';
|
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CJZsAnS3.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
5
|
+
import { y as UniversalFormLabelProps, p as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalLinkProps } from './types-BB_vmfZS.js';
|
|
6
|
+
export { L as AVATAR_SIZE_PREFIX, as as AlwaysPalette, at as AlwaysPaletteAlias, au as AlwaysPaletteColor, av as Animation, aw as AriaAttribute, ax as AvatarAbbreviationStrategy, ay as AvatarShape, az as AvatarSize, aA as AvatarSizeConfig, aB as AvatarVariant, N as BORDER_RADIUS_PREFIX, O as BORDER_WIDTH_PREFIX, aj as BUTTON_CSS_VAR_MAP, aC as BackgroundColor, aD as BackgroundPalette, aE as BackgroundPaletteAlias, aF as BackgroundStyleProps, aG as BadgeSize, aH as BadgeVariant, aI as BorderRadius, aJ as BorderRadiusConfig, aK as BorderStyleProps, aL as BorderWidth, aM as BorderWidthConfig, aN as BorderWidthWithElevation, aO as Breakpoint, aP as BreakpointWithBase, e as BreakpointsConfig, aQ as ButtonBaseConfig, r as ButtonClassMap, aR as ButtonClassName, aS as ButtonColorConfig, aT as ButtonColorEffect, aU as ButtonColorEffectConfig, u as ButtonColorProperty, v as ButtonColorPropertyConfig, B as ButtonConfig, aV as ButtonKind, aW as ButtonMotionEffect, aX as ButtonMotionProperty, aY as ButtonMotionPropertyConfig, aZ as ButtonPalette, a_ as ButtonPaletteColor, a$ as ButtonPaletteConfig, b0 as ButtonShadowPropertyConfig, b1 as ButtonSize, b2 as ButtonSizeConfig, b3 as ButtonSizeProperty, b4 as ButtonSpectrumColor, b5 as ButtonState, b6 as ButtonStateConfig, b7 as ButtonStateEffectConfig, b8 as ButtonVariant, b9 as ButtonVariantConfig, ba as ButtonVariantFlat, bb as CheckboxSize, bc as CheckboxValue, bd as CheckboxVariant, be as ChipSize, bf as ChipVariant, h as ColorMode, C as ColorModeConfig, bg as ColorModeForApp, i as ColorsConfig, bh as ConfigurableDropShadowValues, bi as ConfigurableInsetShadowValues, bj as CustomSizingStyleProps, a4 as DARK_COLOR_MODE_CLASSNAME, af as DEFAULT_COLOR_MODE_CLASSNAME, ag as DEFAULT_SCALE_MODE_CLASSNAME, Q as DROP_SHADOW_PREFIX, bk as DataAttribute, bl as Display, bm as DividerVariant, bn as ElevationAlias, E as ElevationConfig, j as ElevationLevel, k as ElevationPreset, am as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bo as Flex, bp as FlexAlignContent, bq as FlexAlignItems, br as FlexAlignSelf, bs as FlexBasis, bt as FlexDirection, bu as FlexGrow, bv as FlexJustifyContent, bw as FlexShrink, bx as FlexStyleProps, by as FlexWrap, bz as FontAlias, an as FontAxisConfig, F as FontConfig, bA as FontCssVar, ap as FontDeclarationConfig, ao as FontDeclarationItemConfig, aq as FontDeclarationMap, bB as FontFamilyCDNUrl, bC as FontFamilyConfig, bD as FontID, bE as FontSize, bF as FontSizeConfig, bG as FontSlantConfig, bH as FontType, bI as FontWeightConfig, bJ as FontWeightDescriptive, ar as FontWeightForFont, bK as FontWeightNumeric, bL as FontWidthConfig, bM as ForegroundColor, bN as ForegroundPalette, bO as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bP as HighContrastMode, H as Hue, l as HueStep, ak as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a7 as INVERT_COLOR_MODE_CLASSNAME, s as IconButtonClassMap, bQ as IconButtonClassName, I as IconButtonConfig, bR as IconButtonDefaultsConfig, bS as IconButtonSize, bT as IconSizeConfig, bU as IconSlotRenderProps, bV as ImageStyleProps, bW as InputSize, ab as LARGE_SCALE_MODE_CLASSNAME, a0 as LETTER_SPACING_PREFIX, a5 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_COLOR_PREFIX, $ as LINE_HEIGHT_PREFIX, bX as LayoutStyleProps, bY as LineClampAlias, bZ as LineColor, b_ as LineHeight, b$ as LineHeightConfig, c0 as LinePalette, c1 as LinePaletteAlias, aa as MEDIUM_SCALE_MODE_CLASSNAME, a1 as MOTION_PREFIX, c2 as Modes, M as MotionConfig, c3 as MotionCssVar, c4 as MotionSpringConfig, c5 as MotionSpringConfigOptions, c6 as MotionVariant, c7 as MotionVariantSpeed, c8 as MotionVariantValues, c9 as OpacityStep, ca as Overflow, al as PSEUDO_STYLE_SELECTOR_MAP, cb as Palette, m as PaletteConfig, P as PaletteType, cc as PaletteValue, cd as Percentage, ce as PercentageUnit, cf as PixelsUnit, cg as PlatformMode, ch as Position, ci as PropertyToPaletteAliasMap, co as RGBAUnit, cp as RGBColorValue, cj as RadioSize, ck as RadioValue, cl as RadioVariant, cm as RegionMode, cn as RemsUnit, a9 as SMALL_SCALE_MODE_CLASSNAME, a2 as SPECTRUM_COLOR_PREFIX, a6 as SYSTEM_COLOR_MODE_CLASSNAME, cq as ScaleConfig, cr as ScaleEffectMap, n as ScaleMode, S as ScaleModeConfig, cs as ScaleModeForApp, ct as ShadowColor, cu as ShadowColorConfig, d as ShadowConfig, cv as ShadowOffset, cw as ShadowOpacity, cx as ShadowPalette, cy as ShadowPaletteAlias, o as ShadowPreset, cz as ShadowSpreadRadius, cA as ShadowStyleProps, cB as ShadowType, cC as ShadowTypeConfig, cD as ShadowVariant, cE as ShadowVariantConfig, cF as ShadowVariantInvert, cG as ShadowVariantWithElevation, cH as ShadowVariantWithInvert, cI as SharedPaletteAlias, w as SpacingAlias, cJ as SpacingConfig, cK as SpacingStyleProps, cL as SpectrumColor, cM as SpectrumConfig, cN as StateStyleProps, cO as StyleProps, cP as SwitchSize, ai as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ah as TEXT_RESPONSIVE_CLASSNAME, a3 as TEXT_TRANSFORM_PREFIX, c$ as TShirtSize, d0 as TShirtSizeCommon, cQ as TextDecorationLine, cR as TextProperty, cS as TextStyleProps, cT as TextTransform, cU as TextTransformConfig, cV as TextVariant, cW as TextVariantTypography, t as TextVariantUi, cX as TextVariantWithoutEmphasized, cY as TransitionDelay, cZ as TransitionDuration, c_ as TransitionTiming, T as TypographyConfig, d1 as TypographyResponsiveProperty, d2 as TypographyStyle, d3 as TypographyStyleProperty, d4 as TypographyUnitValue, K as UDS_PREFIX, d5 as UdsCssVar, d6 as UnitlessUnit, d7 as UniversalAvatarIconProps, d8 as UniversalAvatarImageProps, d9 as UniversalAvatarProps, da as UniversalAvatarTextProps, db as UniversalBadgeProps, b as UniversalBoxProps, dc as UniversalButtonProps, dd as UniversalCheckboxProps, de as UniversalChipBaseProps, df as UniversalChipButtonProps, dg as UniversalChipDismissibleProps, dh as UniversalChipLinkProps, di as UniversalChipProps, dj as UniversalChipToggleProps, q as UniversalDividerProps, dk as UniversalIconButtonProps, dl as UniversalIconProps, dm as UniversalIconSlot, dn as UniversalImageProps, dp as UniversalInputProps, x as UniversalMenuItemProps, a as UniversalPressableProps, dq as UniversalRadioGroupProps, dr as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, ds as UniversalTokensConfigAuto, ac as XLARGE_SCALE_MODE_CLASSNAME, a8 as XSMALL_SCALE_MODE_CLASSNAME, ad as XXLARGE_SCALE_MODE_CLASSNAME, ae as XXXLARGE_SCALE_MODE_CLASSNAME, J as alwaysPalette } from './types-BB_vmfZS.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-BTk0X3uq.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-DwHt8CXe.js';
|
|
14
14
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
15
15
|
import 'motion/react';
|
|
16
16
|
import 'type-fest';
|
|
@@ -319,24 +319,24 @@ declare const getStylesInternal: (props?: ({
|
|
|
319
319
|
offsetTop?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
320
320
|
columnGap?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
321
321
|
rowGap?: "2" | "4" | "2.5" | "5" | "0" | "1" | "8" | "0.5" | "1.5" | "7" | "12" | "6" | "3" | "3.5" | "10" | "16" | "9" | "11" | "14" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "4.5" | "5.5" | undefined;
|
|
322
|
-
backgroundColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
323
|
-
borderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
324
|
-
borderStartColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
325
|
-
borderEndColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
326
|
-
borderBottomColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
327
|
-
borderTopColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
|
322
|
+
backgroundColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
323
|
+
borderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
324
|
+
borderStartColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
325
|
+
borderEndColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
326
|
+
borderBottomColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
327
|
+
borderTopColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
328
328
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
329
329
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
330
330
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
331
331
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
332
332
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
|
333
|
-
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
334
|
-
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
335
|
-
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
336
|
-
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
337
|
-
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
338
|
-
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
339
|
-
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
|
333
|
+
borderWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
334
|
+
borderVerticalWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
335
|
+
borderHorizontalWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
336
|
+
borderStartWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
337
|
+
borderEndWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
338
|
+
borderTopWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
339
|
+
borderBottomWidth?: "thin" | "none" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | "medium" | "thick" | undefined;
|
|
340
340
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
341
341
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
342
342
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
|
@@ -363,7 +363,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
363
363
|
iconButtonSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
364
364
|
width?: "full" | "fit" | "screen" | undefined;
|
|
365
365
|
height?: "full" | "fit" | "screen" | undefined;
|
|
366
|
-
dropShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl" | undefined;
|
|
366
|
+
dropShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl" | "elevation-2" | "elevation-4" | "elevation-5" | "elevation-0" | "elevation-1" | "elevation-3" | undefined;
|
|
367
367
|
insetShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "2xl-invert" | "md-invert" | "2xl" | "xl-invert" | "sm-invert" | "xs-invert" | "lg-invert" | undefined;
|
|
368
368
|
} & {
|
|
369
369
|
className?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Image}from"./chunk-
|
|
1
|
+
export{Image}from"./chunk-TLTC3CSM.js";import{DividerInternal as e}from"./chunk-PC5KZY4N.js";export{HStack,VStack}from"./chunk-XO4R77US.js";export{FormLabel}from"./chunk-R5QRV75W.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-CWNVM6MA.js";export{Box,Icon,Text,cva,cx,getStyles,getStylesCacheKeySymbol}from"./chunk-CWNVM6MA.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,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-NHEPBE4E.js";export{alwaysPalette,entries,mapValues}from"./chunk-4UBSZT2O.js";export{variants}from"./chunk-P2RTCITU.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,DROP_SHADOW_PREFIX,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,LETTER_SPACING_PREFIX,LIGHT_COLOR_MODE_CLASSNAME,LINE_COLOR_PREFIX,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-J3BQW2FL.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:C=!1,children:s,className:A,...c},O){const L=!o,R=r(()=>{const n=!L&&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",C&&"underline",A)})},[C,L,o,e,A]),l=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),M=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),T={variant:"outline",color:"current"};return E("a",{ref:O,className:R,...c,children:[_&&i(n,{className:l,icon:_,iconProps:T,"data-testid":"start-icon"}),s,S&&i(n,{className:M,icon:S,iconProps:T,"data-testid":"end-icon"})]})});S.displayName="Link";export{_ as Divider,S as Link};
|