@warp-ds/elements 2.2.0-next.17 → 2.2.0-next.19

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/index.d.ts CHANGED
@@ -1,110 +1,1826 @@
1
- import { WarpAffix } from './packages/affix/index';
2
- import { WarpAlert } from './packages/alert/index';
3
- import { WarpAttention } from './packages/attention/index';
4
- import { WarpBadge } from './packages/badge/index';
5
- import { WarpBox } from './packages/box/index';
6
- import { WarpBreadcrumbs } from './packages/breadcrumbs/index';
7
- import { WarpButton } from './packages/button/index';
8
- import { WarpCard } from './packages/card/index';
9
- import { WarpCombobox } from './packages/combobox/index';
10
- import { WarpDatepicker } from './packages/datepicker/datepicker';
11
- import { WarpDeadToggle } from './packages/dead-toggle/index';
12
- import { WarpExpandable } from './packages/expandable/index';
13
- import { WarpLink } from './packages/link/index';
14
- import { ModalFooter } from './packages/modal/modal-footer';
15
- import { ModalHeader } from './packages/modal/modal-header';
16
- import { ModalMain } from './packages/modal/modal-main';
17
- import { WarpPageIndicator } from './packages/pageindicator/index';
18
- import { WarpPagination } from './packages/pagination/index';
19
- import { WarpPill } from './packages/pill/index';
20
- import { WCheckbox } from './packages/rip-and-tear-checkbox/checkbox';
21
- import { WRadio } from './packages/rip-and-tear-radio/radio';
22
- import { WRadioGroup } from './packages/rip-and-tear-radio/radio-group';
23
- import { WarpSelect } from './packages/select/index';
24
- import { WarpSlider } from './packages/slider/slider';
25
- import { WarpSliderThumb } from './packages/slider/slider-thumb';
26
- import { WarpSteps, WarpStep } from './packages/steps/index';
27
- import { WarpSwitch } from './packages/switch/index';
28
- import { WarpTab, WarpTabs, WarpTabPanel } from './packages/tabs/index';
29
- import { WarpTextField } from './packages/textfield/index';
30
- import { WarpToastContainer, WarpToast } from './packages/toast/index';
31
1
 
32
- declare global {
33
- interface HTMLElementTagNameMap {
34
- 'w-badge': WarpBadge;
35
- 'w-affix': WarpAffix;
36
- 'w-alert': WarpAlert;
37
- 'w-attention': WarpAttention;
38
- 'w-box': WarpBox;
39
- 'w-breadcrumbs': WarpBreadcrumbs;
40
- 'w-button': WarpButton;
41
- 'w-card': WarpCard;
42
- 'w-combobox': WarpCombobox;
43
- 'w-datepicker': WarpDatepicker;
44
- 'w-dead-toggle': WarpDeadToggle;
45
- 'w-expandable': WarpExpandable;
46
- 'w-link': WarpLink;
47
- 'w-modal': ModalMain;
48
- 'w-modal-header': ModalHeader;
49
- 'w-modal-footer': ModalFooter;
50
- 'w-pageindicator': WarpPageIndicator;
51
- 'w-pagination': WarpPagination;
52
- 'w-pill': WarpPill;
53
- 'w-checkbox': WCheckbox;
54
- 'w-radio': WRadio;
55
- 'w-radio-group': WRadioGroup;
56
- 'w-select': WarpSelect;
57
- 'w-slider': WarpSlider;
58
- 'w-slider-thumb': WarpSliderThumb;
59
- 'w-steps': WarpSteps;
60
- 'w-step': WarpStep;
61
- 'w-switch': WarpSwitch;
62
- 'w-tab': WarpTab;
63
- 'w-tabs': WarpTabs;
64
- 'w-tab-panel': WarpTabPanel;
65
- 'w-textfield': WarpTextField;
66
- 'w-toast-container': WarpToastContainer;
67
- 'w-toast': WarpToast;
2
+ import type { ccSuffix, ccPrefix, WarpAffix } from "./packages/affix/index.ts";
3
+ import type { ccAttention, WarpAttention } from "./packages/attention/index.ts";
4
+ import type { WarpAlert } from "./packages/alert/index.ts";
5
+ import type { WarpBadge } from "./packages/badge/index.ts";
6
+ import type { WarpBox } from "./packages/box/index.ts";
7
+ import type { ccBreadcrumbs, WarpBreadcrumbs } from "./packages/breadcrumbs/index.ts";
8
+ import type { WarpLink } from "./packages/link/index.ts";
9
+ import type { ccButton, WarpButton } from "./packages/button/index.ts";
10
+ import type { ccCard, WarpCard } from "./packages/card/index.ts";
11
+ import type { ccCombobox, WarpCombobox } from "./packages/combobox/index.ts";
12
+ import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
13
+ import type { WarpDeadToggle } from "./packages/dead-toggle/index.ts";
14
+ import type { ccBox, ccExpandable, WarpExpandable } from "./packages/expandable/index.ts";
15
+ import type { ModalFooter } from "./packages/modal/modal-footer.ts";
16
+ import type { ModalHeader } from "./packages/modal/modal-header.ts";
17
+ import type { ModalMain } from "./packages/modal/modal-main.ts";
18
+ import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
19
+ import type { WarpPagination } from "./packages/pagination/index.ts";
20
+ import type { pillStyles, WarpPill } from "./packages/pill/index.ts";
21
+ import type { WCheckbox } from "./packages/rip-and-tear-checkbox/checkbox.ts";
22
+ import type { WRadio } from "./packages/rip-and-tear-radio/radio.ts";
23
+ import type { WRadioGroup } from "./packages/rip-and-tear-radio/radio-group.ts";
24
+ import type { ccSelect, ccLabel, ccHelpText, WarpSelect } from "./packages/select/index.ts";
25
+ import type { ccinput, WarpTextField } from "./packages/textfield/index.ts";
26
+ import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
27
+ import type { WarpSlider } from "./packages/slider/slider.ts";
28
+ import type { WarpSteps, WarpStep } from "./packages/steps/index.ts";
29
+ import type { WarpSwitch } from "./packages/switch/index.ts";
30
+ import type { WarpTabs } from "./packages/tabs/tabs.ts";
31
+ import type { WarpTab } from "./packages/tabs/tab.ts";
32
+ import type { WarpTabPanel } from "./packages/tabs/tab-panel.ts";
33
+
34
+ /**
35
+ * This type can be used to create scoped tags for your components.
36
+ *
37
+ * Usage:
38
+ *
39
+ * ```ts
40
+ * import type { ScopedElements } from "path/to/library/jsx-integration";
41
+ *
42
+ * declare module "my-library" {
43
+ * namespace JSX {
44
+ * interface IntrinsicElements
45
+ * extends ScopedElements<'test-', ''> {}
46
+ * }
47
+ * }
48
+ * ```
49
+ *
50
+ * @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
51
+ */
52
+ export type ScopedElements<
53
+ Prefix extends string = "",
54
+ Suffix extends string = ""
55
+ > = {
56
+ [Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
57
+ };
58
+
59
+ type BaseProps<T extends HTMLElement> = {
60
+
61
+ /** Content added between the opening and closing tags of the element */
62
+ children?: any;
63
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
64
+ class?: string;
65
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
66
+ className?: string;
67
+ /** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
68
+ classList?: Record<string, boolean | undefined>;
69
+ /** Specifies the text direction of the element. */
70
+ dir?: "ltr" | "rtl";
71
+ /** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
72
+ exportparts?: string;
73
+ /** For <label> and <output>, lets you associate the label with some control. */
74
+ htmlFor?: string;
75
+ /** Specifies whether the element should be hidden. */
76
+ hidden?: boolean | string;
77
+ /** A unique identifier for the element. */
78
+ id?: string;
79
+ /** Keys tell React which array item each component corresponds to */
80
+ key?: string | number;
81
+ /** Specifies the language of the element. */
82
+ lang?: string;
83
+ /** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
84
+ part?: string;
85
+ /** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
86
+ ref?: T | ((e: T) => void);
87
+ /** Adds a reference for a custom element slot */
88
+ slot?: string;
89
+ /** Prop for setting inline styles */
90
+ style?: Record<string, string | number>;
91
+ /** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
92
+ tabIndex?: number;
93
+ /** Specifies the tooltip text for the element. */
94
+ title?: string;
95
+ /** Passing 'no' excludes the element content from being translated. */
96
+ translate?: "yes" | "no";
97
+ /** The popover global attribute is used to designate an element as a popover element. */
98
+ popover?: "auto" | "hint" | "manual";
99
+ /** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
100
+ popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
101
+ /** Specifies the action to be performed on a popover element being controlled by a control element. */
102
+ popovertargetaction?: "show" | "hide" | "toggle";
103
+
104
+ } ;
105
+
106
+ type BaseEvents = {
107
+
108
+
109
+ };
110
+
111
+
112
+
113
+ export type WarpAffixProps = {
114
+ /** */
115
+ "aria-label"?: WarpAffix['ariaLabel'];
116
+ /** */
117
+ "ariaLabel"?: WarpAffix['ariaLabel'];
118
+ /** Add this property to render a clickable Warp close icon.
119
+
120
+ Set an `aria-label` that explains the action when using this. */
121
+ "clear"?: WarpAffix['clear'];
122
+ /** Add this property to render a clickable Warp search icon.
123
+
124
+ Set an `aria-label` that explains the action when using this. */
125
+ "search"?: WarpAffix['search'];
126
+ /** */
127
+ "label"?: WarpAffix['label'];
128
+
129
+
130
+ }
131
+
132
+
133
+ export type WarpAttentionProps = {
134
+ /** */
135
+ "show"?: WarpAttention['show'];
136
+ /** */
137
+ "placement"?: WarpAttention['placement'];
138
+ /** */
139
+ "tooltip"?: WarpAttention['tooltip'];
140
+ /** */
141
+ "callout"?: WarpAttention['callout'];
142
+ /** */
143
+ "popover"?: WarpAttention['popover'];
144
+ /** */
145
+ "highlight"?: WarpAttention['highlight'];
146
+ /** */
147
+ "can-close"?: WarpAttention['canClose'];
148
+ /** */
149
+ "canClose"?: WarpAttention['canClose'];
150
+ /** */
151
+ "no-arrow"?: WarpAttention['noArrow'];
152
+ /** */
153
+ "noArrow"?: WarpAttention['noArrow'];
154
+ /** */
155
+ "distance"?: WarpAttention['distance'];
156
+ /** */
157
+ "skidding"?: WarpAttention['skidding'];
158
+ /** */
159
+ "flip"?: WarpAttention['flip'];
160
+ /** */
161
+ "cross-axis"?: WarpAttention['crossAxis'];
162
+ /** */
163
+ "crossAxis"?: WarpAttention['crossAxis'];
164
+ /** */
165
+ "fallback-placements"?: WarpAttention['fallbackPlacements'];
166
+ /** */
167
+ "fallbackPlacements"?: WarpAttention['fallbackPlacements'];
168
+ /** */
169
+ "_initialPlacement"?: WarpAttention['_initialPlacement'];
170
+ /** */
171
+ "_actualDirection"?: WarpAttention['_actualDirection'];
172
+
173
+
174
+ }
175
+
176
+
177
+ export type WarpAlertProps = {
178
+ /** */
179
+ "variant"?: WarpAlert['variant'];
180
+ /** */
181
+ "show"?: WarpAlert['show'];
182
+ /** */
183
+ "role"?: WarpAlert['role'];
184
+
185
+
186
+ }
187
+
188
+
189
+ export type WarpBadgeProps = {
190
+ /** */
191
+ "variant"?: WarpBadge['variant'];
192
+ /** */
193
+ "position"?: WarpBadge['position'];
194
+
195
+
196
+ }
197
+
198
+
199
+ export type WarpBoxProps = {
200
+ /** */
201
+ "bleed"?: WarpBox['bleed'];
202
+ /** */
203
+ "bordered"?: WarpBox['bordered'];
204
+ /** */
205
+ "info"?: WarpBox['info'];
206
+ /** */
207
+ "neutral"?: WarpBox['neutral'];
208
+ /** */
209
+ "role"?: WarpBox['role'];
210
+
211
+
212
+ }
213
+
214
+
215
+ export type WarpBreadcrumbsProps = {
216
+ /** */
217
+ "aria-label"?: WarpBreadcrumbs['ariaLabel'];
218
+ /** */
219
+ "ariaLabel"?: WarpBreadcrumbs['ariaLabel'];
220
+
221
+
222
+ }
223
+
224
+
225
+ export type WarpLinkProps = {
226
+ /** */
227
+ "autofocus"?: WarpLink['autofocus'];
228
+ /** */
229
+ "variant"?: WarpLink['variant'];
230
+ /** */
231
+ "quiet"?: WarpLink['quiet'];
232
+ /** */
233
+ "small"?: WarpLink['small'];
234
+ /** */
235
+ "href"?: WarpLink['href'];
236
+ /** */
237
+ "disabled"?: WarpLink['disabled'];
238
+ /** */
239
+ "target"?: WarpLink['target'];
240
+ /** */
241
+ "rel"?: WarpLink['rel'];
242
+ /** */
243
+ "full-width"?: WarpLink['fullWidth'];
244
+ /** */
245
+ "fullWidth"?: WarpLink['fullWidth'];
246
+ /** */
247
+ "button-class"?: WarpLink['buttonClass'];
248
+ /** */
249
+ "buttonClass"?: WarpLink['buttonClass'];
250
+ /** */
251
+ "name"?: WarpLink['name'];
252
+ /** */
253
+ "classes"?: WarpLink['classes'];
254
+
255
+
256
+ }
257
+
258
+
259
+ export type WarpButtonProps = {
260
+ /** */
261
+ "type"?: WarpButton['type'];
262
+ /** */
263
+ "autofocus"?: WarpButton['autofocus'];
264
+ /** */
265
+ "variant"?: WarpButton['variant'];
266
+ /** */
267
+ "quiet"?: WarpButton['quiet'];
268
+ /** */
269
+ "small"?: WarpButton['small'];
270
+ /** */
271
+ "loading"?: WarpButton['loading'];
272
+ /** */
273
+ "href"?: WarpButton['href'];
274
+ /** */
275
+ "target"?: WarpButton['target'];
276
+ /** */
277
+ "rel"?: WarpButton['rel'];
278
+ /** */
279
+ "full-width"?: WarpButton['fullWidth'];
280
+ /** */
281
+ "fullWidth"?: WarpButton['fullWidth'];
282
+ /** */
283
+ "button-class"?: WarpButton['buttonClass'];
284
+ /** */
285
+ "buttonClass"?: WarpButton['buttonClass'];
286
+ /** */
287
+ "name"?: WarpButton['name'];
288
+ /** */
289
+ "value"?: WarpButton['value'];
290
+ /** */
291
+ "ariaValueTextLoading"?: WarpButton['ariaValueTextLoading'];
292
+
293
+
294
+ }
295
+
296
+
297
+ export type WarpCardProps = {
298
+ /** */
299
+ "selected"?: WarpCard['selected'];
300
+ /** */
301
+ "flat"?: WarpCard['flat'];
302
+ /** */
303
+ "clickable"?: WarpCard['clickable'];
304
+ /** */
305
+ "buttonText"?: WarpCard['buttonText'];
306
+
307
+
308
+ }
309
+
310
+
311
+ export type WarpComboboxProps = {
312
+ /** The available options to select from */
313
+ "options"?: WarpCombobox['options'];
314
+ /** Label above input */
315
+ "label"?: WarpCombobox['label'];
316
+ /** Input placeholder */
317
+ "placeholder"?: WarpCombobox['placeholder'];
318
+ /** The input value */
319
+ "value"?: WarpCombobox['value'];
320
+ /** Whether the popover opens when focus is on the text field */
321
+ "open-on-focus"?: WarpCombobox['openOnFocus'];
322
+ /** Whether the popover opens when focus is on the text field */
323
+ "openOnFocus"?: WarpCombobox['openOnFocus'];
324
+ /** Select active option on blur */
325
+ "select-on-blur"?: WarpCombobox['selectOnBlur'];
326
+ /** Select active option on blur */
327
+ "selectOnBlur"?: WarpCombobox['selectOnBlur'];
328
+ /** Whether the matching text segments in the options should be highlighted */
329
+ "match-text-segments"?: WarpCombobox['matchTextSegments'];
330
+ /** Whether the matching text segments in the options should be highlighted */
331
+ "matchTextSegments"?: WarpCombobox['matchTextSegments'];
332
+ /** Disable client-side static filtering */
333
+ "disable-static-filtering"?: WarpCombobox['disableStaticFiltering'];
334
+ /** Disable client-side static filtering */
335
+ "disableStaticFiltering"?: WarpCombobox['disableStaticFiltering'];
336
+ /** Renders the input field in an invalid state */
337
+ "invalid"?: WarpCombobox['invalid'];
338
+ /** The content to display as the help text */
339
+ "help-text"?: WarpCombobox['helpText'];
340
+ /** The content to display as the help text */
341
+ "helpText"?: WarpCombobox['helpText'];
342
+ /** Whether the element is disabled */
343
+ "disabled"?: WarpCombobox['disabled'];
344
+ /** Whether the element is required */
345
+ "required"?: WarpCombobox['required'];
346
+ /** Whether to show optional text */
347
+ "optional"?: WarpCombobox['optional'];
348
+ /** Additional container styling */
349
+ "class-name"?: WarpCombobox['containerClassName'];
350
+ /** Additional container styling */
351
+ "containerClassName"?: WarpCombobox['containerClassName'];
352
+ /** Additional list styling */
353
+ "list-class-name"?: WarpCombobox['listClassName'];
354
+ /** Additional list styling */
355
+ "listClassName"?: WarpCombobox['listClassName'];
356
+ /** Name attribute for form submission */
357
+ "name"?: WarpCombobox['name'];
358
+
359
+
360
+ }
361
+
362
+
363
+ export type WarpDatepickerProps = {
364
+ /** */
365
+ "label"?: WarpDatepicker['label'];
366
+ /** Takes precedence over the `<html>` lang attribute. */
367
+ "lang"?: WarpDatepicker['lang'];
368
+ /** */
369
+ "name"?: WarpDatepicker['name'];
370
+ /** */
371
+ "value"?: WarpDatepicker['value'];
372
+ /** Decides the format of the date as shown in the calendar header.
373
+
374
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
375
+ "header-format"?: WarpDatepicker['headerFormat'];
376
+ /** Decides the format of the date as shown in the calendar header.
377
+
378
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
379
+ "headerFormat"?: WarpDatepicker['headerFormat'];
380
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
381
+
382
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
383
+ "weekday-format"?: WarpDatepicker['weekdayFormat'];
384
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
385
+
386
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
387
+ "weekdayFormat"?: WarpDatepicker['weekdayFormat'];
388
+ /** Decides the format of the day in the calendar as read to screen readers.
389
+
390
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
391
+ "day-format"?: WarpDatepicker['dayFormat'];
392
+ /** Decides the format of the day in the calendar as read to screen readers.
393
+
394
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
395
+ "dayFormat"?: WarpDatepicker['dayFormat'];
396
+ /** Lets you control if a date in the calendar should be disabled.
397
+
398
+ This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
399
+ "isDayDisabled"?: WarpDatepicker['isDayDisabled'];
400
+ /** */
401
+ "isCalendarOpen"?: WarpDatepicker['isCalendarOpen'];
402
+ /** */
403
+ "navigationDate"?: WarpDatepicker['navigationDate'];
404
+ /** */
405
+ "calendar"?: WarpDatepicker['calendar'];
406
+ /** */
407
+ "input"?: WarpDatepicker['input'];
408
+ /** */
409
+ "toggleButton"?: WarpDatepicker['toggleButton'];
410
+ /** */
411
+ "wrapper"?: WarpDatepicker['wrapper'];
412
+ /** This is the first focusable element, needed for the modal focus trap.
413
+
414
+ Don't cache this and other `@query` fields from inside the calendar modal.
415
+ They work the first time, but once the calendar is closed and reopened
416
+ the query will point to an element that doesn't exist anymore. */
417
+ "previousMonthButton"?: WarpDatepicker['previousMonthButton'];
418
+ /** */
419
+ "todayCell"?: WarpDatepicker['todayCell'];
420
+ /** */
421
+ "selectedCell"?: WarpDatepicker['selectedCell'];
422
+
423
+
424
+ }
425
+
426
+
427
+ export type WarpDeadToggleProps = {
428
+ /** */
429
+ "type"?: WarpDeadToggle['type'];
430
+ /** */
431
+ "checked"?: WarpDeadToggle['checked'];
432
+ /** */
433
+ "indeterminate"?: WarpDeadToggle['indeterminate'];
434
+ /** */
435
+ "invalid"?: WarpDeadToggle['invalid'];
436
+
437
+
438
+ }
439
+
440
+
441
+ export type WarpExpandableProps = {
442
+ /** */
443
+ "expanded"?: WarpExpandable['expanded'];
444
+ /** */
445
+ "title"?: WarpExpandable['title'];
446
+ /** */
447
+ "box"?: WarpExpandable['box'];
448
+ /** */
449
+ "bleed"?: WarpExpandable['bleed'];
450
+ /** */
451
+ "button-class"?: WarpExpandable['buttonClass'];
452
+ /** */
453
+ "buttonClass"?: WarpExpandable['buttonClass'];
454
+ /** */
455
+ "content-class"?: WarpExpandable['contentClass'];
456
+ /** */
457
+ "contentClass"?: WarpExpandable['contentClass'];
458
+ /** */
459
+ "no-chevron"?: WarpExpandable['noChevron'];
460
+ /** */
461
+ "noChevron"?: WarpExpandable['noChevron'];
462
+ /** */
463
+ "animated"?: WarpExpandable['animated'];
464
+ /** */
465
+ "heading-level"?: WarpExpandable['headingLevel'];
466
+ /** */
467
+ "headingLevel"?: WarpExpandable['headingLevel'];
468
+ /** */
469
+ "_hasTitle"?: WarpExpandable['_hasTitle'];
470
+ /** */
471
+ "_showChevronUp"?: WarpExpandable['_showChevronUp'];
472
+
473
+
474
+ }
475
+
476
+
477
+ export type ModalFooterProps = {
478
+
479
+
480
+ }
481
+
482
+
483
+ export type ModalHeaderProps = {
484
+ /** */
485
+ "title"?: ModalHeader['title'];
486
+ /** */
487
+ "back"?: ModalHeader['back'];
488
+ /** */
489
+ "no-close"?: ModalHeader['noClose'];
490
+ /** */
491
+ "noClose"?: ModalHeader['noClose'];
492
+ /** */
493
+ "titleEl"?: ModalHeader['titleEl'];
494
+
495
+ /** */
496
+ "onbackClicked"?: (e: CustomEvent<CustomEvent>) => void;
497
+ }
498
+
499
+
500
+ export type ModalMainProps = {
501
+ /** */
502
+ "show"?: ModalMain['show'];
503
+ /** */
504
+ "content-id"?: ModalMain['contentId'];
505
+ /** */
506
+ "contentId"?: ModalMain['contentId'];
507
+ /** */
508
+ "ignore-backdrop-clicks"?: ModalMain['ignoreBackdropClicks'];
509
+ /** */
510
+ "ignoreBackdropClicks"?: ModalMain['ignoreBackdropClicks'];
511
+ /** */
512
+ "dialogEl"?: ModalMain['dialogEl'];
513
+ /** */
514
+ "dialogInnerEl"?: ModalMain['dialogInnerEl'];
515
+ /** */
516
+ "contentEl"?: ModalMain['contentEl'];
517
+
518
+ /** */
519
+ "onshown"?: (e: CustomEvent<CustomEvent>) => void;
520
+ /** */
521
+ "onhidden"?: (e: CustomEvent<CustomEvent>) => void;
522
+ }
523
+
524
+
525
+ export type WarpPageIndicatorProps = {
526
+ /** Currently selected page (1-based index) */
527
+ "selected-page"?: WarpPageIndicator['selectedPage'];
528
+ /** Currently selected page (1-based index) */
529
+ "selectedPage"?: WarpPageIndicator['selectedPage'];
530
+ /** Total number of pages */
531
+ "page-count"?: WarpPageIndicator['pageCount'];
532
+ /** Total number of pages */
533
+ "pageCount"?: WarpPageIndicator['pageCount'];
534
+
535
+
536
+ }
537
+
538
+
539
+ export type WarpPaginationProps = {
540
+ /** */
541
+ "base-url"?: WarpPagination['baseUrl'];
542
+ /** */
543
+ "baseUrl"?: WarpPagination['baseUrl'];
544
+ /** */
545
+ "pages"?: WarpPagination['pages'];
546
+ /** */
547
+ "current-page"?: WarpPagination['currentPageNumber'];
548
+ /** */
549
+ "currentPageNumber"?: WarpPagination['currentPageNumber'];
550
+ /** */
551
+ "visible-pages"?: WarpPagination['visiblePages'];
552
+ /** */
553
+ "visiblePages"?: WarpPagination['visiblePages'];
554
+
555
+ /** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
556
+ "onpage-click"?: (e: CustomEvent<CustomEvent>) => void;
557
+ }
558
+
559
+
560
+ export type WarpPillProps = {
561
+ /** */
562
+ "can-close"?: WarpPill['canClose'];
563
+ /** */
564
+ "canClose"?: WarpPill['canClose'];
565
+ /** */
566
+ "suggestion"?: WarpPill['suggestion'];
567
+ /** @deprecated Used "open-arial-label" instead. */
568
+ "open-sr-label"?: WarpPill['openSrLabel'];
569
+ /** @deprecated Used "open-arial-label" instead. */
570
+ "openSrLabel"?: WarpPill['openSrLabel'];
571
+ /** */
572
+ "open-aria-label"?: WarpPill['openAriaLabel'];
573
+ /** */
574
+ "openAriaLabel"?: WarpPill['openAriaLabel'];
575
+ /** @deprecated Used "close-arial-label" instead. */
576
+ "close-sr-label"?: WarpPill['closeSrLabel'];
577
+ /** @deprecated Used "close-arial-label" instead. */
578
+ "closeSrLabel"?: WarpPill['closeSrLabel'];
579
+ /** */
580
+ "close-aria-label"?: WarpPill['closeAriaLabel'];
581
+ /** */
582
+ "closeAriaLabel"?: WarpPill['closeAriaLabel'];
583
+ /** */
584
+ "openFilterSrText"?: WarpPill['openFilterSrText'];
585
+ /** */
586
+ "removeFilterSrText"?: WarpPill['removeFilterSrText'];
587
+
588
+ /** */
589
+ "onw-pill-click"?: (e: CustomEvent<CustomEvent>) => void;
590
+ /** */
591
+ "onw-pill-close"?: (e: CustomEvent<CustomEvent>) => void;
592
+ }
593
+
594
+
595
+ export type WCheckboxProps = {
596
+ /** */
597
+ "title"?: WCheckbox['title'];
598
+ /** The name of the checkbox, submitted as a name/value pair with form data. */
599
+ "name"?: WCheckbox['name'];
600
+ /** The value of the checkbox, submitted as a name/value pair with form data. */
601
+ "value"?: WCheckbox['value'];
602
+ /** The checkbox's size. */
603
+ "size"?: WCheckbox['size'];
604
+ /** Disables the checkbox. */
605
+ "disabled"?: WCheckbox['disabled'];
606
+ /** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
607
+ all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
608
+ "indeterminate"?: WCheckbox['indeterminate'];
609
+ /** The default value of the form control. Primarily used for resetting the form control. */
610
+ "checked"?: WCheckbox['defaultChecked'];
611
+ /** The default value of the form control. Primarily used for resetting the form control. */
612
+ "defaultChecked"?: WCheckbox['defaultChecked'];
613
+ /** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
614
+ to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
615
+ the same document or shadow root for this to work. */
616
+ "form"?: WCheckbox['form'];
617
+ /** Makes the checkbox a required field. */
618
+ "required"?: WCheckbox['required'];
619
+ /** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
620
+ "hint"?: WCheckbox['hint'];
621
+ /** */
622
+ "input"?: WCheckbox['input'];
623
+
624
+ /** */
625
+ "onchange"?: (e: CustomEvent<Event>) => void;
626
+ }
627
+
628
+
629
+ export type WRadioProps = {
630
+ /** The string pointing to a form's id. */
631
+ "form"?: WRadio['form'];
632
+ /** The radio's value. When selected, the radio group will receive this value. */
633
+ "value"?: WRadio['value'];
634
+ /** The radio's value. When selected, the radio group will receive this value. */
635
+ "appearance"?: WRadio['appearance'];
636
+ /** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
637
+ attribute can typically be omitted. */
638
+ "size"?: WRadio['size'];
639
+ /** Disables the radio. */
640
+ "disabled"?: WRadio['disabled'];
641
+ /** */
642
+ "checked"?: WRadio['checked'];
643
+
644
+
645
+ }
646
+
647
+
648
+ export type WRadioGroupProps = {
649
+ /** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
650
+ instead. */
651
+ "label"?: WRadioGroup['label'];
652
+ /** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
653
+ "hint"?: WRadioGroup['hint'];
654
+ /** The name of the radio group, submitted as a name/value pair with form data. */
655
+ "name"?: WRadioGroup['name'];
656
+ /** Disables the radio group and all child radios. */
657
+ "disabled"?: WRadioGroup['disabled'];
658
+ /** The orientation in which to show radio items. */
659
+ "orientation"?: WRadioGroup['orientation'];
660
+ /** The default value of the form control. Primarily used for resetting the form control. */
661
+ "value"?: WRadioGroup['defaultValue'];
662
+ /** The default value of the form control. Primarily used for resetting the form control. */
663
+ "defaultValue"?: WRadioGroup['defaultValue'];
664
+ /** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
665
+ "size"?: WRadioGroup['size'];
666
+ /** Ensures a child radio is checked before allowing the containing form to submit. */
667
+ "required"?: WRadioGroup['required'];
668
+ /** Used for SSR. if true, will show slotted label on initial render. */
669
+ "with-label"?: WRadioGroup['withLabel'];
670
+ /** Used for SSR. if true, will show slotted label on initial render. */
671
+ "withLabel"?: WRadioGroup['withLabel'];
672
+ /** Used for SSR. if true, will show slotted hint on initial render. */
673
+ "with-hint"?: WRadioGroup['withHint'];
674
+ /** Used for SSR. if true, will show slotted hint on initial render. */
675
+ "withHint"?: WRadioGroup['withHint'];
676
+ /** */
677
+ "hasRadioButtons"?: WRadioGroup['hasRadioButtons'];
678
+ /** */
679
+ "defaultSlot"?: WRadioGroup['defaultSlot'];
680
+
681
+ /** */
682
+ "oninput"?: (e: CustomEvent<InputEvent>) => void;
683
+ /** */
684
+ "onchange"?: (e: CustomEvent<Event>) => void;
685
+ }
686
+
687
+
688
+ export type WarpSelectProps = {
689
+ /** Whether the element should receive focus on render */
690
+ "auto-focus"?: WarpSelect['autoFocus'];
691
+ /** Whether the element should receive focus on render */
692
+ "autoFocus"?: WarpSelect['autoFocus'];
693
+ /** Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error */
694
+ "invalid"?: WarpSelect['invalid'];
695
+ /** Whether to always show a hint */
696
+ "always"?: WarpSelect['always'];
697
+ /** The content displayed as the help text */
698
+ "hint"?: WarpSelect['hint'];
699
+ /** The content to disply as the label */
700
+ "label"?: WarpSelect['label'];
701
+ /** Whether to show optional text */
702
+ "optional"?: WarpSelect['optional'];
703
+ /** Renders the field in a disabled state. */
704
+ "disabled"?: WarpSelect['disabled'];
705
+ /** Renders the field in a readonly state. */
706
+ "read-only"?: WarpSelect['readOnly'];
707
+ /** Renders the field in a readonly state. */
708
+ "readOnly"?: WarpSelect['readOnly'];
709
+ /** */
710
+ "_options"?: WarpSelect['_options'];
711
+ /** */
712
+ "name"?: WarpSelect['name'];
713
+ /** */
714
+ "value"?: WarpSelect['value'];
715
+
716
+
717
+ }
718
+
719
+
720
+ export type WarpTextFieldProps = {
721
+ /** */
722
+ "disabled"?: WarpTextField['disabled'];
723
+ /** */
724
+ "invalid"?: WarpTextField['invalid'];
725
+ /** */
726
+ "id"?: WarpTextField['id'];
727
+ /** */
728
+ "label"?: WarpTextField['label'];
729
+ /** */
730
+ "help-text"?: WarpTextField['helpText'];
731
+ /** */
732
+ "helpText"?: WarpTextField['helpText'];
733
+ /** */
734
+ "size"?: WarpTextField['size'];
735
+ /** */
736
+ "max"?: WarpTextField['max'];
737
+ /** */
738
+ "min"?: WarpTextField['min'];
739
+ /** */
740
+ "min-length"?: WarpTextField['minLength'];
741
+ /** */
742
+ "minLength"?: WarpTextField['minLength'];
743
+ /** */
744
+ "max-length"?: WarpTextField['maxLength'];
745
+ /** */
746
+ "maxLength"?: WarpTextField['maxLength'];
747
+ /** */
748
+ "pattern"?: WarpTextField['pattern'];
749
+ /** */
750
+ "placeholder"?: WarpTextField['placeholder'];
751
+ /** */
752
+ "read-only"?: WarpTextField['readOnly'];
753
+ /** */
754
+ "readOnly"?: WarpTextField['readOnly'];
755
+ /** */
756
+ "required"?: WarpTextField['required'];
757
+ /** */
758
+ "type"?: WarpTextField['type'];
759
+ /** */
760
+ "value"?: WarpTextField['value'];
761
+ /** */
762
+ "name"?: WarpTextField['name'];
763
+ /** Function to format value when the input field.
764
+
765
+ Only active when the input field does not have focus,
766
+ similar to the accessible input masking example from Filament Group
767
+
768
+ https://css-tricks.com/input-masking/
769
+ https://filamentgroup.github.io/politespace/demo/demo.html */
770
+ "formatter"?: WarpTextField['formatter'];
771
+
772
+
773
+ }
774
+
775
+
776
+ export type WarpSliderThumbProps = {
777
+ /** */
778
+ "aria-label"?: WarpSliderThumb['ariaLabel'];
779
+ /** */
780
+ "ariaLabel"?: WarpSliderThumb['ariaLabel'];
781
+ /** */
782
+ "aria-description"?: WarpSliderThumb['ariaDescription'];
783
+ /** */
784
+ "ariaDescription"?: WarpSliderThumb['ariaDescription'];
785
+ /** */
786
+ "label"?: WarpSliderThumb['label'];
787
+ /** */
788
+ "name"?: WarpSliderThumb['name'];
789
+ /** */
790
+ "value"?: WarpSliderThumb['value'];
791
+ /** */
792
+ "disabled"?: WarpSliderThumb['disabled'];
793
+ /** Set by `<w-slider>` */
794
+ "markers"?: WarpSliderThumb['markers'];
795
+ /** Set by `<w-slider>` */
796
+ "required"?: WarpSliderThumb['required'];
797
+ /** Set by `<w-slider>` */
798
+ "step"?: WarpSliderThumb['step'];
799
+ /** Set by `<w-slider>` */
800
+ "min"?: WarpSliderThumb['min'];
801
+ /** Set by `<w-slider>` */
802
+ "max"?: WarpSliderThumb['max'];
803
+ /** Set by `<w-slider>` */
804
+ "suffix"?: WarpSliderThumb['suffix'];
805
+ /** JS hook to help you format the numeric value how you want. */
806
+ "formatter"?: WarpSliderThumb['formatter'];
807
+ /** */
808
+ "range"?: WarpSliderThumb['range'];
809
+ /** */
810
+ "textfield"?: WarpSliderThumb['textfield'];
811
+
812
+ /** */
813
+ "onslidervalidity"?: (e: CustomEvent<CustomEvent>) => void;
814
+ }
815
+
816
+
817
+ export type WarpSliderProps = {
818
+ /** The slider fieldset label. Required for proper accessibility.
819
+
820
+ If you need to display HTML, use the `label` slot instead. */
821
+ "label"?: WarpSlider['label'];
822
+ /** */
823
+ "disabled"?: WarpSlider['disabled'];
824
+ /** */
825
+ "invalid"?: WarpSlider['invalid'];
826
+ /** Ensures a child slider thumb has a value before allowing the containing form to submit. */
827
+ "required"?: WarpSlider['required'];
828
+ /** */
829
+ "min"?: WarpSlider['min'];
830
+ /** */
831
+ "max"?: WarpSlider['max'];
832
+ /** Pass a value similar to step to create visual markers at that interval */
833
+ "markers"?: WarpSlider['markers'];
834
+ /** */
835
+ "step"?: WarpSlider['step'];
836
+ /** Suffix used in text input fields and for the min and max values of the slider. */
837
+ "suffix"?: WarpSlider['suffix'];
838
+ /** Function to format the to- and from labels and value in the slider thumb tooltip. */
839
+ "formatter"?: WarpSlider['formatter'];
840
+
841
+
842
+ }
843
+
844
+
845
+ export type WarpStepsProps = {
846
+ /** */
847
+ "horizontal"?: WarpSteps['horizontal'];
848
+ /** */
849
+ "right"?: WarpSteps['right'];
850
+
851
+
852
+ }
853
+
854
+
855
+ export type WarpStepProps = {
856
+ /** */
857
+ "active"?: WarpStep['active'];
858
+ /** */
859
+ "completed"?: WarpStep['completed'];
860
+
861
+
862
+ }
863
+
864
+
865
+ export type WarpSwitchProps = {
866
+ /** */
867
+ "value"?: WarpSwitch['value'];
868
+ /** */
869
+ "disabled"?: WarpSwitch['disabled'];
870
+
871
+ /** */
872
+ "onchange"?: (e: CustomEvent<CustomEvent>) => void;
873
+ }
874
+
875
+
876
+ export type WarpTabsProps = {
877
+ /** */
878
+ "active"?: WarpTabs['active'];
879
+ /** */
880
+ "tab-class"?: WarpTabs['tabClass'];
881
+ /** */
882
+ "tabClass"?: WarpTabs['tabClass'];
883
+
884
+ /** */
885
+ "onchange"?: (e: CustomEvent<CustomEvent>) => void;
886
+ }
887
+
888
+
889
+ export type WarpTabProps = {
890
+ /** */
891
+ "name"?: WarpTab['name'];
892
+ /** */
893
+ "label"?: WarpTab['label'];
894
+ /** */
895
+ "active"?: WarpTab['active'];
896
+ /** */
897
+ "over"?: WarpTab['over'];
898
+ /** */
899
+ "tab-class"?: WarpTab['tabClass'];
900
+ /** */
901
+ "tabClass"?: WarpTab['tabClass'];
902
+
903
+
904
+ }
905
+
906
+
907
+ export type WarpTabPanelProps = {
908
+ /** */
909
+ "name"?: WarpTabPanel['name'];
910
+ /** */
911
+ "hidden"?: WarpTabPanel['hidden'];
912
+
913
+
914
+ }
915
+
916
+ export type CustomElements = {
917
+
918
+
919
+ /**
920
+ * This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
921
+ *
922
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
923
+ *
924
+ * ## Attributes & Properties
925
+ *
926
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
927
+ *
928
+ * - `aria-label`/`ariaLabel`: undefined
929
+ * - `clear`: Add this property to render a clickable Warp close icon.
930
+ *
931
+ * Set an `aria-label` that explains the action when using this.
932
+ * - `search`: Add this property to render a clickable Warp search icon.
933
+ *
934
+ * Set an `aria-label` that explains the action when using this.
935
+ * - `label`: undefined
936
+ */
937
+ "w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
938
+
939
+
940
+ /**
941
+ *
942
+ *
943
+ * ## Attributes & Properties
944
+ *
945
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
946
+ *
947
+ * - `show`: undefined
948
+ * - `placement`: undefined
949
+ * - `tooltip`: undefined
950
+ * - `callout`: undefined
951
+ * - `popover`: undefined
952
+ * - `highlight`: undefined
953
+ * - `can-close`/`canClose`: undefined
954
+ * - `no-arrow`/`noArrow`: undefined
955
+ * - `distance`: undefined
956
+ * - `skidding`: undefined
957
+ * - `flip`: undefined
958
+ * - `cross-axis`/`crossAxis`: undefined
959
+ * - `fallback-placements`/`fallbackPlacements`: undefined
960
+ * - `_initialPlacement`: undefined (property only)
961
+ * - `_actualDirection`: undefined (property only)
962
+ *
963
+ * ## Methods
964
+ *
965
+ * Methods that can be called to access component functionality.
966
+ *
967
+ * - `handleDone() => void`: undefined
968
+ * - `pointingAtDirection() => void`: undefined
969
+ * - `activeAttentionType() => void`: undefined
970
+ * - `defaultAriaLabel() => void`: undefined
971
+ * - `setAriaLabels() => void`: undefined
972
+ * - `close() => void`: undefined
973
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
974
+ */
975
+ "w-attention": Partial<WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents>;
976
+
977
+
978
+ /**
979
+ * Alert is an inline component used for displaying different types of messages.
980
+ *
981
+ * For accessibility reasons, alert should appear close to the element that triggered it.
982
+ *
983
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
984
+ *
985
+ * ## Attributes & Properties
986
+ *
987
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
988
+ *
989
+ * - `variant`: undefined
990
+ * - `show`: undefined
991
+ * - `role`: undefined
992
+ */
993
+ "w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
994
+
995
+
996
+ /**
997
+ * `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
998
+ *
999
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
1000
+ *
1001
+ * ## Attributes & Properties
1002
+ *
1003
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1004
+ *
1005
+ * - `variant`: undefined
1006
+ * - `position`: undefined
1007
+ */
1008
+ "w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
1009
+
1010
+
1011
+ /**
1012
+ * Box is a layout component used for separating content areas on a page.
1013
+ *
1014
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
1015
+ *
1016
+ * ## Attributes & Properties
1017
+ *
1018
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1019
+ *
1020
+ * - `bleed`: undefined
1021
+ * - `bordered`: undefined
1022
+ * - `info`: undefined
1023
+ * - `neutral`: undefined
1024
+ * - `role`: undefined
1025
+ */
1026
+ "w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
1027
+
1028
+
1029
+ /**
1030
+ * Breadcrumbs show the navigation structure for the current location.
1031
+ *
1032
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
1033
+ *
1034
+ * ## Attributes & Properties
1035
+ *
1036
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1037
+ *
1038
+ * - `aria-label`/`ariaLabel`: undefined
1039
+ */
1040
+ "w-breadcrumbs": Partial<WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents>;
1041
+
1042
+
1043
+ /**
1044
+ * Buttons are used to perform actions, with different visuals for different needs.
1045
+ *
1046
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
1047
+ *
1048
+ * ## Attributes & Properties
1049
+ *
1050
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1051
+ *
1052
+ * - `autofocus`: undefined
1053
+ * - `variant`: undefined
1054
+ * - `quiet`: undefined
1055
+ * - `small`: undefined
1056
+ * - `href`: undefined
1057
+ * - `disabled`: undefined
1058
+ * - `target`: undefined
1059
+ * - `rel`: undefined
1060
+ * - `full-width`/`fullWidth`: undefined
1061
+ * - `button-class`/`buttonClass`: undefined
1062
+ * - `name`: undefined
1063
+ * - `classes`: undefined (property only)
1064
+ */
1065
+ "w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
1066
+
1067
+
1068
+ /**
1069
+ * Buttons are used to perform actions, widh different visuals for different needs.
1070
+ *
1071
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
1072
+ *
1073
+ * ## Attributes & Properties
1074
+ *
1075
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1076
+ *
1077
+ * - `type`: undefined
1078
+ * - `autofocus`: undefined
1079
+ * - `variant`: undefined
1080
+ * - `quiet`: undefined
1081
+ * - `small`: undefined
1082
+ * - `loading`: undefined
1083
+ * - `href`: undefined
1084
+ * - `target`: undefined
1085
+ * - `rel`: undefined
1086
+ * - `full-width`/`fullWidth`: undefined
1087
+ * - `button-class`/`buttonClass`: undefined
1088
+ * - `name`: undefined
1089
+ * - `value`: undefined
1090
+ * - `ariaValueTextLoading`: undefined (property only)
1091
+ */
1092
+ "w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
1093
+
1094
+
1095
+ /**
1096
+ * Card is a layout component used for separating content areas on a page.
1097
+ *
1098
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
1099
+ *
1100
+ * ## Attributes & Properties
1101
+ *
1102
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1103
+ *
1104
+ * - `selected`: undefined
1105
+ * - `flat`: undefined
1106
+ * - `clickable`: undefined
1107
+ * - `buttonText`: undefined (property only)
1108
+ *
1109
+ * ## Methods
1110
+ *
1111
+ * Methods that can be called to access component functionality.
1112
+ *
1113
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
1114
+ */
1115
+ "w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
1116
+
1117
+
1118
+ /**
1119
+ * A combobox element for text input with selectable options.
1120
+ *
1121
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
1122
+ *
1123
+ * ## Attributes & Properties
1124
+ *
1125
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1126
+ *
1127
+ * - `options`: The available options to select from
1128
+ * - `label`: Label above input
1129
+ * - `placeholder`: Input placeholder
1130
+ * - `value`: The input value
1131
+ * - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
1132
+ * - `select-on-blur`/`selectOnBlur`: Select active option on blur
1133
+ * - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
1134
+ * - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
1135
+ * - `invalid`: Renders the input field in an invalid state
1136
+ * - `help-text`/`helpText`: The content to display as the help text
1137
+ * - `disabled`: Whether the element is disabled
1138
+ * - `required`: Whether the element is required
1139
+ * - `optional`: Whether to show optional text
1140
+ * - `class-name`/`containerClassName`: Additional container styling
1141
+ * - `list-class-name`/`listClassName`: Additional list styling
1142
+ * - `name`: Name attribute for form submission
1143
+ */
1144
+ "w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
1145
+
1146
+
1147
+ /**
1148
+ * An input for dates.
1149
+ *
1150
+ * Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
1151
+ *
1152
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
1153
+ *
1154
+ * ## Attributes & Properties
1155
+ *
1156
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1157
+ *
1158
+ * - `label`: undefined
1159
+ * - `lang`: Takes precedence over the `<html>` lang attribute.
1160
+ * - `name`: undefined
1161
+ * - `value`: undefined
1162
+ * - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
1163
+ *
1164
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1165
+ * - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
1166
+ *
1167
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1168
+ * - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
1169
+ *
1170
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1171
+ * - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
1172
+ *
1173
+ * This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
1174
+ * - `isCalendarOpen`: undefined (property only)
1175
+ * - `navigationDate`: undefined (property only)
1176
+ * - `selectedDate`: undefined (property only) (readonly)
1177
+ * - `month`: undefined (property only) (readonly)
1178
+ * - `weeks`: undefined (property only) (readonly)
1179
+ * - `calendar`: undefined (property only)
1180
+ * - `input`: undefined (property only)
1181
+ * - `toggleButton`: undefined (property only)
1182
+ * - `wrapper`: undefined (property only)
1183
+ * - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
1184
+ *
1185
+ * Don't cache this and other `@query` fields from inside the calendar modal.
1186
+ * They work the first time, but once the calendar is closed and reopened
1187
+ * the query will point to an element that doesn't exist anymore. (property only)
1188
+ * - `todayCell`: undefined (property only)
1189
+ * - `selectedCell`: undefined (property only)
1190
+ */
1191
+ "w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
1192
+
1193
+
1194
+ /**
1195
+ * Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
1196
+ *
1197
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
1198
+ *
1199
+ * ## Attributes & Properties
1200
+ *
1201
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1202
+ *
1203
+ * - `type`: undefined
1204
+ * - `checked`: undefined
1205
+ * - `indeterminate`: undefined
1206
+ * - `invalid`: undefined
1207
+ */
1208
+ "w-dead-toggle": Partial<WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents>;
1209
+
1210
+
1211
+ /**
1212
+ * Expandable is a layout component used for creating expandable content areas on a page.
1213
+ *
1214
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
1215
+ *
1216
+ * ## Attributes & Properties
1217
+ *
1218
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1219
+ *
1220
+ * - `expanded`: undefined
1221
+ * - `title`: undefined
1222
+ * - `box`: undefined
1223
+ * - `bleed`: undefined
1224
+ * - `button-class`/`buttonClass`: undefined
1225
+ * - `content-class`/`contentClass`: undefined
1226
+ * - `no-chevron`/`noChevron`: undefined
1227
+ * - `animated`: undefined
1228
+ * - `heading-level`/`headingLevel`: undefined
1229
+ * - `_hasTitle`: undefined
1230
+ * - `_showChevronUp`: undefined
1231
+ *
1232
+ * ## Slots
1233
+ *
1234
+ * Areas where markup can be added to the component.
1235
+ *
1236
+ * - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
1237
+ */
1238
+ "w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
1239
+
1240
+
1241
+ /**
1242
+ * The footer section of a modal, typically where you place actions.
1243
+ *
1244
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1245
+ */
1246
+ "w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
1247
+
1248
+
1249
+ /**
1250
+ * The header section of a modal, typically where you place the title and a close button.
1251
+ *
1252
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1253
+ *
1254
+ * ## Attributes & Properties
1255
+ *
1256
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1257
+ *
1258
+ * - `title`: undefined
1259
+ * - `back`: undefined
1260
+ * - `no-close`/`noClose`: undefined
1261
+ * - `titleEl`: undefined (property only)
1262
+ * - `titleClasses`: undefined (property only) (readonly)
1263
+ * - `backButton`: undefined (property only) (readonly)
1264
+ * - `closeButton`: undefined (property only) (readonly)
1265
+ *
1266
+ * ## Events
1267
+ *
1268
+ * Events that will be emitted by the component.
1269
+ *
1270
+ * - `backClicked`: undefined
1271
+ *
1272
+ * ## Slots
1273
+ *
1274
+ * Areas where markup can be added to the component.
1275
+ *
1276
+ * - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
1277
+ *
1278
+ * ## Methods
1279
+ *
1280
+ * Methods that can be called to access component functionality.
1281
+ *
1282
+ * - `emitBack() => void`: undefined
1283
+ * - `handleTopSlotChange(slotEvent) => void`: undefined
1284
+ */
1285
+ "w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
1286
+
1287
+
1288
+ /**
1289
+ * Modals (or dialogs) display important information that users need to acknowledge.
1290
+ *
1291
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1292
+ *
1293
+ * ## Attributes & Properties
1294
+ *
1295
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1296
+ *
1297
+ * - `show`: undefined
1298
+ * - `content-id`/`contentId`: undefined
1299
+ * - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
1300
+ * - `dialogEl`: undefined (property only)
1301
+ * - `dialogInnerEl`: undefined (property only)
1302
+ * - `contentEl`: undefined (property only)
1303
+ *
1304
+ * ## Events
1305
+ *
1306
+ * Events that will be emitted by the component.
1307
+ *
1308
+ * - `shown`: undefined
1309
+ * - `hidden`: undefined
1310
+ *
1311
+ * ## Slots
1312
+ *
1313
+ * Areas where markup can be added to the component.
1314
+ *
1315
+ * - `header`: Typically where you would use the `w-modal-header` component.
1316
+ * - `content`: The main content of the modal.
1317
+ * - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
1318
+ *
1319
+ * ## Methods
1320
+ *
1321
+ * Methods that can be called to access component functionality.
1322
+ *
1323
+ * - `open() => void`: undefined
1324
+ * - `close() => void`: undefined
1325
+ * - `handleListeners(verb = 'addEventListener') => void`: undefined
1326
+ * - `eventPreventer(evt: Event) => void`: undefined
1327
+ * - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
1328
+ * - `interceptEscape(evt: KeyboardEvent) => void`: undefined
1329
+ * - `modifyBorderRadius() => void`: undefined
1330
+ */
1331
+ "w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
1332
+
1333
+
1334
+ /**
1335
+ *
1336
+ *
1337
+ * ## Attributes & Properties
1338
+ *
1339
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1340
+ *
1341
+ * - `selected-page`/`selectedPage`: Currently selected page (1-based index)
1342
+ * - `page-count`/`pageCount`: Total number of pages
1343
+ */
1344
+ "w-pageindicator": Partial<WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents>;
1345
+
1346
+
1347
+ /**
1348
+ * Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
1349
+ *
1350
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
1351
+ *
1352
+ * ## Attributes & Properties
1353
+ *
1354
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1355
+ *
1356
+ * - `base-url`/`baseUrl`: undefined
1357
+ * - `pages`: undefined
1358
+ * - `current-page`/`currentPageNumber`: undefined
1359
+ * - `visible-pages`/`visiblePages`: undefined
1360
+ *
1361
+ * ## Events
1362
+ *
1363
+ * Events that will be emitted by the component.
1364
+ *
1365
+ * - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
1366
+ */
1367
+ "w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
1368
+
1369
+
1370
+ /**
1371
+ * Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
1372
+ *
1373
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
1374
+ *
1375
+ * ## Attributes & Properties
1376
+ *
1377
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1378
+ *
1379
+ * - `can-close`/`canClose`: undefined
1380
+ * - `suggestion`: undefined
1381
+ * - `open-sr-label`/`openSrLabel`: undefined
1382
+ * - `open-aria-label`/`openAriaLabel`: undefined
1383
+ * - `close-sr-label`/`closeSrLabel`: undefined
1384
+ * - `close-aria-label`/`closeAriaLabel`: undefined
1385
+ * - `openFilterSrText`: undefined (property only)
1386
+ * - `removeFilterSrText`: undefined (property only)
1387
+ *
1388
+ * ## Events
1389
+ *
1390
+ * Events that will be emitted by the component.
1391
+ *
1392
+ * - `w-pill-click`: undefined
1393
+ * - `w-pill-close`: undefined
1394
+ */
1395
+ "w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
1396
+
1397
+
1398
+ /**
1399
+ *
1400
+ *
1401
+ * ## Attributes & Properties
1402
+ *
1403
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1404
+ *
1405
+ * - `title`: undefined
1406
+ * - `name`: The name of the checkbox, submitted as a name/value pair with form data.
1407
+ * - `value`: The value of the checkbox, submitted as a name/value pair with form data.
1408
+ * - `size`: The checkbox's size.
1409
+ * - `disabled`: Disables the checkbox.
1410
+ * - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
1411
+ * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
1412
+ * - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
1413
+ * - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
1414
+ * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
1415
+ * the same document or shadow root for this to work.
1416
+ * - `required`: Makes the checkbox a required field.
1417
+ * - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
1418
+ * - `input`: undefined (property only)
1419
+ * - `checked`: Draws the checkbox in a checked state. (property only)
1420
+ *
1421
+ * ## Events
1422
+ *
1423
+ * Events that will be emitted by the component.
1424
+ *
1425
+ * - `change`: undefined
1426
+ *
1427
+ * ## Methods
1428
+ *
1429
+ * Methods that can be called to access component functionality.
1430
+ *
1431
+ * - `handleDefaultCheckedChange() => void`: undefined
1432
+ * - `handleValueOrCheckedChange() => void`: undefined
1433
+ * - `handleStateChange() => void`: undefined
1434
+ * - `handleDisabledChange() => void`: undefined
1435
+ * - `formResetCallback() => void`: undefined
1436
+ * - `click() => void`: Simulates a click on the checkbox.
1437
+ * - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
1438
+ * - `blur() => void`: Removes focus from the checkbox.
1439
+ */
1440
+ "w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
1441
+
1442
+
1443
+ /**
1444
+ *
1445
+ *
1446
+ * ## Attributes & Properties
1447
+ *
1448
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1449
+ *
1450
+ * - `form`: The string pointing to a form's id.
1451
+ * - `value`: The radio's value. When selected, the radio group will receive this value.
1452
+ * - `appearance`: The radio's value. When selected, the radio group will receive this value.
1453
+ * - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
1454
+ * attribute can typically be omitted.
1455
+ * - `disabled`: Disables the radio.
1456
+ * - `checked`: undefined (property only)
1457
+ *
1458
+ * ## Methods
1459
+ *
1460
+ * Methods that can be called to access component functionality.
1461
+ *
1462
+ * - `setValue() => void`: undefined
1463
+ */
1464
+ "w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
1465
+
1466
+
1467
+ /**
1468
+ *
1469
+ *
1470
+ * ## Attributes & Properties
1471
+ *
1472
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1473
+ *
1474
+ * - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
1475
+ * instead.
1476
+ * - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
1477
+ * - `name`: The name of the radio group, submitted as a name/value pair with form data.
1478
+ * - `disabled`: Disables the radio group and all child radios.
1479
+ * - `orientation`: The orientation in which to show radio items.
1480
+ * - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
1481
+ * - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
1482
+ * - `required`: Ensures a child radio is checked before allowing the containing form to submit.
1483
+ * - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
1484
+ * - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
1485
+ * - `hasRadioButtons`: undefined (property only)
1486
+ * - `defaultSlot`: undefined (property only)
1487
+ * - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
1488
+ * - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
1489
+ * the first radio element. (property only) (readonly)
1490
+ *
1491
+ * ## Events
1492
+ *
1493
+ * Events that will be emitted by the component.
1494
+ *
1495
+ * - `input`: undefined
1496
+ * - `change`: undefined
1497
+ *
1498
+ * ## Slots
1499
+ *
1500
+ * Areas where markup can be added to the component.
1501
+ *
1502
+ * - `label`: Alternative to the `label` attribute should you need custom HTML.
1503
+ *
1504
+ * ## Methods
1505
+ *
1506
+ * Methods that can be called to access component functionality.
1507
+ *
1508
+ * - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
1509
+ * - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
1510
+ */
1511
+ "w-radio-group": Partial<WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents>;
1512
+
1513
+
1514
+ /**
1515
+ * A dropdown component for selecting a single value.
1516
+ *
1517
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
1518
+ *
1519
+ * ## Attributes & Properties
1520
+ *
1521
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1522
+ *
1523
+ * - `auto-focus`/`autoFocus`: Whether the element should receive focus on render
1524
+ * - `invalid`: Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error
1525
+ * - `always`: Whether to always show a hint
1526
+ * - `hint`: The content displayed as the help text
1527
+ * - `label`: The content to disply as the label
1528
+ * - `optional`: Whether to show optional text
1529
+ * - `disabled`: Renders the field in a disabled state.
1530
+ * - `read-only`/`readOnly`: Renders the field in a readonly state.
1531
+ * - `_options`: undefined
1532
+ * - `name`: undefined
1533
+ * - `value`: undefined
1534
+ *
1535
+ * ## Methods
1536
+ *
1537
+ * Methods that can be called to access component functionality.
1538
+ *
1539
+ * - `handleKeyDown(event: KeyboardEvent) => void`: undefined
1540
+ * - `onChange({ target }) => void`: undefined
1541
+ */
1542
+ "w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
1543
+
1544
+
1545
+ /**
1546
+ * A single line text input element.
1547
+ *
1548
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
1549
+ *
1550
+ * ## Attributes & Properties
1551
+ *
1552
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1553
+ *
1554
+ * - `disabled`: undefined
1555
+ * - `invalid`: undefined
1556
+ * - `id`: undefined
1557
+ * - `label`: undefined
1558
+ * - `help-text`/`helpText`: undefined
1559
+ * - `size`: undefined
1560
+ * - `max`: undefined
1561
+ * - `min`: undefined
1562
+ * - `min-length`/`minLength`: undefined
1563
+ * - `max-length`/`maxLength`: undefined
1564
+ * - `pattern`: undefined
1565
+ * - `placeholder`: undefined
1566
+ * - `read-only`/`readOnly`: undefined
1567
+ * - `required`: undefined
1568
+ * - `type`: undefined
1569
+ * - `value`: undefined
1570
+ * - `name`: undefined
1571
+ * - `formatter`: Function to format value when the input field.
1572
+ *
1573
+ * Only active when the input field does not have focus,
1574
+ * similar to the accessible input masking example from Filament Group
1575
+ *
1576
+ * https://css-tricks.com/input-masking/
1577
+ * https://filamentgroup.github.io/politespace/demo/demo.html (property only)
1578
+ *
1579
+ * ## Methods
1580
+ *
1581
+ * Methods that can be called to access component functionality.
1582
+ *
1583
+ * - `handler(e: Event) => void`: undefined
1584
+ * - `prefixSlotChange() => void`: undefined
1585
+ * - `suffixSlotChange() => void`: undefined
1586
+ */
1587
+ "w-textfield": Partial<WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents>;
1588
+
1589
+
1590
+ /**
1591
+ * Component to place inside a `<w-slider>`.
1592
+ *
1593
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
1594
+ *
1595
+ * ## Attributes & Properties
1596
+ *
1597
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1598
+ *
1599
+ * - `aria-label`/`ariaLabel`: undefined
1600
+ * - `aria-description`/`ariaDescription`: undefined
1601
+ * - `label`: undefined
1602
+ * - `name`: undefined
1603
+ * - `value`: undefined
1604
+ * - `disabled`: undefined
1605
+ * - `markers`: Set by `<w-slider>` (property only)
1606
+ * - `required`: Set by `<w-slider>` (property only)
1607
+ * - `step`: Set by `<w-slider>` (property only)
1608
+ * - `min`: Set by `<w-slider>` (property only)
1609
+ * - `max`: Set by `<w-slider>` (property only)
1610
+ * - `suffix`: Set by `<w-slider>` (property only)
1611
+ * - `formatter`: JS hook to help you format the numeric value how you want. (property only)
1612
+ * - `range`: undefined (property only)
1613
+ * - `textfield`: undefined (property only)
1614
+ *
1615
+ * ## Events
1616
+ *
1617
+ * Events that will be emitted by the component.
1618
+ *
1619
+ * - `slidervalidity`: undefined
1620
+ */
1621
+ "w-slider-thumb": Partial<WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents>;
1622
+
1623
+
1624
+ /**
1625
+ * Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
1626
+ *
1627
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
1628
+ *
1629
+ * ## Attributes & Properties
1630
+ *
1631
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1632
+ *
1633
+ * - `label`: The slider fieldset label. Required for proper accessibility.
1634
+ *
1635
+ * If you need to display HTML, use the `label` slot instead.
1636
+ * - `disabled`: undefined
1637
+ * - `invalid`: undefined
1638
+ * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
1639
+ * - `min`: undefined
1640
+ * - `max`: undefined
1641
+ * - `markers`: Pass a value similar to step to create visual markers at that interval
1642
+ * - `step`: undefined
1643
+ * - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
1644
+ * - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
1645
+ *
1646
+ * ## Slots
1647
+ *
1648
+ * Areas where markup can be added to the component.
1649
+ *
1650
+ * - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
1651
+ * - `label`: Label for the slider or range slider as a whole.
1652
+ * - `description`: Optional description between the label and slider.
1653
+ * - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
1654
+ * - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
1655
+ */
1656
+ "w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
1657
+
1658
+
1659
+ /**
1660
+ * Steps are used to show progress through a process or to guide users through a multi-step task.
1661
+ *
1662
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
1663
+ *
1664
+ * ## Attributes & Properties
1665
+ *
1666
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1667
+ *
1668
+ * - `horizontal`: undefined
1669
+ * - `right`: undefined
1670
+ *
1671
+ * ## Methods
1672
+ *
1673
+ * Methods that can be called to access component functionality.
1674
+ *
1675
+ * - `updateStepsContext() => void`: undefined
1676
+ */
1677
+ "w-steps": Partial<WarpStepsProps & BaseProps<WarpSteps> & BaseEvents>;
1678
+
1679
+
1680
+ /**
1681
+ * Individual step component that shows a single step in a process
1682
+ *
1683
+ * ## Attributes & Properties
1684
+ *
1685
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1686
+ *
1687
+ * - `active`: undefined
1688
+ * - `completed`: undefined
1689
+ *
1690
+ * ## Methods
1691
+ *
1692
+ * Methods that can be called to access component functionality.
1693
+ *
1694
+ * - `setContext(context: StepsContext) => void`: undefined
1695
+ * - `getAriaLabel() => void`: undefined
1696
+ */
1697
+ "w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
1698
+
1699
+
1700
+ /**
1701
+ *
1702
+ *
1703
+ * ## Attributes & Properties
1704
+ *
1705
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1706
+ *
1707
+ * - `value`: undefined
1708
+ * - `disabled`: undefined
1709
+ *
1710
+ * ## Events
1711
+ *
1712
+ * Events that will be emitted by the component.
1713
+ *
1714
+ * - `change`: undefined
1715
+ */
1716
+ "w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
1717
+
1718
+
1719
+ /**
1720
+ * Tabs are used to organize content by grouping similar information on the same page.
1721
+ *
1722
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1723
+ *
1724
+ * ## Attributes & Properties
1725
+ *
1726
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1727
+ *
1728
+ * - `active`: undefined
1729
+ * - `tab-class`/`tabClass`: undefined
1730
+ *
1731
+ * ## Events
1732
+ *
1733
+ * Events that will be emitted by the component.
1734
+ *
1735
+ * - `change`: undefined
1736
+ */
1737
+ "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
1738
+
1739
+
1740
+ /**
1741
+ * Individual tab component used within w-tabs container.
1742
+ *
1743
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1744
+ *
1745
+ * ## Attributes & Properties
1746
+ *
1747
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1748
+ *
1749
+ * - `name`: undefined
1750
+ * - `label`: undefined
1751
+ * - `active`: undefined
1752
+ * - `over`: undefined
1753
+ * - `tab-class`/`tabClass`: undefined
1754
+ */
1755
+ "w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
1756
+
1757
+
1758
+ /**
1759
+ * Tab panel component that holds content for individual tabs.
1760
+ * Each tab panel should have a name that matches a corresponding tab.
1761
+ *
1762
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1763
+ *
1764
+ * ## Attributes & Properties
1765
+ *
1766
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1767
+ *
1768
+ * - `name`: undefined
1769
+ * - `hidden`: undefined
1770
+ */
1771
+ "w-tab-panel": Partial<WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents>;
68
1772
  }
1773
+
1774
+ export type CustomCssProperties = {
1775
+
69
1776
  }
70
1777
 
71
- declare module 'react/jsx-runtime' {
1778
+
1779
+ declare module 'react' {
1780
+ namespace JSX {
1781
+ interface IntrinsicElements extends CustomElements {}
1782
+ }
1783
+ export interface CSSProperties extends CustomCssProperties {}
1784
+ }
1785
+
1786
+ declare module 'preact' {
1787
+ namespace JSX {
1788
+ interface IntrinsicElements extends CustomElements {}
1789
+ }
1790
+ export interface CSSProperties extends CustomCssProperties {}
1791
+ }
1792
+
1793
+ declare module '@builder.io/qwik' {
1794
+ namespace JSX {
1795
+ interface IntrinsicElements extends CustomElements {}
1796
+ }
1797
+ export interface CSSProperties extends CustomCssProperties {}
1798
+ }
1799
+
1800
+ declare module '@stencil/core' {
1801
+ namespace JSX {
1802
+ interface IntrinsicElements extends CustomElements {}
1803
+ }
1804
+ export interface CSSProperties extends CustomCssProperties {}
1805
+ }
1806
+
1807
+ declare module 'hono' {
1808
+ namespace JSX {
1809
+ interface IntrinsicElements extends CustomElements {}
1810
+ }
1811
+ export interface CSSProperties extends CustomCssProperties {}
1812
+ }
1813
+
1814
+ declare module 'react-native' {
1815
+ namespace JSX {
1816
+ interface IntrinsicElements extends CustomElements {}
1817
+ }
1818
+ export interface CSSProperties extends CustomCssProperties {}
1819
+ }
1820
+
1821
+ declare global {
72
1822
  namespace JSX {
73
- interface IntrinsicElements {
74
- 'w-badge': WarpBadge;
75
- 'w-affix': WarpAffix;
76
- 'w-alert': WarpAlert;
77
- 'w-attention': WarpAttention;
78
- 'w-box': WarpBox;
79
- 'w-breadcrumbs': WarpBreadcrumbs;
80
- 'w-button': WarpButton;
81
- 'w-card': WarpCard;
82
- 'w-combobox': WarpCombobox;
83
- 'w-datepicker': WarpDatepicker;
84
- 'w-dead-toggle': WarpDeadToggle;
85
- 'w-expandable': WarpExpandable;
86
- 'w-link': WarpLink;
87
- 'w-modal': ModalMain;
88
- 'w-modal-header': ModalHeader;
89
- 'w-modal-footer': ModalFooter;
90
- 'w-pageindicator': WarpPageIndicator;
91
- 'w-pagination': WarpPagination;
92
- 'w-pill': WarpPill;
93
- 'w-checkbox': WCheckbox;
94
- 'w-radio': WRadio;
95
- 'w-radio-group': WRadioGroup;
96
- 'w-select': WarpSelect;
97
- 'w-slider': WarpSlider;
98
- 'w-slider-thumb': WarpSliderThumb;
99
- 'w-steps': WarpSteps;
100
- 'w-step': WarpStep;
101
- 'w-switch': WarpSwitch;
102
- 'w-tab': WarpTab;
103
- 'w-tabs': WarpTabs;
104
- 'w-tab-panel': WarpTabPanel;
105
- 'w-textfield': WarpTextField;
106
- 'w-toast-container': WarpToastContainer;
107
- 'w-toast': WarpToast;
108
- }
1823
+ interface IntrinsicElements extends CustomElements {}
109
1824
  }
1825
+ export interface CSSProperties extends CustomCssProperties {}
110
1826
  }