@yahoo/uds 3.5.0-beta.5 → 3.5.0-beta.6
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/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/{Input-BVxQanVj.d.ts → Input-BCHIQxSL.d.ts} +1 -1
- package/dist/{Input-D6N7TCc9.d.ts → Input-BEaCeKpq.d.ts} +1 -1
- package/dist/{Input-Tv8gAhPN.d.cts → Input-D5LpskoS.d.cts} +1 -1
- package/dist/{Input-f6w-BO8R.d.cts → Input-T1Sqx44p.d.cts} +1 -1
- package/dist/{Pressable-Dgla1UtH.d.ts → Pressable-CGXst9B0.d.ts} +1 -1
- package/dist/{Pressable-DSWYYU6N.d.ts → Pressable-DEHVkea-.d.ts} +1 -1
- package/dist/{Pressable-cW57Ibe2.d.cts → Pressable-DiaKktWS.d.cts} +1 -1
- package/dist/{Pressable-CVD9gKQN.d.cts → Pressable-ipJeIxQW.d.cts} +1 -1
- package/dist/{VStack-Ca-CbKTr.d.ts → VStack-BW_Tjxy6.d.ts} +9 -4
- package/dist/{VStack-Ck33D8i-.d.cts → VStack-CrV2St6z.d.ts} +9 -4
- package/dist/{VStack-CysztmBl.d.ts → VStack-Czr3zOzY.d.cts} +9 -4
- package/dist/{VStack-g_bLKhRq.d.cts → VStack-DNjFcnkK.d.cts} +9 -4
- package/dist/chunk-6GA7YVZ6.js +2 -0
- package/dist/{chunk-PNR3372L.js → chunk-ASHJNCZI.js} +2 -2
- package/dist/chunk-B6TJHTZE.js +2 -0
- package/dist/chunk-CS622C2O.cjs +1 -0
- package/dist/{chunk-FGRUT3UC.cjs → chunk-LT57BR6C.cjs} +1 -1
- package/dist/{chunk-55DNKMWV.cjs → chunk-MCPMOASZ.cjs} +1 -1
- package/dist/{chunk-44NCGEJE.js → chunk-MTZ35Z64.js} +2 -2
- package/dist/chunk-NCAWMJ7Y.cjs +1 -0
- package/dist/chunk-NFM3LOGK.cjs +2 -0
- package/dist/chunk-TKGMMX2M.js +1 -0
- package/dist/chunk-XF3ISQLE.cjs +2 -0
- package/dist/chunk-ZQHOCGRS.js +1 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/{index-CDx_NWe2.d.cts → index-CiudrMnH.d.cts} +40 -7
- package/dist/{index-YiVgsgZC.d.cts → index-CphreTFx.d.ts} +40 -7
- package/dist/{index-Dz60THFc.d.ts → index-D67X68Zx.d.cts} +40 -7
- package/dist/{index-xaTWnEHm.d.ts → index-a2q7gmGh.d.ts} +40 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- 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 +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-BdV70-Tw.d.cts → types-Bmiyv6JB.d.cts} +1 -1
- package/dist/{types-BEDOs3BD.d.ts → types-Bmiyv6JB.d.ts} +1781 -1781
- package/dist/{types-BdV70-Tw.d.ts → types-c3KKIkgF.d.cts} +1789 -1789
- package/dist/{types-BEDOs3BD.d.cts → types-c3KKIkgF.d.ts} +1 -1
- package/package.json +3 -2
- package/dist/chunk-4T35WHJL.js +0 -1
- package/dist/chunk-CNAKHAWF.cjs +0 -2
- package/dist/chunk-EE3DM7SS.js +0 -2
- package/dist/chunk-IRHJ7DWJ.js +0 -2
- package/dist/chunk-MO2VPSXU.js +0 -1
- package/dist/chunk-NKYMXTPB.cjs +0 -1
- package/dist/chunk-P4XGJJCM.cjs +0 -2
- package/dist/chunk-UFBH4CCM.cjs +0 -1
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import {
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-Bmiyv6JB.cjs';
|
3
3
|
|
4
|
+
type DispatchContext = {
|
5
|
+
componentName: string;
|
6
|
+
subComponentName?: string;
|
7
|
+
propertyKey: string;
|
8
|
+
layer: string;
|
9
|
+
};
|
4
10
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
11
|
name: string;
|
6
12
|
cssProperties: string | string[];
|
7
13
|
twThemePath: (selected: T, value: string) => string;
|
8
14
|
possibleFixtures: T[];
|
9
|
-
extendedProperties?:
|
10
|
-
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown) => string;
|
15
|
+
extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
|
16
|
+
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
|
11
17
|
concatenate?: boolean;
|
12
18
|
concatenationDelimiter?: string;
|
13
19
|
}
|
14
|
-
declare const
|
20
|
+
declare const publicProperties: {
|
15
21
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
16
22
|
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
17
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
@@ -33,8 +39,35 @@ declare const configurableProperties: {
|
|
33
39
|
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
34
40
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
35
41
|
};
|
36
|
-
|
37
|
-
|
42
|
+
declare const configurableProperties: {
|
43
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
44
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
45
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
46
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
47
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
48
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
49
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
50
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
51
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
52
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
53
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
54
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
55
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
56
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
57
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
58
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
59
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
60
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
61
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
62
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
63
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
64
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
65
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
66
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
67
|
+
};
|
68
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
69
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
70
|
+
interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
|
38
71
|
label: string;
|
39
72
|
name: C;
|
40
73
|
typeOfFixture: T;
|
@@ -205,4 +238,4 @@ declare function createSubComponentConfig(config: {
|
|
205
238
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
206
239
|
}): SubComponentConfig;
|
207
240
|
|
208
|
-
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
241
|
+
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import {
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-c3KKIkgF.js';
|
3
3
|
|
4
|
+
type DispatchContext = {
|
5
|
+
componentName: string;
|
6
|
+
subComponentName?: string;
|
7
|
+
propertyKey: string;
|
8
|
+
layer: string;
|
9
|
+
};
|
4
10
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
11
|
name: string;
|
6
12
|
cssProperties: string | string[];
|
7
13
|
twThemePath: (selected: T, value: string) => string;
|
8
14
|
possibleFixtures: T[];
|
9
|
-
extendedProperties?:
|
10
|
-
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown) => string;
|
15
|
+
extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
|
16
|
+
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
|
11
17
|
concatenate?: boolean;
|
12
18
|
concatenationDelimiter?: string;
|
13
19
|
}
|
14
|
-
declare const
|
20
|
+
declare const publicProperties: {
|
15
21
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
16
22
|
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
17
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
@@ -33,8 +39,35 @@ declare const configurableProperties: {
|
|
33
39
|
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
34
40
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
35
41
|
};
|
36
|
-
|
37
|
-
|
42
|
+
declare const configurableProperties: {
|
43
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
44
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
45
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
46
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
47
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
48
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
49
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
50
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
51
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
52
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
53
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
54
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
55
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
56
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
57
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
58
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
59
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
60
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
61
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
62
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
63
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
64
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
65
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
66
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
67
|
+
};
|
68
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
69
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
70
|
+
interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
|
38
71
|
label: string;
|
39
72
|
name: C;
|
40
73
|
typeOfFixture: T;
|
@@ -205,4 +238,4 @@ declare function createSubComponentConfig(config: {
|
|
205
238
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
206
239
|
}): SubComponentConfig;
|
207
240
|
|
208
|
-
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
241
|
+
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import {
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-c3KKIkgF.cjs';
|
3
3
|
|
4
|
+
type DispatchContext = {
|
5
|
+
componentName: string;
|
6
|
+
subComponentName?: string;
|
7
|
+
propertyKey: string;
|
8
|
+
layer: string;
|
9
|
+
};
|
4
10
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
11
|
name: string;
|
6
12
|
cssProperties: string | string[];
|
7
13
|
twThemePath: (selected: T, value: string) => string;
|
8
14
|
possibleFixtures: T[];
|
9
|
-
extendedProperties?:
|
10
|
-
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown) => string;
|
15
|
+
extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
|
16
|
+
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
|
11
17
|
concatenate?: boolean;
|
12
18
|
concatenationDelimiter?: string;
|
13
19
|
}
|
14
|
-
declare const
|
20
|
+
declare const publicProperties: {
|
15
21
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
16
22
|
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
17
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
@@ -33,8 +39,35 @@ declare const configurableProperties: {
|
|
33
39
|
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
34
40
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
35
41
|
};
|
36
|
-
|
37
|
-
|
42
|
+
declare const configurableProperties: {
|
43
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
44
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
45
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
46
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
47
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
48
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
49
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
50
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
51
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
52
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
53
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
54
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
55
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
56
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
57
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
58
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
59
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
60
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
61
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
62
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
63
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
64
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
65
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
66
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
67
|
+
};
|
68
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
69
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
70
|
+
interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
|
38
71
|
label: string;
|
39
72
|
name: C;
|
40
73
|
typeOfFixture: T;
|
@@ -205,4 +238,4 @@ declare function createSubComponentConfig(config: {
|
|
205
238
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
206
239
|
}): SubComponentConfig;
|
207
240
|
|
208
|
-
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
241
|
+
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import {
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-Bmiyv6JB.js';
|
3
3
|
|
4
|
+
type DispatchContext = {
|
5
|
+
componentName: string;
|
6
|
+
subComponentName?: string;
|
7
|
+
propertyKey: string;
|
8
|
+
layer: string;
|
9
|
+
};
|
4
10
|
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
5
11
|
name: string;
|
6
12
|
cssProperties: string | string[];
|
7
13
|
twThemePath: (selected: T, value: string) => string;
|
8
14
|
possibleFixtures: T[];
|
9
|
-
extendedProperties?:
|
10
|
-
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown) => string;
|
15
|
+
extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
|
16
|
+
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
|
11
17
|
concatenate?: boolean;
|
12
18
|
concatenationDelimiter?: string;
|
13
19
|
}
|
14
|
-
declare const
|
20
|
+
declare const publicProperties: {
|
15
21
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
16
22
|
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
17
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
@@ -33,8 +39,35 @@ declare const configurableProperties: {
|
|
33
39
|
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
34
40
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
35
41
|
};
|
36
|
-
|
37
|
-
|
42
|
+
declare const configurableProperties: {
|
43
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
44
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
45
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
46
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
47
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
48
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
49
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
50
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
51
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
52
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
53
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
54
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
55
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
56
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
57
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
58
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
59
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
60
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
61
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
62
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
63
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
64
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
65
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
66
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
67
|
+
};
|
68
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
69
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
70
|
+
interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
|
38
71
|
label: string;
|
39
72
|
name: C;
|
40
73
|
typeOfFixture: T;
|
@@ -205,4 +238,4 @@ declare function createSubComponentConfig(config: {
|
|
205
238
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
206
239
|
}): SubComponentConfig;
|
207
240
|
|
208
|
-
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
241
|
+
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-L72D6DDM.cjs"),t=require("./chunk-UFBH4CCM.cjs"),r=require("./chunk-4AS6QR6M.cjs"),n=require("./chunk-P4XGJJCM.cjs"),o=require("./chunk-J7PUOUXC.cjs"),i=require("./chunk-IC335V3E.cjs"),u=require("./chunk-HTL6WRXY.cjs"),a=require("react"),c=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),p=a.forwardRef((function({variant:e="primary",textVariant:t,startIcon:n,endIcon:o,alwaysUnderline:i=!1,children:u,className:f,...p},b){const s=!t,O=a.useMemo((()=>{const n=!s&&r.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return r.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:r.cx(n,"uds-ring",i?"underline":"hover:underline",f)})}),[i,s,t,e,f]),g=r.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:r.cx(s&&"w-[0.7em] h-[0.7em]")}),l=r.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:r.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return c.jsxs("a",{ref:b,className:O,...p,children:[n&&c.jsx(r.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),u,o&&c.jsx(r.IconSlot,{className:l,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */p.displayName="Link",Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return e.FormLabel}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Divider",{enumerable:!0,get:function(){return t.Divider}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return r.Box}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return r.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return r.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return r.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return r.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return r.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return n.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return n.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return n.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return n.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return n.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return n.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return n.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return n.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return n.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return n.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return n.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return n.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return n.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return n.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return n.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return n.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return n.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return n.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return n.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return n.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return n.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return n.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return n.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return n.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return n.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return n.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return n.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return n.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return n.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return n.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return n.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return n.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return n.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return n.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return n.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return n.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return n.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return n.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return n.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return n.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return i.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return u.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return u.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return u.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return u.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return u.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return u.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return u.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return u.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return u.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return u.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return u.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return u.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return u.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return f.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return f.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return f.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return f.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return f.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return f.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return f.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return f.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return f.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return f.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return f.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return f.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return f.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return f.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return f.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return f.Switch}}),exports.Link=p;
|
1
|
+
"use strict";var e=require("./chunk-L72D6DDM.cjs"),t=require("./chunk-CS622C2O.cjs"),r=require("./chunk-4AS6QR6M.cjs"),n=require("./chunk-NFM3LOGK.cjs"),o=require("./chunk-J7PUOUXC.cjs"),i=require("./chunk-IC335V3E.cjs"),u=require("./chunk-HTL6WRXY.cjs"),a=require("react"),c=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),p=a.forwardRef((function(e,r){return c.jsx(t.DividerInternal,{ref:r,...e})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */p.displayName="Divider";var s=a.forwardRef((function({variant:e="primary",textVariant:t,startIcon:n,endIcon:o,alwaysUnderline:i=!1,children:u,className:f,...p},s){const b=!t,O=a.useMemo((()=>{const n=!b&&r.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return r.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:r.cx(n,"uds-ring",i?"underline":"hover:underline",f)})}),[i,b,t,e,f]),g=r.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),l=r.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return c.jsxs("a",{ref:s,className:O,...p,children:[n&&c.jsx(r.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),u,o&&c.jsx(r.IconSlot,{className:l,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));s.displayName="Link",Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return e.FormLabel}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return r.Box}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return r.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return r.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return r.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return r.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return r.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return n.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return n.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return n.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return n.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return n.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return n.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return n.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return n.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return n.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return n.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return n.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return n.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return n.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return n.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return n.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return n.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return n.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return n.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return n.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return n.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return n.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return n.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return n.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return n.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return n.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return n.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return n.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return n.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return n.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return n.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return n.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return n.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return n.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return n.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return n.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return n.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return n.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return n.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return n.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return n.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return i.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return u.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return u.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return u.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return u.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return u.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return u.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return u.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return u.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return u.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return u.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return u.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return u.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return u.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return f.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return f.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return f.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return f.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return f.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return f.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return f.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return f.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return f.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return f.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return f.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return f.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return f.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return f.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return f.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return f.Switch}}),exports.Divider=p,exports.Link=s;
|
package/dist/index.d.cts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-Czr3zOzY.cjs';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-Czr3zOzY.cjs';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps,
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ag as AlwaysPalette, ah as AlwaysPaletteAlias, ai as AlwaysPaletteColor, aj as Animation, ak as AriaAttribute, al as AvatarAbbreviationStrategy, am as AvatarShape, an as AvatarSize, ao as AvatarSizeConfig, ap as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a8 as BUTTON_CSS_VAR_MAP, aq as BackgroundColor, ar as BackgroundPalette, as as BackgroundPaletteAlias, at as BackgroundStyleProps, au as BadgeSize, av as BadgeVariant, aw as BorderRadius, ax as BorderRadiusConfig, ay as BorderStyleProps, az as BorderWidth, aA as BorderWidthConfig, aB as ButtonBaseConfig, l as ButtonClassMap, aC as ButtonClassName, aD as ButtonColorConfig, aE as ButtonColorEffect, aF as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, B as ButtonConfig, aG as ButtonKind, aH as ButtonMotionEffect, aI as ButtonMotionProperty, aJ as ButtonMotionPropertyConfig, aK as ButtonPalette, aL as ButtonPaletteColor, aM as ButtonPaletteConfig, aN as ButtonShadowPropertyConfig, aO as ButtonSize, aP as ButtonSizeConfig, aQ as ButtonSizeProperty, aR as ButtonSpectrumColor, aS as ButtonState, aT as ButtonStateConfig, aU as ButtonStateEffectConfig, aV as ButtonVariant, aW as ButtonVariantConfig, aX as ButtonVariantFlat, aY as CheckboxSize, aZ as CheckboxValue, a_ as CheckboxVariant, a$ as ChipSize, b0 as ChipVariant, C as ColorMode, b1 as ColorModeConfig, b2 as ColorModeForApp, c as ColorsConfig, b3 as ConfigurableDropShadowValues, b4 as ConfigurableInsetShadowValues, b5 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b6 as DataAttribute, b7 as Display, b8 as DividerVariant, ab as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, b9 as Flex, ba as FlexAlignContent, bb as FlexAlignItems, bc as FlexAlignSelf, bd as FlexBasis, be as FlexDirection, bf as FlexGrow, bg as FlexJustifyContent, bh as FlexShrink, bi as FlexStyleProps, bj as FlexWrap, bk as FontAlias, ac as FontAxisConfig, p as FontConfig, bl as FontCssVar, ad as FontDeclarationConfig, o as FontDeclarationItemConfig, ae as FontDeclarationMap, bm as FontFamilyCDNUrl, bn as FontFamilyConfig, F as FontID, bo as FontSize, bp as FontSizeConfig, bq as FontSlantConfig, br as FontType, bs as FontWeightConfig, bt as FontWeightDescriptive, af as FontWeightForFont, bu as FontWeightNumeric, bv as FontWidthConfig, bw as ForegroundColor, bx as ForegroundPalette, by as ForegroundPaletteAlias, bz as HighContrastMode, H as Hue, d as HueStep, a9 as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bA as IconButtonClassName, bB as IconButtonConfig, bC as IconButtonDefaultsConfig, bD as IconButtonSize, bE as IconSizeConfig, bF as ImageStyleProps, bG as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bH as LayoutStyleProps, bI as LetterSpacing, bJ as LineClampAlias, bK as LineColor, bL as LineHeight, bM as LineHeightConfig, bN as LinePalette, bO as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bP as Modes, s as MotionConfig, bQ as MotionCssVar, bR as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bS as MotionVariantValues, bT as Overflow, aa as PSEUDO_STYLE_SELECTOR_MAP, bU as Palette, e as PaletteConfig, P as PaletteType, bV as PaletteValue, bW as PlatformMode, bX as Position, bY as PropertyToPaletteAliasMap, bZ as RadioSize, b_ as RadioValue, b$ as RadioVariant, c0 as RegionMode, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c1 as ScaleConfig, c2 as ScaleEffectMap, S as ScaleMode, c3 as ScaleModeConfig, c4 as ScaleModeForApp, c5 as ShadowColor, c6 as ShadowColorConfig, c7 as ShadowConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias,
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-Bmiyv6JB.cjs';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ag as AlwaysPalette, ah as AlwaysPaletteAlias, ai as AlwaysPaletteColor, aj as Animation, ak as AriaAttribute, al as AvatarAbbreviationStrategy, am as AvatarShape, an as AvatarSize, ao as AvatarSizeConfig, ap as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a8 as BUTTON_CSS_VAR_MAP, aq as BackgroundColor, ar as BackgroundPalette, as as BackgroundPaletteAlias, at as BackgroundStyleProps, au as BadgeSize, av as BadgeVariant, aw as BorderRadius, ax as BorderRadiusConfig, ay as BorderStyleProps, az as BorderWidth, aA as BorderWidthConfig, aB as ButtonBaseConfig, l as ButtonClassMap, aC as ButtonClassName, aD as ButtonColorConfig, aE as ButtonColorEffect, aF as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, B as ButtonConfig, aG as ButtonKind, aH as ButtonMotionEffect, aI as ButtonMotionProperty, aJ as ButtonMotionPropertyConfig, aK as ButtonPalette, aL as ButtonPaletteColor, aM as ButtonPaletteConfig, aN as ButtonShadowPropertyConfig, aO as ButtonSize, aP as ButtonSizeConfig, aQ as ButtonSizeProperty, aR as ButtonSpectrumColor, aS as ButtonState, aT as ButtonStateConfig, aU as ButtonStateEffectConfig, aV as ButtonVariant, aW as ButtonVariantConfig, aX as ButtonVariantFlat, aY as CheckboxSize, aZ as CheckboxValue, a_ as CheckboxVariant, a$ as ChipSize, b0 as ChipVariant, C as ColorMode, b1 as ColorModeConfig, b2 as ColorModeForApp, c as ColorsConfig, b3 as ConfigurableDropShadowValues, b4 as ConfigurableInsetShadowValues, b5 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b6 as DataAttribute, b7 as Display, b8 as DividerVariant, ab as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, b9 as Flex, ba as FlexAlignContent, bb as FlexAlignItems, bc as FlexAlignSelf, bd as FlexBasis, be as FlexDirection, bf as FlexGrow, bg as FlexJustifyContent, bh as FlexShrink, bi as FlexStyleProps, bj as FlexWrap, bk as FontAlias, ac as FontAxisConfig, p as FontConfig, bl as FontCssVar, ad as FontDeclarationConfig, o as FontDeclarationItemConfig, ae as FontDeclarationMap, bm as FontFamilyCDNUrl, bn as FontFamilyConfig, F as FontID, bo as FontSize, bp as FontSizeConfig, bq as FontSlantConfig, br as FontType, bs as FontWeightConfig, bt as FontWeightDescriptive, af as FontWeightForFont, bu as FontWeightNumeric, bv as FontWidthConfig, bw as ForegroundColor, bx as ForegroundPalette, by as ForegroundPaletteAlias, bz as HighContrastMode, H as Hue, d as HueStep, a9 as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bA as IconButtonClassName, bB as IconButtonConfig, bC as IconButtonDefaultsConfig, bD as IconButtonSize, bE as IconSizeConfig, bF as ImageStyleProps, bG as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bH as LayoutStyleProps, bI as LetterSpacing, bJ as LineClampAlias, bK as LineColor, bL as LineHeight, bM as LineHeightConfig, bN as LinePalette, bO as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bP as Modes, s as MotionConfig, bQ as MotionCssVar, bR as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bS as MotionVariantValues, bT as Overflow, aa as PSEUDO_STYLE_SELECTOR_MAP, bU as Palette, e as PaletteConfig, P as PaletteType, bV as PaletteValue, bW as PlatformMode, bX as Position, bY as PropertyToPaletteAliasMap, bZ as RadioSize, b_ as RadioValue, b$ as RadioVariant, c0 as RegionMode, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c1 as ScaleConfig, c2 as ScaleEffectMap, S as ScaleMode, c3 as ScaleModeConfig, c4 as ScaleModeForApp, c5 as ShadowColor, c6 as ShadowColorConfig, c7 as ShadowConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias, f as ShadowPreset, cc as ShadowSpreadRadius, cd as ShadowStyleProps, t as ShadowType, ce as ShadowTypeConfig, cf as ShadowVariant, cg as ShadowVariantConfig, ch as ShadowVariantInvert, ci as ShadowVariantWithInvert, cj as SharedPaletteAlias, j as SpacingAlias, ck as SpacingConfig, cl as SpacingStyleProps, cm as SpectrumColor, cn as SpectrumConfig, co as StateStyleProps, cp as StyleProps, cq as SwitchSize, Y as TEXT_TRANSFORM_PREFIX, cz as TShirtSize, cA as TShirtSizeCommon, cr as TextProperty, cs as TextStyleProps, ct as TextTransform, cu as TextTransformConfig, cv as TextVariant, cw as TransitionDelay, cx as TransitionDuration, cy as TransitionTiming, E as UDS_PREFIX, cB as UdsCssVar, cC as UniversalAvatarIconProps, cD as UniversalAvatarImageProps, cE as UniversalAvatarProps, cF as UniversalAvatarTextProps, cG as UniversalBadgeProps, g as UniversalBoxProps, cH as UniversalButtonProps, cI as UniversalCheckboxProps, cJ as UniversalChipBaseProps, cK as UniversalChipButtonProps, cL as UniversalChipDismissibleProps, cM as UniversalChipLinkProps, cN as UniversalChipProps, cO as UniversalChipToggleProps, i as UniversalDividerProps, cP as UniversalIconButtonProps, cQ as UniversalIconProps, cR as UniversalImageProps, U as UniversalInputProps, k as UniversalMenuItemProps, a as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, b as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-Bmiyv6JB.cjs';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-T1Sqx44p.cjs';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
12
|
+
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-CiudrMnH.cjs';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
package/dist/index.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-BW_Tjxy6.js';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-BW_Tjxy6.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps,
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ag as AlwaysPalette, ah as AlwaysPaletteAlias, ai as AlwaysPaletteColor, aj as Animation, ak as AriaAttribute, al as AvatarAbbreviationStrategy, am as AvatarShape, an as AvatarSize, ao as AvatarSizeConfig, ap as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a8 as BUTTON_CSS_VAR_MAP, aq as BackgroundColor, ar as BackgroundPalette, as as BackgroundPaletteAlias, at as BackgroundStyleProps, au as BadgeSize, av as BadgeVariant, aw as BorderRadius, ax as BorderRadiusConfig, ay as BorderStyleProps, az as BorderWidth, aA as BorderWidthConfig, aB as ButtonBaseConfig, l as ButtonClassMap, aC as ButtonClassName, aD as ButtonColorConfig, aE as ButtonColorEffect, aF as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, B as ButtonConfig, aG as ButtonKind, aH as ButtonMotionEffect, aI as ButtonMotionProperty, aJ as ButtonMotionPropertyConfig, aK as ButtonPalette, aL as ButtonPaletteColor, aM as ButtonPaletteConfig, aN as ButtonShadowPropertyConfig, aO as ButtonSize, aP as ButtonSizeConfig, aQ as ButtonSizeProperty, aR as ButtonSpectrumColor, aS as ButtonState, aT as ButtonStateConfig, aU as ButtonStateEffectConfig, aV as ButtonVariant, aW as ButtonVariantConfig, aX as ButtonVariantFlat, aY as CheckboxSize, aZ as CheckboxValue, a_ as CheckboxVariant, a$ as ChipSize, b0 as ChipVariant, C as ColorMode, b1 as ColorModeConfig, b2 as ColorModeForApp, c as ColorsConfig, b3 as ConfigurableDropShadowValues, b4 as ConfigurableInsetShadowValues, b5 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b6 as DataAttribute, b7 as Display, b8 as DividerVariant, ab as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, b9 as Flex, ba as FlexAlignContent, bb as FlexAlignItems, bc as FlexAlignSelf, bd as FlexBasis, be as FlexDirection, bf as FlexGrow, bg as FlexJustifyContent, bh as FlexShrink, bi as FlexStyleProps, bj as FlexWrap, bk as FontAlias, ac as FontAxisConfig, p as FontConfig, bl as FontCssVar, ad as FontDeclarationConfig, o as FontDeclarationItemConfig, ae as FontDeclarationMap, bm as FontFamilyCDNUrl, bn as FontFamilyConfig, F as FontID, bo as FontSize, bp as FontSizeConfig, bq as FontSlantConfig, br as FontType, bs as FontWeightConfig, bt as FontWeightDescriptive, af as FontWeightForFont, bu as FontWeightNumeric, bv as FontWidthConfig, bw as ForegroundColor, bx as ForegroundPalette, by as ForegroundPaletteAlias, bz as HighContrastMode, H as Hue, d as HueStep, a9 as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bA as IconButtonClassName, bB as IconButtonConfig, bC as IconButtonDefaultsConfig, bD as IconButtonSize, bE as IconSizeConfig, bF as ImageStyleProps, bG as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bH as LayoutStyleProps, bI as LetterSpacing, bJ as LineClampAlias, bK as LineColor, bL as LineHeight, bM as LineHeightConfig, bN as LinePalette, bO as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bP as Modes, s as MotionConfig, bQ as MotionCssVar, bR as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bS as MotionVariantValues, bT as Overflow, aa as PSEUDO_STYLE_SELECTOR_MAP, bU as Palette, e as PaletteConfig, P as PaletteType, bV as PaletteValue, bW as PlatformMode, bX as Position, bY as PropertyToPaletteAliasMap, bZ as RadioSize, b_ as RadioValue, b$ as RadioVariant, c0 as RegionMode, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c1 as ScaleConfig, c2 as ScaleEffectMap, S as ScaleMode, c3 as ScaleModeConfig, c4 as ScaleModeForApp, c5 as ShadowColor, c6 as ShadowColorConfig, c7 as ShadowConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias,
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-Bmiyv6JB.js';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ag as AlwaysPalette, ah as AlwaysPaletteAlias, ai as AlwaysPaletteColor, aj as Animation, ak as AriaAttribute, al as AvatarAbbreviationStrategy, am as AvatarShape, an as AvatarSize, ao as AvatarSizeConfig, ap as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a8 as BUTTON_CSS_VAR_MAP, aq as BackgroundColor, ar as BackgroundPalette, as as BackgroundPaletteAlias, at as BackgroundStyleProps, au as BadgeSize, av as BadgeVariant, aw as BorderRadius, ax as BorderRadiusConfig, ay as BorderStyleProps, az as BorderWidth, aA as BorderWidthConfig, aB as ButtonBaseConfig, l as ButtonClassMap, aC as ButtonClassName, aD as ButtonColorConfig, aE as ButtonColorEffect, aF as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, B as ButtonConfig, aG as ButtonKind, aH as ButtonMotionEffect, aI as ButtonMotionProperty, aJ as ButtonMotionPropertyConfig, aK as ButtonPalette, aL as ButtonPaletteColor, aM as ButtonPaletteConfig, aN as ButtonShadowPropertyConfig, aO as ButtonSize, aP as ButtonSizeConfig, aQ as ButtonSizeProperty, aR as ButtonSpectrumColor, aS as ButtonState, aT as ButtonStateConfig, aU as ButtonStateEffectConfig, aV as ButtonVariant, aW as ButtonVariantConfig, aX as ButtonVariantFlat, aY as CheckboxSize, aZ as CheckboxValue, a_ as CheckboxVariant, a$ as ChipSize, b0 as ChipVariant, C as ColorMode, b1 as ColorModeConfig, b2 as ColorModeForApp, c as ColorsConfig, b3 as ConfigurableDropShadowValues, b4 as ConfigurableInsetShadowValues, b5 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b6 as DataAttribute, b7 as Display, b8 as DividerVariant, ab as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, b9 as Flex, ba as FlexAlignContent, bb as FlexAlignItems, bc as FlexAlignSelf, bd as FlexBasis, be as FlexDirection, bf as FlexGrow, bg as FlexJustifyContent, bh as FlexShrink, bi as FlexStyleProps, bj as FlexWrap, bk as FontAlias, ac as FontAxisConfig, p as FontConfig, bl as FontCssVar, ad as FontDeclarationConfig, o as FontDeclarationItemConfig, ae as FontDeclarationMap, bm as FontFamilyCDNUrl, bn as FontFamilyConfig, F as FontID, bo as FontSize, bp as FontSizeConfig, bq as FontSlantConfig, br as FontType, bs as FontWeightConfig, bt as FontWeightDescriptive, af as FontWeightForFont, bu as FontWeightNumeric, bv as FontWidthConfig, bw as ForegroundColor, bx as ForegroundPalette, by as ForegroundPaletteAlias, bz as HighContrastMode, H as Hue, d as HueStep, a9 as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bA as IconButtonClassName, bB as IconButtonConfig, bC as IconButtonDefaultsConfig, bD as IconButtonSize, bE as IconSizeConfig, bF as ImageStyleProps, bG as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bH as LayoutStyleProps, bI as LetterSpacing, bJ as LineClampAlias, bK as LineColor, bL as LineHeight, bM as LineHeightConfig, bN as LinePalette, bO as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bP as Modes, s as MotionConfig, bQ as MotionCssVar, bR as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bS as MotionVariantValues, bT as Overflow, aa as PSEUDO_STYLE_SELECTOR_MAP, bU as Palette, e as PaletteConfig, P as PaletteType, bV as PaletteValue, bW as PlatformMode, bX as Position, bY as PropertyToPaletteAliasMap, bZ as RadioSize, b_ as RadioValue, b$ as RadioVariant, c0 as RegionMode, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c1 as ScaleConfig, c2 as ScaleEffectMap, S as ScaleMode, c3 as ScaleModeConfig, c4 as ScaleModeForApp, c5 as ShadowColor, c6 as ShadowColorConfig, c7 as ShadowConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias, f as ShadowPreset, cc as ShadowSpreadRadius, cd as ShadowStyleProps, t as ShadowType, ce as ShadowTypeConfig, cf as ShadowVariant, cg as ShadowVariantConfig, ch as ShadowVariantInvert, ci as ShadowVariantWithInvert, cj as SharedPaletteAlias, j as SpacingAlias, ck as SpacingConfig, cl as SpacingStyleProps, cm as SpectrumColor, cn as SpectrumConfig, co as StateStyleProps, cp as StyleProps, cq as SwitchSize, Y as TEXT_TRANSFORM_PREFIX, cz as TShirtSize, cA as TShirtSizeCommon, cr as TextProperty, cs as TextStyleProps, ct as TextTransform, cu as TextTransformConfig, cv as TextVariant, cw as TransitionDelay, cx as TransitionDuration, cy as TransitionTiming, E as UDS_PREFIX, cB as UdsCssVar, cC as UniversalAvatarIconProps, cD as UniversalAvatarImageProps, cE as UniversalAvatarProps, cF as UniversalAvatarTextProps, cG as UniversalBadgeProps, g as UniversalBoxProps, cH as UniversalButtonProps, cI as UniversalCheckboxProps, cJ as UniversalChipBaseProps, cK as UniversalChipButtonProps, cL as UniversalChipDismissibleProps, cM as UniversalChipLinkProps, cN as UniversalChipProps, cO as UniversalChipToggleProps, i as UniversalDividerProps, cP as UniversalIconButtonProps, cQ as UniversalIconProps, cR as UniversalImageProps, U as UniversalInputProps, k as UniversalMenuItemProps, a as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, b as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-Bmiyv6JB.js';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-BEaCeKpq.js';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
12
|
+
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-a2q7gmGh.js';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-2W4ER46N.js";
|
1
|
+
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-2W4ER46N.js";import{DividerInternal as e}from"./chunk-TKGMMX2M.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-3WLIHKQU.js";export{Box,HStack,Icon,Text,VStack,cva,cx,getStyles}from"./chunk-3WLIHKQU.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,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-6GA7YVZ6.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-GSO3MC65.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-4G4TBHHL.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as _}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var E=o((function(t,a){return i(e,{ref:a,...t})}));E.displayName="Divider";var s=o((function({variant:e="primary",textVariant:o,startIcon:E,endIcon:s,alwaysUnderline:S=!1,children:C,className:A,...c},l){const L=!o,f=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",S?"underline":"hover:underline",A)})}),[S,L,o,e,A]),M=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),O=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),g={variant:"outline",color:"current"};return _("a",{ref:l,className:f,...c,children:[E&&i(n,{className:M,icon:E,iconProps:g,"data-testid":"start-icon"}),C,s&&i(n,{className:O,icon:s,iconProps:g,"data-testid":"end-icon"})]})}));s.displayName="Link";export{E as Divider,s as Link};
|