@nvidia-elements/core 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/NOTICE.md +4 -4
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0 → _@oxc-project_runtime@0.132.0}/helpers/decorate.js +1 -1
- package/dist/accordion/accordion-header.js +1 -1
- package/dist/accordion/accordion-header.js.map +1 -1
- package/dist/accordion/accordion.d.ts +4 -7
- package/dist/accordion/accordion.examples.js.map +1 -1
- package/dist/accordion/accordion.examples.json +1 -12
- package/dist/accordion/accordion.js +1 -1
- package/dist/accordion/accordion.js.map +1 -1
- package/dist/accordion/accordion2.js +41 -44
- package/dist/accordion/accordion2.js.map +1 -1
- package/dist/alert/alert-group.d.ts +1 -1
- package/dist/alert/alert-group2.js +14 -14
- package/dist/alert/alert.d.ts +1 -1
- package/dist/alert/alert.js +1 -1
- package/dist/alert/alert.js.map +1 -1
- package/dist/alert/alert2.js +20 -20
- package/dist/avatar/avatar-group.d.ts +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar.d.ts +1 -1
- package/dist/avatar/avatar2.js +6 -6
- package/dist/badge/badge.d.ts +3 -3
- package/dist/badge/badge.js +1 -1
- package/dist/badge/badge.js.map +1 -1
- package/dist/badge/badge2.js +22 -23
- package/dist/badge/badge2.js.map +1 -1
- package/dist/breadcrumb/breadcrumb.d.ts +1 -6
- package/dist/breadcrumb/breadcrumb.js +1 -1
- package/dist/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/breadcrumb/breadcrumb2.js +12 -12
- package/dist/breadcrumb/breadcrumb2.js.map +1 -1
- package/dist/bundle.d.ts +14 -0
- package/dist/bundles/index.d.ts +1229 -1877
- package/dist/bundles/index.js +6 -6
- package/dist/button/button.d.ts +7 -4
- package/dist/button/button.js +1 -1
- package/dist/button/button.js.map +1 -1
- package/dist/button/button2.js +13 -13
- package/dist/button/button2.js.map +1 -1
- package/dist/button-group/button-group.d.ts +1 -1
- package/dist/button-group/button-group2.js +15 -15
- package/dist/card/card-header.js +1 -1
- package/dist/card/card-header.js.map +1 -1
- package/dist/card/card.d.ts +4 -7
- package/dist/card/card2.js +18 -18
- package/dist/card/card2.js.map +1 -1
- package/dist/chat-message/chat-message.d.ts +1 -1
- package/dist/chat-message/chat-message2.js +7 -7
- package/dist/checkbox/checkbox-group2.js +7 -7
- package/dist/checkbox/checkbox2.js +7 -7
- package/dist/color/color.d.ts +1 -1
- package/dist/color/color2.js +7 -7
- package/dist/combobox/combobox.d.ts +2 -8
- package/dist/combobox/combobox.examples.js.map +1 -1
- package/dist/combobox/combobox2.js +10 -13
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/copy-button/copy-button.d.ts +1 -1
- package/dist/copy-button/copy-button2.js +11 -11
- package/dist/copy-button/copy-button2.js.map +1 -1
- package/dist/custom-elements-jsx.d.ts +374 -646
- package/dist/custom-elements-vue.d.ts +374 -646
- package/dist/custom-elements.json +5999 -15468
- package/dist/data.html.json +322 -191
- package/dist/data.snippets.json +30 -30
- package/dist/date/date.d.ts +1 -1
- package/dist/date/date2.js +7 -7
- package/dist/datetime/datetime.d.ts +1 -1
- package/dist/datetime/datetime2.js +7 -7
- package/dist/dialog/dialog-footer.d.ts +1 -1
- package/dist/dialog/dialog-footer2.js +6 -6
- package/dist/dialog/dialog-header.d.ts +1 -1
- package/dist/dialog/dialog-header2.js +6 -6
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dialog/dialog.examples.js.map +1 -1
- package/dist/dialog/dialog2.js +19 -19
- package/dist/divider/divider.d.ts +1 -1
- package/dist/divider/divider2.js +5 -5
- package/dist/dot/dot.d.ts +1 -1
- package/dist/dot/dot2.js +8 -8
- package/dist/drawer/drawer-content.d.ts +1 -1
- package/dist/drawer/drawer-content2.js +6 -6
- package/dist/drawer/drawer-footer.d.ts +1 -1
- package/dist/drawer/drawer-footer2.js +6 -6
- package/dist/drawer/drawer-header.d.ts +1 -1
- package/dist/drawer/drawer-header2.js +6 -6
- package/dist/drawer/drawer.d.ts +1 -1
- package/dist/drawer/drawer2.js +19 -19
- package/dist/dropdown/dropdown-footer.d.ts +1 -1
- package/dist/dropdown/dropdown-footer2.js +6 -6
- package/dist/dropdown/dropdown-header.d.ts +1 -1
- package/dist/dropdown/dropdown-header2.js +6 -6
- package/dist/dropdown/dropdown.d.ts +1 -1
- package/dist/dropdown/dropdown2.js +16 -16
- package/dist/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/dropdown-group/dropdown-group.js +16 -16
- package/dist/dropzone/dropzone.d.ts +2 -405
- package/dist/dropzone/dropzone2.js +14 -14
- package/dist/dropzone/dropzone2.js.map +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime.d.ts +1 -1
- package/dist/format-datetime/format-datetime2.js +10 -10
- package/dist/format-number/format-number.d.ts +1 -1
- package/dist/format-number/format-number2.js +16 -16
- package/dist/format-relative-time/format-relative-time.d.ts +1 -1
- package/dist/format-relative-time/format-relative-time2.js +7 -7
- package/dist/forms/control/control2.js +19 -19
- package/dist/forms/control-group/control-group.d.ts +1 -1
- package/dist/forms/control-group/control-group.js +1 -1
- package/dist/forms/control-group/control-group.js.map +1 -1
- package/dist/forms/control-group/control-group2.js +6 -6
- package/dist/forms/control-message/control-message.d.ts +1 -1
- package/dist/forms/control-message/control-message2.js +9 -9
- package/dist/grid/cell/cell.d.ts +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column.d.ts +1 -1
- package/dist/grid/column/column2.js +10 -10
- package/dist/grid/footer/footer.d.ts +1 -1
- package/dist/grid/footer/footer2.js +6 -6
- package/dist/grid/grid.d.ts +3 -2
- package/dist/grid/grid.examples.js.map +1 -1
- package/dist/grid/grid2.js +38 -30
- package/dist/grid/grid2.js.map +1 -1
- package/dist/grid/header/header.d.ts +1 -1
- package/dist/grid/header/header2.js +9 -9
- package/dist/grid/placeholder/placeholder.d.ts +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row.d.ts +1 -1
- package/dist/grid/row/row2.js +9 -9
- package/dist/icon/icon.d.ts +1 -1
- package/dist/icon/icon2.js +29 -21
- package/dist/icon/icon2.js.map +1 -1
- package/dist/icon/icons.d.ts +0 -2
- package/dist/icon/icons.js.map +1 -1
- package/dist/icon-button/icon-button.d.ts +1 -1
- package/dist/icon-button/icon-button.js +1 -1
- package/dist/icon-button/icon-button.js.map +1 -1
- package/dist/icon-button/icon-button2.js +9 -9
- package/dist/index.js +4 -4
- package/dist/input/input-group.examples.js.map +1 -1
- package/dist/input/input-group.examples.json +11 -0
- package/dist/input/input-group.js +1 -1
- package/dist/input/input-group.js.map +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +6 -6
- package/dist/internal/controllers/keynav-grid.controller.js +39 -39
- package/dist/internal/controllers/state-scroll.controller.d.ts +1 -0
- package/dist/internal/controllers/state-scroll.controller.js +25 -8
- package/dist/internal/controllers/state-scroll.controller.js.map +1 -1
- package/dist/internal/controllers/type-button.controller.examples.js.map +1 -1
- package/dist/internal/controllers/type-button.controller.examples.json +1 -1
- package/dist/internal/controllers/type-command.controller.d.ts +6 -1
- package/dist/internal/controllers/type-command.controller.js +20 -14
- package/dist/internal/controllers/type-command.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.controller.js +28 -21
- package/dist/internal/controllers/type-native-popover.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.utils.js +7 -7
- package/dist/internal/index.d.ts +0 -1
- package/dist/internal/index.js +40 -41
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/types/index.d.ts +0 -10
- package/dist/internal/types/index.js +0 -3
- package/dist/internal/types/index.js.map +1 -1
- package/dist/logo/logo.d.ts +1 -1
- package/dist/logo/logo2.js +6 -6
- package/dist/menu/menu-item.d.ts +5 -3
- package/dist/menu/menu-item2.js +12 -12
- package/dist/menu/menu-item2.js.map +1 -1
- package/dist/menu/menu.d.ts +1 -1
- package/dist/menu/menu.examples.js.map +1 -1
- package/dist/menu/menu.examples.json +1 -1
- package/dist/menu/menu2.js +10 -10
- package/dist/month/month.d.ts +1 -1
- package/dist/month/month2.js +7 -7
- package/dist/notification/notification-group.d.ts +1 -1
- package/dist/notification/notification-group2.js +11 -11
- package/dist/notification/notification.d.ts +2 -1
- package/dist/notification/notification.examples.js.map +1 -1
- package/dist/notification/notification.examples.json +0 -11
- package/dist/notification/notification2.js +36 -28
- package/dist/notification/notification2.js.map +1 -1
- package/dist/page/page-panel/page-panel-content.d.ts +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer.d.ts +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +6 -6
- package/dist/page/page-panel/page-panel-header.d.ts +1 -1
- package/dist/page/page-panel/page-panel-header2.js +6 -6
- package/dist/page/page-panel/page-panel.d.ts +2 -17
- package/dist/page/page-panel/page-panel.global.js +1 -1
- package/dist/page/page-panel/page-panel.global.js.map +1 -1
- package/dist/page/page-panel/page-panel2.js +21 -44
- package/dist/page/page-panel/page-panel2.js.map +1 -1
- package/dist/page/page.d.ts +1 -1
- package/dist/page/page.examples.js.map +1 -1
- package/dist/page/page.examples.json +0 -32
- package/dist/page/page2.js +9 -9
- package/dist/page-header/page-header.d.ts +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader.d.ts +1 -1
- package/dist/page-loader/page-loader2.js +10 -10
- package/dist/pagination/pagination.d.ts +2 -405
- package/dist/pagination/pagination2.js +17 -17
- package/dist/pagination/pagination2.js.map +1 -1
- package/dist/panel/panel.d.ts +8 -5
- package/dist/panel/panel.examples.js.map +1 -1
- package/dist/panel/panel2.js +21 -21
- package/dist/panel/panel2.js.map +1 -1
- package/dist/password/password.d.ts +1 -1
- package/dist/password/password2.js +7 -7
- package/dist/preferences-input/preferences-input.d.ts +2 -405
- package/dist/preferences-input/preferences-input2.js +9 -9
- package/dist/preferences-input/preferences-input2.js.map +1 -1
- package/dist/progress-bar/progress-bar.d.ts +1 -1
- package/dist/progress-bar/progress-bar2.js +8 -8
- package/dist/progress-ring/progress-ring.d.ts +1 -3
- package/dist/progress-ring/progress-ring2.js +17 -22
- package/dist/progress-ring/progress-ring2.js.map +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip.d.ts +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +15 -15
- package/dist/pulse/pulse.d.ts +1 -1
- package/dist/pulse/pulse2.js +6 -6
- package/dist/radio/radio-group2.js +7 -7
- package/dist/radio/radio2.js +7 -7
- package/dist/range/range.d.ts +1 -1
- package/dist/range/range2.js +5 -5
- package/dist/resize-handle/resize-handle.d.ts +2 -405
- package/dist/resize-handle/resize-handle2.js +16 -16
- package/dist/resize-handle/resize-handle2.js.map +1 -1
- package/dist/search/search.d.ts +1 -1
- package/dist/search/search2.js +8 -8
- package/dist/select/select.d.ts +2 -2
- package/dist/select/select2.js +18 -18
- package/dist/skeleton/skeleton.d.ts +1 -1
- package/dist/skeleton/skeleton2.js +7 -7
- package/dist/sort-button/sort-button.d.ts +5 -3
- package/dist/sort-button/sort-button2.js +19 -19
- package/dist/sort-button/sort-button2.js.map +1 -1
- package/dist/sparkline/sparkline.d.ts +1 -1
- package/dist/sparkline/sparkline2.js +14 -14
- package/dist/star-rating/star-rating.d.ts +1 -1
- package/dist/star-rating/star-rating2.js +6 -6
- package/dist/steps/steps.d.ts +6 -4
- package/dist/steps/steps2.js +36 -36
- package/dist/steps/steps2.js.map +1 -1
- package/dist/switch/switch-group2.js +6 -6
- package/dist/switch/switch2.js +7 -7
- package/dist/tabs/tabs-group.d.ts +1 -1
- package/dist/tabs/tabs-group2.js +21 -21
- package/dist/tabs/tabs-item.js +1 -1
- package/dist/tabs/tabs-item.js.map +1 -1
- package/dist/tabs/tabs.d.ts +6 -8
- package/dist/tabs/tabs.global.js +1 -1
- package/dist/tabs/tabs.global.js.map +1 -1
- package/dist/tabs/tabs.js +1 -1
- package/dist/tabs/tabs.js.map +1 -1
- package/dist/tabs/tabs2.js +30 -30
- package/dist/tabs/tabs2.js.map +1 -1
- package/dist/tag/tag.d.ts +6 -3
- package/dist/tag/tag2.js +20 -20
- package/dist/tag/tag2.js.map +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time.d.ts +1 -1
- package/dist/time/time2.js +7 -7
- package/dist/toast/toast.d.ts +3 -4
- package/dist/toast/toast2.js +21 -21
- package/dist/toast/toast2.js.map +1 -1
- package/dist/toggletip/toggletip-footer.d.ts +1 -1
- package/dist/toggletip/toggletip-footer2.js +6 -6
- package/dist/toggletip/toggletip-header.d.ts +1 -1
- package/dist/toggletip/toggletip-header2.js +6 -6
- package/dist/toggletip/toggletip.d.ts +1 -1
- package/dist/toggletip/toggletip.examples.js.map +1 -1
- package/dist/toggletip/toggletip2.js +17 -17
- package/dist/toolbar/toolbar.d.ts +1 -1
- package/dist/toolbar/toolbar2.js +11 -11
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/dist/tooltip/tooltip2.js +16 -16
- package/dist/tree/tree-node.d.ts +1 -1
- package/dist/tree/tree-node2.js +30 -30
- package/dist/tree/tree.d.ts +1 -1
- package/dist/tree/tree2.js +14 -14
- package/dist/week/week.d.ts +1 -1
- package/dist/week/week2.js +7 -7
- package/package.json +15 -15
- package/dist/internal/base/button.d.ts +0 -114
- package/dist/internal/base/button.js +0 -117
- package/dist/internal/base/button.js.map +0 -1
|
@@ -74,20 +74,11 @@ type BaseEvents = {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
export type AccordionHeaderProps = {
|
|
77
|
-
/** @deprecated - not supported on custom element tags */
|
|
78
|
-
"nve-layout"?: string;
|
|
79
|
-
/** @deprecated - not supported on custom element tags */
|
|
80
|
-
"nve-text"?: string;
|
|
81
77
|
/** */
|
|
82
78
|
slot?: string;
|
|
83
79
|
};
|
|
84
80
|
|
|
85
|
-
export type AccordionContentProps = {
|
|
86
|
-
/** @deprecated - not supported on custom element tags */
|
|
87
|
-
"nve-layout"?: string;
|
|
88
|
-
/** @deprecated - not supported on custom element tags */
|
|
89
|
-
"nve-text"?: string;
|
|
90
|
-
};
|
|
81
|
+
export type AccordionContentProps = {};
|
|
91
82
|
|
|
92
83
|
export type AccordionProps = {
|
|
93
84
|
/** Enables updating internal string values for internationalization. */
|
|
@@ -109,10 +100,6 @@ export type AccordionProps = {
|
|
|
109
100
|
disabled?: boolean;
|
|
110
101
|
/** Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless) */
|
|
111
102
|
"behavior-expand"?: boolean;
|
|
112
|
-
/** @deprecated - not supported on custom element tags */
|
|
113
|
-
"nve-layout"?: string;
|
|
114
|
-
/** @deprecated - not supported on custom element tags */
|
|
115
|
-
"nve-text"?: string;
|
|
116
103
|
};
|
|
117
104
|
|
|
118
105
|
export type AccordionGroupProps = {
|
|
@@ -125,10 +112,6 @@ export type AccordionGroupProps = {
|
|
|
125
112
|
|
|
126
113
|
- `inset` Element container optimizes for embedding or inset placement inside another containing element. */
|
|
127
114
|
container?: "flat" | "inset" | "default";
|
|
128
|
-
/** @deprecated - not supported on custom element tags */
|
|
129
|
-
"nve-layout"?: string;
|
|
130
|
-
/** @deprecated - not supported on custom element tags */
|
|
131
|
-
"nve-text"?: string;
|
|
132
115
|
};
|
|
133
116
|
|
|
134
117
|
export type AlertGroupProps = {
|
|
@@ -171,10 +154,6 @@ export type AlertGroupProps = {
|
|
|
171
154
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
172
155
|
- `full` Element container optimizes for filling its container bounds. */
|
|
173
156
|
container?: "full" | "default";
|
|
174
|
-
/** @deprecated - not supported on custom element tags */
|
|
175
|
-
"nve-layout"?: string;
|
|
176
|
-
/** @deprecated - not supported on custom element tags */
|
|
177
|
-
"nve-text"?: string;
|
|
178
157
|
};
|
|
179
158
|
|
|
180
159
|
export type AlertProps = {
|
|
@@ -233,21 +212,12 @@ export type AlertProps = {
|
|
|
233
212
|
closable?: boolean;
|
|
234
213
|
/** Enables updating internal string values for internationalization. */
|
|
235
214
|
i18n?: string;
|
|
236
|
-
/** @deprecated - not supported on custom element tags */
|
|
237
|
-
"nve-layout"?: string;
|
|
238
|
-
/** @deprecated - not supported on custom element tags */
|
|
239
|
-
"nve-text"?: string;
|
|
240
215
|
|
|
241
216
|
/** Dispatched when the alert closes within an alert group. */
|
|
242
217
|
onclose?: (e: CustomEvent<never>) => void;
|
|
243
218
|
};
|
|
244
219
|
|
|
245
|
-
export type AvatarGroupProps = {
|
|
246
|
-
/** @deprecated - not supported on custom element tags */
|
|
247
|
-
"nve-layout"?: string;
|
|
248
|
-
/** @deprecated - not supported on custom element tags */
|
|
249
|
-
"nve-text"?: string;
|
|
250
|
-
};
|
|
220
|
+
export type AvatarGroupProps = {};
|
|
251
221
|
|
|
252
222
|
export type AvatarProps = {
|
|
253
223
|
/** Controls the visual scale of an element to match its importance and available space.
|
|
@@ -281,10 +251,6 @@ export type AvatarProps = {
|
|
|
281
251
|
| "lime-pear"
|
|
282
252
|
| "yellow-nova"
|
|
283
253
|
| "brand-green";
|
|
284
|
-
/** @deprecated - not supported on custom element tags */
|
|
285
|
-
"nve-layout"?: string;
|
|
286
|
-
/** @deprecated - not supported on custom element tags */
|
|
287
|
-
"nve-text"?: string;
|
|
288
254
|
};
|
|
289
255
|
|
|
290
256
|
export type BadgeProps = {
|
|
@@ -366,18 +332,9 @@ export type BadgeProps = {
|
|
|
366
332
|
prominence?: "emphasis" | "default";
|
|
367
333
|
/** Enables updating internal string values for internationalization. */
|
|
368
334
|
i18n?: string;
|
|
369
|
-
/** @deprecated - not supported on custom element tags */
|
|
370
|
-
"nve-layout"?: string;
|
|
371
|
-
/** @deprecated - not supported on custom element tags */
|
|
372
|
-
"nve-text"?: string;
|
|
373
335
|
};
|
|
374
336
|
|
|
375
|
-
export type BreadcrumbProps = {
|
|
376
|
-
/** @deprecated - not supported on custom element tags */
|
|
377
|
-
"nve-layout"?: string;
|
|
378
|
-
/** @deprecated - not supported on custom element tags */
|
|
379
|
-
"nve-text"?: string;
|
|
380
|
-
};
|
|
337
|
+
export type BreadcrumbProps = {};
|
|
381
338
|
|
|
382
339
|
export type ButtonGroupProps = {
|
|
383
340
|
/** By default the button group is stateless. Add the `behavior-select` attribute and set to `single` or `multi` to enable stateful selction handling. */
|
|
@@ -402,10 +359,6 @@ export type ButtonGroupProps = {
|
|
|
402
359
|
|
|
403
360
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
404
361
|
size?: "sm" | "md" | "lg" | "default";
|
|
405
|
-
/** @deprecated - not supported on custom element tags */
|
|
406
|
-
"nve-layout"?: string;
|
|
407
|
-
/** @deprecated - not supported on custom element tags */
|
|
408
|
-
"nve-text"?: string;
|
|
409
362
|
};
|
|
410
363
|
|
|
411
364
|
export type ButtonProps = {
|
|
@@ -426,10 +379,6 @@ export type ButtonProps = {
|
|
|
426
379
|
|
|
427
380
|
- `destructive` Shows the interaction targets destructive actions such as deleting or removing. */
|
|
428
381
|
interaction?: "emphasis" | "destructive";
|
|
429
|
-
/** @deprecated - not supported on custom element tags */
|
|
430
|
-
"nve-layout"?: string;
|
|
431
|
-
/** @deprecated - not supported on custom element tags */
|
|
432
|
-
"nve-text"?: string;
|
|
433
382
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
434
383
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
435
384
|
|
|
@@ -440,17 +389,18 @@ export type ButtonProps = {
|
|
|
440
389
|
|
|
441
390
|
- `false` The associated content collapses and hides from the user. */
|
|
442
391
|
expanded?: boolean;
|
|
443
|
-
/**
|
|
392
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
393
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
444
394
|
readonly?: boolean;
|
|
445
395
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
446
396
|
Returns a reference to the form element if available.
|
|
447
397
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
448
|
-
form?:
|
|
398
|
+
form?: string | HTMLFormElement | null;
|
|
449
399
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
450
400
|
name?: string;
|
|
451
401
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
452
402
|
value?: string;
|
|
453
|
-
/** Defines the button behavior when associated within
|
|
403
|
+
/** Defines the button behavior when associated within a form element.
|
|
454
404
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
455
405
|
type?: "button" | "submit" | "reset";
|
|
456
406
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -468,10 +418,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
468
418
|
|
|
469
419
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
470
420
|
current?: "page" | "step";
|
|
471
|
-
/**
|
|
472
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
473
|
-
popoverTargetElement?: HTMLElement | null;
|
|
474
|
-
/** The idref of the element that receives the popover.
|
|
421
|
+
/** The id reference of the element that receives the popover.
|
|
475
422
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
476
423
|
popovertarget?: string;
|
|
477
424
|
/** The popover target action to perform on the popover target element.
|
|
@@ -479,21 +426,16 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
479
426
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
480
427
|
/** The element that receives the command.
|
|
481
428
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
482
|
-
|
|
483
|
-
/** The idref of the element that receives the command.
|
|
484
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
485
|
-
commandfor?: string | null;
|
|
429
|
+
commandfor?: HTMLElement | null;
|
|
486
430
|
/** The command to execute on the element.
|
|
487
431
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
488
432
|
command?: string;
|
|
489
433
|
/** The element that receives the interest.
|
|
490
434
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
494
|
-
|
|
495
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
496
|
-
readonly?: boolean;
|
|
435
|
+
interestfor?: HTMLElement | null;
|
|
436
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
437
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
438
|
+
popoverTargetElement?: HTMLElement | null;
|
|
497
439
|
};
|
|
498
440
|
|
|
499
441
|
export type CardProps = {
|
|
@@ -502,33 +444,16 @@ export type CardProps = {
|
|
|
502
444
|
|
|
503
445
|
- `full` Element container optimizes for filling its container bounds. */
|
|
504
446
|
container?: "flat" | "full" | "default";
|
|
505
|
-
/** @deprecated - not supported on custom element tags */
|
|
506
|
-
"nve-layout"?: string;
|
|
507
|
-
/** @deprecated - not supported on custom element tags */
|
|
508
|
-
"nve-text"?: string;
|
|
509
447
|
};
|
|
510
448
|
|
|
511
449
|
export type CardHeaderProps = {
|
|
512
|
-
/** @deprecated - not supported on custom element tags */
|
|
513
|
-
"nve-layout"?: string;
|
|
514
|
-
/** @deprecated - not supported on custom element tags */
|
|
515
|
-
"nve-text"?: string;
|
|
516
450
|
/** */
|
|
517
451
|
slot?: string;
|
|
518
452
|
};
|
|
519
453
|
|
|
520
|
-
export type CardContentProps = {
|
|
521
|
-
/** @deprecated - not supported on custom element tags */
|
|
522
|
-
"nve-layout"?: string;
|
|
523
|
-
/** @deprecated - not supported on custom element tags */
|
|
524
|
-
"nve-text"?: string;
|
|
525
|
-
};
|
|
454
|
+
export type CardContentProps = {};
|
|
526
455
|
|
|
527
456
|
export type CardFooterProps = {
|
|
528
|
-
/** @deprecated - not supported on custom element tags */
|
|
529
|
-
"nve-layout"?: string;
|
|
530
|
-
/** @deprecated - not supported on custom element tags */
|
|
531
|
-
"nve-text"?: string;
|
|
532
457
|
/** */
|
|
533
458
|
slot?: string;
|
|
534
459
|
};
|
|
@@ -563,17 +488,9 @@ export type ChatMessageProps = {
|
|
|
563
488
|
| "brand-green";
|
|
564
489
|
/** */
|
|
565
490
|
"arrow-position"?: "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
566
|
-
/** @deprecated - not supported on custom element tags */
|
|
567
|
-
"nve-layout"?: string;
|
|
568
|
-
/** @deprecated - not supported on custom element tags */
|
|
569
|
-
"nve-text"?: string;
|
|
570
491
|
};
|
|
571
492
|
|
|
572
493
|
export type CheckboxGroupProps = {
|
|
573
|
-
/** @deprecated - not supported on custom element tags */
|
|
574
|
-
"nve-layout"?: string;
|
|
575
|
-
/** @deprecated - not supported on custom element tags */
|
|
576
|
-
"nve-text"?: string;
|
|
577
494
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
578
495
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
579
496
|
|
|
@@ -589,10 +506,6 @@ export type CheckboxGroupProps = {
|
|
|
589
506
|
};
|
|
590
507
|
|
|
591
508
|
export type CheckboxProps = {
|
|
592
|
-
/** @deprecated - not supported on custom element tags */
|
|
593
|
-
"nve-layout"?: string;
|
|
594
|
-
/** @deprecated - not supported on custom element tags */
|
|
595
|
-
"nve-text"?: string;
|
|
596
509
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
597
510
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
598
511
|
|
|
@@ -625,10 +538,6 @@ export type ColorProps = {
|
|
|
625
538
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
626
539
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
627
540
|
container?: "flat" | "default";
|
|
628
|
-
/** @deprecated - not supported on custom element tags */
|
|
629
|
-
"nve-layout"?: string;
|
|
630
|
-
/** @deprecated - not supported on custom element tags */
|
|
631
|
-
"nve-text"?: string;
|
|
632
541
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
633
542
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
634
543
|
|
|
@@ -661,18 +570,10 @@ export type ComboboxProps = {
|
|
|
661
570
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
662
571
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
663
572
|
container?: "flat";
|
|
664
|
-
/** @deprecated Use `tagLayout = 'hidden'` or `tag-layout="hidden"` instead.
|
|
665
|
-
|
|
666
|
-
Disable rendering of inline tags for many-item select */
|
|
667
|
-
notags?: boolean;
|
|
668
573
|
/** Manage inline tag rendering for many-item select */
|
|
669
574
|
"tag-layout"?: "hidden" | "wrap";
|
|
670
575
|
/** Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail. */
|
|
671
576
|
"behavior-create"?: boolean;
|
|
672
|
-
/** @deprecated - not supported on custom element tags */
|
|
673
|
-
"nve-layout"?: string;
|
|
674
|
-
/** @deprecated - not supported on custom element tags */
|
|
675
|
-
"nve-text"?: string;
|
|
676
577
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
677
578
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
678
579
|
|
|
@@ -712,10 +613,6 @@ export type CopyButtonProps = {
|
|
|
712
613
|
"behavior-copy"?: boolean;
|
|
713
614
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
714
615
|
value?: string;
|
|
715
|
-
/** @deprecated - not supported on custom element tags */
|
|
716
|
-
"nve-layout"?: string;
|
|
717
|
-
/** @deprecated - not supported on custom element tags */
|
|
718
|
-
"nve-text"?: string;
|
|
719
616
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
720
617
|
- `flat` Element has white space bounds but reduced visual container.
|
|
721
618
|
|
|
@@ -743,15 +640,16 @@ export type CopyButtonProps = {
|
|
|
743
640
|
|
|
744
641
|
- `false` The associated content collapses and hides from the user. */
|
|
745
642
|
expanded?: boolean;
|
|
746
|
-
/**
|
|
643
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
644
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
747
645
|
readonly?: boolean;
|
|
748
646
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
749
647
|
Returns a reference to the form element if available.
|
|
750
648
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
751
|
-
form?:
|
|
649
|
+
form?: string | HTMLFormElement | null;
|
|
752
650
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
753
651
|
name?: string;
|
|
754
|
-
/** Defines the button behavior when associated within
|
|
652
|
+
/** Defines the button behavior when associated within a form element.
|
|
755
653
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
756
654
|
type?: "button" | "submit" | "reset";
|
|
757
655
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -769,10 +667,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
769
667
|
|
|
770
668
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
771
669
|
current?: "page" | "step";
|
|
772
|
-
/**
|
|
773
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
774
|
-
popoverTargetElement?: HTMLElement | null;
|
|
775
|
-
/** The idref of the element that receives the popover.
|
|
670
|
+
/** The id reference of the element that receives the popover.
|
|
776
671
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
777
672
|
popovertarget?: string;
|
|
778
673
|
/** The popover target action to perform on the popover target element.
|
|
@@ -780,31 +675,22 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
780
675
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
781
676
|
/** The element that receives the command.
|
|
782
677
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
783
|
-
|
|
784
|
-
/** The idref of the element that receives the command.
|
|
785
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
786
|
-
commandfor?: string | null;
|
|
678
|
+
commandfor?: HTMLElement | null;
|
|
787
679
|
/** The command to execute on the element.
|
|
788
680
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
789
681
|
command?: string;
|
|
790
682
|
/** The element that receives the interest.
|
|
791
683
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
795
|
-
|
|
796
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
797
|
-
readonly?: boolean;
|
|
684
|
+
interestfor?: HTMLElement | null;
|
|
685
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
686
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
687
|
+
popoverTargetElement?: HTMLElement | null;
|
|
798
688
|
};
|
|
799
689
|
|
|
800
690
|
export type DateProps = {
|
|
801
691
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
802
692
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
803
693
|
container?: "flat" | "default";
|
|
804
|
-
/** @deprecated - not supported on custom element tags */
|
|
805
|
-
"nve-layout"?: string;
|
|
806
|
-
/** @deprecated - not supported on custom element tags */
|
|
807
|
-
"nve-text"?: string;
|
|
808
694
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
809
695
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
810
696
|
|
|
@@ -837,10 +723,6 @@ export type DatetimeProps = {
|
|
|
837
723
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
838
724
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
839
725
|
container?: "flat" | "default";
|
|
840
|
-
/** @deprecated - not supported on custom element tags */
|
|
841
|
-
"nve-layout"?: string;
|
|
842
|
-
/** @deprecated - not supported on custom element tags */
|
|
843
|
-
"nve-text"?: string;
|
|
844
726
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
845
727
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
846
728
|
|
|
@@ -869,19 +751,9 @@ export type DatetimeProps = {
|
|
|
869
751
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
870
752
|
};
|
|
871
753
|
|
|
872
|
-
export type DialogFooterProps = {
|
|
873
|
-
/** @deprecated - not supported on custom element tags */
|
|
874
|
-
"nve-layout"?: string;
|
|
875
|
-
/** @deprecated - not supported on custom element tags */
|
|
876
|
-
"nve-text"?: string;
|
|
877
|
-
};
|
|
754
|
+
export type DialogFooterProps = {};
|
|
878
755
|
|
|
879
|
-
export type DialogHeaderProps = {
|
|
880
|
-
/** @deprecated - not supported on custom element tags */
|
|
881
|
-
"nve-layout"?: string;
|
|
882
|
-
/** @deprecated - not supported on custom element tags */
|
|
883
|
-
"nve-text"?: string;
|
|
884
|
-
};
|
|
756
|
+
export type DialogHeaderProps = {};
|
|
885
757
|
|
|
886
758
|
export type DialogProps = {
|
|
887
759
|
/** Determines the position of an element along both inline and block axis. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Box_alignment_in_grid_layout#the_two_axes_of_a_grid_layout)
|
|
@@ -927,10 +799,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
927
799
|
"behavior-trigger"?: boolean;
|
|
928
800
|
/** Enables updating internal string values for internationalization. */
|
|
929
801
|
i18n?: string;
|
|
930
|
-
/** @deprecated - not supported on custom element tags */
|
|
931
|
-
"nve-layout"?: string;
|
|
932
|
-
/** @deprecated - not supported on custom element tags */
|
|
933
|
-
"nve-text"?: string;
|
|
934
802
|
|
|
935
803
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
936
804
|
onbeforetoggle?: (e: CustomEvent<never>) => void;
|
|
@@ -948,10 +816,6 @@ export type DividerProps = {
|
|
|
948
816
|
|
|
949
817
|
- `horizontal` Element orients horizontally with left-to-right flow. */
|
|
950
818
|
orientation?: "vertical" | "horizontal";
|
|
951
|
-
/** @deprecated - not supported on custom element tags */
|
|
952
|
-
"nve-layout"?: string;
|
|
953
|
-
/** @deprecated - not supported on custom element tags */
|
|
954
|
-
"nve-text"?: string;
|
|
955
819
|
};
|
|
956
820
|
|
|
957
821
|
export type DotProps = {
|
|
@@ -1008,32 +872,13 @@ export type DotProps = {
|
|
|
1008
872
|
|
|
1009
873
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
1010
874
|
size?: "sm" | "md" | "lg";
|
|
1011
|
-
/** @deprecated - not supported on custom element tags */
|
|
1012
|
-
"nve-layout"?: string;
|
|
1013
|
-
/** @deprecated - not supported on custom element tags */
|
|
1014
|
-
"nve-text"?: string;
|
|
1015
875
|
};
|
|
1016
876
|
|
|
1017
|
-
export type DrawerContentProps = {
|
|
1018
|
-
/** @deprecated - not supported on custom element tags */
|
|
1019
|
-
"nve-layout"?: string;
|
|
1020
|
-
/** @deprecated - not supported on custom element tags */
|
|
1021
|
-
"nve-text"?: string;
|
|
1022
|
-
};
|
|
877
|
+
export type DrawerContentProps = {};
|
|
1023
878
|
|
|
1024
|
-
export type DrawerFooterProps = {
|
|
1025
|
-
/** @deprecated - not supported on custom element tags */
|
|
1026
|
-
"nve-layout"?: string;
|
|
1027
|
-
/** @deprecated - not supported on custom element tags */
|
|
1028
|
-
"nve-text"?: string;
|
|
1029
|
-
};
|
|
879
|
+
export type DrawerFooterProps = {};
|
|
1030
880
|
|
|
1031
|
-
export type DrawerHeaderProps = {
|
|
1032
|
-
/** @deprecated - not supported on custom element tags */
|
|
1033
|
-
"nve-layout"?: string;
|
|
1034
|
-
/** @deprecated - not supported on custom element tags */
|
|
1035
|
-
"nve-text"?: string;
|
|
1036
|
-
};
|
|
881
|
+
export type DrawerHeaderProps = {};
|
|
1037
882
|
|
|
1038
883
|
export type DrawerProps = {
|
|
1039
884
|
/** Determines the position of an element along both inline and block axis. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Box_alignment_in_grid_layout#the_two_axes_of_a_grid_layout) */
|
|
@@ -1066,10 +911,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
1066
911
|
"behavior-trigger"?: boolean;
|
|
1067
912
|
/** Enables updating internal string values for internationalization. */
|
|
1068
913
|
i18n?: string;
|
|
1069
|
-
/** @deprecated - not supported on custom element tags */
|
|
1070
|
-
"nve-layout"?: string;
|
|
1071
|
-
/** @deprecated - not supported on custom element tags */
|
|
1072
|
-
"nve-text"?: string;
|
|
1073
914
|
|
|
1074
915
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
1075
916
|
onbeforetoggle?: (e: CustomEvent<never>) => void;
|
|
@@ -1082,30 +923,15 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
1082
923
|
};
|
|
1083
924
|
|
|
1084
925
|
export type DropdownGroupProps = {
|
|
1085
|
-
/** @deprecated - not supported on custom element tags */
|
|
1086
|
-
"nve-layout"?: string;
|
|
1087
|
-
/** @deprecated - not supported on custom element tags */
|
|
1088
|
-
"nve-text"?: string;
|
|
1089
|
-
|
|
1090
926
|
/** Dispatched when a dropdown in the group opens */
|
|
1091
927
|
onopen?: (e: CustomEvent<never>) => void;
|
|
1092
928
|
/** Dispatched when a dropdown in the group closes */
|
|
1093
929
|
onclose?: (e: CustomEvent<never>) => void;
|
|
1094
930
|
};
|
|
1095
931
|
|
|
1096
|
-
export type DropdownFooterProps = {
|
|
1097
|
-
/** @deprecated - not supported on custom element tags */
|
|
1098
|
-
"nve-layout"?: string;
|
|
1099
|
-
/** @deprecated - not supported on custom element tags */
|
|
1100
|
-
"nve-text"?: string;
|
|
1101
|
-
};
|
|
932
|
+
export type DropdownFooterProps = {};
|
|
1102
933
|
|
|
1103
|
-
export type DropdownHeaderProps = {
|
|
1104
|
-
/** @deprecated - not supported on custom element tags */
|
|
1105
|
-
"nve-layout"?: string;
|
|
1106
|
-
/** @deprecated - not supported on custom element tags */
|
|
1107
|
-
"nve-text"?: string;
|
|
1108
|
-
};
|
|
934
|
+
export type DropdownHeaderProps = {};
|
|
1109
935
|
|
|
1110
936
|
export type DropdownProps = {
|
|
1111
937
|
/** Provides the element that the popover should position relative to. Anchor can accept a idref string within the same render root or a HTMLElement DOM reference. */
|
|
@@ -1148,10 +974,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
1148
974
|
"popover-type"?: "auto" | "manual" | "hint" | "inline";
|
|
1149
975
|
/** Enables updating internal string values for internationalization. */
|
|
1150
976
|
i18n?: string;
|
|
1151
|
-
/** @deprecated - not supported on custom element tags */
|
|
1152
|
-
"nve-layout"?: string;
|
|
1153
|
-
/** @deprecated - not supported on custom element tags */
|
|
1154
|
-
"nve-text"?: string;
|
|
1155
977
|
/** */
|
|
1156
978
|
popoverArrow?: HTMLElement;
|
|
1157
979
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
@@ -1171,21 +993,72 @@ export type DropzoneProps = {
|
|
|
1171
993
|
"max-file-size"?: number;
|
|
1172
994
|
/** Enables updating internal string values for internationalization. */
|
|
1173
995
|
i18n?: string;
|
|
1174
|
-
/**
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
996
|
+
/** Prevents the user from changing the control value.
|
|
997
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
998
|
+
readonly?: boolean;
|
|
999
|
+
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
1000
|
+
- `true` The element has a disabled state and does not accept interaction.
|
|
1001
|
+
|
|
1002
|
+
- `false` The element has an enabled state and accepts interaction. */
|
|
1003
|
+
disabled?: boolean;
|
|
1004
|
+
/** Requires a value before the parent form can submit.
|
|
1005
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required */
|
|
1006
|
+
required?: boolean;
|
|
1007
|
+
/** Defines the pattern that text values must match.
|
|
1008
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern */
|
|
1009
|
+
pattern?: string;
|
|
1010
|
+
/** Defines the minimum numeric value.
|
|
1011
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min */
|
|
1012
|
+
min?: number | null;
|
|
1013
|
+
/** Defines the maximum numeric value.
|
|
1014
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max */
|
|
1015
|
+
max?: number | null;
|
|
1016
|
+
/** Defines the value granularity for numeric inputs.
|
|
1017
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step */
|
|
1018
|
+
step?: number | null;
|
|
1019
|
+
/** Defines the minimum text length.
|
|
1020
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength */
|
|
1021
|
+
minlength?: number;
|
|
1022
|
+
/** Defines the maximum text length.
|
|
1023
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength */
|
|
1024
|
+
maxlength?: number;
|
|
1025
|
+
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
1026
|
+
name?: string;
|
|
1027
|
+
/** Disables constraint validation for this control.
|
|
1028
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate */
|
|
1029
|
+
novalidate?: boolean;
|
|
1178
1030
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
1179
|
-
value?:
|
|
1031
|
+
value?: T | undefined;
|
|
1032
|
+
/** The initial value used when the parent form resets. */
|
|
1033
|
+
defaultValue?: string;
|
|
1034
|
+
/** The form associated with the control.
|
|
1035
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
1036
|
+
form?: HTMLFormElement | null;
|
|
1037
|
+
/** Indicates whether the control participates in constraint validation.
|
|
1038
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate */
|
|
1039
|
+
willValidate?: boolean;
|
|
1040
|
+
/** The control validity state.
|
|
1041
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity */
|
|
1042
|
+
validity?: ValidityState;
|
|
1043
|
+
/** The validation message shown when the control is invalid.
|
|
1044
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage */
|
|
1045
|
+
validationMessage?: string;
|
|
1046
|
+
/** The current value serialized as a string. */
|
|
1047
|
+
valueAsString?: string;
|
|
1048
|
+
/** The current value parsed as a number. */
|
|
1049
|
+
valueAsNumber?: number;
|
|
1050
|
+
/** The control type. */
|
|
1051
|
+
type?: string;
|
|
1052
|
+
/** Labels associated with the control.
|
|
1053
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels */
|
|
1054
|
+
labels?: NodeList;
|
|
1055
|
+
/** Text content from labels associated with the control. */
|
|
1056
|
+
composedLabel?: string;
|
|
1180
1057
|
/** Dispatched when the value has changed (files located in event.target) */
|
|
1181
1058
|
onchange?: (e: CustomEvent<never>) => void;
|
|
1182
1059
|
};
|
|
1183
1060
|
|
|
1184
1061
|
export type FileProps = {
|
|
1185
|
-
/** @deprecated - not supported on custom element tags */
|
|
1186
|
-
"nve-layout"?: string;
|
|
1187
|
-
/** @deprecated - not supported on custom element tags */
|
|
1188
|
-
"nve-text"?: string;
|
|
1189
1062
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
1190
1063
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
1191
1064
|
|
|
@@ -1245,10 +1118,6 @@ Preset styles take precedence over granular date and time part options. */
|
|
|
1245
1118
|
"time-zone-name"?: "long" | "short" | "default";
|
|
1246
1119
|
/** IANA time zone identifier (such as 'America/New_York', 'UTC'). */
|
|
1247
1120
|
"time-zone"?: string | "default";
|
|
1248
|
-
/** @deprecated - not supported on custom element tags */
|
|
1249
|
-
"nve-layout"?: string;
|
|
1250
|
-
/** @deprecated - not supported on custom element tags */
|
|
1251
|
-
"nve-text"?: string;
|
|
1252
1121
|
};
|
|
1253
1122
|
|
|
1254
1123
|
export type FormatNumberProps = {
|
|
@@ -1284,10 +1153,6 @@ When both are present, this property takes precedence. */
|
|
|
1284
1153
|
"maximum-fraction-digits"?: number | "default";
|
|
1285
1154
|
/** Pad integer output to at least this many digits (1-21). */
|
|
1286
1155
|
"minimum-integer-digits"?: number | "default";
|
|
1287
|
-
/** @deprecated - not supported on custom element tags */
|
|
1288
|
-
"nve-layout"?: string;
|
|
1289
|
-
/** @deprecated - not supported on custom element tags */
|
|
1290
|
-
"nve-text"?: string;
|
|
1291
1156
|
};
|
|
1292
1157
|
|
|
1293
1158
|
export type FormatRelativeTimeProps = {
|
|
@@ -1305,10 +1170,6 @@ When both are present, this property takes precedence. */
|
|
|
1305
1170
|
unit?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "auto";
|
|
1306
1171
|
/** When present, auto-updates the displayed relative time at appropriate intervals. */
|
|
1307
1172
|
sync?: boolean;
|
|
1308
|
-
/** @deprecated - not supported on custom element tags */
|
|
1309
|
-
"nve-layout"?: string;
|
|
1310
|
-
/** @deprecated - not supported on custom element tags */
|
|
1311
|
-
"nve-text"?: string;
|
|
1312
1173
|
};
|
|
1313
1174
|
|
|
1314
1175
|
export type ControlGroupProps = {
|
|
@@ -1324,10 +1185,6 @@ export type ControlGroupProps = {
|
|
|
1324
1185
|
/** Controls the visual prominence to establish hierarchy and guide user attention.
|
|
1325
1186
|
- `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. */
|
|
1326
1187
|
prominence?: "muted";
|
|
1327
|
-
/** @deprecated - not supported on custom element tags */
|
|
1328
|
-
"nve-layout"?: string;
|
|
1329
|
-
/** @deprecated - not supported on custom element tags */
|
|
1330
|
-
"nve-text"?: string;
|
|
1331
1188
|
};
|
|
1332
1189
|
|
|
1333
1190
|
export type ControlMessageProps = {
|
|
@@ -1351,10 +1208,6 @@ https://developer.mozilla.org/en-US/docs/Web/API/ValidityState */
|
|
|
1351
1208
|
| "valid"
|
|
1352
1209
|
| "valueMissing"
|
|
1353
1210
|
| null;
|
|
1354
|
-
/** @deprecated - not supported on custom element tags */
|
|
1355
|
-
"nve-layout"?: string;
|
|
1356
|
-
/** @deprecated - not supported on custom element tags */
|
|
1357
|
-
"nve-text"?: string;
|
|
1358
1211
|
/** */
|
|
1359
1212
|
slot?: string;
|
|
1360
1213
|
};
|
|
@@ -1383,21 +1236,12 @@ export type ControlProps = {
|
|
|
1383
1236
|
/** Controls the visual prominence to establish hierarchy and guide user attention.
|
|
1384
1237
|
- `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. */
|
|
1385
1238
|
prominence?: "muted";
|
|
1386
|
-
/** @deprecated - not supported on custom element tags */
|
|
1387
|
-
"nve-layout"?: string;
|
|
1388
|
-
/** @deprecated - not supported on custom element tags */
|
|
1389
|
-
"nve-text"?: string;
|
|
1390
1239
|
|
|
1391
1240
|
/** */
|
|
1392
1241
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
1393
1242
|
};
|
|
1394
1243
|
|
|
1395
|
-
export type GridCellProps = {
|
|
1396
|
-
/** @deprecated - not supported on custom element tags */
|
|
1397
|
-
"nve-layout"?: string;
|
|
1398
|
-
/** @deprecated - not supported on custom element tags */
|
|
1399
|
-
"nve-text"?: string;
|
|
1400
|
-
};
|
|
1244
|
+
export type GridCellProps = {};
|
|
1401
1245
|
|
|
1402
1246
|
export type GridColumnProps = {
|
|
1403
1247
|
/** Only set a fixed px width when you know the grid width. Most cases this should remain unset.
|
|
@@ -1410,20 +1254,12 @@ By default column widths are evenly divided unless width is explicitly provided.
|
|
|
1410
1254
|
"column-align"?: "start" | "center" | "end";
|
|
1411
1255
|
/** */
|
|
1412
1256
|
"aria-colindex"?: string;
|
|
1413
|
-
/** @deprecated - not supported on custom element tags */
|
|
1414
|
-
"nve-layout"?: string;
|
|
1415
|
-
/** @deprecated - not supported on custom element tags */
|
|
1416
|
-
"nve-text"?: string;
|
|
1417
1257
|
|
|
1418
1258
|
/** */
|
|
1419
1259
|
"onnve-grid-column-resize"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1420
1260
|
};
|
|
1421
1261
|
|
|
1422
1262
|
export type GridFooterProps = {
|
|
1423
|
-
/** @deprecated - not supported on custom element tags */
|
|
1424
|
-
"nve-layout"?: string;
|
|
1425
|
-
/** @deprecated - not supported on custom element tags */
|
|
1426
|
-
"nve-text"?: string;
|
|
1427
1263
|
/** */
|
|
1428
1264
|
slot?: string;
|
|
1429
1265
|
};
|
|
@@ -1436,25 +1272,11 @@ export type GridProps = {
|
|
|
1436
1272
|
container?: "flat" | "full" | "default";
|
|
1437
1273
|
/** Determine style variant stripe rows */
|
|
1438
1274
|
stripe?: boolean;
|
|
1439
|
-
/** @deprecated - not supported on custom element tags */
|
|
1440
|
-
"nve-layout"?: string;
|
|
1441
|
-
/** @deprecated - not supported on custom element tags */
|
|
1442
|
-
"nve-text"?: string;
|
|
1443
1275
|
};
|
|
1444
1276
|
|
|
1445
|
-
export type GridHeaderProps = {
|
|
1446
|
-
/** @deprecated - not supported on custom element tags */
|
|
1447
|
-
"nve-layout"?: string;
|
|
1448
|
-
/** @deprecated - not supported on custom element tags */
|
|
1449
|
-
"nve-text"?: string;
|
|
1450
|
-
};
|
|
1277
|
+
export type GridHeaderProps = {};
|
|
1451
1278
|
|
|
1452
|
-
export type GridPlaceholderProps = {
|
|
1453
|
-
/** @deprecated - not supported on custom element tags */
|
|
1454
|
-
"nve-layout"?: string;
|
|
1455
|
-
/** @deprecated - not supported on custom element tags */
|
|
1456
|
-
"nve-text"?: string;
|
|
1457
|
-
};
|
|
1279
|
+
export type GridPlaceholderProps = {};
|
|
1458
1280
|
|
|
1459
1281
|
export type GridRowProps = {
|
|
1460
1282
|
/** Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)
|
|
@@ -1462,10 +1284,6 @@ export type GridRowProps = {
|
|
|
1462
1284
|
|
|
1463
1285
|
- `false` The element does not hold selection and the user can choose it. */
|
|
1464
1286
|
selected?: boolean;
|
|
1465
|
-
/** @deprecated - not supported on custom element tags */
|
|
1466
|
-
"nve-layout"?: string;
|
|
1467
|
-
/** @deprecated - not supported on custom element tags */
|
|
1468
|
-
"nve-text"?: string;
|
|
1469
1287
|
};
|
|
1470
1288
|
|
|
1471
1289
|
export type IconButtonProps = {
|
|
@@ -1756,10 +1574,6 @@ Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/
|
|
|
1756
1574
|
|
|
1757
1575
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
1758
1576
|
size?: "sm" | "md" | "lg" | "default";
|
|
1759
|
-
/** @deprecated - not supported on custom element tags */
|
|
1760
|
-
"nve-layout"?: string;
|
|
1761
|
-
/** @deprecated - not supported on custom element tags */
|
|
1762
|
-
"nve-text"?: string;
|
|
1763
1577
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
1764
1578
|
- `flat` Element has white space bounds but reduced visual container.
|
|
1765
1579
|
|
|
@@ -1780,17 +1594,18 @@ Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/
|
|
|
1780
1594
|
|
|
1781
1595
|
- `false` The associated content collapses and hides from the user. */
|
|
1782
1596
|
expanded?: boolean;
|
|
1783
|
-
/**
|
|
1597
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
1598
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
1784
1599
|
readonly?: boolean;
|
|
1785
1600
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
1786
1601
|
Returns a reference to the form element if available.
|
|
1787
1602
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
1788
|
-
form?:
|
|
1603
|
+
form?: string | HTMLFormElement | null;
|
|
1789
1604
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
1790
1605
|
name?: string;
|
|
1791
1606
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
1792
1607
|
value?: string;
|
|
1793
|
-
/** Defines the button behavior when associated within
|
|
1608
|
+
/** Defines the button behavior when associated within a form element.
|
|
1794
1609
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
1795
1610
|
type?: "button" | "submit" | "reset";
|
|
1796
1611
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -1808,10 +1623,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
1808
1623
|
|
|
1809
1624
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
1810
1625
|
current?: "page" | "step";
|
|
1811
|
-
/**
|
|
1812
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
1813
|
-
popoverTargetElement?: HTMLElement | null;
|
|
1814
|
-
/** The idref of the element that receives the popover.
|
|
1626
|
+
/** The id reference of the element that receives the popover.
|
|
1815
1627
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
1816
1628
|
popovertarget?: string;
|
|
1817
1629
|
/** The popover target action to perform on the popover target element.
|
|
@@ -1819,21 +1631,16 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
1819
1631
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
1820
1632
|
/** The element that receives the command.
|
|
1821
1633
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
1822
|
-
|
|
1823
|
-
/** The idref of the element that receives the command.
|
|
1824
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
1825
|
-
commandfor?: string | null;
|
|
1634
|
+
commandfor?: HTMLElement | null;
|
|
1826
1635
|
/** The command to execute on the element.
|
|
1827
1636
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
1828
1637
|
command?: string;
|
|
1829
1638
|
/** The element that receives the interest.
|
|
1830
1639
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
1831
|
-
|
|
1832
|
-
/**
|
|
1833
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
1834
|
-
|
|
1835
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
1836
|
-
readonly?: boolean;
|
|
1640
|
+
interestfor?: HTMLElement | null;
|
|
1641
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
1642
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
1643
|
+
popoverTargetElement?: HTMLElement | null;
|
|
1837
1644
|
};
|
|
1838
1645
|
|
|
1839
1646
|
export type IconProps = {
|
|
@@ -2133,17 +1940,9 @@ export type IconProps = {
|
|
|
2133
1940
|
| "zoom-in"
|
|
2134
1941
|
| "zoom-out"
|
|
2135
1942
|
| "default";
|
|
2136
|
-
/** @deprecated - not supported on custom element tags */
|
|
2137
|
-
"nve-layout"?: string;
|
|
2138
|
-
/** @deprecated - not supported on custom element tags */
|
|
2139
|
-
"nve-text"?: string;
|
|
2140
1943
|
};
|
|
2141
1944
|
|
|
2142
1945
|
export type InputGroupProps = {
|
|
2143
|
-
/** @deprecated - not supported on custom element tags */
|
|
2144
|
-
"nve-layout"?: string;
|
|
2145
|
-
/** @deprecated - not supported on custom element tags */
|
|
2146
|
-
"nve-text"?: string;
|
|
2147
1946
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
2148
1947
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
2149
1948
|
|
|
@@ -2164,10 +1963,6 @@ export type InputProps = {
|
|
|
2164
1963
|
container?: "flat" | "default";
|
|
2165
1964
|
/** Sets the rounded visual style of the input. */
|
|
2166
1965
|
rounded?: boolean;
|
|
2167
|
-
/** @deprecated - not supported on custom element tags */
|
|
2168
|
-
"nve-layout"?: string;
|
|
2169
|
-
/** @deprecated - not supported on custom element tags */
|
|
2170
|
-
"nve-text"?: string;
|
|
2171
1966
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2172
1967
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2173
1968
|
|
|
@@ -2228,20 +2023,12 @@ export type LogoProps = {
|
|
|
2228
2023
|
|
|
2229
2024
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
2230
2025
|
size?: "sm" | "md" | "lg" | "default";
|
|
2231
|
-
/** @deprecated - not supported on custom element tags */
|
|
2232
|
-
"nve-layout"?: string;
|
|
2233
|
-
/** @deprecated - not supported on custom element tags */
|
|
2234
|
-
"nve-text"?: string;
|
|
2235
2026
|
};
|
|
2236
2027
|
|
|
2237
2028
|
export type MenuItemProps = {
|
|
2238
2029
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2239
2030
|
- `danger` Signals destructive or irreversible actions that need extra attention and confirmation. */
|
|
2240
2031
|
status?: "danger";
|
|
2241
|
-
/** @deprecated - not supported on custom element tags */
|
|
2242
|
-
"nve-layout"?: string;
|
|
2243
|
-
/** @deprecated - not supported on custom element tags */
|
|
2244
|
-
"nve-text"?: string;
|
|
2245
2032
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
2246
2033
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
2247
2034
|
|
|
@@ -2252,17 +2039,18 @@ export type MenuItemProps = {
|
|
|
2252
2039
|
|
|
2253
2040
|
- `false` The associated content collapses and hides from the user. */
|
|
2254
2041
|
expanded?: boolean;
|
|
2255
|
-
/**
|
|
2042
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
2043
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
2256
2044
|
readonly?: boolean;
|
|
2257
2045
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
2258
2046
|
Returns a reference to the form element if available.
|
|
2259
2047
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
2260
|
-
form?:
|
|
2048
|
+
form?: string | HTMLFormElement | null;
|
|
2261
2049
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
2262
2050
|
name?: string;
|
|
2263
2051
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2264
2052
|
value?: string;
|
|
2265
|
-
/** Defines the button behavior when associated within
|
|
2053
|
+
/** Defines the button behavior when associated within a form element.
|
|
2266
2054
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
2267
2055
|
type?: "button" | "submit" | "reset";
|
|
2268
2056
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -2280,10 +2068,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
2280
2068
|
|
|
2281
2069
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
2282
2070
|
current?: "page" | "step";
|
|
2283
|
-
/**
|
|
2284
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
2285
|
-
popoverTargetElement?: HTMLElement | null;
|
|
2286
|
-
/** The idref of the element that receives the popover.
|
|
2071
|
+
/** The id reference of the element that receives the popover.
|
|
2287
2072
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
2288
2073
|
popovertarget?: string;
|
|
2289
2074
|
/** The popover target action to perform on the popover target element.
|
|
@@ -2291,28 +2076,19 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
2291
2076
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
2292
2077
|
/** The element that receives the command.
|
|
2293
2078
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
2294
|
-
|
|
2295
|
-
/** The idref of the element that receives the command.
|
|
2296
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
2297
|
-
commandfor?: string | null;
|
|
2079
|
+
commandfor?: HTMLElement | null;
|
|
2298
2080
|
/** The command to execute on the element.
|
|
2299
2081
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
2300
2082
|
command?: string;
|
|
2301
2083
|
/** The element that receives the interest.
|
|
2302
2084
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
2303
|
-
|
|
2304
|
-
/**
|
|
2305
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
2306
|
-
|
|
2307
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
2308
|
-
readonly?: boolean;
|
|
2085
|
+
interestfor?: HTMLElement | null;
|
|
2086
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
2087
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
2088
|
+
popoverTargetElement?: HTMLElement | null;
|
|
2309
2089
|
};
|
|
2310
2090
|
|
|
2311
2091
|
export type MenuProps = {
|
|
2312
|
-
/** @deprecated - not supported on custom element tags */
|
|
2313
|
-
"nve-layout"?: string;
|
|
2314
|
-
/** @deprecated - not supported on custom element tags */
|
|
2315
|
-
"nve-text"?: string;
|
|
2316
2092
|
/** */
|
|
2317
2093
|
items?: MenuItem[];
|
|
2318
2094
|
/** Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
|
|
@@ -2323,10 +2099,6 @@ export type MonthProps = {
|
|
|
2323
2099
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
2324
2100
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
2325
2101
|
container?: "flat" | "default";
|
|
2326
|
-
/** @deprecated - not supported on custom element tags */
|
|
2327
|
-
"nve-layout"?: string;
|
|
2328
|
-
/** @deprecated - not supported on custom element tags */
|
|
2329
|
-
"nve-text"?: string;
|
|
2330
2102
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2331
2103
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2332
2104
|
|
|
@@ -2376,10 +2148,6 @@ export type NotificationGroupProps = {
|
|
|
2376
2148
|
|
|
2377
2149
|
- `center` Centers the popover along the anchor's edge for balanced positioning. */
|
|
2378
2150
|
alignment?: "start" | "end" | "center";
|
|
2379
|
-
/** @deprecated - not supported on custom element tags */
|
|
2380
|
-
"nve-layout"?: string;
|
|
2381
|
-
/** @deprecated - not supported on custom element tags */
|
|
2382
|
-
"nve-text"?: string;
|
|
2383
2151
|
};
|
|
2384
2152
|
|
|
2385
2153
|
export type NotificationProps = {
|
|
@@ -2433,10 +2201,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
2433
2201
|
i18n?: string;
|
|
2434
2202
|
/** */
|
|
2435
2203
|
inline?: boolean;
|
|
2436
|
-
/** @deprecated - not supported on custom element tags */
|
|
2437
|
-
"nve-layout"?: string;
|
|
2438
|
-
/** @deprecated - not supported on custom element tags */
|
|
2439
|
-
"nve-text"?: string;
|
|
2440
2204
|
|
|
2441
2205
|
/** Dispatched when the notification closes. */
|
|
2442
2206
|
onclose?: (e: CustomEvent<CustomEvent>) => void;
|
|
@@ -2448,41 +2212,18 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
2448
2212
|
onopen?: (e: CustomEvent<never>) => void;
|
|
2449
2213
|
};
|
|
2450
2214
|
|
|
2451
|
-
export type PageHeaderProps = {
|
|
2452
|
-
/** @deprecated - not supported on custom element tags */
|
|
2453
|
-
"nve-layout"?: string;
|
|
2454
|
-
/** @deprecated - not supported on custom element tags */
|
|
2455
|
-
"nve-text"?: string;
|
|
2456
|
-
};
|
|
2215
|
+
export type PageHeaderProps = {};
|
|
2457
2216
|
|
|
2458
|
-
export type PageLoaderProps = {
|
|
2459
|
-
/** @deprecated - not supported on custom element tags */
|
|
2460
|
-
"nve-layout"?: string;
|
|
2461
|
-
/** @deprecated - not supported on custom element tags */
|
|
2462
|
-
"nve-text"?: string;
|
|
2463
|
-
};
|
|
2217
|
+
export type PageLoaderProps = {};
|
|
2464
2218
|
|
|
2465
|
-
export type PagePanelContentProps = {
|
|
2466
|
-
/** @deprecated - not supported on custom element tags */
|
|
2467
|
-
"nve-layout"?: string;
|
|
2468
|
-
/** @deprecated - not supported on custom element tags */
|
|
2469
|
-
"nve-text"?: string;
|
|
2470
|
-
};
|
|
2219
|
+
export type PagePanelContentProps = {};
|
|
2471
2220
|
|
|
2472
2221
|
export type PagePanelFooterProps = {
|
|
2473
|
-
/** @deprecated - not supported on custom element tags */
|
|
2474
|
-
"nve-layout"?: string;
|
|
2475
|
-
/** @deprecated - not supported on custom element tags */
|
|
2476
|
-
"nve-text"?: string;
|
|
2477
2222
|
/** */
|
|
2478
2223
|
slot?: string;
|
|
2479
2224
|
};
|
|
2480
2225
|
|
|
2481
2226
|
export type PagePanelHeaderProps = {
|
|
2482
|
-
/** @deprecated - not supported on custom element tags */
|
|
2483
|
-
"nve-layout"?: string;
|
|
2484
|
-
/** @deprecated - not supported on custom element tags */
|
|
2485
|
-
"nve-text"?: string;
|
|
2486
2227
|
/** */
|
|
2487
2228
|
slot?: string;
|
|
2488
2229
|
};
|
|
@@ -2495,19 +2236,8 @@ export type PagePanelProps = {
|
|
|
2495
2236
|
|
|
2496
2237
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
2497
2238
|
size?: "sm" | "md" | "lg" | "default";
|
|
2498
|
-
/** @deprecated use the `actions` slot instead - Indicates whether the user can dismiss or close the element.
|
|
2499
|
-
- `true` The element displays a close control and the user can dismiss it.
|
|
2500
|
-
|
|
2501
|
-
- `false` The user cannot close the element and must dismiss it programmatically. */
|
|
2502
|
-
closable?: boolean;
|
|
2503
|
-
/** @deprecated use the `actions` slot instead - Determines if a expandable button should render within page panel. */
|
|
2504
|
-
expandable?: boolean;
|
|
2505
2239
|
/** Enables updating internal string values for internationalization. */
|
|
2506
2240
|
i18n?: string;
|
|
2507
|
-
/** @deprecated - not supported on custom element tags */
|
|
2508
|
-
"nve-layout"?: string;
|
|
2509
|
-
/** @deprecated - not supported on custom element tags */
|
|
2510
|
-
"nve-text"?: string;
|
|
2511
2241
|
|
|
2512
2242
|
/** */
|
|
2513
2243
|
onopen?: (e: CustomEvent<never>) => void;
|
|
@@ -2518,10 +2248,6 @@ export type PagePanelProps = {
|
|
|
2518
2248
|
export type PageProps = {
|
|
2519
2249
|
/** Enables the page to use the document content scroll rather than its internal fixed scroll. */
|
|
2520
2250
|
"document-scroll"?: boolean;
|
|
2521
|
-
/** @deprecated - not supported on custom element tags */
|
|
2522
|
-
"nve-layout"?: string;
|
|
2523
|
-
/** @deprecated - not supported on custom element tags */
|
|
2524
|
-
"nve-text"?: string;
|
|
2525
2251
|
};
|
|
2526
2252
|
|
|
2527
2253
|
export type PaginationProps = {
|
|
@@ -2542,12 +2268,64 @@ export type PaginationProps = {
|
|
|
2542
2268
|
container?: "flat" | "inline" | "default";
|
|
2543
2269
|
/** Enables updating internal string values for internationalization. */
|
|
2544
2270
|
i18n?: string;
|
|
2545
|
-
/**
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2271
|
+
/** Prevents the user from changing the control value.
|
|
2272
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
2273
|
+
readonly?: boolean;
|
|
2274
|
+
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
2275
|
+
- `true` The element has a disabled state and does not accept interaction.
|
|
2276
|
+
|
|
2277
|
+
- `false` The element has an enabled state and accepts interaction. */
|
|
2278
|
+
disabled?: boolean;
|
|
2279
|
+
/** Requires a value before the parent form can submit.
|
|
2280
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required */
|
|
2281
|
+
required?: boolean;
|
|
2282
|
+
/** Defines the pattern that text values must match.
|
|
2283
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern */
|
|
2284
|
+
pattern?: string;
|
|
2285
|
+
/** Defines the minimum numeric value.
|
|
2286
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min */
|
|
2287
|
+
min?: number | null;
|
|
2288
|
+
/** Defines the maximum numeric value.
|
|
2289
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max */
|
|
2290
|
+
max?: number | null;
|
|
2291
|
+
/** Defines the minimum text length.
|
|
2292
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength */
|
|
2293
|
+
minlength?: number;
|
|
2294
|
+
/** Defines the maximum text length.
|
|
2295
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength */
|
|
2296
|
+
maxlength?: number;
|
|
2297
|
+
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
2298
|
+
name?: string;
|
|
2299
|
+
/** Disables constraint validation for this control.
|
|
2300
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate */
|
|
2301
|
+
novalidate?: boolean;
|
|
2549
2302
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2550
|
-
value?:
|
|
2303
|
+
value?: T | undefined;
|
|
2304
|
+
/** The initial value used when the parent form resets. */
|
|
2305
|
+
defaultValue?: string;
|
|
2306
|
+
/** The form associated with the control.
|
|
2307
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
2308
|
+
form?: HTMLFormElement | null;
|
|
2309
|
+
/** Indicates whether the control participates in constraint validation.
|
|
2310
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate */
|
|
2311
|
+
willValidate?: boolean;
|
|
2312
|
+
/** The control validity state.
|
|
2313
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity */
|
|
2314
|
+
validity?: ValidityState;
|
|
2315
|
+
/** The validation message shown when the control is invalid.
|
|
2316
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage */
|
|
2317
|
+
validationMessage?: string;
|
|
2318
|
+
/** The current value serialized as a string. */
|
|
2319
|
+
valueAsString?: string;
|
|
2320
|
+
/** The current value parsed as a number. */
|
|
2321
|
+
valueAsNumber?: number;
|
|
2322
|
+
/** The control type. */
|
|
2323
|
+
type?: string;
|
|
2324
|
+
/** Labels associated with the control.
|
|
2325
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels */
|
|
2326
|
+
labels?: NodeList;
|
|
2327
|
+
/** Text content from labels associated with the control. */
|
|
2328
|
+
composedLabel?: string;
|
|
2551
2329
|
/** */
|
|
2552
2330
|
"onstep-change"?: (e: CustomEvent<CustomEvent>) => void;
|
|
2553
2331
|
/** Dispatched when the last page is active */
|
|
@@ -2560,26 +2338,11 @@ export type PaginationProps = {
|
|
|
2560
2338
|
onchange?: (e: CustomEvent<never>) => void;
|
|
2561
2339
|
};
|
|
2562
2340
|
|
|
2563
|
-
export type PanelHeaderProps = {
|
|
2564
|
-
/** @deprecated - not supported on custom element tags */
|
|
2565
|
-
"nve-layout"?: string;
|
|
2566
|
-
/** @deprecated - not supported on custom element tags */
|
|
2567
|
-
"nve-text"?: string;
|
|
2568
|
-
};
|
|
2341
|
+
export type PanelHeaderProps = {};
|
|
2569
2342
|
|
|
2570
|
-
export type PanelContentProps = {
|
|
2571
|
-
/** @deprecated - not supported on custom element tags */
|
|
2572
|
-
"nve-layout"?: string;
|
|
2573
|
-
/** @deprecated - not supported on custom element tags */
|
|
2574
|
-
"nve-text"?: string;
|
|
2575
|
-
};
|
|
2343
|
+
export type PanelContentProps = {};
|
|
2576
2344
|
|
|
2577
|
-
export type PanelFooterProps = {
|
|
2578
|
-
/** @deprecated - not supported on custom element tags */
|
|
2579
|
-
"nve-layout"?: string;
|
|
2580
|
-
/** @deprecated - not supported on custom element tags */
|
|
2581
|
-
"nve-text"?: string;
|
|
2582
|
-
};
|
|
2345
|
+
export type PanelFooterProps = {};
|
|
2583
2346
|
|
|
2584
2347
|
export type PanelProps = {
|
|
2585
2348
|
/** Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
|
|
@@ -2598,10 +2361,6 @@ export type PanelProps = {
|
|
|
2598
2361
|
side?: "left" | "right";
|
|
2599
2362
|
/** Enables updating internal string values for internationalization. */
|
|
2600
2363
|
i18n?: string;
|
|
2601
|
-
/** @deprecated - not supported on custom element tags */
|
|
2602
|
-
"nve-layout"?: string;
|
|
2603
|
-
/** @deprecated - not supported on custom element tags */
|
|
2604
|
-
"nve-text"?: string;
|
|
2605
2364
|
|
|
2606
2365
|
/** Dispatched when the panel opens. */
|
|
2607
2366
|
onopen?: (e: CustomEvent<never>) => void;
|
|
@@ -2613,10 +2372,6 @@ export type PasswordProps = {
|
|
|
2613
2372
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
2614
2373
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
2615
2374
|
container?: "flat" | "default";
|
|
2616
|
-
/** @deprecated - not supported on custom element tags */
|
|
2617
|
-
"nve-layout"?: string;
|
|
2618
|
-
/** @deprecated - not supported on custom element tags */
|
|
2619
|
-
"nve-text"?: string;
|
|
2620
2375
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2621
2376
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2622
2377
|
|
|
@@ -2648,12 +2403,67 @@ export type PasswordProps = {
|
|
|
2648
2403
|
export type PreferencesInputProps = {
|
|
2649
2404
|
/** Enables updating internal string values for internationalization. */
|
|
2650
2405
|
i18n?: string;
|
|
2651
|
-
/**
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2406
|
+
/** Prevents the user from changing the control value.
|
|
2407
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
2408
|
+
readonly?: boolean;
|
|
2409
|
+
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
2410
|
+
- `true` The element has a disabled state and does not accept interaction.
|
|
2411
|
+
|
|
2412
|
+
- `false` The element has an enabled state and accepts interaction. */
|
|
2413
|
+
disabled?: boolean;
|
|
2414
|
+
/** Requires a value before the parent form can submit.
|
|
2415
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required */
|
|
2416
|
+
required?: boolean;
|
|
2417
|
+
/** Defines the pattern that text values must match.
|
|
2418
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern */
|
|
2419
|
+
pattern?: string;
|
|
2420
|
+
/** Defines the minimum numeric value.
|
|
2421
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min */
|
|
2422
|
+
min?: number | null;
|
|
2423
|
+
/** Defines the maximum numeric value.
|
|
2424
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max */
|
|
2425
|
+
max?: number | null;
|
|
2426
|
+
/** Defines the value granularity for numeric inputs.
|
|
2427
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step */
|
|
2428
|
+
step?: number | null;
|
|
2429
|
+
/** Defines the minimum text length.
|
|
2430
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength */
|
|
2431
|
+
minlength?: number;
|
|
2432
|
+
/** Defines the maximum text length.
|
|
2433
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength */
|
|
2434
|
+
maxlength?: number;
|
|
2435
|
+
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
2436
|
+
name?: string;
|
|
2437
|
+
/** Disables constraint validation for this control.
|
|
2438
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate */
|
|
2439
|
+
novalidate?: boolean;
|
|
2655
2440
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2656
|
-
value?:
|
|
2441
|
+
value?: T | undefined;
|
|
2442
|
+
/** The initial value used when the parent form resets. */
|
|
2443
|
+
defaultValue?: string;
|
|
2444
|
+
/** The form associated with the control.
|
|
2445
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
2446
|
+
form?: HTMLFormElement | null;
|
|
2447
|
+
/** Indicates whether the control participates in constraint validation.
|
|
2448
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate */
|
|
2449
|
+
willValidate?: boolean;
|
|
2450
|
+
/** The control validity state.
|
|
2451
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity */
|
|
2452
|
+
validity?: ValidityState;
|
|
2453
|
+
/** The validation message shown when the control is invalid.
|
|
2454
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage */
|
|
2455
|
+
validationMessage?: string;
|
|
2456
|
+
/** The current value serialized as a string. */
|
|
2457
|
+
valueAsString?: string;
|
|
2458
|
+
/** The current value parsed as a number. */
|
|
2459
|
+
valueAsNumber?: number;
|
|
2460
|
+
/** The control type. */
|
|
2461
|
+
type?: string;
|
|
2462
|
+
/** Labels associated with the control.
|
|
2463
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels */
|
|
2464
|
+
labels?: NodeList;
|
|
2465
|
+
/** Text content from labels associated with the control. */
|
|
2466
|
+
composedLabel?: string;
|
|
2657
2467
|
/** Dispatched when the value has changed */
|
|
2658
2468
|
oninput?: (e: CustomEvent<never>) => void;
|
|
2659
2469
|
/** Dispatched when the value has changed */
|
|
@@ -2674,10 +2484,6 @@ export type ProgressBarProps = {
|
|
|
2674
2484
|
|
|
2675
2485
|
- `danger` Signals destructive or irreversible actions that need extra attention and confirmation. */
|
|
2676
2486
|
status?: "accent" | "warning" | "success" | "danger";
|
|
2677
|
-
/** @deprecated - not supported on custom element tags */
|
|
2678
|
-
"nve-layout"?: string;
|
|
2679
|
-
/** @deprecated - not supported on custom element tags */
|
|
2680
|
-
"nve-text"?: string;
|
|
2681
2487
|
};
|
|
2682
2488
|
|
|
2683
2489
|
export type ProgressRingProps = {
|
|
@@ -2703,10 +2509,6 @@ export type ProgressRingProps = {
|
|
|
2703
2509
|
size?: "sm" | "md" | "lg" | "xxs" | "xs" | "xl" | "default";
|
|
2704
2510
|
/** Enables updating internal string values for internationalization. */
|
|
2705
2511
|
i18n?: string;
|
|
2706
|
-
/** @deprecated - not supported on custom element tags */
|
|
2707
|
-
"nve-layout"?: string;
|
|
2708
|
-
/** @deprecated - not supported on custom element tags */
|
|
2709
|
-
"nve-text"?: string;
|
|
2710
2512
|
};
|
|
2711
2513
|
|
|
2712
2514
|
export type ProgressiveFilterChipProps = {
|
|
@@ -2717,10 +2519,6 @@ export type ProgressiveFilterChipProps = {
|
|
|
2717
2519
|
closable?: boolean;
|
|
2718
2520
|
/** Enables updating internal string values for internationalization. */
|
|
2719
2521
|
i18n?: string;
|
|
2720
|
-
/** @deprecated - not supported on custom element tags */
|
|
2721
|
-
"nve-layout"?: string;
|
|
2722
|
-
/** @deprecated - not supported on custom element tags */
|
|
2723
|
-
"nve-text"?: string;
|
|
2724
2522
|
|
|
2725
2523
|
/** Dispatched when the filter chip closes. */
|
|
2726
2524
|
onclose?: (e: CustomEvent<never>) => void;
|
|
@@ -2741,17 +2539,9 @@ export type PulseProps = {
|
|
|
2741
2539
|
|
|
2742
2540
|
- `danger` Signals destructive or irreversible actions that need extra attention and confirmation. */
|
|
2743
2541
|
status?: "accent" | "warning" | "danger" | "default";
|
|
2744
|
-
/** @deprecated - not supported on custom element tags */
|
|
2745
|
-
"nve-layout"?: string;
|
|
2746
|
-
/** @deprecated - not supported on custom element tags */
|
|
2747
|
-
"nve-text"?: string;
|
|
2748
2542
|
};
|
|
2749
2543
|
|
|
2750
2544
|
export type RadioGroupProps = {
|
|
2751
|
-
/** @deprecated - not supported on custom element tags */
|
|
2752
|
-
"nve-layout"?: string;
|
|
2753
|
-
/** @deprecated - not supported on custom element tags */
|
|
2754
|
-
"nve-text"?: string;
|
|
2755
2545
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
2756
2546
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
2757
2547
|
|
|
@@ -2767,10 +2557,6 @@ export type RadioGroupProps = {
|
|
|
2767
2557
|
};
|
|
2768
2558
|
|
|
2769
2559
|
export type RadioProps = {
|
|
2770
|
-
/** @deprecated - not supported on custom element tags */
|
|
2771
|
-
"nve-layout"?: string;
|
|
2772
|
-
/** @deprecated - not supported on custom element tags */
|
|
2773
|
-
"nve-text"?: string;
|
|
2774
2560
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2775
2561
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2776
2562
|
|
|
@@ -2805,10 +2591,6 @@ export type RangeProps = {
|
|
|
2805
2591
|
|
|
2806
2592
|
- `horizontal` Element orients horizontally with left-to-right flow. */
|
|
2807
2593
|
orientation?: "vertical" | "horizontal";
|
|
2808
|
-
/** @deprecated - not supported on custom element tags */
|
|
2809
|
-
"nve-layout"?: string;
|
|
2810
|
-
/** @deprecated - not supported on custom element tags */
|
|
2811
|
-
"nve-text"?: string;
|
|
2812
2594
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2813
2595
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2814
2596
|
|
|
@@ -2851,12 +2633,58 @@ export type ResizeHandleProps = {
|
|
|
2851
2633
|
step?: number;
|
|
2852
2634
|
/** Enables updating internal string values for internationalization. */
|
|
2853
2635
|
i18n?: string;
|
|
2854
|
-
/**
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2636
|
+
/** Prevents the user from changing the control value.
|
|
2637
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
2638
|
+
readonly?: boolean;
|
|
2639
|
+
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
2640
|
+
- `true` The element has a disabled state and does not accept interaction.
|
|
2641
|
+
|
|
2642
|
+
- `false` The element has an enabled state and accepts interaction. */
|
|
2643
|
+
disabled?: boolean;
|
|
2644
|
+
/** Requires a value before the parent form can submit.
|
|
2645
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required */
|
|
2646
|
+
required?: boolean;
|
|
2647
|
+
/** Defines the pattern that text values must match.
|
|
2648
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern */
|
|
2649
|
+
pattern?: string;
|
|
2650
|
+
/** Defines the minimum text length.
|
|
2651
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength */
|
|
2652
|
+
minlength?: number;
|
|
2653
|
+
/** Defines the maximum text length.
|
|
2654
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength */
|
|
2655
|
+
maxlength?: number;
|
|
2656
|
+
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
2657
|
+
name?: string;
|
|
2658
|
+
/** Disables constraint validation for this control.
|
|
2659
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate */
|
|
2660
|
+
novalidate?: boolean;
|
|
2858
2661
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2859
|
-
value?:
|
|
2662
|
+
value?: T | undefined;
|
|
2663
|
+
/** The initial value used when the parent form resets. */
|
|
2664
|
+
defaultValue?: string;
|
|
2665
|
+
/** The form associated with the control.
|
|
2666
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
2667
|
+
form?: HTMLFormElement | null;
|
|
2668
|
+
/** Indicates whether the control participates in constraint validation.
|
|
2669
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate */
|
|
2670
|
+
willValidate?: boolean;
|
|
2671
|
+
/** The control validity state.
|
|
2672
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity */
|
|
2673
|
+
validity?: ValidityState;
|
|
2674
|
+
/** The validation message shown when the control is invalid.
|
|
2675
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage */
|
|
2676
|
+
validationMessage?: string;
|
|
2677
|
+
/** The current value serialized as a string. */
|
|
2678
|
+
valueAsString?: string;
|
|
2679
|
+
/** The current value parsed as a number. */
|
|
2680
|
+
valueAsNumber?: number;
|
|
2681
|
+
/** The control type. */
|
|
2682
|
+
type?: string;
|
|
2683
|
+
/** Labels associated with the control.
|
|
2684
|
+
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels */
|
|
2685
|
+
labels?: NodeList;
|
|
2686
|
+
/** Text content from labels associated with the control. */
|
|
2687
|
+
composedLabel?: string;
|
|
2860
2688
|
/** Dispatched when the resize handle is double clicked. */
|
|
2861
2689
|
ontoggle?: (e: CustomEvent<CustomEvent>) => void;
|
|
2862
2690
|
};
|
|
@@ -2867,10 +2695,6 @@ export type SearchProps = {
|
|
|
2867
2695
|
container?: "flat" | "default";
|
|
2868
2696
|
/** Sets the rounded visual style of the input. */
|
|
2869
2697
|
rounded?: boolean;
|
|
2870
|
-
/** @deprecated - not supported on custom element tags */
|
|
2871
|
-
"nve-layout"?: string;
|
|
2872
|
-
/** @deprecated - not supported on custom element tags */
|
|
2873
|
-
"nve-text"?: string;
|
|
2874
2698
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2875
2699
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2876
2700
|
|
|
@@ -2907,10 +2731,6 @@ export type SelectProps = {
|
|
|
2907
2731
|
container?: "flat" | "inline" | "default";
|
|
2908
2732
|
/** Enables updating internal string values for internationalization. */
|
|
2909
2733
|
i18n?: string;
|
|
2910
|
-
/** @deprecated - not supported on custom element tags */
|
|
2911
|
-
"nve-layout"?: string;
|
|
2912
|
-
/** @deprecated - not supported on custom element tags */
|
|
2913
|
-
"nve-text"?: string;
|
|
2914
2734
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
2915
2735
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
2916
2736
|
|
|
@@ -2944,10 +2764,6 @@ export type SkeletonProps = {
|
|
|
2944
2764
|
shape?: "round" | "pill";
|
|
2945
2765
|
/** Whether the skeleton hides its content */
|
|
2946
2766
|
hidden?: boolean;
|
|
2947
|
-
/** @deprecated - not supported on custom element tags */
|
|
2948
|
-
"nve-layout"?: string;
|
|
2949
|
-
/** @deprecated - not supported on custom element tags */
|
|
2950
|
-
"nve-text"?: string;
|
|
2951
2767
|
};
|
|
2952
2768
|
|
|
2953
2769
|
export type SortButtonProps = {
|
|
@@ -2955,10 +2771,6 @@ export type SortButtonProps = {
|
|
|
2955
2771
|
sort?: "ascending" | "descending" | "none";
|
|
2956
2772
|
/** Enables updating internal string values for internationalization. */
|
|
2957
2773
|
i18n?: string;
|
|
2958
|
-
/** @deprecated - not supported on custom element tags */
|
|
2959
|
-
"nve-layout"?: string;
|
|
2960
|
-
/** @deprecated - not supported on custom element tags */
|
|
2961
|
-
"nve-text"?: string;
|
|
2962
2774
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
2963
2775
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
2964
2776
|
|
|
@@ -2969,17 +2781,18 @@ export type SortButtonProps = {
|
|
|
2969
2781
|
|
|
2970
2782
|
- `false` The associated content collapses and hides from the user. */
|
|
2971
2783
|
expanded?: boolean;
|
|
2972
|
-
/**
|
|
2784
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
2785
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
2973
2786
|
readonly?: boolean;
|
|
2974
2787
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
2975
2788
|
Returns a reference to the form element if available.
|
|
2976
2789
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
2977
|
-
form?:
|
|
2790
|
+
form?: string | HTMLFormElement | null;
|
|
2978
2791
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
2979
2792
|
name?: string;
|
|
2980
2793
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2981
2794
|
value?: string;
|
|
2982
|
-
/** Defines the button behavior when associated within
|
|
2795
|
+
/** Defines the button behavior when associated within a form element.
|
|
2983
2796
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
2984
2797
|
type?: "button" | "submit" | "reset";
|
|
2985
2798
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -2997,10 +2810,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
2997
2810
|
|
|
2998
2811
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
2999
2812
|
current?: "page" | "step";
|
|
3000
|
-
/**
|
|
3001
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3002
|
-
popoverTargetElement?: HTMLElement | null;
|
|
3003
|
-
/** The idref of the element that receives the popover.
|
|
2813
|
+
/** The id reference of the element that receives the popover.
|
|
3004
2814
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
3005
2815
|
popovertarget?: string;
|
|
3006
2816
|
/** The popover target action to perform on the popover target element.
|
|
@@ -3008,21 +2818,16 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
3008
2818
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
3009
2819
|
/** The element that receives the command.
|
|
3010
2820
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3011
|
-
|
|
3012
|
-
/** The idref of the element that receives the command.
|
|
3013
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3014
|
-
commandfor?: string | null;
|
|
2821
|
+
commandfor?: HTMLElement | null;
|
|
3015
2822
|
/** The command to execute on the element.
|
|
3016
2823
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3017
2824
|
command?: string;
|
|
3018
2825
|
/** The element that receives the interest.
|
|
3019
2826
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
3020
|
-
|
|
3021
|
-
/**
|
|
3022
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
3023
|
-
|
|
3024
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
3025
|
-
readonly?: boolean;
|
|
2827
|
+
interestfor?: HTMLElement | null;
|
|
2828
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
2829
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
2830
|
+
popoverTargetElement?: HTMLElement | null;
|
|
3026
2831
|
/** Dispatched on sort button click, returns the current sort value and the next sort value. */
|
|
3027
2832
|
onsort?: (e: CustomEvent<never>) => void;
|
|
3028
2833
|
};
|
|
@@ -3120,17 +2925,9 @@ export type SparklineProps = {
|
|
|
3120
2925
|
min?: number | "default";
|
|
3121
2926
|
/** Upper bound for the y-axis domain. When undefined, derives the bound from data. */
|
|
3122
2927
|
max?: number | "default";
|
|
3123
|
-
/** @deprecated - not supported on custom element tags */
|
|
3124
|
-
"nve-layout"?: string;
|
|
3125
|
-
/** @deprecated - not supported on custom element tags */
|
|
3126
|
-
"nve-text"?: string;
|
|
3127
2928
|
};
|
|
3128
2929
|
|
|
3129
2930
|
export type StarRatingProps = {
|
|
3130
|
-
/** @deprecated - not supported on custom element tags */
|
|
3131
|
-
"nve-layout"?: string;
|
|
3132
|
-
/** @deprecated - not supported on custom element tags */
|
|
3133
|
-
"nve-text"?: string;
|
|
3134
2931
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3135
2932
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
3136
2933
|
|
|
@@ -3179,10 +2976,6 @@ Demonstrates different container styles to accommodate visual weight and context
|
|
|
3179
2976
|
- `inset` Element container optimizes for embedding or inset placement inside another containing element.
|
|
3180
2977
|
- `full` Element container optimizes for filling its container bounds. */
|
|
3181
2978
|
container?: "condensed" | "default";
|
|
3182
|
-
/** @deprecated - not supported on custom element tags */
|
|
3183
|
-
"nve-layout"?: string;
|
|
3184
|
-
/** @deprecated - not supported on custom element tags */
|
|
3185
|
-
"nve-text"?: string;
|
|
3186
2979
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
3187
2980
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
3188
2981
|
|
|
@@ -3193,17 +2986,18 @@ Demonstrates different container styles to accommodate visual weight and context
|
|
|
3193
2986
|
|
|
3194
2987
|
- `false` The associated content collapses and hides from the user. */
|
|
3195
2988
|
expanded?: boolean;
|
|
3196
|
-
/**
|
|
2989
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
2990
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
3197
2991
|
readonly?: boolean;
|
|
3198
2992
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
3199
2993
|
Returns a reference to the form element if available.
|
|
3200
2994
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
3201
|
-
form?:
|
|
2995
|
+
form?: string | HTMLFormElement | null;
|
|
3202
2996
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
3203
2997
|
name?: string;
|
|
3204
2998
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
3205
2999
|
value?: string;
|
|
3206
|
-
/** Defines the button behavior when associated within
|
|
3000
|
+
/** Defines the button behavior when associated within a form element.
|
|
3207
3001
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
3208
3002
|
type?: "button" | "submit" | "reset";
|
|
3209
3003
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -3216,10 +3010,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
3216
3010
|
|
|
3217
3011
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
3218
3012
|
current?: "page" | "step";
|
|
3219
|
-
/**
|
|
3220
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3221
|
-
popoverTargetElement?: HTMLElement | null;
|
|
3222
|
-
/** The idref of the element that receives the popover.
|
|
3013
|
+
/** The id reference of the element that receives the popover.
|
|
3223
3014
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
3224
3015
|
popovertarget?: string;
|
|
3225
3016
|
/** The popover target action to perform on the popover target element.
|
|
@@ -3227,21 +3018,16 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
3227
3018
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
3228
3019
|
/** The element that receives the command.
|
|
3229
3020
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3230
|
-
|
|
3231
|
-
/** The idref of the element that receives the command.
|
|
3232
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3233
|
-
commandfor?: string | null;
|
|
3021
|
+
commandfor?: HTMLElement | null;
|
|
3234
3022
|
/** The command to execute on the element.
|
|
3235
3023
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3236
3024
|
command?: string;
|
|
3237
3025
|
/** The element that receives the interest.
|
|
3238
3026
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
3239
|
-
|
|
3240
|
-
/**
|
|
3241
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
3242
|
-
|
|
3243
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
3244
|
-
readonly?: boolean;
|
|
3027
|
+
interestfor?: HTMLElement | null;
|
|
3028
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
3029
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3030
|
+
popoverTargetElement?: HTMLElement | null;
|
|
3245
3031
|
};
|
|
3246
3032
|
|
|
3247
3033
|
export type StepsProps = {
|
|
@@ -3256,17 +3042,9 @@ Demonstrates different container styles to accommodate visual weight and context
|
|
|
3256
3042
|
container?: "condensed" | "default";
|
|
3257
3043
|
/** Determines whether the steps should handle selection behavior vs. defaults to off. */
|
|
3258
3044
|
"behavior-select"?: boolean;
|
|
3259
|
-
/** @deprecated - not supported on custom element tags */
|
|
3260
|
-
"nve-layout"?: string;
|
|
3261
|
-
/** @deprecated - not supported on custom element tags */
|
|
3262
|
-
"nve-text"?: string;
|
|
3263
3045
|
};
|
|
3264
3046
|
|
|
3265
3047
|
export type SwitchGroupProps = {
|
|
3266
|
-
/** @deprecated - not supported on custom element tags */
|
|
3267
|
-
"nve-layout"?: string;
|
|
3268
|
-
/** @deprecated - not supported on custom element tags */
|
|
3269
|
-
"nve-text"?: string;
|
|
3270
3048
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
3271
3049
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
3272
3050
|
|
|
@@ -3282,10 +3060,6 @@ export type SwitchGroupProps = {
|
|
|
3282
3060
|
};
|
|
3283
3061
|
|
|
3284
3062
|
export type SwitchProps = {
|
|
3285
|
-
/** @deprecated - not supported on custom element tags */
|
|
3286
|
-
"nve-layout"?: string;
|
|
3287
|
-
/** @deprecated - not supported on custom element tags */
|
|
3288
|
-
"nve-text"?: string;
|
|
3289
3063
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3290
3064
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
3291
3065
|
|
|
@@ -3317,10 +3091,6 @@ export type SwitchProps = {
|
|
|
3317
3091
|
export type TabsGroupProps = {
|
|
3318
3092
|
/** Determines the alignment of the popover relative to the provided anchor element. */
|
|
3319
3093
|
alignment?: "top" | "start" | "end";
|
|
3320
|
-
/** @deprecated - not supported on custom element tags */
|
|
3321
|
-
"nve-layout"?: string;
|
|
3322
|
-
/** @deprecated - not supported on custom element tags */
|
|
3323
|
-
"nve-text"?: string;
|
|
3324
3094
|
|
|
3325
3095
|
/** Dispatched when the selected tab value changes after an invoker `--toggle` updates selection */
|
|
3326
3096
|
onselect?: (e: CustomEvent<CustomEvent>) => void;
|
|
@@ -3332,10 +3102,6 @@ export type TabsItemProps = {
|
|
|
3332
3102
|
|
|
3333
3103
|
- `false` The element does not hold selection and the user can choose it. */
|
|
3334
3104
|
selected?: boolean;
|
|
3335
|
-
/** @deprecated - not supported on custom element tags */
|
|
3336
|
-
"nve-layout"?: string;
|
|
3337
|
-
/** @deprecated - not supported on custom element tags */
|
|
3338
|
-
"nve-text"?: string;
|
|
3339
3105
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
3340
3106
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
3341
3107
|
|
|
@@ -3346,17 +3112,18 @@ export type TabsItemProps = {
|
|
|
3346
3112
|
|
|
3347
3113
|
- `false` The associated content collapses and hides from the user. */
|
|
3348
3114
|
expanded?: boolean;
|
|
3349
|
-
/**
|
|
3115
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
3116
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
3350
3117
|
readonly?: boolean;
|
|
3351
3118
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
3352
3119
|
Returns a reference to the form element if available.
|
|
3353
3120
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
3354
|
-
form?:
|
|
3121
|
+
form?: string | HTMLFormElement | null;
|
|
3355
3122
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
3356
3123
|
name?: string;
|
|
3357
3124
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
3358
3125
|
value?: string;
|
|
3359
|
-
/** Defines the button behavior when associated within
|
|
3126
|
+
/** Defines the button behavior when associated within a form element.
|
|
3360
3127
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
3361
3128
|
type?: "button" | "submit" | "reset";
|
|
3362
3129
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -3369,10 +3136,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
3369
3136
|
|
|
3370
3137
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
3371
3138
|
current?: "page" | "step";
|
|
3372
|
-
/**
|
|
3373
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3374
|
-
popoverTargetElement?: HTMLElement | null;
|
|
3375
|
-
/** The idref of the element that receives the popover.
|
|
3139
|
+
/** The id reference of the element that receives the popover.
|
|
3376
3140
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
3377
3141
|
popovertarget?: string;
|
|
3378
3142
|
/** The popover target action to perform on the popover target element.
|
|
@@ -3380,21 +3144,16 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
3380
3144
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
3381
3145
|
/** The element that receives the command.
|
|
3382
3146
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3383
|
-
|
|
3384
|
-
/** The idref of the element that receives the command.
|
|
3385
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3386
|
-
commandfor?: string | null;
|
|
3147
|
+
commandfor?: HTMLElement | null;
|
|
3387
3148
|
/** The command to execute on the element.
|
|
3388
3149
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3389
3150
|
command?: string;
|
|
3390
3151
|
/** The element that receives the interest.
|
|
3391
3152
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
3392
|
-
|
|
3393
|
-
/**
|
|
3394
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
3395
|
-
|
|
3396
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
3397
|
-
readonly?: boolean;
|
|
3153
|
+
interestfor?: HTMLElement | null;
|
|
3154
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
3155
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3156
|
+
popoverTargetElement?: HTMLElement | null;
|
|
3398
3157
|
};
|
|
3399
3158
|
|
|
3400
3159
|
export type TabsProps = {
|
|
@@ -3404,10 +3163,6 @@ export type TabsProps = {
|
|
|
3404
3163
|
borderless?: boolean;
|
|
3405
3164
|
/** Determines whether the tabs should handle selection behavior vs. defaults to off. */
|
|
3406
3165
|
"behavior-select"?: boolean;
|
|
3407
|
-
/** @deprecated - not supported on custom element tags */
|
|
3408
|
-
"nve-layout"?: string;
|
|
3409
|
-
/** @deprecated - not supported on custom element tags */
|
|
3410
|
-
"nve-text"?: string;
|
|
3411
3166
|
};
|
|
3412
3167
|
|
|
3413
3168
|
export type TagProps = {
|
|
@@ -3445,10 +3200,6 @@ export type TagProps = {
|
|
|
3445
3200
|
prominence?: "emphasis" | "default";
|
|
3446
3201
|
/** Enables updating internal string values for internationalization. */
|
|
3447
3202
|
i18n?: string;
|
|
3448
|
-
/** @deprecated - not supported on custom element tags */
|
|
3449
|
-
"nve-layout"?: string;
|
|
3450
|
-
/** @deprecated - not supported on custom element tags */
|
|
3451
|
-
"nve-text"?: string;
|
|
3452
3203
|
/** Indicates the current state of a toggle button that switches on or off. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
|
|
3453
3204
|
- `true` The button is in the pressed (on) state and the associated action or setting is active.
|
|
3454
3205
|
|
|
@@ -3459,17 +3210,18 @@ export type TagProps = {
|
|
|
3459
3210
|
|
|
3460
3211
|
- `false` The associated content collapses and hides from the user. */
|
|
3461
3212
|
expanded?: boolean;
|
|
3462
|
-
/**
|
|
3213
|
+
/** Like input readonly, sets a button semantically as visual treatment only.
|
|
3214
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
|
|
3463
3215
|
readonly?: boolean;
|
|
3464
3216
|
/** Like input form, sets a button to submit a form outside its parent form.
|
|
3465
3217
|
Returns a reference to the form element if available.
|
|
3466
3218
|
https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form */
|
|
3467
|
-
form?:
|
|
3219
|
+
form?: string | HTMLFormElement | null;
|
|
3468
3220
|
/** The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name) */
|
|
3469
3221
|
name?: string;
|
|
3470
3222
|
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
3471
3223
|
value?: string;
|
|
3472
|
-
/** Defines the button behavior when associated within
|
|
3224
|
+
/** Defines the button behavior when associated within a form element.
|
|
3473
3225
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
3474
3226
|
type?: "button" | "submit" | "reset";
|
|
3475
3227
|
/** This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)
|
|
@@ -3487,10 +3239,7 @@ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type */
|
|
|
3487
3239
|
|
|
3488
3240
|
- `step` Marks the current step within a multi-step process or workflow. */
|
|
3489
3241
|
current?: "page" | "step";
|
|
3490
|
-
/**
|
|
3491
|
-
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3492
|
-
popoverTargetElement?: HTMLElement | null;
|
|
3493
|
-
/** The idref of the element that receives the popover.
|
|
3242
|
+
/** The id reference of the element that receives the popover.
|
|
3494
3243
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget */
|
|
3495
3244
|
popovertarget?: string;
|
|
3496
3245
|
/** The popover target action to perform on the popover target element.
|
|
@@ -3498,28 +3247,19 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetA
|
|
|
3498
3247
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
3499
3248
|
/** The element that receives the command.
|
|
3500
3249
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3501
|
-
|
|
3502
|
-
/** The idref of the element that receives the command.
|
|
3503
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3504
|
-
commandfor?: string | null;
|
|
3250
|
+
commandfor?: HTMLElement | null;
|
|
3505
3251
|
/** The command to execute on the element.
|
|
3506
3252
|
https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API */
|
|
3507
3253
|
command?: string;
|
|
3508
3254
|
/** The element that receives the interest.
|
|
3509
3255
|
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement */
|
|
3510
|
-
|
|
3511
|
-
/**
|
|
3512
|
-
https://developer.mozilla.org/en-US/docs/Web/API/
|
|
3513
|
-
|
|
3514
|
-
/** @deprecated Use `readOnly`. The `readonly` attribute remains supported. */
|
|
3515
|
-
readonly?: boolean;
|
|
3256
|
+
interestfor?: HTMLElement | null;
|
|
3257
|
+
/** Establishes a relationship between a popover and its invoker button.
|
|
3258
|
+
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
|
|
3259
|
+
popoverTargetElement?: HTMLElement | null;
|
|
3516
3260
|
};
|
|
3517
3261
|
|
|
3518
3262
|
export type TextareaProps = {
|
|
3519
|
-
/** @deprecated - not supported on custom element tags */
|
|
3520
|
-
"nve-layout"?: string;
|
|
3521
|
-
/** @deprecated - not supported on custom element tags */
|
|
3522
|
-
"nve-text"?: string;
|
|
3523
3263
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3524
3264
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
3525
3265
|
|
|
@@ -3552,10 +3292,6 @@ export type TimeProps = {
|
|
|
3552
3292
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
3553
3293
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
3554
3294
|
container?: "flat" | "default";
|
|
3555
|
-
/** @deprecated - not supported on custom element tags */
|
|
3556
|
-
"nve-layout"?: string;
|
|
3557
|
-
/** @deprecated - not supported on custom element tags */
|
|
3558
|
-
"nve-text"?: string;
|
|
3559
3295
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3560
3296
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
3561
3297
|
|
|
@@ -3630,13 +3366,9 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
3630
3366
|
- `success` Represents positive outcomes, confirmations, or constructive actions.
|
|
3631
3367
|
|
|
3632
3368
|
- `danger` Signals destructive or irreversible actions that need extra attention and confirmation. */
|
|
3633
|
-
status?: "accent" | "warning" | "success" | "danger"
|
|
3369
|
+
status?: "accent" | "warning" | "success" | "danger";
|
|
3634
3370
|
/** Enables updating internal string values for internationalization. */
|
|
3635
3371
|
i18n?: string;
|
|
3636
|
-
/** @deprecated - not supported on custom element tags */
|
|
3637
|
-
"nve-layout"?: string;
|
|
3638
|
-
/** @deprecated - not supported on custom element tags */
|
|
3639
|
-
"nve-text"?: string;
|
|
3640
3372
|
|
|
3641
3373
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
3642
3374
|
onbeforetoggle?: (e: CustomEvent<never>) => void;
|
|
@@ -3648,19 +3380,9 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
3648
3380
|
onclose?: (e: CustomEvent<never>) => void;
|
|
3649
3381
|
};
|
|
3650
3382
|
|
|
3651
|
-
export type ToggletipFooterProps = {
|
|
3652
|
-
/** @deprecated - not supported on custom element tags */
|
|
3653
|
-
"nve-layout"?: string;
|
|
3654
|
-
/** @deprecated - not supported on custom element tags */
|
|
3655
|
-
"nve-text"?: string;
|
|
3656
|
-
};
|
|
3383
|
+
export type ToggletipFooterProps = {};
|
|
3657
3384
|
|
|
3658
|
-
export type ToggletipHeaderProps = {
|
|
3659
|
-
/** @deprecated - not supported on custom element tags */
|
|
3660
|
-
"nve-layout"?: string;
|
|
3661
|
-
/** @deprecated - not supported on custom element tags */
|
|
3662
|
-
"nve-text"?: string;
|
|
3663
|
-
};
|
|
3385
|
+
export type ToggletipHeaderProps = {};
|
|
3664
3386
|
|
|
3665
3387
|
export type ToggletipProps = {
|
|
3666
3388
|
/** Provides the element that the popover should position relative to. Anchor can accept a idref string within the same render root or a HTMLElement DOM reference. */
|
|
@@ -3699,10 +3421,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
3699
3421
|
arrow?: boolean;
|
|
3700
3422
|
/** Enables updating internal string values for internationalization. */
|
|
3701
3423
|
i18n?: string;
|
|
3702
|
-
/** @deprecated - not supported on custom element tags */
|
|
3703
|
-
"nve-layout"?: string;
|
|
3704
|
-
/** @deprecated - not supported on custom element tags */
|
|
3705
|
-
"nve-text"?: string;
|
|
3706
3424
|
/** */
|
|
3707
3425
|
popoverArrow?: HTMLElement;
|
|
3708
3426
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
@@ -3733,10 +3451,6 @@ export type ToolbarProps = {
|
|
|
3733
3451
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3734
3452
|
- `accent` Highlights important actions or draws attention to primary interactive elements. */
|
|
3735
3453
|
status?: "accent";
|
|
3736
|
-
/** @deprecated - not supported on custom element tags */
|
|
3737
|
-
"nve-layout"?: string;
|
|
3738
|
-
/** @deprecated - not supported on custom element tags */
|
|
3739
|
-
"nve-text"?: string;
|
|
3740
3454
|
};
|
|
3741
3455
|
|
|
3742
3456
|
export type TooltipProps = {
|
|
@@ -3775,10 +3489,6 @@ Determines if popover visibility behavior should be automatically controlled by
|
|
|
3775
3489
|
status?: "muted";
|
|
3776
3490
|
/** @deprecated Use interest-delay-start css property instead */
|
|
3777
3491
|
"open-delay"?: number;
|
|
3778
|
-
/** @deprecated - not supported on custom element tags */
|
|
3779
|
-
"nve-layout"?: string;
|
|
3780
|
-
/** @deprecated - not supported on custom element tags */
|
|
3781
|
-
"nve-text"?: string;
|
|
3782
3492
|
/** */
|
|
3783
3493
|
popoverArrow?: HTMLElement;
|
|
3784
3494
|
/** Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
@@ -3810,10 +3520,6 @@ export type TreeNodeProps = {
|
|
|
3810
3520
|
highlighted?: boolean;
|
|
3811
3521
|
/** Enables updating internal string values for internationalization. */
|
|
3812
3522
|
i18n?: string;
|
|
3813
|
-
/** @deprecated - not supported on custom element tags */
|
|
3814
|
-
"nve-layout"?: string;
|
|
3815
|
-
/** @deprecated - not supported on custom element tags */
|
|
3816
|
-
"nve-text"?: string;
|
|
3817
3523
|
/** */
|
|
3818
3524
|
indeterminate?: boolean;
|
|
3819
3525
|
/** */
|
|
@@ -3837,10 +3543,6 @@ export type TreeProps = {
|
|
|
3837
3543
|
"behavior-select"?: boolean;
|
|
3838
3544
|
/** Determines if the node depth border renders. */
|
|
3839
3545
|
border?: boolean;
|
|
3840
|
-
/** @deprecated - not supported on custom element tags */
|
|
3841
|
-
"nve-layout"?: string;
|
|
3842
|
-
/** @deprecated - not supported on custom element tags */
|
|
3843
|
-
"nve-text"?: string;
|
|
3844
3546
|
|
|
3845
3547
|
/** Dispatched from a child nve-tree-node when opened. */
|
|
3846
3548
|
onopen?: (e: CustomEvent<never>) => void;
|
|
@@ -3854,10 +3556,6 @@ export type WeekProps = {
|
|
|
3854
3556
|
/** Demonstrates different container styles to accommodate visual weight and context.
|
|
3855
3557
|
- `flat` Element has white space bounds but reduced visual container. */
|
|
3856
3558
|
container?: "flat" | "default";
|
|
3857
|
-
/** @deprecated - not supported on custom element tags */
|
|
3858
|
-
"nve-layout"?: string;
|
|
3859
|
-
/** @deprecated - not supported on custom element tags */
|
|
3860
|
-
"nve-text"?: string;
|
|
3861
3559
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
3862
3560
|
- `warning` Indicates cautionary actions that require careful consideration before proceeding.
|
|
3863
3561
|
|
|
@@ -4078,11 +3776,6 @@ export type CustomElements = {
|
|
|
4078
3776
|
* - **--icon-width** - undefined _(default: undefined)_
|
|
4079
3777
|
* - **--icon-height** - undefined _(default: undefined)_
|
|
4080
3778
|
* - **--text-decoration** - undefined _(default: undefined)_
|
|
4081
|
-
* - **--breadcrumb-height** - deprecated _(default: undefined)_
|
|
4082
|
-
* - **--item-text-size** - deprecated _(default: undefined)_
|
|
4083
|
-
* - **--item-color** - deprecated _(default: undefined)_
|
|
4084
|
-
* - **--item-active-color** - deprecated _(default: undefined)_
|
|
4085
|
-
* - **--item-active-font-weight** - deprecated _(default: undefined)_
|
|
4086
3779
|
*/
|
|
4087
3780
|
"nve-breadcrumb": Partial<BreadcrumbProps & BaseProps & BaseEvents>;
|
|
4088
3781
|
|
|
@@ -4733,6 +4426,15 @@ export type CustomElements = {
|
|
|
4733
4426
|
* ### **Events:**
|
|
4734
4427
|
* - **change** - Dispatched when the value has changed (files located in event.target)
|
|
4735
4428
|
*
|
|
4429
|
+
* ### **Methods:**
|
|
4430
|
+
* - **reportValidity()** - Reports whether the control satisfies its constraints.
|
|
4431
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
|
|
4432
|
+
* - **checkValidity()** - Checks whether the control satisfies its constraints.
|
|
4433
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
|
|
4434
|
+
* - **setCustomValidity()** - Sets a custom validation message.
|
|
4435
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
|
|
4436
|
+
* - **reset()** - Resets the control value to its initial value.
|
|
4437
|
+
*
|
|
4736
4438
|
* ### **Slots:**
|
|
4737
4439
|
* - _default_ - use only when custom messaging requires it
|
|
4738
4440
|
* - **icon** - default slot for icon
|
|
@@ -5383,9 +5085,6 @@ export type CustomElements = {
|
|
|
5383
5085
|
* - **--max-width** - undefined _(default: undefined)_
|
|
5384
5086
|
* - **--max-height** - undefined _(default: undefined)_
|
|
5385
5087
|
* - **--animation-duration** - Duration of panel open/close animations _(default: undefined)_
|
|
5386
|
-
*
|
|
5387
|
-
* ### **CSS Parts:**
|
|
5388
|
-
* - **icon-button** - The close/collapse icon button element
|
|
5389
5088
|
*/
|
|
5390
5089
|
"nve-page-panel": Partial<PagePanelProps & BaseProps & BaseEvents>;
|
|
5391
5090
|
|
|
@@ -5429,6 +5128,15 @@ export type CustomElements = {
|
|
|
5429
5128
|
* - **input** - Dispatched when the value (page) has changed
|
|
5430
5129
|
* - **change** - Dispatched when the value (page) has changed
|
|
5431
5130
|
*
|
|
5131
|
+
* ### **Methods:**
|
|
5132
|
+
* - **reportValidity()** - Reports whether the control satisfies its constraints.
|
|
5133
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
|
|
5134
|
+
* - **checkValidity()** - Checks whether the control satisfies its constraints.
|
|
5135
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
|
|
5136
|
+
* - **setCustomValidity()** - Sets a custom validation message.
|
|
5137
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
|
|
5138
|
+
* - **reset()** - Resets the control value to its initial value.
|
|
5139
|
+
*
|
|
5432
5140
|
* ### **Slots:**
|
|
5433
5141
|
* - _default_ - default slot for content
|
|
5434
5142
|
* - **suffix-label** - slot for overriding the "n of total" label when total is an approximation
|
|
@@ -5449,7 +5157,7 @@ export type CustomElements = {
|
|
|
5449
5157
|
"nve-pagination": Partial<PaginationProps & BaseProps & BaseEvents>;
|
|
5450
5158
|
|
|
5451
5159
|
/**
|
|
5452
|
-
* @deprecated use `nve-page-panel` with `nve-page` instead
|
|
5160
|
+
* @deprecated use `nve-page-panel-header` with `nve-page-panel` instead
|
|
5453
5161
|
*
|
|
5454
5162
|
* Displays the title, subtitle, and optional action controls at the top of a panel.
|
|
5455
5163
|
* ---
|
|
@@ -5468,6 +5176,8 @@ export type CustomElements = {
|
|
|
5468
5176
|
"nve-panel-header": Partial<PanelHeaderProps & BaseProps & BaseEvents>;
|
|
5469
5177
|
|
|
5470
5178
|
/**
|
|
5179
|
+
* @deprecated use `nve-page-panel-content` with `nve-page-panel` instead
|
|
5180
|
+
*
|
|
5471
5181
|
* Contains the main body content within a panel, providing a structured region for detailed information.
|
|
5472
5182
|
* ---
|
|
5473
5183
|
*
|
|
@@ -5481,6 +5191,8 @@ export type CustomElements = {
|
|
|
5481
5191
|
"nve-panel-content": Partial<PanelContentProps & BaseProps & BaseEvents>;
|
|
5482
5192
|
|
|
5483
5193
|
/**
|
|
5194
|
+
* @deprecated use `nve-page-panel-footer` with `nve-page-panel` instead
|
|
5195
|
+
*
|
|
5484
5196
|
* Provides a designated area at the bottom of a panel for actions or supplementary controls.
|
|
5485
5197
|
* ---
|
|
5486
5198
|
*
|
|
@@ -5496,6 +5208,8 @@ export type CustomElements = {
|
|
|
5496
5208
|
"nve-panel-footer": Partial<PanelFooterProps & BaseProps & BaseEvents>;
|
|
5497
5209
|
|
|
5498
5210
|
/**
|
|
5211
|
+
* @deprecated use `nve-page-panel` with `nve-page` instead
|
|
5212
|
+
*
|
|
5499
5213
|
* Panel is inline container for content that couples to the content on the page (details, extra actions/options). Or [Drawer](./docs/elements/drawer/) is out of context of the rest of the page (notifications, navigations, settings).
|
|
5500
5214
|
* ---
|
|
5501
5215
|
*
|
|
@@ -5567,6 +5281,15 @@ export type CustomElements = {
|
|
|
5567
5281
|
* - **input** - Dispatched when the value has changed
|
|
5568
5282
|
* - **change** - Dispatched when the value has changed
|
|
5569
5283
|
*
|
|
5284
|
+
* ### **Methods:**
|
|
5285
|
+
* - **reportValidity()** - Reports whether the control satisfies its constraints.
|
|
5286
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
|
|
5287
|
+
* - **checkValidity()** - Checks whether the control satisfies its constraints.
|
|
5288
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
|
|
5289
|
+
* - **setCustomValidity()** - Sets a custom validation message.
|
|
5290
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
|
|
5291
|
+
* - **reset()** - Resets the control value to its initial value.
|
|
5292
|
+
*
|
|
5570
5293
|
* ### **CSS Properties:**
|
|
5571
5294
|
* - **--color** - undefined _(default: undefined)_
|
|
5572
5295
|
* - **--width** - undefined _(default: undefined)_
|
|
@@ -5756,6 +5479,15 @@ export type CustomElements = {
|
|
|
5756
5479
|
* ### **Events:**
|
|
5757
5480
|
* - **toggle** - Dispatched when the resize handle is double clicked.
|
|
5758
5481
|
*
|
|
5482
|
+
* ### **Methods:**
|
|
5483
|
+
* - **reportValidity()** - Reports whether the control satisfies its constraints.
|
|
5484
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
|
|
5485
|
+
* - **checkValidity()** - Checks whether the control satisfies its constraints.
|
|
5486
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
|
|
5487
|
+
* - **setCustomValidity()** - Sets a custom validation message.
|
|
5488
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
|
|
5489
|
+
* - **reset()** - Resets the control value to its initial value.
|
|
5490
|
+
*
|
|
5759
5491
|
* ### **CSS Properties:**
|
|
5760
5492
|
* - **--background** - undefined _(default: undefined)_
|
|
5761
5493
|
* - **--line-width** - undefined _(default: undefined)_
|
|
@@ -6066,10 +5798,6 @@ export type CustomElements = {
|
|
|
6066
5798
|
*
|
|
6067
5799
|
* ### **CSS Properties:**
|
|
6068
5800
|
* - **--font-size** - undefined _(default: undefined)_
|
|
6069
|
-
* - **--border-width** - undefined _(default: undefined)_
|
|
6070
|
-
* - **--border-height** - undefined _(default: undefined)_
|
|
6071
|
-
* - **--border-top** - undefined _(default: undefined)_
|
|
6072
|
-
* - **--border-background** - undefined _(default: undefined)_
|
|
6073
5801
|
* - **--width** - undefined _(default: undefined)_
|
|
6074
5802
|
* - **--padding** - undefined _(default: undefined)_
|
|
6075
5803
|
* - **--font-size** - undefined _(default: undefined)_
|