@yahoo/uds-v5-wip 1.36.1 → 1.37.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/component-resolution.d.ts +1 -1
- package/dist/config/dist/consts/defaultColors.d.ts +2 -1
- package/dist/config/dist/createConfig.d.ts +13 -1
- package/dist/config/dist/defineComponent.d.ts +1 -0
- package/dist/config/dist/defineStyleProp.d.ts +12 -1
- package/dist/config/dist/index.d.ts +1 -1
- package/dist/config/dist/index.js +1 -0
- package/dist/config/dist/refs.js +1 -0
- package/dist/config/dist/resolveStyleProp.d.ts +7 -0
- package/dist/config/dist/serialize.d.ts +2 -1
- package/dist/config/dist/types/css-values.d.ts +2 -1
- package/dist/config/dist/types.d.ts +2 -1
- package/dist/config.d.ts +184 -184
- package/dist/{_virtual → foundational-presets/dist/_virtual}/_rolldown/runtime.js +1 -1
- package/dist/foundational-presets/dist/boldVibrant.d.ts +370 -369
- package/dist/foundational-presets/dist/brutalist.d.ts +370 -369
- package/dist/foundational-presets/dist/candy.d.ts +370 -369
- package/dist/foundational-presets/dist/cleanMinimalist.d.ts +370 -369
- package/dist/foundational-presets/dist/corporate.d.ts +370 -369
- package/dist/foundational-presets/dist/darkMoody.d.ts +370 -369
- package/dist/foundational-presets/dist/defaultPreset.d.ts +199 -198
- package/dist/foundational-presets/dist/forest.d.ts +370 -369
- package/dist/foundational-presets/dist/highContrast.d.ts +370 -369
- package/dist/foundational-presets/dist/lavender.d.ts +370 -369
- package/dist/foundational-presets/dist/luxury.d.ts +370 -369
- package/dist/foundational-presets/dist/monochrome.d.ts +370 -369
- package/dist/foundational-presets/dist/motion.d.ts +2 -1
- package/dist/foundational-presets/dist/neonCyber.d.ts +370 -369
- package/dist/foundational-presets/dist/newspaper.d.ts +370 -369
- package/dist/foundational-presets/dist/ocean.d.ts +370 -369
- package/dist/foundational-presets/dist/slate.d.ts +370 -369
- package/dist/foundational-presets/dist/style-props.js +1 -1
- package/dist/foundational-presets/dist/sunset.d.ts +370 -369
- package/dist/foundational-presets/dist/terminal.d.ts +370 -369
- package/dist/foundational-presets/dist/warmOrganic.d.ts +370 -369
- package/dist/loader/dist/loader.d.ts +2 -1
- package/dist/loader/dist/next.d.ts +2 -1
- package/dist/presets/dist/boldVibrant.d.ts +2 -1
- package/dist/presets/dist/brutalist.d.ts +2 -1
- package/dist/presets/dist/candy.d.ts +2 -1
- package/dist/presets/dist/cleanMinimalist.d.ts +2 -1
- package/dist/presets/dist/corporate.d.ts +2 -1
- package/dist/presets/dist/darkMoody.d.ts +2 -1
- package/dist/presets/dist/defaultPreset.d.ts +2 -1
- package/dist/presets/dist/forest.d.ts +2 -1
- package/dist/presets/dist/highContrast.d.ts +2 -1
- package/dist/presets/dist/lavender.d.ts +2 -1
- package/dist/presets/dist/luxury.d.ts +2 -1
- package/dist/presets/dist/monochrome.d.ts +2 -1
- package/dist/presets/dist/neonCyber.d.ts +2 -1
- package/dist/presets/dist/newspaper.d.ts +2 -1
- package/dist/presets/dist/ocean.d.ts +2 -1
- package/dist/presets/dist/slate.d.ts +2 -1
- package/dist/presets/dist/sunset.d.ts +2 -1
- package/dist/presets/dist/terminal.d.ts +2 -1
- package/dist/presets/dist/warmOrganic.d.ts +2 -1
- package/dist/remotion/dist/components/image-slide.d.ts +2 -1
- package/dist/remotion/dist/components/lower-third.d.ts +2 -1
- package/dist/remotion/dist/components/quote-card.d.ts +2 -1
- package/dist/remotion/dist/components/split-screen.d.ts +2 -1
- package/dist/remotion/dist/components/stat-card.d.ts +2 -1
- package/dist/remotion/dist/components/text-overlay.d.ts +2 -1
- package/dist/remotion/dist/components/title-card.d.ts +2 -1
- package/dist/remotion/dist/components/typing-text.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export { };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../config/dist/consts/defaultColors.d.ts
|
|
2
|
+
//#region src/consts/defaultColors.d.ts
|
|
2
3
|
declare const defaultColors: {
|
|
3
4
|
inherit: string;
|
|
4
5
|
current: string;
|
|
@@ -247,6 +248,6 @@ declare const defaultColors: {
|
|
|
247
248
|
'rose-800': string;
|
|
248
249
|
'rose-900': string;
|
|
249
250
|
'rose-950': string;
|
|
250
|
-
};
|
|
251
|
+
}; //#endregion
|
|
251
252
|
//#endregion
|
|
252
253
|
export { defaultColors };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AnyStyleProp } from "./defineStyleProp.js";
|
|
2
|
-
import { ResolvedStyleProp } from "./resolveStyleProp.js";
|
|
3
2
|
import { TokenType, VarsConfig } from "./types.js";
|
|
3
|
+
import { ResolvedStyleProp } from "./resolveStyleProp.js";
|
|
4
4
|
import { BaseModifierProp, ComponentsConfig, CompositeStylesConfig, ConfigurableProp, ModifierProp, MotionPreset, RemotionComponentDef, RemotionConfig, RemotionTransitionDef } from "@uds/types";
|
|
5
5
|
|
|
6
6
|
//#region ../config/dist/createConfig.d.ts
|
|
7
|
+
//#region src/createConfig.d.ts
|
|
7
8
|
type MotionPresetsDef = Record<string, MotionPreset>;
|
|
8
9
|
type MotionAliasValue<TMotion> = TMotion extends Record<string, infer V> ? Extract<V, string> : never;
|
|
9
10
|
type EmptyMotion = {};
|
|
@@ -76,6 +77,12 @@ type GetModifierFromInput<I extends ModesInput> = { [SetKey in keyof I]: { [OptK
|
|
|
76
77
|
} ? M extends ModifierNameShape ? M : never : OptKey extends string ? `_${OptKey}` : never }[keyof I[SetKey]['options']] }[keyof I];
|
|
77
78
|
/** Reject any input whose derived/explicit modifiers collide with reserved names. */
|
|
78
79
|
type CheckForReservedModifiersInput<I extends ModesInput> = true extends HasReservedModifier<GetModifierFromInput<I>> ? 'ERROR: Cannot use reserved modifier names from ModifierProp. Please use a different modifier name.' : I;
|
|
80
|
+
/**
|
|
81
|
+
* Convert the authored object-keyed input into the internal `ModeGroup[]` shape.
|
|
82
|
+
* Derives `_${optionKey}` modifiers when no explicit `modifier` is provided.
|
|
83
|
+
* Never sets `default: true` — the new API has no concept of a default option;
|
|
84
|
+
* downstream consumers treat "no option active" as the implicit default.
|
|
85
|
+
*/
|
|
79
86
|
interface ModifierDef {
|
|
80
87
|
modifier: ModifierNameShape;
|
|
81
88
|
selector: string;
|
|
@@ -155,6 +162,7 @@ type VarsToTokens<TVars extends VarsConfig> = { [K in keyof TVars]: { [T in Excl
|
|
|
155
162
|
type MergeTokens<A, B> = { [K in keyof A | keyof B]: K extends keyof B ? K extends keyof A ? A[K] & B[K] : B[K] : K extends keyof A ? A[K] : never };
|
|
156
163
|
/** Build a structured token reference object from atomic tokens */
|
|
157
164
|
declare function buildTokenReference(atomic: AtomicToken<ModifierNameShape>[], configPrefix: string): Record<string, Record<string, string>>;
|
|
165
|
+
/** Build a structured composite-styles reference object for use in defineModifiers context */
|
|
158
166
|
/** Global styles definition — CSS selector → style props */
|
|
159
167
|
type GlobalStylesDef = Record<string, Record<string, any>>;
|
|
160
168
|
/** CSS properties for the example wrapper element */
|
|
@@ -313,6 +321,10 @@ interface UdsConfig<TModifier extends ModifierNameShape = ModifierProp, TTokens
|
|
|
313
321
|
type AnyUdsConfig = UdsConfig<ModifierNameShape, any, any, any, any, any, any>;
|
|
314
322
|
/** Extract the raw config data from a builder instance */
|
|
315
323
|
declare function resolveConfig(config: AnyUdsConfig): UdsConfigData;
|
|
324
|
+
/**
|
|
325
|
+
* Resolve configuration with all token references replaced by their raw values.
|
|
326
|
+
* Useful for tools that need the actual values (e.g. anatomy generation).
|
|
327
|
+
*/
|
|
316
328
|
declare function createConfigBuilder<TModifier extends ModifierNameShape = ModifierProp, TTokens = EmptyTokens, TMotion = EmptyMotion, TExt extends Record<string, any> = {}, TCompositeStyles = EmptyCompositeStyles, TModeModifiers extends ModifierNameShape = never, TVars extends VarsConfig = EmptyVars>(data: UdsConfigData, extensions?: TExt): UdsConfig<TModifier, TTokens, TMotion, TExt, TCompositeStyles, TModeModifiers, TVars> & TExt;
|
|
317
329
|
interface InterpolateMarker {
|
|
318
330
|
__type: 'interpolate';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CssValueTypeName } from "./types/css-values.js";
|
|
2
2
|
|
|
3
3
|
//#region ../config/dist/defineStyleProp.d.ts
|
|
4
4
|
/** Runtime input type for `toCss` based on the entry's `type`. */
|
|
@@ -22,10 +22,20 @@ type ArbitraryEntry = { [T in CssValueTypeName]: {
|
|
|
22
22
|
* - An array of {@link ArbitraryEntry} for multi-shape acceptance.
|
|
23
23
|
*/
|
|
24
24
|
type ArbitrarySpec = CssValueTypeName | readonly ArbitraryEntry[];
|
|
25
|
+
/**
|
|
26
|
+
* The literal-keyword subset of values a property accepts, derived from
|
|
27
|
+
* {@link CssPropertyValues}[P]. For custom CSS properties (`--*`) the value
|
|
28
|
+
* type is governed by the required `cssType` field instead, so any string
|
|
29
|
+
* is accepted at the type level.
|
|
30
|
+
*/
|
|
25
31
|
type StylePropMetadata = {
|
|
26
32
|
label?: string;
|
|
27
33
|
description?: string;
|
|
28
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* A finalized style prop. Returned by `defineStyleProp(spec).metadata(meta)`.
|
|
37
|
+
* Consumers wrap these in `uds.registerStyleProps({ <propName>: ... })`.
|
|
38
|
+
*/
|
|
29
39
|
/**
|
|
30
40
|
* Structurally-loose form of {@link StyleProp}. Any concrete `StyleProp<P>`
|
|
31
41
|
* is assignable to this. Used at registration / resolution boundaries where
|
|
@@ -41,5 +51,6 @@ interface AnyStyleProp {
|
|
|
41
51
|
readonly cssType?: CssValueTypeName;
|
|
42
52
|
readonly metadata: StylePropMetadata;
|
|
43
53
|
}
|
|
54
|
+
/** Intermediate builder — the only callable method is `.metadata()`. */
|
|
44
55
|
//#endregion
|
|
45
56
|
export { AnyStyleProp, ArbitraryEntry, ArbitrarySpec, StylePropMetadata };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defaultColors } from "./consts/defaultColors.js";
|
|
2
2
|
import { ColorFn, ColorKeyword, CssAngle, CssColor, CssLength, CssPercentage, CssRatio, CssTime, CssValue, CssValueTypeName, HexColor, HslColor, RgbColor } from "./types/css-values.js";
|
|
3
3
|
import { AnyStyleProp, ArbitraryEntry, ArbitrarySpec, StylePropMetadata } from "./defineStyleProp.js";
|
|
4
|
-
import { ResolvedStyleProp, ResolvedToken } from "./resolveStyleProp.js";
|
|
5
4
|
import { TokenType, VarGroupDef, VarTokenDef, VarsConfig } from "./types.js";
|
|
6
5
|
import { AtomicToken, BuildOptions, CheckForReservedModifiersInput, ComponentConfig, DefineComponentInput, DefineComponentMotionInput, ExampleDef, ExampleEntryDef, ExampleLayoutStyles, GetModifierFromInput, GlobalStylesDef, InterpolateMarker, ModeGroup, ModeOption, ModeOptionInput, ModeSetInput, ModesInput, ModifierDef, MotionPresetsDef, UdsConfig, UdsConfigData, buildTokenReference, createConfigBuilder, darker, lighter, resolveConfig } from "./createConfig.js";
|
|
6
|
+
import { ResolvedStyleProp, ResolvedToken } from "./resolveStyleProp.js";
|
|
7
7
|
import { SerializedConfig, TokenRef, buildReverseMap, deserializeConfig, serializeConfig } from "./serialize.js";
|
|
8
8
|
import { ComponentsConfig as ComponentsConfig$1 } from "@uds/types";
|
|
9
9
|
export { type ComponentsConfig$1 as ComponentsConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../utils/dist/index.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CssValueTypeName } from "./types/css-values.js";
|
|
2
2
|
import { ArbitrarySpec, StylePropMetadata } from "./defineStyleProp.js";
|
|
3
3
|
//#region ../config/dist/resolveStyleProp.d.ts
|
|
4
|
+
//#region src/resolveStyleProp.d.ts
|
|
4
5
|
interface ResolvedToken {
|
|
5
6
|
/** The token's raw key, e.g. `'brand'`. */
|
|
6
7
|
readonly name: string;
|
|
@@ -51,5 +52,11 @@ interface ResolvedStyleProp {
|
|
|
51
52
|
readonly arbitrary: ArbitrarySpec | undefined;
|
|
52
53
|
readonly metadata: StylePropMetadata;
|
|
53
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Structurally-loose input shape for the resolver. Any `StyleProp<P>` from
|
|
57
|
+
* `defineStyleProp` is assignable to this. Defined locally so the
|
|
58
|
+
* resolver's signature doesn't expand `ValuesEntry<P>` over the full CSS
|
|
59
|
+
* property union (TS2590).
|
|
60
|
+
*/
|
|
54
61
|
//#endregion
|
|
55
62
|
export { ResolvedStyleProp, ResolvedToken };
|
|
@@ -3,6 +3,7 @@ import { AtomicToken, ExampleDef, ModeGroup, ModifierDef, MotionPresetsDef, UdsC
|
|
|
3
3
|
import { CompositeStylesConfig } from "@uds/types";
|
|
4
4
|
|
|
5
5
|
//#region ../config/dist/serialize.d.ts
|
|
6
|
+
//#region src/serialize.d.ts
|
|
6
7
|
type ModifierNameShape = `_${string}`;
|
|
7
8
|
type TokenRef = {
|
|
8
9
|
$ref: string;
|
|
@@ -67,6 +68,6 @@ declare function serializeConfig(config: UdsConfig): SerializedConfig;
|
|
|
67
68
|
* Resolves `$ref` markers back to `var()` strings using the atomic token
|
|
68
69
|
* definitions, then reconstructs the builder chain.
|
|
69
70
|
*/
|
|
70
|
-
declare function deserializeConfig(data: SerializedConfig): UdsConfig;
|
|
71
|
+
declare function deserializeConfig(data: SerializedConfig): UdsConfig; //#endregion
|
|
71
72
|
//#endregion
|
|
72
73
|
export { SerializedConfig, TokenRef, buildReverseMap, deserializeConfig, serializeConfig };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../config/dist/types/css-values.d.ts
|
|
2
|
+
//#region src/types/css-values.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* CSS value-type primitives — building blocks used by {@link CssPropertyValues}
|
|
4
5
|
* in `./css-properties` and by `defineStyleProp` to constrain authored values.
|
|
@@ -55,6 +56,6 @@ type CssValue = {
|
|
|
55
56
|
ident: string;
|
|
56
57
|
string: string;
|
|
57
58
|
};
|
|
58
|
-
type CssValueTypeName = keyof CssValue;
|
|
59
|
+
type CssValueTypeName = keyof CssValue; //#endregion
|
|
59
60
|
//#endregion
|
|
60
61
|
export { ColorFn, ColorKeyword, CssAngle, CssColor, CssLength, CssPercentage, CssRatio, CssTime, CssValue, CssValueTypeName, HexColor, HslColor, RgbColor };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../config/dist/types.d.ts
|
|
2
|
+
//#region src/types.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* Scalar DTCG-aligned token types. Composite types (shadow, gradient,
|
|
4
5
|
* typography, border, transition, cubicBezier) are intentionally deferred
|
|
@@ -59,6 +60,6 @@ type VarGroupDef<M extends `_${string}` = `_${string}`> = {
|
|
|
59
60
|
* spacing: { $type: 'dimension', 1: { value: '0.25rem' }, 2: { value: '0.5rem' } },
|
|
60
61
|
* }
|
|
61
62
|
*/
|
|
62
|
-
type VarsConfig<M extends `_${string}` = `_${string}`> = Record<string, VarGroupDef<M>>;
|
|
63
|
+
type VarsConfig<M extends `_${string}` = `_${string}`> = Record<string, VarGroupDef<M>>; //#endregion
|
|
63
64
|
//#endregion
|
|
64
65
|
export { TokenType, VarGroupDef, VarTokenDef, VarsConfig };
|
package/dist/config.d.ts
CHANGED
|
@@ -35,9 +35,50 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
}>, {
|
|
38
|
+
opacity: {
|
|
39
|
+
0: string;
|
|
40
|
+
5: string;
|
|
41
|
+
10: string;
|
|
42
|
+
20: string;
|
|
43
|
+
40: string;
|
|
44
|
+
60: string;
|
|
45
|
+
80: string;
|
|
46
|
+
25: string;
|
|
47
|
+
30: string;
|
|
48
|
+
50: string;
|
|
49
|
+
70: string;
|
|
50
|
+
75: string;
|
|
51
|
+
90: string;
|
|
52
|
+
95: string;
|
|
53
|
+
100: string;
|
|
54
|
+
};
|
|
55
|
+
scale: {
|
|
56
|
+
0: string;
|
|
57
|
+
50: string;
|
|
58
|
+
75: string;
|
|
59
|
+
90: string;
|
|
60
|
+
95: string;
|
|
61
|
+
100: string;
|
|
62
|
+
105: string;
|
|
63
|
+
110: string;
|
|
64
|
+
125: string;
|
|
65
|
+
150: string;
|
|
66
|
+
200: string;
|
|
67
|
+
};
|
|
68
|
+
rotate: {
|
|
69
|
+
0: string;
|
|
70
|
+
1: string;
|
|
71
|
+
2: string;
|
|
72
|
+
3: string;
|
|
73
|
+
6: string;
|
|
74
|
+
12: string;
|
|
75
|
+
90: string;
|
|
76
|
+
45: string;
|
|
77
|
+
180: string;
|
|
78
|
+
};
|
|
38
79
|
color: {
|
|
39
|
-
transparent: string;
|
|
40
80
|
inherit: string;
|
|
81
|
+
transparent: string;
|
|
41
82
|
current: string;
|
|
42
83
|
"always/black": string;
|
|
43
84
|
"always/white": string;
|
|
@@ -60,16 +101,22 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
60
101
|
inverse: string;
|
|
61
102
|
"on-inverse": string;
|
|
62
103
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
104
|
+
borderColor: {
|
|
105
|
+
brand: string;
|
|
106
|
+
accent: string;
|
|
107
|
+
alert: string;
|
|
108
|
+
positive: string;
|
|
109
|
+
warning: string;
|
|
110
|
+
primary: string;
|
|
111
|
+
secondary: string;
|
|
112
|
+
tertiary: string;
|
|
113
|
+
inverse: string;
|
|
114
|
+
surface: string;
|
|
115
|
+
"brand-wash": string;
|
|
116
|
+
"accent-wash": string;
|
|
117
|
+
"alert-wash": string;
|
|
118
|
+
"positive-wash": string;
|
|
119
|
+
"warning-wash": string;
|
|
73
120
|
};
|
|
74
121
|
position: {
|
|
75
122
|
auto: string;
|
|
@@ -81,111 +128,17 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
81
128
|
"2/4": string;
|
|
82
129
|
"3/4": string;
|
|
83
130
|
};
|
|
84
|
-
flex: {
|
|
85
|
-
1: string;
|
|
86
|
-
initial: string;
|
|
87
|
-
auto: string;
|
|
88
|
-
none: string;
|
|
89
|
-
};
|
|
90
|
-
rotate: {
|
|
91
|
-
0: string;
|
|
92
|
-
1: string;
|
|
93
|
-
2: string;
|
|
94
|
-
3: string;
|
|
95
|
-
6: string;
|
|
96
|
-
12: string;
|
|
97
|
-
90: string;
|
|
98
|
-
45: string;
|
|
99
|
-
180: string;
|
|
100
|
-
};
|
|
101
|
-
scale: {
|
|
102
|
-
0: string;
|
|
103
|
-
50: string;
|
|
104
|
-
75: string;
|
|
105
|
-
90: string;
|
|
106
|
-
95: string;
|
|
107
|
-
100: string;
|
|
108
|
-
105: string;
|
|
109
|
-
110: string;
|
|
110
|
-
125: string;
|
|
111
|
-
150: string;
|
|
112
|
-
200: string;
|
|
113
|
-
};
|
|
114
|
-
translate: {
|
|
115
|
-
0: string;
|
|
116
|
-
1: string;
|
|
117
|
-
full: string;
|
|
118
|
-
"1/2": string;
|
|
119
|
-
"1/3": string;
|
|
120
|
-
"2/3": string;
|
|
121
|
-
"1/4": string;
|
|
122
|
-
"3/4": string;
|
|
123
|
-
2: string;
|
|
124
|
-
4: string;
|
|
125
|
-
8: string;
|
|
126
|
-
0.5: string;
|
|
127
|
-
1.5: string;
|
|
128
|
-
2.5: string;
|
|
129
|
-
3: string;
|
|
130
|
-
3.5: string;
|
|
131
|
-
5: string;
|
|
132
|
-
6: string;
|
|
133
|
-
7: string;
|
|
134
|
-
9: string;
|
|
135
|
-
10: string;
|
|
136
|
-
11: string;
|
|
137
|
-
12: string;
|
|
138
|
-
14: string;
|
|
139
|
-
16: string;
|
|
140
|
-
20: string;
|
|
141
|
-
24: string;
|
|
142
|
-
28: string;
|
|
143
|
-
32: string;
|
|
144
|
-
36: string;
|
|
145
|
-
40: string;
|
|
146
|
-
44: string;
|
|
147
|
-
48: string;
|
|
148
|
-
52: string;
|
|
149
|
-
56: string;
|
|
150
|
-
60: string;
|
|
151
|
-
64: string;
|
|
152
|
-
72: string;
|
|
153
|
-
80: string;
|
|
154
|
-
96: string;
|
|
155
|
-
};
|
|
156
|
-
animation: {
|
|
157
|
-
none: string;
|
|
158
|
-
spin: string;
|
|
159
|
-
ping: string;
|
|
160
|
-
};
|
|
161
|
-
opacity: {
|
|
162
|
-
0: string;
|
|
163
|
-
5: string;
|
|
164
|
-
10: string;
|
|
165
|
-
20: string;
|
|
166
|
-
40: string;
|
|
167
|
-
60: string;
|
|
168
|
-
80: string;
|
|
169
|
-
25: string;
|
|
170
|
-
30: string;
|
|
171
|
-
50: string;
|
|
172
|
-
70: string;
|
|
173
|
-
75: string;
|
|
174
|
-
90: string;
|
|
175
|
-
95: string;
|
|
176
|
-
100: string;
|
|
177
|
-
};
|
|
178
131
|
size: {
|
|
179
132
|
auto: string;
|
|
180
133
|
full: string;
|
|
134
|
+
max: string;
|
|
135
|
+
min: string;
|
|
181
136
|
"1/2": string;
|
|
182
137
|
"1/3": string;
|
|
183
138
|
"2/3": string;
|
|
184
139
|
"1/4": string;
|
|
185
140
|
"2/4": string;
|
|
186
141
|
"3/4": string;
|
|
187
|
-
min: string;
|
|
188
|
-
max: string;
|
|
189
142
|
fit: string;
|
|
190
143
|
"1/5": string;
|
|
191
144
|
"2/5": string;
|
|
@@ -197,6 +150,11 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
197
150
|
"4/6": string;
|
|
198
151
|
"5/6": string;
|
|
199
152
|
};
|
|
153
|
+
animation: {
|
|
154
|
+
none: string;
|
|
155
|
+
ping: string;
|
|
156
|
+
spin: string;
|
|
157
|
+
};
|
|
200
158
|
bg: {
|
|
201
159
|
overlay: string;
|
|
202
160
|
brand: string;
|
|
@@ -218,32 +176,6 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
218
176
|
"positive-wash": string;
|
|
219
177
|
"warning-wash": string;
|
|
220
178
|
};
|
|
221
|
-
radius: {
|
|
222
|
-
none: string;
|
|
223
|
-
sm: string;
|
|
224
|
-
md: string;
|
|
225
|
-
lg: string;
|
|
226
|
-
xl: string;
|
|
227
|
-
full: string;
|
|
228
|
-
xs: string;
|
|
229
|
-
};
|
|
230
|
-
borderColor: {
|
|
231
|
-
brand: string;
|
|
232
|
-
accent: string;
|
|
233
|
-
alert: string;
|
|
234
|
-
positive: string;
|
|
235
|
-
warning: string;
|
|
236
|
-
primary: string;
|
|
237
|
-
secondary: string;
|
|
238
|
-
tertiary: string;
|
|
239
|
-
inverse: string;
|
|
240
|
-
surface: string;
|
|
241
|
-
"brand-wash": string;
|
|
242
|
-
"accent-wash": string;
|
|
243
|
-
"alert-wash": string;
|
|
244
|
-
"positive-wash": string;
|
|
245
|
-
"warning-wash": string;
|
|
246
|
-
};
|
|
247
179
|
borderWidth: {
|
|
248
180
|
none: string;
|
|
249
181
|
thin: string;
|
|
@@ -252,19 +184,16 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
252
184
|
};
|
|
253
185
|
divideWidth: {
|
|
254
186
|
0: string;
|
|
187
|
+
4: string;
|
|
255
188
|
reverse: string;
|
|
256
189
|
2: string;
|
|
257
|
-
4: string;
|
|
258
190
|
8: string;
|
|
259
191
|
};
|
|
260
|
-
|
|
192
|
+
flex: {
|
|
261
193
|
none: string;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
xl: string;
|
|
266
|
-
"2xl": string;
|
|
267
|
-
"3xl": string;
|
|
194
|
+
initial: string;
|
|
195
|
+
auto: string;
|
|
196
|
+
1: string;
|
|
268
197
|
};
|
|
269
198
|
flexGrow: {
|
|
270
199
|
0: string;
|
|
@@ -273,12 +202,29 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
273
202
|
flexShrink: {
|
|
274
203
|
0: string;
|
|
275
204
|
};
|
|
205
|
+
aspectRatio: {
|
|
206
|
+
square: string;
|
|
207
|
+
landscape: string;
|
|
208
|
+
portrait: string;
|
|
209
|
+
widescreen: string;
|
|
210
|
+
ultrawide: string;
|
|
211
|
+
golden: string;
|
|
212
|
+
};
|
|
213
|
+
zIndex: {
|
|
214
|
+
0: string;
|
|
215
|
+
auto: string;
|
|
216
|
+
10: string;
|
|
217
|
+
20: string;
|
|
218
|
+
40: string;
|
|
219
|
+
30: string;
|
|
220
|
+
50: string;
|
|
221
|
+
};
|
|
276
222
|
spacing: {
|
|
277
223
|
0: string;
|
|
224
|
+
4: string;
|
|
278
225
|
1: string;
|
|
279
226
|
px: string;
|
|
280
227
|
2: string;
|
|
281
|
-
4: string;
|
|
282
228
|
8: string;
|
|
283
229
|
0.5: string;
|
|
284
230
|
1.5: string;
|
|
@@ -310,62 +256,57 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
310
256
|
80: string;
|
|
311
257
|
96: string;
|
|
312
258
|
};
|
|
313
|
-
|
|
259
|
+
w: {
|
|
260
|
+
screen: string;
|
|
261
|
+
svw: string;
|
|
262
|
+
lvw: string;
|
|
263
|
+
dvw: string;
|
|
264
|
+
};
|
|
265
|
+
outlineWidth: {
|
|
314
266
|
0: string;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
30: string;
|
|
320
|
-
50: string;
|
|
267
|
+
4: string;
|
|
268
|
+
1: string;
|
|
269
|
+
2: string;
|
|
270
|
+
8: string;
|
|
321
271
|
};
|
|
322
272
|
outlineOffset: {
|
|
323
273
|
0: string;
|
|
274
|
+
4: string;
|
|
324
275
|
1: string;
|
|
325
276
|
2: string;
|
|
326
|
-
4: string;
|
|
327
277
|
8: string;
|
|
328
278
|
};
|
|
329
279
|
ringWidth: {
|
|
330
280
|
0: string;
|
|
331
|
-
|
|
281
|
+
4: string;
|
|
332
282
|
inset: string;
|
|
283
|
+
1: string;
|
|
333
284
|
2: string;
|
|
334
|
-
4: string;
|
|
335
285
|
8: string;
|
|
336
286
|
};
|
|
337
287
|
ringOffsetWidth: {
|
|
338
288
|
0: string;
|
|
289
|
+
4: string;
|
|
339
290
|
1: string;
|
|
340
291
|
2: string;
|
|
341
|
-
4: string;
|
|
342
292
|
8: string;
|
|
343
293
|
};
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
dvw: string;
|
|
294
|
+
shadow: {
|
|
295
|
+
none: string;
|
|
296
|
+
sm: string;
|
|
297
|
+
md: string;
|
|
298
|
+
lg: string;
|
|
299
|
+
xl: string;
|
|
300
|
+
"2xl": string;
|
|
301
|
+
"2xs": string;
|
|
302
|
+
xs: string;
|
|
303
|
+
inner: string;
|
|
355
304
|
};
|
|
356
305
|
strokeWidth: {
|
|
357
306
|
0: string;
|
|
358
307
|
1: string;
|
|
359
308
|
2: string;
|
|
360
309
|
};
|
|
361
|
-
skew: {
|
|
362
|
-
0: string;
|
|
363
|
-
1: string;
|
|
364
|
-
2: string;
|
|
365
|
-
3: string;
|
|
366
|
-
6: string;
|
|
367
|
-
12: string;
|
|
368
|
-
};
|
|
369
310
|
fontFamily: {
|
|
370
311
|
sans: string;
|
|
371
312
|
serif: string;
|
|
@@ -373,8 +314,8 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
373
314
|
};
|
|
374
315
|
fontWeight: {
|
|
375
316
|
normal: string;
|
|
376
|
-
bold: string;
|
|
377
317
|
thin: string;
|
|
318
|
+
bold: string;
|
|
378
319
|
medium: string;
|
|
379
320
|
extralight: string;
|
|
380
321
|
light: string;
|
|
@@ -391,8 +332,8 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
391
332
|
widest: string;
|
|
392
333
|
};
|
|
393
334
|
lineHeight: {
|
|
394
|
-
normal: string;
|
|
395
335
|
none: string;
|
|
336
|
+
normal: string;
|
|
396
337
|
tight: string;
|
|
397
338
|
relaxed: string;
|
|
398
339
|
};
|
|
@@ -401,23 +342,82 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
401
342
|
sm: string;
|
|
402
343
|
md: string;
|
|
403
344
|
lg: string;
|
|
404
|
-
xs: string;
|
|
405
345
|
"2xs": string;
|
|
346
|
+
xs: string;
|
|
406
347
|
};
|
|
407
|
-
|
|
348
|
+
blur: {
|
|
349
|
+
none: string;
|
|
350
|
+
sm: string;
|
|
351
|
+
md: string;
|
|
352
|
+
lg: string;
|
|
353
|
+
xl: string;
|
|
354
|
+
"2xl": string;
|
|
355
|
+
"3xl": string;
|
|
356
|
+
};
|
|
357
|
+
translate: {
|
|
408
358
|
0: string;
|
|
359
|
+
4: string;
|
|
360
|
+
full: string;
|
|
409
361
|
1: string;
|
|
362
|
+
"1/2": string;
|
|
363
|
+
"1/3": string;
|
|
364
|
+
"2/3": string;
|
|
365
|
+
"1/4": string;
|
|
366
|
+
"3/4": string;
|
|
410
367
|
2: string;
|
|
411
|
-
4: string;
|
|
412
368
|
8: string;
|
|
369
|
+
0.5: string;
|
|
370
|
+
1.5: string;
|
|
371
|
+
2.5: string;
|
|
372
|
+
3: string;
|
|
373
|
+
3.5: string;
|
|
374
|
+
5: string;
|
|
375
|
+
6: string;
|
|
376
|
+
7: string;
|
|
377
|
+
9: string;
|
|
378
|
+
10: string;
|
|
379
|
+
11: string;
|
|
380
|
+
12: string;
|
|
381
|
+
14: string;
|
|
382
|
+
16: string;
|
|
383
|
+
20: string;
|
|
384
|
+
24: string;
|
|
385
|
+
28: string;
|
|
386
|
+
32: string;
|
|
387
|
+
36: string;
|
|
388
|
+
40: string;
|
|
389
|
+
44: string;
|
|
390
|
+
48: string;
|
|
391
|
+
52: string;
|
|
392
|
+
56: string;
|
|
393
|
+
60: string;
|
|
394
|
+
64: string;
|
|
395
|
+
72: string;
|
|
396
|
+
80: string;
|
|
397
|
+
96: string;
|
|
413
398
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
399
|
+
radius: {
|
|
400
|
+
none: string;
|
|
401
|
+
sm: string;
|
|
402
|
+
md: string;
|
|
403
|
+
lg: string;
|
|
404
|
+
xl: string;
|
|
405
|
+
xs: string;
|
|
406
|
+
full: string;
|
|
407
|
+
};
|
|
408
|
+
h: {
|
|
409
|
+
screen: string;
|
|
410
|
+
svh: string;
|
|
411
|
+
lvh: string;
|
|
412
|
+
dvh: string;
|
|
413
|
+
};
|
|
414
|
+
skew: {
|
|
415
|
+
0: string;
|
|
416
|
+
1: string;
|
|
417
|
+
2: string;
|
|
418
|
+
3: string;
|
|
419
|
+
6: string;
|
|
420
|
+
12: string;
|
|
421
421
|
};
|
|
422
422
|
}, {}, {}, {}, GetModifierFromInput<{
|
|
423
423
|
readonly colorMode: {
|