@yahoo/uds 3.99.0 → 3.100.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automated-config/dist/generated/autoVariants.cjs +10 -1
- package/dist/automated-config/dist/generated/autoVariants.d.cts +9 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +9 -0
- package/dist/automated-config/dist/generated/autoVariants.js +10 -1
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1640 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +405 -189
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +405 -189
- package/dist/automated-config/dist/generated/generatedConfigs.js +1639 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +94 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +94 -0
- package/dist/automated-config/dist/properties.cjs +147 -89
- package/dist/automated-config/dist/properties.d.cts +24 -3
- package/dist/automated-config/dist/properties.d.ts +24 -3
- package/dist/automated-config/dist/properties.js +148 -90
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +5 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.js +5 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/automated-config/dist/utils/index.d.cts +6 -1
- package/dist/automated-config/dist/utils/index.d.ts +6 -1
- package/dist/cli/commands/sync.cjs +5 -1
- package/dist/cli/commands/sync.js +5 -1
- package/dist/components/client/Button.js +2 -2
- package/dist/components/client/Tooltip/Tooltip.cjs +37 -0
- package/dist/components/client/Tooltip/Tooltip.d.cts +16 -0
- package/dist/components/client/Tooltip/Tooltip.d.ts +16 -0
- package/dist/components/client/Tooltip/Tooltip.js +35 -0
- package/dist/components/client/Tooltip/TooltipContent.cjs +174 -0
- package/dist/components/client/Tooltip/TooltipContent.d.cts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.d.ts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.js +172 -0
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +20 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +13 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +13 -0
- package/dist/components/client/Tooltip/TooltipTrigger.js +18 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +41 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +29 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +29 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +38 -0
- package/dist/components/client/Tooltip/index.cjs +12 -0
- package/dist/components/client/Tooltip/index.d.cts +7 -0
- package/dist/components/client/Tooltip/index.d.ts +7 -0
- package/dist/components/client/Tooltip/index.js +8 -0
- package/dist/components/client/Tooltip/tooltipContext.cjs +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.cts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.ts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.js +10 -0
- package/dist/components/client/Tooltip/useTooltipContent.cjs +199 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +65 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +65 -0
- package/dist/components/client/Tooltip/useTooltipContent.js +197 -0
- package/dist/components/client/Tooltip/util.cjs +248 -0
- package/dist/components/client/Tooltip/util.d.cts +118 -0
- package/dist/components/client/Tooltip/util.d.ts +118 -0
- package/dist/components/client/Tooltip/util.js +240 -0
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +7 -1
- package/dist/components/client/index.d.ts +7 -1
- package/dist/components/client/index.js +5 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/index.cjs +8 -0
- package/dist/components/index.d.cts +6 -1
- package/dist/components/index.d.ts +6 -1
- package/dist/components/index.js +5 -1
- package/dist/config/dist/index.cjs +95 -1
- package/dist/config/dist/index.d.cts +139 -1
- package/dist/config/dist/index.d.ts +139 -1
- package/dist/config/dist/index.js +95 -1
- package/dist/css-tokens/dist/index.cjs +2 -0
- package/dist/css-tokens/dist/index.d.cts +2 -1
- package/dist/css-tokens/dist/index.d.ts +2 -1
- package/dist/css-tokens/dist/index.js +2 -1
- package/dist/fixtures/dist/arbitrary.d.cts +11 -0
- package/dist/fixtures/dist/arbitrary.d.ts +11 -0
- package/dist/fixtures/dist/index.cjs +27 -1
- package/dist/fixtures/dist/index.d.cts +17 -3
- package/dist/fixtures/dist/index.d.ts +17 -3
- package/dist/fixtures/dist/index.js +26 -2
- package/dist/fixtures/index.cjs +6 -1
- package/dist/fixtures/index.d.cts +4 -2
- package/dist/fixtures/index.d.ts +4 -2
- package/dist/fixtures/index.js +3 -2
- package/dist/fixtures/src/arbitrary.cjs +23 -0
- package/dist/fixtures/src/arbitrary.d.cts +15 -0
- package/dist/fixtures/src/arbitrary.d.ts +15 -0
- package/dist/fixtures/src/arbitrary.js +18 -0
- package/dist/fixtures/src/util.cjs +26 -0
- package/dist/fixtures/src/util.d.cts +9 -0
- package/dist/fixtures/src/util.d.ts +9 -0
- package/dist/fixtures/src/util.js +25 -0
- package/dist/index.cjs +12 -0
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +8 -3
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/tooltipConfig.cjs +50 -0
- package/dist/runtime/tooltipConfig.d.cts +21 -0
- package/dist/runtime/tooltipConfig.d.ts +21 -0
- package/dist/runtime/tooltipConfig.js +49 -0
- package/dist/runtime/udsConfig.cjs +3 -1
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +3 -1
- package/dist/styles/styler.d.cts +30 -21
- package/dist/styles/styler.d.ts +30 -21
- package/dist/styles/variants.d.cts +27 -0
- package/dist/styles/variants.d.ts +27 -0
- package/dist/tailwind/plugins/blurBgFallback.cjs +30 -0
- package/dist/tailwind/plugins/blurBgFallback.d.cts +14 -0
- package/dist/tailwind/plugins/blurBgFallback.d.ts +14 -0
- package/dist/tailwind/plugins/blurBgFallback.js +27 -0
- package/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/plugins/components.js +2 -1
- package/dist/tailwind/tailwindPlugin.cjs +2 -1
- package/dist/tailwind/tailwindPlugin.js +2 -1
- package/dist/tokens/automation/configs/index.cjs +2 -1
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +1 -0
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.cjs +1 -0
- package/dist/tokens/consts/cssTokens.d.cts +2 -2
- package/dist/tokens/consts/cssTokens.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.js +2 -2
- package/dist/tokens/index.cjs +2 -0
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +25 -2
- package/dist/types/dist/index.d.ts +25 -2
- package/dist/uds/generated/tailwindPurge.cjs +31 -2
- package/dist/uds/generated/tailwindPurge.js +31 -2
- package/package.json +1 -2
|
@@ -11,6 +11,144 @@ interface UniversalTokensConfig extends Omit<UniversalTokensConfigGeneric<Univer
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/yosConfig.d.ts
|
|
13
13
|
declare const yosConfig: {
|
|
14
|
+
readonly tooltip: {
|
|
15
|
+
readonly variables: {
|
|
16
|
+
readonly 'size/default/root': {
|
|
17
|
+
readonly shadow: {
|
|
18
|
+
readonly rest: {
|
|
19
|
+
readonly type: "elevationAliases";
|
|
20
|
+
readonly valueType: "alias";
|
|
21
|
+
readonly value: "elevation-0";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly spacingHorizontal: {
|
|
25
|
+
readonly rest: {
|
|
26
|
+
readonly type: "spacingAliases";
|
|
27
|
+
readonly valueType: "alias";
|
|
28
|
+
readonly value: "3";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
readonly spacingVertical: {
|
|
32
|
+
readonly rest: {
|
|
33
|
+
readonly type: "spacingAliases";
|
|
34
|
+
readonly valueType: "alias";
|
|
35
|
+
readonly value: "2";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly gap: {
|
|
39
|
+
readonly rest: {
|
|
40
|
+
readonly type: "spacingAliases";
|
|
41
|
+
readonly valueType: "alias";
|
|
42
|
+
readonly value: "1";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly 'size/default/svg': {
|
|
47
|
+
readonly borderRadius: {
|
|
48
|
+
readonly rest: {
|
|
49
|
+
readonly type: "borderRadii";
|
|
50
|
+
readonly valueType: "alias";
|
|
51
|
+
readonly value: "md";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly strokeWidth: {
|
|
55
|
+
readonly rest: {
|
|
56
|
+
readonly type: "borderWidths";
|
|
57
|
+
readonly valueType: "alias";
|
|
58
|
+
readonly value: "thin";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly 'size/default/title': {
|
|
63
|
+
readonly textVariant: {
|
|
64
|
+
readonly rest: {
|
|
65
|
+
readonly type: "textVariants";
|
|
66
|
+
readonly valueType: "alias";
|
|
67
|
+
readonly value: "ui1/emphasized";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly 'size/default/body': {
|
|
72
|
+
readonly textVariant: {
|
|
73
|
+
readonly rest: {
|
|
74
|
+
readonly type: "textVariants";
|
|
75
|
+
readonly valueType: "alias";
|
|
76
|
+
readonly value: "ui3/emphasized";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
readonly 'size/default/icon': {
|
|
81
|
+
readonly size: {
|
|
82
|
+
readonly rest: {
|
|
83
|
+
readonly type: "iconSizes";
|
|
84
|
+
readonly valueType: "alias";
|
|
85
|
+
readonly value: "xs";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly 'variant/default/root': {
|
|
90
|
+
readonly color: {
|
|
91
|
+
readonly rest: {
|
|
92
|
+
readonly type: "foregroundPaletteColors";
|
|
93
|
+
readonly valueType: "alias";
|
|
94
|
+
readonly value: "primary";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly 'variant/default/svg': {
|
|
99
|
+
readonly backgroundColor: {
|
|
100
|
+
readonly rest: {
|
|
101
|
+
readonly type: "elevationAliases";
|
|
102
|
+
readonly valueType: "alias";
|
|
103
|
+
readonly value: "elevation-0";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly blurBackgroundColorFallback: {
|
|
107
|
+
readonly rest: {
|
|
108
|
+
readonly type: "elevationAliases";
|
|
109
|
+
readonly valueType: "alias";
|
|
110
|
+
readonly value: "elevation-0";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly fillOpacity: {
|
|
114
|
+
readonly rest: {
|
|
115
|
+
readonly type: "opacitySteps";
|
|
116
|
+
readonly valueType: "alias";
|
|
117
|
+
readonly value: "100";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
readonly stroke: {
|
|
121
|
+
readonly rest: {
|
|
122
|
+
readonly type: "elevationAliases";
|
|
123
|
+
readonly valueType: "alias";
|
|
124
|
+
readonly value: "elevation-0";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly 'variant/default/blur': {
|
|
129
|
+
readonly backdropBlur: {
|
|
130
|
+
readonly rest: {
|
|
131
|
+
readonly type: "positiveIntegers";
|
|
132
|
+
readonly valueType: "custom";
|
|
133
|
+
readonly value: 0;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly 'variant/default/icon': {
|
|
138
|
+
readonly color: {
|
|
139
|
+
readonly rest: {
|
|
140
|
+
readonly type: "foregroundPaletteColors";
|
|
141
|
+
readonly valueType: "alias";
|
|
142
|
+
readonly value: "primary";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly defaults: {
|
|
148
|
+
readonly size: "default";
|
|
149
|
+
readonly variant: "default";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
14
152
|
readonly toast: {
|
|
15
153
|
readonly variables: {
|
|
16
154
|
readonly 'variant/success/root': {
|
|
@@ -21015,7 +21153,7 @@ declare const yosConfig: {
|
|
|
21015
21153
|
};
|
|
21016
21154
|
};
|
|
21017
21155
|
};
|
|
21018
|
-
readonly version: "v0.
|
|
21156
|
+
readonly version: "v0.79.0";
|
|
21019
21157
|
readonly colorMode: {
|
|
21020
21158
|
readonly light: {
|
|
21021
21159
|
readonly palette: {
|
|
@@ -11,6 +11,144 @@ interface UniversalTokensConfig extends Omit<UniversalTokensConfigGeneric<Univer
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/yosConfig.d.ts
|
|
13
13
|
declare const yosConfig: {
|
|
14
|
+
readonly tooltip: {
|
|
15
|
+
readonly variables: {
|
|
16
|
+
readonly 'size/default/root': {
|
|
17
|
+
readonly shadow: {
|
|
18
|
+
readonly rest: {
|
|
19
|
+
readonly type: "elevationAliases";
|
|
20
|
+
readonly valueType: "alias";
|
|
21
|
+
readonly value: "elevation-0";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly spacingHorizontal: {
|
|
25
|
+
readonly rest: {
|
|
26
|
+
readonly type: "spacingAliases";
|
|
27
|
+
readonly valueType: "alias";
|
|
28
|
+
readonly value: "3";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
readonly spacingVertical: {
|
|
32
|
+
readonly rest: {
|
|
33
|
+
readonly type: "spacingAliases";
|
|
34
|
+
readonly valueType: "alias";
|
|
35
|
+
readonly value: "2";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly gap: {
|
|
39
|
+
readonly rest: {
|
|
40
|
+
readonly type: "spacingAliases";
|
|
41
|
+
readonly valueType: "alias";
|
|
42
|
+
readonly value: "1";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly 'size/default/svg': {
|
|
47
|
+
readonly borderRadius: {
|
|
48
|
+
readonly rest: {
|
|
49
|
+
readonly type: "borderRadii";
|
|
50
|
+
readonly valueType: "alias";
|
|
51
|
+
readonly value: "md";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly strokeWidth: {
|
|
55
|
+
readonly rest: {
|
|
56
|
+
readonly type: "borderWidths";
|
|
57
|
+
readonly valueType: "alias";
|
|
58
|
+
readonly value: "thin";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly 'size/default/title': {
|
|
63
|
+
readonly textVariant: {
|
|
64
|
+
readonly rest: {
|
|
65
|
+
readonly type: "textVariants";
|
|
66
|
+
readonly valueType: "alias";
|
|
67
|
+
readonly value: "ui1/emphasized";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly 'size/default/body': {
|
|
72
|
+
readonly textVariant: {
|
|
73
|
+
readonly rest: {
|
|
74
|
+
readonly type: "textVariants";
|
|
75
|
+
readonly valueType: "alias";
|
|
76
|
+
readonly value: "ui3/emphasized";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
readonly 'size/default/icon': {
|
|
81
|
+
readonly size: {
|
|
82
|
+
readonly rest: {
|
|
83
|
+
readonly type: "iconSizes";
|
|
84
|
+
readonly valueType: "alias";
|
|
85
|
+
readonly value: "xs";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly 'variant/default/root': {
|
|
90
|
+
readonly color: {
|
|
91
|
+
readonly rest: {
|
|
92
|
+
readonly type: "foregroundPaletteColors";
|
|
93
|
+
readonly valueType: "alias";
|
|
94
|
+
readonly value: "primary";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly 'variant/default/svg': {
|
|
99
|
+
readonly backgroundColor: {
|
|
100
|
+
readonly rest: {
|
|
101
|
+
readonly type: "elevationAliases";
|
|
102
|
+
readonly valueType: "alias";
|
|
103
|
+
readonly value: "elevation-0";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly blurBackgroundColorFallback: {
|
|
107
|
+
readonly rest: {
|
|
108
|
+
readonly type: "elevationAliases";
|
|
109
|
+
readonly valueType: "alias";
|
|
110
|
+
readonly value: "elevation-0";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly fillOpacity: {
|
|
114
|
+
readonly rest: {
|
|
115
|
+
readonly type: "opacitySteps";
|
|
116
|
+
readonly valueType: "alias";
|
|
117
|
+
readonly value: "100";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
readonly stroke: {
|
|
121
|
+
readonly rest: {
|
|
122
|
+
readonly type: "elevationAliases";
|
|
123
|
+
readonly valueType: "alias";
|
|
124
|
+
readonly value: "elevation-0";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly 'variant/default/blur': {
|
|
129
|
+
readonly backdropBlur: {
|
|
130
|
+
readonly rest: {
|
|
131
|
+
readonly type: "positiveIntegers";
|
|
132
|
+
readonly valueType: "custom";
|
|
133
|
+
readonly value: 0;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly 'variant/default/icon': {
|
|
138
|
+
readonly color: {
|
|
139
|
+
readonly rest: {
|
|
140
|
+
readonly type: "foregroundPaletteColors";
|
|
141
|
+
readonly valueType: "alias";
|
|
142
|
+
readonly value: "primary";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly defaults: {
|
|
148
|
+
readonly size: "default";
|
|
149
|
+
readonly variant: "default";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
14
152
|
readonly toast: {
|
|
15
153
|
readonly variables: {
|
|
16
154
|
readonly 'variant/success/root': {
|
|
@@ -21015,7 +21153,7 @@ declare const yosConfig: {
|
|
|
21015
21153
|
};
|
|
21016
21154
|
};
|
|
21017
21155
|
};
|
|
21018
|
-
readonly version: "v0.
|
|
21156
|
+
readonly version: "v0.79.0";
|
|
21019
21157
|
readonly colorMode: {
|
|
21020
21158
|
readonly light: {
|
|
21021
21159
|
readonly palette: {
|
|
@@ -2,6 +2,100 @@
|
|
|
2
2
|
//#region ../config/dist/index.js
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
4
4
|
const yosConfig = {
|
|
5
|
+
tooltip: {
|
|
6
|
+
variables: {
|
|
7
|
+
"size/default/root": {
|
|
8
|
+
shadow: { rest: {
|
|
9
|
+
type: "elevationAliases",
|
|
10
|
+
valueType: "alias",
|
|
11
|
+
value: "elevation-0"
|
|
12
|
+
} },
|
|
13
|
+
spacingHorizontal: { rest: {
|
|
14
|
+
type: "spacingAliases",
|
|
15
|
+
valueType: "alias",
|
|
16
|
+
value: "3"
|
|
17
|
+
} },
|
|
18
|
+
spacingVertical: { rest: {
|
|
19
|
+
type: "spacingAliases",
|
|
20
|
+
valueType: "alias",
|
|
21
|
+
value: "2"
|
|
22
|
+
} },
|
|
23
|
+
gap: { rest: {
|
|
24
|
+
type: "spacingAliases",
|
|
25
|
+
valueType: "alias",
|
|
26
|
+
value: "1"
|
|
27
|
+
} }
|
|
28
|
+
},
|
|
29
|
+
"size/default/svg": {
|
|
30
|
+
borderRadius: { rest: {
|
|
31
|
+
type: "borderRadii",
|
|
32
|
+
valueType: "alias",
|
|
33
|
+
value: "md"
|
|
34
|
+
} },
|
|
35
|
+
strokeWidth: { rest: {
|
|
36
|
+
type: "borderWidths",
|
|
37
|
+
valueType: "alias",
|
|
38
|
+
value: "thin"
|
|
39
|
+
} }
|
|
40
|
+
},
|
|
41
|
+
"size/default/title": { textVariant: { rest: {
|
|
42
|
+
type: "textVariants",
|
|
43
|
+
valueType: "alias",
|
|
44
|
+
value: "ui1/emphasized"
|
|
45
|
+
} } },
|
|
46
|
+
"size/default/body": { textVariant: { rest: {
|
|
47
|
+
type: "textVariants",
|
|
48
|
+
valueType: "alias",
|
|
49
|
+
value: "ui3/emphasized"
|
|
50
|
+
} } },
|
|
51
|
+
"size/default/icon": { size: { rest: {
|
|
52
|
+
type: "iconSizes",
|
|
53
|
+
valueType: "alias",
|
|
54
|
+
value: "xs"
|
|
55
|
+
} } },
|
|
56
|
+
"variant/default/root": { color: { rest: {
|
|
57
|
+
type: "foregroundPaletteColors",
|
|
58
|
+
valueType: "alias",
|
|
59
|
+
value: "primary"
|
|
60
|
+
} } },
|
|
61
|
+
"variant/default/svg": {
|
|
62
|
+
backgroundColor: { rest: {
|
|
63
|
+
type: "elevationAliases",
|
|
64
|
+
valueType: "alias",
|
|
65
|
+
value: "elevation-0"
|
|
66
|
+
} },
|
|
67
|
+
blurBackgroundColorFallback: { rest: {
|
|
68
|
+
type: "elevationAliases",
|
|
69
|
+
valueType: "alias",
|
|
70
|
+
value: "elevation-0"
|
|
71
|
+
} },
|
|
72
|
+
fillOpacity: { rest: {
|
|
73
|
+
type: "opacitySteps",
|
|
74
|
+
valueType: "alias",
|
|
75
|
+
value: "100"
|
|
76
|
+
} },
|
|
77
|
+
stroke: { rest: {
|
|
78
|
+
type: "elevationAliases",
|
|
79
|
+
valueType: "alias",
|
|
80
|
+
value: "elevation-0"
|
|
81
|
+
} }
|
|
82
|
+
},
|
|
83
|
+
"variant/default/blur": { backdropBlur: { rest: {
|
|
84
|
+
type: "positiveIntegers",
|
|
85
|
+
valueType: "custom",
|
|
86
|
+
value: 0
|
|
87
|
+
} } },
|
|
88
|
+
"variant/default/icon": { color: { rest: {
|
|
89
|
+
type: "foregroundPaletteColors",
|
|
90
|
+
valueType: "alias",
|
|
91
|
+
value: "primary"
|
|
92
|
+
} } }
|
|
93
|
+
},
|
|
94
|
+
defaults: {
|
|
95
|
+
size: "default",
|
|
96
|
+
variant: "default"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
5
99
|
toast: {
|
|
6
100
|
variables: {
|
|
7
101
|
"variant/success/root": {
|
|
@@ -19842,7 +19936,7 @@ const yosConfig = {
|
|
|
19842
19936
|
} }
|
|
19843
19937
|
}
|
|
19844
19938
|
},
|
|
19845
|
-
version: "v0.
|
|
19939
|
+
version: "v0.79.0",
|
|
19846
19940
|
colorMode: {
|
|
19847
19941
|
light: {
|
|
19848
19942
|
palette: {
|
|
@@ -11,6 +11,7 @@ const BORDER_RADIUS_PREFIX = `${UDS_PREFIX}-border-radius`;
|
|
|
11
11
|
const BORDER_WIDTH_PREFIX = `${UDS_PREFIX}-border-width`;
|
|
12
12
|
const DROP_SHADOW_PREFIX = `${UDS_PREFIX}-drop-shadow`;
|
|
13
13
|
const BACKGROUND_BLUR_RADIUS_PREFIX = `${UDS_PREFIX}-background-blur-radius`;
|
|
14
|
+
const BACKGROUND_BLUR_COLOR_PREFIX = `${UDS_PREFIX}-background-blur-color`;
|
|
14
15
|
const BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX = `${UDS_PREFIX}-background-blur-fallback-color`;
|
|
15
16
|
const FONT_FAMILY_PREFIX = `${UDS_PREFIX}-font`;
|
|
16
17
|
const FONT_SIZE_PREFIX = `${UDS_PREFIX}-font-size`;
|
|
@@ -116,6 +117,7 @@ function getShadowLayerValue({ preset, prefix, shadowType }) {
|
|
|
116
117
|
|
|
117
118
|
//#endregion
|
|
118
119
|
exports.AVATAR_SIZE_PREFIX = AVATAR_SIZE_PREFIX;
|
|
120
|
+
exports.BACKGROUND_BLUR_COLOR_PREFIX = BACKGROUND_BLUR_COLOR_PREFIX;
|
|
119
121
|
exports.BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX = BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX;
|
|
120
122
|
exports.BACKGROUND_BLUR_RADIUS_PREFIX = BACKGROUND_BLUR_RADIUS_PREFIX;
|
|
121
123
|
exports.BACKGROUND_COLOR_PREFIX = BACKGROUND_COLOR_PREFIX;
|
|
@@ -10,6 +10,7 @@ declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
|
|
|
10
10
|
declare const BORDER_WIDTH_PREFIX = "uds-border-width";
|
|
11
11
|
declare const DROP_SHADOW_PREFIX = "uds-drop-shadow";
|
|
12
12
|
declare const BACKGROUND_BLUR_RADIUS_PREFIX = "uds-background-blur-radius";
|
|
13
|
+
declare const BACKGROUND_BLUR_COLOR_PREFIX = "uds-background-blur-color";
|
|
13
14
|
declare const BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX = "uds-background-blur-fallback-color";
|
|
14
15
|
declare const FONT_FAMILY_PREFIX = "uds-font";
|
|
15
16
|
declare const FONT_SIZE_PREFIX = "uds-font-size";
|
|
@@ -79,4 +80,4 @@ declare function getShadowLayerValue({
|
|
|
79
80
|
shadowType: ShadowType;
|
|
80
81
|
}): string; //#endregion
|
|
81
82
|
//#endregion
|
|
82
|
-
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
83
|
+
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
@@ -10,6 +10,7 @@ declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
|
|
|
10
10
|
declare const BORDER_WIDTH_PREFIX = "uds-border-width";
|
|
11
11
|
declare const DROP_SHADOW_PREFIX = "uds-drop-shadow";
|
|
12
12
|
declare const BACKGROUND_BLUR_RADIUS_PREFIX = "uds-background-blur-radius";
|
|
13
|
+
declare const BACKGROUND_BLUR_COLOR_PREFIX = "uds-background-blur-color";
|
|
13
14
|
declare const BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX = "uds-background-blur-fallback-color";
|
|
14
15
|
declare const FONT_FAMILY_PREFIX = "uds-font";
|
|
15
16
|
declare const FONT_SIZE_PREFIX = "uds-font-size";
|
|
@@ -79,4 +80,4 @@ declare function getShadowLayerValue({
|
|
|
79
80
|
shadowType: ShadowType;
|
|
80
81
|
}): string; //#endregion
|
|
81
82
|
//#endregion
|
|
82
|
-
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
83
|
+
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
@@ -11,6 +11,7 @@ const BORDER_RADIUS_PREFIX = `${UDS_PREFIX}-border-radius`;
|
|
|
11
11
|
const BORDER_WIDTH_PREFIX = `${UDS_PREFIX}-border-width`;
|
|
12
12
|
const DROP_SHADOW_PREFIX = `${UDS_PREFIX}-drop-shadow`;
|
|
13
13
|
const BACKGROUND_BLUR_RADIUS_PREFIX = `${UDS_PREFIX}-background-blur-radius`;
|
|
14
|
+
const BACKGROUND_BLUR_COLOR_PREFIX = `${UDS_PREFIX}-background-blur-color`;
|
|
14
15
|
const BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX = `${UDS_PREFIX}-background-blur-fallback-color`;
|
|
15
16
|
const FONT_FAMILY_PREFIX = `${UDS_PREFIX}-font`;
|
|
16
17
|
const FONT_SIZE_PREFIX = `${UDS_PREFIX}-font-size`;
|
|
@@ -115,4 +116,4 @@ function getShadowLayerValue({ preset, prefix, shadowType }) {
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
//#endregion
|
|
118
|
-
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
119
|
+
export { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getShadowLayerValue, textVariantsSafe };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../fixtures/dist/arbitrary.d.mts
|
|
3
|
+
/** Integer >= 0 (e.g., blur radius) */
|
|
4
|
+
declare const positiveIntegers: {
|
|
5
|
+
type: "arbitraryFixture";
|
|
6
|
+
valueType: "integer";
|
|
7
|
+
min: number;
|
|
8
|
+
step: number;
|
|
9
|
+
}; //#endregion
|
|
10
|
+
//#endregion
|
|
11
|
+
export { positiveIntegers };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../fixtures/dist/arbitrary.d.mts
|
|
3
|
+
/** Integer >= 0 (e.g., blur radius) */
|
|
4
|
+
declare const positiveIntegers: {
|
|
5
|
+
type: "arbitraryFixture";
|
|
6
|
+
valueType: "integer";
|
|
7
|
+
min: number;
|
|
8
|
+
step: number;
|
|
9
|
+
}; //#endregion
|
|
10
|
+
//#endregion
|
|
11
|
+
export { positiveIntegers };
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
|
|
3
3
|
//#region ../fixtures/dist/index.js
|
|
4
|
+
function createArbitraryFixture(fixture) {
|
|
5
|
+
return fixture;
|
|
6
|
+
}
|
|
7
|
+
var positiveIntegers = createArbitraryFixture({
|
|
8
|
+
type: "arbitraryFixture",
|
|
9
|
+
valueType: "integer",
|
|
10
|
+
min: 0,
|
|
11
|
+
step: 1
|
|
12
|
+
});
|
|
4
13
|
var breakpoints = [
|
|
5
14
|
"sm",
|
|
6
15
|
"md",
|
|
@@ -1791,6 +1800,20 @@ var toastVariants = [
|
|
|
1791
1800
|
"error",
|
|
1792
1801
|
"loading"
|
|
1793
1802
|
];
|
|
1803
|
+
var tooltipPlacements = [
|
|
1804
|
+
"top",
|
|
1805
|
+
"bottom",
|
|
1806
|
+
"start",
|
|
1807
|
+
"end",
|
|
1808
|
+
"top-start",
|
|
1809
|
+
"top-end",
|
|
1810
|
+
"bottom-start",
|
|
1811
|
+
"bottom-end",
|
|
1812
|
+
"start-top",
|
|
1813
|
+
"start-bottom",
|
|
1814
|
+
"end-top",
|
|
1815
|
+
"end-bottom"
|
|
1816
|
+
];
|
|
1794
1817
|
var configurableComponentNames = [
|
|
1795
1818
|
"avatar",
|
|
1796
1819
|
"badge",
|
|
@@ -1804,7 +1827,8 @@ var configurableComponentNames = [
|
|
|
1804
1827
|
"menu",
|
|
1805
1828
|
"radio",
|
|
1806
1829
|
"switch",
|
|
1807
|
-
"toast"
|
|
1830
|
+
"toast",
|
|
1831
|
+
"tooltip"
|
|
1808
1832
|
];
|
|
1809
1833
|
var fontIds = [
|
|
1810
1834
|
"centra-no2",
|
|
@@ -1930,6 +1954,7 @@ exports.motionVariants = motionVariants;
|
|
|
1930
1954
|
exports.opacityMap = opacityMap;
|
|
1931
1955
|
exports.opacitySteps = opacitySteps;
|
|
1932
1956
|
exports.palette = palette;
|
|
1957
|
+
exports.positiveIntegers = positiveIntegers;
|
|
1933
1958
|
exports.regionModes = regionModes;
|
|
1934
1959
|
exports.scaleEffects = scaleEffects;
|
|
1935
1960
|
exports.scaleModes = scaleModes;
|
|
@@ -1959,5 +1984,6 @@ exports.textVariantsUi = textVariantsUi;
|
|
|
1959
1984
|
exports.textVariantsWithoutEmphasized = textVariantsWithoutEmphasized;
|
|
1960
1985
|
exports.toastSizes = toastSizes;
|
|
1961
1986
|
exports.toastVariants = toastVariants;
|
|
1987
|
+
exports.tooltipPlacements = tooltipPlacements;
|
|
1962
1988
|
exports.tshirtSizes = tshirtSizes;
|
|
1963
1989
|
exports.typographyStyleProperties = typographyStyleProperties;
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TypographyStyle } from "../../types/dist/index.cjs";
|
|
2
|
+
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TooltipPlacement, TypographyStyle } from "../../types/dist/index.cjs";
|
|
3
|
+
import { positiveIntegers } from "./arbitrary.cjs";
|
|
3
4
|
|
|
4
5
|
//#region ../fixtures/dist/index.d.ts
|
|
5
6
|
declare namespace index_d_exports {
|
|
6
|
-
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tshirtSizes, typographyStyleProperties };
|
|
7
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
7
8
|
}
|
|
9
|
+
type ArbitraryFixturesMap = {
|
|
10
|
+
positiveIntegers: typeof positiveIntegers;
|
|
11
|
+
};
|
|
12
|
+
type ArbitraryFixtures = keyof ArbitraryFixturesMap;
|
|
13
|
+
/** Maps ArbitraryFixture valueType discriminants to their corresponding TypeScript types */
|
|
14
|
+
type ValueTypeMap = {
|
|
15
|
+
integer: number;
|
|
16
|
+
number: number;
|
|
17
|
+
string: string;
|
|
18
|
+
};
|
|
19
|
+
/** Infers the TypeScript type for a given ArbitraryFixtures key based on its valueType */
|
|
20
|
+
type InferArbitraryType<K extends ArbitraryFixtures> = ValueTypeMap[ArbitraryFixturesMap[K]['valueType']];
|
|
8
21
|
declare const breakpoints: (keyof BreakpointsConfig)[];
|
|
9
22
|
declare const colorModes: ColorMode[];
|
|
10
23
|
declare const scaleModes: ScaleMode[];
|
|
@@ -89,6 +102,7 @@ declare const linkVariants: LinkVariant[];
|
|
|
89
102
|
declare const linkTextVariants: TextVariantWithoutEmphasized[];
|
|
90
103
|
declare const toastSizes: "default"[];
|
|
91
104
|
declare const toastVariants: ToastVariant[];
|
|
105
|
+
declare const tooltipPlacements: TooltipPlacement[];
|
|
92
106
|
declare const configurableComponentNames: ConfigurableComponentName[];
|
|
93
107
|
/**
|
|
94
108
|
* Web-only font ids, derived from the web font declarations map.
|
|
@@ -99,4 +113,4 @@ declare const fontIds: ("centra-no2" | "gelica" | "yas" | "inter" | "roboto-mono
|
|
|
99
113
|
*/
|
|
100
114
|
declare const fontUrls: ("https://s.yimg.com/bw/fonts/centra-no2-hairline.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-hairline-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-light.woff2" | "https://s.yimg.com/bw/fonts/gelica-light-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-black.woff2" | "https://s.yimg.com/bw/fonts/gelica-black-italic.woff2" | "https://s.yimg.com/bw/fonts/yas-latin1-normal-no-italic-vf.woff2" | "https://s.yimg.com/bw/fonts/inter-vf.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/YahooPd_Eval202412-v1.1.0.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2")[];
|
|
101
115
|
//#endregion
|
|
102
|
-
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tshirtSizes, typographyStyleProperties };
|
|
116
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|