@hypoth-ui/wc 0.1.1
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/LICENSE +21 -0
- package/README.md +60 -0
- package/dist/button-MKQKTC5Q.js +10 -0
- package/dist/button-MKQKTC5Q.js.map +1 -0
- package/dist/chunk-4HLM6DBG.js +910 -0
- package/dist/chunk-4HLM6DBG.js.map +1 -0
- package/dist/chunk-55ID7LJL.js +3602 -0
- package/dist/chunk-55ID7LJL.js.map +1 -0
- package/dist/chunk-66HFYJD7.js +86 -0
- package/dist/chunk-66HFYJD7.js.map +1 -0
- package/dist/chunk-CZOXIJVS.js +70 -0
- package/dist/chunk-CZOXIJVS.js.map +1 -0
- package/dist/chunk-DHUM4Q5Y.js +495 -0
- package/dist/chunk-DHUM4Q5Y.js.map +1 -0
- package/dist/chunk-DNNI5BDE.js +1842 -0
- package/dist/chunk-DNNI5BDE.js.map +1 -0
- package/dist/chunk-GXKZ6E6K.js +99 -0
- package/dist/chunk-GXKZ6E6K.js.map +1 -0
- package/dist/chunk-H4GJJZ3N.js +51 -0
- package/dist/chunk-H4GJJZ3N.js.map +1 -0
- package/dist/chunk-JMPTFALJ.js +175 -0
- package/dist/chunk-JMPTFALJ.js.map +1 -0
- package/dist/chunk-MYQWCLUJ.js +45 -0
- package/dist/chunk-MYQWCLUJ.js.map +1 -0
- package/dist/chunk-QZSPWT7L.js +183 -0
- package/dist/chunk-QZSPWT7L.js.map +1 -0
- package/dist/chunk-TSKBQCTR.js +5137 -0
- package/dist/chunk-TSKBQCTR.js.map +1 -0
- package/dist/chunk-TXIIUVL3.js +130 -0
- package/dist/chunk-TXIIUVL3.js.map +1 -0
- package/dist/chunk-UM7WRO7W.js +237 -0
- package/dist/chunk-UM7WRO7W.js.map +1 -0
- package/dist/chunk-VPXL4RB3.js +202 -0
- package/dist/chunk-VPXL4RB3.js.map +1 -0
- package/dist/chunk-VX5CKSMN.js +39 -0
- package/dist/chunk-VX5CKSMN.js.map +1 -0
- package/dist/chunk-WQ5BEP3E.js +2845 -0
- package/dist/chunk-WQ5BEP3E.js.map +1 -0
- package/dist/chunk-YDQ434UH.js +60 -0
- package/dist/chunk-YDQ434UH.js.map +1 -0
- package/dist/chunk-ZWV4VI6D.js +153 -0
- package/dist/chunk-ZWV4VI6D.js.map +1 -0
- package/dist/core.d.ts +127 -0
- package/dist/core.js +38 -0
- package/dist/core.js.map +1 -0
- package/dist/data-display.d.ts +872 -0
- package/dist/data-display.js +57 -0
- package/dist/data-display.js.map +1 -0
- package/dist/ds-element-Db0LMfxI.d.ts +43 -0
- package/dist/feedback.d.ts +292 -0
- package/dist/feedback.js +31 -0
- package/dist/feedback.js.map +1 -0
- package/dist/form-controls.d.ts +1713 -0
- package/dist/form-controls.js +63 -0
- package/dist/form-controls.js.map +1 -0
- package/dist/icon-7IZTJ5WT.js +8 -0
- package/dist/icon-7IZTJ5WT.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +423 -0
- package/dist/index.js.map +1 -0
- package/dist/input-LB6UR37A.js +10 -0
- package/dist/input-LB6UR37A.js.map +1 -0
- package/dist/layout.d.ts +504 -0
- package/dist/layout.js +34 -0
- package/dist/layout.js.map +1 -0
- package/dist/link-NHDJ6SFY.js +9 -0
- package/dist/link-NHDJ6SFY.js.map +1 -0
- package/dist/navigation.d.ts +255 -0
- package/dist/navigation.js +111 -0
- package/dist/navigation.js.map +1 -0
- package/dist/overlays.d.ts +1291 -0
- package/dist/overlays.js +106 -0
- package/dist/overlays.js.map +1 -0
- package/dist/primitives.d.ts +230 -0
- package/dist/primitives.js +26 -0
- package/dist/primitives.js.map +1 -0
- package/dist/registry-Bns0t11H.d.ts +233 -0
- package/dist/skeleton-MUdd2029.d.ts +109 -0
- package/dist/spinner-BWaNlc-Y.d.ts +45 -0
- package/dist/spinner-UIYDUVBZ.js +8 -0
- package/dist/spinner-UIYDUVBZ.js.map +1 -0
- package/dist/stepper-CCRwcQOe.d.ts +851 -0
- package/dist/text-MT3S3EMU.js +8 -0
- package/dist/text-MT3S3EMU.js.map +1 -0
- package/dist/visually-hidden-MW2XY4CS.js +8 -0
- package/dist/visually-hidden-MW2XY4CS.js.map +1 -0
- package/package.json +92 -0
package/dist/layout.d.ts
ADDED
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { D as DSElement } from './ds-element-Db0LMfxI.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Layout Token Types
|
|
6
|
+
*
|
|
7
|
+
* Shared TypeScript types for layout primitive components.
|
|
8
|
+
* These types constrain props to valid design token values.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Spacing tokens for gap, padding, and margin props.
|
|
12
|
+
*/
|
|
13
|
+
type SpacingToken = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
14
|
+
/**
|
|
15
|
+
* Breakpoint tokens for responsive values.
|
|
16
|
+
*/
|
|
17
|
+
type BreakpointToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
18
|
+
/**
|
|
19
|
+
* Container size tokens for max-width constraints.
|
|
20
|
+
*/
|
|
21
|
+
type ContainerSizeToken = "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
22
|
+
/**
|
|
23
|
+
* Surface tokens for background colors.
|
|
24
|
+
*/
|
|
25
|
+
type SurfaceToken = "background" | "surface" | "surface-raised" | "surface-sunken" | "muted";
|
|
26
|
+
/**
|
|
27
|
+
* Radius tokens for border-radius.
|
|
28
|
+
*/
|
|
29
|
+
type RadiusToken = "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
30
|
+
/**
|
|
31
|
+
* Flex direction values.
|
|
32
|
+
*/
|
|
33
|
+
type FlexDirection = "row" | "column" | "row-reverse" | "column-reverse";
|
|
34
|
+
/**
|
|
35
|
+
* Flex alignment values (cross-axis).
|
|
36
|
+
*/
|
|
37
|
+
type FlexAlign = "start" | "center" | "end" | "stretch" | "baseline";
|
|
38
|
+
/**
|
|
39
|
+
* Flex justify values (main-axis).
|
|
40
|
+
*/
|
|
41
|
+
type FlexJustify = "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
42
|
+
/**
|
|
43
|
+
* Flex wrap values.
|
|
44
|
+
*/
|
|
45
|
+
type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
|
|
46
|
+
/**
|
|
47
|
+
* Grid column values.
|
|
48
|
+
*/
|
|
49
|
+
type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "auto-fit" | "auto-fill";
|
|
50
|
+
/**
|
|
51
|
+
* Split layout ratio values.
|
|
52
|
+
*/
|
|
53
|
+
type SplitRatio = "equal" | "1:2" | "2:1" | "1:3" | "3:1";
|
|
54
|
+
/**
|
|
55
|
+
* Spacer axis values.
|
|
56
|
+
*/
|
|
57
|
+
type SpacerAxis = "horizontal" | "vertical";
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Flow Web Component
|
|
61
|
+
*
|
|
62
|
+
* Primary 1D layout primitive with responsive direction switching.
|
|
63
|
+
* Replaces separate Stack/Inline components with unified API.
|
|
64
|
+
*
|
|
65
|
+
* @element ds-flow
|
|
66
|
+
* @slot - Default slot for children
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
declare class DsFlow extends DSElement {
|
|
70
|
+
static styles: never[];
|
|
71
|
+
/**
|
|
72
|
+
* Flex direction. Supports responsive syntax: "base:column md:row"
|
|
73
|
+
*/
|
|
74
|
+
direction: string;
|
|
75
|
+
/**
|
|
76
|
+
* Gap between children. Supports responsive syntax: "base:sm md:lg"
|
|
77
|
+
*/
|
|
78
|
+
gap: string;
|
|
79
|
+
/**
|
|
80
|
+
* Cross-axis alignment.
|
|
81
|
+
*/
|
|
82
|
+
align: FlexAlign;
|
|
83
|
+
/**
|
|
84
|
+
* Main-axis alignment.
|
|
85
|
+
*/
|
|
86
|
+
justify: FlexJustify;
|
|
87
|
+
/**
|
|
88
|
+
* Flex wrap behavior.
|
|
89
|
+
*/
|
|
90
|
+
wrap: FlexWrap;
|
|
91
|
+
/**
|
|
92
|
+
* Use inline-flex instead of flex.
|
|
93
|
+
*/
|
|
94
|
+
inline: boolean;
|
|
95
|
+
connectedCallback(): void;
|
|
96
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
97
|
+
private validateProps;
|
|
98
|
+
render(): TemplateResult;
|
|
99
|
+
}
|
|
100
|
+
declare global {
|
|
101
|
+
interface HTMLElementTagNameMap {
|
|
102
|
+
"ds-flow": DsFlow;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Container Web Component
|
|
108
|
+
*
|
|
109
|
+
* Constrains content width with responsive max-widths and padding.
|
|
110
|
+
*
|
|
111
|
+
* @element ds-container
|
|
112
|
+
* @slot - Default slot for children
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
declare class DsContainer extends DSElement {
|
|
116
|
+
static styles: never[];
|
|
117
|
+
/**
|
|
118
|
+
* Maximum width constraint.
|
|
119
|
+
*/
|
|
120
|
+
size: ContainerSizeToken;
|
|
121
|
+
/**
|
|
122
|
+
* Horizontal padding.
|
|
123
|
+
*/
|
|
124
|
+
padding: SpacingToken;
|
|
125
|
+
connectedCallback(): void;
|
|
126
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
127
|
+
private validateProps;
|
|
128
|
+
render(): TemplateResult;
|
|
129
|
+
}
|
|
130
|
+
declare global {
|
|
131
|
+
interface HTMLElementTagNameMap {
|
|
132
|
+
"ds-container": DsContainer;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Grid Web Component
|
|
138
|
+
*
|
|
139
|
+
* 2D grid layout with responsive columns.
|
|
140
|
+
*
|
|
141
|
+
* @element ds-grid
|
|
142
|
+
* @slot - Default slot for grid items
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
declare class DsGrid extends DSElement {
|
|
146
|
+
static styles: never[];
|
|
147
|
+
/**
|
|
148
|
+
* Number of columns. Supports responsive syntax: "base:1 md:2 lg:3"
|
|
149
|
+
*/
|
|
150
|
+
columns: string;
|
|
151
|
+
/**
|
|
152
|
+
* Gap between grid items. Supports responsive syntax: "base:sm lg:lg"
|
|
153
|
+
*/
|
|
154
|
+
gap: string;
|
|
155
|
+
/**
|
|
156
|
+
* Row gap override.
|
|
157
|
+
*/
|
|
158
|
+
rowGap?: SpacingToken;
|
|
159
|
+
/**
|
|
160
|
+
* Column gap override.
|
|
161
|
+
*/
|
|
162
|
+
columnGap?: SpacingToken;
|
|
163
|
+
connectedCallback(): void;
|
|
164
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
165
|
+
private validateProps;
|
|
166
|
+
render(): TemplateResult;
|
|
167
|
+
}
|
|
168
|
+
declare global {
|
|
169
|
+
interface HTMLElementTagNameMap {
|
|
170
|
+
"ds-grid": DsGrid;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Box Web Component
|
|
176
|
+
*
|
|
177
|
+
* Token-only styling escape hatch for padding, background, and radius.
|
|
178
|
+
*
|
|
179
|
+
* @element ds-box
|
|
180
|
+
* @slot - Default slot for children
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
declare class DsBox extends DSElement {
|
|
184
|
+
static styles: never[];
|
|
185
|
+
/**
|
|
186
|
+
* Padding (all sides).
|
|
187
|
+
*/
|
|
188
|
+
p?: SpacingToken;
|
|
189
|
+
/**
|
|
190
|
+
* Horizontal padding.
|
|
191
|
+
*/
|
|
192
|
+
px?: SpacingToken;
|
|
193
|
+
/**
|
|
194
|
+
* Vertical padding.
|
|
195
|
+
*/
|
|
196
|
+
py?: SpacingToken;
|
|
197
|
+
/**
|
|
198
|
+
* Background color token.
|
|
199
|
+
*/
|
|
200
|
+
bg?: SurfaceToken;
|
|
201
|
+
/**
|
|
202
|
+
* Border radius token.
|
|
203
|
+
*/
|
|
204
|
+
radius?: RadiusToken;
|
|
205
|
+
connectedCallback(): void;
|
|
206
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
207
|
+
private validateProps;
|
|
208
|
+
render(): TemplateResult;
|
|
209
|
+
}
|
|
210
|
+
declare global {
|
|
211
|
+
interface HTMLElementTagNameMap {
|
|
212
|
+
"ds-box": DsBox;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Page Web Component
|
|
218
|
+
*
|
|
219
|
+
* Page wrapper with min-height and background.
|
|
220
|
+
*
|
|
221
|
+
* @element ds-page
|
|
222
|
+
* @slot - Default slot for page content
|
|
223
|
+
*/
|
|
224
|
+
|
|
225
|
+
type MinHeightValue = "viewport" | "full";
|
|
226
|
+
declare class DsPage extends DSElement {
|
|
227
|
+
static styles: never[];
|
|
228
|
+
/**
|
|
229
|
+
* Background color token.
|
|
230
|
+
*/
|
|
231
|
+
bg: SurfaceToken;
|
|
232
|
+
/**
|
|
233
|
+
* Minimum height.
|
|
234
|
+
*/
|
|
235
|
+
minHeight: MinHeightValue;
|
|
236
|
+
connectedCallback(): void;
|
|
237
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
238
|
+
private validateProps;
|
|
239
|
+
render(): TemplateResult;
|
|
240
|
+
}
|
|
241
|
+
declare global {
|
|
242
|
+
interface HTMLElementTagNameMap {
|
|
243
|
+
"ds-page": DsPage;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Section Web Component
|
|
249
|
+
*
|
|
250
|
+
* Semantic section wrapper with consistent vertical spacing.
|
|
251
|
+
*
|
|
252
|
+
* @element ds-section
|
|
253
|
+
* @slot - Default slot for section content
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
declare class DsSection extends DSElement {
|
|
257
|
+
static styles: never[];
|
|
258
|
+
/**
|
|
259
|
+
* Vertical padding.
|
|
260
|
+
*/
|
|
261
|
+
spacing: SpacingToken;
|
|
262
|
+
connectedCallback(): void;
|
|
263
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
264
|
+
private validateProps;
|
|
265
|
+
render(): TemplateResult;
|
|
266
|
+
}
|
|
267
|
+
declare global {
|
|
268
|
+
interface HTMLElementTagNameMap {
|
|
269
|
+
"ds-section": DsSection;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* AppShell Web Component
|
|
275
|
+
*
|
|
276
|
+
* Application structure with landmark regions using CSS Grid.
|
|
277
|
+
*
|
|
278
|
+
* @element ds-app-shell
|
|
279
|
+
* @slot header - Header region
|
|
280
|
+
* @slot sidebar - Sidebar region
|
|
281
|
+
* @slot - Default slot for main content
|
|
282
|
+
* @slot footer - Footer region
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
type SidebarPosition = "left" | "right" | "none";
|
|
286
|
+
declare class DsAppShell extends DSElement {
|
|
287
|
+
static styles: never[];
|
|
288
|
+
/**
|
|
289
|
+
* Sidebar position.
|
|
290
|
+
*/
|
|
291
|
+
sidebarPosition: SidebarPosition;
|
|
292
|
+
render(): TemplateResult;
|
|
293
|
+
}
|
|
294
|
+
declare global {
|
|
295
|
+
interface HTMLElementTagNameMap {
|
|
296
|
+
"ds-app-shell": DsAppShell;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Header Web Component
|
|
302
|
+
*
|
|
303
|
+
* Landmark header with sticky and safe-area support.
|
|
304
|
+
*
|
|
305
|
+
* @element ds-header
|
|
306
|
+
* @slot - Default slot for header content
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
declare class DsHeader extends DSElement {
|
|
310
|
+
static styles: never[];
|
|
311
|
+
/**
|
|
312
|
+
* Enable sticky positioning.
|
|
313
|
+
*/
|
|
314
|
+
sticky: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* Enable safe area insets.
|
|
317
|
+
*/
|
|
318
|
+
safeArea: boolean;
|
|
319
|
+
render(): TemplateResult;
|
|
320
|
+
}
|
|
321
|
+
declare global {
|
|
322
|
+
interface HTMLElementTagNameMap {
|
|
323
|
+
"ds-header": DsHeader;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Footer Web Component
|
|
329
|
+
*
|
|
330
|
+
* Landmark footer with sticky and safe-area support.
|
|
331
|
+
*
|
|
332
|
+
* @element ds-footer
|
|
333
|
+
* @slot - Default slot for footer content
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
declare class DsFooter extends DSElement {
|
|
337
|
+
static styles: never[];
|
|
338
|
+
/**
|
|
339
|
+
* Enable sticky positioning.
|
|
340
|
+
*/
|
|
341
|
+
sticky: boolean;
|
|
342
|
+
/**
|
|
343
|
+
* Enable safe area insets.
|
|
344
|
+
*/
|
|
345
|
+
safeArea: boolean;
|
|
346
|
+
render(): TemplateResult;
|
|
347
|
+
}
|
|
348
|
+
declare global {
|
|
349
|
+
interface HTMLElementTagNameMap {
|
|
350
|
+
"ds-footer": DsFooter;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Main Web Component
|
|
356
|
+
*
|
|
357
|
+
* Main content region for skip-link targeting.
|
|
358
|
+
*
|
|
359
|
+
* @element ds-main
|
|
360
|
+
* @slot - Default slot for main content
|
|
361
|
+
*/
|
|
362
|
+
|
|
363
|
+
declare class DsMain extends DSElement {
|
|
364
|
+
static styles: never[];
|
|
365
|
+
/**
|
|
366
|
+
* Element ID for skip-link targeting.
|
|
367
|
+
*/
|
|
368
|
+
id: string;
|
|
369
|
+
render(): TemplateResult;
|
|
370
|
+
}
|
|
371
|
+
declare global {
|
|
372
|
+
interface HTMLElementTagNameMap {
|
|
373
|
+
"ds-main": DsMain;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Spacer Web Component
|
|
379
|
+
*
|
|
380
|
+
* Explicit space element for fine-grained spacing control.
|
|
381
|
+
*
|
|
382
|
+
* @element ds-spacer
|
|
383
|
+
*/
|
|
384
|
+
|
|
385
|
+
declare class DsSpacer extends DSElement {
|
|
386
|
+
static styles: never[];
|
|
387
|
+
/**
|
|
388
|
+
* Size of the space.
|
|
389
|
+
*/
|
|
390
|
+
size: SpacingToken;
|
|
391
|
+
/**
|
|
392
|
+
* Axis direction.
|
|
393
|
+
*/
|
|
394
|
+
axis: SpacerAxis;
|
|
395
|
+
connectedCallback(): void;
|
|
396
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
397
|
+
private validateProps;
|
|
398
|
+
render(): TemplateResult;
|
|
399
|
+
}
|
|
400
|
+
declare global {
|
|
401
|
+
interface HTMLElementTagNameMap {
|
|
402
|
+
"ds-spacer": DsSpacer;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Center Web Component
|
|
408
|
+
*
|
|
409
|
+
* Centers content horizontally/vertically with optional max-width.
|
|
410
|
+
*
|
|
411
|
+
* @element ds-center
|
|
412
|
+
* @slot - Default slot for centered content
|
|
413
|
+
*/
|
|
414
|
+
|
|
415
|
+
declare class DsCenter extends DSElement {
|
|
416
|
+
static styles: never[];
|
|
417
|
+
/**
|
|
418
|
+
* Maximum width constraint.
|
|
419
|
+
*/
|
|
420
|
+
maxWidth?: ContainerSizeToken;
|
|
421
|
+
/**
|
|
422
|
+
* Enable vertical centering.
|
|
423
|
+
*/
|
|
424
|
+
vertical: boolean;
|
|
425
|
+
connectedCallback(): void;
|
|
426
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
427
|
+
private validateProps;
|
|
428
|
+
render(): TemplateResult;
|
|
429
|
+
}
|
|
430
|
+
declare global {
|
|
431
|
+
interface HTMLElementTagNameMap {
|
|
432
|
+
"ds-center": DsCenter;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Split Web Component
|
|
438
|
+
*
|
|
439
|
+
* Two-region layout with collapse breakpoint.
|
|
440
|
+
*
|
|
441
|
+
* @element ds-split
|
|
442
|
+
* @slot - Default slot for the two regions
|
|
443
|
+
*/
|
|
444
|
+
|
|
445
|
+
declare class DsSplit extends DSElement {
|
|
446
|
+
static styles: never[];
|
|
447
|
+
/**
|
|
448
|
+
* Breakpoint at which to collapse to single column.
|
|
449
|
+
*/
|
|
450
|
+
collapseAt: BreakpointToken;
|
|
451
|
+
/**
|
|
452
|
+
* Gap between regions.
|
|
453
|
+
*/
|
|
454
|
+
gap: SpacingToken;
|
|
455
|
+
/**
|
|
456
|
+
* Width ratio between regions.
|
|
457
|
+
*/
|
|
458
|
+
ratio: SplitRatio;
|
|
459
|
+
connectedCallback(): void;
|
|
460
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
461
|
+
private validateProps;
|
|
462
|
+
render(): TemplateResult;
|
|
463
|
+
}
|
|
464
|
+
declare global {
|
|
465
|
+
interface HTMLElementTagNameMap {
|
|
466
|
+
"ds-split": DsSplit;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Wrap Web Component
|
|
472
|
+
*
|
|
473
|
+
* Wrapping row layout for tags/chips.
|
|
474
|
+
*
|
|
475
|
+
* @element ds-wrap
|
|
476
|
+
* @slot - Default slot for wrapped items
|
|
477
|
+
*/
|
|
478
|
+
|
|
479
|
+
declare class DsWrap extends DSElement {
|
|
480
|
+
static styles: never[];
|
|
481
|
+
/**
|
|
482
|
+
* Gap between items.
|
|
483
|
+
*/
|
|
484
|
+
gap: SpacingToken;
|
|
485
|
+
/**
|
|
486
|
+
* Row gap override.
|
|
487
|
+
*/
|
|
488
|
+
rowGap?: SpacingToken;
|
|
489
|
+
/**
|
|
490
|
+
* Cross-axis alignment.
|
|
491
|
+
*/
|
|
492
|
+
align: FlexAlign;
|
|
493
|
+
connectedCallback(): void;
|
|
494
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
495
|
+
private validateProps;
|
|
496
|
+
render(): TemplateResult;
|
|
497
|
+
}
|
|
498
|
+
declare global {
|
|
499
|
+
interface HTMLElementTagNameMap {
|
|
500
|
+
"ds-wrap": DsWrap;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export { type BreakpointToken, type ContainerSizeToken, DsAppShell, DsBox, DsCenter, DsContainer, DsFlow, DsFooter, DsGrid, DsHeader, DsMain, DsPage, DsSection, DsSpacer, DsSplit, DsWrap, type FlexAlign, type FlexDirection, type FlexJustify, type FlexWrap, type GridColumns, type RadiusToken, type SpacerAxis, type SpacingToken, type SplitRatio, type SurfaceToken };
|
package/dist/layout.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DsAppShell,
|
|
3
|
+
DsBox,
|
|
4
|
+
DsCenter,
|
|
5
|
+
DsContainer,
|
|
6
|
+
DsFlow,
|
|
7
|
+
DsFooter,
|
|
8
|
+
DsGrid,
|
|
9
|
+
DsHeader,
|
|
10
|
+
DsMain,
|
|
11
|
+
DsPage,
|
|
12
|
+
DsSection,
|
|
13
|
+
DsSpacer,
|
|
14
|
+
DsSplit,
|
|
15
|
+
DsWrap
|
|
16
|
+
} from "./chunk-4HLM6DBG.js";
|
|
17
|
+
import "./chunk-H4GJJZ3N.js";
|
|
18
|
+
export {
|
|
19
|
+
DsAppShell,
|
|
20
|
+
DsBox,
|
|
21
|
+
DsCenter,
|
|
22
|
+
DsContainer,
|
|
23
|
+
DsFlow,
|
|
24
|
+
DsFooter,
|
|
25
|
+
DsGrid,
|
|
26
|
+
DsHeader,
|
|
27
|
+
DsMain,
|
|
28
|
+
DsPage,
|
|
29
|
+
DsSection,
|
|
30
|
+
DsSpacer,
|
|
31
|
+
DsSplit,
|
|
32
|
+
DsWrap
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|