vorma 0.86.0-pre.2 → 0.86.0-pre.3
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/core/_index.d.ts +1 -0
- package/.dist/core/_index.d.ts.map +1 -1
- package/.dist/core/_index.js +6 -0
- package/.dist/core/_index.js.map +1 -1
- package/.dist/core/vorma_client_wasm_bg.wasm +0 -0
- package/.dist/ui/solid/solid.js +29 -39
- package/.dist/ui/solid/solid.js.map +1 -1
- package/core/client_wasm/vorma_client_wasm_bg.wasm +0 -0
- package/core/create_client_core.ts +9 -1
- package/package.json +1 -16
- package/ui/solid/solid.tsx +29 -10
- package/.dist/kit/lab/design/components/remix/remix.d.ts +0 -2309
- package/.dist/kit/lab/design/components/remix/remix.d.ts.map +0 -1
- package/.dist/kit/lab/design/components/remix/remix.js +0 -7022
- package/.dist/kit/lab/design/components/remix/remix.js.map +0 -1
- package/.dist/kit/lab/design/core/core.d.ts +0 -527
- package/.dist/kit/lab/design/core/core.d.ts.map +0 -1
- package/.dist/kit/lab/design/core/core.js +0 -668
- package/.dist/kit/lab/design/core/core.js.map +0 -1
- package/.dist/kit/matcher/matcher.d.ts +0 -78
- package/.dist/kit/matcher/matcher.d.ts.map +0 -1
- package/.dist/kit/matcher/matcher.js +0 -517
- package/.dist/kit/matcher/matcher.js.map +0 -1
- package/.dist/ui/remix/remix.d.ts +0 -73
- package/.dist/ui/remix/remix.d.ts.map +0 -1
- package/.dist/ui/remix/remix.js +0 -409
- package/.dist/ui/remix/remix.js.map +0 -1
- package/kit/lab/design/components/remix/accordion.ts +0 -474
- package/kit/lab/design/components/remix/alert-dialog.ts +0 -512
- package/kit/lab/design/components/remix/alert.ts +0 -213
- package/kit/lab/design/components/remix/aspect-ratio.ts +0 -111
- package/kit/lab/design/components/remix/badge.ts +0 -59
- package/kit/lab/design/components/remix/box.ts +0 -49
- package/kit/lab/design/components/remix/button.ts +0 -314
- package/kit/lab/design/components/remix/callout.ts +0 -127
- package/kit/lab/design/components/remix/checkable-state.ts +0 -187
- package/kit/lab/design/components/remix/checkbox-group.ts +0 -443
- package/kit/lab/design/components/remix/checkbox.ts +0 -215
- package/kit/lab/design/components/remix/chip.ts +0 -165
- package/kit/lab/design/components/remix/code-block.ts +0 -181
- package/kit/lab/design/components/remix/collapsible.ts +0 -325
- package/kit/lab/design/components/remix/component-state.ts +0 -55
- package/kit/lab/design/components/remix/component-style.ts +0 -364
- package/kit/lab/design/components/remix/composite-navigation.ts +0 -71
- package/kit/lab/design/components/remix/conditions.ts +0 -25
- package/kit/lab/design/components/remix/controllable-state.ts +0 -58
- package/kit/lab/design/components/remix/description-list.ts +0 -275
- package/kit/lab/design/components/remix/dialog.ts +0 -653
- package/kit/lab/design/components/remix/empty-state.ts +0 -146
- package/kit/lab/design/components/remix/field.ts +0 -418
- package/kit/lab/design/components/remix/fieldset.ts +0 -153
- package/kit/lab/design/components/remix/form-mirror.ts +0 -94
- package/kit/lab/design/components/remix/form-reset.ts +0 -85
- package/kit/lab/design/components/remix/form.ts +0 -109
- package/kit/lab/design/components/remix/grid.ts +0 -187
- package/kit/lab/design/components/remix/group-label.ts +0 -47
- package/kit/lab/design/components/remix/icon.ts +0 -176
- package/kit/lab/design/components/remix/input.ts +0 -163
- package/kit/lab/design/components/remix/kbd.ts +0 -58
- package/kit/lab/design/components/remix/list.ts +0 -120
- package/kit/lab/design/components/remix/listbox.ts +0 -1116
- package/kit/lab/design/components/remix/menu.ts +0 -1477
- package/kit/lab/design/components/remix/ordered-collection.ts +0 -95
- package/kit/lab/design/components/remix/popover-scroll-lock.ts +0 -89
- package/kit/lab/design/components/remix/popover.ts +0 -576
- package/kit/lab/design/components/remix/popup-behavior.ts +0 -96
- package/kit/lab/design/components/remix/progress.ts +0 -185
- package/kit/lab/design/components/remix/radio-group.ts +0 -420
- package/kit/lab/design/components/remix/recipe.ts +0 -70
- package/kit/lab/design/components/remix/remix.ts +0 -683
- package/kit/lab/design/components/remix/responsive.ts +0 -106
- package/kit/lab/design/components/remix/root.ts +0 -137
- package/kit/lab/design/components/remix/select.ts +0 -1546
- package/kit/lab/design/components/remix/separator.ts +0 -108
- package/kit/lab/design/components/remix/slider.ts +0 -308
- package/kit/lab/design/components/remix/spinner.ts +0 -114
- package/kit/lab/design/components/remix/stack.ts +0 -205
- package/kit/lab/design/components/remix/stat.ts +0 -127
- package/kit/lab/design/components/remix/surface.ts +0 -71
- package/kit/lab/design/components/remix/switch.ts +0 -219
- package/kit/lab/design/components/remix/table.ts +0 -395
- package/kit/lab/design/components/remix/tabs.ts +0 -404
- package/kit/lab/design/components/remix/text.ts +0 -169
- package/kit/lab/design/components/remix/textarea.ts +0 -164
- package/kit/lab/design/components/remix/toast.ts +0 -299
- package/kit/lab/design/components/remix/tooltip.ts +0 -330
- package/kit/lab/design/components/remix/typeahead.ts +0 -81
- package/kit/lab/design/components/remix/types.ts +0 -19
- package/kit/lab/design/components/remix/visually-hidden.ts +0 -100
- package/kit/lab/design/core/color.ts +0 -46
- package/kit/lab/design/core/core.ts +0 -111
- package/kit/lab/design/core/create_primitive.ts +0 -455
- package/kit/lab/design/core/create_system.ts +0 -303
- package/kit/lab/design/core/css.ts +0 -127
- package/kit/lab/design/core/define_system.ts +0 -508
- package/kit/lab/design/core/math.ts +0 -12
- package/kit/lab/design/core/object.ts +0 -31
- package/kit/lab/design/core/recipe/create_recipe.ts +0 -185
- package/kit/lab/design/core/recipe/recipe.ts +0 -26
- package/kit/lab/design/core/recipe/style.ts +0 -62
- package/kit/lab/design/core/recipe/types.ts +0 -160
- package/kit/lab/design/core/resolve_token.ts +0 -118
- package/kit/lab/design/core/types.ts +0 -636
- package/ui/remix/remix.tsx +0 -901
|
@@ -1,527 +0,0 @@
|
|
|
1
|
-
//#region packages/vorma/kit/lab/design/core/color.d.ts
|
|
2
|
-
type OKLCH = {
|
|
3
|
-
chroma: number;
|
|
4
|
-
hue: number;
|
|
5
|
-
lightness: number;
|
|
6
|
-
};
|
|
7
|
-
type PaletteStep = string;
|
|
8
|
-
type PaletteCurve<TStep extends string = string> = Record<TStep, number>;
|
|
9
|
-
type Palette<TStep extends string = string> = Record<TStep, string>;
|
|
10
|
-
declare function formatOKLCH(color: OKLCH): string;
|
|
11
|
-
declare function createPalette<TStep extends string>(input: {
|
|
12
|
-
chromaLimit: number;
|
|
13
|
-
curve: {
|
|
14
|
-
chroma: PaletteCurve<TStep>;
|
|
15
|
-
lightness: PaletteCurve<TStep>;
|
|
16
|
-
};
|
|
17
|
-
source: OKLCH;
|
|
18
|
-
}): Palette<TStep>;
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region packages/vorma/kit/lab/design/core/css.d.ts
|
|
21
|
-
type CSSVariableName = `--${string}`;
|
|
22
|
-
type CSSVariableMap = Record<CSSVariableName, string | number>;
|
|
23
|
-
type TokenPrimitive = string | number;
|
|
24
|
-
type TokenReferences<T> = T extends TokenPrimitive ? string : { readonly [K in keyof T]: TokenReferences<T[K]> };
|
|
25
|
-
declare function createCSSVariableName(variablePrefix: string, path: readonly string[]): CSSVariableName;
|
|
26
|
-
declare function createCSSVariableReference(variablePrefix: string, path: readonly string[]): string;
|
|
27
|
-
declare function createTokenVariables<T extends object>(variablePrefix: string, tokens: T): CSSVariableMap;
|
|
28
|
-
declare function createTokenReferences<T extends object>(variablePrefix: string, tokens: T): TokenReferences<T>;
|
|
29
|
-
declare function renderCSSVariables(selector: string, variables: CSSVariableMap): string;
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region packages/vorma/kit/lab/design/core/recipe/style.d.ts
|
|
32
|
-
type RecipeStyleValue = string | number | null | undefined;
|
|
33
|
-
type RecipeStyle = {
|
|
34
|
-
readonly [property: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
declare function mergeRecipeStyles<TStyle extends RecipeStyle>(...styles: ReadonlyArray<TStyle | undefined>): TStyle;
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region packages/vorma/kit/lab/design/core/recipe/types.d.ts
|
|
39
|
-
type RecipeConditionMap<TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = Partial<Record<TCondition, TStyle>>;
|
|
40
|
-
type RecipeSlotInput<TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = {
|
|
41
|
-
base?: TStyle;
|
|
42
|
-
conditions?: RecipeConditionMap<TCondition, TStyle>;
|
|
43
|
-
};
|
|
44
|
-
type RecipeSlotMapInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = Record<TSlot, RecipeSlotInput<TCondition, TStyle>>;
|
|
45
|
-
type RecipeVariantSlotMapInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = Partial<Record<TSlot, RecipeSlotInput<TCondition, TStyle>>>;
|
|
46
|
-
type RecipeVariantGroupInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = Record<string, RecipeVariantSlotMapInput<TSlot, TCondition, TStyle>>;
|
|
47
|
-
type RecipeVariantsInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = Record<string, RecipeVariantGroupInput<TSlot, TCondition, TStyle>>;
|
|
48
|
-
type RecipeVariantValueMap = Record<string, string>;
|
|
49
|
-
type RecipeVariantGroupsFor<TSlot extends string, TCondition extends string, TStyle extends RecipeStyle, TVariantValues extends RecipeVariantValueMap> = { readonly [K in keyof TVariantValues & string]: Record<TVariantValues[K], RecipeVariantSlotMapInput<TSlot, TCondition, TStyle>> };
|
|
50
|
-
type RecipeWithVariantGroups<TSlot extends string, TCondition extends string, TStyle extends RecipeStyle, TVariantValues extends RecipeVariantValueMap> = RecipeInput<TSlot, TCondition, TStyle, RecipeVariantGroupsFor<TSlot, TCondition, TStyle, TVariantValues>>;
|
|
51
|
-
type RecipeVariantSelection<TVariants extends RecipeVariantsInput = RecipeVariantsInput> = Partial<{ readonly [K in keyof TVariants & string]: keyof TVariants[K] & string }>;
|
|
52
|
-
type RecipeCompoundVariantInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle, TVariants extends RecipeVariantsInput<TSlot, TCondition, TStyle> = RecipeVariantsInput<TSlot, TCondition, TStyle>> = {
|
|
53
|
-
slots: RecipeVariantSlotMapInput<TSlot, TCondition, TStyle>;
|
|
54
|
-
variants: RecipeVariantSelection<TVariants>;
|
|
55
|
-
};
|
|
56
|
-
type RecipeInput<TSlot extends string = string, TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle, TVariants extends RecipeVariantsInput<TSlot, TCondition, TStyle> = RecipeVariantsInput<TSlot, TCondition, TStyle>> = {
|
|
57
|
-
compoundVariants?: readonly RecipeCompoundVariantInput<TSlot, TCondition, TStyle, TVariants>[];
|
|
58
|
-
defaultVariants?: RecipeVariantSelection<TVariants>;
|
|
59
|
-
slots: RecipeSlotMapInput<TSlot, TCondition, TStyle>;
|
|
60
|
-
variants?: TVariants;
|
|
61
|
-
};
|
|
62
|
-
type RecipeConditionName<TRecipe extends RecipeInput> = TRecipe extends RecipeInput<string, infer TCondition, RecipeStyle> ? TCondition : never;
|
|
63
|
-
type RecipeSlotName<TRecipe extends RecipeInput> = keyof TRecipe["slots"] & string;
|
|
64
|
-
type RecipeVariantGroups<TRecipe extends RecipeInput> = TRecipe extends RecipeInput<string, string, RecipeStyle, infer TVariants> ? TVariants : never;
|
|
65
|
-
type RecipeVariantGroupName<TRecipe extends RecipeInput> = keyof RecipeVariantGroups<TRecipe> & string;
|
|
66
|
-
type RecipeVariantValue<TRecipe extends RecipeInput, TGroup extends RecipeVariantGroupName<TRecipe>> = keyof RecipeVariantGroups<TRecipe>[TGroup] & string;
|
|
67
|
-
type RecipeVariantValues<TRecipe extends RecipeInput, TGroups extends RecipeVariantGroupName<TRecipe> = RecipeVariantGroupName<TRecipe>> = { readonly [K in TGroups]: RecipeVariantValue<TRecipe, K> };
|
|
68
|
-
type RecipeVariantProps<TRecipe extends RecipeInput> = Partial<{ readonly [K in RecipeVariantGroupName<TRecipe>]: RecipeVariantValue<TRecipe, K> }>;
|
|
69
|
-
type RecipeVariantPropsFor<TRecipe extends RecipeInput, TGroups extends RecipeVariantGroupName<TRecipe>> = Pick<RecipeVariantProps<TRecipe>, TGroups>;
|
|
70
|
-
type ResolvedRecipeSlot<TCondition extends string = string, TStyle extends RecipeStyle = RecipeStyle> = {
|
|
71
|
-
base: TStyle;
|
|
72
|
-
conditions: RecipeConditionMap<TCondition, TStyle>;
|
|
73
|
-
};
|
|
74
|
-
type ResolvedRecipe<TRecipe extends RecipeInput = RecipeInput, TCondition extends string = RecipeConditionName<TRecipe>, TStyle extends RecipeStyle = RecipeStyle> = {
|
|
75
|
-
slots: { readonly [K in RecipeSlotName<TRecipe>]: ResolvedRecipeSlot<TCondition, TStyle> };
|
|
76
|
-
};
|
|
77
|
-
type CreatedRecipe<TRecipe extends RecipeInput> = {
|
|
78
|
-
input: TRecipe;
|
|
79
|
-
resolve<const TGroups extends RecipeVariantGroupName<TRecipe>>(variants?: RecipeVariantPropsFor<TRecipe, TGroups>): ResolvedRecipe<TRecipe, RecipeConditionName<TRecipe>, RecipeStyle>;
|
|
80
|
-
};
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region packages/vorma/kit/lab/design/core/types.d.ts
|
|
83
|
-
declare const token_groups: {
|
|
84
|
-
readonly primitive: "primitive";
|
|
85
|
-
readonly recipe: "recipe";
|
|
86
|
-
readonly semantic: "semantic";
|
|
87
|
-
};
|
|
88
|
-
declare const primitive_token_keys: {
|
|
89
|
-
readonly aspect_ratio: "aspect-ratio";
|
|
90
|
-
readonly data_visualization: "data-visualization";
|
|
91
|
-
readonly font_family: "font-family";
|
|
92
|
-
readonly font_size: "font-size";
|
|
93
|
-
readonly font_weight: "font-weight";
|
|
94
|
-
readonly letter_spacing: "letter-spacing";
|
|
95
|
-
readonly line_height: "line-height";
|
|
96
|
-
readonly stroke_width: "stroke-width";
|
|
97
|
-
readonly text_style: "text-style";
|
|
98
|
-
};
|
|
99
|
-
declare const token_spec_fields: {
|
|
100
|
-
readonly mix: "mix";
|
|
101
|
-
readonly parts: "parts";
|
|
102
|
-
readonly path: "path";
|
|
103
|
-
};
|
|
104
|
-
declare const token_spec_kinds: {
|
|
105
|
-
readonly mix: "mix";
|
|
106
|
-
readonly ref: "ref";
|
|
107
|
-
readonly template: "template";
|
|
108
|
-
};
|
|
109
|
-
type ModeName = string;
|
|
110
|
-
type NonEmptyReadonlyArray<T> = readonly [T, ...T[]];
|
|
111
|
-
type TokenPath = readonly [string, ...string[]];
|
|
112
|
-
type LengthUnit = "px" | "rem";
|
|
113
|
-
type RawTokenValue = string | number | OKLCH;
|
|
114
|
-
declare const token_spec_kind: unique symbol;
|
|
115
|
-
type TokenSpecKind = typeof token_spec_kind;
|
|
116
|
-
type TokenReferenceSpec<Path extends TokenPath = TokenPath> = {
|
|
117
|
-
readonly [token_spec_kind]: typeof token_spec_kinds.ref;
|
|
118
|
-
readonly [token_spec_fields.path]: Path;
|
|
119
|
-
};
|
|
120
|
-
type TokenMixSpec = {
|
|
121
|
-
readonly [token_spec_kind]: typeof token_spec_kinds.mix;
|
|
122
|
-
readonly [token_spec_fields.mix]: {
|
|
123
|
-
amount: string;
|
|
124
|
-
color: TokenSpec;
|
|
125
|
-
space: string;
|
|
126
|
-
with: TokenSpec;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
type TokenTemplateSpec = {
|
|
130
|
-
readonly [token_spec_kind]: typeof token_spec_kinds.template;
|
|
131
|
-
readonly [token_spec_fields.parts]: readonly TokenSpec[];
|
|
132
|
-
};
|
|
133
|
-
type TokenSpec = string | number | OKLCH | TokenReferenceSpec | TokenMixSpec | TokenTemplateSpec;
|
|
134
|
-
type TokenDeclarationValue = TokenSpec | undefined;
|
|
135
|
-
type TokenDeclarationBlock<TProperty extends string = string> = { readonly [property in TProperty]?: TokenDeclarationValue };
|
|
136
|
-
type TokenSlotMap<TSlot extends string = string> = { readonly [slot in TSlot]?: TokenDeclarationBlock };
|
|
137
|
-
type TokenVariantMap<TVariant extends string = string> = { readonly [variant in TVariant]?: TokenGroupInput };
|
|
138
|
-
type TokenContract<TShape extends object> = TShape;
|
|
139
|
-
type TokenContractReferences<TShape extends object> = TokenReferences<TokenGroupOutput<TShape>>;
|
|
140
|
-
type LengthScaleInput<TKey extends string = string> = {
|
|
141
|
-
baseFontSizePx: number;
|
|
142
|
-
basePx: number;
|
|
143
|
-
multiplier: Record<TKey, number>;
|
|
144
|
-
unit: LengthUnit;
|
|
145
|
-
};
|
|
146
|
-
type ModularScaleInput<TKey extends string = string> = {
|
|
147
|
-
baseFontSizePx: number;
|
|
148
|
-
basePx: number;
|
|
149
|
-
ratio: number;
|
|
150
|
-
step: Record<TKey, number>;
|
|
151
|
-
unit: LengthUnit;
|
|
152
|
-
};
|
|
153
|
-
type PaletteInput<TMode extends string = string, TColorSource extends string = string, TPaletteStep extends string = string> = {
|
|
154
|
-
chromaLimit: number;
|
|
155
|
-
curve: Record<TMode, {
|
|
156
|
-
chroma: PaletteCurve<TPaletteStep>;
|
|
157
|
-
lightness: PaletteCurve<TPaletteStep>;
|
|
158
|
-
}>;
|
|
159
|
-
source: TColorSource;
|
|
160
|
-
};
|
|
161
|
-
type TextStyleInput<TFontFamily extends string = string, TLetterSpacing extends string = string, TLineHeight extends string = string, TFontSize extends string = string, TFontWeight extends string = string> = {
|
|
162
|
-
family: TFontFamily;
|
|
163
|
-
letterSpacing: TLetterSpacing;
|
|
164
|
-
lineHeight: TLineHeight;
|
|
165
|
-
size: TFontSize;
|
|
166
|
-
weight: TFontWeight;
|
|
167
|
-
};
|
|
168
|
-
type PrimitiveTextStyleTokens = Partial<{
|
|
169
|
-
[primitive_token_keys.font_family]: string;
|
|
170
|
-
[primitive_token_keys.font_size]: string;
|
|
171
|
-
[primitive_token_keys.font_weight]: string;
|
|
172
|
-
[primitive_token_keys.letter_spacing]: string;
|
|
173
|
-
[primitive_token_keys.line_height]: string;
|
|
174
|
-
}>;
|
|
175
|
-
type BorderCompositeInput = {
|
|
176
|
-
color: TokenSpec;
|
|
177
|
-
style: TokenSpec;
|
|
178
|
-
width: TokenSpec;
|
|
179
|
-
};
|
|
180
|
-
type ShadowLayerInput = {
|
|
181
|
-
blur: TokenSpec;
|
|
182
|
-
color: TokenSpec;
|
|
183
|
-
spread?: TokenSpec;
|
|
184
|
-
x: TokenSpec;
|
|
185
|
-
y: TokenSpec;
|
|
186
|
-
};
|
|
187
|
-
type ShadowCompositeInput = ShadowLayerInput | readonly ShadowLayerInput[];
|
|
188
|
-
type TransitionInput = {
|
|
189
|
-
delay?: TokenSpec;
|
|
190
|
-
duration: TokenSpec;
|
|
191
|
-
easing: TokenSpec;
|
|
192
|
-
property: TokenSpec;
|
|
193
|
-
};
|
|
194
|
-
type TransitionCompositeInput = TransitionInput | readonly TransitionInput[];
|
|
195
|
-
type TokenGroupInput = {
|
|
196
|
-
readonly [key: string]: TokenSpec | TokenGroupInput | undefined;
|
|
197
|
-
};
|
|
198
|
-
type TokenGroupOutput<T> = T extends TokenSpec ? string | number : { [K in keyof T as undefined extends T[K] ? never : K]: TokenGroupOutput<Exclude<T[K], undefined>> };
|
|
199
|
-
type PrimitiveInput<TMode extends string = string, TColorSource extends string = string, TFontFamily extends string = string, TLetterSpacing extends string = string, TLineHeight extends string = string, TFontSize extends string = string, TFontWeight extends string = string> = {
|
|
200
|
-
border?: {
|
|
201
|
-
radius?: LengthScaleInput;
|
|
202
|
-
shorthand?: Record<string, BorderCompositeInput>;
|
|
203
|
-
style?: Record<string, RawTokenValue>;
|
|
204
|
-
width?: LengthScaleInput;
|
|
205
|
-
};
|
|
206
|
-
color?: {
|
|
207
|
-
palette?: Record<string, PaletteInput<TMode, TColorSource>>;
|
|
208
|
-
source: Record<TColorSource, OKLCH>;
|
|
209
|
-
};
|
|
210
|
-
content?: {
|
|
211
|
-
"aspect-ratio"?: Record<string, RawTokenValue>;
|
|
212
|
-
measure?: Record<string, RawTokenValue>;
|
|
213
|
-
};
|
|
214
|
-
"data-visualization"?: {
|
|
215
|
-
color?: Record<string, RawTokenValue>;
|
|
216
|
-
shape?: Record<string, RawTokenValue>;
|
|
217
|
-
stroke?: Record<string, RawTokenValue>;
|
|
218
|
-
};
|
|
219
|
-
dimension?: {
|
|
220
|
-
"aspect-ratio"?: Record<string, RawTokenValue>;
|
|
221
|
-
measure?: Record<string, RawTokenValue>;
|
|
222
|
-
size?: Record<string, LengthScaleInput>;
|
|
223
|
-
space?: LengthScaleInput;
|
|
224
|
-
};
|
|
225
|
-
effect?: {
|
|
226
|
-
blur?: Record<string, RawTokenValue>;
|
|
227
|
-
opacity?: Record<string, RawTokenValue>;
|
|
228
|
-
shadow?: Record<string, RawTokenValue | ShadowCompositeInput>;
|
|
229
|
-
};
|
|
230
|
-
focus?: {
|
|
231
|
-
ring?: Record<string, RawTokenValue | BorderCompositeInput>;
|
|
232
|
-
};
|
|
233
|
-
icon?: {
|
|
234
|
-
asset?: Record<string, RawTokenValue>;
|
|
235
|
-
size?: LengthScaleInput;
|
|
236
|
-
"stroke-width"?: LengthScaleInput;
|
|
237
|
-
};
|
|
238
|
-
layout?: {
|
|
239
|
-
breakpoint?: Record<string, RawTokenValue>;
|
|
240
|
-
container?: Record<string, RawTokenValue>;
|
|
241
|
-
grid?: Record<string, RawTokenValue>;
|
|
242
|
-
layer?: Record<string, RawTokenValue>;
|
|
243
|
-
};
|
|
244
|
-
motion?: {
|
|
245
|
-
distance?: Record<string, RawTokenValue>;
|
|
246
|
-
duration?: Record<string, RawTokenValue>;
|
|
247
|
-
easing?: Record<string, RawTokenValue>;
|
|
248
|
-
transition?: Record<string, RawTokenValue | TransitionCompositeInput>;
|
|
249
|
-
};
|
|
250
|
-
outline?: {
|
|
251
|
-
offset?: LengthScaleInput;
|
|
252
|
-
shorthand?: Record<string, BorderCompositeInput>;
|
|
253
|
-
style?: Record<string, RawTokenValue>;
|
|
254
|
-
width?: LengthScaleInput;
|
|
255
|
-
};
|
|
256
|
-
typography?: {
|
|
257
|
-
family?: Record<TFontFamily, RawTokenValue>;
|
|
258
|
-
"letter-spacing"?: Record<TLetterSpacing, RawTokenValue>;
|
|
259
|
-
"line-height"?: Record<TLineHeight, RawTokenValue>;
|
|
260
|
-
size?: ModularScaleInput<TFontSize>;
|
|
261
|
-
"text-style"?: Record<string, TextStyleInput<TFontFamily, TLetterSpacing, TLineHeight, TFontSize, TFontWeight>>;
|
|
262
|
-
weight?: Record<TFontWeight, RawTokenValue>;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
type SemanticInput = {
|
|
266
|
-
border?: TokenGroupInput;
|
|
267
|
-
color?: TokenGroupInput;
|
|
268
|
-
"data-visualization"?: TokenGroupInput;
|
|
269
|
-
elevation?: TokenGroupInput;
|
|
270
|
-
focus?: TokenGroupInput;
|
|
271
|
-
icon?: TokenGroupInput;
|
|
272
|
-
layout?: TokenGroupInput;
|
|
273
|
-
outline?: TokenGroupInput;
|
|
274
|
-
state?: TokenGroupInput;
|
|
275
|
-
surface?: TokenGroupInput;
|
|
276
|
-
text?: TokenGroupInput;
|
|
277
|
-
tone?: TokenGroupInput;
|
|
278
|
-
typography?: TokenGroupInput;
|
|
279
|
-
readonly [category: string]: TokenGroupInput | undefined;
|
|
280
|
-
};
|
|
281
|
-
type RecipeStyleDeclarationValue = RecipeStyleDeclarationInput | TokenDeclarationValue;
|
|
282
|
-
type RecipeStyleDeclarationInput = {
|
|
283
|
-
readonly [property: string]: RecipeStyleDeclarationValue;
|
|
284
|
-
};
|
|
285
|
-
type RecipeStyleDefinition = RecipeInput<string, string, RecipeStyleDeclarationInput>;
|
|
286
|
-
type RecipeStyleDefinitions = Record<string, RecipeStyleDefinition>;
|
|
287
|
-
type ResolvedRecipeStyleConditionMap<TConditions> = TConditions extends RecipeConditionMap<string, RecipeStyleDeclarationInput> ? { readonly [K in keyof TConditions]: ResolvedTokenTree<Exclude<TConditions[K], undefined>> } : never;
|
|
288
|
-
type ResolvedRecipeStyleSlotBase<TSlot extends RecipeSlotInput<string, RecipeStyleDeclarationInput>> = "base" extends keyof TSlot ? TSlot extends {
|
|
289
|
-
readonly base?: infer TBase;
|
|
290
|
-
} ? {
|
|
291
|
-
readonly base?: ResolvedTokenTree<Exclude<TBase, undefined>>;
|
|
292
|
-
} : never : {};
|
|
293
|
-
type ResolvedRecipeStyleSlotConditions<TSlot extends RecipeSlotInput<string, RecipeStyleDeclarationInput>> = "conditions" extends keyof TSlot ? TSlot extends {
|
|
294
|
-
readonly conditions?: infer TConditions;
|
|
295
|
-
} ? {
|
|
296
|
-
readonly conditions?: ResolvedRecipeStyleConditionMap<Exclude<TConditions, undefined>>;
|
|
297
|
-
} : never : {};
|
|
298
|
-
type ResolvedRecipeStyleSlotInput<TSlot extends RecipeSlotInput<string, RecipeStyleDeclarationInput>> = ResolvedRecipeStyleSlotBase<TSlot> & ResolvedRecipeStyleSlotConditions<TSlot>;
|
|
299
|
-
type ResolvedRecipeStyleSlotMapInput<TSlots extends RecipeSlotMapInput<string, string, RecipeStyleDeclarationInput> | RecipeVariantSlotMapInput<string, string, RecipeStyleDeclarationInput>> = { readonly [K in keyof TSlots]: Exclude<TSlots[K], undefined> extends RecipeSlotInput<string, RecipeStyleDeclarationInput> ? ResolvedRecipeStyleSlotInput<Exclude<TSlots[K], undefined>> : never };
|
|
300
|
-
type ResolvedRecipeStyleVariantsInput<TVariants extends RecipeVariantsInput<string, string, RecipeStyleDeclarationInput>> = { readonly [TGroup in keyof TVariants]: { readonly [TValue in keyof TVariants[TGroup]]: TVariants[TGroup][TValue] extends RecipeVariantSlotMapInput<string, string, RecipeStyleDeclarationInput> ? ResolvedRecipeStyleSlotMapInput<TVariants[TGroup][TValue]> : never } };
|
|
301
|
-
type ResolvedRecipeStyleOptionalVariants<TVariants> = Exclude<TVariants, undefined> extends RecipeVariantsInput<string, string, RecipeStyleDeclarationInput> ? ResolvedRecipeStyleVariantsInput<Exclude<TVariants, undefined>> : never;
|
|
302
|
-
type ResolvedRecipeStyleCompoundVariantInput<TCompoundVariant extends RecipeCompoundVariantInput<string, string, RecipeStyleDeclarationInput>> = {
|
|
303
|
-
readonly slots: ResolvedRecipeStyleSlotMapInput<TCompoundVariant["slots"]>;
|
|
304
|
-
readonly variants: TCompoundVariant["variants"];
|
|
305
|
-
};
|
|
306
|
-
type ResolvedRecipeStyleCompoundVariantsInput<TCompoundVariants> = TCompoundVariants extends readonly RecipeCompoundVariantInput<string, string, RecipeStyleDeclarationInput>[] ? { readonly [K in keyof TCompoundVariants]: TCompoundVariants[K] extends RecipeCompoundVariantInput<string, string, RecipeStyleDeclarationInput> ? ResolvedRecipeStyleCompoundVariantInput<TCompoundVariants[K]> : never } : never;
|
|
307
|
-
type ResolvedRecipeStyleDefinition<TDefinition extends RecipeStyleDefinition> = ("compoundVariants" extends keyof TDefinition ? TDefinition extends {
|
|
308
|
-
readonly compoundVariants?: infer TCompoundVariants;
|
|
309
|
-
} ? {
|
|
310
|
-
readonly compoundVariants?: ResolvedRecipeStyleCompoundVariantsInput<Exclude<TCompoundVariants, undefined>>;
|
|
311
|
-
} : never : {}) & ("defaultVariants" extends keyof TDefinition ? TDefinition extends {
|
|
312
|
-
readonly defaultVariants?: infer TDefaultVariants;
|
|
313
|
-
} ? {
|
|
314
|
-
readonly defaultVariants?: TDefaultVariants;
|
|
315
|
-
} : never : {}) & {
|
|
316
|
-
readonly slots: ResolvedRecipeStyleSlotMapInput<TDefinition["slots"]>;
|
|
317
|
-
} & ("variants" extends keyof TDefinition ? TDefinition extends {
|
|
318
|
-
readonly variants?: infer TVariants;
|
|
319
|
-
} ? {
|
|
320
|
-
readonly variants?: ResolvedRecipeStyleOptionalVariants<TVariants>;
|
|
321
|
-
} : never : {});
|
|
322
|
-
type ResolvedRecipeStyleDefinitions<TDefinitions extends RecipeStyleDefinitions> = { readonly [K in keyof TDefinitions]: ResolvedRecipeStyleDefinition<TDefinitions[K]> };
|
|
323
|
-
type SystemInput<TModes extends NonEmptyReadonlyArray<string> = NonEmptyReadonlyArray<string>, TColorSource extends string = string, TFontFamily extends string = string, TLetterSpacing extends string = string, TLineHeight extends string = string, TFontSize extends string = string, TFontWeight extends string = string> = {
|
|
324
|
-
css: {
|
|
325
|
-
variablePrefix: string;
|
|
326
|
-
};
|
|
327
|
-
modes: TModes;
|
|
328
|
-
primitive?: PrimitiveInput<TModes[number], TColorSource, TFontFamily, TLetterSpacing, TLineHeight, TFontSize, TFontWeight>;
|
|
329
|
-
semantic?: Partial<Record<TModes[number], SemanticInput>>;
|
|
330
|
-
};
|
|
331
|
-
type ResolvedTokenTree<T> = T extends TokenSpec ? string | number : { [K in keyof T as undefined extends T[K] ? never : K]: ResolvedTokenTree<Exclude<T[K], undefined>> };
|
|
332
|
-
type PrimitiveTokens = {
|
|
333
|
-
border?: {
|
|
334
|
-
radius?: Record<string, string>;
|
|
335
|
-
shorthand?: Record<string, string | number>;
|
|
336
|
-
style?: Record<string, string | number>;
|
|
337
|
-
width?: Record<string, string>;
|
|
338
|
-
};
|
|
339
|
-
color?: {
|
|
340
|
-
palette?: Record<string, Palette>;
|
|
341
|
-
source: Record<string, string>;
|
|
342
|
-
};
|
|
343
|
-
content?: {
|
|
344
|
-
"aspect-ratio"?: Record<string, string | number>;
|
|
345
|
-
measure?: Record<string, string | number>;
|
|
346
|
-
};
|
|
347
|
-
"data-visualization"?: {
|
|
348
|
-
color?: Record<string, string | number>;
|
|
349
|
-
shape?: Record<string, string | number>;
|
|
350
|
-
stroke?: Record<string, string | number>;
|
|
351
|
-
};
|
|
352
|
-
dimension?: {
|
|
353
|
-
"aspect-ratio"?: Record<string, string | number>;
|
|
354
|
-
measure?: Record<string, string | number>;
|
|
355
|
-
size?: Record<string, Record<string, string>>;
|
|
356
|
-
space?: Record<string, string>;
|
|
357
|
-
};
|
|
358
|
-
effect?: {
|
|
359
|
-
blur?: Record<string, string | number>;
|
|
360
|
-
opacity?: Record<string, string | number>;
|
|
361
|
-
shadow?: Record<string, string | number>;
|
|
362
|
-
};
|
|
363
|
-
focus?: {
|
|
364
|
-
ring?: Record<string, string | number>;
|
|
365
|
-
};
|
|
366
|
-
icon?: {
|
|
367
|
-
asset?: Record<string, string | number>;
|
|
368
|
-
size?: Record<string, string>;
|
|
369
|
-
"stroke-width"?: Record<string, string>;
|
|
370
|
-
};
|
|
371
|
-
layout?: {
|
|
372
|
-
breakpoint?: Record<string, string | number>;
|
|
373
|
-
container?: Record<string, string | number>;
|
|
374
|
-
grid?: Record<string, string | number>;
|
|
375
|
-
layer?: Record<string, string | number>;
|
|
376
|
-
};
|
|
377
|
-
motion?: {
|
|
378
|
-
distance?: Record<string, string | number>;
|
|
379
|
-
duration?: Record<string, string | number>;
|
|
380
|
-
easing?: Record<string, string | number>;
|
|
381
|
-
transition?: Record<string, string | number>;
|
|
382
|
-
};
|
|
383
|
-
outline?: {
|
|
384
|
-
offset?: Record<string, string>;
|
|
385
|
-
shorthand?: Record<string, string | number>;
|
|
386
|
-
style?: Record<string, string | number>;
|
|
387
|
-
width?: Record<string, string>;
|
|
388
|
-
};
|
|
389
|
-
typography?: {
|
|
390
|
-
family?: Record<string, string | number>;
|
|
391
|
-
"letter-spacing"?: Record<string, string | number>;
|
|
392
|
-
"line-height"?: Record<string, string | number>;
|
|
393
|
-
size?: Record<string, string>;
|
|
394
|
-
"text-style"?: Record<string, PrimitiveTextStyleTokens>;
|
|
395
|
-
weight?: Record<string, string | number>;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
type SystemTokens = {
|
|
399
|
-
primitive?: PrimitiveTokens;
|
|
400
|
-
semantic?: ResolvedTokenTree<SemanticInput>;
|
|
401
|
-
};
|
|
402
|
-
type PrimitiveTokensForInput<T> = T extends undefined ? never : T extends LengthScaleInput<infer TKey> ? Record<TKey, string> : T extends ModularScaleInput<infer TKey> ? Record<TKey, string> : T extends PaletteInput ? Palette : T extends TextStyleInput ? PrimitiveTextStyleTokens : T extends RawTokenValue | BorderCompositeInput | ShadowCompositeInput | TransitionCompositeInput ? string | number : T extends object ? { [K in keyof T as undefined extends T[K] ? never : K]: PrimitiveTokensForInput<Exclude<T[K], undefined>> } : never;
|
|
403
|
-
type SystemTokensForInput<TInput extends SystemInput> = { [K in keyof {
|
|
404
|
-
primitive: TInput["primitive"];
|
|
405
|
-
semantic: TInput["semantic"];
|
|
406
|
-
} as undefined extends {
|
|
407
|
-
primitive: TInput["primitive"];
|
|
408
|
-
semantic: TInput["semantic"];
|
|
409
|
-
}[K] ? never : K]: K extends "primitive" ? PrimitiveTokensForInput<Exclude<TInput["primitive"], undefined>> : K extends "semantic" ? ResolvedTokenTree<Exclude<TInput["semantic"], undefined>[keyof Exclude<TInput["semantic"], undefined>]> : never };
|
|
410
|
-
type SystemMetadataForInput<TInput extends SystemInput> = Exclude<TInput["primitive"], undefined> extends {
|
|
411
|
-
layout?: {
|
|
412
|
-
breakpoint?: infer TBreakpoint;
|
|
413
|
-
};
|
|
414
|
-
} ? TBreakpoint extends Record<string, RawTokenValue> ? GeneratedSystemMetadata<keyof TBreakpoint & string> : GeneratedSystemMetadata<never> : GeneratedSystemMetadata<never>;
|
|
415
|
-
type AnyGeneratedSystemMetadata = GeneratedSystemMetadata<never> | GeneratedSystemMetadata<string>;
|
|
416
|
-
type GeneratedSystem<TMode extends string = string, TTokenReferences = TokenReferences<SystemTokens>, TMetadata extends AnyGeneratedSystemMetadata = AnyGeneratedSystemMetadata> = {
|
|
417
|
-
metadata: TMetadata;
|
|
418
|
-
modes: Record<TMode, GeneratedSystemMode>;
|
|
419
|
-
variablePrefix: string;
|
|
420
|
-
token: TTokenReferences;
|
|
421
|
-
};
|
|
422
|
-
type GeneratedSystemMode = {
|
|
423
|
-
variables: CSSVariableMap;
|
|
424
|
-
};
|
|
425
|
-
type GeneratedSystemMetadata<TBreakpoint extends string = never> = [TBreakpoint] extends [never] ? {
|
|
426
|
-
breakpoint?: undefined;
|
|
427
|
-
} : {
|
|
428
|
-
breakpoint: Record<TBreakpoint, string | number>;
|
|
429
|
-
};
|
|
430
|
-
//#endregion
|
|
431
|
-
//#region packages/vorma/kit/lab/design/core/create_system.d.ts
|
|
432
|
-
type SingleRecipeStyleInput<TRecipes extends object> = keyof TRecipes extends infer TKey ? [TKey] extends [never] ? never : TKey extends keyof TRecipes ? Pick<TRecipes, TKey> & Partial<Record<Exclude<keyof TRecipes, TKey>, never>> : never : never;
|
|
433
|
-
declare function createSystem<const TModes extends NonEmptyReadonlyArray<string>, const TColorSource extends string, const TFontFamily extends string, const TLetterSpacing extends string, const TLineHeight extends string, const TFontSize extends string, const TFontWeight extends string, const TInput extends SystemInput<TModes, TColorSource, TFontFamily, TLetterSpacing, TLineHeight, TFontSize, TFontWeight>>(input: SystemInput<TModes, TColorSource, TFontFamily, TLetterSpacing, TLineHeight, TFontSize, TFontWeight> & TInput): GeneratedSystem<TModes[number], TokenReferences<SystemTokensForInput<TInput>>, SystemMetadataForInput<TInput>>;
|
|
434
|
-
type RecipeStyleReferences<TRecipes extends RecipeStyleDefinitions> = {
|
|
435
|
-
[token_groups.recipe]: ResolvedRecipeStyleDefinitions<TRecipes>;
|
|
436
|
-
};
|
|
437
|
-
declare function createRecipeStyleSystem<const TSystem extends GeneratedSystem<string, unknown, AnyGeneratedSystemMetadata>, const TRecipes extends RecipeStyleDefinitions>(system: TSystem, recipes: TRecipes & SingleRecipeStyleInput<TRecipes>): GeneratedSystem<TSystem extends GeneratedSystem<infer TMode, unknown, AnyGeneratedSystemMetadata> ? TMode : never, RecipeStyleReferences<TRecipes>, TSystem extends GeneratedSystem<string, unknown, infer TMetadata> ? TMetadata : AnyGeneratedSystemMetadata>;
|
|
438
|
-
//#endregion
|
|
439
|
-
//#region packages/vorma/kit/lab/design/core/define_system.d.ts
|
|
440
|
-
type AppendPath<TPath extends TokenPath, TKey extends string> = readonly [...TPath, TKey] extends TokenPath ? readonly [...TPath, TKey] : never;
|
|
441
|
-
type NoInferFromUsage<T> = [T][T extends unknown ? 0 : never];
|
|
442
|
-
type TokenRefTree<T, TPath extends TokenPath> = T extends string | number ? TokenReferenceSpec<TPath> : T extends object ? { readonly [K in keyof T & string]: TokenRefTree<Exclude<T[K], undefined>, AppendPath<TPath, K>> } : never;
|
|
443
|
-
type PrimitiveRefTree<TPrimitive> = TokenRefTree<PrimitiveTokensForInput<Exclude<TPrimitive, undefined>>, readonly [typeof token_groups.primitive]>;
|
|
444
|
-
type SemanticRefTree<TSemantic> = TokenRefTree<ResolvedTokenTree<Exclude<TSemantic, undefined>[keyof Exclude<TSemantic, undefined>]>, readonly [typeof token_groups.semantic]>;
|
|
445
|
-
type TextStyleName<TPrimitive> = TPrimitive extends {
|
|
446
|
-
typography?: {
|
|
447
|
-
[primitive_token_keys.text_style]?: infer TTextStyle;
|
|
448
|
-
};
|
|
449
|
-
} ? keyof TTextStyle & string : never;
|
|
450
|
-
type FocusRingName<TPrimitive> = TPrimitive extends {
|
|
451
|
-
focus?: {
|
|
452
|
-
ring?: infer TRing;
|
|
453
|
-
};
|
|
454
|
-
} ? keyof TRing & string : never;
|
|
455
|
-
type TextStyleReferences<TName extends string> = Partial<{
|
|
456
|
-
[primitive_token_keys.font_family]: TokenReferenceSpec<readonly [typeof token_groups.primitive, "typography", typeof primitive_token_keys.text_style, TName, typeof primitive_token_keys.font_family]>;
|
|
457
|
-
[primitive_token_keys.font_size]: TokenReferenceSpec<readonly [typeof token_groups.primitive, "typography", typeof primitive_token_keys.text_style, TName, typeof primitive_token_keys.font_size]>;
|
|
458
|
-
[primitive_token_keys.font_weight]: TokenReferenceSpec<readonly [typeof token_groups.primitive, "typography", typeof primitive_token_keys.text_style, TName, typeof primitive_token_keys.font_weight]>;
|
|
459
|
-
[primitive_token_keys.letter_spacing]: TokenReferenceSpec<readonly [typeof token_groups.primitive, "typography", typeof primitive_token_keys.text_style, TName, typeof primitive_token_keys.letter_spacing]>;
|
|
460
|
-
[primitive_token_keys.line_height]: TokenReferenceSpec<readonly [typeof token_groups.primitive, "typography", typeof primitive_token_keys.text_style, TName, typeof primitive_token_keys.line_height]>;
|
|
461
|
-
}>;
|
|
462
|
-
type StyleAuthoringHelpers<TPrimitive> = {
|
|
463
|
-
template(strings: TemplateStringsArray, ...values: TokenSpec[]): TokenTemplateSpec;
|
|
464
|
-
focusRing<TName extends FocusRingName<TPrimitive>>(name: TName, options?: {
|
|
465
|
-
offset?: TokenSpec;
|
|
466
|
-
}): {
|
|
467
|
-
outline: TokenReferenceSpec<readonly [typeof token_groups.primitive, "focus", "ring", TName]>;
|
|
468
|
-
"outline-offset"?: TokenSpec;
|
|
469
|
-
};
|
|
470
|
-
outline(outline: TokenSpec | {
|
|
471
|
-
color: TokenSpec;
|
|
472
|
-
style: TokenSpec;
|
|
473
|
-
width: TokenSpec;
|
|
474
|
-
}, options?: {
|
|
475
|
-
offset?: TokenSpec;
|
|
476
|
-
}): {
|
|
477
|
-
outline?: TokenSpec;
|
|
478
|
-
"outline-color"?: TokenSpec;
|
|
479
|
-
"outline-offset"?: TokenSpec;
|
|
480
|
-
"outline-style"?: TokenSpec;
|
|
481
|
-
"outline-width"?: TokenSpec;
|
|
482
|
-
};
|
|
483
|
-
textStyle<TName extends TextStyleName<TPrimitive>>(name: TName): TextStyleReferences<TName>;
|
|
484
|
-
};
|
|
485
|
-
type SemanticAuthoringContext<TPrimitive> = {
|
|
486
|
-
mix: typeof tokenMix;
|
|
487
|
-
ref: {
|
|
488
|
-
primitive: PrimitiveRefTree<TPrimitive>;
|
|
489
|
-
};
|
|
490
|
-
style: StyleAuthoringHelpers<TPrimitive>;
|
|
491
|
-
};
|
|
492
|
-
type RecipeAuthoringContext<TPrimitive, TSemantic> = {
|
|
493
|
-
mix: typeof tokenMix;
|
|
494
|
-
ref: {
|
|
495
|
-
primitive: PrimitiveRefTree<TPrimitive>;
|
|
496
|
-
semantic: SemanticRefTree<TSemantic>;
|
|
497
|
-
};
|
|
498
|
-
style: StyleAuthoringHelpers<TPrimitive>;
|
|
499
|
-
};
|
|
500
|
-
declare function tokenMix(input: TokenMixSpec[typeof token_spec_fields.mix]): TokenMixSpec;
|
|
501
|
-
declare function defineSystem<const TModes extends NonEmptyReadonlyArray<string>, const TColorSource extends string, const TFontFamily extends string, const TLetterSpacing extends string, const TLineHeight extends string, const TFontSize extends string, const TFontWeight extends string, const TPrimitive extends PrimitiveInput<TModes[number], TColorSource, TFontFamily, TLetterSpacing, TLineHeight, TFontSize, TFontWeight>, const TSemantic extends Partial<Record<TModes[number], object>>>(system: {
|
|
502
|
-
css: {
|
|
503
|
-
variablePrefix: string;
|
|
504
|
-
};
|
|
505
|
-
modes: TModes;
|
|
506
|
-
primitive: TPrimitive;
|
|
507
|
-
semantic: (context: SemanticAuthoringContext<TPrimitive>) => TSemantic;
|
|
508
|
-
}): {
|
|
509
|
-
css: {
|
|
510
|
-
variablePrefix: string;
|
|
511
|
-
};
|
|
512
|
-
modes: TModes;
|
|
513
|
-
primitive: TPrimitive;
|
|
514
|
-
semantic: TSemantic & Partial<Record<TModes[number], SemanticInput>>;
|
|
515
|
-
};
|
|
516
|
-
declare function defineRecipeStyles<const TPrimitive, const TSemantic extends Partial<Record<string, object>>, const TRecipes extends RecipeStyleDefinitions>(system: {
|
|
517
|
-
primitive?: TPrimitive;
|
|
518
|
-
semantic?: TSemantic;
|
|
519
|
-
}, recipe: (context: RecipeAuthoringContext<TPrimitive, NoInferFromUsage<TSemantic>>) => TRecipes): TRecipes;
|
|
520
|
-
//#endregion
|
|
521
|
-
//#region packages/vorma/kit/lab/design/core/recipe/create_recipe.d.ts
|
|
522
|
-
type AnyRecipeInput = RecipeInput<string, string, RecipeStyle>;
|
|
523
|
-
declare function resolveRecipe<const TRecipe extends AnyRecipeInput, const TGroups extends RecipeVariantGroupName<TRecipe>>(recipe: TRecipe, variants?: RecipeVariantPropsFor<TRecipe, TGroups>): ResolvedRecipe<TRecipe, RecipeConditionName<TRecipe>, RecipeStyle>;
|
|
524
|
-
declare function createRecipe<const TRecipe extends AnyRecipeInput>(recipe: TRecipe): CreatedRecipe<TRecipe>;
|
|
525
|
-
//#endregion
|
|
526
|
-
export { type AnyGeneratedSystemMetadata, type BorderCompositeInput, type CSSVariableMap, type CSSVariableName, type CreatedRecipe, type GeneratedSystem, type GeneratedSystemMetadata, type GeneratedSystemMode, type LengthScaleInput, type LengthUnit, type ModeName, type ModularScaleInput, type NonEmptyReadonlyArray, type OKLCH, type Palette, type PaletteCurve, type PaletteInput, type PaletteStep, type PrimitiveInput, type PrimitiveTextStyleTokens, type PrimitiveTokens, type PrimitiveTokensForInput, type RawTokenValue, type RecipeAuthoringContext, type RecipeCompoundVariantInput, type RecipeConditionMap, type RecipeConditionName, type RecipeInput, type RecipeSlotInput, type RecipeSlotMapInput, type RecipeSlotName, type RecipeStyle, type RecipeStyleDeclarationInput, type RecipeStyleDefinition, type RecipeStyleDefinitions, type RecipeStyleReferences, type RecipeStyleValue, type RecipeVariantGroupInput, type RecipeVariantGroupName, type RecipeVariantGroupsFor, type RecipeVariantProps, type RecipeVariantPropsFor, type RecipeVariantSelection, type RecipeVariantSlotMapInput, type RecipeVariantValue, type RecipeVariantValueMap, type RecipeVariantValues, type RecipeVariantsInput, type RecipeWithVariantGroups, type ResolvedRecipe, type ResolvedRecipeSlot, type ResolvedRecipeStyleDefinition, type ResolvedRecipeStyleDefinitions, type ResolvedTokenTree, type SemanticAuthoringContext, type SemanticInput, type ShadowCompositeInput, type ShadowLayerInput, type SingleRecipeStyleInput, type StyleAuthoringHelpers, type SystemInput, type SystemMetadataForInput, type SystemTokens, type SystemTokensForInput, type TextStyleInput, type TokenContract, type TokenContractReferences, type TokenDeclarationBlock, type TokenDeclarationValue, type TokenGroupInput, type TokenGroupOutput, type TokenMixSpec, type TokenPath, type TokenPrimitive, type TokenRefTree, type TokenReferenceSpec, type TokenReferences, type TokenSlotMap, type TokenSpec, type TokenSpecKind, type TokenTemplateSpec, type TokenVariantMap, type TransitionCompositeInput, type TransitionInput, createCSSVariableName, createCSSVariableReference, createPalette, createRecipe, createRecipeStyleSystem, createSystem, createTokenReferences, createTokenVariables, defineRecipeStyles, defineSystem, formatOKLCH, mergeRecipeStyles, renderCSSVariables, resolveRecipe, tokenMix };
|
|
527
|
-
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","names":[],"sources":["../../../../../kit/lab/design/core/color.ts","../../../../../kit/lab/design/core/css.ts","../../../../../kit/lab/design/core/recipe/style.ts","../../../../../kit/lab/design/core/recipe/types.ts","../../../../../kit/lab/design/core/types.ts","../../../../../kit/lab/design/core/create_system.ts","../../../../../kit/lab/design/core/define_system.ts","../../../../../kit/lab/design/core/recipe/create_recipe.ts"],"mappings":";KAEY,KAAA;EACX,MAAA;EACA,GAAA;EACA,SAAA;AAAA;AAAA,KAGW,WAAA;AAAA,KACA,YAAA,kCAA8C,MAAA,CAAO,KAAA;AAAA,KACrD,OAAA,kCAAyC,MAAA,CAAO,KAAA;AAAA,iBAE5C,WAAA,CAAY,KAAA,EAAO,KAAA;AAAA,iBAUnB,aAAA,sBAAA,CAAoC,KAAA;EACnD,WAAA;EACA,KAAA;IACC,MAAA,EAAQ,YAAA,CAAa,KAAA;IACrB,SAAA,EAAW,YAAA,CAAa,KAAA;EAAA;EAEzB,MAAA,EAAQ,KAAA;AAAA,IACL,OAAA,CAAQ,KAAA;;;KC7BA,eAAA;AAAA,KACA,cAAA,GAAiB,MAAA,CAAO,eAAA;AAAA,KACxB,cAAA;AAAA,KAEA,eAAA,MAAqB,CAAA,SAAU,cAAA,mCAGnB,CAAA,GAAI,eAAA,CAAgB,CAAA,CAAE,CAAA;AAAA,iBAoB9B,qBAAA,CACf,cAAA,UACA,IAAA,sBACE,eAAA;AAAA,iBAUa,0BAAA,CACf,cAAA,UACA,IAAA;AAAA,iBAmCe,oBAAA,kBAAA,CACf,cAAA,UACA,MAAA,EAAQ,CAAA,GACN,cAAA;AAAA,iBA4Ba,qBAAA,kBAAA,CACf,cAAA,UACA,MAAA,EAAQ,CAAA,GACN,eAAA,CAAgB,CAAA;AAAA,iBAOH,kBAAA,CAAmB,QAAA,UAAkB,SAAA,EAAW,c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