@yahoo/uds-v5-wip 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/dist/createConfig.d.ts +44 -0
- package/dist/config/dist/createConfig.js +20 -2
- package/dist/config/dist/defineStyleProp.d.ts +56 -0
- package/dist/config/dist/index.d.ts +3 -0
- package/dist/config/dist/index.js +2 -2
- package/dist/config/dist/propertyAcceptedTypes.js +65 -6
- package/dist/config/dist/resolveStyleProp.d.ts +62 -1
- package/dist/config/dist/resolveStyleProp.js +188 -2
- package/dist/config/dist/types/css-values.d.ts +61 -0
- package/dist/core/dist/compositeStyles.d.ts +1 -2
- package/dist/core/dist/createComponent.d.ts +1 -2
- package/dist/core/dist/createComponentExample.d.ts +1 -2
- package/dist/core/dist/createProvider.d.ts +1 -2
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
- package/dist/core/dist/getComponentStyles.d.ts +1 -2
- package/dist/core/dist/getStyles.d.ts +1 -2
- package/dist/core/dist/propMappings.d.ts +1 -2
- package/dist/core/dist/resolveMotionState.d.ts +1 -2
- package/dist/core/dist/transformPreset.d.ts +1 -2
- package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
- package/dist/foundational-presets/dist/motion.d.ts +1 -2
- package/dist/foundational-presets/dist/slate.d.ts +197 -198
- package/dist/foundational-presets/dist/sunset.d.ts +197 -198
- package/dist/foundational-presets/dist/terminal.d.ts +197 -198
- package/dist/foundational-presets/dist/warmOrganic.d.ts +197 -198
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/dist/array-utils/closestItem.d.ts +1 -2
- package/dist/utils/dist/array-utils/removeItem.d.ts +1 -2
- package/dist/utils/dist/component-style-defaults.d.ts +1 -2
- package/dist/utils/dist/math-utils/clamp.d.ts +1 -2
- package/dist/utils/dist/motion-utils/interpolate.d.ts +1 -2
- package/dist/utils/dist/object-utils/entries.d.ts +1 -2
- package/dist/utils/dist/object-utils/flattenObj.d.ts +1 -2
- package/dist/utils/dist/object-utils/fromEntries.d.ts +1 -2
- package/dist/utils/dist/object-utils/keys.d.ts +1 -2
- package/dist/utils/dist/object-utils/mapKeys.d.ts +1 -2
- package/dist/utils/dist/object-utils/mapValues.d.ts +1 -2
- package/dist/utils/dist/string-utils/arrayToUnion.d.ts +1 -2
- package/dist/utils/dist/string-utils/capitalize.d.ts +1 -2
- package/dist/utils/dist/string-utils/componentClassName.d.ts +1 -2
- package/dist/utils/dist/string-utils/createTemplate.d.ts +1 -2
- package/dist/utils/dist/string-utils/cssVar.d.ts +1 -2
- package/dist/utils/dist/string-utils/cssVars.d.ts +1 -2
- package/dist/utils/dist/string-utils/dedent.d.ts +1 -2
- package/dist/utils/dist/string-utils/indent.d.ts +1 -2
- package/dist/utils/dist/string-utils/join.d.ts +1 -2
- package/dist/utils/dist/string-utils/kebabCase.d.ts +1 -2
- package/dist/utils/dist/string-utils/split.d.ts +1 -2
- package/dist/utils/dist/string-utils/tsProperties.d.ts +1 -2
- package/dist/utils.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/createProvider.d.ts
|
|
2
|
-
//#region src/createProvider.d.ts
|
|
3
2
|
type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
4
3
|
children: React.ReactNode;
|
|
5
4
|
} & TProps) => {
|
|
@@ -8,6 +7,6 @@ type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
|
8
7
|
};
|
|
9
8
|
declare function createProvider<TContext, TProps = Record<never, never>>(name: string, renderFn: ProviderRenderFn<TContext, TProps>): [React.FC<{
|
|
10
9
|
children: React.ReactNode;
|
|
11
|
-
} & TProps>, () => TContext];
|
|
10
|
+
} & TProps>, () => TContext];
|
|
12
11
|
//#endregion
|
|
13
12
|
export { createProvider };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/generated/stylePropsTwMap.d.ts
|
|
2
|
-
//#region src/generated/stylePropsTwMap.d.ts
|
|
3
2
|
declare const stylePropsTwMap: {
|
|
4
3
|
readonly "border-boolean": {
|
|
5
4
|
readonly border: "boolean";
|
|
@@ -1696,6 +1695,6 @@ declare const stylePropsTwMap: {
|
|
|
1696
1695
|
readonly "hyphens-manual": {
|
|
1697
1696
|
readonly hyphens: "manual";
|
|
1698
1697
|
};
|
|
1699
|
-
};
|
|
1698
|
+
};
|
|
1700
1699
|
//#endregion
|
|
1701
1700
|
export { stylePropsTwMap };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentRegistry, ComponentSlotsOf, ComponentVariantsOf } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/getComponentStyles.d.ts
|
|
4
|
-
//#region src/getComponentStyles.d.ts
|
|
5
4
|
type ResolveSlots<Name extends string> = Name extends keyof ComponentRegistry ? ComponentSlotsOf<Name> : string;
|
|
6
5
|
type ResolveVariants<Name extends string> = Name extends keyof ComponentRegistry ? ComponentVariantsOf<Name> : Record<string, string>;
|
|
7
6
|
interface UdsRuntimeMeta {
|
|
@@ -45,6 +44,6 @@ interface ComponentStyler<Name extends string> {
|
|
|
45
44
|
* @param slots - Array of slot names
|
|
46
45
|
* @param element - Optional HTML element tag for element-specific prop forwarding
|
|
47
46
|
*/
|
|
48
|
-
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
|
|
47
|
+
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
|
|
49
48
|
//#endregion
|
|
50
49
|
export { createComponentStyler };
|
|
@@ -2,7 +2,6 @@ import { ClassValue } from "clsx";
|
|
|
2
2
|
import { ModifierProp, ModifierProps, StyleAndModifierProps, StyleProps } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../core/dist/getStyles.d.ts
|
|
5
|
-
//#region src/getStyles.d.ts
|
|
6
5
|
/** Convert kebab-case CSS property to camelCase for React inline styles.
|
|
7
6
|
* CSS custom properties (--*) are kept as-is since React supports them verbatim. */
|
|
8
7
|
declare function toCamelCase(str: string): string;
|
|
@@ -38,6 +37,6 @@ interface GetStylesParams extends StyleProps, ModifierProps {
|
|
|
38
37
|
* so they can be included in the CSS safelist.
|
|
39
38
|
*/
|
|
40
39
|
declare function getStyles(props: GetStylesParams): string;
|
|
41
|
-
declare function getVariantClassName(componentName: string, variant: string | undefined): string;
|
|
40
|
+
declare function getVariantClassName(componentName: string, variant: string | undefined): string;
|
|
42
41
|
//#endregion
|
|
43
42
|
export { createVariants, cx, getStyles, getVariantClassName, processStyleProps, toCamelCase };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ConfigurableProp, ModifierProp, StyleProp } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/propMappings.d.ts
|
|
4
|
-
//#region src/propMappings.d.ts
|
|
5
4
|
interface PropMapping {
|
|
6
5
|
/** Class name prefix for runtime class generation. 'no-prefix' means value IS the class. */
|
|
7
6
|
classPrefix: string;
|
|
@@ -72,6 +71,6 @@ interface ModifierEntry {
|
|
|
72
71
|
*
|
|
73
72
|
* e.g. `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
|
|
74
73
|
*/
|
|
75
|
-
declare const colorPropToOpacityProp: Record<string, string>;
|
|
74
|
+
declare const colorPropToOpacityProp: Record<string, string>;
|
|
76
75
|
//#endregion
|
|
77
76
|
export { ConfigurablePropertyEntry, CssVariablePrefixEntry, ModifierEntry, PropMapping, colorPropToOpacityProp, getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes, modifierMappings, propMappings };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/resolveMotionState.d.ts
|
|
2
|
-
|
|
3
|
-
declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>; //#endregion
|
|
2
|
+
declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>;
|
|
4
3
|
//#endregion
|
|
5
4
|
export { resolveMotionState };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MotionPreset } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/transformPreset.d.ts
|
|
4
|
-
//#region src/transformPreset.d.ts
|
|
5
4
|
interface TransformedMotionProps {
|
|
6
5
|
initial?: Record<string, unknown>;
|
|
7
6
|
animate?: Record<string, unknown>;
|
|
@@ -13,6 +12,6 @@ interface TransformedMotionProps {
|
|
|
13
12
|
/**
|
|
14
13
|
* Convert a JS-runtime MotionPreset to a motion/react-compatible props object.
|
|
15
14
|
*/
|
|
16
|
-
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
15
|
+
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { TransformedMotionProps, transformPreset };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BorderRadius, GridSpan, GridStartEnd, GridTemplate, StyleAndModifierProps } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/withDefaultStyleProps.d.ts
|
|
4
|
-
//#region src/withDefaultStyleProps.d.ts
|
|
5
4
|
interface StackDefaultsInput extends StyleAndModifierProps {
|
|
6
5
|
gap?: StyleAndModifierProps['gap'];
|
|
7
6
|
}
|
|
@@ -39,6 +38,6 @@ declare const withDefaultStyleProps: {
|
|
|
39
38
|
shape?: BorderRadius;
|
|
40
39
|
}) => StyleAndModifierProps;
|
|
41
40
|
Svg: (props: SvgDefaultsInput) => StyleAndModifierProps;
|
|
42
|
-
};
|
|
41
|
+
};
|
|
43
42
|
//#endregion
|
|
44
43
|
export { withDefaultStyleProps };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../foundational-presets/dist/motion.d.ts
|
|
2
|
-
//#region src/motion.d.ts
|
|
3
2
|
interface InterpolateMarker {
|
|
4
3
|
__type: 'interpolate';
|
|
5
4
|
output: number[];
|
|
@@ -8,6 +7,6 @@ interface InterpolateMarker {
|
|
|
8
7
|
declare function interpolate(config: {
|
|
9
8
|
output: number[];
|
|
10
9
|
extrapolate?: 'clamp' | 'extend' | 'identity';
|
|
11
|
-
}): InterpolateMarker;
|
|
10
|
+
}): InterpolateMarker;
|
|
12
11
|
//#endregion
|
|
13
12
|
export { InterpolateMarker, interpolate };
|
|
@@ -2,7 +2,6 @@ import { GetModifierFromInput, UdsConfig } from "../../config/dist/createConfig.
|
|
|
2
2
|
import * as _$_uds_types0 from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../foundational-presets/dist/slate.d.ts
|
|
5
|
-
//#region src/slate.d.ts
|
|
6
5
|
declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierFromInput<{
|
|
7
6
|
readonly colorMode: {
|
|
8
7
|
readonly options: {
|
|
@@ -31,47 +30,6 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
31
30
|
};
|
|
32
31
|
};
|
|
33
32
|
}>, {
|
|
34
|
-
opacity: {
|
|
35
|
-
0: string;
|
|
36
|
-
5: string;
|
|
37
|
-
10: string;
|
|
38
|
-
20: string;
|
|
39
|
-
40: string;
|
|
40
|
-
60: string;
|
|
41
|
-
80: string;
|
|
42
|
-
25: string;
|
|
43
|
-
30: string;
|
|
44
|
-
50: string;
|
|
45
|
-
70: string;
|
|
46
|
-
75: string;
|
|
47
|
-
90: string;
|
|
48
|
-
95: string;
|
|
49
|
-
100: string;
|
|
50
|
-
};
|
|
51
|
-
scale: {
|
|
52
|
-
0: string;
|
|
53
|
-
50: string;
|
|
54
|
-
75: string;
|
|
55
|
-
90: string;
|
|
56
|
-
95: string;
|
|
57
|
-
100: string;
|
|
58
|
-
105: string;
|
|
59
|
-
110: string;
|
|
60
|
-
125: string;
|
|
61
|
-
150: string;
|
|
62
|
-
200: string;
|
|
63
|
-
};
|
|
64
|
-
rotate: {
|
|
65
|
-
0: string;
|
|
66
|
-
1: string;
|
|
67
|
-
2: string;
|
|
68
|
-
3: string;
|
|
69
|
-
6: string;
|
|
70
|
-
12: string;
|
|
71
|
-
90: string;
|
|
72
|
-
45: string;
|
|
73
|
-
180: string;
|
|
74
|
-
};
|
|
75
33
|
color: {
|
|
76
34
|
inherit: string;
|
|
77
35
|
current: string;
|
|
@@ -97,7 +55,23 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
97
55
|
inverse: string;
|
|
98
56
|
"on-inverse": string;
|
|
99
57
|
};
|
|
100
|
-
|
|
58
|
+
fontFamily: {
|
|
59
|
+
sans: string;
|
|
60
|
+
serif: string;
|
|
61
|
+
mono: string;
|
|
62
|
+
};
|
|
63
|
+
fontWeight: {
|
|
64
|
+
bold: string;
|
|
65
|
+
thin: string;
|
|
66
|
+
medium: string;
|
|
67
|
+
extralight: string;
|
|
68
|
+
light: string;
|
|
69
|
+
normal: string;
|
|
70
|
+
semibold: string;
|
|
71
|
+
extrabold: string;
|
|
72
|
+
black: string;
|
|
73
|
+
};
|
|
74
|
+
bg: {
|
|
101
75
|
brand: string;
|
|
102
76
|
accent: string;
|
|
103
77
|
alert: string;
|
|
@@ -108,51 +82,17 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
108
82
|
tertiary: string;
|
|
109
83
|
inverse: string;
|
|
110
84
|
surface: string;
|
|
85
|
+
"elevation-1": string;
|
|
86
|
+
"elevation-2": string;
|
|
87
|
+
"elevation-3": string;
|
|
111
88
|
"brand-wash": string;
|
|
112
89
|
"accent-wash": string;
|
|
113
90
|
"alert-wash": string;
|
|
114
91
|
"positive-wash": string;
|
|
115
92
|
"warning-wash": string;
|
|
116
|
-
};
|
|
117
|
-
position: {
|
|
118
|
-
auto: string;
|
|
119
|
-
full: string;
|
|
120
|
-
"1/2": string;
|
|
121
|
-
"1/3": string;
|
|
122
|
-
"2/3": string;
|
|
123
|
-
"1/4": string;
|
|
124
|
-
"2/4": string;
|
|
125
|
-
"3/4": string;
|
|
126
|
-
};
|
|
127
|
-
size: {
|
|
128
|
-
auto: string;
|
|
129
|
-
full: string;
|
|
130
|
-
max: string;
|
|
131
|
-
min: string;
|
|
132
|
-
"1/2": string;
|
|
133
|
-
"1/3": string;
|
|
134
|
-
"2/3": string;
|
|
135
|
-
"1/4": string;
|
|
136
|
-
"2/4": string;
|
|
137
|
-
"3/4": string;
|
|
138
|
-
fit: string;
|
|
139
|
-
"1/5": string;
|
|
140
|
-
"2/5": string;
|
|
141
|
-
"3/5": string;
|
|
142
|
-
"4/5": string;
|
|
143
|
-
"1/6": string;
|
|
144
|
-
"2/6": string;
|
|
145
|
-
"3/6": string;
|
|
146
|
-
"4/6": string;
|
|
147
|
-
"5/6": string;
|
|
148
|
-
};
|
|
149
|
-
animation: {
|
|
150
|
-
none: string;
|
|
151
|
-
ping: string;
|
|
152
|
-
spin: string;
|
|
153
|
-
};
|
|
154
|
-
bg: {
|
|
155
93
|
overlay: string;
|
|
94
|
+
};
|
|
95
|
+
borderColor: {
|
|
156
96
|
brand: string;
|
|
157
97
|
accent: string;
|
|
158
98
|
alert: string;
|
|
@@ -163,9 +103,6 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
163
103
|
tertiary: string;
|
|
164
104
|
inverse: string;
|
|
165
105
|
surface: string;
|
|
166
|
-
"elevation-1": string;
|
|
167
|
-
"elevation-2": string;
|
|
168
|
-
"elevation-3": string;
|
|
169
106
|
"brand-wash": string;
|
|
170
107
|
"accent-wash": string;
|
|
171
108
|
"alert-wash": string;
|
|
@@ -178,49 +115,62 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
178
115
|
medium: string;
|
|
179
116
|
thick: string;
|
|
180
117
|
};
|
|
181
|
-
|
|
118
|
+
outlineWidth: {
|
|
182
119
|
0: string;
|
|
183
|
-
|
|
184
|
-
reverse: string;
|
|
120
|
+
1: string;
|
|
185
121
|
2: string;
|
|
122
|
+
4: string;
|
|
186
123
|
8: string;
|
|
187
124
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
initial: string;
|
|
191
|
-
auto: string;
|
|
125
|
+
outlineOffset: {
|
|
126
|
+
0: string;
|
|
192
127
|
1: string;
|
|
128
|
+
2: string;
|
|
129
|
+
4: string;
|
|
130
|
+
8: string;
|
|
193
131
|
};
|
|
194
|
-
|
|
132
|
+
divideWidth: {
|
|
133
|
+
0: string;
|
|
134
|
+
reverse: string;
|
|
135
|
+
2: string;
|
|
136
|
+
4: string;
|
|
137
|
+
8: string;
|
|
138
|
+
};
|
|
139
|
+
ringWidth: {
|
|
195
140
|
0: string;
|
|
196
141
|
1: string;
|
|
142
|
+
inset: string;
|
|
143
|
+
2: string;
|
|
144
|
+
4: string;
|
|
145
|
+
8: string;
|
|
197
146
|
};
|
|
198
|
-
|
|
147
|
+
ringOffsetWidth: {
|
|
199
148
|
0: string;
|
|
149
|
+
1: string;
|
|
150
|
+
2: string;
|
|
151
|
+
4: string;
|
|
152
|
+
8: string;
|
|
200
153
|
};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
ultrawide: string;
|
|
207
|
-
golden: string;
|
|
154
|
+
lineHeight: {
|
|
155
|
+
none: string;
|
|
156
|
+
normal: string;
|
|
157
|
+
tight: string;
|
|
158
|
+
relaxed: string;
|
|
208
159
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
50: string;
|
|
160
|
+
letterSpacing: {
|
|
161
|
+
normal: string;
|
|
162
|
+
tight: string;
|
|
163
|
+
tighter: string;
|
|
164
|
+
wide: string;
|
|
165
|
+
wider: string;
|
|
166
|
+
widest: string;
|
|
217
167
|
};
|
|
218
168
|
spacing: {
|
|
219
169
|
0: string;
|
|
220
|
-
4: string;
|
|
221
170
|
1: string;
|
|
222
171
|
px: string;
|
|
223
172
|
2: string;
|
|
173
|
+
4: string;
|
|
224
174
|
8: string;
|
|
225
175
|
0.5: string;
|
|
226
176
|
1.5: string;
|
|
@@ -252,115 +202,182 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
252
202
|
80: string;
|
|
253
203
|
96: string;
|
|
254
204
|
};
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
205
|
+
position: {
|
|
206
|
+
auto: string;
|
|
207
|
+
full: string;
|
|
208
|
+
"1/2": string;
|
|
209
|
+
"1/3": string;
|
|
210
|
+
"2/3": string;
|
|
211
|
+
"1/4": string;
|
|
212
|
+
"2/4": string;
|
|
213
|
+
"3/4": string;
|
|
260
214
|
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
215
|
+
aspectRatio: {
|
|
216
|
+
square: string;
|
|
217
|
+
landscape: string;
|
|
218
|
+
portrait: string;
|
|
219
|
+
widescreen: string;
|
|
220
|
+
ultrawide: string;
|
|
221
|
+
golden: string;
|
|
222
|
+
};
|
|
223
|
+
flex: {
|
|
264
224
|
1: string;
|
|
265
|
-
|
|
266
|
-
|
|
225
|
+
none: string;
|
|
226
|
+
auto: string;
|
|
227
|
+
initial: string;
|
|
267
228
|
};
|
|
268
|
-
|
|
229
|
+
flexGrow: {
|
|
269
230
|
0: string;
|
|
270
|
-
4: string;
|
|
271
231
|
1: string;
|
|
272
|
-
2: string;
|
|
273
|
-
8: string;
|
|
274
232
|
};
|
|
275
|
-
|
|
233
|
+
flexShrink: {
|
|
276
234
|
0: string;
|
|
277
|
-
4: string;
|
|
278
|
-
inset: string;
|
|
279
|
-
1: string;
|
|
280
|
-
2: string;
|
|
281
|
-
8: string;
|
|
282
235
|
};
|
|
283
|
-
|
|
236
|
+
opacity: {
|
|
284
237
|
0: string;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
238
|
+
5: string;
|
|
239
|
+
10: string;
|
|
240
|
+
20: string;
|
|
241
|
+
40: string;
|
|
242
|
+
60: string;
|
|
243
|
+
80: string;
|
|
244
|
+
25: string;
|
|
245
|
+
30: string;
|
|
246
|
+
50: string;
|
|
247
|
+
70: string;
|
|
248
|
+
75: string;
|
|
249
|
+
90: string;
|
|
250
|
+
95: string;
|
|
251
|
+
100: string;
|
|
289
252
|
};
|
|
290
|
-
|
|
291
|
-
none: string;
|
|
253
|
+
radius: {
|
|
292
254
|
sm: string;
|
|
293
255
|
md: string;
|
|
294
256
|
lg: string;
|
|
295
257
|
xl: string;
|
|
296
|
-
|
|
297
|
-
|
|
258
|
+
none: string;
|
|
259
|
+
full: string;
|
|
298
260
|
xs: string;
|
|
299
|
-
inner: string;
|
|
300
|
-
};
|
|
301
|
-
strokeWidth: {
|
|
302
|
-
0: string;
|
|
303
|
-
1: string;
|
|
304
|
-
2: string;
|
|
305
261
|
};
|
|
306
|
-
|
|
307
|
-
sans: string;
|
|
308
|
-
serif: string;
|
|
309
|
-
mono: string;
|
|
310
|
-
};
|
|
311
|
-
fontWeight: {
|
|
312
|
-
normal: string;
|
|
313
|
-
thin: string;
|
|
314
|
-
bold: string;
|
|
315
|
-
medium: string;
|
|
316
|
-
extralight: string;
|
|
317
|
-
light: string;
|
|
318
|
-
semibold: string;
|
|
319
|
-
extrabold: string;
|
|
320
|
-
black: string;
|
|
321
|
-
};
|
|
322
|
-
letterSpacing: {
|
|
323
|
-
normal: string;
|
|
324
|
-
tight: string;
|
|
325
|
-
tighter: string;
|
|
326
|
-
wide: string;
|
|
327
|
-
wider: string;
|
|
328
|
-
widest: string;
|
|
329
|
-
};
|
|
330
|
-
lineHeight: {
|
|
262
|
+
animation: {
|
|
331
263
|
none: string;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
relaxed: string;
|
|
264
|
+
spin: string;
|
|
265
|
+
ping: string;
|
|
335
266
|
};
|
|
336
|
-
|
|
337
|
-
none: string;
|
|
267
|
+
shadow: {
|
|
338
268
|
sm: string;
|
|
339
269
|
md: string;
|
|
340
270
|
lg: string;
|
|
341
|
-
|
|
271
|
+
xl: string;
|
|
272
|
+
"2xl": string;
|
|
273
|
+
none: string;
|
|
342
274
|
xs: string;
|
|
275
|
+
"2xs": string;
|
|
276
|
+
inner: string;
|
|
343
277
|
};
|
|
344
278
|
blur: {
|
|
345
|
-
none: string;
|
|
346
279
|
sm: string;
|
|
347
280
|
md: string;
|
|
348
281
|
lg: string;
|
|
349
282
|
xl: string;
|
|
350
283
|
"2xl": string;
|
|
284
|
+
none: string;
|
|
351
285
|
"3xl": string;
|
|
352
286
|
};
|
|
353
|
-
|
|
287
|
+
textShadow: {
|
|
288
|
+
sm: string;
|
|
289
|
+
md: string;
|
|
290
|
+
lg: string;
|
|
291
|
+
none: string;
|
|
292
|
+
xs: string;
|
|
293
|
+
"2xs": string;
|
|
294
|
+
};
|
|
295
|
+
zIndex: {
|
|
354
296
|
0: string;
|
|
355
|
-
|
|
297
|
+
auto: string;
|
|
298
|
+
10: string;
|
|
299
|
+
20: string;
|
|
300
|
+
40: string;
|
|
301
|
+
30: string;
|
|
302
|
+
50: string;
|
|
303
|
+
};
|
|
304
|
+
size: {
|
|
305
|
+
auto: string;
|
|
356
306
|
full: string;
|
|
307
|
+
"1/2": string;
|
|
308
|
+
"1/3": string;
|
|
309
|
+
"2/3": string;
|
|
310
|
+
"1/4": string;
|
|
311
|
+
"2/4": string;
|
|
312
|
+
"3/4": string;
|
|
313
|
+
min: string;
|
|
314
|
+
max: string;
|
|
315
|
+
fit: string;
|
|
316
|
+
"1/5": string;
|
|
317
|
+
"2/5": string;
|
|
318
|
+
"3/5": string;
|
|
319
|
+
"4/5": string;
|
|
320
|
+
"1/6": string;
|
|
321
|
+
"2/6": string;
|
|
322
|
+
"3/6": string;
|
|
323
|
+
"4/6": string;
|
|
324
|
+
"5/6": string;
|
|
325
|
+
};
|
|
326
|
+
w: {
|
|
327
|
+
screen: string;
|
|
328
|
+
svw: string;
|
|
329
|
+
lvw: string;
|
|
330
|
+
dvw: string;
|
|
331
|
+
};
|
|
332
|
+
h: {
|
|
333
|
+
screen: string;
|
|
334
|
+
svh: string;
|
|
335
|
+
lvh: string;
|
|
336
|
+
dvh: string;
|
|
337
|
+
};
|
|
338
|
+
rotate: {
|
|
339
|
+
0: string;
|
|
340
|
+
1: string;
|
|
341
|
+
2: string;
|
|
342
|
+
3: string;
|
|
343
|
+
6: string;
|
|
344
|
+
12: string;
|
|
345
|
+
90: string;
|
|
346
|
+
45: string;
|
|
347
|
+
180: string;
|
|
348
|
+
};
|
|
349
|
+
scale: {
|
|
350
|
+
0: string;
|
|
351
|
+
50: string;
|
|
352
|
+
75: string;
|
|
353
|
+
90: string;
|
|
354
|
+
95: string;
|
|
355
|
+
100: string;
|
|
356
|
+
105: string;
|
|
357
|
+
110: string;
|
|
358
|
+
125: string;
|
|
359
|
+
150: string;
|
|
360
|
+
200: string;
|
|
361
|
+
};
|
|
362
|
+
skew: {
|
|
363
|
+
0: string;
|
|
357
364
|
1: string;
|
|
365
|
+
2: string;
|
|
366
|
+
3: string;
|
|
367
|
+
6: string;
|
|
368
|
+
12: string;
|
|
369
|
+
};
|
|
370
|
+
translate: {
|
|
371
|
+
0: string;
|
|
372
|
+
1: string;
|
|
373
|
+
full: string;
|
|
358
374
|
"1/2": string;
|
|
359
375
|
"1/3": string;
|
|
360
376
|
"2/3": string;
|
|
361
377
|
"1/4": string;
|
|
362
378
|
"3/4": string;
|
|
363
379
|
2: string;
|
|
380
|
+
4: string;
|
|
364
381
|
8: string;
|
|
365
382
|
0.5: string;
|
|
366
383
|
1.5: string;
|
|
@@ -392,28 +409,10 @@ declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | GetM
|
|
|
392
409
|
80: string;
|
|
393
410
|
96: string;
|
|
394
411
|
};
|
|
395
|
-
|
|
396
|
-
none: string;
|
|
397
|
-
sm: string;
|
|
398
|
-
md: string;
|
|
399
|
-
lg: string;
|
|
400
|
-
xl: string;
|
|
401
|
-
xs: string;
|
|
402
|
-
full: string;
|
|
403
|
-
};
|
|
404
|
-
h: {
|
|
405
|
-
screen: string;
|
|
406
|
-
svh: string;
|
|
407
|
-
lvh: string;
|
|
408
|
-
dvh: string;
|
|
409
|
-
};
|
|
410
|
-
skew: {
|
|
412
|
+
strokeWidth: {
|
|
411
413
|
0: string;
|
|
412
414
|
1: string;
|
|
413
415
|
2: string;
|
|
414
|
-
3: string;
|
|
415
|
-
6: string;
|
|
416
|
-
12: string;
|
|
417
416
|
};
|
|
418
417
|
}, {}, {}, {}, GetModifierFromInput<{
|
|
419
418
|
readonly colorMode: {
|