@vireo-ai/trellis-ui 0.1.1 → 0.1.4
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/package.json +2 -5
- package/src/components/button/styles.css +47 -26
- package/src/components/date-picker/styles.css +23 -1
- package/src/components/file-upload/styles.css +28 -0
- package/src/components/radio/styles.css +33 -21
- package/src/components/select/styles.css +44 -3
- package/src/components.css +1 -2
- package/src/theme.css +332 -46
- package/trellis_ui/static/trellis_ui/css/styles.css +1025 -214
- package/trellis_ui/static/trellis_ui/js/esm/index.js +1869 -1078
- package/trellis_ui/static/trellis_ui/js/esm/index.js.map +1 -1
- package/trellis_ui/static/trellis_ui/js/index.js +7 -7
- package/types/components/app/contract.d.ts +7 -2
- package/types/components/badge/contract.d.ts +8 -6
- package/types/components/box/contract.d.ts +29 -21
- package/types/components/box/index.d.ts +1 -1
- package/types/components/button/contract.d.ts +10 -7
- package/types/components/card/contract.d.ts +25 -11
- package/types/components/combobox/contract.d.ts +6 -3
- package/types/components/combobox/index.d.ts +3 -0
- package/types/components/common.d.ts +239 -2
- package/types/components/container/contract.d.ts +30 -0
- package/types/components/container/index.d.ts +1 -0
- package/types/components/date-picker/contract.d.ts +7 -4
- package/types/components/file-upload/index.d.ts +1 -0
- package/types/components/flex/contract.d.ts +35 -0
- package/types/components/flex/index.d.ts +1 -0
- package/types/components/frame/contract.d.ts +43 -18
- package/types/components/frame/index.d.ts +2 -2
- package/types/components/grid/contract.d.ts +40 -0
- package/types/components/grid/index.d.ts +1 -0
- package/types/components/heading/contract.d.ts +3 -2
- package/types/components/input/contract.d.ts +7 -3
- package/types/components/layout.d.ts +408 -0
- package/types/components/menu/contract.d.ts +1 -1
- package/types/components/modal/contract.d.ts +12 -6
- package/types/components/section/contract.d.ts +27 -0
- package/types/components/section/index.d.ts +1 -0
- package/types/components/select/contract.d.ts +10 -7
- package/types/components/select/index.d.ts +3 -0
- package/types/components/sidebar/contract.d.ts +1 -1
- package/types/components/stack/contract.d.ts +29 -0
- package/types/components/stack/index.d.ts +1 -0
- package/types/components/table/contract.d.ts +4 -4
- package/types/components/tabs/index.d.ts +1 -0
- package/types/components/text/contract.d.ts +3 -2
- package/types/components/textarea/contract.d.ts +1 -0
- package/types/components/toast/contract.d.ts +11 -5
- package/types/components/toast/index.d.ts +2 -1
- package/types/index.d.ts +4 -4
- package/types/motion/animate.d.ts +4 -0
- package/types/motion/presence.d.ts +1 -1
- package/types/runtime/index.d.ts +6 -6
- package/types/runtime/manifest.d.ts +5 -1
- package/types/runtime/merge-bindings.d.ts +9 -0
- package/types/runtime/stream.d.ts +1 -1
- package/types/runtime/theme.d.ts +8 -3
- package/src/components/image/styles.css +0 -10
- package/src/components/theme/styles.css +0 -13
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js +0 -551
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js.map +0 -1
- package/types/runtime/props.d.ts +0 -9
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { SURFACE_ALPHA_COMPOUNDS, type ComponentRadius, type Elevation, type LayoutSpace, type Surface, type SurfaceTone } from './common';
|
|
2
|
+
declare const LAYOUT_AS_VALUES: readonly ["div", "section", "article", "aside", "header", "footer", "main", "nav", "form", "ul", "ol", "li", "span"];
|
|
3
|
+
declare const LAYOUT_WIDTHS: readonly ["auto", "full", "xs", "sm", "md", "lg", "xl", "prose"];
|
|
4
|
+
declare const LAYOUT_HEIGHTS: readonly ["auto", "full", "xs", "sm", "md", "lg", "xl"];
|
|
5
|
+
declare const LAYOUT_ALIGNS: readonly ["start", "center", "end", "stretch", "baseline"];
|
|
6
|
+
declare const LAYOUT_JUSTIFIES: readonly ["start", "center", "end", "between"];
|
|
7
|
+
declare const LAYOUT_COLUMNS: readonly ["none", "1", "2", "3", "4", "5", "6"];
|
|
8
|
+
declare const LAYOUT_ROWS: readonly ["none", "1", "2", "3", "4", "5", "6"];
|
|
9
|
+
declare const layoutSurfaceSchema: {
|
|
10
|
+
padding: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
11
|
+
paddingX: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
12
|
+
paddingY: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
13
|
+
margin: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
14
|
+
marginX: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
15
|
+
marginY: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
16
|
+
surface: import("../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
|
|
17
|
+
tone: import("../runtime/codecs").OneOfCodec<"solid" | "alpha">;
|
|
18
|
+
radius: import("../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
|
|
19
|
+
elevation: import("../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
|
|
20
|
+
width: import("../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
|
|
21
|
+
height: import("../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
|
|
22
|
+
class: import("../runtime/codecs").StringCodec;
|
|
23
|
+
};
|
|
24
|
+
declare const layoutSpacingSchema: {
|
|
25
|
+
gap: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
26
|
+
gapX: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
27
|
+
gapY: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
28
|
+
};
|
|
29
|
+
declare const layoutAlignmentSchema: {
|
|
30
|
+
align: import("../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch" | "baseline">;
|
|
31
|
+
justify: import("../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "between">;
|
|
32
|
+
};
|
|
33
|
+
declare const layoutSurfaceDetails: {
|
|
34
|
+
padding: {
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
paddingX: {
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
paddingY: {
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
margin: {
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
marginX: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
marginY: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
surface: {
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
tone: {
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
radius: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
elevation: {
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
width: {
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
height: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
class: {
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
declare const layoutSpacingDetails: {
|
|
75
|
+
gap: {
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
78
|
+
gapX: {
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
gapY: {
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
declare const layoutAlignmentDetails: {
|
|
86
|
+
align: {
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
justify: {
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
declare const LAYOUT_WIDTH_CLASSES: {
|
|
94
|
+
readonly auto: "";
|
|
95
|
+
readonly full: "w-full";
|
|
96
|
+
readonly xs: "mx-auto w-full max-w-xs";
|
|
97
|
+
readonly sm: "mx-auto w-full max-w-sm";
|
|
98
|
+
readonly md: "mx-auto w-full max-w-md";
|
|
99
|
+
readonly lg: "mx-auto w-full max-w-lg";
|
|
100
|
+
readonly xl: "mx-auto w-full max-w-xl";
|
|
101
|
+
readonly prose: "mx-auto w-full max-w-prose";
|
|
102
|
+
};
|
|
103
|
+
declare const LAYOUT_HEIGHT_CLASSES: {
|
|
104
|
+
readonly auto: "";
|
|
105
|
+
readonly full: "h-full";
|
|
106
|
+
readonly xs: "h-full max-h-xs";
|
|
107
|
+
readonly sm: "h-full max-h-sm";
|
|
108
|
+
readonly md: "h-full max-h-md";
|
|
109
|
+
readonly lg: "h-full max-h-lg";
|
|
110
|
+
readonly xl: "h-full max-h-xl";
|
|
111
|
+
};
|
|
112
|
+
declare const LAYOUT_ALIGN_CLASSES: {
|
|
113
|
+
readonly start: "items-start";
|
|
114
|
+
readonly center: "items-center";
|
|
115
|
+
readonly end: "items-end";
|
|
116
|
+
readonly stretch: "items-stretch";
|
|
117
|
+
readonly baseline: "items-baseline";
|
|
118
|
+
};
|
|
119
|
+
declare const LAYOUT_JUSTIFY_CLASSES: {
|
|
120
|
+
readonly start: "justify-start";
|
|
121
|
+
readonly center: "justify-center";
|
|
122
|
+
readonly end: "justify-end";
|
|
123
|
+
readonly between: "justify-between";
|
|
124
|
+
};
|
|
125
|
+
declare const LAYOUT_COLUMN_CLASSES: {
|
|
126
|
+
readonly none: "";
|
|
127
|
+
readonly '1': "grid-cols-1";
|
|
128
|
+
readonly '2': "grid-cols-1 sm:grid-cols-2";
|
|
129
|
+
readonly '3': "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3";
|
|
130
|
+
readonly '4': "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4";
|
|
131
|
+
readonly '5': "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5";
|
|
132
|
+
readonly '6': "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6";
|
|
133
|
+
};
|
|
134
|
+
declare const LAYOUT_ROW_CLASSES: {
|
|
135
|
+
readonly none: "";
|
|
136
|
+
readonly '1': "grid-rows-1";
|
|
137
|
+
readonly '2': "grid-rows-2";
|
|
138
|
+
readonly '3': "grid-rows-3";
|
|
139
|
+
readonly '4': "grid-rows-4";
|
|
140
|
+
readonly '5': "grid-rows-5";
|
|
141
|
+
readonly '6': "grid-rows-6";
|
|
142
|
+
};
|
|
143
|
+
declare const layoutBaseVariants: {
|
|
144
|
+
gap: {
|
|
145
|
+
readonly '0': "";
|
|
146
|
+
readonly '1': "gap-1";
|
|
147
|
+
readonly '2': "gap-2";
|
|
148
|
+
readonly '3': "gap-3";
|
|
149
|
+
readonly '4': "gap-4";
|
|
150
|
+
readonly '5': "gap-5";
|
|
151
|
+
readonly '6': "gap-6";
|
|
152
|
+
readonly '7': "gap-7";
|
|
153
|
+
readonly '8': "gap-8";
|
|
154
|
+
readonly '9': "gap-9";
|
|
155
|
+
};
|
|
156
|
+
gapX: {
|
|
157
|
+
readonly '0': "";
|
|
158
|
+
readonly '1': "gap-x-1";
|
|
159
|
+
readonly '2': "gap-x-2";
|
|
160
|
+
readonly '3': "gap-x-3";
|
|
161
|
+
readonly '4': "gap-x-4";
|
|
162
|
+
readonly '5': "gap-x-5";
|
|
163
|
+
readonly '6': "gap-x-6";
|
|
164
|
+
readonly '7': "gap-x-7";
|
|
165
|
+
readonly '8': "gap-x-8";
|
|
166
|
+
readonly '9': "gap-x-9";
|
|
167
|
+
};
|
|
168
|
+
gapY: {
|
|
169
|
+
readonly '0': "";
|
|
170
|
+
readonly '1': "gap-y-1";
|
|
171
|
+
readonly '2': "gap-y-2";
|
|
172
|
+
readonly '3': "gap-y-3";
|
|
173
|
+
readonly '4': "gap-y-4";
|
|
174
|
+
readonly '5': "gap-y-5";
|
|
175
|
+
readonly '6': "gap-y-6";
|
|
176
|
+
readonly '7': "gap-y-7";
|
|
177
|
+
readonly '8': "gap-y-8";
|
|
178
|
+
readonly '9': "gap-y-9";
|
|
179
|
+
};
|
|
180
|
+
padding: {
|
|
181
|
+
readonly '0': "";
|
|
182
|
+
readonly '1': "p-1";
|
|
183
|
+
readonly '2': "p-2";
|
|
184
|
+
readonly '3': "p-3";
|
|
185
|
+
readonly '4': "p-4";
|
|
186
|
+
readonly '5': "p-5";
|
|
187
|
+
readonly '6': "p-6";
|
|
188
|
+
readonly '7': "p-7";
|
|
189
|
+
readonly '8': "p-8";
|
|
190
|
+
readonly '9': "p-9";
|
|
191
|
+
};
|
|
192
|
+
paddingX: {
|
|
193
|
+
readonly '0': "";
|
|
194
|
+
readonly '1': "px-1";
|
|
195
|
+
readonly '2': "px-2";
|
|
196
|
+
readonly '3': "px-3";
|
|
197
|
+
readonly '4': "px-4";
|
|
198
|
+
readonly '5': "px-5";
|
|
199
|
+
readonly '6': "px-6";
|
|
200
|
+
readonly '7': "px-7";
|
|
201
|
+
readonly '8': "px-8";
|
|
202
|
+
readonly '9': "px-9";
|
|
203
|
+
};
|
|
204
|
+
paddingY: {
|
|
205
|
+
readonly '0': "";
|
|
206
|
+
readonly '1': "py-1";
|
|
207
|
+
readonly '2': "py-2";
|
|
208
|
+
readonly '3': "py-3";
|
|
209
|
+
readonly '4': "py-4";
|
|
210
|
+
readonly '5': "py-5";
|
|
211
|
+
readonly '6': "py-6";
|
|
212
|
+
readonly '7': "py-7";
|
|
213
|
+
readonly '8': "py-8";
|
|
214
|
+
readonly '9': "py-9";
|
|
215
|
+
};
|
|
216
|
+
margin: {
|
|
217
|
+
readonly '0': "";
|
|
218
|
+
readonly '1': "m-1";
|
|
219
|
+
readonly '2': "m-2";
|
|
220
|
+
readonly '3': "m-3";
|
|
221
|
+
readonly '4': "m-4";
|
|
222
|
+
readonly '5': "m-5";
|
|
223
|
+
readonly '6': "m-6";
|
|
224
|
+
readonly '7': "m-7";
|
|
225
|
+
readonly '8': "m-8";
|
|
226
|
+
readonly '9': "m-9";
|
|
227
|
+
};
|
|
228
|
+
marginX: {
|
|
229
|
+
readonly '0': "";
|
|
230
|
+
readonly '1': "mx-1";
|
|
231
|
+
readonly '2': "mx-2";
|
|
232
|
+
readonly '3': "mx-3";
|
|
233
|
+
readonly '4': "mx-4";
|
|
234
|
+
readonly '5': "mx-5";
|
|
235
|
+
readonly '6': "mx-6";
|
|
236
|
+
readonly '7': "mx-7";
|
|
237
|
+
readonly '8': "mx-8";
|
|
238
|
+
readonly '9': "mx-9";
|
|
239
|
+
};
|
|
240
|
+
marginY: {
|
|
241
|
+
readonly '0': "";
|
|
242
|
+
readonly '1': "my-1";
|
|
243
|
+
readonly '2': "my-2";
|
|
244
|
+
readonly '3': "my-3";
|
|
245
|
+
readonly '4': "my-4";
|
|
246
|
+
readonly '5': "my-5";
|
|
247
|
+
readonly '6': "my-6";
|
|
248
|
+
readonly '7': "my-7";
|
|
249
|
+
readonly '8': "my-8";
|
|
250
|
+
readonly '9': "my-9";
|
|
251
|
+
};
|
|
252
|
+
surface: {
|
|
253
|
+
readonly none: "bg-transparent text-inherit";
|
|
254
|
+
readonly app: "bg-app text-foreground";
|
|
255
|
+
readonly chrome: "bg-chrome text-foreground";
|
|
256
|
+
readonly subtle: "bg-surface-subtle text-foreground";
|
|
257
|
+
readonly panel: "bg-surface-panel text-foreground";
|
|
258
|
+
readonly raised: "bg-surface-raised text-foreground";
|
|
259
|
+
readonly overlay: "bg-surface-overlay text-foreground";
|
|
260
|
+
readonly accent: "bg-surface-accent text-surface-accent-fg";
|
|
261
|
+
readonly inverse: "bg-surface-inverse text-surface-inverse-fg";
|
|
262
|
+
};
|
|
263
|
+
tone: {
|
|
264
|
+
readonly solid: "";
|
|
265
|
+
readonly alpha: "";
|
|
266
|
+
};
|
|
267
|
+
radius: {
|
|
268
|
+
readonly none: "";
|
|
269
|
+
readonly xs: "rounded-1";
|
|
270
|
+
readonly sm: "rounded-2";
|
|
271
|
+
readonly md: "rounded-3";
|
|
272
|
+
readonly lg: "rounded-4";
|
|
273
|
+
readonly full: "rounded-6";
|
|
274
|
+
};
|
|
275
|
+
elevation: {
|
|
276
|
+
readonly none: "shadow-none";
|
|
277
|
+
readonly '1': "shadow-1";
|
|
278
|
+
readonly '2': "shadow-2";
|
|
279
|
+
readonly '3': "shadow-3";
|
|
280
|
+
readonly '4': "shadow-4";
|
|
281
|
+
readonly '5': "shadow-5";
|
|
282
|
+
readonly '6': "shadow-6";
|
|
283
|
+
};
|
|
284
|
+
width: {
|
|
285
|
+
readonly auto: "";
|
|
286
|
+
readonly full: "w-full";
|
|
287
|
+
readonly xs: "mx-auto w-full max-w-xs";
|
|
288
|
+
readonly sm: "mx-auto w-full max-w-sm";
|
|
289
|
+
readonly md: "mx-auto w-full max-w-md";
|
|
290
|
+
readonly lg: "mx-auto w-full max-w-lg";
|
|
291
|
+
readonly xl: "mx-auto w-full max-w-xl";
|
|
292
|
+
readonly prose: "mx-auto w-full max-w-prose";
|
|
293
|
+
};
|
|
294
|
+
height: {
|
|
295
|
+
readonly auto: "";
|
|
296
|
+
readonly full: "h-full";
|
|
297
|
+
readonly xs: "h-full max-h-xs";
|
|
298
|
+
readonly sm: "h-full max-h-sm";
|
|
299
|
+
readonly md: "h-full max-h-md";
|
|
300
|
+
readonly lg: "h-full max-h-lg";
|
|
301
|
+
readonly xl: "h-full max-h-xl";
|
|
302
|
+
};
|
|
303
|
+
align: {
|
|
304
|
+
readonly start: "items-start";
|
|
305
|
+
readonly center: "items-center";
|
|
306
|
+
readonly end: "items-end";
|
|
307
|
+
readonly stretch: "items-stretch";
|
|
308
|
+
readonly baseline: "items-baseline";
|
|
309
|
+
};
|
|
310
|
+
justify: {
|
|
311
|
+
readonly start: "justify-start";
|
|
312
|
+
readonly center: "justify-center";
|
|
313
|
+
readonly end: "justify-end";
|
|
314
|
+
readonly between: "justify-between";
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
declare const layoutBaseDefaults: {
|
|
318
|
+
gap: string;
|
|
319
|
+
gapX: string;
|
|
320
|
+
gapY: string;
|
|
321
|
+
padding: string;
|
|
322
|
+
paddingX: string;
|
|
323
|
+
paddingY: string;
|
|
324
|
+
margin: string;
|
|
325
|
+
marginX: string;
|
|
326
|
+
marginY: string;
|
|
327
|
+
surface: string;
|
|
328
|
+
tone: string;
|
|
329
|
+
radius: string;
|
|
330
|
+
elevation: string;
|
|
331
|
+
width: string;
|
|
332
|
+
height: string;
|
|
333
|
+
align: string;
|
|
334
|
+
justify: string;
|
|
335
|
+
};
|
|
336
|
+
declare const layoutTokens: readonly [{
|
|
337
|
+
readonly name: "--color-app";
|
|
338
|
+
readonly description: "Application background surface.";
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "--color-chrome";
|
|
341
|
+
readonly description: "Application chrome surface.";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "--color-chrome-alpha";
|
|
344
|
+
readonly description: "Translucent application chrome surface.";
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "--color-surface-subtle";
|
|
347
|
+
readonly description: "Quiet grouping surface.";
|
|
348
|
+
}, {
|
|
349
|
+
readonly name: "--color-surface-panel";
|
|
350
|
+
readonly description: "Contained foreground surface.";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "--color-surface-panel-alpha";
|
|
353
|
+
readonly description: "Translucent contained foreground surface.";
|
|
354
|
+
}, {
|
|
355
|
+
readonly name: "--color-surface-raised";
|
|
356
|
+
readonly description: "Inline surface lifted one layer above the current pane.";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "--color-surface-overlay";
|
|
359
|
+
readonly description: "Floating overlay surface.";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "--color-surface-overlay-alpha";
|
|
362
|
+
readonly description: "Translucent floating overlay surface.";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "--color-foreground";
|
|
365
|
+
readonly description: "Default surface foreground.";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "--color-surface-accent";
|
|
368
|
+
readonly description: "Accent surface background.";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "--color-surface-accent-fg";
|
|
371
|
+
readonly description: "Accent surface foreground.";
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "--color-surface-inverse";
|
|
374
|
+
readonly description: "Inverse surface background.";
|
|
375
|
+
}, {
|
|
376
|
+
readonly name: "--color-surface-inverse-fg";
|
|
377
|
+
readonly description: "Inverse surface foreground.";
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: "--shadow-border";
|
|
380
|
+
readonly description: "Tokenized edge-ring shadow.";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "--shadow-1";
|
|
383
|
+
readonly description: "Elevation step 1, aliased to the adaptive edge ring.";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "--shadow-2";
|
|
386
|
+
readonly description: "Elevation step 2.";
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "--shadow-3";
|
|
389
|
+
readonly description: "Elevation step 3.";
|
|
390
|
+
}, {
|
|
391
|
+
readonly name: "--shadow-4";
|
|
392
|
+
readonly description: "Elevation step 4.";
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "--shadow-5";
|
|
395
|
+
readonly description: "Elevation step 5.";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "--shadow-6";
|
|
398
|
+
readonly description: "Elevation step 6.";
|
|
399
|
+
}];
|
|
400
|
+
type LayoutAs = typeof LAYOUT_AS_VALUES[number];
|
|
401
|
+
type LayoutWidth = typeof LAYOUT_WIDTHS[number];
|
|
402
|
+
type LayoutHeight = typeof LAYOUT_HEIGHTS[number];
|
|
403
|
+
type LayoutAlign = typeof LAYOUT_ALIGNS[number];
|
|
404
|
+
type LayoutJustify = typeof LAYOUT_JUSTIFIES[number];
|
|
405
|
+
type LayoutColumns = typeof LAYOUT_COLUMNS[number];
|
|
406
|
+
type LayoutRows = typeof LAYOUT_ROWS[number];
|
|
407
|
+
export { LAYOUT_ALIGNS, LAYOUT_ALIGN_CLASSES, LAYOUT_AS_VALUES, LAYOUT_COLUMN_CLASSES, LAYOUT_COLUMNS, LAYOUT_HEIGHTS, LAYOUT_HEIGHT_CLASSES, LAYOUT_JUSTIFIES, LAYOUT_JUSTIFY_CLASSES, LAYOUT_ROWS, LAYOUT_ROW_CLASSES, LAYOUT_WIDTHS, LAYOUT_WIDTH_CLASSES, layoutAlignmentDetails, layoutAlignmentSchema, layoutBaseDefaults, layoutBaseVariants, layoutSpacingDetails, layoutSpacingSchema, layoutSurfaceDetails, layoutSurfaceSchema, layoutTokens, SURFACE_ALPHA_COMPOUNDS, };
|
|
408
|
+
export type { ComponentRadius, Elevation, LayoutAlign, LayoutAs, LayoutColumns, LayoutHeight, LayoutJustify, LayoutRows, LayoutSpace, LayoutWidth, Surface, SurfaceTone, };
|
|
@@ -12,7 +12,7 @@ declare const menuSchema: {
|
|
|
12
12
|
declare const menuItemSchema: {
|
|
13
13
|
as: import("../../runtime/codecs").OneOfCodec<"button" | "a">;
|
|
14
14
|
variant: import("../../runtime/codecs").OneOfCodec<"default" | "filled" | "subtle" | "ghost">;
|
|
15
|
-
color: import("../../runtime/codecs").OneOfCodec<"
|
|
15
|
+
color: import("../../runtime/codecs").OneOfCodec<"accent" | "danger" | "neutral" | "success" | "warning">;
|
|
16
16
|
type: import("../../runtime/codecs").OneOfCodec<"reset" | "submit" | "button">;
|
|
17
17
|
disabled: import("../../runtime/codecs").BoolCodec;
|
|
18
18
|
keepOpen: import("../../runtime/codecs").BoolCodec;
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { type PropState } from '../../runtime';
|
|
2
|
-
import { type EdgePosition, type HeadingLevel } from '../common';
|
|
3
|
-
declare const MODAL_MODES: readonly ["modal", "sheet"
|
|
2
|
+
import { type EdgePosition, type HeadingLevel, type SurfaceTone } from '../common';
|
|
3
|
+
declare const MODAL_MODES: readonly ["modal", "sheet"];
|
|
4
4
|
declare const MODAL_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
5
5
|
declare const MODAL_SIZES: readonly ["sm", "md", "lg", "xl", "full"];
|
|
6
|
+
declare const MODAL_SURFACES: readonly ["overlay", "panel", "inverse"];
|
|
7
|
+
declare const MODAL_TONES: readonly ["solid", "alpha"];
|
|
6
8
|
declare const MODAL_TITLE_AS_VALUES: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
7
9
|
type ModalMode = typeof MODAL_MODES[number];
|
|
8
10
|
type ModalSide = EdgePosition;
|
|
9
11
|
type ModalSize = typeof MODAL_SIZES[number];
|
|
12
|
+
type ModalSurface = typeof MODAL_SURFACES[number];
|
|
13
|
+
type ModalTone = SurfaceTone;
|
|
10
14
|
type ModalTitleAs = HeadingLevel;
|
|
11
15
|
declare const modalSchema: {
|
|
12
16
|
name: import("../../runtime/codecs").StringCodec;
|
|
13
17
|
open: import("../../runtime/codecs").BoolCodec;
|
|
14
|
-
mode: import("../../runtime/codecs").OneOfCodec<"modal" | "
|
|
18
|
+
mode: import("../../runtime/codecs").OneOfCodec<"modal" | "sheet">;
|
|
15
19
|
side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
|
|
16
|
-
size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "
|
|
20
|
+
size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
|
|
21
|
+
surface: import("../../runtime/codecs").OneOfCodec<"panel" | "overlay" | "inverse">;
|
|
22
|
+
tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
|
|
17
23
|
dismissible: import("../../runtime/codecs").BoolCodec;
|
|
18
24
|
closable: import("../../runtime/codecs").BoolCodec;
|
|
19
25
|
disabled: import("../../runtime/codecs").BoolCodec;
|
|
@@ -52,5 +58,5 @@ declare const modalCloseSchema: {
|
|
|
52
58
|
};
|
|
53
59
|
type ModalProps = PropState<typeof modalSchema>;
|
|
54
60
|
type ModalTriggerProps = PropState<typeof modalTriggerSchema>;
|
|
55
|
-
export { MODAL_SIDES, MODAL_SIZES, MODAL_TITLE_AS_VALUES, MODAL_MODES, modalBodySchema, modalCloseSchema, modalDescriptionSchema, modalFooterSchema, modalOutletSchema, modalSchema, modalTitleSchema, modalTriggerSchema, };
|
|
56
|
-
export type { ModalSide, ModalProps, ModalSize, ModalTitleAs, ModalTriggerProps, ModalMode, };
|
|
61
|
+
export { MODAL_SIDES, MODAL_SIZES, MODAL_SURFACES, MODAL_TONES, MODAL_TITLE_AS_VALUES, MODAL_MODES, modalBodySchema, modalCloseSchema, modalDescriptionSchema, modalFooterSchema, modalOutletSchema, modalSchema, modalTitleSchema, modalTriggerSchema, };
|
|
62
|
+
export type { ModalSide, ModalProps, ModalSize, ModalSurface, ModalTone, ModalTitleAs, ModalTriggerProps, ModalMode, };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type LayoutAs } from '../layout';
|
|
3
|
+
declare const SECTION_DISPLAYS: readonly ["block", "none"];
|
|
4
|
+
declare const SECTION_SIZES: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
5
|
+
declare const sectionSchema: {
|
|
6
|
+
padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
7
|
+
paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
8
|
+
paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
9
|
+
margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
10
|
+
marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
11
|
+
marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
12
|
+
surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
|
|
13
|
+
tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
|
|
14
|
+
radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
|
|
15
|
+
elevation: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
|
|
16
|
+
width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
|
|
17
|
+
height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
|
|
18
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
19
|
+
as: import("../../runtime/codecs").OneOfCodec<"article" | "aside" | "div" | "footer" | "form" | "header" | "li" | "main" | "nav" | "ol" | "section" | "span" | "ul">;
|
|
20
|
+
display: import("../../runtime/codecs").OneOfCodec<"none" | "block">;
|
|
21
|
+
size: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
22
|
+
};
|
|
23
|
+
type SectionDisplay = typeof SECTION_DISPLAYS[number];
|
|
24
|
+
type SectionSize = typeof SECTION_SIZES[number];
|
|
25
|
+
type SectionProps = PropState<typeof sectionSchema>;
|
|
26
|
+
export { SECTION_DISPLAYS, SECTION_SIZES, sectionSchema, };
|
|
27
|
+
export type { LayoutAs as SectionAs, SectionDisplay, SectionProps, SectionSize, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { type PropState } from '../../runtime';
|
|
2
|
-
import { type Alignment, type ControlSize, type ControlVariant, type IconVariant, type Position } from '../common';
|
|
2
|
+
import { type Alignment, type ComponentRadius, type ControlSize, type ControlVariant, type IconVariant, type Position } from '../common';
|
|
3
3
|
import { BADGE_COLORS, BADGE_VARIANTS, type BadgeColor, type BadgeVariant } from '../badge/contract';
|
|
4
4
|
declare const SELECT_MODES: readonly ["listbox", "combobox", "pillbox", "native"];
|
|
5
5
|
declare const SELECT_VARIANTS: readonly ["outline", "filled"];
|
|
6
6
|
declare const SELECT_SIZES: readonly ["xs", "sm", "md", "lg", "xlg"];
|
|
7
|
+
declare const SELECT_RADII: readonly ["none", "xs", "sm", "md", "lg", "full"];
|
|
7
8
|
declare const SELECT_SIDES: readonly ["bottom", "top", "left", "right"];
|
|
8
9
|
declare const SELECT_ALIGNS: readonly ["start", "center", "end"];
|
|
9
10
|
declare const SELECT_ICON_VARIANTS: readonly ["outline", "solid", "mini", "micro"];
|
|
10
11
|
declare const SELECT_CLEARS: readonly ["stay", "close"];
|
|
11
|
-
declare const SELECT_MARKS: readonly ["check", "checkbox"];
|
|
12
|
+
declare const SELECT_MARKS: readonly ["check", "checkbox", "none"];
|
|
12
13
|
type SelectMode = typeof SELECT_MODES[number];
|
|
13
14
|
type SelectVariant = ControlVariant;
|
|
14
15
|
type SelectSize = ControlSize;
|
|
16
|
+
type SelectRadius = ComponentRadius;
|
|
15
17
|
type SelectSide = Position;
|
|
16
18
|
type SelectAlign = Alignment;
|
|
17
19
|
type SelectIconVariant = IconVariant;
|
|
@@ -31,7 +33,7 @@ declare const selectSchema: {
|
|
|
31
33
|
clearable: import("../../runtime/codecs").BoolCodec;
|
|
32
34
|
clear: import("../../runtime/codecs").OneOfCodec<"close" | "stay">;
|
|
33
35
|
suffix: import("../../runtime/codecs").StringCodec;
|
|
34
|
-
mark: import("../../runtime/codecs").OneOfCodec<"checkbox" | "check">;
|
|
36
|
+
mark: import("../../runtime/codecs").OneOfCodec<"none" | "checkbox" | "check">;
|
|
35
37
|
open: import("../../runtime/codecs").BoolCodec;
|
|
36
38
|
disabled: import("../../runtime/codecs").BoolCodec;
|
|
37
39
|
readonly: import("../../runtime/codecs").BoolCodec;
|
|
@@ -42,6 +44,7 @@ declare const selectSchema: {
|
|
|
42
44
|
path: import("../../runtime/codecs").StringCodec;
|
|
43
45
|
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
44
46
|
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
|
|
47
|
+
radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
|
|
45
48
|
side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
|
|
46
49
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
47
50
|
offset: import("../../runtime/codecs").NumberCodec;
|
|
@@ -57,8 +60,8 @@ declare const selectSchema: {
|
|
|
57
60
|
searchClass: import("../../runtime/codecs").StringCodec;
|
|
58
61
|
listboxClass: import("../../runtime/codecs").StringCodec;
|
|
59
62
|
optionClass: import("../../runtime/codecs").StringCodec;
|
|
60
|
-
chipVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "
|
|
61
|
-
chipColor: import("../../runtime/codecs").OneOfCodec<"
|
|
63
|
+
chipVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "soft" | "surface">;
|
|
64
|
+
chipColor: import("../../runtime/codecs").OneOfCodec<"accent" | "danger" | "neutral" | "success" | "warning">;
|
|
62
65
|
chipClass: import("../../runtime/codecs").StringCodec;
|
|
63
66
|
class: import("../../runtime/codecs").StringCodec;
|
|
64
67
|
};
|
|
@@ -86,5 +89,5 @@ declare const selectCreateOptionSchema: {
|
|
|
86
89
|
type SelectProps = PropState<typeof selectSchema>;
|
|
87
90
|
type SelectOptionProps = PropState<typeof selectOptionSchema>;
|
|
88
91
|
type SelectCreateOptionProps = PropState<typeof selectCreateOptionSchema>;
|
|
89
|
-
export { SELECT_ALIGNS, SELECT_CLEARS, BADGE_COLORS as SELECT_CHIP_COLORS, BADGE_VARIANTS as SELECT_CHIP_VARIANTS, SELECT_ICON_VARIANTS, SELECT_MARKS, SELECT_MODES, SELECT_SIDES, SELECT_SIZES, SELECT_VARIANTS, selectCreateOptionSchema, selectOptionSchema, selectSchema, };
|
|
90
|
-
export type { SelectAlign, SelectClear, SelectChipColor, SelectChipVariant, SelectCreateOptionProps, SelectIconVariant, SelectMark, SelectOptionProps, SelectSide, SelectProps, SelectSize, SelectMode, SelectVariant, };
|
|
92
|
+
export { SELECT_ALIGNS, SELECT_CLEARS, BADGE_COLORS as SELECT_CHIP_COLORS, BADGE_VARIANTS as SELECT_CHIP_VARIANTS, SELECT_ICON_VARIANTS, SELECT_MARKS, SELECT_MODES, SELECT_RADII, SELECT_SIDES, SELECT_SIZES, SELECT_VARIANTS, selectCreateOptionSchema, selectOptionSchema, selectSchema, };
|
|
93
|
+
export type { SelectAlign, SelectClear, SelectChipColor, SelectChipVariant, SelectCreateOptionProps, SelectIconVariant, SelectMark, SelectOptionProps, SelectSide, SelectProps, SelectRadius, SelectSize, SelectMode, SelectVariant, };
|
|
@@ -74,11 +74,14 @@ type SelectData = {
|
|
|
74
74
|
syncTrigger(): void;
|
|
75
75
|
syncInputs(): void;
|
|
76
76
|
syncListbox(): void;
|
|
77
|
+
syncClosedState(): void;
|
|
77
78
|
syncOptions(): void;
|
|
78
79
|
syncChips(): void;
|
|
79
80
|
syncHiddenInputs(): void;
|
|
80
81
|
mount(): void;
|
|
81
82
|
unmount(): void;
|
|
83
|
+
exitPopover(): void;
|
|
84
|
+
finishClose(): void;
|
|
82
85
|
setup(): void;
|
|
83
86
|
selectedOption(): SelectOption | null;
|
|
84
87
|
selectedContent(option: SelectOption): DocumentFragment;
|
|
@@ -25,7 +25,7 @@ declare const sidebarSchema: {
|
|
|
25
25
|
declare const sidebarItemSchema: {
|
|
26
26
|
as: import("../../runtime/codecs").OneOfCodec<"button" | "a">;
|
|
27
27
|
variant: import("../../runtime/codecs").OneOfCodec<"ghost" | "surface">;
|
|
28
|
-
color: import("../../runtime/codecs").OneOfCodec<"
|
|
28
|
+
color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
|
|
29
29
|
href: import("../../runtime/codecs").StringCodec;
|
|
30
30
|
current: import("../../runtime/codecs").BoolCodec;
|
|
31
31
|
disabled: import("../../runtime/codecs").BoolCodec;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type LayoutAlign, type LayoutAs, type LayoutJustify, type LayoutSpace } from '../layout';
|
|
3
|
+
declare const STACK_DISPLAYS: readonly ["grid", "inline-grid", "none"];
|
|
4
|
+
declare const stackSchema: {
|
|
5
|
+
padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
6
|
+
paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
7
|
+
paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
8
|
+
margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
9
|
+
marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
10
|
+
marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
11
|
+
surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
|
|
12
|
+
tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
|
|
13
|
+
radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
|
|
14
|
+
elevation: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
|
|
15
|
+
width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
|
|
16
|
+
height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
|
|
17
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
18
|
+
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch" | "baseline">;
|
|
19
|
+
justify: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "between">;
|
|
20
|
+
gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
21
|
+
gapX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
22
|
+
gapY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
|
|
23
|
+
as: import("../../runtime/codecs").OneOfCodec<"article" | "aside" | "div" | "footer" | "form" | "header" | "li" | "main" | "nav" | "ol" | "section" | "span" | "ul">;
|
|
24
|
+
display: import("../../runtime/codecs").OneOfCodec<"grid" | "none" | "inline-grid">;
|
|
25
|
+
};
|
|
26
|
+
type StackDisplay = typeof STACK_DISPLAYS[number];
|
|
27
|
+
type StackProps = PropState<typeof stackSchema>;
|
|
28
|
+
export { STACK_DISPLAYS, stackSchema, };
|
|
29
|
+
export type { LayoutAlign as StackAlign, LayoutAs as StackAs, LayoutJustify as StackJustify, LayoutSpace as StackSpace, StackDisplay, StackProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -19,7 +19,7 @@ declare const tableSchema: {
|
|
|
19
19
|
hover: import("../../runtime/codecs").BoolCodec;
|
|
20
20
|
stickyHeader: import("../../runtime/codecs").BoolCodec;
|
|
21
21
|
nowrap: import("../../runtime/codecs").BoolCodec;
|
|
22
|
-
width: import("../../runtime/codecs").OneOfCodec<"
|
|
22
|
+
width: import("../../runtime/codecs").OneOfCodec<"full" | "auto">;
|
|
23
23
|
class: import("../../runtime/codecs").StringCodec;
|
|
24
24
|
tableClass: import("../../runtime/codecs").StringCodec;
|
|
25
25
|
};
|
|
@@ -39,7 +39,7 @@ declare const tableRowSchema: {
|
|
|
39
39
|
};
|
|
40
40
|
declare const tableColumnSchema: {
|
|
41
41
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
42
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
42
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
43
43
|
key: import("../../runtime/codecs").StringCodec;
|
|
44
44
|
target: import("../../runtime/codecs").StringCodec;
|
|
45
45
|
width: import("../../runtime/codecs").StringCodec;
|
|
@@ -61,13 +61,13 @@ declare const tableColumnFilterSchema: {
|
|
|
61
61
|
};
|
|
62
62
|
declare const tableRowHeaderSchema: {
|
|
63
63
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
64
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
64
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
65
65
|
scope: import("../../runtime/codecs").OneOfCodec<"row" | "rowgroup">;
|
|
66
66
|
class: import("../../runtime/codecs").StringCodec;
|
|
67
67
|
};
|
|
68
68
|
declare const tableCellSchema: {
|
|
69
69
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
70
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
70
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
71
71
|
class: import("../../runtime/codecs").StringCodec;
|
|
72
72
|
};
|
|
73
73
|
declare const tableEmptySchema: {
|