@nvidia-elements/core 2.9.0 → 2.10.0
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 +13 -0
- package/README.md +3 -7
- package/dist/accordion/accordion.d.ts +4 -4
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group.d.ts +1 -1
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert.d.ts +1 -1
- package/dist/alert/alert2.js +1 -1
- 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 +1 -1
- package/dist/badge/badge.d.ts +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb.d.ts +2 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js.map +1 -1
- package/dist/bundles/index.d.ts +7 -1
- package/dist/bundles/index.js +1 -1
- package/dist/button/button.d.ts +1 -1
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group.d.ts +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card.d.ts +4 -4
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message.d.ts +1 -1
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color.d.ts +1 -1
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox.d.ts +2 -2
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button.d.ts +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +16 -16
- package/dist/custom-elements-vue.d.ts +16 -16
- package/dist/custom-elements.json +323 -877
- package/dist/data.html.json +4 -4
- package/dist/data.snippets.json +45 -45
- package/dist/date/date.d.ts +1 -1
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime.d.ts +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer.d.ts +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header.d.ts +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider.d.ts +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot.d.ts +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drawer/drawer-content.d.ts +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer.d.ts +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header.d.ts +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer.d.ts +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer.d.ts +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header.d.ts +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown.d.ts +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone.d.ts +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-bytes/format-bytes.d.ts +1 -1
- package/dist/format-bytes/format-bytes2.js +1 -1
- package/dist/format-datetime/format-datetime.d.ts +1 -1
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-number/format-number.d.ts +1 -1
- package/dist/format-number/format-number2.js +1 -1
- package/dist/format-relative-time/format-relative-time.d.ts +1 -1
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/format-truncate/format-truncate2.js +1 -1
- package/dist/forms/control/control2.js +1 -1
- package/dist/forms/control-group/control-group.d.ts +3 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-group/control-group2.js.map +1 -1
- package/dist/forms/control-message/control-message.d.ts +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/gauge/gauge.d.ts +1 -1
- package/dist/gauge/gauge2.js +1 -1
- 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 +1 -1
- package/dist/grid/footer/footer.d.ts +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid.d.ts +3 -1
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/grid2.js.map +1 -1
- package/dist/grid/header/header.d.ts +1 -1
- package/dist/grid/header/header2.js +1 -1
- 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 +1 -1
- package/dist/icon/icon.d.ts +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button.d.ts +1 -1
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/keynav-list.controller.js.map +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/utils/dom.d.ts +3 -1
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/logo/logo.d.ts +1 -1
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-item.d.ts +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu.d.ts +1 -1
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month.d.ts +1 -1
- package/dist/month/month2.js +1 -1
- package/dist/notification/notification-group.d.ts +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification.d.ts +1 -1
- package/dist/notification/notification2.js +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 +1 -1
- package/dist/page/page-panel/page-panel-header.d.ts +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel.d.ts +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page.d.ts +1 -1
- package/dist/page/page2.js +1 -1
- 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 +1 -1
- package/dist/pagination/pagination.d.ts +1 -1
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel.d.ts +4 -4
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password.d.ts +1 -1
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input.d.ts +1 -1
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar.d.ts +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-ring/progress-ring.d.ts +1 -1
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip.d.ts +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse.d.ts +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range.d.ts +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle.d.ts +1 -1
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search.d.ts +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select.d.ts +2 -2
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton.d.ts +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button.d.ts +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline.d.ts +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating.d.ts +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps.d.ts +2 -2
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group.d.ts +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs.d.ts +2 -2
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag.d.ts +1 -1
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea.d.ts +2 -2
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time.d.ts +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast.d.ts +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer.d.ts +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header.d.ts +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip.d.ts +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar.d.ts +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node.d.ts +2 -2
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree-node2.js.map +1 -1
- package/dist/tree/tree.d.ts +2 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/tree/tree2.js.map +1 -1
- package/dist/viewport/viewport-gridlines.d.ts +1 -1
- package/dist/viewport/viewport-gridlines2.js +1 -1
- package/dist/viewport/viewport.d.ts +1 -1
- package/dist/viewport/viewport2.js +1 -1
- package/dist/week/week.d.ts +1 -1
- package/dist/week/week2.js +1 -1
- package/package.json +7 -4
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"since": "0.12.0",
|
|
355
355
|
"status": "stable",
|
|
356
356
|
"behavior": "container",
|
|
357
|
-
"markdown": "## nve-accordion\n\nAn accordion is a vertical stack of interactive headings used to toggle the display of further information.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content displayed in the collapsible region, typically an `nve-accordion-content` element. |\n|
|
|
357
|
+
"markdown": "## nve-accordion\n\nAn accordion is a vertical stack of interactive headings used to toggle the display of further information.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content displayed in the collapsible region, typically an `nve-accordion-content` element. |\n| header | `string` | header element (Use `accordion-header` or custom content) |\n| icon-button | `string` | icon elements to display for expand/collapse |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless) |\n| container | `'flat' \\| 'inset' \\| undefined` | Determines the container styles of component. Flat suits nesting accordions within other containers. Inset suits more complex accordions where content needs distinct separation. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| i18n | | Enables updating internal string values for internationalization. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | use to close the accordion |\n| --open | `CommandEvent` | use to open the accordion |\n| --toggle | `CommandEvent` | use to toggle the accordion |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --header-padding | `string` | Padding around the header content. |\n| --transition | `string` | [MDN](https://mdn.dev/CSS/transition) |"
|
|
358
358
|
},
|
|
359
359
|
"commands": [
|
|
360
360
|
{
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
"since": "0.3.0",
|
|
996
996
|
"status": "stable",
|
|
997
997
|
"behavior": "feedback",
|
|
998
|
-
"markdown": "## nve-alert-group\n\nAn alert group is an element that displays a group of related and important messages in a way that attracts the user's attention without interrupting the user's task.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/alert/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for nve-alert |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
998
|
+
"markdown": "## nve-alert-group\n\nAn alert group is an element that displays a group of related and important messages in a way that attracts the user's attention without interrupting the user's task.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/alert/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for nve-alert |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| container | `'full' \\| undefined` | Determines the container bounds of the element |\n| prominence | `'emphasis' \\| undefined` | Determines the visual prominence or weight, emphasis applies banner style alerts |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| undefined` | Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
],
|
|
@@ -1336,7 +1336,7 @@
|
|
|
1336
1336
|
"since": "0.3.0",
|
|
1337
1337
|
"status": "stable",
|
|
1338
1338
|
"behavior": "feedback",
|
|
1339
|
-
"markdown": "## nve-alert\n\nAlert is an element that displays a brief, important message in a way that attracts the user's attention without interrupting the user's task.\n\n### Example\n\n```html\n<nve-alert>alert message</nve-alert>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/alert/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n|
|
|
1339
|
+
"markdown": "## nve-alert\n\nAlert is an element that displays a brief, important message in a way that attracts the user's attention without interrupting the user's task.\n\n### Example\n\n```html\n<nve-alert>alert message</nve-alert>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/alert/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Default content placed inside of the alert. |\n| actions | `string` | Actions render on the right side of the alert. Actions are typically buttons, but can also be links. Use actions for steps the user can take to resolve the alert. |\n| content | `string` | Content for large overflow text. |\n| icon | `string` | Icon slot renders on the left side of the alert. Icons typically represent the alert's status. |\n| prefix | `string` | Prefix slot renders between the icon and the content. Prefixes typically represent the alert's status. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables updating internal string values for internationalization. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| 'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored' \\| 'muted' \\| undefined` | Defines visual treatment to represent a ongoing task or support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the alert closes within an alert group. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | Use to set the alert closed/hidden state. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --align-items | `string` | [MDN](https://mdn.dev/CSS/align-items) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --icon-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --icon-size | `string` | |\n| --justify-content | `string` | [MDN](https://mdn.dev/CSS/justify-content) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
1340
1340
|
},
|
|
1341
1341
|
"commands": [
|
|
1342
1342
|
{
|
|
@@ -1777,7 +1777,7 @@
|
|
|
1777
1777
|
"since": "1.20.0",
|
|
1778
1778
|
"status": "stable",
|
|
1779
1779
|
"behavior": "feedback",
|
|
1780
|
-
"markdown": "## nve-avatar\n\nAvatar represents a user/bot within a UI. Typically with text or image content.\n\n### Example\n\n```html\n<nve-avatar>AV</nve-avatar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/avatar/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Initials, an image, or other content that identifies the represented user or bot. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
1780
|
+
"markdown": "## nve-avatar\n\nAvatar represents a user/bot within a UI. Typically with text or image content.\n\n### Example\n\n```html\n<nve-avatar>AV</nve-avatar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/avatar/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Initials, an image, or other content that identifies the represented user or bot. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| size | `'sm' \\| 'md' \\| 'lg' \\| 'xs' \\| undefined` | Sets size of the avatar component. Update size through the `width + height` css props as an alternative. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
1783
|
],
|
|
@@ -2350,7 +2350,7 @@
|
|
|
2350
2350
|
"since": "0.11.0",
|
|
2351
2351
|
"status": "stable",
|
|
2352
2352
|
"behavior": "content",
|
|
2353
|
-
"markdown": "## nve-badge\n\nA visual indicator that communicates a status description of an associated component. Status badges use short text, color, built in icons for quick recognition and render near the relevant content.\n\n### Example\n\n```html\n<nve-badge>badge</nve-badge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/badge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Short text that communicates the badge status. |\n| prefix-icon | `string` | slot for prefix icon |\n| suffix-icon | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| status | `'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored' \\| 'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Visual treatment to represent a ongoing task, support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n
|
|
2353
|
+
"markdown": "## nve-badge\n\nA visual indicator that communicates a status description of an associated component. Status badges use short text, color, built in icons for quick recognition and render near the relevant content.\n\n### Example\n\n```html\n<nve-badge>badge</nve-badge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/badge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Short text that communicates the badge status. |\n| prefix-icon | `string` | slot for prefix icon |\n| suffix-icon | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| container | `'flat' \\| undefined` | Determines the container styles of component. Flat suits nesting within other containers. |\n| i18n | | Enables updating internal string values for internationalization. |\n| prominence | `'emphasis' \\| undefined` | Determines the visual prominence or weight |\n| status | `'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored' \\| 'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Visual treatment to represent a ongoing task, support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --icon-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
2356
|
],
|
|
@@ -2469,7 +2469,7 @@
|
|
|
2469
2469
|
"since": "0.11.0",
|
|
2470
2470
|
"status": "stable",
|
|
2471
2471
|
"behavior": "content",
|
|
2472
|
-
"markdown": "## nve-breadcrumb\n\nBreadcrumb is a component that can help users establish their location while navigating a website with complex URLs and navigation paths.\n\n### Example\n\n```html\n<nve-breadcrumb>\n <nve-button><a href=\"#\" target=\"_self\">Item 1</a></nve-button>\n <nve-button><a href=\"#\" target=\"_self\">Item 2</a></nve-button>\n <nve-button><a href=\"#\" target=\"_self\">Item 3</a></nve-button>\n <span>You Are Here</span>\n</nve-breadcrumb>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/breadcrumb/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-button` and anchor elements |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
2472
|
+
"markdown": "## nve-breadcrumb\n\nBreadcrumb is a component that can help users establish their location while navigating a website with complex URLs and navigation paths.\n\n### Example\n\n```html\n<nve-breadcrumb>\n <nve-button><a href=\"#\" target=\"_self\">Item 1</a></nve-button>\n <nve-button><a href=\"#\" target=\"_self\">Item 2</a></nve-button>\n <nve-button><a href=\"#\" target=\"_self\">Item 3</a></nve-button>\n <span>You Are Here</span>\n</nve-breadcrumb>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/breadcrumb/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-button` and anchor elements |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --icon-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --icon-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
2475
|
],
|
|
@@ -3373,7 +3373,7 @@
|
|
|
3373
3373
|
"since": "0.16.0",
|
|
3374
3374
|
"status": "stable",
|
|
3375
3375
|
"behavior": "container",
|
|
3376
|
-
"markdown": "## nve-button-group\n\nA button group organizes related buttons and can support either mutually exclusive single or multi selection. Prefer usage within toolbars.\n\n### Example\n\n```html\n<nve-button-group>\n <nve-icon-button selected icon-name=\"copy\"></nve-icon-button>\n <nve-icon-button icon-name=\"add-comment\"></nve-icon-button>\n <nve-icon-button icon-name=\"download\"></nve-icon-button>\n</nve-button-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/button-group/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-button` or `nve-icon-button` |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorSelect (behavior-select) | `'single' \\| 'multi'` | By default the button group is stateless. Add the `behavior-select` attribute and set to `single` or `multi` to enable stateful selction handling. |\n| container | `'flat' \\| 'rounded' \\| undefined` | Set the style of the button group using the `container` property. Options are the default display when omitting the attribute, `flat` or `rounded`. |\n|
|
|
3376
|
+
"markdown": "## nve-button-group\n\nA button group organizes related buttons and can support either mutually exclusive single or multi selection. Prefer usage within toolbars.\n\n### Example\n\n```html\n<nve-button-group>\n <nve-icon-button selected icon-name=\"copy\"></nve-icon-button>\n <nve-icon-button icon-name=\"add-comment\"></nve-icon-button>\n <nve-icon-button icon-name=\"download\"></nve-icon-button>\n</nve-button-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/button-group/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-button` or `nve-icon-button` |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorSelect (behavior-select) | `'single' \\| 'multi'` | By default the button group is stateless. Add the `behavior-select` attribute and set to `single` or `multi` to enable stateful selction handling. |\n| container | `'flat' \\| 'rounded' \\| undefined` | Set the style of the button group using the `container` property. Options are the default display when omitting the attribute, `flat` or `rounded`. |\n| interaction | `'emphasis' \\| 'destructive'` | The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors. - `emphasis` Shows the interaction targets emphasis or highlighting primary actions. - `destructive` Shows the interaction targets destructive actions such as deleting or removing. |\n| orientation | `'horizontal' \\| 'vertical' \\| undefined` | Controls the directional flow of the element's layout and interaction pattern. - `horizontal` Element orients horizontally with left-to-right flow. - `vertical` Element orients vertically with top-to-bottom flow. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
3377
3377
|
}
|
|
3378
3378
|
}
|
|
3379
3379
|
],
|
|
@@ -4301,7 +4301,7 @@
|
|
|
4301
4301
|
"since": "0.1.3",
|
|
4302
4302
|
"status": "stable",
|
|
4303
4303
|
"behavior": "button",
|
|
4304
|
-
"markdown": "## nve-button\n\nA button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.\n\n### Example\n\n```html\n<nve-button>standard</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
4304
|
+
"markdown": "## nve-button\n\nA button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.\n\n### Example\n\n```html\n<nve-button>standard</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interaction | `'emphasis' \\| 'destructive'` | The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors. - `emphasis` Shows the interaction targets emphasis or highlighting primary actions. - `destructive` Shows the interaction targets destructive actions such as deleting or removing. |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-align | `string` | [MDN](https://mdn.dev/CSS/text-align) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
4305
4305
|
}
|
|
4306
4306
|
}
|
|
4307
4307
|
],
|
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
"since": "0.1.3",
|
|
4440
4440
|
"status": "stable",
|
|
4441
4441
|
"behavior": "container",
|
|
4442
|
-
"markdown": "## nve-card\n\nA container for content representing a single entity.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | use `<nve-card-header>`,`<nve-card-content>`,`<nve-card-footer>` for card content layout |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'full' \\| undefined` | flat (embed into parent container) or full (width of viewport) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
4442
|
+
"markdown": "## nve-card\n\nA container for content representing a single entity.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | use `<nve-card-header>`,`<nve-card-content>`,`<nve-card-footer>` for card content layout |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'full' \\| undefined` | flat (embed into parent container) or full (width of viewport) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |"
|
|
4443
4443
|
}
|
|
4444
4444
|
},
|
|
4445
4445
|
{
|
|
@@ -4493,7 +4493,7 @@
|
|
|
4493
4493
|
"since": "0.1.3",
|
|
4494
4494
|
"status": "stable",
|
|
4495
4495
|
"behavior": "container",
|
|
4496
|
-
"markdown": "## nve-card-header\n\nDisplays the title and optional actions at the top of a card, establishing the card's identity and purpose.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Card title, supporting text, and optional action controls. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
4496
|
+
"markdown": "## nve-card-header\n\nDisplays the title and optional actions at the top of a card, establishing the card's identity and purpose.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Card title, supporting text, and optional action controls. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
4497
4497
|
}
|
|
4498
4498
|
},
|
|
4499
4499
|
{
|
|
@@ -4581,7 +4581,7 @@
|
|
|
4581
4581
|
"since": "0.1.3",
|
|
4582
4582
|
"status": "stable",
|
|
4583
4583
|
"behavior": "container",
|
|
4584
|
-
"markdown": "## nve-card-footer\n\nProvides a designated area at the bottom of a card for actions, metadata, or supplementary information.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for card footer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
4584
|
+
"markdown": "## nve-card-footer\n\nProvides a designated area at the bottom of a card for actions, metadata, or supplementary information.\n\n### Example\n\n```html\n<nve-card>\n <nve-card-header>\n <h2 nve-text=\"heading sm medium\">Heading</h2>\n </nve-card-header>\n <nve-card-content>\n <p nve-text=\"body\" style=\"min-height: 64px\">card content</p>\n </nve-card-content>\n <nve-card-footer>\n <p nve-text=\"body\">card footer</p>\n </nve-card-footer>\n</nve-card>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/card/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for card footer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
4585
4585
|
}
|
|
4586
4586
|
}
|
|
4587
4587
|
],
|
|
@@ -5019,7 +5019,7 @@
|
|
|
5019
5019
|
"since": "1.25.0",
|
|
5020
5020
|
"status": "stable",
|
|
5021
5021
|
"behavior": "feedback",
|
|
5022
|
-
"markdown": "## nve-chat-message\n\nA chat message component displays a text message within a conversation, sent between users or bots\n\n### Example\n\n```html\n<nve-chat-message> Your deployment completed successfully. All services are running as expected. </nve-chat-message>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/chat-message/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message body displayed between the prefix and suffix content. |\n| prefix | `string` | for avatar/img content |\n| suffix | `string` | for avatar/img content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
5022
|
+
"markdown": "## nve-chat-message\n\nA chat message component displays a text message within a conversation, sent between users or bots\n\n### Example\n\n```html\n<nve-chat-message> Your deployment completed successfully. All services are running as expected. </nve-chat-message>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/chat-message/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message body displayed between the prefix and suffix content. |\n| prefix | `string` | for avatar/img content |\n| suffix | `string` | for avatar/img content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| arrowPosition (arrow-position) | `\\| 'top-start'\n \\| 'top-end'\n \\| 'bottom-start'\n \\| 'bottom-end'` | Removes the border radius from the selected message corner to indicate the speaker direction. |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| container | `'flat'` | Applies a transparent background and reduced horizontal padding for embedding the message in another container. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --overflow | `string` | [MDN](https://mdn.dev/CSS/overflow) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --top-offset | `string` | Vertical offset for aligning message with avatar |"
|
|
5023
5023
|
}
|
|
5024
5024
|
}
|
|
5025
5025
|
],
|
|
@@ -5118,6 +5118,26 @@
|
|
|
5118
5118
|
"name": "ControlGroup",
|
|
5119
5119
|
"module": "/src/forms/control-group/control-group.js"
|
|
5120
5120
|
}
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"kind": "field",
|
|
5124
|
+
"name": "label",
|
|
5125
|
+
"description": "Returns the label associated with the control group.",
|
|
5126
|
+
"readonly": true,
|
|
5127
|
+
"inheritedFrom": {
|
|
5128
|
+
"name": "ControlGroup",
|
|
5129
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
"kind": "field",
|
|
5134
|
+
"name": "inputs",
|
|
5135
|
+
"description": "Returns the input elements associated with the control group.",
|
|
5136
|
+
"readonly": true,
|
|
5137
|
+
"inheritedFrom": {
|
|
5138
|
+
"name": "ControlGroup",
|
|
5139
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
5140
|
+
}
|
|
5121
5141
|
}
|
|
5122
5142
|
],
|
|
5123
5143
|
"superclass": {
|
|
@@ -5141,7 +5161,7 @@
|
|
|
5141
5161
|
"since": "0.3.0",
|
|
5142
5162
|
"status": "stable",
|
|
5143
5163
|
"behavior": "form",
|
|
5144
|
-
"markdown": "## nve-checkbox-group\n\nGroups related checkboxes together with a shared label and validation messaging for multi-select form inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/checkbox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-
|
|
5164
|
+
"markdown": "## nve-checkbox-group\n\nGroups related checkboxes together with a shared label and validation messaging for multi-select form inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/checkbox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| inputs | | Returns the input elements associated with the control group. |\n| label | | Returns the label associated with the control group. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
|
|
5145
5165
|
},
|
|
5146
5166
|
"slots": [
|
|
5147
5167
|
{
|
|
@@ -5372,26 +5392,6 @@
|
|
|
5372
5392
|
}
|
|
5373
5393
|
],
|
|
5374
5394
|
"members": [
|
|
5375
|
-
{
|
|
5376
|
-
"kind": "field",
|
|
5377
|
-
"name": "nveControl",
|
|
5378
|
-
"type": {
|
|
5379
|
-
"text": "string",
|
|
5380
|
-
"_sourceAliases": [],
|
|
5381
|
-
"values": [
|
|
5382
|
-
{
|
|
5383
|
-
"value": "string",
|
|
5384
|
-
"description": ""
|
|
5385
|
-
}
|
|
5386
|
-
]
|
|
5387
|
-
},
|
|
5388
|
-
"privacy": "protected",
|
|
5389
|
-
"default": "'inline'",
|
|
5390
|
-
"inheritedFrom": {
|
|
5391
|
-
"name": "Control",
|
|
5392
|
-
"module": "/src/forms/control/control.js"
|
|
5393
|
-
}
|
|
5394
|
-
},
|
|
5395
5395
|
{
|
|
5396
5396
|
"kind": "field",
|
|
5397
5397
|
"name": "status",
|
|
@@ -5497,15 +5497,6 @@
|
|
|
5497
5497
|
"name": "Control",
|
|
5498
5498
|
"module": "/src/forms/control/control.js"
|
|
5499
5499
|
}
|
|
5500
|
-
},
|
|
5501
|
-
{
|
|
5502
|
-
"kind": "method",
|
|
5503
|
-
"name": "showPicker",
|
|
5504
|
-
"privacy": "protected",
|
|
5505
|
-
"inheritedFrom": {
|
|
5506
|
-
"name": "Control",
|
|
5507
|
-
"module": "/src/forms/control/control.js"
|
|
5508
|
-
}
|
|
5509
5500
|
}
|
|
5510
5501
|
],
|
|
5511
5502
|
"superclass": {
|
|
@@ -5530,7 +5521,7 @@
|
|
|
5530
5521
|
"since": "0.3.0",
|
|
5531
5522
|
"status": "stable",
|
|
5532
5523
|
"behavior": "form",
|
|
5533
|
-
"markdown": "## nve-checkbox\n\nA checkbox is a control that enables users to choose between two distinct mutually exclusive options (checked or unchecked, on or off) through a single click or tap.\n\n### Example\n\n```html\n<nve-checkbox>\n <label>label</label>\n <input type=\"checkbox\" checked />\n</nve-checkbox>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/checkbox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
5524
|
+
"markdown": "## nve-checkbox\n\nA checkbox is a control that enables users to choose between two distinct mutually exclusive options (checked or unchecked, on or off) through a single click or tap.\n\n### Example\n\n```html\n<nve-checkbox>\n <label>label</label>\n <input type=\"checkbox\" checked />\n</nve-checkbox>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/checkbox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border-width | `string` | [MDN](https://mdn.dev/CSS/border-width) |\n| --check-color | `string` | |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
5534
5525
|
},
|
|
5535
5526
|
"slots": [
|
|
5536
5527
|
{
|
|
@@ -5952,26 +5943,6 @@
|
|
|
5952
5943
|
"module": "/src/forms/control/control.js"
|
|
5953
5944
|
}
|
|
5954
5945
|
},
|
|
5955
|
-
{
|
|
5956
|
-
"kind": "field",
|
|
5957
|
-
"name": "nveControl",
|
|
5958
|
-
"type": {
|
|
5959
|
-
"text": "string",
|
|
5960
|
-
"_sourceAliases": [],
|
|
5961
|
-
"values": [
|
|
5962
|
-
{
|
|
5963
|
-
"value": "string",
|
|
5964
|
-
"description": ""
|
|
5965
|
-
}
|
|
5966
|
-
]
|
|
5967
|
-
},
|
|
5968
|
-
"privacy": "protected",
|
|
5969
|
-
"default": "''",
|
|
5970
|
-
"inheritedFrom": {
|
|
5971
|
-
"name": "Control",
|
|
5972
|
-
"module": "/src/forms/control/control.js"
|
|
5973
|
-
}
|
|
5974
|
-
},
|
|
5975
5946
|
{
|
|
5976
5947
|
"kind": "method",
|
|
5977
5948
|
"name": "reset",
|
|
@@ -5980,15 +5951,6 @@
|
|
|
5980
5951
|
"name": "Control",
|
|
5981
5952
|
"module": "/src/forms/control/control.js"
|
|
5982
5953
|
}
|
|
5983
|
-
},
|
|
5984
|
-
{
|
|
5985
|
-
"kind": "method",
|
|
5986
|
-
"name": "showPicker",
|
|
5987
|
-
"privacy": "protected",
|
|
5988
|
-
"inheritedFrom": {
|
|
5989
|
-
"name": "Control",
|
|
5990
|
-
"module": "/src/forms/control/control.js"
|
|
5991
|
-
}
|
|
5992
5954
|
}
|
|
5993
5955
|
],
|
|
5994
5956
|
"attributes": [
|
|
@@ -6169,7 +6131,7 @@
|
|
|
6169
6131
|
"since": "0.3.0",
|
|
6170
6132
|
"status": "stable",
|
|
6171
6133
|
"behavior": "form",
|
|
6172
|
-
"markdown": "## nve-color\n\nA color picker is a control that enables users to choose a color value.\n\n### Example\n\n```html\n<nve-color>\n <label>label</label>\n <input type=\"color\" />\n <nve-control-message>message</nve-control-message>\n</nve-color>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/color/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
6134
|
+
"markdown": "## nve-color\n\nA color picker is a control that enables users to choose a color value.\n\n### Example\n\n```html\n<nve-color>\n <label>label</label>\n <input type=\"color\" />\n <nve-control-message>message</nve-control-message>\n</nve-color>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/color/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
6173
6135
|
},
|
|
6174
6136
|
"slots": [
|
|
6175
6137
|
{
|
|
@@ -6643,35 +6605,6 @@
|
|
|
6643
6605
|
"name": "Control",
|
|
6644
6606
|
"module": "/src/forms/control/control.js"
|
|
6645
6607
|
}
|
|
6646
|
-
},
|
|
6647
|
-
{
|
|
6648
|
-
"kind": "field",
|
|
6649
|
-
"name": "nveControl",
|
|
6650
|
-
"type": {
|
|
6651
|
-
"text": "string",
|
|
6652
|
-
"_sourceAliases": [],
|
|
6653
|
-
"values": [
|
|
6654
|
-
{
|
|
6655
|
-
"value": "string",
|
|
6656
|
-
"description": ""
|
|
6657
|
-
}
|
|
6658
|
-
]
|
|
6659
|
-
},
|
|
6660
|
-
"privacy": "protected",
|
|
6661
|
-
"default": "''",
|
|
6662
|
-
"inheritedFrom": {
|
|
6663
|
-
"name": "Control",
|
|
6664
|
-
"module": "/src/forms/control/control.js"
|
|
6665
|
-
}
|
|
6666
|
-
},
|
|
6667
|
-
{
|
|
6668
|
-
"kind": "method",
|
|
6669
|
-
"name": "showPicker",
|
|
6670
|
-
"privacy": "protected",
|
|
6671
|
-
"inheritedFrom": {
|
|
6672
|
-
"name": "Control",
|
|
6673
|
-
"module": "/src/forms/control/control.js"
|
|
6674
|
-
}
|
|
6675
6608
|
}
|
|
6676
6609
|
],
|
|
6677
6610
|
"events": [
|
|
@@ -6913,7 +6846,7 @@
|
|
|
6913
6846
|
"since": "0.17.0",
|
|
6914
6847
|
"status": "stable",
|
|
6915
6848
|
"behavior": "form",
|
|
6916
|
-
"markdown": "## nve-combobox\n\nAn editable combobox with autocomplete behavior and selection support.\n\n### Example\n\n```html\n<nve-combobox>\n <label>label</label>\n <input type=\"search\" />\n <datalist>\n <option value=\"status\"></option>\n <option value=\"priority\"></option>\n <option value=\"date\"></option>\n <option value=\"session\"></option>\n <option value=\"configuration\"></option>\n <option value=\"contains\"></option>\n </datalist>\n <nve-control-message>message</nve-control-message>\n</nve-combobox>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/combobox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for an input and a datalist/select element |\n|
|
|
6849
|
+
"markdown": "## nve-combobox\n\nAn editable combobox with autocomplete behavior and selection support.\n\n### Example\n\n```html\n<nve-combobox>\n <label>label</label>\n <input type=\"search\" />\n <datalist>\n <option value=\"status\"></option>\n <option value=\"priority\"></option>\n <option value=\"date\"></option>\n <option value=\"session\"></option>\n <option value=\"configuration\"></option>\n <option value=\"contains\"></option>\n </datalist>\n <nve-control-message>message</nve-control-message>\n</nve-combobox>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/combobox/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for an input and a datalist/select element |\n| footer | `string` | slot for dropdown footer content |\n| label | `string` | Label element |\n| prefix-icon | `string` | slot for icon before the input |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorCreate (behavior-create) | `boolean` | Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail. |\n| container | `'flat'` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n| tagLayout (tag-layout) | `'hidden' \\| 'wrap'` | Manage inline tag rendering for many-item select |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| create | `CustomEvent` | Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`. |\n| reset | `CustomEvent` | |\n| scroll | `CustomEvent` | Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n| selectAll | `selectAll(): unknown` | Select all options provided |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --scroll-height | `string` | |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
6917
6850
|
}
|
|
6918
6851
|
}
|
|
6919
6852
|
],
|
|
@@ -7995,7 +7928,7 @@
|
|
|
7995
7928
|
"since": "1.1.4",
|
|
7996
7929
|
"status": "stable",
|
|
7997
7930
|
"behavior": "button",
|
|
7998
|
-
"markdown": "## nve-copy-button\n\nA copy button is a button that easily enables the copy to clipboard pattern.\n\n### Example\n\n```html\n<nve-copy-button value=\"hello\" aria-label=\"copy value\" behavior-copy></nve-copy-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/copy-button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text label displayed before the copy icon. |\n| icon | `string` | slot for custom icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
7931
|
+
"markdown": "## nve-copy-button\n\nA copy button is a button that easily enables the copy to clipboard pattern.\n\n### Example\n\n```html\n<nve-copy-button value=\"hello\" aria-label=\"copy value\" behavior-copy></nve-copy-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/copy-button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text label displayed before the copy icon. |\n| icon | `string` | slot for custom icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorCopy (behavior-copy) | `boolean` | Determines if the copy button should auto write to clipboard by the trigger. |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| i18n | | Enables internal string values to update for internationalization. |\n| interaction | `'emphasis' \\| 'destructive'` | The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors. - `emphasis` Shows the interaction targets emphasis or highlighting primary actions. - `destructive` Shows the interaction targets destructive actions such as deleting or removing. |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | Defines the value that copies to the user clipboard. Use `aria-label` to set the tooltip hint. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-align | `string` | [MDN](https://mdn.dev/CSS/text-align) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
7999
7932
|
}
|
|
8000
7933
|
}
|
|
8001
7934
|
],
|
|
@@ -8330,26 +8263,6 @@
|
|
|
8330
8263
|
"module": "/src/forms/control/control.js"
|
|
8331
8264
|
}
|
|
8332
8265
|
},
|
|
8333
|
-
{
|
|
8334
|
-
"kind": "field",
|
|
8335
|
-
"name": "nveControl",
|
|
8336
|
-
"type": {
|
|
8337
|
-
"text": "string",
|
|
8338
|
-
"_sourceAliases": [],
|
|
8339
|
-
"values": [
|
|
8340
|
-
{
|
|
8341
|
-
"value": "string",
|
|
8342
|
-
"description": ""
|
|
8343
|
-
}
|
|
8344
|
-
]
|
|
8345
|
-
},
|
|
8346
|
-
"privacy": "protected",
|
|
8347
|
-
"default": "''",
|
|
8348
|
-
"inheritedFrom": {
|
|
8349
|
-
"name": "Control",
|
|
8350
|
-
"module": "/src/forms/control/control.js"
|
|
8351
|
-
}
|
|
8352
|
-
},
|
|
8353
8266
|
{
|
|
8354
8267
|
"kind": "method",
|
|
8355
8268
|
"name": "reset",
|
|
@@ -8358,15 +8271,6 @@
|
|
|
8358
8271
|
"name": "Control",
|
|
8359
8272
|
"module": "/src/forms/control/control.js"
|
|
8360
8273
|
}
|
|
8361
|
-
},
|
|
8362
|
-
{
|
|
8363
|
-
"kind": "method",
|
|
8364
|
-
"name": "showPicker",
|
|
8365
|
-
"privacy": "protected",
|
|
8366
|
-
"inheritedFrom": {
|
|
8367
|
-
"name": "Control",
|
|
8368
|
-
"module": "/src/forms/control/control.js"
|
|
8369
|
-
}
|
|
8370
8274
|
}
|
|
8371
8275
|
],
|
|
8372
8276
|
"attributes": [
|
|
@@ -8547,7 +8451,7 @@
|
|
|
8547
8451
|
"since": "0.3.0",
|
|
8548
8452
|
"status": "stable",
|
|
8549
8453
|
"behavior": "form",
|
|
8550
|
-
"markdown": "## nve-date\n\nA date picker is a control that enables users to choose a date value.\n\n### Example\n\n```html\n<nve-date>\n <label>date</label>\n <input type=\"date\" />\n <nve-control-message>message</nve-control-message>\n</nve-date>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/date/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
8454
|
+
"markdown": "## nve-date\n\nA date picker is a control that enables users to choose a date value.\n\n### Example\n\n```html\n<nve-date>\n <label>date</label>\n <input type=\"date\" />\n <nve-control-message>message</nve-control-message>\n</nve-date>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/date/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
8551
8455
|
},
|
|
8552
8456
|
"slots": [
|
|
8553
8457
|
{
|
|
@@ -8912,26 +8816,6 @@
|
|
|
8912
8816
|
"module": "/src/forms/control/control.js"
|
|
8913
8817
|
}
|
|
8914
8818
|
},
|
|
8915
|
-
{
|
|
8916
|
-
"kind": "field",
|
|
8917
|
-
"name": "nveControl",
|
|
8918
|
-
"type": {
|
|
8919
|
-
"text": "string",
|
|
8920
|
-
"_sourceAliases": [],
|
|
8921
|
-
"values": [
|
|
8922
|
-
{
|
|
8923
|
-
"value": "string",
|
|
8924
|
-
"description": ""
|
|
8925
|
-
}
|
|
8926
|
-
]
|
|
8927
|
-
},
|
|
8928
|
-
"privacy": "protected",
|
|
8929
|
-
"default": "''",
|
|
8930
|
-
"inheritedFrom": {
|
|
8931
|
-
"name": "Control",
|
|
8932
|
-
"module": "/src/forms/control/control.js"
|
|
8933
|
-
}
|
|
8934
|
-
},
|
|
8935
8819
|
{
|
|
8936
8820
|
"kind": "method",
|
|
8937
8821
|
"name": "reset",
|
|
@@ -8940,15 +8824,6 @@
|
|
|
8940
8824
|
"name": "Control",
|
|
8941
8825
|
"module": "/src/forms/control/control.js"
|
|
8942
8826
|
}
|
|
8943
|
-
},
|
|
8944
|
-
{
|
|
8945
|
-
"kind": "method",
|
|
8946
|
-
"name": "showPicker",
|
|
8947
|
-
"privacy": "protected",
|
|
8948
|
-
"inheritedFrom": {
|
|
8949
|
-
"name": "Control",
|
|
8950
|
-
"module": "/src/forms/control/control.js"
|
|
8951
|
-
}
|
|
8952
8827
|
}
|
|
8953
8828
|
],
|
|
8954
8829
|
"attributes": [
|
|
@@ -9129,7 +9004,7 @@
|
|
|
9129
9004
|
"since": "0.3.0",
|
|
9130
9005
|
"status": "stable",
|
|
9131
9006
|
"behavior": "form",
|
|
9132
|
-
"markdown": "## nve-datetime\n\nA datetime picker is a control that enables users to choose a datetime value.\n\n### Example\n\n```html\n<nve-datetime>\n <label>date</label>\n <input type=\"datetime-local\" />\n <nve-control-message>message</nve-control-message>\n</nve-datetime>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/datetime/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
9007
|
+
"markdown": "## nve-datetime\n\nA datetime picker is a control that enables users to choose a datetime value.\n\n### Example\n\n```html\n<nve-datetime>\n <label>date</label>\n <input type=\"datetime-local\" />\n <nve-control-message>message</nve-control-message>\n</nve-datetime>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/datetime/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
9133
9008
|
},
|
|
9134
9009
|
"slots": [
|
|
9135
9010
|
{
|
|
@@ -9252,7 +9127,7 @@
|
|
|
9252
9127
|
"since": "0.6.0",
|
|
9253
9128
|
"status": "stable",
|
|
9254
9129
|
"behavior": "content",
|
|
9255
|
-
"markdown": "## nve-dialog-footer\n\nContains the action buttons and controls at the bottom of a dialog for confirming, canceling, or navigating.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dialog/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the dialog footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --
|
|
9130
|
+
"markdown": "## nve-dialog-footer\n\nContains the action buttons and controls at the bottom of a dialog for confirming, canceling, or navigating.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dialog/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the dialog footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
9256
9131
|
}
|
|
9257
9132
|
}
|
|
9258
9133
|
],
|
|
@@ -9581,12 +9456,6 @@
|
|
|
9581
9456
|
"name": "i18n",
|
|
9582
9457
|
"description": "Enables internal string values to update for internationalization.",
|
|
9583
9458
|
"attribute": "i18n"
|
|
9584
|
-
},
|
|
9585
|
-
{
|
|
9586
|
-
"kind": "field",
|
|
9587
|
-
"name": "typeNativePopoverController",
|
|
9588
|
-
"privacy": "protected",
|
|
9589
|
-
"default": "new TypeNativePopoverController<Dialog>(this)"
|
|
9590
9459
|
}
|
|
9591
9460
|
],
|
|
9592
9461
|
"events": [
|
|
@@ -9799,7 +9668,7 @@
|
|
|
9799
9668
|
"since": "0.6.0",
|
|
9800
9669
|
"status": "stable",
|
|
9801
9670
|
"behavior": "popover",
|
|
9802
|
-
"markdown": "## nve-dialog\n\nDialog is a component that appears above main content. A modal dialog displays critical information that requires user attention and interrupts user flow.\n\n### Example\n\n```html\n<nve-button popovertarget=\"dialog\">button</nve-button>\n<nve-dialog id=\"dialog\" modal closable>\n <nve-dialog-header>\n <h3 nve-text=\"heading semibold\">title</h3>\n </nve-dialog-header>\n <p nve-text=\"body\">some text content in a closable dialog</p>\n</nve-dialog>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dialog/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Dialog body content displayed between the header and footer. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
9671
|
+
"markdown": "## nve-dialog\n\nDialog is a component that appears above main content. A modal dialog displays critical information that requires user attention and interrupts user flow.\n\n### Example\n\n```html\n<nve-button popovertarget=\"dialog\">button</nve-button>\n<nve-dialog id=\"dialog\" modal closable>\n <nve-dialog-header>\n <h3 nve-text=\"heading semibold\">title</h3>\n </nve-dialog-header>\n <p nve-text=\"body\">some text content in a closable dialog</p>\n</nve-dialog>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dialog/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Dialog body content displayed between the header and footer. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables internal string values to update for internationalization. |\n| modal | `boolean` | Determines if a dialog should have a modal backdrop that visually overlays the UI. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. For dialog the anchor defaults to the document body. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the dialog closes. |\n| open | `CustomEvent` | Dispatched when the dialog opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of dialog open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
9803
9672
|
}
|
|
9804
9673
|
}
|
|
9805
9674
|
],
|
|
@@ -9947,7 +9816,7 @@
|
|
|
9947
9816
|
"since": "0.12.0",
|
|
9948
9817
|
"status": "stable",
|
|
9949
9818
|
"behavior": "content",
|
|
9950
|
-
"markdown": "## nve-divider\n\nDivider is a component that separates and distinguishes sections of content or groups of menuitems.\n\n### Example\n\n```html\n<nve-divider></nve-divider>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/divider/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| orientation | `'vertical' \\| 'horizontal'` | Controls the directional flow of the element's layout and interaction pattern. - `vertical` Element orients vertically with top-to-bottom flow. - `horizontal` Element orients horizontally with left-to-right flow. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
9819
|
+
"markdown": "## nve-divider\n\nDivider is a component that separates and distinguishes sections of content or groups of menuitems.\n\n### Example\n\n```html\n<nve-divider></nve-divider>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/divider/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| orientation | `'vertical' \\| 'horizontal'` | Controls the directional flow of the element's layout and interaction pattern. - `vertical` Element orients vertically with top-to-bottom flow. - `horizontal` Element orients horizontally with left-to-right flow. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --size | `string` | |"
|
|
9951
9820
|
}
|
|
9952
9821
|
}
|
|
9953
9822
|
],
|
|
@@ -10271,7 +10140,7 @@
|
|
|
10271
10140
|
"since": "0.10.0",
|
|
10272
10141
|
"status": "stable",
|
|
10273
10142
|
"behavior": "content",
|
|
10274
|
-
"markdown": "## nve-dot\n\nA visual indicator that communicates a status or notification of an associated component.\n\n### Example\n\n```html\n<nve-dot status=\"starting\"></nve-dot>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dot/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default text content no more than 2 characters in length |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| 'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored'` | Defines visual treatment to represent a ongoing task or support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n
|
|
10143
|
+
"markdown": "## nve-dot\n\nA visual indicator that communicates a status or notification of an associated component.\n\n### Example\n\n```html\n<nve-dot status=\"starting\"></nve-dot>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dot/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default text content no more than 2 characters in length |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| size | `'sm' \\| 'md' \\| 'lg'` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| 'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored'` | Defines visual treatment to represent a ongoing task or support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
10275
10144
|
}
|
|
10276
10145
|
}
|
|
10277
10146
|
],
|
|
@@ -10357,7 +10226,7 @@
|
|
|
10357
10226
|
"since": "0.16.0",
|
|
10358
10227
|
"status": "stable",
|
|
10359
10228
|
"behavior": "content",
|
|
10360
|
-
"markdown": "## nve-drawer-content\n\nContains the scrollable main body content within a drawer panel.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the drawer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
10229
|
+
"markdown": "## nve-drawer-content\n\nContains the scrollable main body content within a drawer panel.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the drawer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
10361
10230
|
}
|
|
10362
10231
|
}
|
|
10363
10232
|
],
|
|
@@ -10427,7 +10296,7 @@
|
|
|
10427
10296
|
"since": "0.16.0",
|
|
10428
10297
|
"status": "stable",
|
|
10429
10298
|
"behavior": "content",
|
|
10430
|
-
"markdown": "## nve-drawer-footer\n\nProvides a fixed action area at the bottom of a drawer for primary actions such as save or cancel.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the drawer footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --
|
|
10299
|
+
"markdown": "## nve-drawer-footer\n\nProvides a fixed action area at the bottom of a drawer for primary actions such as save or cancel.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the drawer footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
10431
10300
|
}
|
|
10432
10301
|
}
|
|
10433
10302
|
],
|
|
@@ -10737,12 +10606,6 @@
|
|
|
10737
10606
|
"name": "i18n",
|
|
10738
10607
|
"description": "Enables internal string values to update for internationalization.",
|
|
10739
10608
|
"attribute": "i18n"
|
|
10740
|
-
},
|
|
10741
|
-
{
|
|
10742
|
-
"kind": "field",
|
|
10743
|
-
"name": "typeNativePopoverController",
|
|
10744
|
-
"privacy": "protected",
|
|
10745
|
-
"default": "new TypeNativePopoverController<Drawer>(this)"
|
|
10746
10609
|
}
|
|
10747
10610
|
],
|
|
10748
10611
|
"events": [
|
|
@@ -10940,7 +10803,7 @@
|
|
|
10940
10803
|
"since": "0.16.0",
|
|
10941
10804
|
"status": "stable",
|
|
10942
10805
|
"behavior": "popover",
|
|
10943
|
-
"markdown": "## nve-drawer\n\nA drawer displays content separate from the rest of the page, such as notifications, navigation, and settings.\n\n### Example\n\n```html\n<nve-drawer id=\"drawer\" closable modal>\n <nve-drawer-header>\n <h3 nve-text=\"heading semibold sm\">Drawer Header</h3>\n </nve-drawer-header>\n <nve-drawer-content>\n <p nve-text=\"body\">drawer content</p>\n </nve-drawer-content>\n <nve-drawer-footer>\n <p nve-text=\"body\">drawer footer</p>\n </nve-drawer-footer>\n</nve-drawer>\n<nve-button popovertarget=\"drawer\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Drawer body content displayed between the header and footer. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
10806
|
+
"markdown": "## nve-drawer\n\nA drawer displays content separate from the rest of the page, such as notifications, navigation, and settings.\n\n### Example\n\n```html\n<nve-drawer id=\"drawer\" closable modal>\n <nve-drawer-header>\n <h3 nve-text=\"heading semibold sm\">Drawer Header</h3>\n </nve-drawer-header>\n <nve-drawer-content>\n <p nve-text=\"body\">drawer content</p>\n </nve-drawer-content>\n <nve-drawer-footer>\n <p nve-text=\"body\">drawer footer</p>\n </nve-drawer-footer>\n</nve-drawer>\n<nve-button popovertarget=\"drawer\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/drawer/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Drawer body content displayed between the header and footer. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables internal string values to update for internationalization. |\n| inline | `boolean` | Create a inline layout effect while retaining the a11y characteristics and top layer behavior (light dismiss, focus trap, non interactive background) https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ |\n| modal | `boolean` | Determines if a drawer should have a modal backdrop that visually overlays the UI. |\n| position | `'left' \\| 'right' \\| 'bottom' \\| 'top'` | Sets the side position of the popover relative to the provided anchor element. For drawer the anchor defaults to the document body. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the drawer closes. |\n| open | `CustomEvent` | Dispatched when the drawer opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of drawer open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --top | `string` | [MDN](https://mdn.dev/CSS/top) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
10944
10807
|
}
|
|
10945
10808
|
}
|
|
10946
10809
|
],
|
|
@@ -11021,21 +10884,6 @@
|
|
|
11021
10884
|
}
|
|
11022
10885
|
],
|
|
11023
10886
|
"members": [
|
|
11024
|
-
{
|
|
11025
|
-
"kind": "field",
|
|
11026
|
-
"name": "dropdowns",
|
|
11027
|
-
"type": {
|
|
11028
|
-
"text": "Dropdown[]",
|
|
11029
|
-
"_sourceAliases": [],
|
|
11030
|
-
"values": [
|
|
11031
|
-
{
|
|
11032
|
-
"value": "Dropdown[]",
|
|
11033
|
-
"description": ""
|
|
11034
|
-
}
|
|
11035
|
-
]
|
|
11036
|
-
},
|
|
11037
|
-
"privacy": "protected"
|
|
11038
|
-
},
|
|
11039
10887
|
{
|
|
11040
10888
|
"kind": "method",
|
|
11041
10889
|
"name": "close",
|
|
@@ -11074,7 +10922,7 @@
|
|
|
11074
10922
|
"since": "1.30.1",
|
|
11075
10923
|
"status": "stable",
|
|
11076
10924
|
"behavior": "navigation",
|
|
11077
|
-
"markdown": "## nve-dropdown-group\n\nA Dropdown Group streamlines the management of linked dropdowns and supports nested dropdowns for a more organized and intuitive user experience\n\n### Example\n\n```html\n<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"> item 1-1 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 1-2</nve-menu-item>\n <nve-menu-item>item 1-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-2\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 2-1</nve-menu-item>\n <nve-menu-item popovertarget=\"menu-3\"> item 2-2 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 2-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-3\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 3-1</nve-menu-item>\n <nve-menu-item>item 3-2</nve-menu-item>\n <nve-menu-item>item 3-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n</nve-dropdown-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown-group/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for dropdown content |\n\n###
|
|
10925
|
+
"markdown": "## nve-dropdown-group\n\nA Dropdown Group streamlines the management of linked dropdowns and supports nested dropdowns for a more organized and intuitive user experience\n\n### Example\n\n```html\n<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"> item 1-1 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 1-2</nve-menu-item>\n <nve-menu-item>item 1-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-2\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 2-1</nve-menu-item>\n <nve-menu-item popovertarget=\"menu-3\"> item 2-2 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 2-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-3\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 3-1</nve-menu-item>\n <nve-menu-item>item 3-2</nve-menu-item>\n <nve-menu-item>item 3-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n</nve-dropdown-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown-group/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for dropdown content |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when a dropdown in the group closes |\n| open | `CustomEvent` | Dispatched when a dropdown in the group opens |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| close | `close(): unknown` | Closes every descendant dropdown in the group. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --arrow-transform | `string` | Transform applied to the popover arrow |"
|
|
11078
10926
|
}
|
|
11079
10927
|
}
|
|
11080
10928
|
],
|
|
@@ -11161,7 +11009,7 @@
|
|
|
11161
11009
|
"since": "0.36.0",
|
|
11162
11010
|
"status": "stable",
|
|
11163
11011
|
"behavior": "navigation",
|
|
11164
|
-
"markdown": "## nve-dropdown-footer\n\nProvides a fixed area at the bottom of a dropdown menu for extra actions or supplementary controls.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the dropdown footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --
|
|
11012
|
+
"markdown": "## nve-dropdown-footer\n\nProvides a fixed area at the bottom of a dropdown menu for extra actions or supplementary controls.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the dropdown footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
11165
11013
|
}
|
|
11166
11014
|
}
|
|
11167
11015
|
],
|
|
@@ -11454,12 +11302,6 @@
|
|
|
11454
11302
|
"description": "Determines if an arrow renders.",
|
|
11455
11303
|
"attribute": "arrow"
|
|
11456
11304
|
},
|
|
11457
|
-
{
|
|
11458
|
-
"kind": "field",
|
|
11459
|
-
"name": "typeNativePopoverController",
|
|
11460
|
-
"privacy": "protected",
|
|
11461
|
-
"default": "new TypeNativePopoverController<Dropdown>(this)"
|
|
11462
|
-
},
|
|
11463
11305
|
{
|
|
11464
11306
|
"kind": "field",
|
|
11465
11307
|
"name": "i18n",
|
|
@@ -11653,7 +11495,7 @@
|
|
|
11653
11495
|
"since": "0.6.0",
|
|
11654
11496
|
"status": "stable",
|
|
11655
11497
|
"behavior": "popover",
|
|
11656
|
-
"markdown": "## nve-dropdown\n\nGeneric dropdown element for rendering a variety of different content such as interactive navigation or form controls.\n\n### Example\n\n```html\n<nve-button popovertarget=\"dropdown\">button</nve-button>\n<nve-dropdown id=\"dropdown\">dropdown content</nve-dropdown>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for dropdown content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n|
|
|
11498
|
+
"markdown": "## nve-dropdown\n\nGeneric dropdown element for rendering a variety of different content such as interactive navigation or form controls.\n\n### Example\n\n```html\n<nve-button popovertarget=\"dropdown\">button</nve-button>\n<nve-dropdown id=\"dropdown\">dropdown content</nve-dropdown>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for dropdown content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| arrow | `boolean` | Determines if an arrow renders. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables internal string values to update for internationalization. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. |\n| close | `CustomEvent` | Dispatched when the dropdown closes. |\n| open | `CustomEvent` | Dispatched when the dropdown opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of dropdown open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --arrow-transform | `string` | Transform applied to the popover arrow |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
11657
11499
|
}
|
|
11658
11500
|
}
|
|
11659
11501
|
],
|
|
@@ -11795,11 +11637,6 @@
|
|
|
11795
11637
|
"description": "Enables internal string values to update for internationalization.",
|
|
11796
11638
|
"attribute": "i18n"
|
|
11797
11639
|
},
|
|
11798
|
-
{
|
|
11799
|
-
"kind": "method",
|
|
11800
|
-
"name": "formResetCallback",
|
|
11801
|
-
"privacy": "protected"
|
|
11802
|
-
},
|
|
11803
11640
|
{
|
|
11804
11641
|
"kind": "field",
|
|
11805
11642
|
"name": "value",
|
|
@@ -12238,15 +12075,11 @@
|
|
|
12238
12075
|
{
|
|
12239
12076
|
"kind": "method",
|
|
12240
12077
|
"name": "reportValidity",
|
|
12241
|
-
"
|
|
12242
|
-
|
|
12243
|
-
"
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
"value": "() => boolean",
|
|
12247
|
-
"description": ""
|
|
12248
|
-
}
|
|
12249
|
-
]
|
|
12078
|
+
"parameters": [],
|
|
12079
|
+
"return": {
|
|
12080
|
+
"type": {
|
|
12081
|
+
"text": "boolean"
|
|
12082
|
+
}
|
|
12250
12083
|
},
|
|
12251
12084
|
"description": "Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity",
|
|
12252
12085
|
"inheritedFrom": {
|
|
@@ -12256,15 +12089,11 @@
|
|
|
12256
12089
|
{
|
|
12257
12090
|
"kind": "method",
|
|
12258
12091
|
"name": "checkValidity",
|
|
12259
|
-
"
|
|
12260
|
-
|
|
12261
|
-
"
|
|
12262
|
-
|
|
12263
|
-
|
|
12264
|
-
"value": "() => boolean",
|
|
12265
|
-
"description": ""
|
|
12266
|
-
}
|
|
12267
|
-
]
|
|
12092
|
+
"parameters": [],
|
|
12093
|
+
"return": {
|
|
12094
|
+
"type": {
|
|
12095
|
+
"text": "boolean"
|
|
12096
|
+
}
|
|
12268
12097
|
},
|
|
12269
12098
|
"description": "Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity",
|
|
12270
12099
|
"inheritedFrom": {
|
|
@@ -12274,15 +12103,18 @@
|
|
|
12274
12103
|
{
|
|
12275
12104
|
"kind": "method",
|
|
12276
12105
|
"name": "setCustomValidity",
|
|
12277
|
-
"
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
"value": "(message: string) => void",
|
|
12283
|
-
"description": ""
|
|
12106
|
+
"parameters": [
|
|
12107
|
+
{
|
|
12108
|
+
"name": "message",
|
|
12109
|
+
"type": {
|
|
12110
|
+
"text": "string"
|
|
12284
12111
|
}
|
|
12285
|
-
|
|
12112
|
+
}
|
|
12113
|
+
],
|
|
12114
|
+
"return": {
|
|
12115
|
+
"type": {
|
|
12116
|
+
"text": "void"
|
|
12117
|
+
}
|
|
12286
12118
|
},
|
|
12287
12119
|
"description": "Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity",
|
|
12288
12120
|
"inheritedFrom": {
|
|
@@ -12292,15 +12124,11 @@
|
|
|
12292
12124
|
{
|
|
12293
12125
|
"kind": "method",
|
|
12294
12126
|
"name": "reset",
|
|
12295
|
-
"
|
|
12296
|
-
|
|
12297
|
-
"
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
"value": "() => void",
|
|
12301
|
-
"description": ""
|
|
12302
|
-
}
|
|
12303
|
-
]
|
|
12127
|
+
"parameters": [],
|
|
12128
|
+
"return": {
|
|
12129
|
+
"type": {
|
|
12130
|
+
"text": "void"
|
|
12131
|
+
}
|
|
12304
12132
|
},
|
|
12305
12133
|
"description": "Resets the control value to its initial value.",
|
|
12306
12134
|
"inheritedFrom": {
|
|
@@ -12607,7 +12435,7 @@
|
|
|
12607
12435
|
"since": "1.29.0",
|
|
12608
12436
|
"status": "stable",
|
|
12609
12437
|
"behavior": "form",
|
|
12610
|
-
"markdown": "## nve-dropzone\n\nA dropzone form control that enables users to drag and drop files onto it.\n\n### Example\n\n```html\n<nve-dropzone name=\"files\" style=\"--min-height: 200px\"></nve-dropzone>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropzone/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Custom messaging that replaces the default upload instructions. |\n| icon | `string` | Custom icon that replaces the default upload icon. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| accept | `string` | Comma-separated file extensions or MIME types accepted by the dropzone. |\n|
|
|
12438
|
+
"markdown": "## nve-dropzone\n\nA dropzone form control that enables users to drag and drop files onto it.\n\n### Example\n\n```html\n<nve-dropzone name=\"files\" style=\"--min-height: 200px\"></nve-dropzone>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropzone/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Custom messaging that replaces the default upload instructions. |\n| icon | `string` | Custom icon that replaces the default upload icon. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| accept | `string` | Comma-separated file extensions or MIME types accepted by the dropzone. |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| i18n | | Enables internal string values to update for internationalization. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| max | `number \\| null` | Defines the maximum numeric value. https://mdn.dev/HTML/Attributes/max |\n| maxFileSize (max-file-size) | `number` | File size limit in bytes. |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| min | `number \\| null` | Defines the minimum numeric value. https://mdn.dev/HTML/Attributes/min |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| step | `number \\| null` | Defines the value granularity for numeric inputs. https://mdn.dev/HTML/Attributes/step |\n| type | `string` | The control type. |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| value | `File[]` | Files selected or dropped by the user. Assign files through the JavaScript property; the HTML `value` attribute is not supported. |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| valueAsString | `string` | The current value serialized as a string. |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| change | `CustomEvent` | Dispatched when the value has changed (files located in event.target) |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| checkValidity | `checkValidity(): boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| reportValidity | `reportValidity(): boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| reset | `reset(): void` | Resets the control value to its initial value. |\n| setCustomValidity | `setCustomValidity(message: string): void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
12611
12439
|
}
|
|
12612
12440
|
}
|
|
12613
12441
|
],
|
|
@@ -13006,26 +12834,6 @@
|
|
|
13006
12834
|
"module": "/src/forms/control/control.js"
|
|
13007
12835
|
}
|
|
13008
12836
|
},
|
|
13009
|
-
{
|
|
13010
|
-
"kind": "field",
|
|
13011
|
-
"name": "nveControl",
|
|
13012
|
-
"type": {
|
|
13013
|
-
"text": "string",
|
|
13014
|
-
"_sourceAliases": [],
|
|
13015
|
-
"values": [
|
|
13016
|
-
{
|
|
13017
|
-
"value": "string",
|
|
13018
|
-
"description": ""
|
|
13019
|
-
}
|
|
13020
|
-
]
|
|
13021
|
-
},
|
|
13022
|
-
"privacy": "protected",
|
|
13023
|
-
"default": "''",
|
|
13024
|
-
"inheritedFrom": {
|
|
13025
|
-
"name": "Control",
|
|
13026
|
-
"module": "/src/forms/control/control.js"
|
|
13027
|
-
}
|
|
13028
|
-
},
|
|
13029
12837
|
{
|
|
13030
12838
|
"kind": "method",
|
|
13031
12839
|
"name": "reset",
|
|
@@ -13034,15 +12842,6 @@
|
|
|
13034
12842
|
"name": "Control",
|
|
13035
12843
|
"module": "/src/forms/control/control.js"
|
|
13036
12844
|
}
|
|
13037
|
-
},
|
|
13038
|
-
{
|
|
13039
|
-
"kind": "method",
|
|
13040
|
-
"name": "showPicker",
|
|
13041
|
-
"privacy": "protected",
|
|
13042
|
-
"inheritedFrom": {
|
|
13043
|
-
"name": "Control",
|
|
13044
|
-
"module": "/src/forms/control/control.js"
|
|
13045
|
-
}
|
|
13046
12845
|
}
|
|
13047
12846
|
],
|
|
13048
12847
|
"superclass": {
|
|
@@ -13067,7 +12866,7 @@
|
|
|
13067
12866
|
"since": "0.3.0",
|
|
13068
12867
|
"status": "stable",
|
|
13069
12868
|
"behavior": "form",
|
|
13070
|
-
"markdown": "## nve-file\n\nA file picker is a control that enables users to choose a file value.\n\n### Example\n\n```html\n<nve-file>\n <label>file</label>\n <input type=\"file\" />\n <nve-control-message>message</nve-control-message>\n</nve-file>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/file/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
12869
|
+
"markdown": "## nve-file\n\nA file picker is a control that enables users to choose a file value.\n\n### Example\n\n```html\n<nve-file>\n <label>file</label>\n <input type=\"file\" />\n <nve-control-message>message</nve-control-message>\n</nve-file>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/file/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |"
|
|
13071
12870
|
},
|
|
13072
12871
|
"slots": [
|
|
13073
12872
|
{
|
|
@@ -13603,7 +13402,7 @@
|
|
|
13603
13402
|
"since": "0.0.0",
|
|
13604
13403
|
"status": "stable",
|
|
13605
13404
|
"behavior": "content",
|
|
13606
|
-
"markdown": "## nve-format-bytes\n\nFormats a byte count as localized, human-readable decimal or binary units.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\">\n <nve-format-bytes>1024</nve-format-bytes>\n <nve-format-bytes>1048576</nve-format-bytes>\n <nve-format-bytes>1073741824</nve-format-bytes>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-bytes/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Numeric byte count to format (such as 1048576). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
13405
|
+
"markdown": "## nve-format-bytes\n\nFormats a byte count as localized, human-readable decimal or binary units.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\">\n <nve-format-bytes>1024</nve-format-bytes>\n <nve-format-bytes>1048576</nve-format-bytes>\n <nve-format-bytes>1073741824</nve-format-bytes>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-bytes/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Numeric byte count to format (such as 1048576). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| display | `'decimal' \\| 'binary'` | Unit system: 'decimal' uses powers of 1000 and 'binary' uses powers of 1024. |\n| locale | `string \\| undefined` | Language tag (such as en-US or de-DE) used to format the number. Defaults to document.documentElement.lang or the runtime default. |\n| maximumFractionDigits (maximum-fraction-digits) | `number \\| undefined` | Round fraction output to at most this many digits. Defaults to two effective digits after the decimal point. |\n| minimumFractionDigits (minimum-fraction-digits) | `number \\| undefined` | Pad fraction output to at least this many digits. |\n| unit | `'b' \\| 'kb' \\| 'mb' \\| 'gb' \\| 'tb' \\| 'pb' \\| undefined` | Optional unit magnitude. When omitted, the component selects a unit from the byte count. |\n| unitDisplay (unit-display) | `'short' \\| 'long'` | Unit label length: 'short' renders labels such as 'MB'; 'long' renders labels such as 'megabytes'. |\n| value | `number \\| undefined` | Optional byte count for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |"
|
|
13607
13406
|
}
|
|
13608
13407
|
}
|
|
13609
13408
|
],
|
|
@@ -14226,7 +14025,7 @@
|
|
|
14226
14025
|
"since": "0.0.0",
|
|
14227
14026
|
"status": "stable",
|
|
14228
14027
|
"behavior": "content",
|
|
14229
|
-
"markdown": "## nve-format-datetime\n\nFormats a date/time value as localized text using the Intl.DateTimeFormat API. Renders inside a semantic time element.\nGranular options (weekday, year, month, day, hour, minute, second) mirror the Intl.DateTimeFormat API. 'numeric' omits zero-padding, '2-digit' zero-pads.\n\n### Example\n\n```html\n<nve-format-datetime date-style=\"long\">2023-07-28T04:20:17.434Z</nve-format-datetime>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-datetime/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| date | `string \\| undefined` | Optional date string for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |\n|
|
|
14028
|
+
"markdown": "## nve-format-datetime\n\nFormats a date/time value as localized text using the Intl.DateTimeFormat API. Renders inside a semantic time element.\nGranular options (weekday, year, month, day, hour, minute, second) mirror the Intl.DateTimeFormat API. 'numeric' omits zero-padding, '2-digit' zero-pads.\n\n### Example\n\n```html\n<nve-format-datetime date-style=\"long\">2023-07-28T04:20:17.434Z</nve-format-datetime>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-datetime/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| date | `string \\| undefined` | Optional date string for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |\n| dateStyle (date-style) | `'full' \\| 'long' \\| 'medium' \\| 'short' \\| undefined` | Preset date formatting style: 'full' \\| 'long' \\| 'medium' \\| 'short'. Preset styles take precedence over granular date and time part options. |\n| day | `'numeric' \\| '2-digit' \\| undefined` | Day representation: 'numeric' \\| '2-digit'. |\n| hour | `'numeric' \\| '2-digit' \\| undefined` | Hour representation: 'numeric' \\| '2-digit'. |\n| locale | `string \\| undefined` | Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. |\n| minute | `'numeric' \\| '2-digit' \\| undefined` | Minute representation: 'numeric' \\| '2-digit'. |\n| month | `'numeric' \\| '2-digit' \\| 'long' \\| 'short' \\| 'narrow' \\| undefined` | Month representation: 'numeric' \\| '2-digit' \\| 'long' \\| 'short' \\| 'narrow'. |\n| second | `'numeric' \\| '2-digit' \\| undefined` | Second representation: 'numeric' \\| '2-digit'. |\n| timeStyle (time-style) | `'full' \\| 'long' \\| 'medium' \\| 'short' \\| undefined` | Preset time formatting style: 'full' \\| 'long' \\| 'medium' \\| 'short'. Preset styles take precedence over granular date and time part options. |\n| timeZone (time-zone) | `string \\| undefined` | IANA time zone identifier (such as 'America/New_York', 'UTC'). |\n| timeZoneName (time-zone-name) | `'long' \\| 'short' \\| undefined` | Time zone name display: 'long' \\| 'short'. Use it with granular options only; preset styles ignore it. |\n| weekday | `'long' \\| 'short' \\| 'narrow' \\| undefined` | Weekday representation: 'long' \\| 'short' \\| 'narrow'. |\n| year | `'numeric' \\| '2-digit' \\| undefined` | Year representation: 'numeric' \\| '2-digit'. |"
|
|
14230
14029
|
}
|
|
14231
14030
|
}
|
|
14232
14031
|
],
|
|
@@ -14965,7 +14764,7 @@
|
|
|
14965
14764
|
"since": "0.0.0",
|
|
14966
14765
|
"status": "stable",
|
|
14967
14766
|
"behavior": "content",
|
|
14968
|
-
"markdown": "## nve-format-number\n\nA localized number formatter for currencies, percentages, units, and compact notation, backed by Intl.NumberFormat.\nProvide a `currency` attribute when `formatStyle` is `currency`, and a `unit` attribute when `formatStyle` is `unit`.\n\n### Example\n\n```html\n<nve-format-number>1234567.89</nve-format-number>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-number/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Numeric string to format (such as 1234567 or 1234.56). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
14767
|
+
"markdown": "## nve-format-number\n\nA localized number formatter for currencies, percentages, units, and compact notation, backed by Intl.NumberFormat.\nProvide a `currency` attribute when `formatStyle` is `currency`, and a `unit` attribute when `formatStyle` is `unit`.\n\n### Example\n\n```html\n<nve-format-number>1234567.89</nve-format-number>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-number/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Numeric string to format (such as 1234567 or 1234.56). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| compactDisplay (compact-display) | `'short' \\| 'long' \\| undefined` | Compact notation display: 'short' \\| 'long'. Only applies when notation is compact. |\n| currency | `string \\| undefined` | ISO 4217 currency code (such as USD or EUR). Required when formatStyle is currency. |\n| currencyDisplay (currency-display) | `'symbol' \\| 'code' \\| 'name' \\| 'narrowSymbol' \\| undefined` | Currency display style: 'symbol' \\| 'code' \\| 'name' \\| 'narrowSymbol'. |\n| currencySign (currency-sign) | `'standard' \\| 'accounting' \\| undefined` | Currency sign style: 'standard' \\| 'accounting'. |\n| formatStyle (format-style) | `'decimal' \\| 'currency' \\| 'percent' \\| 'unit'` | Formatting style: 'decimal' \\| 'currency' \\| 'percent' \\| 'unit'. |\n| locale | `string \\| undefined` | Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. |\n| maximumFractionDigits (maximum-fraction-digits) | `number \\| undefined` | Round fraction output to at most this many digits (0-20). |\n| minimumFractionDigits (minimum-fraction-digits) | `number \\| undefined` | Pad fraction output to at least this many digits (0-20). |\n| minimumIntegerDigits (minimum-integer-digits) | `number \\| undefined` | Pad integer output to at least this many digits (1-21). |\n| notation | `'standard' \\| 'scientific' \\| 'engineering' \\| 'compact' \\| undefined` | Number notation: 'standard' \\| 'scientific' \\| 'engineering' \\| 'compact'. |\n| number | `string \\| undefined` | Optional numeric string for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |\n| signDisplay (sign-display) | `'auto' \\| 'never' \\| 'always' \\| 'exceptZero' \\| undefined` | Sign display: 'auto' \\| 'never' \\| 'always' \\| 'exceptZero'. |\n| unit | `string \\| undefined` | Unit identifier (such as kilometer or byte). Required when formatStyle is unit. |\n| unitDisplay (unit-display) | `'short' \\| 'long' \\| 'narrow' \\| undefined` | Unit display style: 'short' \\| 'long' \\| 'narrow'. |\n| useGrouping (use-grouping) | `'auto' \\| 'always' \\| 'min2' \\| 'true' \\| 'false' \\| boolean \\| undefined` | Grouping separators: 'auto' \\| 'always' \\| 'min2' \\| 'true' \\| 'false'. |"
|
|
14969
14768
|
}
|
|
14970
14769
|
}
|
|
14971
14770
|
],
|
|
@@ -15323,7 +15122,7 @@
|
|
|
15323
15122
|
"since": "0.0.0",
|
|
15324
15123
|
"status": "stable",
|
|
15325
15124
|
"behavior": "content",
|
|
15326
|
-
"markdown": "## nve-format-relative-time\n\nFormats a date/time value as localized relative text using the Intl.RelativeTimeFormat API. Renders inside a semantic time element.\nOptions mirror the Intl.RelativeTimeFormat API. When unit is 'auto', the component selects the best unit based on the time difference.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\">\n <nve-format-relative-time>2020-01-15T12:00:00.000Z</nve-format-relative-time>\n <nve-format-relative-time>2024-06-15T12:00:00.000Z</nve-format-relative-time>\n <nve-format-relative-time>2025-12-01T12:00:00.000Z</nve-format-relative-time>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-relative-time/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| date | `string \\| undefined` | Optional date string for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |\n| locale | `string \\| undefined` | Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. |\n| numeric | `'always' \\| 'auto'` | Numeric formatting: 'always' \\| 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'. |\n|
|
|
15125
|
+
"markdown": "## nve-format-relative-time\n\nFormats a date/time value as localized relative text using the Intl.RelativeTimeFormat API. Renders inside a semantic time element.\nOptions mirror the Intl.RelativeTimeFormat API. When unit is 'auto', the component selects the best unit based on the time difference.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\">\n <nve-format-relative-time>2020-01-15T12:00:00.000Z</nve-format-relative-time>\n <nve-format-relative-time>2024-06-15T12:00:00.000Z</nve-format-relative-time>\n <nve-format-relative-time>2025-12-01T12:00:00.000Z</nve-format-relative-time>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-relative-time/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| date | `string \\| undefined` | Optional date string for values supplied by JavaScript or bound data. By default, the component formats the element's text content, which also serves as the SSR fallback. When both are present, this property takes precedence. |\n| formatStyle (format-style) | `'long' \\| 'short' \\| 'narrow'` | Formatting length: 'long' \\| 'short' \\| 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option. |\n| locale | `string \\| undefined` | Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. |\n| numeric | `'always' \\| 'auto'` | Numeric formatting: 'always' \\| 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'. |\n| sync | `boolean` | When present, auto-updates the displayed relative time at appropriate intervals. |\n| unit | `'second' \\| 'minute' \\| 'hour' \\| 'day' \\| 'week' \\| 'month' \\| 'year' \\| 'auto'` | Time unit: 'second' \\| 'minute' \\| 'hour' \\| 'day' \\| 'week' \\| 'month' \\| 'year' \\| 'auto'. Use 'auto' to let the component select the most appropriate unit based on the time difference. |"
|
|
15327
15126
|
}
|
|
15328
15127
|
}
|
|
15329
15128
|
],
|
|
@@ -15584,7 +15383,7 @@
|
|
|
15584
15383
|
"since": "0.0.0",
|
|
15585
15384
|
"status": "beta",
|
|
15586
15385
|
"behavior": "content",
|
|
15587
|
-
"markdown": "## nve-format-truncate\n\nTruncates text at its start, center, or end while preserving the full text for assistive technology.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\" style=\"max-width: 16rem\">\n <nve-format-truncate position=\"start\">training-pipeline-2026-08-05-production</nve-format-truncate>\n <nve-format-truncate position=\"center\">training-pipeline-2026-08-05-production</nve-format-truncate>\n <nve-format-truncate position=\"end\">training-pipeline-2026-08-05-production</nve-format-truncate>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-truncate/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text to truncate. The component flattens, trims, and normalizes mixed text and element nodes. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| position | `'start' \\| 'center' \\| 'end'` | Location of the ellipsis. Use start or end to preserve one edge, or center to preserve both edges. |\n| strategy | `'character' \\| 'word' \\| 'path'` | Text unit used for center truncation. Character preserves graphemes, word preserves words, and path preserves path segments. |\n|
|
|
15386
|
+
"markdown": "## nve-format-truncate\n\nTruncates text at its start, center, or end while preserving the full text for assistive technology.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:sm\" style=\"max-width: 16rem\">\n <nve-format-truncate position=\"start\">training-pipeline-2026-08-05-production</nve-format-truncate>\n <nve-format-truncate position=\"center\">training-pipeline-2026-08-05-production</nve-format-truncate>\n <nve-format-truncate position=\"end\">training-pipeline-2026-08-05-production</nve-format-truncate>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/format-truncate/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text to truncate. The component flattens, trims, and normalizes mixed text and element nodes. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| bias | `'start' \\| 'end'` | Edge favored by center truncation. The favored edge keeps at least the configured number of units. |\n| position | `'start' \\| 'center' \\| 'end'` | Location of the ellipsis. Use start or end to preserve one edge, or center to preserve both edges. |\n| preserve | `number` | Number of strategy units retained at the biased edge during center truncation. |\n| strategy | `'character' \\| 'word' \\| 'path'` | Text unit used for center truncation. Character preserves graphemes, word preserves words, and path preserves path segments. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| connectedMoveCallback | `connectedMoveCallback(): void` | |"
|
|
15588
15387
|
}
|
|
15589
15388
|
}
|
|
15590
15389
|
],
|
|
@@ -15790,6 +15589,18 @@
|
|
|
15790
15589
|
"description": "Set the visual prominence of the control group",
|
|
15791
15590
|
"attribute": "prominence",
|
|
15792
15591
|
"reflects": true
|
|
15592
|
+
},
|
|
15593
|
+
{
|
|
15594
|
+
"kind": "field",
|
|
15595
|
+
"name": "label",
|
|
15596
|
+
"description": "Returns the label associated with the control group.",
|
|
15597
|
+
"readonly": true
|
|
15598
|
+
},
|
|
15599
|
+
{
|
|
15600
|
+
"kind": "field",
|
|
15601
|
+
"name": "inputs",
|
|
15602
|
+
"description": "Returns the input elements associated with the control group.",
|
|
15603
|
+
"readonly": true
|
|
15793
15604
|
}
|
|
15794
15605
|
],
|
|
15795
15606
|
"attributes": [
|
|
@@ -15859,7 +15670,7 @@
|
|
|
15859
15670
|
"since": "0.3.0",
|
|
15860
15671
|
"status": "stable",
|
|
15861
15672
|
"behavior": "form",
|
|
15862
|
-
"markdown": "## nve-control-group\n\nGroups many related form controls under a shared label and validation context for semantically linked inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-
|
|
15673
|
+
"markdown": "## nve-control-group\n\nGroups many related form controls under a shared label and validation context for semantically linked inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| inputs | | Returns the input elements associated with the control group. |\n| label | | Returns the label associated with the control group. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
|
|
15863
15674
|
}
|
|
15864
15675
|
}
|
|
15865
15676
|
],
|
|
@@ -16120,7 +15931,7 @@
|
|
|
16120
15931
|
"since": "0.3.0",
|
|
16121
15932
|
"status": "stable",
|
|
16122
15933
|
"behavior": "form",
|
|
16123
|
-
"markdown": "## nve-control-message\n\nDefining a Validity State on a control-message allows messages to show conditionally based on the current HTML5 validity state.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Validation or supporting message text for the associated control. |\n| icon | `string` | override the icon with a custom icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
15934
|
+
"markdown": "## nve-control-message\n\nDefining a Validity State on a control-message allows messages to show conditionally based on the current HTML5 validity state.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Validation or supporting message text for the associated control. |\n| icon | `string` | override the icon with a custom icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| error | `'badInput' \\| 'customError' \\| 'patternMismatch' \\| 'rangeOverflow' \\| 'rangeUnderflow' \\| 'stepMismatch' \\| 'tooLong' \\| 'tooShort' \\| 'typeMismatch' \\| 'valid' \\| 'valueMissing' \\| null` | Validation error code for current form control https://mdn.dev/ValidityState |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled' \\| undefined` | Visual treatment for current form control validation status |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |"
|
|
16124
15935
|
}
|
|
16125
15936
|
}
|
|
16126
15937
|
],
|
|
@@ -16317,31 +16128,10 @@
|
|
|
16317
16128
|
"attribute": "prominence",
|
|
16318
16129
|
"reflects": true
|
|
16319
16130
|
},
|
|
16320
|
-
{
|
|
16321
|
-
"kind": "field",
|
|
16322
|
-
"name": "nveControl",
|
|
16323
|
-
"type": {
|
|
16324
|
-
"text": "string",
|
|
16325
|
-
"_sourceAliases": [],
|
|
16326
|
-
"values": [
|
|
16327
|
-
{
|
|
16328
|
-
"value": "string",
|
|
16329
|
-
"description": ""
|
|
16330
|
-
}
|
|
16331
|
-
]
|
|
16332
|
-
},
|
|
16333
|
-
"privacy": "protected",
|
|
16334
|
-
"default": "''"
|
|
16335
|
-
},
|
|
16336
16131
|
{
|
|
16337
16132
|
"kind": "method",
|
|
16338
16133
|
"name": "reset",
|
|
16339
16134
|
"description": "Resets control value to initial attribute value and clears any active validation rules."
|
|
16340
|
-
},
|
|
16341
|
-
{
|
|
16342
|
-
"kind": "method",
|
|
16343
|
-
"name": "showPicker",
|
|
16344
|
-
"privacy": "protected"
|
|
16345
16135
|
}
|
|
16346
16136
|
],
|
|
16347
16137
|
"events": [
|
|
@@ -16491,7 +16281,7 @@
|
|
|
16491
16281
|
"since": "0.3.0",
|
|
16492
16282
|
"status": "stable",
|
|
16493
16283
|
"behavior": "form",
|
|
16494
|
-
"markdown": "## nve-control\n\nWraps a form input with its associated label and validation messages, managing layout and accessibility associations.\n\n### Example\n\n```html\n<nve-control>\n <label>label</label>\n <input />\n <nve-control-message>message</nve-control-message>\n</nve-control>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
16284
|
+
"markdown": "## nve-control\n\nWraps a form input with its associated label and validation messages, managing layout and accessibility associations.\n\n### Example\n\n```html\n<nve-control>\n <label>label</label>\n <input />\n <nve-control-message>message</nve-control-message>\n</nve-control>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/forms/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
16495
16285
|
}
|
|
16496
16286
|
}
|
|
16497
16287
|
],
|
|
@@ -17272,7 +17062,7 @@
|
|
|
17272
17062
|
"since": "2.0.4",
|
|
17273
17063
|
"status": "beta",
|
|
17274
17064
|
"behavior": "content",
|
|
17275
|
-
"markdown": "## nve-gauge\n\nUse a gauge to show system resource usage.\n\n### Example\n\n```html\n<nve-gauge status=\"accent\" value=\"66\">66%</nve-gauge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/gauge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content to display in the gauge center. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
17065
|
+
"markdown": "## nve-gauge\n\nUse a gauge to show system resource usage.\n\n### Example\n\n```html\n<nve-gauge status=\"accent\" value=\"66\">66%</nve-gauge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/gauge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content to display in the gauge center. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables updating internal string values for internationalization. |\n| max | `number` | The `max` value of the gauge that the `value` is proportionally scaled to. |\n| shape | `'half' \\| undefined` | Determines the gauge shape. Set `half` for a compact semi-circular arc. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| 'neutral' \\| undefined` | Four visual treatments represent the `status` of tasks. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n| thumb | `'fill' \\| 'dot' \\| 'needle'` | Controls the value indicator. Set `dot` for only the end dot or `needle` for a pointer. |\n| value | `number` | The current `value` of the gauge. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --needle-background | `string` | |\n| --thumb-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --track-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --track-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
17276
17066
|
}
|
|
17277
17067
|
}
|
|
17278
17068
|
],
|
|
@@ -17385,7 +17175,7 @@
|
|
|
17385
17175
|
"since": "0.11.0",
|
|
17386
17176
|
"status": "stable",
|
|
17387
17177
|
"behavior": "list",
|
|
17388
|
-
"markdown": "## nve-grid-cell\n\nRepresents an individual data cell within a grid row, displaying content aligned to its parent column.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Data or interactive controls displayed within the cell. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
17178
|
+
"markdown": "## nve-grid-cell\n\nRepresents an individual data cell within a grid row, displaying content aligned to its parent column.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Data or interactive controls displayed within the cell. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-left | `string` | [MDN](https://mdn.dev/CSS/border-left) |\n| --border-right | `string` | [MDN](https://mdn.dev/CSS/border-right) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --justify-content | `string` | [MDN](https://mdn.dev/CSS/justify-content) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
17389
17179
|
}
|
|
17390
17180
|
}
|
|
17391
17181
|
],
|
|
@@ -17610,7 +17400,7 @@
|
|
|
17610
17400
|
"since": "0.11.0",
|
|
17611
17401
|
"status": "stable",
|
|
17612
17402
|
"behavior": "list",
|
|
17613
|
-
"markdown": "## nve-grid-column\n\nDefines a column header within a grid, specifying the column's label, width, and alignment for all cells beneath it.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Column heading text or controls. |\n| actions | `string` | slot for column actions |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
17403
|
+
"markdown": "## nve-grid-column\n\nDefines a column header within a grid, specifying the column's label, width, and alignment for all cells beneath it.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Column heading text or controls. |\n| actions | `string` | slot for column actions |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| columnAlign (column-align) | `'start' \\| 'center' \\| 'end'` | Control the content alignment within a given column. |\n| position | `'fixed' \\| 'sticky' \\| ''` | Set the `position` property or attribute to `fixed` or `sticky` to make the column fixed or sticky. Fixed columns do not scroll horizontally with the grid. Sticky columns scroll horizontally with the grid until the column reaches the edge of the grid. |\n| width | `string` | Only set a fixed px width when you know the grid width. Most cases this should remain unset. If the total width of all columns is less than the grid width then the last column fills the remaining space. By default column widths are evenly divided unless width is explicitly provided. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| nve-grid-column-resize | `CustomEvent` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-left | `string` | [MDN](https://mdn.dev/CSS/border-left) |\n| --border-right | `string` | [MDN](https://mdn.dev/CSS/border-right) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --justify-content | `string` | [MDN](https://mdn.dev/CSS/justify-content) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
17614
17404
|
}
|
|
17615
17405
|
}
|
|
17616
17406
|
],
|
|
@@ -17685,7 +17475,7 @@
|
|
|
17685
17475
|
"since": "0.11.0",
|
|
17686
17476
|
"status": "stable",
|
|
17687
17477
|
"behavior": "list",
|
|
17688
|
-
"markdown": "## nve-grid-footer\n\nGrid footer displays contextual information or user actions such as pagination.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Grid summary, pagination, or other footer controls. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --
|
|
17478
|
+
"markdown": "## nve-grid-footer\n\nGrid footer displays contextual information or user actions such as pagination.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Grid summary, pagination, or other footer controls. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
17689
17479
|
}
|
|
17690
17480
|
}
|
|
17691
17481
|
],
|
|
@@ -17832,23 +17622,6 @@
|
|
|
17832
17622
|
}
|
|
17833
17623
|
}
|
|
17834
17624
|
]
|
|
17835
|
-
},
|
|
17836
|
-
{
|
|
17837
|
-
"kind": "method",
|
|
17838
|
-
"name": "scrollTo",
|
|
17839
|
-
"return": {
|
|
17840
|
-
"type": {
|
|
17841
|
-
"text": "Promise<void>"
|
|
17842
|
-
}
|
|
17843
|
-
},
|
|
17844
|
-
"parameters": [
|
|
17845
|
-
{
|
|
17846
|
-
"name": "args",
|
|
17847
|
-
"type": {
|
|
17848
|
-
"text": "[options?: ScrollToOptions] | [x: number, y: number]"
|
|
17849
|
-
}
|
|
17850
|
-
}
|
|
17851
|
-
]
|
|
17852
17625
|
}
|
|
17853
17626
|
],
|
|
17854
17627
|
"attributes": [
|
|
@@ -17913,7 +17686,7 @@
|
|
|
17913
17686
|
"since": "0.11.0",
|
|
17914
17687
|
"status": "stable",
|
|
17915
17688
|
"behavior": "list",
|
|
17916
|
-
"markdown": "## nve-grid\n\nA versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences.\n\n### Example\n\n```html\n<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column><nve-grid-column>column 2</nve-grid-column><nve-grid-column>column 3</nve-grid-column><nve-grid-column>column 4</nve-grid-column>\n </nve-grid-header>\n\n <nve-grid-row>\n <nve-grid-cell>cell 0-0</nve-grid-cell><nve-grid-cell>cell 0-1</nve-grid-cell><nve-grid-cell>cell 0-2</nve-grid-cell><nve-grid-cell>cell 0-3</nve-grid-cell><nve-grid-cell>cell 0-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 1-0</nve-grid-cell><nve-grid-cell>cell 1-1</nve-grid-cell><nve-grid-cell>cell 1-2</nve-grid-cell><nve-grid-cell>cell 1-3</nve-grid-cell><nve-grid-cell>cell 1-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 2-0</nve-grid-cell><nve-grid-cell>cell 2-1</nve-grid-cell><nve-grid-cell>cell 2-2</nve-grid-cell><nve-grid-cell>cell 2-3</nve-grid-cell><nve-grid-cell>cell 2-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 3-0</nve-grid-cell><nve-grid-cell>cell 3-1</nve-grid-cell><nve-grid-cell>cell 3-2</nve-grid-cell><nve-grid-cell>cell 3-3</nve-grid-cell><nve-grid-cell>cell 3-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 4-0</nve-grid-cell><nve-grid-cell>cell 4-1</nve-grid-cell><nve-grid-cell>cell 4-2</nve-grid-cell><nve-grid-cell>cell 4-3</nve-grid-cell><nve-grid-cell>cell 4-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 5-0</nve-grid-cell><nve-grid-cell>cell 5-1</nve-grid-cell><nve-grid-cell>cell 5-2</nve-grid-cell><nve-grid-cell>cell 5-3</nve-grid-cell><nve-grid-cell>cell 5-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 6-0</nve-grid-cell><nve-grid-cell>cell 6-1</nve-grid-cell><nve-grid-cell>cell 6-2</nve-grid-cell><nve-grid-cell>cell 6-3</nve-grid-cell><nve-grid-cell>cell 6-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 7-0</nve-grid-cell><nve-grid-cell>cell 7-1</nve-grid-cell><nve-grid-cell>cell 7-2</nve-grid-cell><nve-grid-cell>cell 7-3</nve-grid-cell><nve-grid-cell>cell 7-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 8-0</nve-grid-cell><nve-grid-cell>cell 8-1</nve-grid-cell><nve-grid-cell>cell 8-2</nve-grid-cell><nve-grid-cell>cell 8-3</nve-grid-cell><nve-grid-cell>cell 8-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 9-0</nve-grid-cell><nve-grid-cell>cell 9-1</nve-grid-cell><nve-grid-cell>cell 9-2</nve-grid-cell><nve-grid-cell>cell 9-3</nve-grid-cell><nve-grid-cell>cell 9-4</nve-grid-cell>\n </nve-grid-row>\n</nve-grid>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-grid-header`, `nve-grid-row`, and `nve-grid-placeholder` elements. |\n| footer | `string` | slot for grid-footer or toolbar |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'full' \\| undefined` | Determines the container styles of component. Flat nests the grid within other containers. Full spans the full edge-to-edge viewport width. |\n| stripe | `boolean` | Determine style variant stripe rows |\n| scrollTo |
|
|
17689
|
+
"markdown": "## nve-grid\n\nA versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences.\n\n### Example\n\n```html\n<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column><nve-grid-column>column 2</nve-grid-column><nve-grid-column>column 3</nve-grid-column><nve-grid-column>column 4</nve-grid-column>\n </nve-grid-header>\n\n <nve-grid-row>\n <nve-grid-cell>cell 0-0</nve-grid-cell><nve-grid-cell>cell 0-1</nve-grid-cell><nve-grid-cell>cell 0-2</nve-grid-cell><nve-grid-cell>cell 0-3</nve-grid-cell><nve-grid-cell>cell 0-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 1-0</nve-grid-cell><nve-grid-cell>cell 1-1</nve-grid-cell><nve-grid-cell>cell 1-2</nve-grid-cell><nve-grid-cell>cell 1-3</nve-grid-cell><nve-grid-cell>cell 1-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 2-0</nve-grid-cell><nve-grid-cell>cell 2-1</nve-grid-cell><nve-grid-cell>cell 2-2</nve-grid-cell><nve-grid-cell>cell 2-3</nve-grid-cell><nve-grid-cell>cell 2-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 3-0</nve-grid-cell><nve-grid-cell>cell 3-1</nve-grid-cell><nve-grid-cell>cell 3-2</nve-grid-cell><nve-grid-cell>cell 3-3</nve-grid-cell><nve-grid-cell>cell 3-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 4-0</nve-grid-cell><nve-grid-cell>cell 4-1</nve-grid-cell><nve-grid-cell>cell 4-2</nve-grid-cell><nve-grid-cell>cell 4-3</nve-grid-cell><nve-grid-cell>cell 4-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 5-0</nve-grid-cell><nve-grid-cell>cell 5-1</nve-grid-cell><nve-grid-cell>cell 5-2</nve-grid-cell><nve-grid-cell>cell 5-3</nve-grid-cell><nve-grid-cell>cell 5-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 6-0</nve-grid-cell><nve-grid-cell>cell 6-1</nve-grid-cell><nve-grid-cell>cell 6-2</nve-grid-cell><nve-grid-cell>cell 6-3</nve-grid-cell><nve-grid-cell>cell 6-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 7-0</nve-grid-cell><nve-grid-cell>cell 7-1</nve-grid-cell><nve-grid-cell>cell 7-2</nve-grid-cell><nve-grid-cell>cell 7-3</nve-grid-cell><nve-grid-cell>cell 7-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 8-0</nve-grid-cell><nve-grid-cell>cell 8-1</nve-grid-cell><nve-grid-cell>cell 8-2</nve-grid-cell><nve-grid-cell>cell 8-3</nve-grid-cell><nve-grid-cell>cell 8-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 9-0</nve-grid-cell><nve-grid-cell>cell 9-1</nve-grid-cell><nve-grid-cell>cell 9-2</nve-grid-cell><nve-grid-cell>cell 9-3</nve-grid-cell><nve-grid-cell>cell 9-4</nve-grid-cell>\n </nve-grid-row>\n</nve-grid>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-grid-header`, `nve-grid-row`, and `nve-grid-placeholder` elements. |\n| footer | `string` | slot for grid-footer or toolbar |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'full' \\| undefined` | Determines the container styles of component. Flat nests the grid within other containers. Full spans the full edge-to-edge viewport width. |\n| stripe | `boolean` | Determine style variant stripe rows |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| scrollTo | `scrollTo(options?: ScrollToOptions): Promise<void>`<br>`scrollTo(x: number, y: number): Promise<void>` | Scroll to a specific position in the grid. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --row-height | `string` | fixed height of each row |\n| --scroll-height | `string` | height of the scrollable area |"
|
|
17917
17690
|
}
|
|
17918
17691
|
}
|
|
17919
17692
|
],
|
|
@@ -21439,7 +21212,7 @@
|
|
|
21439
21212
|
"since": "0.2.1",
|
|
21440
21213
|
"status": "stable",
|
|
21441
21214
|
"behavior": "button",
|
|
21442
|
-
"markdown": "## nve-icon-button\n\nAn icon button is a button that displays only an icon without a visual label.\n\n### Example\n\n```html\n<nve-icon-button icon-name=\"menu\"></nve-icon-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/icon-button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for custom icons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| iconName (icon-name) | `'placeholder' \\| 'caret' \\| 'person' \\| 'menu' \\| 'cancel' \\| 'gear' \\| 'chevron' \\| 'logout' \\| 'copy' \\| 'more-actions' \\| 'add' \\| 'arrow' \\| 'delete' \\| 'download' \\| 'search' \\| 'split-vertical' \\| 'sparkles' \\| 'branch' \\| 'refresh' \\| 'double-chevron' \\| 'academic-cap' \\| 'add-asset' \\| 'add-comment' \\| 'add-grid' \\| 'add-user' \\| 'ancestors' \\| 'archive' \\| 'arrow-angle' \\| 'arrow-both' \\| 'arrow-cycle' \\| 'arrow-path-rounded-square' \\| 'arrow-stop' \\| 'at-symbol' \\| 'backspace' \\| 'bar-pill-stack' \\| 'bars-3' \\| 'bars-3-bottom-left' \\| 'bars-3-bottom-right' \\| 'bars-3-center-left' \\| 'bars-4' \\| 'beaker' \\| 'bell' \\| 'bell-slash' \\| 'bold' \\| 'book' \\| 'bookmark' \\| 'bounding-box' \\| 'briefcase' \\| 'broadcast' \\| 'browser' \\| 'bug' \\| 'calendar' \\| 'camera' \\| 'carets-closed-square' \\| 'carousel' \\| 'category-list' \\| 'chart-bar' \\| 'chat-bubble' \\| 'chat-bubbles' \\| 'check' \\| 'check-badge' \\| 'checklist' \\| 'checkmark-circle' \\| 'chip' \\| 'circle' \\| 'circle-angled-line' \\| 'circle-dash' \\| 'circle-dot' \\| 'circle-dot-arrows' \\| 'circle-half' \\| 'circle-rule' \\| 'circle-tick' \\| 'clipboard' \\| 'clock' \\| 'clock-circle-arrow' \\| 'cloud' \\| 'cloud-download' \\| 'cloud-upload' \\| 'code' \\| 'collapse-all' \\| 'collapse-details' \\| 'color-palette' \\| 'columns' \\| 'compare' \\| 'computer' \\| 'connect-node' \\| 'connected-blocks' \\| 'cross-hairs' \\| 'cursor-rays' \\| 'cursor-ripples' \\| 'data-management' \\| 'delete-node' \\| 'doc-checkmark' \\| 'dock-bottom' \\| 'dock-none' \\| 'dock-side' \\| 'document' \\| 'document-clipboard' \\| 'dot' \\| 'drag' \\| 'dropper' \\| 'duplicate' \\| 'edit' \\| 'ellipses' \\| 'envelope' \\| 'exclamation-circle' \\| 'exclamation-mark' \\| 'exclamation-triangle' \\| 'expand-all' \\| 'expand-details' \\| 'expression' \\| 'eye' \\| 'eye-hidden' \\| 'face-frown' \\| 'face-smile' \\| 'fast-forward' \\| 'fast-forward-10' \\| 'film' \\| 'filter' \\| 'flag' \\| 'fold' \\| 'folder' \\| 'fork' \\| 'globe' \\| 'globe-alt' \\| 'group' \\| 'group-boxes' \\| 'hand' \\| 'hash' \\| 'heading' \\| 'home' \\| 'horizontal-rule' \\| 'hourglass' \\| 'hourglass-end' \\| 'hourglass-mid' \\| 'hourglass-start' \\| 'identification' \\| 'image' \\| 'inbox' \\| 'infinity' \\| 'information-circle' \\| 'inspect' \\| 'italic' \\| 'key' \\| 'keyboard' \\| 'laptop-phone' \\| 'layers' \\| 'lifebuoy' \\| 'lightbulb' \\| 'lightning-bolt' \\| 'link' \\| 'list-ordered' \\| 'list-unordered' \\| 'lock' \\| 'login' \\| 'looping' \\| 'looping-off' \\| 'map' \\| 'map-drives' \\| 'map-pin' \\| 'markdown' \\| 'maximize' \\| 'megaphone' \\| 'merge' \\| 'meter' \\| 'minimize' \\| 'minus' \\| 'minus-circle' \\| 'moon' \\| 'multiselect' \\| 'music-note' \\| 'newspaper' \\| 'not-allowed' \\| 'numbers' \\| 'office-building' \\| 'outline' \\| 'paper-airplane' \\| 'paper-clip' \\| 'pause' \\| 'pencil-square' \\| 'person-2' \\| 'person-3' \\| 'person-circle' \\| 'phone' \\| 'picture-in-picture' \\| 'pie-chart' \\| 'pin' \\| 'pizza-slice' \\| 'play' \\| 'plug' \\| 'plus-circle' \\| 'plus-minus' \\| 'pointer' \\| 'priority-high' \\| 'priority-low' \\| 'priority-medium' \\| 'projector' \\| 'pull-close' \\| 'pull-draft' \\| 'pull-open' \\| 'pulse' \\| 'puzzle-piece' \\| 'question-mark-circle' \\| 'rectangle-group' \\| 'rectangle-stack-horizontal' \\| 'rectangle-stack-vertical' \\| 'redo' \\| 'reply' \\| 'rewind' \\| 'rewind-10' \\| 'rocketship' \\| 'running' \\| 'scale' \\| 'scissors' \\| 'sensor' \\| 'server' \\| 'server-stack' \\| 'shapes' \\| 'share' \\| 'signal' \\| 'signal-slash' \\| 'signpost' \\| 'sort-ascending' \\| 'sort-descending' \\| 'soundwave' \\| 'split-horizontal' \\| 'split-none' \\| 'star' \\| 'star-half' \\| 'star-stroke' \\| 'start' \\| 'status-offline' \\| 'status-online' \\| 'stop' \\| 'stop-sign' \\| 'stopwatch' \\| 'strikethrough' \\| 'sun' \\| 'swatch' \\| 'switch' \\| 'switch-apps' \\| 'table' \\| 'tag' \\| 'task' \\| 'telescope' \\| 'template' \\| 'terminal' \\| 'thumb' \\| 'traffic-cone' \\| 'transparent-box' \\| 'trend-down' \\| 'trend-up' \\| 'trophy' \\| 'truck' \\| 'typography' \\| 'undo' \\| 'unlock' \\| 'upload' \\| 'video-camera' \\| 'view-as-grid' \\| 'volume' \\| 'volume-muted' \\| 'wifi' \\| 'wrench' \\| 'x-circle' \\| 'zoom-in' \\| 'zoom-out'` | Sets the icon name, which determines which icon to display. |\n| direction | `'up' \\| 'down' \\| 'left' \\| 'right'` | Sets the direction of the icon. Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions) |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. |\n| interaction | `'emphasis' \\| 'destructive'` | The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors. - `emphasis` Shows the interaction targets emphasis or highlighting primary actions. - `destructive` Shows the interaction targets destructive actions such as deleting or removing. |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| name | `string` ... (use `icons_list` tool for full list) | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --text-align | `string` | [MDN](https://mdn.dev/CSS/text-align) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |"
|
|
21215
|
+
"markdown": "## nve-icon-button\n\nAn icon button is a button that displays only an icon without a visual label.\n\n### Example\n\n```html\n<nve-icon-button icon-name=\"menu\"></nve-icon-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/icon-button/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for custom icons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| direction | `'up' \\| 'down' \\| 'left' \\| 'right'` | Sets the direction of the icon. Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions) |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| iconName (icon-name) | `'placeholder' \\| 'caret' \\| 'person' \\| 'menu' \\| 'cancel' \\| 'gear' \\| 'chevron' \\| 'logout' \\| 'copy' \\| 'more-actions' \\| 'add' \\| 'arrow' \\| 'delete' \\| 'download' \\| 'search' \\| 'split-vertical' \\| 'sparkles' \\| 'branch' \\| 'refresh' \\| 'double-chevron' \\| 'academic-cap' \\| 'add-asset' \\| 'add-comment' \\| 'add-grid' \\| 'add-user' \\| 'ancestors' \\| 'archive' \\| 'arrow-angle' \\| 'arrow-both' \\| 'arrow-cycle' \\| 'arrow-path-rounded-square' \\| 'arrow-stop' \\| 'at-symbol' \\| 'backspace' \\| 'bar-pill-stack' \\| 'bars-3' \\| 'bars-3-bottom-left' \\| 'bars-3-bottom-right' \\| 'bars-3-center-left' \\| 'bars-4' \\| 'beaker' \\| 'bell' \\| 'bell-slash' \\| 'bold' \\| 'book' \\| 'bookmark' \\| 'bounding-box' \\| 'briefcase' \\| 'broadcast' \\| 'browser' \\| 'bug' \\| 'calendar' \\| 'camera' \\| 'carets-closed-square' \\| 'carousel' \\| 'category-list' \\| 'chart-bar' \\| 'chat-bubble' \\| 'chat-bubbles' \\| 'check' \\| 'check-badge' \\| 'checklist' \\| 'checkmark-circle' \\| 'chip' \\| 'circle' \\| 'circle-angled-line' \\| 'circle-dash' \\| 'circle-dot' \\| 'circle-dot-arrows' \\| 'circle-half' \\| 'circle-rule' \\| 'circle-tick' \\| 'clipboard' \\| 'clock' \\| 'clock-circle-arrow' \\| 'cloud' \\| 'cloud-download' \\| 'cloud-upload' \\| 'code' \\| 'collapse-all' \\| 'collapse-details' \\| 'color-palette' \\| 'columns' \\| 'compare' \\| 'computer' \\| 'connect-node' \\| 'connected-blocks' \\| 'cross-hairs' \\| 'cursor-rays' \\| 'cursor-ripples' \\| 'data-management' \\| 'delete-node' \\| 'doc-checkmark' \\| 'dock-bottom' \\| 'dock-none' \\| 'dock-side' \\| 'document' \\| 'document-clipboard' \\| 'dot' \\| 'drag' \\| 'dropper' \\| 'duplicate' \\| 'edit' \\| 'ellipses' \\| 'envelope' \\| 'exclamation-circle' \\| 'exclamation-mark' \\| 'exclamation-triangle' \\| 'expand-all' \\| 'expand-details' \\| 'expression' \\| 'eye' \\| 'eye-hidden' \\| 'face-frown' \\| 'face-smile' \\| 'fast-forward' \\| 'fast-forward-10' \\| 'film' \\| 'filter' \\| 'flag' \\| 'fold' \\| 'folder' \\| 'fork' \\| 'globe' \\| 'globe-alt' \\| 'group' \\| 'group-boxes' \\| 'hand' \\| 'hash' \\| 'heading' \\| 'home' \\| 'horizontal-rule' \\| 'hourglass' \\| 'hourglass-end' \\| 'hourglass-mid' \\| 'hourglass-start' \\| 'identification' \\| 'image' \\| 'inbox' \\| 'infinity' \\| 'information-circle' \\| 'inspect' \\| 'italic' \\| 'key' \\| 'keyboard' \\| 'laptop-phone' \\| 'layers' \\| 'lifebuoy' \\| 'lightbulb' \\| 'lightning-bolt' \\| 'link' \\| 'list-ordered' \\| 'list-unordered' \\| 'lock' \\| 'login' \\| 'looping' \\| 'looping-off' \\| 'map' \\| 'map-drives' \\| 'map-pin' \\| 'markdown' \\| 'maximize' \\| 'megaphone' \\| 'merge' \\| 'meter' \\| 'minimize' \\| 'minus' \\| 'minus-circle' \\| 'moon' \\| 'multiselect' \\| 'music-note' \\| 'newspaper' \\| 'not-allowed' \\| 'numbers' \\| 'office-building' \\| 'outline' \\| 'paper-airplane' \\| 'paper-clip' \\| 'pause' \\| 'pencil-square' \\| 'person-2' \\| 'person-3' \\| 'person-circle' \\| 'phone' \\| 'picture-in-picture' \\| 'pie-chart' \\| 'pin' \\| 'pizza-slice' \\| 'play' \\| 'plug' \\| 'plus-circle' \\| 'plus-minus' \\| 'pointer' \\| 'priority-high' \\| 'priority-low' \\| 'priority-medium' \\| 'projector' \\| 'pull-close' \\| 'pull-draft' \\| 'pull-open' \\| 'pulse' \\| 'puzzle-piece' \\| 'question-mark-circle' \\| 'rectangle-group' \\| 'rectangle-stack-horizontal' \\| 'rectangle-stack-vertical' \\| 'redo' \\| 'reply' \\| 'rewind' \\| 'rewind-10' \\| 'rocketship' \\| 'running' \\| 'scale' \\| 'scissors' \\| 'sensor' \\| 'server' \\| 'server-stack' \\| 'shapes' \\| 'share' \\| 'signal' \\| 'signal-slash' \\| 'signpost' \\| 'sort-ascending' \\| 'sort-descending' \\| 'soundwave' \\| 'split-horizontal' \\| 'split-none' \\| 'star' \\| 'star-half' \\| 'star-stroke' \\| 'start' \\| 'status-offline' \\| 'status-online' \\| 'stop' \\| 'stop-sign' \\| 'stopwatch' \\| 'strikethrough' \\| 'sun' \\| 'swatch' \\| 'switch' \\| 'switch-apps' \\| 'table' \\| 'tag' \\| 'task' \\| 'telescope' \\| 'template' \\| 'terminal' \\| 'thumb' \\| 'traffic-cone' \\| 'transparent-box' \\| 'trend-down' \\| 'trend-up' \\| 'trophy' \\| 'truck' \\| 'typography' \\| 'undo' \\| 'unlock' \\| 'upload' \\| 'video-camera' \\| 'view-as-grid' \\| 'volume' \\| 'volume-muted' \\| 'wifi' \\| 'wrench' \\| 'x-circle' \\| 'zoom-in' \\| 'zoom-out'` | Sets the icon name, which determines which icon to display. |\n| interaction | `'emphasis' \\| 'destructive'` | The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors. - `emphasis` Shows the interaction targets emphasis or highlighting primary actions. - `destructive` Shows the interaction targets destructive actions such as deleting or removing. |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` ... (use `icons_list` tool for full list) | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-align | `string` | [MDN](https://mdn.dev/CSS/text-align) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
21443
21216
|
}
|
|
21444
21217
|
}
|
|
21445
21218
|
],
|
|
@@ -23916,7 +23689,7 @@
|
|
|
23916
23689
|
"documentation": "https://nvidia.github.io/elements/docs/elements/icon/",
|
|
23917
23690
|
"status": "stable",
|
|
23918
23691
|
"behavior": "content",
|
|
23919
|
-
"markdown": "## nve-icon\n\nAn icon is a graphic symbol designed to visually show the purpose of an interface element.\n\n### Example\n\n```html\n<nve-icon name=\"person\"></nve-icon>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/icon/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Custom SVG content to override the named icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
23692
|
+
"markdown": "## nve-icon\n\nAn icon is a graphic symbol designed to visually show the purpose of an interface element.\n\n### Example\n\n```html\n<nve-icon name=\"person\"></nve-icon>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/icon/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Custom SVG content to override the named icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| appearance | `'outline' \\| 'solid' \\| undefined` | Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to the outline form when that asset is unavailable. |\n| direction | `'up' \\| 'down' \\| 'left' \\| 'right' \\| undefined` | Sets the direction of the icon. Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions) |\n| name | `placeholder` \\| `caret` \\| `person` \\| `menu` \\| `cancel` \\| `gear` \\| `chevron` \\| `logout` \\| `copy` \\| `more-actions` \\| `add` \\| `arrow` \\| `delete` \\| `download` \\| `search` \\| `split-vertical` \\| `sparkles` \\| `branch` \\| `refresh` \\| `double-chevron` ... (use `icons_list` tool for full list) | The name of the icon SVG sprite to render. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| 'xs' \\| 'xl' \\| undefined` | Controls the bounding box size of the icon given a t-shirt style value. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'warning' \\| 'danger' \\| 'success' \\| 'accent' \\| undefined` | Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `success` Represents positive outcomes, confirmations, or constructive actions. - `accent` Highlights important actions or draws attention to primary interactive elements. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
23920
23693
|
}
|
|
23921
23694
|
},
|
|
23922
23695
|
{
|
|
@@ -24276,6 +24049,26 @@
|
|
|
24276
24049
|
"name": "ControlGroup",
|
|
24277
24050
|
"module": "/src/forms/control-group/control-group.js"
|
|
24278
24051
|
}
|
|
24052
|
+
},
|
|
24053
|
+
{
|
|
24054
|
+
"kind": "field",
|
|
24055
|
+
"name": "label",
|
|
24056
|
+
"description": "Returns the label associated with the control group.",
|
|
24057
|
+
"readonly": true,
|
|
24058
|
+
"inheritedFrom": {
|
|
24059
|
+
"name": "ControlGroup",
|
|
24060
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
24061
|
+
}
|
|
24062
|
+
},
|
|
24063
|
+
{
|
|
24064
|
+
"kind": "field",
|
|
24065
|
+
"name": "inputs",
|
|
24066
|
+
"description": "Returns the input elements associated with the control group.",
|
|
24067
|
+
"readonly": true,
|
|
24068
|
+
"inheritedFrom": {
|
|
24069
|
+
"name": "ControlGroup",
|
|
24070
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
24071
|
+
}
|
|
24279
24072
|
}
|
|
24280
24073
|
],
|
|
24281
24074
|
"superclass": {
|
|
@@ -24300,7 +24093,7 @@
|
|
|
24300
24093
|
"since": "0.3.0",
|
|
24301
24094
|
"status": "stable",
|
|
24302
24095
|
"behavior": "form",
|
|
24303
|
-
"markdown": "## nve-input-group\n\nVisually combines many related input controls into a unified composite field with shared styling.\n\n### Example\n\n```html\n<nve-input-group>\n <label>domain</label>\n <nve-select style=\"width: 130px\">\n <select aria-label=\"protocol\">\n <option>https://</option>\n <option>http://</option>\n </select>\n </nve-select>\n <nve-input>\n <input placeholder=\"example\" type=\"url\" aria-label=\"host\" />\n <nve-button container=\"flat\" readonly>.com</nve-button>\n </nve-input>\n <nve-control-message>host: 123456</nve-control-message>\n</nve-input-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/input/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
24096
|
+
"markdown": "## nve-input-group\n\nVisually combines many related input controls into a unified composite field with shared styling.\n\n### Example\n\n```html\n<nve-input-group>\n <label>domain</label>\n <nve-select style=\"width: 130px\">\n <select aria-label=\"protocol\">\n <option>https://</option>\n <option>http://</option>\n </select>\n </nve-select>\n <nve-input>\n <input placeholder=\"example\" type=\"url\" aria-label=\"host\" />\n <nve-button container=\"flat\" readonly>.com</nve-button>\n </nve-input>\n <nve-control-message>host: 123456</nve-control-message>\n</nve-input-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/input/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| inputs | | Returns the input elements associated with the control group. |\n| label | | Returns the label associated with the control group. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
24304
24097
|
},
|
|
24305
24098
|
"slots": [
|
|
24306
24099
|
{
|
|
@@ -24702,26 +24495,6 @@
|
|
|
24702
24495
|
"module": "/src/forms/control/control.js"
|
|
24703
24496
|
}
|
|
24704
24497
|
},
|
|
24705
|
-
{
|
|
24706
|
-
"kind": "field",
|
|
24707
|
-
"name": "nveControl",
|
|
24708
|
-
"type": {
|
|
24709
|
-
"text": "string",
|
|
24710
|
-
"_sourceAliases": [],
|
|
24711
|
-
"values": [
|
|
24712
|
-
{
|
|
24713
|
-
"value": "string",
|
|
24714
|
-
"description": ""
|
|
24715
|
-
}
|
|
24716
|
-
]
|
|
24717
|
-
},
|
|
24718
|
-
"privacy": "protected",
|
|
24719
|
-
"default": "''",
|
|
24720
|
-
"inheritedFrom": {
|
|
24721
|
-
"name": "Control",
|
|
24722
|
-
"module": "/src/forms/control/control.js"
|
|
24723
|
-
}
|
|
24724
|
-
},
|
|
24725
24498
|
{
|
|
24726
24499
|
"kind": "method",
|
|
24727
24500
|
"name": "reset",
|
|
@@ -24730,15 +24503,6 @@
|
|
|
24730
24503
|
"name": "Control",
|
|
24731
24504
|
"module": "/src/forms/control/control.js"
|
|
24732
24505
|
}
|
|
24733
|
-
},
|
|
24734
|
-
{
|
|
24735
|
-
"kind": "method",
|
|
24736
|
-
"name": "showPicker",
|
|
24737
|
-
"privacy": "protected",
|
|
24738
|
-
"inheritedFrom": {
|
|
24739
|
-
"name": "Control",
|
|
24740
|
-
"module": "/src/forms/control/control.js"
|
|
24741
|
-
}
|
|
24742
24506
|
}
|
|
24743
24507
|
],
|
|
24744
24508
|
"attributes": [
|
|
@@ -24939,7 +24703,7 @@
|
|
|
24939
24703
|
"since": "0.3.0",
|
|
24940
24704
|
"status": "stable",
|
|
24941
24705
|
"behavior": "form",
|
|
24942
|
-
"markdown": "## nve-input\n\nAn input is a control that enables users to enter text.\n\n### Example\n\n```html\n<nve-input>\n <label>label</label>\n <input type=\"text\" />\n <nve-control-message>message</nve-control-message>\n</nve-input>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/input/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
24706
|
+
"markdown": "## nve-input\n\nAn input is a control that enables users to enter text.\n\n### Example\n\n```html\n<nve-input>\n <label>label</label>\n <input type=\"text\" />\n <nve-control-message>message</nve-control-message>\n</nve-input>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/input/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| rounded | `boolean` | Sets the rounded visual style of the input. |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
24943
24707
|
},
|
|
24944
24708
|
"slots": [
|
|
24945
24709
|
{
|
|
@@ -29023,6 +28787,11 @@
|
|
|
29023
28787
|
{
|
|
29024
28788
|
"kind": "function",
|
|
29025
28789
|
"name": "validKeyNavigationCode",
|
|
28790
|
+
"return": {
|
|
28791
|
+
"type": {
|
|
28792
|
+
"text": "e is KeyboardEvent & { code: KeynavCode }"
|
|
28793
|
+
}
|
|
28794
|
+
},
|
|
29026
28795
|
"parameters": [
|
|
29027
28796
|
{
|
|
29028
28797
|
"name": "e",
|
|
@@ -30817,7 +30586,7 @@
|
|
|
30817
30586
|
"since": "0.10.0",
|
|
30818
30587
|
"status": "stable",
|
|
30819
30588
|
"behavior": "content",
|
|
30820
|
-
"markdown": "## nve-logo\n\nA visual indicator for a brand or application.\n\n### Example\n\n```html\n<nve-logo aria-label=\"NVIDIA\">NV</nve-logo>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/logo/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text, an image, or other visual content representing the brand or application. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
30589
|
+
"markdown": "## nve-logo\n\nA visual indicator for a brand or application.\n\n### Example\n\n```html\n<nve-logo aria-label=\"NVIDIA\">NV</nve-logo>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/logo/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text, an image, or other visual content representing the brand or application. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
30821
30590
|
}
|
|
30822
30591
|
}
|
|
30823
30592
|
],
|
|
@@ -31638,7 +31407,7 @@
|
|
|
31638
31407
|
"since": "0.11.0",
|
|
31639
31408
|
"status": "stable",
|
|
31640
31409
|
"behavior": "button",
|
|
31641
|
-
"markdown": "## nve-menu-item\n\nRepresents a selectable option within a menu, providing an interactive button for navigation or actions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Label and supporting content for the menu option. |\n| suffix | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
31410
|
+
"markdown": "## nve-menu-item\n\nRepresents a selectable option within a menu, providing an interactive button for navigation or actions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Label and supporting content for the menu option. |\n| suffix | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| status | `'danger'` | Applies danger styling to destructive or high-risk menu actions. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-background | `string` | |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --opacity | `string` | [MDN](https://mdn.dev/CSS/opacity) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
31642
31411
|
}
|
|
31643
31412
|
}
|
|
31644
31413
|
],
|
|
@@ -31722,7 +31491,7 @@
|
|
|
31722
31491
|
"since": "0.11.0",
|
|
31723
31492
|
"status": "stable",
|
|
31724
31493
|
"behavior": "navigation",
|
|
31725
|
-
"markdown": "## nve-menu\n\nA menu offers a list of choices to the user, such as a set of actions or functions. Choosing an item in a menu typically opens a sub menu, or invokes a command.\n\n### Example\n\n```html\n<nve-menu>\n <nve-menu-item>item 1</nve-menu-item>\n <nve-menu-item>item 2</nve-menu-item>\n <nve-menu-item>item 3</nve-menu-item>\n <nve-menu-item>item 4</nve-menu-item>\n</nve-menu>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-menu-item` |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| scroll | `CustomEvent` | Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
31494
|
+
"markdown": "## nve-menu\n\nA menu offers a list of choices to the user, such as a set of actions or functions. Choosing an item in a menu typically opens a sub menu, or invokes a command.\n\n### Example\n\n```html\n<nve-menu>\n <nve-menu-item>item 1</nve-menu-item>\n <nve-menu-item>item 2</nve-menu-item>\n <nve-menu-item>item 3</nve-menu-item>\n <nve-menu-item>item 4</nve-menu-item>\n</nve-menu>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-menu-item` |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| scroll | `CustomEvent` | Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
31726
31495
|
}
|
|
31727
31496
|
}
|
|
31728
31497
|
],
|
|
@@ -32037,26 +31806,6 @@
|
|
|
32037
31806
|
"module": "/src/forms/control/control.js"
|
|
32038
31807
|
}
|
|
32039
31808
|
},
|
|
32040
|
-
{
|
|
32041
|
-
"kind": "field",
|
|
32042
|
-
"name": "nveControl",
|
|
32043
|
-
"type": {
|
|
32044
|
-
"text": "string",
|
|
32045
|
-
"_sourceAliases": [],
|
|
32046
|
-
"values": [
|
|
32047
|
-
{
|
|
32048
|
-
"value": "string",
|
|
32049
|
-
"description": ""
|
|
32050
|
-
}
|
|
32051
|
-
]
|
|
32052
|
-
},
|
|
32053
|
-
"privacy": "protected",
|
|
32054
|
-
"default": "''",
|
|
32055
|
-
"inheritedFrom": {
|
|
32056
|
-
"name": "Control",
|
|
32057
|
-
"module": "/src/forms/control/control.js"
|
|
32058
|
-
}
|
|
32059
|
-
},
|
|
32060
31809
|
{
|
|
32061
31810
|
"kind": "method",
|
|
32062
31811
|
"name": "reset",
|
|
@@ -32065,15 +31814,6 @@
|
|
|
32065
31814
|
"name": "Control",
|
|
32066
31815
|
"module": "/src/forms/control/control.js"
|
|
32067
31816
|
}
|
|
32068
|
-
},
|
|
32069
|
-
{
|
|
32070
|
-
"kind": "method",
|
|
32071
|
-
"name": "showPicker",
|
|
32072
|
-
"privacy": "protected",
|
|
32073
|
-
"inheritedFrom": {
|
|
32074
|
-
"name": "Control",
|
|
32075
|
-
"module": "/src/forms/control/control.js"
|
|
32076
|
-
}
|
|
32077
31817
|
}
|
|
32078
31818
|
],
|
|
32079
31819
|
"attributes": [
|
|
@@ -32254,7 +31994,7 @@
|
|
|
32254
31994
|
"since": "0.3.0",
|
|
32255
31995
|
"status": "stable",
|
|
32256
31996
|
"behavior": "form",
|
|
32257
|
-
"markdown": "## nve-month\n\nA month picker is a control that enables users to choose a month value.\n\n### Example\n\n```html\n<nve-month>\n <label>label</label>\n <input type=\"month\" />\n <nve-control-message>message</nve-control-message>\n</nve-month>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/month/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
31997
|
+
"markdown": "## nve-month\n\nA month picker is a control that enables users to choose a month value.\n\n### Example\n\n```html\n<nve-month>\n <label>label</label>\n <input type=\"month\" />\n <nve-control-message>message</nve-control-message>\n</nve-month>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/month/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
32258
31998
|
},
|
|
32259
31999
|
"slots": [
|
|
32260
32000
|
{
|
|
@@ -32427,12 +32167,6 @@
|
|
|
32427
32167
|
"attribute": "alignment",
|
|
32428
32168
|
"reflects": true,
|
|
32429
32169
|
"descriptionText": "Determines the alignment of the popover relative to the provided anchor element."
|
|
32430
|
-
},
|
|
32431
|
-
{
|
|
32432
|
-
"kind": "field",
|
|
32433
|
-
"name": "typeNativePopoverController",
|
|
32434
|
-
"privacy": "protected",
|
|
32435
|
-
"default": "new TypeNativePopoverController<NotificationGroup>(this)"
|
|
32436
32170
|
}
|
|
32437
32171
|
],
|
|
32438
32172
|
"attributes": [
|
|
@@ -32529,7 +32263,7 @@
|
|
|
32529
32263
|
"since": "0.6.0",
|
|
32530
32264
|
"status": "stable",
|
|
32531
32265
|
"behavior": "popover",
|
|
32532
|
-
"markdown": "## nve-notification-group\n\nDisplays real time updates without interrupting the user's workflow to communicate an important message or status.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/notification/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-notification` |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the position of the popover relative to the anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n
|
|
32266
|
+
"markdown": "## nve-notification-group\n\nDisplays real time updates without interrupting the user's workflow to communicate an important message or status.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/notification/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-notification` |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the position of the popover relative to the anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of notification group open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |"
|
|
32533
32267
|
}
|
|
32534
32268
|
}
|
|
32535
32269
|
],
|
|
@@ -32842,21 +32576,6 @@
|
|
|
32842
32576
|
"description": "Enables updating internal string values for internationalization.",
|
|
32843
32577
|
"attribute": "i18n"
|
|
32844
32578
|
},
|
|
32845
|
-
{
|
|
32846
|
-
"kind": "field",
|
|
32847
|
-
"name": "typeNativePopoverController",
|
|
32848
|
-
"type": {
|
|
32849
|
-
"text": "TypeNativePopoverController<Notification>",
|
|
32850
|
-
"_sourceAliases": [],
|
|
32851
|
-
"values": [
|
|
32852
|
-
{
|
|
32853
|
-
"value": "TypeNativePopoverController<Notification>",
|
|
32854
|
-
"description": ""
|
|
32855
|
-
}
|
|
32856
|
-
]
|
|
32857
|
-
},
|
|
32858
|
-
"privacy": "protected"
|
|
32859
|
-
},
|
|
32860
32579
|
{
|
|
32861
32580
|
"kind": "method",
|
|
32862
32581
|
"name": "hidePopover",
|
|
@@ -33095,7 +32814,7 @@
|
|
|
33095
32814
|
"since": "0.6.0",
|
|
33096
32815
|
"status": "stable",
|
|
33097
32816
|
"behavior": "popover",
|
|
33098
|
-
"markdown": "## nve-notification\n\nDisplays real time updates without interrupting the user's workflow to communicate an important message or status.\n\n### Example\n\n```html\n<nve-notification id=\"notification\" position=\"top\" close-timeout=\"2000\">\n <h3 nve-text=\"label\">Notification</h3>\n <p nve-text=\"body\">some text content in a notification</p>\n</nve-notification>\n<nve-button popovertarget=\"notification\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/notification/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message communicated by the notification. |\n| icon | `string` | content slot for the status icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
32817
|
+
"markdown": "## nve-notification\n\nDisplays real time updates without interrupting the user's workflow to communicate an important message or status.\n\n### Example\n\n```html\n<nve-notification id=\"notification\" position=\"top\" close-timeout=\"2000\">\n <h3 nve-text=\"label\">Notification</h3>\n <p nve-text=\"body\">some text content in a notification</p>\n</nve-notification>\n<nve-button popovertarget=\"notification\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/notification/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message communicated by the notification. |\n| icon | `string` | content slot for the status icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| closeTimeout (close-timeout) | `number` | Sets the automatic dismissal time in milliseconds before the element emits a `close` event. Allow ~200-250ms per word for comfortable reading. - `0` Warning or error messages requiring immediate acknowledgment. - `3000` Brief success or confirmation messages. - `7000` Standard informational messages. - `10000` Messages with actions or requiring user decision. |\n| container | `'flat' \\| undefined` | Flat container option applies when embedding within another containing element such as a drawer. |\n| i18n | | Enables updating internal string values for internationalization. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the notification closes. |\n| open | `CustomEvent` | Dispatched when the notification opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| hidePopover | `hidePopover(): void` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of notification open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --status-border | `string` | |\n| --status-color | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
33099
32818
|
}
|
|
33100
32819
|
}
|
|
33101
32820
|
],
|
|
@@ -33198,7 +32917,7 @@
|
|
|
33198
32917
|
"since": "1.15.0",
|
|
33199
32918
|
"status": "stable",
|
|
33200
32919
|
"behavior": "navigation",
|
|
33201
|
-
"markdown": "## nve-page-header\n\nAn element that appears across the top of all pages containing the application name and primary navigation.\n\n### Example\n\n```html\n<nve-page-header>\n <nve-logo slot=\"prefix\" size=\"sm\" color=\"brand-green\">NV</nve-logo>\n <h2 slot=\"prefix\" nve-text=\"heading sm\">Infrastructure</h2>\n <nve-button selected container=\"flat\"><a href=\"#\">Link 1</a></nve-button>\n <nve-button container=\"flat\"><a href=\"#\">Link 2</a></nve-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"chat-bubble\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"search\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"switch-apps\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" interaction=\"emphasis\" size=\"sm\">EL</nve-icon-button>\n</nve-page-header>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page-header/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The default content slot |\n| prefix | `string` | Content displayed at the start of the header |\n| suffix | `string` | Content displayed at the end of the header |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the header [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
32920
|
+
"markdown": "## nve-page-header\n\nAn element that appears across the top of all pages containing the application name and primary navigation.\n\n### Example\n\n```html\n<nve-page-header>\n <nve-logo slot=\"prefix\" size=\"sm\" color=\"brand-green\">NV</nve-logo>\n <h2 slot=\"prefix\" nve-text=\"heading sm\">Infrastructure</h2>\n <nve-button selected container=\"flat\"><a href=\"#\">Link 1</a></nve-button>\n <nve-button container=\"flat\"><a href=\"#\">Link 2</a></nve-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"chat-bubble\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"search\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" container=\"flat\" icon-name=\"switch-apps\"></nve-icon-button>\n <nve-icon-button slot=\"suffix\" interaction=\"emphasis\" size=\"sm\">EL</nve-icon-button>\n</nve-page-header>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page-header/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The default content slot |\n| prefix | `string` | Content displayed at the start of the header |\n| suffix | `string` | Content displayed at the end of the header |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the header [MDN](https://mdn.dev/CSS/background) |\n| --border-bottom | `string` | Border below the header [MDN](https://mdn.dev/CSS/border-bottom) |\n| --gap | `string` | Gap between the prefix, default, and suffix slots [MDN](https://mdn.dev/CSS/gap) |\n| --margin-inline | `string` | left and right margin applied to the default content slot |\n| --padding | `string` | Padding inside the header [MDN](https://mdn.dev/CSS/padding) |"
|
|
33202
32921
|
}
|
|
33203
32922
|
}
|
|
33204
32923
|
],
|
|
@@ -33287,7 +33006,7 @@
|
|
|
33287
33006
|
"since": "0.19.0",
|
|
33288
33007
|
"status": "stable",
|
|
33289
33008
|
"behavior": "popover",
|
|
33290
|
-
"markdown": "## nve-page-loader\n\nPage Loader is a full-screen version of the `progress-ring` component, for use when the page should remain unusable as the loader displays.\n\n### Example\n\n```html\n<nve-page-loader></nve-page-loader>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page-loader/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Loading status text displayed with the progress indicator. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
33009
|
+
"markdown": "## nve-page-loader\n\nPage Loader is a full-screen version of the `progress-ring` component, for use when the page should remain unusable as the loader displays.\n\n### Example\n\n```html\n<nve-page-loader></nve-page-loader>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page-loader/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Loading status text displayed with the progress indicator. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of page loader open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |"
|
|
33291
33010
|
}
|
|
33292
33011
|
}
|
|
33293
33012
|
],
|
|
@@ -33406,7 +33125,7 @@
|
|
|
33406
33125
|
"since": "1.15.0",
|
|
33407
33126
|
"status": "stable",
|
|
33408
33127
|
"behavior": "content",
|
|
33409
|
-
"markdown": "## nve-page-panel-content\n\nContains the scrollable main body content within a page panel region.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the page-panel content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
33128
|
+
"markdown": "## nve-page-panel-content\n\nContains the scrollable main body content within a page panel region.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the page-panel content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
33410
33129
|
}
|
|
33411
33130
|
}
|
|
33412
33131
|
],
|
|
@@ -33476,7 +33195,7 @@
|
|
|
33476
33195
|
"since": "1.15.0",
|
|
33477
33196
|
"status": "stable",
|
|
33478
33197
|
"behavior": "content",
|
|
33479
|
-
"markdown": "## nve-page-panel-footer\n\nProvides a fixed action area at the bottom of a page panel for persistent controls or status information.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the page-panel footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --
|
|
33198
|
+
"markdown": "## nve-page-panel-footer\n\nProvides a fixed action area at the bottom of a page panel for persistent controls or status information.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the page-panel footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
33480
33199
|
}
|
|
33481
33200
|
}
|
|
33482
33201
|
],
|
|
@@ -33718,7 +33437,7 @@
|
|
|
33718
33437
|
"since": "1.15.0",
|
|
33719
33438
|
"status": "stable",
|
|
33720
33439
|
"behavior": "content",
|
|
33721
|
-
"markdown": "## nve-page-panel\n\nChild panel for embedded panels within the page component. Typically used for left/right/bottom page slot positions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-page-panel-content` elements that provide the panel body. |\n| actions | `string` | slot for action / dismiss buttons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n
|
|
33440
|
+
"markdown": "## nve-page-panel\n\nChild panel for embedded panels within the page component. Typically used for left/right/bottom page slot positions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-page-panel-content` elements that provide the panel body. |\n| actions | `string` | slot for action / dismiss buttons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables updating internal string values for internationalization. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched after an invoker command sets `hidden` and closes the panel. |\n| open | `CustomEvent` | Dispatched after an invoker command removes `hidden` and opens the panel. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | Sets `hidden` and dispatches `close`. |\n| --open | `CommandEvent` | Removes `hidden` and dispatches `open`. |\n| --toggle | `CommandEvent` | Toggles `hidden` and dispatches `open` or `close`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of panel open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
33722
33441
|
},
|
|
33723
33442
|
"commands": [
|
|
33724
33443
|
{
|
|
@@ -33899,7 +33618,7 @@
|
|
|
33899
33618
|
"since": "1.15.0",
|
|
33900
33619
|
"status": "stable",
|
|
33901
33620
|
"behavior": "content",
|
|
33902
|
-
"markdown": "## nve-page\n\nProvide a consistent page structure across the applications, ensuring a seamless user experience.\n\n### Example\n\n```html\n<nve-page>\n <nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\" color=\"brand-green\">NV</nve-logo>\n <h2 nve-text=\"heading\" slot=\"prefix\">Infrastructure</h2>\n <nve-button selected container=\"flat\">Link 1</nve-button>\n <nve-button container=\"flat\">Link 2</nve-button>\n <nve-icon-button interaction=\"emphasis\" slot=\"suffix\" size=\"sm\">EL</nve-icon-button>\n </nve-page-header>\n <nve-page-panel slot=\"left\" size=\"sm\">\n <nve-page-panel-content>panel</nve-page-panel-content>\n </nve-page-panel>\n <main nve-layout=\"column gap:lg pad:lg align:horizontal-stretch\">\n <h1 nve-text=\"heading\">main</h1>\n <p nve-text=\"body\">page content</p>\n </main>\n</nve-page>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The central content area of the page, where the primary focus of the user's attention should be. |\n|
|
|
33621
|
+
"markdown": "## nve-page\n\nProvide a consistent page structure across the applications, ensuring a seamless user experience.\n\n### Example\n\n```html\n<nve-page>\n <nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\" color=\"brand-green\">NV</nve-logo>\n <h2 nve-text=\"heading\" slot=\"prefix\">Infrastructure</h2>\n <nve-button selected container=\"flat\">Link 1</nve-button>\n <nve-button container=\"flat\">Link 2</nve-button>\n <nve-icon-button interaction=\"emphasis\" slot=\"suffix\" size=\"sm\">EL</nve-icon-button>\n </nve-page-header>\n <nve-page-panel slot=\"left\" size=\"sm\">\n <nve-page-panel-content>panel</nve-page-panel-content>\n </nve-page-panel>\n <main nve-layout=\"column gap:lg pad:lg align:horizontal-stretch\">\n <h1 nve-text=\"heading\">main</h1>\n <p nve-text=\"body\">page content</p>\n </main>\n</nve-page>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The central content area of the page, where the primary focus of the user's attention should be. |\n| bottom | `string` | A section for extra tooling outputs such as console outputs. |\n| footer | `string` | The bottommost section of the page, typically containing global elements, such as copyright information. |\n| header | `string` | The topmost section of the page, typically containing navigation, branding, or other global elements. |\n| left | `string` | The main content area on the left side of the page, typically containing primary navigation or features. |\n| left-aside | `string` | A narrow section on the left side of the page, commonly used for navigation, filters, or other secondary content. |\n| right | `string` | The main content area on the right side of the page, typically containing secondary navigation or features. |\n| right-aside | `string` | A narrow section on the right side of the page, commonly used for navigation, filters, or other secondary content. |\n| subfooter | `string` | A secondary section below the main content area, often used for more information or calls to action. |\n| subheader | `string` | A secondary section below the header, often used for breadcrumbs, filters, or other contextual information. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| documentScroll (document-scroll) | `boolean` | Enables the page to use the document content scroll rather than its internal fixed scroll. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | Vertical gap spacing between main content items [MDN](https://mdn.dev/CSS/gap) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
33903
33622
|
}
|
|
33904
33623
|
}
|
|
33905
33624
|
],
|
|
@@ -34522,15 +34241,11 @@
|
|
|
34522
34241
|
{
|
|
34523
34242
|
"kind": "method",
|
|
34524
34243
|
"name": "reportValidity",
|
|
34525
|
-
"
|
|
34526
|
-
|
|
34527
|
-
"
|
|
34528
|
-
|
|
34529
|
-
|
|
34530
|
-
"value": "() => boolean",
|
|
34531
|
-
"description": ""
|
|
34532
|
-
}
|
|
34533
|
-
]
|
|
34244
|
+
"parameters": [],
|
|
34245
|
+
"return": {
|
|
34246
|
+
"type": {
|
|
34247
|
+
"text": "boolean"
|
|
34248
|
+
}
|
|
34534
34249
|
},
|
|
34535
34250
|
"description": "Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity",
|
|
34536
34251
|
"inheritedFrom": {
|
|
@@ -34540,15 +34255,11 @@
|
|
|
34540
34255
|
{
|
|
34541
34256
|
"kind": "method",
|
|
34542
34257
|
"name": "checkValidity",
|
|
34543
|
-
"
|
|
34544
|
-
|
|
34545
|
-
"
|
|
34546
|
-
|
|
34547
|
-
|
|
34548
|
-
"value": "() => boolean",
|
|
34549
|
-
"description": ""
|
|
34550
|
-
}
|
|
34551
|
-
]
|
|
34258
|
+
"parameters": [],
|
|
34259
|
+
"return": {
|
|
34260
|
+
"type": {
|
|
34261
|
+
"text": "boolean"
|
|
34262
|
+
}
|
|
34552
34263
|
},
|
|
34553
34264
|
"description": "Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity",
|
|
34554
34265
|
"inheritedFrom": {
|
|
@@ -34558,15 +34269,18 @@
|
|
|
34558
34269
|
{
|
|
34559
34270
|
"kind": "method",
|
|
34560
34271
|
"name": "setCustomValidity",
|
|
34561
|
-
"
|
|
34562
|
-
|
|
34563
|
-
|
|
34564
|
-
|
|
34565
|
-
|
|
34566
|
-
"value": "(message: string) => void",
|
|
34567
|
-
"description": ""
|
|
34272
|
+
"parameters": [
|
|
34273
|
+
{
|
|
34274
|
+
"name": "message",
|
|
34275
|
+
"type": {
|
|
34276
|
+
"text": "string"
|
|
34568
34277
|
}
|
|
34569
|
-
|
|
34278
|
+
}
|
|
34279
|
+
],
|
|
34280
|
+
"return": {
|
|
34281
|
+
"type": {
|
|
34282
|
+
"text": "void"
|
|
34283
|
+
}
|
|
34570
34284
|
},
|
|
34571
34285
|
"description": "Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity",
|
|
34572
34286
|
"inheritedFrom": {
|
|
@@ -34576,15 +34290,11 @@
|
|
|
34576
34290
|
{
|
|
34577
34291
|
"kind": "method",
|
|
34578
34292
|
"name": "reset",
|
|
34579
|
-
"
|
|
34580
|
-
|
|
34581
|
-
"
|
|
34582
|
-
|
|
34583
|
-
|
|
34584
|
-
"value": "() => void",
|
|
34585
|
-
"description": ""
|
|
34586
|
-
}
|
|
34587
|
-
]
|
|
34293
|
+
"parameters": [],
|
|
34294
|
+
"return": {
|
|
34295
|
+
"type": {
|
|
34296
|
+
"text": "void"
|
|
34297
|
+
}
|
|
34588
34298
|
},
|
|
34589
34299
|
"description": "Resets the control value to its initial value.",
|
|
34590
34300
|
"inheritedFrom": {
|
|
@@ -34985,7 +34695,7 @@
|
|
|
34985
34695
|
"since": "0.11.0",
|
|
34986
34696
|
"status": "stable",
|
|
34987
34697
|
"behavior": "navigation",
|
|
34988
|
-
"markdown": "## nve-pagination\n\nPagination is a control that enables users to navigate through pages of content.\n\n### Example\n\n```html\n<nve-pagination value=\"1\" items=\"100\" step=\"10\"></nve-pagination>\n<script type=\"module\">\n const pagination = document.querySelector(\"nve-pagination\");\n pagination.addEventListener(\"change\", (e) => console.log(e.target.value));\n</script>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/pagination/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| suffix-label | `string` | Overrides the \"of total\" label when the total is an approximation. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
34698
|
+
"markdown": "## nve-pagination\n\nPagination is a control that enables users to navigate through pages of content.\n\n### Example\n\n```html\n<nve-pagination value=\"1\" items=\"100\" step=\"10\"></nve-pagination>\n<script type=\"module\">\n const pagination = document.querySelector(\"nve-pagination\");\n pagination.addEventListener(\"change\", (e) => console.log(e.target.value));\n</script>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/pagination/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| suffix-label | `string` | Overrides the \"of total\" label when the total is an approximation. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container styles of component. Flat applies when nesting within other containers. Inline applies when placing within other inline content. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| disableStep (disable-step) | `boolean` | Whether the step selector has a disabled state. |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| i18n | | Enables updating internal string values for internationalization. |\n| items | `number` | The total number of items. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| max | `number \\| null` | Defines the maximum numeric value. https://mdn.dev/HTML/Attributes/max |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| min | `number \\| null` | Defines the minimum numeric value. https://mdn.dev/HTML/Attributes/min |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| skippable | `boolean` | Whether the pagination is skippable to start/end. |\n| step | `number` | The number of items per page. |\n| stepSizes (step-sizes) | property: `number[]`; attribute: `string` | Page-size options available in the selector. |\n| type | `string` | The control type. |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| value | `number` | value the current page number |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| valueAsString | `string` | The current value serialized as a string. |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| change | `CustomEvent` | Dispatched when the value (page) has changed |\n| first-page | `CustomEvent` | Dispatched when the first page is active |\n| input | `CustomEvent` | Dispatched when the value (page) has changed |\n| last-page | `CustomEvent` | Dispatched when the last page is active |\n| step-change | `CustomEvent` | Dispatched after the page size changes with the current page size in `detail`. The event bubbles and crosses shadow boundaries. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| checkValidity | `checkValidity(): boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| reportValidity | `reportValidity(): boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| reset | `reset(): void` | Resets the control value to its initial value. |\n| setCustomValidity | `setCustomValidity(message: string): void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
34989
34699
|
}
|
|
34990
34700
|
}
|
|
34991
34701
|
],
|
|
@@ -35081,7 +34791,7 @@
|
|
|
35081
34791
|
"since": "0.10.0",
|
|
35082
34792
|
"status": "stable",
|
|
35083
34793
|
"behavior": "container",
|
|
35084
|
-
"markdown": "## nve-panel-header\n\nDisplays the title, subtitle, and optional action controls at the top of a panel.\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default content slot |\n|
|
|
34794
|
+
"markdown": "## nve-panel-header\n\nDisplays the title, subtitle, and optional action controls at the top of a panel.\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default content slot |\n| action-icon | `string` | Extra Action Button |\n| subtitle | `string` | Subtitle Text |\n| title | `string` | Title Text |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
35085
34795
|
}
|
|
35086
34796
|
},
|
|
35087
34797
|
{
|
|
@@ -35175,7 +34885,7 @@
|
|
|
35175
34885
|
"since": "0.10.0",
|
|
35176
34886
|
"status": "stable",
|
|
35177
34887
|
"behavior": "container",
|
|
35178
|
-
"markdown": "## nve-panel-footer\n\nProvides a designated area at the bottom of a panel for actions or supplementary controls.\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for panel footer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
34888
|
+
"markdown": "## nve-panel-footer\n\nProvides a designated area at the bottom of a panel for actions or supplementary controls.\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for panel footer content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
35179
34889
|
}
|
|
35180
34890
|
},
|
|
35181
34891
|
{
|
|
@@ -35441,7 +35151,7 @@
|
|
|
35441
35151
|
"since": "0.10.0",
|
|
35442
35152
|
"status": "stable",
|
|
35443
35153
|
"behavior": "container",
|
|
35444
|
-
"markdown": "## nve-panel\n\nPanel 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).\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for panel content |\n|
|
|
35154
|
+
"markdown": "## nve-panel\n\nPanel 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).\n\n### Example\n\n```html\n<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/panel/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for panel content |\n| content | `string` | content element (Use `panel-content` or custom content) |\n| footer | `string` | footer element (Use `panel-footer` or custom content) |\n| header | `string` | header element (Use `panel-header` or custom content) |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether the panel should handle auto-closing behavior vs. defaults to off. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| i18n | | Enables updating internal string values for internationalization. |\n| side | `'left' \\| 'right'` | Sets the proper collapse icon and collapse animation, based on which side of the page the panel occupies. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the panel closes. |\n| open | `CustomEvent` | Dispatched when the panel opens. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --panel-button-border-radius | `string` | Border radius of the panel expand/collapse button |"
|
|
35445
35155
|
}
|
|
35446
35156
|
}
|
|
35447
35157
|
],
|
|
@@ -35780,26 +35490,6 @@
|
|
|
35780
35490
|
"module": "/src/forms/control/control.js"
|
|
35781
35491
|
}
|
|
35782
35492
|
},
|
|
35783
|
-
{
|
|
35784
|
-
"kind": "field",
|
|
35785
|
-
"name": "nveControl",
|
|
35786
|
-
"type": {
|
|
35787
|
-
"text": "string",
|
|
35788
|
-
"_sourceAliases": [],
|
|
35789
|
-
"values": [
|
|
35790
|
-
{
|
|
35791
|
-
"value": "string",
|
|
35792
|
-
"description": ""
|
|
35793
|
-
}
|
|
35794
|
-
]
|
|
35795
|
-
},
|
|
35796
|
-
"privacy": "protected",
|
|
35797
|
-
"default": "''",
|
|
35798
|
-
"inheritedFrom": {
|
|
35799
|
-
"name": "Control",
|
|
35800
|
-
"module": "/src/forms/control/control.js"
|
|
35801
|
-
}
|
|
35802
|
-
},
|
|
35803
35493
|
{
|
|
35804
35494
|
"kind": "method",
|
|
35805
35495
|
"name": "reset",
|
|
@@ -35808,15 +35498,6 @@
|
|
|
35808
35498
|
"name": "Control",
|
|
35809
35499
|
"module": "/src/forms/control/control.js"
|
|
35810
35500
|
}
|
|
35811
|
-
},
|
|
35812
|
-
{
|
|
35813
|
-
"kind": "method",
|
|
35814
|
-
"name": "showPicker",
|
|
35815
|
-
"privacy": "protected",
|
|
35816
|
-
"inheritedFrom": {
|
|
35817
|
-
"name": "Control",
|
|
35818
|
-
"module": "/src/forms/control/control.js"
|
|
35819
|
-
}
|
|
35820
35501
|
}
|
|
35821
35502
|
],
|
|
35822
35503
|
"attributes": [
|
|
@@ -35997,7 +35678,7 @@
|
|
|
35997
35678
|
"since": "0.3.0",
|
|
35998
35679
|
"status": "stable",
|
|
35999
35680
|
"behavior": "form",
|
|
36000
|
-
"markdown": "## nve-password\n\nA password is a control that enables users to enter password text.\n\n### Example\n\n```html\n<nve-password>\n <label>label</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message>message</nve-control-message>\n</nve-password>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/password/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
35681
|
+
"markdown": "## nve-password\n\nA password is a control that enables users to enter password text.\n\n### Example\n\n```html\n<nve-password>\n <label>label</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message>message</nve-control-message>\n</nve-password>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/password/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
36001
35682
|
},
|
|
36002
35683
|
"slots": [
|
|
36003
35684
|
{
|
|
@@ -36560,15 +36241,11 @@
|
|
|
36560
36241
|
{
|
|
36561
36242
|
"kind": "method",
|
|
36562
36243
|
"name": "reportValidity",
|
|
36563
|
-
"
|
|
36564
|
-
|
|
36565
|
-
"
|
|
36566
|
-
|
|
36567
|
-
|
|
36568
|
-
"value": "() => boolean",
|
|
36569
|
-
"description": ""
|
|
36570
|
-
}
|
|
36571
|
-
]
|
|
36244
|
+
"parameters": [],
|
|
36245
|
+
"return": {
|
|
36246
|
+
"type": {
|
|
36247
|
+
"text": "boolean"
|
|
36248
|
+
}
|
|
36572
36249
|
},
|
|
36573
36250
|
"description": "Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity",
|
|
36574
36251
|
"inheritedFrom": {
|
|
@@ -36578,15 +36255,11 @@
|
|
|
36578
36255
|
{
|
|
36579
36256
|
"kind": "method",
|
|
36580
36257
|
"name": "checkValidity",
|
|
36581
|
-
"
|
|
36582
|
-
|
|
36583
|
-
"
|
|
36584
|
-
|
|
36585
|
-
|
|
36586
|
-
"value": "() => boolean",
|
|
36587
|
-
"description": ""
|
|
36588
|
-
}
|
|
36589
|
-
]
|
|
36258
|
+
"parameters": [],
|
|
36259
|
+
"return": {
|
|
36260
|
+
"type": {
|
|
36261
|
+
"text": "boolean"
|
|
36262
|
+
}
|
|
36590
36263
|
},
|
|
36591
36264
|
"description": "Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity",
|
|
36592
36265
|
"inheritedFrom": {
|
|
@@ -36596,15 +36269,18 @@
|
|
|
36596
36269
|
{
|
|
36597
36270
|
"kind": "method",
|
|
36598
36271
|
"name": "setCustomValidity",
|
|
36599
|
-
"
|
|
36600
|
-
|
|
36601
|
-
|
|
36602
|
-
|
|
36603
|
-
|
|
36604
|
-
"value": "(message: string) => void",
|
|
36605
|
-
"description": ""
|
|
36272
|
+
"parameters": [
|
|
36273
|
+
{
|
|
36274
|
+
"name": "message",
|
|
36275
|
+
"type": {
|
|
36276
|
+
"text": "string"
|
|
36606
36277
|
}
|
|
36607
|
-
|
|
36278
|
+
}
|
|
36279
|
+
],
|
|
36280
|
+
"return": {
|
|
36281
|
+
"type": {
|
|
36282
|
+
"text": "void"
|
|
36283
|
+
}
|
|
36608
36284
|
},
|
|
36609
36285
|
"description": "Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity",
|
|
36610
36286
|
"inheritedFrom": {
|
|
@@ -36614,15 +36290,11 @@
|
|
|
36614
36290
|
{
|
|
36615
36291
|
"kind": "method",
|
|
36616
36292
|
"name": "reset",
|
|
36617
|
-
"
|
|
36618
|
-
|
|
36619
|
-
"
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
"value": "() => void",
|
|
36623
|
-
"description": ""
|
|
36624
|
-
}
|
|
36625
|
-
]
|
|
36293
|
+
"parameters": [],
|
|
36294
|
+
"return": {
|
|
36295
|
+
"type": {
|
|
36296
|
+
"text": "void"
|
|
36297
|
+
}
|
|
36626
36298
|
},
|
|
36627
36299
|
"description": "Resets the control value to its initial value.",
|
|
36628
36300
|
"inheritedFrom": {
|
|
@@ -36916,7 +36588,7 @@
|
|
|
36916
36588
|
"since": "1.23.7",
|
|
36917
36589
|
"status": "stable",
|
|
36918
36590
|
"behavior": "form",
|
|
36919
|
-
"markdown": "## nve-preferences-input\n\nA preferences input is a widget for controlling apperance. Stylesheets register to the preferences input by including a css-property, see Standard for an example.\n\n### Example\n\n```html\n<nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"dark\", \"scale\": \"compact\", \"reduced-motion\": \"true\" }'></nve-preferences-input>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/preferences-input/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
36591
|
+
"markdown": "## nve-preferences-input\n\nA preferences input is a widget for controlling apperance. Stylesheets register to the preferences input by including a css-property, see Standard for an example.\n\n### Example\n\n```html\n<nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"dark\", \"scale\": \"compact\", \"reduced-motion\": \"true\" }'></nve-preferences-input>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/preferences-input/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| i18n | | Enables updating internal string values for internationalization. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| max | `number \\| null` | Defines the maximum numeric value. https://mdn.dev/HTML/Attributes/max |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| min | `number \\| null` | Defines the minimum numeric value. https://mdn.dev/HTML/Attributes/min |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| step | `number \\| null` | Defines the value granularity for numeric inputs. https://mdn.dev/HTML/Attributes/step |\n| type | `string` | The control type. |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| value | property: `PreferencesInputValue`; attribute: `string` | Contains the current color scheme, scale, and reduced motion preferences. Assign an object through JavaScript or provide its JSON serialization in the HTML `value` attribute. |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| valueAsString | `string` | The current value serialized as a string. |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| change | `CustomEvent` | Dispatched when the value has changed |\n| input | `CustomEvent` | Dispatched when the value has changed |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| checkValidity | `checkValidity(): boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| reportValidity | `reportValidity(): boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| reset | `reset(): void` | Resets the control value to its initial value. |\n| setCustomValidity | `setCustomValidity(message: string): void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
36920
36592
|
}
|
|
36921
36593
|
}
|
|
36922
36594
|
],
|
|
@@ -37135,7 +36807,7 @@
|
|
|
37135
36807
|
"since": "0.16.0",
|
|
37136
36808
|
"status": "stable",
|
|
37137
36809
|
"behavior": "content",
|
|
37138
|
-
"markdown": "## nve-progress-bar\n\nA progress bar is a visual indicator of the status of a running task. Under the hood, the component uses the native HTML `progress` element to achieve proper a11y concerns.\n\n### Example\n\n```html\n<nve-progress-bar value=\"50\"></nve-progress-bar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progress-bar/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
36810
|
+
"markdown": "## nve-progress-bar\n\nA progress bar is a visual indicator of the status of a running task. Under the hood, the component uses the native HTML `progress` element to achieve proper a11y concerns.\n\n### Example\n\n```html\n<nve-progress-bar value=\"50\"></nve-progress-bar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progress-bar/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| max | `number` | The `max` property sets the highest value that `value` scales to. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n| value | `number \\| undefined` | The current `value` of the progress indicator, set to the native HTML progress element. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --indeterminate-gradient | `string` | Gradient used for indeterminate state animation |\n| --opacity | `string` | [MDN](https://mdn.dev/CSS/opacity) |"
|
|
37139
36811
|
}
|
|
37140
36812
|
}
|
|
37141
36813
|
],
|
|
@@ -37476,7 +37148,7 @@
|
|
|
37476
37148
|
"since": "0.17.0",
|
|
37477
37149
|
"status": "stable",
|
|
37478
37150
|
"behavior": "content",
|
|
37479
|
-
"markdown": "## nve-progress-ring\n\nThe `progress-ring` component shows the status of a pending task. It also serves the basis of the page loading element.\n\n### Example\n\n```html\n<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\"></nve-progress-ring>\n\n <nve-progress-ring status=\"accent\" value=\"66\"></nve-progress-ring>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progress-ring/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content to display in the ring center. Defaults to a status icon. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
37151
|
+
"markdown": "## nve-progress-ring\n\nThe `progress-ring` component shows the status of a pending task. It also serves the basis of the page loading element.\n\n### Example\n\n```html\n<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\"></nve-progress-ring>\n\n <nve-progress-ring status=\"accent\" value=\"66\"></nve-progress-ring>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progress-ring/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content to display in the ring center. Defaults to a status icon. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables updating internal string values for internationalization. |\n| max | `number` | The `max` value of the progress ring that the `value` is proportionally scaled to. |\n| size | `'sm' \\| 'md' \\| 'lg' \\| 'xxs' \\| 'xs' \\| 'xl' \\| undefined` | T-shirt `size` of the progress indicator, used to scale the ring. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| 'neutral' \\| undefined` | Four visual treatments represent the `status` of tasks. When `status` changes to `warning`, `success`, or `danger`, the component embeds appropriate icons. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n| value | `number \\| undefined` | The current `value` of the progress ring. When not set, an indeterminate animation will show. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background-color | `string` | |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --ring-background-opacity | `string` | |\n| --ring-color | `string` | |\n| --ring-width | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
37480
37152
|
}
|
|
37481
37153
|
}
|
|
37482
37154
|
],
|
|
@@ -37658,7 +37330,7 @@
|
|
|
37658
37330
|
"since": "0.16.0",
|
|
37659
37331
|
"status": "stable",
|
|
37660
37332
|
"behavior": "navigation",
|
|
37661
|
-
"markdown": "## nve-progressive-filter-chip\n\nA filter chip is a control that enables users to select many options from a set of choices.\n\n### Example\n\n```html\n<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option>workload</option>\n <option selected>instance</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option>sort by</option>\n <option selected>filter by</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"filter\">\n <option selected>utilization</option>\n <option>status</option>\n </select>\n </nve-select>\n</nve-progressive-filter-chip>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progressive-filter-chip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `input`, `select`, `nve-button`, or other `[nve-control]` elements used to build the filter. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables updating internal string values for internationalization. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the filter chip closes. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
37333
|
+
"markdown": "## nve-progressive-filter-chip\n\nA filter chip is a control that enables users to select many options from a set of choices.\n\n### Example\n\n```html\n<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option>workload</option>\n <option selected>instance</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option>sort by</option>\n <option selected>filter by</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"filter\">\n <option selected>utilization</option>\n <option>status</option>\n </select>\n </nve-select>\n</nve-progressive-filter-chip>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/progressive-filter-chip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `input`, `select`, `nve-button`, or other `[nve-control]` elements used to build the filter. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Enables updating internal string values for internationalization. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the filter chip closes. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
37662
37334
|
}
|
|
37663
37335
|
}
|
|
37664
37336
|
],
|
|
@@ -37856,7 +37528,7 @@
|
|
|
37856
37528
|
"since": "1.16.3",
|
|
37857
37529
|
"status": "stable",
|
|
37858
37530
|
"behavior": "feedback",
|
|
37859
|
-
"markdown": "## nve-pulse\n\nPulse component signals attention for a particular area of a UI. This helps with tutorial/getting started guides for new users.\n\n### Example\n\n```html\n<div nve-layout=\"row align:center\">\n <nve-pulse aria-label=\"pulse component\"></nve-pulse>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/pulse/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| size | `'sm' \\| 'md' \\| 'lg' \\| 'xs' \\| undefined` | Sets size of the pulse component. You can also update size using the `width + height` css props. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'accent' \\| 'warning' \\| 'danger' \\| undefined` | These visual treatments represent the `status` of different tasks. When `status` changes to `accent`, `warning` or `danger`, the component embeds appropriate colors. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --
|
|
37531
|
+
"markdown": "## nve-pulse\n\nPulse component signals attention for a particular area of a UI. This helps with tutorial/getting started guides for new users.\n\n### Example\n\n```html\n<div nve-layout=\"row align:center\">\n <nve-pulse aria-label=\"pulse component\"></nve-pulse>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/pulse/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| size | `'sm' \\| 'md' \\| 'lg' \\| 'xs' \\| undefined` | Sets size of the pulse component. You can also update size using the `width + height` css props. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| status | `'accent' \\| 'warning' \\| 'danger' \\| undefined` | These visual treatments represent the `status` of different tasks. When `status` changes to `accent`, `warning` or `danger`, the component embeds appropriate colors. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
37860
37532
|
}
|
|
37861
37533
|
}
|
|
37862
37534
|
],
|
|
@@ -37963,6 +37635,26 @@
|
|
|
37963
37635
|
"name": "ControlGroup",
|
|
37964
37636
|
"module": "/src/forms/control-group/control-group.js"
|
|
37965
37637
|
}
|
|
37638
|
+
},
|
|
37639
|
+
{
|
|
37640
|
+
"kind": "field",
|
|
37641
|
+
"name": "label",
|
|
37642
|
+
"description": "Returns the label associated with the control group.",
|
|
37643
|
+
"readonly": true,
|
|
37644
|
+
"inheritedFrom": {
|
|
37645
|
+
"name": "ControlGroup",
|
|
37646
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
37647
|
+
}
|
|
37648
|
+
},
|
|
37649
|
+
{
|
|
37650
|
+
"kind": "field",
|
|
37651
|
+
"name": "inputs",
|
|
37652
|
+
"description": "Returns the input elements associated with the control group.",
|
|
37653
|
+
"readonly": true,
|
|
37654
|
+
"inheritedFrom": {
|
|
37655
|
+
"name": "ControlGroup",
|
|
37656
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
37657
|
+
}
|
|
37966
37658
|
}
|
|
37967
37659
|
],
|
|
37968
37660
|
"superclass": {
|
|
@@ -37986,7 +37678,7 @@
|
|
|
37986
37678
|
"since": "0.3.0",
|
|
37987
37679
|
"status": "stable",
|
|
37988
37680
|
"behavior": "form",
|
|
37989
|
-
"markdown": "## nve-radio-group\n\nGroups related radio buttons together with a shared label and validation messaging for single-select form inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/radio/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-
|
|
37681
|
+
"markdown": "## nve-radio-group\n\nGroups related radio buttons together with a shared label and validation messaging for single-select form inputs.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/radio/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| inputs | | Returns the input elements associated with the control group. |\n| label | | Returns the label associated with the control group. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
|
|
37990
37682
|
},
|
|
37991
37683
|
"slots": [
|
|
37992
37684
|
{
|
|
@@ -38217,26 +37909,6 @@
|
|
|
38217
37909
|
}
|
|
38218
37910
|
],
|
|
38219
37911
|
"members": [
|
|
38220
|
-
{
|
|
38221
|
-
"kind": "field",
|
|
38222
|
-
"name": "nveControl",
|
|
38223
|
-
"type": {
|
|
38224
|
-
"text": "string",
|
|
38225
|
-
"_sourceAliases": [],
|
|
38226
|
-
"values": [
|
|
38227
|
-
{
|
|
38228
|
-
"value": "string",
|
|
38229
|
-
"description": ""
|
|
38230
|
-
}
|
|
38231
|
-
]
|
|
38232
|
-
},
|
|
38233
|
-
"privacy": "protected",
|
|
38234
|
-
"default": "'inline'",
|
|
38235
|
-
"inheritedFrom": {
|
|
38236
|
-
"name": "Control",
|
|
38237
|
-
"module": "/src/forms/control/control.js"
|
|
38238
|
-
}
|
|
38239
|
-
},
|
|
38240
37912
|
{
|
|
38241
37913
|
"kind": "field",
|
|
38242
37914
|
"name": "status",
|
|
@@ -38342,15 +38014,6 @@
|
|
|
38342
38014
|
"name": "Control",
|
|
38343
38015
|
"module": "/src/forms/control/control.js"
|
|
38344
38016
|
}
|
|
38345
|
-
},
|
|
38346
|
-
{
|
|
38347
|
-
"kind": "method",
|
|
38348
|
-
"name": "showPicker",
|
|
38349
|
-
"privacy": "protected",
|
|
38350
|
-
"inheritedFrom": {
|
|
38351
|
-
"name": "Control",
|
|
38352
|
-
"module": "/src/forms/control/control.js"
|
|
38353
|
-
}
|
|
38354
38017
|
}
|
|
38355
38018
|
],
|
|
38356
38019
|
"superclass": {
|
|
@@ -38375,7 +38038,7 @@
|
|
|
38375
38038
|
"since": "0.3.0",
|
|
38376
38039
|
"status": "stable",
|
|
38377
38040
|
"behavior": "form",
|
|
38378
|
-
"markdown": "## nve-radio\n\nA radio button is a control that enables users to choose one option from a list of mutually exclusive options.\n\n### Example\n\n```html\n<nve-radio-group>\n <label>label</label>\n <nve-radio>\n <label>radio 1</label>\n <input type=\"radio\" checked />\n </nve-radio>\n <nve-radio>\n <label>radio 2</label>\n <input type=\"radio\" />\n </nve-radio>\n <nve-radio>\n <label>radio 3</label>\n <input type=\"radio\" />\n </nve-radio>\n <nve-control-message>message</nve-control-message>\n</nve-radio-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/radio/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
38041
|
+
"markdown": "## nve-radio\n\nA radio button is a control that enables users to choose one option from a list of mutually exclusive options.\n\n### Example\n\n```html\n<nve-radio-group>\n <label>label</label>\n <nve-radio>\n <label>radio 1</label>\n <input type=\"radio\" checked />\n </nve-radio>\n <nve-radio>\n <label>radio 2</label>\n <input type=\"radio\" />\n </nve-radio>\n <nve-radio>\n <label>radio 3</label>\n <input type=\"radio\" />\n </nve-radio>\n <nve-control-message>message</nve-control-message>\n</nve-radio-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/radio/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border-width | `string` | [MDN](https://mdn.dev/CSS/border-width) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --radio-color | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
38379
38042
|
},
|
|
38380
38043
|
"slots": [
|
|
38381
38044
|
{
|
|
@@ -38825,26 +38488,6 @@
|
|
|
38825
38488
|
"module": "/src/forms/control/control.js"
|
|
38826
38489
|
}
|
|
38827
38490
|
},
|
|
38828
|
-
{
|
|
38829
|
-
"kind": "field",
|
|
38830
|
-
"name": "nveControl",
|
|
38831
|
-
"type": {
|
|
38832
|
-
"text": "string",
|
|
38833
|
-
"_sourceAliases": [],
|
|
38834
|
-
"values": [
|
|
38835
|
-
{
|
|
38836
|
-
"value": "string",
|
|
38837
|
-
"description": ""
|
|
38838
|
-
}
|
|
38839
|
-
]
|
|
38840
|
-
},
|
|
38841
|
-
"privacy": "protected",
|
|
38842
|
-
"default": "''",
|
|
38843
|
-
"inheritedFrom": {
|
|
38844
|
-
"name": "Control",
|
|
38845
|
-
"module": "/src/forms/control/control.js"
|
|
38846
|
-
}
|
|
38847
|
-
},
|
|
38848
38491
|
{
|
|
38849
38492
|
"kind": "method",
|
|
38850
38493
|
"name": "reset",
|
|
@@ -38853,15 +38496,6 @@
|
|
|
38853
38496
|
"name": "Control",
|
|
38854
38497
|
"module": "/src/forms/control/control.js"
|
|
38855
38498
|
}
|
|
38856
|
-
},
|
|
38857
|
-
{
|
|
38858
|
-
"kind": "method",
|
|
38859
|
-
"name": "showPicker",
|
|
38860
|
-
"privacy": "protected",
|
|
38861
|
-
"inheritedFrom": {
|
|
38862
|
-
"name": "Control",
|
|
38863
|
-
"module": "/src/forms/control/control.js"
|
|
38864
|
-
}
|
|
38865
38499
|
}
|
|
38866
38500
|
],
|
|
38867
38501
|
"attributes": [
|
|
@@ -39048,7 +38682,7 @@
|
|
|
39048
38682
|
"since": "0.3.0",
|
|
39049
38683
|
"status": "stable",
|
|
39050
38684
|
"behavior": "form",
|
|
39051
|
-
"markdown": "## nve-range\n\nA range slider is a control that enables users to choose a value from a continuous range of values.\n\n### Example\n\n```html\n<nve-range>\n <label>label</label>\n <input type=\"range\" />\n <nve-control-message>message</nve-control-message>\n</nve-range>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/range/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
38685
|
+
"markdown": "## nve-range\n\nA range slider is a control that enables users to choose a value from a continuous range of values.\n\n### Example\n\n```html\n<nve-range>\n <label>label</label>\n <input type=\"range\" />\n <nve-control-message>message</nve-control-message>\n</nve-range>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/range/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| orientation | `'vertical' \\| 'horizontal'` | Controls the directional flow of the element's layout and interaction pattern. - `vertical` Element orients vertically with top-to-bottom flow. - `horizontal` Element orients horizontally with left-to-right flow. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --thumb-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --thumb-border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --thumb-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --thumb-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --track-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --track-border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --track-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --track-width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
39052
38686
|
},
|
|
39053
38687
|
"slots": [
|
|
39054
38688
|
{
|
|
@@ -39580,15 +39214,11 @@
|
|
|
39580
39214
|
{
|
|
39581
39215
|
"kind": "method",
|
|
39582
39216
|
"name": "reportValidity",
|
|
39583
|
-
"
|
|
39584
|
-
|
|
39585
|
-
"
|
|
39586
|
-
|
|
39587
|
-
|
|
39588
|
-
"value": "() => boolean",
|
|
39589
|
-
"description": ""
|
|
39590
|
-
}
|
|
39591
|
-
]
|
|
39217
|
+
"parameters": [],
|
|
39218
|
+
"return": {
|
|
39219
|
+
"type": {
|
|
39220
|
+
"text": "boolean"
|
|
39221
|
+
}
|
|
39592
39222
|
},
|
|
39593
39223
|
"description": "Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity",
|
|
39594
39224
|
"inheritedFrom": {
|
|
@@ -39598,15 +39228,11 @@
|
|
|
39598
39228
|
{
|
|
39599
39229
|
"kind": "method",
|
|
39600
39230
|
"name": "checkValidity",
|
|
39601
|
-
"
|
|
39602
|
-
|
|
39603
|
-
"
|
|
39604
|
-
|
|
39605
|
-
|
|
39606
|
-
"value": "() => boolean",
|
|
39607
|
-
"description": ""
|
|
39608
|
-
}
|
|
39609
|
-
]
|
|
39231
|
+
"parameters": [],
|
|
39232
|
+
"return": {
|
|
39233
|
+
"type": {
|
|
39234
|
+
"text": "boolean"
|
|
39235
|
+
}
|
|
39610
39236
|
},
|
|
39611
39237
|
"description": "Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity",
|
|
39612
39238
|
"inheritedFrom": {
|
|
@@ -39616,15 +39242,18 @@
|
|
|
39616
39242
|
{
|
|
39617
39243
|
"kind": "method",
|
|
39618
39244
|
"name": "setCustomValidity",
|
|
39619
|
-
"
|
|
39620
|
-
|
|
39621
|
-
|
|
39622
|
-
|
|
39623
|
-
|
|
39624
|
-
"value": "(message: string) => void",
|
|
39625
|
-
"description": ""
|
|
39245
|
+
"parameters": [
|
|
39246
|
+
{
|
|
39247
|
+
"name": "message",
|
|
39248
|
+
"type": {
|
|
39249
|
+
"text": "string"
|
|
39626
39250
|
}
|
|
39627
|
-
|
|
39251
|
+
}
|
|
39252
|
+
],
|
|
39253
|
+
"return": {
|
|
39254
|
+
"type": {
|
|
39255
|
+
"text": "void"
|
|
39256
|
+
}
|
|
39628
39257
|
},
|
|
39629
39258
|
"description": "Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity",
|
|
39630
39259
|
"inheritedFrom": {
|
|
@@ -39634,15 +39263,11 @@
|
|
|
39634
39263
|
{
|
|
39635
39264
|
"kind": "method",
|
|
39636
39265
|
"name": "reset",
|
|
39637
|
-
"
|
|
39638
|
-
|
|
39639
|
-
"
|
|
39640
|
-
|
|
39641
|
-
|
|
39642
|
-
"value": "() => void",
|
|
39643
|
-
"description": ""
|
|
39644
|
-
}
|
|
39645
|
-
]
|
|
39266
|
+
"parameters": [],
|
|
39267
|
+
"return": {
|
|
39268
|
+
"type": {
|
|
39269
|
+
"text": "void"
|
|
39270
|
+
}
|
|
39646
39271
|
},
|
|
39647
39272
|
"description": "Resets the control value to its initial value.",
|
|
39648
39273
|
"inheritedFrom": {
|
|
@@ -39942,7 +39567,7 @@
|
|
|
39942
39567
|
"since": "1.27.0",
|
|
39943
39568
|
"status": "stable",
|
|
39944
39569
|
"behavior": "form",
|
|
39945
|
-
"markdown": "## nve-resize-handle\n\nA resize-handle slider is a control that enables users to resize views or panels vertically or horizontally.\n\n### Example\n\n```html\n<nve-resize-handle></nve-resize-handle>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/resize-handle/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
39570
|
+
"markdown": "## nve-resize-handle\n\nA resize-handle slider is a control that enables users to resize views or panels vertically or horizontally.\n\n### Example\n\n```html\n<nve-resize-handle></nve-resize-handle>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/resize-handle/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| i18n | | Updates internal string values for internationalization. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| max | `number` | Determines the max resize value. |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| min | `number` | Determines the min resize value. |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| orientation | `'horizontal' \\| 'vertical' \\| undefined` | Controls the directional flow of the element's layout and interaction pattern. - `horizontal` Element orients horizontally with left-to-right flow. - `vertical` Element orients vertically with top-to-bottom flow. |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| step | `number` | Determines the value step change. |\n| type | `string` | The control type. |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| value | | The current form control value. https://mdn.dev/HTML/Attributes/value |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| valueAsString | `string` | The current value serialized as a string. |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| toggle | `CustomEvent` | Dispatched when the resize handle is double clicked. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| checkValidity | `checkValidity(): boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| reportValidity | `reportValidity(): boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| reset | `reset(): void` | Resets the control value to its initial value. |\n| setCustomValidity | `setCustomValidity(message: string): void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --line-width | `string` | |\n| --target-size | `string` | |"
|
|
39946
39571
|
}
|
|
39947
39572
|
}
|
|
39948
39573
|
],
|
|
@@ -40279,26 +39904,6 @@
|
|
|
40279
39904
|
"module": "/src/forms/control/control.js"
|
|
40280
39905
|
}
|
|
40281
39906
|
},
|
|
40282
|
-
{
|
|
40283
|
-
"kind": "field",
|
|
40284
|
-
"name": "nveControl",
|
|
40285
|
-
"type": {
|
|
40286
|
-
"text": "string",
|
|
40287
|
-
"_sourceAliases": [],
|
|
40288
|
-
"values": [
|
|
40289
|
-
{
|
|
40290
|
-
"value": "string",
|
|
40291
|
-
"description": ""
|
|
40292
|
-
}
|
|
40293
|
-
]
|
|
40294
|
-
},
|
|
40295
|
-
"privacy": "protected",
|
|
40296
|
-
"default": "''",
|
|
40297
|
-
"inheritedFrom": {
|
|
40298
|
-
"name": "Control",
|
|
40299
|
-
"module": "/src/forms/control/control.js"
|
|
40300
|
-
}
|
|
40301
|
-
},
|
|
40302
39907
|
{
|
|
40303
39908
|
"kind": "method",
|
|
40304
39909
|
"name": "reset",
|
|
@@ -40307,15 +39912,6 @@
|
|
|
40307
39912
|
"name": "Control",
|
|
40308
39913
|
"module": "/src/forms/control/control.js"
|
|
40309
39914
|
}
|
|
40310
|
-
},
|
|
40311
|
-
{
|
|
40312
|
-
"kind": "method",
|
|
40313
|
-
"name": "showPicker",
|
|
40314
|
-
"privacy": "protected",
|
|
40315
|
-
"inheritedFrom": {
|
|
40316
|
-
"name": "Control",
|
|
40317
|
-
"module": "/src/forms/control/control.js"
|
|
40318
|
-
}
|
|
40319
39915
|
}
|
|
40320
39916
|
],
|
|
40321
39917
|
"attributes": [
|
|
@@ -40516,7 +40112,7 @@
|
|
|
40516
40112
|
"since": "0.3.0",
|
|
40517
40113
|
"status": "stable",
|
|
40518
40114
|
"behavior": "form",
|
|
40519
|
-
"markdown": "## nve-search\n\nA search is a control that enables users to enter text to search.\n\n### Example\n\n```html\n<nve-search>\n <label>label</label>\n <input type=\"search\" />\n <nve-control-message>message</nve-control-message>\n</nve-search>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/search/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
40115
|
+
"markdown": "## nve-search\n\nA search is a control that enables users to enter text to search.\n\n### Example\n\n```html\n<nve-search>\n <label>label</label>\n <input type=\"search\" />\n <nve-control-message>message</nve-control-message>\n</nve-search>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/search/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| rounded | `boolean` | Sets the rounded visual style of the input. |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
40520
40116
|
},
|
|
40521
40117
|
"slots": [
|
|
40522
40118
|
{
|
|
@@ -40942,26 +40538,6 @@
|
|
|
40942
40538
|
"module": "/src/forms/control/control.js"
|
|
40943
40539
|
}
|
|
40944
40540
|
},
|
|
40945
|
-
{
|
|
40946
|
-
"kind": "field",
|
|
40947
|
-
"name": "nveControl",
|
|
40948
|
-
"type": {
|
|
40949
|
-
"text": "string",
|
|
40950
|
-
"_sourceAliases": [],
|
|
40951
|
-
"values": [
|
|
40952
|
-
{
|
|
40953
|
-
"value": "string",
|
|
40954
|
-
"description": ""
|
|
40955
|
-
}
|
|
40956
|
-
]
|
|
40957
|
-
},
|
|
40958
|
-
"privacy": "protected",
|
|
40959
|
-
"default": "''",
|
|
40960
|
-
"inheritedFrom": {
|
|
40961
|
-
"name": "Control",
|
|
40962
|
-
"module": "/src/forms/control/control.js"
|
|
40963
|
-
}
|
|
40964
|
-
},
|
|
40965
40541
|
{
|
|
40966
40542
|
"kind": "method",
|
|
40967
40543
|
"name": "reset",
|
|
@@ -40970,15 +40546,6 @@
|
|
|
40970
40546
|
"name": "Control",
|
|
40971
40547
|
"module": "/src/forms/control/control.js"
|
|
40972
40548
|
}
|
|
40973
|
-
},
|
|
40974
|
-
{
|
|
40975
|
-
"kind": "method",
|
|
40976
|
-
"name": "showPicker",
|
|
40977
|
-
"privacy": "protected",
|
|
40978
|
-
"inheritedFrom": {
|
|
40979
|
-
"name": "Control",
|
|
40980
|
-
"module": "/src/forms/control/control.js"
|
|
40981
|
-
}
|
|
40982
40549
|
}
|
|
40983
40550
|
],
|
|
40984
40551
|
"attributes": [
|
|
@@ -41163,7 +40730,7 @@
|
|
|
41163
40730
|
"since": "0.3.0",
|
|
41164
40731
|
"status": "stable",
|
|
41165
40732
|
"behavior": "form",
|
|
41166
|
-
"markdown": "## nve-select\n\nA select is a control that enables users to select an option from a list of options.\n\n### Example\n\n```html\n<nve-select>\n <label>label</label>\n <select>\n <option value=\"1\">Option 1</option>\n <option value=\"2\">Option 2</option>\n <option value=\"3\">Option 3</option>\n </select>\n <nve-control-message>message</nve-control-message>\n</nve-select>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/select/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Select input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inline' \\| undefined` | Flat container option applies when embedding the component within another containing element |\n|
|
|
40733
|
+
"markdown": "## nve-select\n\nA select is a control that enables users to select an option from a list of options.\n\n### Example\n\n```html\n<nve-select>\n <label>label</label>\n <select>\n <option value=\"1\">Option 1</option>\n <option value=\"2\">Option 2</option>\n <option value=\"3\">Option 3</option>\n </select>\n <nve-control-message>message</nve-control-message>\n</nve-select>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/select/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Select input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inline' \\| undefined` | Flat container option applies when embedding the component within another containing element |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Updates internal string values for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --scroll-height | `string` | |\n| --text-align | `string` | [MDN](https://mdn.dev/CSS/text-align) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
41167
40734
|
},
|
|
41168
40735
|
"events": [
|
|
41169
40736
|
{
|
|
@@ -41393,7 +40960,7 @@
|
|
|
41393
40960
|
"since": "1.44.0",
|
|
41394
40961
|
"status": "stable",
|
|
41395
40962
|
"behavior": "content",
|
|
41396
|
-
"markdown": "## nve-skeleton\n\nA loading placeholder component that displays animated placeholder shapes while content loads.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:xs align:stretch\">\n <nve-skeleton></nve-skeleton>\n <nve-skeleton style=\"width: 90%\"></nve-skeleton>\n <nve-skeleton style=\"width: 80%\"></nve-skeleton>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/skeleton/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Loaded content that replaces the placeholder when provided. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| effect | `'shimmer' \\| 'pulse'` | Visual animation style shown while content loads. |\n|
|
|
40963
|
+
"markdown": "## nve-skeleton\n\nA loading placeholder component that displays animated placeholder shapes while content loads.\n\n### Example\n\n```html\n<div nve-layout=\"column gap:xs align:stretch\">\n <nve-skeleton></nve-skeleton>\n <nve-skeleton style=\"width: 90%\"></nve-skeleton>\n <nve-skeleton style=\"width: 80%\"></nve-skeleton>\n</div>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/skeleton/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Loaded content that replaces the placeholder when provided. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| effect | `'shimmer' \\| 'pulse'` | Visual animation style shown while content loads. |\n| hidden | `boolean` | Hides the skeleton host when `true` and sets `aria-busy` to the inverse visibility state. |\n| shape | `'round' \\| 'pill'` | Geometry of the placeholder — rounded corners or a full pill outline. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |"
|
|
41397
40964
|
}
|
|
41398
40965
|
}
|
|
41399
40966
|
],
|
|
@@ -42197,7 +41764,7 @@
|
|
|
42197
41764
|
"since": "0.11.0",
|
|
42198
41765
|
"status": "stable",
|
|
42199
41766
|
"behavior": "button",
|
|
42200
|
-
"markdown": "## nve-sort-button\n\nA sort button is a control that enables users to sort a list of items in ascending or descending order.\n\n### Example\n\n```html\n<nve-sort-button></nve-sort-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/sort-button/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
41767
|
+
"markdown": "## nve-sort-button\n\nA sort button is a control that enables users to sort a list of items in ascending or descending order.\n\n### Example\n\n```html\n<nve-sort-button></nve-sort-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/sort-button/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| i18n | | Updates internal string values for internationalization. |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| sort | `'ascending' \\| 'descending' \\| 'none'` | The current sort value, can be ascending, descending, or none. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| sort | `CustomEvent` | Dispatched on activation with `detail: { value, next }`, where `value` is the current sort and `next` follows the cycle `none` → `ascending` → `descending` → `none`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
42201
41768
|
}
|
|
42202
41769
|
}
|
|
42203
41770
|
],
|
|
@@ -42973,7 +42540,7 @@
|
|
|
42973
42540
|
"since": "0.0.0",
|
|
42974
42541
|
"status": "stable",
|
|
42975
42542
|
"behavior": "content",
|
|
42976
|
-
"markdown": "## nve-sparkline\n\nA sparkline is a compact, word-sized chart with typographic scale, for data-dense layouts (text, tables, cards, dashboards).\n\n### Example\n\n```html\n<nve-sparkline id=\"default\"></nve-sparkline>\n<script type=\"module\">\n const sparkline = document.querySelector(\"nve-sparkline#default\");\n sparkline.data = [18, 22, 20, 24, 19, 28, 25, 30];\n</script>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/sparkline/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| data | `number[]` | Numeric values representing a data series. |\n| mark | `'line' \\| 'area' \\| 'gradient' \\| 'column' \\| 'winloss'` | Controls the visual representation of data points. - `line` Renders data as a connected line to emphasize macro trend. - `area` Renders data as a filled area beneath a line to emphasize magnitude over time. - `gradient` Renders a line with gradient color treatment to communicate value intensity across the series. - `column` Renders data as vertical columns for easy comparison of discrete values. - `winloss` Renders outcomes as binary or ternary bars to highlight wins, losses, and optional ties. |\n|
|
|
42543
|
+
"markdown": "## nve-sparkline\n\nA sparkline is a compact, word-sized chart with typographic scale, for data-dense layouts (text, tables, cards, dashboards).\n\n### Example\n\n```html\n<nve-sparkline id=\"default\"></nve-sparkline>\n<script type=\"module\">\n const sparkline = document.querySelector(\"nve-sparkline#default\");\n sparkline.data = [18, 22, 20, 24, 19, 28, 25, 30];\n</script>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/sparkline/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| data | `number[]` | Numeric values representing a data series. |\n| denoteFirst (denote-first) | `boolean` | Denotes the first data point by rendering a symbol at its position. |\n| denoteLast (denote-last) | `boolean` | Denotes the last data point by rendering a symbol at its position. |\n| denoteMax (denote-max) | `boolean` | Denotes all maximum-value data points by rendering symbols at their positions. |\n| denoteMin (denote-min) | `boolean` | Denotes all minimum-value data points by rendering symbols at their positions. |\n| interpolation | `'linear' \\| 'smooth' \\| 'step'` | Controls how the chart connects intermediate values between points in a data series. Defaults to `linear`. - `linear` Connects points with straight line segments. - `smooth` Connects points with smooth bezier curves. - `step` Connects points with horizontal and vertical step segments. |\n| intervalLength (interval-length) | `number` | Controls spacing between points in a line, in em (1 = chart height). Defaults to `0.6`. |\n| mark | `'line' \\| 'area' \\| 'gradient' \\| 'column' \\| 'winloss'` | Controls the visual representation of data points. - `line` Renders data as a connected line to emphasize macro trend. - `area` Renders data as a filled area beneath a line to emphasize magnitude over time. - `gradient` Renders a line with gradient color treatment to communicate value intensity across the series. - `column` Renders data as vertical columns for easy comparison of discrete values. - `winloss` Renders outcomes as binary or ternary bars to highlight wins, losses, and optional ties. |\n| max | `number \\| undefined` | Upper bound for the y-axis domain. When undefined, derives the bound from data. |\n| min | `number \\| undefined` | Lower bound for the y-axis domain. When undefined, derives the bound from data. |\n| size | `'xs' \\| 'sm' \\| 'md' \\| 'lg' \\| 'xl' \\| undefined` | Controls the sparkline size with explicit font-size tokens. Omit to auto-scale with parent font-size (1em). - `xs` Extra small size for minimal elements or highly dense layouts. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. - `xl` Extra large size for emphasizing elements or sparse layouts. |\n| status | `'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored' \\| 'accent' \\| 'warning' \\| 'success' \\| 'danger' \\| undefined` | Applies semantic status colors used across Elements status patterns. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --draw-color | `string` | Color used to represent zero values (draws / neutral outcomes). |\n| --fill-color | `string` | Color used by area and column marks. |\n| --gradient-max-color | `string` | |\n| --gradient-min-color | `string` | |\n| --height | `string` | Height (defaults to 1em and scales with parent font-size). [MDN](https://mdn.dev/CSS/height) |\n| --line-color | `string` | |\n| --line-width | `string` | |\n| --loss-color | `string` | Color used to represent negative values (losses). |\n| --symbol-border-color | `string` | |\n| --symbol-border-width | `string` | |\n| --symbol-color | `string` | |\n| --symbol-radius | `string` | symbol circle radius in SVG units. |\n| --win-color | `string` | Color used to represent positive values (wins). |\n| --zero-line-color | `string` | |\n| --zero-line-width | `string` | |"
|
|
42977
42544
|
}
|
|
42978
42545
|
}
|
|
42979
42546
|
],
|
|
@@ -43705,26 +43272,6 @@
|
|
|
43705
43272
|
"module": "/src/forms/control/control.js"
|
|
43706
43273
|
}
|
|
43707
43274
|
},
|
|
43708
|
-
{
|
|
43709
|
-
"kind": "field",
|
|
43710
|
-
"name": "nveControl",
|
|
43711
|
-
"type": {
|
|
43712
|
-
"text": "string",
|
|
43713
|
-
"_sourceAliases": [],
|
|
43714
|
-
"values": [
|
|
43715
|
-
{
|
|
43716
|
-
"value": "string",
|
|
43717
|
-
"description": ""
|
|
43718
|
-
}
|
|
43719
|
-
]
|
|
43720
|
-
},
|
|
43721
|
-
"privacy": "protected",
|
|
43722
|
-
"default": "''",
|
|
43723
|
-
"inheritedFrom": {
|
|
43724
|
-
"name": "Control",
|
|
43725
|
-
"module": "/src/forms/control/control.js"
|
|
43726
|
-
}
|
|
43727
|
-
},
|
|
43728
43275
|
{
|
|
43729
43276
|
"kind": "method",
|
|
43730
43277
|
"name": "reset",
|
|
@@ -43733,15 +43280,6 @@
|
|
|
43733
43280
|
"name": "Control",
|
|
43734
43281
|
"module": "/src/forms/control/control.js"
|
|
43735
43282
|
}
|
|
43736
|
-
},
|
|
43737
|
-
{
|
|
43738
|
-
"kind": "method",
|
|
43739
|
-
"name": "showPicker",
|
|
43740
|
-
"privacy": "protected",
|
|
43741
|
-
"inheritedFrom": {
|
|
43742
|
-
"name": "Control",
|
|
43743
|
-
"module": "/src/forms/control/control.js"
|
|
43744
|
-
}
|
|
43745
43283
|
}
|
|
43746
43284
|
],
|
|
43747
43285
|
"superclass": {
|
|
@@ -43766,7 +43304,7 @@
|
|
|
43766
43304
|
"since": "1.23.1",
|
|
43767
43305
|
"status": "stable",
|
|
43768
43306
|
"behavior": "form",
|
|
43769
|
-
"markdown": "## nve-star-rating\n\nA star rating component lets users rate something using stars, providing a quick visual representation of feedback\n\n### Example\n\n```html\n<nve-star-rating>\n <label>rate this input</label>\n <input id=\"range\" type=\"range\" max=\"5\" value=\"3\" min=\"0\" />\n <nve-control-message>message</nve-control-message>\n</nve-star-rating>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/star-rating/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
43307
|
+
"markdown": "## nve-star-rating\n\nA star rating component lets users rate something using stars, providing a quick visual representation of feedback\n\n### Example\n\n```html\n<nve-star-rating>\n <label>rate this input</label>\n <input id=\"range\" type=\"range\" max=\"5\" value=\"3\" min=\"0\" />\n <nve-control-message>message</nve-control-message>\n</nve-star-rating>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/star-rating/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --star-size | `string` | |\n| --stroke-color | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
43770
43308
|
},
|
|
43771
43309
|
"slots": [
|
|
43772
43310
|
{
|
|
@@ -44784,7 +44322,7 @@
|
|
|
44784
44322
|
"since": "0.30.0",
|
|
44785
44323
|
"status": "stable",
|
|
44786
44324
|
"behavior": "button",
|
|
44787
|
-
"markdown": "## nve-steps-item\n\nRepresents an individual step within a multi-step workflow, displaying its status and enabling navigation within the parent steps component.\n\n### Example\n\n```html\n<nve-steps behavior-select>\n <nve-steps-item status=\"success\">Step 1</nve-steps-item>\n <nve-steps-item status=\"danger\">Step 2</nve-steps-item>\n <nve-steps-item selected>Step 3</nve-steps-item>\n <nve-steps-item status=\"pending\">Step 4</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/steps/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for step text |\n| status-icon | `string` | custom slotted step icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
44325
|
+
"markdown": "## nve-steps-item\n\nRepresents an individual step within a multi-step workflow, displaying its status and enabling navigation within the parent steps component.\n\n### Example\n\n```html\n<nve-steps behavior-select>\n <nve-steps-item status=\"success\">Step 1</nve-steps-item>\n <nve-steps-item status=\"danger\">Step 2</nve-steps-item>\n <nve-steps-item selected>Step 3</nve-steps-item>\n <nve-steps-item status=\"pending\">Step 4</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/steps/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for step text |\n| status-icon | `string` | custom slotted step icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| container | `'condensed' \\| undefined` | Determines whether the steps should display in condensed format with no text labels. |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| status | `'accent' \\| 'danger' \\| 'success' \\| 'pending' \\| undefined` | Controls the step status. `accent` has no default status icon, `danger` displays an alert icon, `success` displays a check icon, and `pending` displays a progress indicator. Omit the property to display the step number. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
44788
44326
|
}
|
|
44789
44327
|
},
|
|
44790
44328
|
{
|
|
@@ -44944,7 +44482,7 @@
|
|
|
44944
44482
|
"since": "0.30.0",
|
|
44945
44483
|
"status": "stable",
|
|
44946
44484
|
"behavior": "navigation",
|
|
44947
|
-
"markdown": "## nve-steps\n\nSteps enables a multi-step workflow allowing a user to complete a goal in a specific sequence.\n\n### Example\n\n```html\n<nve-steps behavior-select>\n <nve-steps-item status=\"success\">Step 1</nve-steps-item>\n <nve-steps-item status=\"danger\">Step 2</nve-steps-item>\n <nve-steps-item selected>Step 3</nve-steps-item>\n <nve-steps-item status=\"pending\">Step 4</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/steps/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for steps-item |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
44485
|
+
"markdown": "## nve-steps\n\nSteps enables a multi-step workflow allowing a user to complete a goal in a specific sequence.\n\n### Example\n\n```html\n<nve-steps behavior-select>\n <nve-steps-item status=\"success\">Step 1</nve-steps-item>\n <nve-steps-item status=\"danger\">Step 2</nve-steps-item>\n <nve-steps-item selected>Step 3</nve-steps-item>\n <nve-steps-item status=\"pending\">Step 4</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/steps/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for steps-item |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorSelect (behavior-select) | `boolean` | Determines whether the steps should handle selection behavior vs. defaults to off. |\n| container | `'condensed' \\| undefined` | Determines whether the steps should display in condensed format with no text labels. |\n| vertical | `boolean` | Determines whether the steps should display in a vertical layout vs. defaulting to horizontal. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |"
|
|
44948
44486
|
}
|
|
44949
44487
|
}
|
|
44950
44488
|
],
|
|
@@ -45059,6 +44597,26 @@
|
|
|
45059
44597
|
"name": "ControlGroup",
|
|
45060
44598
|
"module": "/src/forms/control-group/control-group.js"
|
|
45061
44599
|
}
|
|
44600
|
+
},
|
|
44601
|
+
{
|
|
44602
|
+
"kind": "field",
|
|
44603
|
+
"name": "label",
|
|
44604
|
+
"description": "Returns the label associated with the control group.",
|
|
44605
|
+
"readonly": true,
|
|
44606
|
+
"inheritedFrom": {
|
|
44607
|
+
"name": "ControlGroup",
|
|
44608
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
44609
|
+
}
|
|
44610
|
+
},
|
|
44611
|
+
{
|
|
44612
|
+
"kind": "field",
|
|
44613
|
+
"name": "inputs",
|
|
44614
|
+
"description": "Returns the input elements associated with the control group.",
|
|
44615
|
+
"readonly": true,
|
|
44616
|
+
"inheritedFrom": {
|
|
44617
|
+
"name": "ControlGroup",
|
|
44618
|
+
"module": "/src/forms/control-group/control-group.js"
|
|
44619
|
+
}
|
|
45062
44620
|
}
|
|
45063
44621
|
],
|
|
45064
44622
|
"superclass": {
|
|
@@ -45082,7 +44640,7 @@
|
|
|
45082
44640
|
"since": "0.3.0",
|
|
45083
44641
|
"status": "stable",
|
|
45084
44642
|
"behavior": "form",
|
|
45085
|
-
"markdown": "## nve-switch-group\n\nA switch group is a container for a group of switches.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/switch/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-
|
|
44643
|
+
"markdown": "## nve-switch-group\n\nA switch group is a container for a group of switches.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/switch/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input elements |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| inputs | | Returns the input elements associated with the control group. |\n| label | | Returns the label associated with the control group. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control group |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
|
|
45086
44644
|
},
|
|
45087
44645
|
"slots": [
|
|
45088
44646
|
{
|
|
@@ -45329,26 +44887,6 @@
|
|
|
45329
44887
|
}
|
|
45330
44888
|
],
|
|
45331
44889
|
"members": [
|
|
45332
|
-
{
|
|
45333
|
-
"kind": "field",
|
|
45334
|
-
"name": "nveControl",
|
|
45335
|
-
"type": {
|
|
45336
|
-
"text": "string",
|
|
45337
|
-
"_sourceAliases": [],
|
|
45338
|
-
"values": [
|
|
45339
|
-
{
|
|
45340
|
-
"value": "string",
|
|
45341
|
-
"description": ""
|
|
45342
|
-
}
|
|
45343
|
-
]
|
|
45344
|
-
},
|
|
45345
|
-
"privacy": "protected",
|
|
45346
|
-
"default": "'inline'",
|
|
45347
|
-
"inheritedFrom": {
|
|
45348
|
-
"name": "Control",
|
|
45349
|
-
"module": "/src/forms/control/control.js"
|
|
45350
|
-
}
|
|
45351
|
-
},
|
|
45352
44890
|
{
|
|
45353
44891
|
"kind": "field",
|
|
45354
44892
|
"name": "status",
|
|
@@ -45506,15 +45044,6 @@
|
|
|
45506
45044
|
"name": "Control",
|
|
45507
45045
|
"module": "/src/forms/control/control.js"
|
|
45508
45046
|
}
|
|
45509
|
-
},
|
|
45510
|
-
{
|
|
45511
|
-
"kind": "method",
|
|
45512
|
-
"name": "showPicker",
|
|
45513
|
-
"privacy": "protected",
|
|
45514
|
-
"inheritedFrom": {
|
|
45515
|
-
"name": "Control",
|
|
45516
|
-
"module": "/src/forms/control/control.js"
|
|
45517
|
-
}
|
|
45518
45047
|
}
|
|
45519
45048
|
],
|
|
45520
45049
|
"superclass": {
|
|
@@ -45539,7 +45068,7 @@
|
|
|
45539
45068
|
"since": "0.3.0",
|
|
45540
45069
|
"status": "stable",
|
|
45541
45070
|
"behavior": "form",
|
|
45542
|
-
"markdown": "## nve-switch\n\nA switch is a control that enables users to switch between two mutually exclusive options (on or off, checked or unchecked) through a single click or tap.\n\n### Example\n\n```html\n<nve-switch>\n <label>label</label>\n <input type=\"checkbox\" />\n</nve-switch>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/switch/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
45071
|
+
"markdown": "## nve-switch\n\nA switch is a control that enables users to switch between two mutually exclusive options (on or off, checked or unchecked) through a single click or tap.\n\n### Example\n\n```html\n<nve-switch>\n <label>label</label>\n <input type=\"checkbox\" />\n</nve-switch>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/switch/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --anchor-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --anchor-border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --anchor-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --anchor-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border-width | `string` | [MDN](https://mdn.dev/CSS/border-width) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
45543
45072
|
},
|
|
45544
45073
|
"slots": [
|
|
45545
45074
|
{
|
|
@@ -46613,7 +46142,7 @@
|
|
|
46613
46142
|
"since": "0.10.0",
|
|
46614
46143
|
"status": "stable",
|
|
46615
46144
|
"behavior": "button",
|
|
46616
|
-
"markdown": "## nve-tabs-item\n\nRepresents an individual tab within a tablist, providing a selectable button for switching between content views.\n\n### Example\n\n```html\n<nve-tabs-group id=\"tab-group-default\">\n <nve-tabs>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"details\">Details</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"settings\">Settings</nve-tabs-item>\n </nve-tabs>\n <div slot=\"overview\">overview content</div>\n <div slot=\"details\">details content</div>\n <div slot=\"settings\">settings content</div>\n</nve-tabs-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tabs/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The label displayed for the tab. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
46145
|
+
"markdown": "## nve-tabs-item\n\nRepresents an individual tab within a tablist, providing a selectable button for switching between content views.\n\n### Example\n\n```html\n<nve-tabs-group id=\"tab-group-default\">\n <nve-tabs>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"details\">Details</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"settings\">Settings</nve-tabs-item>\n </nve-tabs>\n <div slot=\"overview\">overview content</div>\n <div slot=\"details\">details content</div>\n <div slot=\"settings\">settings content</div>\n</nve-tabs-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tabs/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The label displayed for the tab. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
46617
46146
|
}
|
|
46618
46147
|
},
|
|
46619
46148
|
{
|
|
@@ -46799,7 +46328,7 @@
|
|
|
46799
46328
|
"since": "0.10.0",
|
|
46800
46329
|
"status": "stable",
|
|
46801
46330
|
"behavior": "navigation",
|
|
46802
|
-
"markdown": "## nve-tabs\n\nTabs provide a selection UX, typically used for swapping content shown on a page, or within a navigation context.\n\n### Example\n\n```html\n<nve-tabs-group id=\"tab-group-default\">\n <nve-tabs>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"details\">Details</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"settings\">Settings</nve-tabs-item>\n </nve-tabs>\n <div slot=\"overview\">overview content</div>\n <div slot=\"details\">details content</div>\n <div slot=\"settings\">settings content</div>\n</nve-tabs-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tabs/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for tab-item |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
46331
|
+
"markdown": "## nve-tabs\n\nTabs provide a selection UX, typically used for swapping content shown on a page, or within a navigation context.\n\n### Example\n\n```html\n<nve-tabs-group id=\"tab-group-default\">\n <nve-tabs>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"details\">Details</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"tab-group-default\" value=\"settings\">Settings</nve-tabs-item>\n </nve-tabs>\n <div slot=\"overview\">overview content</div>\n <div slot=\"details\">details content</div>\n <div slot=\"settings\">settings content</div>\n</nve-tabs-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tabs/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for tab-item |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorSelect (behavior-select) | `boolean` | Determines whether the tabs should handle selection behavior vs. defaults to off. |\n| borderless | `boolean` | Determines whether the tabs should display a border on selected items vs. defaults to show border. |\n| vertical | `boolean` | Determines whether the tabs should display in a vertical layout vs. defaulting to horizontal. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-inset | `string` | |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --indicator-background | `string` | |\n| --indicator-border-radius | `string` | |\n| --indicator-height | `string` | |"
|
|
46803
46332
|
}
|
|
46804
46333
|
}
|
|
46805
46334
|
],
|
|
@@ -47884,7 +47413,7 @@
|
|
|
47884
47413
|
"since": "0.10.0",
|
|
47885
47414
|
"status": "stable",
|
|
47886
47415
|
"behavior": "button",
|
|
47887
|
-
"markdown": "## nve-tag\n\nA interactive element that represents a category or group of content. Typically used to filter or organize content for one to many relations.\n\n### Example\n\n```html\n<nve-tag>topic-tag</nve-tag>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tag/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text or other content that identifies the category or group. |\n| prefix | `string` | Optional prefix content, such as a status nve-icon. |\n| suffix | `string` | Optional suffix content, such as a nve-dot counter. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n|
|
|
47416
|
+
"markdown": "## nve-tag\n\nA interactive element that represents a category or group of content. Typically used to filter or organize content for one to many relations.\n\n### Example\n\n```html\n<nve-tag>topic-tag</nve-tag>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tag/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Text or other content that identifies the category or group. |\n| prefix | `string` | Optional prefix content, such as a status nve-icon. |\n| suffix | `string` | Optional suffix content, such as a nve-dot counter. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| i18n | | Updates internal string values for internationalization. |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| prominence | `'emphasis' \\| undefined` | Determines the visual prominence or weight |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | 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://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
47888
47417
|
}
|
|
47889
47418
|
}
|
|
47890
47419
|
],
|
|
@@ -48210,26 +47739,6 @@
|
|
|
48210
47739
|
"module": "/src/forms/control/control.js"
|
|
48211
47740
|
}
|
|
48212
47741
|
},
|
|
48213
|
-
{
|
|
48214
|
-
"kind": "field",
|
|
48215
|
-
"name": "nveControl",
|
|
48216
|
-
"type": {
|
|
48217
|
-
"text": "string",
|
|
48218
|
-
"_sourceAliases": [],
|
|
48219
|
-
"values": [
|
|
48220
|
-
{
|
|
48221
|
-
"value": "string",
|
|
48222
|
-
"description": ""
|
|
48223
|
-
}
|
|
48224
|
-
]
|
|
48225
|
-
},
|
|
48226
|
-
"privacy": "protected",
|
|
48227
|
-
"default": "''",
|
|
48228
|
-
"inheritedFrom": {
|
|
48229
|
-
"name": "Control",
|
|
48230
|
-
"module": "/src/forms/control/control.js"
|
|
48231
|
-
}
|
|
48232
|
-
},
|
|
48233
47742
|
{
|
|
48234
47743
|
"kind": "method",
|
|
48235
47744
|
"name": "reset",
|
|
@@ -48238,15 +47747,6 @@
|
|
|
48238
47747
|
"name": "Control",
|
|
48239
47748
|
"module": "/src/forms/control/control.js"
|
|
48240
47749
|
}
|
|
48241
|
-
},
|
|
48242
|
-
{
|
|
48243
|
-
"kind": "method",
|
|
48244
|
-
"name": "showPicker",
|
|
48245
|
-
"privacy": "protected",
|
|
48246
|
-
"inheritedFrom": {
|
|
48247
|
-
"name": "Control",
|
|
48248
|
-
"module": "/src/forms/control/control.js"
|
|
48249
|
-
}
|
|
48250
47750
|
}
|
|
48251
47751
|
],
|
|
48252
47752
|
"superclass": {
|
|
@@ -48271,7 +47771,7 @@
|
|
|
48271
47771
|
"since": "0.3.0",
|
|
48272
47772
|
"status": "stable",
|
|
48273
47773
|
"behavior": "form",
|
|
48274
|
-
"markdown": "## nve-textarea\n\nA textarea is a control that enables users to enter and edit text.\n\n### Example\n\n```html\n<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/textarea/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n|
|
|
47774
|
+
"markdown": "## nve-textarea\n\nA textarea is a control that enables users to enter and edit text.\n\n### Example\n\n```html\n<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/textarea/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n| prefix | `string` | Content to display before the textarea. |\n| suffix | `string` | Content to display after the textarea. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
48275
47775
|
},
|
|
48276
47776
|
"attributes": [
|
|
48277
47777
|
{
|
|
@@ -48739,26 +48239,6 @@
|
|
|
48739
48239
|
"module": "/src/forms/control/control.js"
|
|
48740
48240
|
}
|
|
48741
48241
|
},
|
|
48742
|
-
{
|
|
48743
|
-
"kind": "field",
|
|
48744
|
-
"name": "nveControl",
|
|
48745
|
-
"type": {
|
|
48746
|
-
"text": "string",
|
|
48747
|
-
"_sourceAliases": [],
|
|
48748
|
-
"values": [
|
|
48749
|
-
{
|
|
48750
|
-
"value": "string",
|
|
48751
|
-
"description": ""
|
|
48752
|
-
}
|
|
48753
|
-
]
|
|
48754
|
-
},
|
|
48755
|
-
"privacy": "protected",
|
|
48756
|
-
"default": "''",
|
|
48757
|
-
"inheritedFrom": {
|
|
48758
|
-
"name": "Control",
|
|
48759
|
-
"module": "/src/forms/control/control.js"
|
|
48760
|
-
}
|
|
48761
|
-
},
|
|
48762
48242
|
{
|
|
48763
48243
|
"kind": "method",
|
|
48764
48244
|
"name": "reset",
|
|
@@ -48767,15 +48247,6 @@
|
|
|
48767
48247
|
"name": "Control",
|
|
48768
48248
|
"module": "/src/forms/control/control.js"
|
|
48769
48249
|
}
|
|
48770
|
-
},
|
|
48771
|
-
{
|
|
48772
|
-
"kind": "method",
|
|
48773
|
-
"name": "showPicker",
|
|
48774
|
-
"privacy": "protected",
|
|
48775
|
-
"inheritedFrom": {
|
|
48776
|
-
"name": "Control",
|
|
48777
|
-
"module": "/src/forms/control/control.js"
|
|
48778
|
-
}
|
|
48779
48250
|
}
|
|
48780
48251
|
],
|
|
48781
48252
|
"attributes": [
|
|
@@ -48956,7 +48427,7 @@
|
|
|
48956
48427
|
"since": "0.3.0",
|
|
48957
48428
|
"status": "stable",
|
|
48958
48429
|
"behavior": "form",
|
|
48959
|
-
"markdown": "## nve-time\n\nA time picker is a control that enables users to choose a time value.\n\n### Example\n\n```html\n<nve-time>\n <label>label</label>\n <input type=\"time\" min=\"09:00\" max=\"18:00\" value=\"12:00\" />\n <nve-control-message>message</nve-control-message>\n</nve-time>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/time/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
48430
|
+
"markdown": "## nve-time\n\nA time picker is a control that enables users to choose a time value.\n\n### Example\n\n```html\n<nve-time>\n <label>label</label>\n <input type=\"time\" min=\"09:00\" max=\"18:00\" value=\"12:00\" />\n <nve-control-message>message</nve-control-message>\n</nve-time>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/time/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
48960
48431
|
},
|
|
48961
48432
|
"slots": [
|
|
48962
48433
|
{
|
|
@@ -49312,12 +48783,6 @@
|
|
|
49312
48783
|
"name": "i18n",
|
|
49313
48784
|
"description": "Updates internal string values for internationalization.",
|
|
49314
48785
|
"attribute": "i18n"
|
|
49315
|
-
},
|
|
49316
|
-
{
|
|
49317
|
-
"kind": "field",
|
|
49318
|
-
"name": "typeNativePopoverController",
|
|
49319
|
-
"privacy": "protected",
|
|
49320
|
-
"default": "new TypeNativePopoverController<Toast>(this)"
|
|
49321
48786
|
}
|
|
49322
48787
|
],
|
|
49323
48788
|
"events": [
|
|
@@ -49546,7 +49011,7 @@
|
|
|
49546
49011
|
"since": "0.6.0",
|
|
49547
49012
|
"status": "stable",
|
|
49548
49013
|
"behavior": "popover",
|
|
49549
|
-
"markdown": "## nve-toast\n\nA contextual popup that displays a status. Toasts are [triggered](https://w3c.github.io/aria/#tooltip) by clicking, focusing, or tapping an element and cannot have interactive elements within them.\n\n### Example\n\n```html\n<nve-toast id=\"toast\" close-timeout=\"1500\">hello there</nve-toast>\n<nve-button popovertarget=\"toast\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toast/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message communicated by the toast. |\n| prefix | `string` | custom status icon slot |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
49014
|
+
"markdown": "## nve-toast\n\nA contextual popup that displays a status. Toasts are [triggered](https://w3c.github.io/aria/#tooltip) by clicking, focusing, or tapping an element and cannot have interactive elements within them.\n\n### Example\n\n```html\n<nve-toast id=\"toast\" close-timeout=\"1500\">hello there</nve-toast>\n<nve-button popovertarget=\"toast\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toast/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | The message communicated by the toast. |\n| prefix | `string` | custom status icon slot |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| closeTimeout (close-timeout) | `number` | Sets the automatic dismissal time in milliseconds before the element emits a `close` event. Allow ~200-250ms per word for comfortable reading. - `0` Warning or error messages requiring immediate acknowledgment. - `3000` Brief success or confirmation messages. - `7000` Standard informational messages. - `10000` Messages with actions or requiring user decision. |\n| i18n | | Updates internal string values for internationalization. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n| prominence | `'muted'` | Sets the visual prominence of the toast. |\n| status | `'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the toast closes. |\n| open | `CustomEvent` | Dispatched when the toast opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of toast open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --justify-content | `string` | [MDN](https://mdn.dev/CSS/justify-content) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
49550
49015
|
}
|
|
49551
49016
|
}
|
|
49552
49017
|
],
|
|
@@ -49649,7 +49114,7 @@
|
|
|
49649
49114
|
"since": "0.38.0",
|
|
49650
49115
|
"status": "stable",
|
|
49651
49116
|
"behavior": "content",
|
|
49652
|
-
"markdown": "## nve-toggletip-footer\n\nProvides a designated area at the bottom of a toggletip for actions or supplementary information.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the toggletip footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --
|
|
49117
|
+
"markdown": "## nve-toggletip-footer\n\nProvides a designated area at the bottom of a toggletip for actions or supplementary information.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the toggletip footer |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
49653
49118
|
}
|
|
49654
49119
|
}
|
|
49655
49120
|
],
|
|
@@ -49715,7 +49180,7 @@
|
|
|
49715
49180
|
"since": "0.38.0",
|
|
49716
49181
|
"status": "stable",
|
|
49717
49182
|
"behavior": "content",
|
|
49718
|
-
"markdown": "## nve-toggletip-header\n\nDisplays a title or contextual label at the top of a toggletip to categorize its contents.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the toggletip header |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --
|
|
49183
|
+
"markdown": "## nve-toggletip-header\n\nDisplays a title or contextual label at the top of a toggletip to categorize its contents.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for the toggletip header |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
49719
49184
|
}
|
|
49720
49185
|
}
|
|
49721
49186
|
],
|
|
@@ -49954,12 +49419,6 @@
|
|
|
49954
49419
|
"description": "Determines if the component renders an arrow.",
|
|
49955
49420
|
"attribute": "arrow"
|
|
49956
49421
|
},
|
|
49957
|
-
{
|
|
49958
|
-
"kind": "field",
|
|
49959
|
-
"name": "typeNativePopoverController",
|
|
49960
|
-
"privacy": "protected",
|
|
49961
|
-
"default": "new TypeNativePopoverController<Toggletip>(this)"
|
|
49962
|
-
},
|
|
49963
49422
|
{
|
|
49964
49423
|
"kind": "field",
|
|
49965
49424
|
"name": "i18n",
|
|
@@ -50153,7 +49612,7 @@
|
|
|
50153
49612
|
"since": "0.38.0",
|
|
50154
49613
|
"status": "stable",
|
|
50155
49614
|
"behavior": "popover",
|
|
50156
|
-
"markdown": "## nve-toggletip\n\nGeneric toggletip element for rendering a variety of different interactive content. [MDN Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)\n\n### Example\n\n```html\n<nve-toggletip id=\"toggletip\">hello there</nve-toggletip>\n<nve-button popovertarget=\"toggletip\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for toggletip content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n|
|
|
49615
|
+
"markdown": "## nve-toggletip\n\nGeneric toggletip element for rendering a variety of different interactive content. [MDN Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)\n\n### Example\n\n```html\n<nve-toggletip id=\"toggletip\">hello there</nve-toggletip>\n<nve-button popovertarget=\"toggletip\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toggletip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for toggletip content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| arrow | `boolean` | Determines if the component renders an arrow. |\n| closable | `boolean` | Indicates whether the user can dismiss or close the element. - `true` The element displays a close control and the user can dismiss it. - `false` The user cannot close the element and must dismiss it programmatically. |\n| i18n | | Updates internal string values for internationalization. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the toggletip closes. |\n| open | `CustomEvent` | Dispatched when the toggletip opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of toggletip open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --arrow-transform | `string` | |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
50157
49616
|
}
|
|
50158
49617
|
}
|
|
50159
49618
|
],
|
|
@@ -50441,7 +49900,7 @@
|
|
|
50441
49900
|
"since": "0.19.0",
|
|
50442
49901
|
"status": "stable",
|
|
50443
49902
|
"behavior": "navigation",
|
|
50444
|
-
"markdown": "## nve-toolbar\n\nA toolbar is a container for grouping a set of controls, such as buttons, icon buttons and combobox search.\n\n### Example\n\n```html\n<nve-toolbar>\n <nve-button><nve-icon name=\"add\"></nve-icon> create</nve-button>\n <nve-button><nve-icon name=\"delete\"></nve-icon> delete</nve-button>\n <nve-icon-button icon-name=\"gear\" slot=\"suffix\" aria-label=\"settings\"></nve-icon-button>\n</nve-toolbar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toolbar/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Primary buttons, inputs, and other toolbar controls. |\n| prefix | `string` | slot for prefix content |\n| suffix | `string` | slot for suffix content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inset' \\| 'full' \\| undefined` | Determines the container styles of component. Flat applies when nesting elements within other containers or for a more muted style. Full applies when the element expands the full width of the viewport. |\n| content | `'scroll' \\| 'wrap' \\| undefined` | Determines the primary content overflow behavior. |\n| orientation | `'horizontal' \\| 'vertical' \\| undefined` | Controls the directional flow of the element's layout and interaction pattern. - `horizontal` Element orients horizontally with left-to-right flow. - `vertical` Element orients vertically with top-to-bottom flow. |\n| status | `'accent'` | Visual treatment to represent accent color for interactive selections |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --
|
|
49903
|
+
"markdown": "## nve-toolbar\n\nA toolbar is a container for grouping a set of controls, such as buttons, icon buttons and combobox search.\n\n### Example\n\n```html\n<nve-toolbar>\n <nve-button><nve-icon name=\"add\"></nve-icon> create</nve-button>\n <nve-button><nve-icon name=\"delete\"></nve-icon> delete</nve-button>\n <nve-icon-button icon-name=\"gear\" slot=\"suffix\" aria-label=\"settings\"></nve-icon-button>\n</nve-toolbar>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/toolbar/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Primary buttons, inputs, and other toolbar controls. |\n| prefix | `string` | slot for prefix content |\n| suffix | `string` | slot for suffix content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inset' \\| 'full' \\| undefined` | Determines the container styles of component. Flat applies when nesting elements within other containers or for a more muted style. Full applies when the element expands the full width of the viewport. |\n| content | `'scroll' \\| 'wrap' \\| undefined` | Determines the primary content overflow behavior. |\n| orientation | `'horizontal' \\| 'vertical' \\| undefined` | Controls the directional flow of the element's layout and interaction pattern. - `horizontal` Element orients horizontally with left-to-right flow. - `vertical` Element orients vertically with top-to-bottom flow. |\n| status | `'accent'` | Visual treatment to represent accent color for interactive selections |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
50445
49904
|
}
|
|
50446
49905
|
}
|
|
50447
49906
|
],
|
|
@@ -50694,12 +50153,6 @@
|
|
|
50694
50153
|
"attribute": "open-delay",
|
|
50695
50154
|
"description": "Sets the delay in milliseconds before the element emits an `open` event.\n- `0` Keyboard focus interactions (always immediate for accessibility).\n\n- `500` Dense interfaces with many tooltips to reduce visual noise and prevent accidental triggers.",
|
|
50696
50155
|
"descriptionText": "Sets the delay in milliseconds before the element emits an `open` event."
|
|
50697
|
-
},
|
|
50698
|
-
{
|
|
50699
|
-
"kind": "field",
|
|
50700
|
-
"name": "typeNativePopoverController",
|
|
50701
|
-
"privacy": "protected",
|
|
50702
|
-
"default": "new TypeNativePopoverController<Tooltip>(this)"
|
|
50703
50156
|
}
|
|
50704
50157
|
],
|
|
50705
50158
|
"events": [
|
|
@@ -50871,7 +50324,7 @@
|
|
|
50871
50324
|
"since": "0.6.0",
|
|
50872
50325
|
"status": "stable",
|
|
50873
50326
|
"behavior": "popover",
|
|
50874
|
-
"markdown": "## nve-tooltip\n\nA contextual popup that displays a plaintext description. Trigger tooltips by hovering, focusing, or tapping an element and cannot have interactive elements within them.\n\n### Example\n\n```html\n<nve-tooltip id=\"tooltip\">hello there</nve-tooltip>\n<nve-button interestfor=\"tooltip\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tooltip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Noninteractive text or other descriptive content shown in the tooltip. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n|
|
|
50327
|
+
"markdown": "## nve-tooltip\n\nA contextual popup that displays a plaintext description. Trigger tooltips by hovering, focusing, or tapping an element and cannot have interactive elements within them.\n\n### Example\n\n```html\n<nve-tooltip id=\"tooltip\">hello there</nve-tooltip>\n<nve-button interestfor=\"tooltip\">button</nve-button>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tooltip/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Noninteractive text or other descriptive content shown in the tooltip. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'start' \\| 'end' \\| 'center'` | Determines the alignment of the popover relative to the provided anchor element. - `start` Aligns the popover to the beginning edge of the anchor for left or top alignment. - `end` Aligns the popover to the ending edge of the anchor for right or bottom alignment. - `center` Centers the popover along the anchor's edge for balanced positioning. |\n| anchor | property: `string \\| HTMLElement`; attribute: `string` | Provides the element that the popover should position relative to. Set the property to an element or its ID within the same render root. The HTML attribute accepts only the element ID. |\n| position | `'center' \\| 'top' \\| 'bottom' \\| 'left' \\| 'right'` | Sets the side position of the popover relative to the provided anchor element. - `center` Centers the popover directly over the anchor element. - `top` Positions the popover above the anchor element. - `bottom` Positions the popover below the anchor element. - `left` Positions the popover to the left side of the anchor element. - `right` Positions the popover to the right side of the anchor element. |\n| status | `'muted'` | visual treatment to represent a ongoing task or support status |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| beforetoggle | `CustomEvent` | Dispatched on a popover just before showing or hiding. [MDN](https://mdn.dev/HTMLElement/beforetoggle_event) |\n| close | `CustomEvent` | Dispatched when the tooltip closes. |\n| open | `CustomEvent` | Dispatched when the tooltip opens. |\n| toggle | `CustomEvent` | Dispatched on a popover element just after showing or hiding. [MDN](https://mdn.dev/HTMLElement/toggle_event) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of tooltip open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --arrow-transform | `string` | |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
50875
50328
|
}
|
|
50876
50329
|
}
|
|
50877
50330
|
],
|
|
@@ -51092,6 +50545,22 @@
|
|
|
51092
50545
|
"description": "Updates internal string values for internationalization.",
|
|
51093
50546
|
"attribute": "i18n"
|
|
51094
50547
|
},
|
|
50548
|
+
{
|
|
50549
|
+
"kind": "field",
|
|
50550
|
+
"name": "nodes",
|
|
50551
|
+
"type": {
|
|
50552
|
+
"text": "TreeNode[]",
|
|
50553
|
+
"_sourceAliases": [],
|
|
50554
|
+
"values": [
|
|
50555
|
+
{
|
|
50556
|
+
"value": "TreeNode[]",
|
|
50557
|
+
"description": ""
|
|
50558
|
+
}
|
|
50559
|
+
]
|
|
50560
|
+
},
|
|
50561
|
+
"readonly": true,
|
|
50562
|
+
"description": "Returns the slotted child tree nodes."
|
|
50563
|
+
},
|
|
51095
50564
|
{
|
|
51096
50565
|
"kind": "method",
|
|
51097
50566
|
"name": "open",
|
|
@@ -51247,7 +50716,7 @@
|
|
|
51247
50716
|
"since": "1.2.0",
|
|
51248
50717
|
"status": "stable",
|
|
51249
50718
|
"behavior": "list",
|
|
51250
|
-
"markdown": "## nve-tree-node\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Use default slot for basic text content or nested <nve-tree-node> elements. |\n| content | `string` | Use only for extended long form content containing interactive elements or form inputs. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n|
|
|
50719
|
+
"markdown": "## nve-tree-node\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Use default slot for basic text content or nested <nve-tree-node> elements. |\n| content | `string` | Use only for extended long form content containing interactive elements or form inputs. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| expandable | `boolean` | Determines whether a node can be expandable. Expandable by default if slotted nodes exist. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| highlighted | `boolean` | Determines the highlighted state of the element. Highlighted states serve non-interactive selections where nodes may relate to other selected portions of the UI. |\n| i18n | | Updates internal string values for internationalization. |\n| nodes | `TreeNode[]` | Returns the slotted child tree nodes. |\n| selectable | `'single' \\| 'multi'` | Determines whether a node can be in a selected state. Nodes can be in a single or multi select state. |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the node closes. |\n| open | `CustomEvent` | Dispatched when the node opens. |\n| select | `CustomEvent` | Dispatched when the node selection state changes. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | use to close the node |\n| --deselect | `CommandEvent` | use to deselect the node |\n| --open | `CommandEvent` | use to open the node |\n| --select | `CommandEvent` | use to select the node |\n| --toggle | `CommandEvent` | use to toggle open / closed state of the node |\n| --toggle-select | `CommandEvent` | use to toggle the node selection state |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| close | `close(): unknown` | closes and sets the expanded state automatically if behaviorExpand is true |\n| open | `open(): unknown` | opens and sets the expanded state automatically if behaviorExpand is true |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-wrap | `string` | [MDN](https://mdn.dev/CSS/text-wrap) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
51251
50720
|
},
|
|
51252
50721
|
"commands": [
|
|
51253
50722
|
{
|
|
@@ -51396,6 +50865,12 @@
|
|
|
51396
50865
|
"description": "Determines if the node depth border renders.",
|
|
51397
50866
|
"attribute": "border",
|
|
51398
50867
|
"reflects": true
|
|
50868
|
+
},
|
|
50869
|
+
{
|
|
50870
|
+
"kind": "field",
|
|
50871
|
+
"name": "nodes",
|
|
50872
|
+
"description": "Returns the tree nodes in document order.",
|
|
50873
|
+
"readonly": true
|
|
51399
50874
|
}
|
|
51400
50875
|
],
|
|
51401
50876
|
"events": [
|
|
@@ -51515,7 +50990,7 @@
|
|
|
51515
50990
|
"since": "1.2.0",
|
|
51516
50991
|
"status": "stable",
|
|
51517
50992
|
"behavior": "list",
|
|
51518
|
-
"markdown": "## nve-tree\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Example\n\n```html\n<nve-tree behavior-expand>\n <nve-tree-node expanded>\n node 1\n <nve-tree-node>node 1-1</nve-tree-node>\n <nve-tree-node>node 1-2</nve-tree-node>\n <nve-tree-node>\n node 1-3\n <nve-tree-node>node 1-3-1</nve-tree-node>\n <nve-tree-node>node 1-3-2</nve-tree-node>\n <nve-tree-node>node 1-3-3</nve-tree-node>\n </nve-tree-node>\n </nve-tree-node>\n <nve-tree-node>\n node 2\n <nve-tree-node>node 2-1</nve-tree-node>\n <nve-tree-node>node 2-2</nve-tree-node>\n <nve-tree-node>node 2-3</nve-tree-node>\n </nve-tree-node>\n <nve-tree-node>\n node 3\n <nve-tree-node>node 3-1</nve-tree-node>\n <nve-tree-node>node 3-2</nve-tree-node>\n <nve-tree-node>\n node 3-3\n <nve-tree-node>node 3-3-1</nve-tree-node>\n <nve-tree-node>node 3-3-2</nve-tree-node>\n <nve-tree-node>node 3-3-3</nve-tree-node>\n </nve-tree-node>\n </nve-tree-node>\n</nve-tree>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | tree nodes |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
50993
|
+
"markdown": "## nve-tree\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Example\n\n```html\n<nve-tree behavior-expand>\n <nve-tree-node expanded>\n node 1\n <nve-tree-node>node 1-1</nve-tree-node>\n <nve-tree-node>node 1-2</nve-tree-node>\n <nve-tree-node>\n node 1-3\n <nve-tree-node>node 1-3-1</nve-tree-node>\n <nve-tree-node>node 1-3-2</nve-tree-node>\n <nve-tree-node>node 1-3-3</nve-tree-node>\n </nve-tree-node>\n </nve-tree-node>\n <nve-tree-node>\n node 2\n <nve-tree-node>node 2-1</nve-tree-node>\n <nve-tree-node>node 2-2</nve-tree-node>\n <nve-tree-node>node 2-3</nve-tree-node>\n </nve-tree-node>\n <nve-tree-node>\n node 3\n <nve-tree-node>node 3-1</nve-tree-node>\n <nve-tree-node>node 3-2</nve-tree-node>\n <nve-tree-node>\n node 3-3\n <nve-tree-node>node 3-3-1</nve-tree-node>\n <nve-tree-node>node 3-3-2</nve-tree-node>\n <nve-tree-node>node 3-3-3</nve-tree-node>\n </nve-tree-node>\n </nve-tree-node>\n</nve-tree>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | tree nodes |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether the tree nodes should handle auto-expanding behavior. |\n| behaviorSelect (behavior-select) | `boolean` | Determines whether the tree nodes should handle auto-select behavior. |\n| border | `boolean` | Determines if the node depth border renders. |\n| nodes | | Returns the tree nodes in document order. |\n| selectable | `'single' \\| 'multi'` | Determines whether all nodes can be in a selected state. Nodes can be in a single or multi select state. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched from a child nve-tree-node when closed. |\n| open | `CustomEvent` | Dispatched from a child nve-tree-node when opened. |\n| select | `CustomEvent` | Dispatched from a child nve-tree-node when its selection state changes. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --node-border | `string` | Border style for tree node depth indicator |"
|
|
51519
50994
|
}
|
|
51520
50995
|
}
|
|
51521
50996
|
],
|
|
@@ -53228,7 +52703,7 @@
|
|
|
53228
52703
|
"since": "0.0.0",
|
|
53229
52704
|
"status": "beta",
|
|
53230
52705
|
"behavior": "content",
|
|
53231
|
-
"markdown": "## nve-viewport-gridlines\n\nRenders origin-stable, zoom-adaptive gridlines behind viewport content.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
52706
|
+
"markdown": "## nve-viewport-gridlines\n\nRenders origin-stable, zoom-adaptive gridlines behind viewport content.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| originX (origin-x) | `number` | Content-space x coordinate of the grid origin. |\n| originY (origin-y) | `number` | Content-space y coordinate of the grid origin. |\n| step | `number` | Smallest gridline interval in content-space units. |\n| targetSpacing (target-spacing) | `number` | Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | Sets the gridline stroke color. [MDN](https://mdn.dev/CSS/color) |\n| --line-width | `string` | Sets the approximate stroke width in CSS pixels. |"
|
|
53232
52707
|
}
|
|
53233
52708
|
}
|
|
53234
52709
|
],
|
|
@@ -54270,7 +53745,7 @@
|
|
|
54270
53745
|
"since": "0.0.0",
|
|
54271
53746
|
"status": "beta",
|
|
54272
53747
|
"behavior": "content",
|
|
54273
|
-
"markdown": "## nve-viewport\n\nA viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.\n\n### Example\n\n```html\n<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content positioned in the viewport's infinite content space. |\n| background | `string` | Custom content rendered behind viewport content and excluded from content fitting |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
53748
|
+
"markdown": "## nve-viewport\n\nA viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.\n\n### Example\n\n```html\n<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content positioned in the viewport's infinite content space. |\n| background | `string` | Custom content rendered behind viewport content and excluded from content fitting |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| autoFit | `boolean` | Fits measurable direct default-slot content once after initial layout. |\n| behaviorPan (behavior-pan) | `boolean \\| 'space'` | Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space. |\n| behaviorZoom (behavior-zoom) | `boolean` | Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands. |\n| dragThreshold (drag-threshold) | `number` | CSS-pixel pointer movement required before a pointer pan begins. |\n| fitInset (fit-inset) | `number` | Default uniform CSS-pixel inset reserved around bounds when fitting content. |\n| maxScale (max-scale) | `number` | Inclusive upper scale limit. |\n| minScale (min-scale) | `number` | Inclusive lower scale limit. |\n| scale | `number` | Content-to-viewport CSS-pixel scale. |\n| x | `number` | Horizontal content-space coordinate at the viewport origin. |\n| y | `number` | Vertical content-space coordinate at the viewport origin. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| pan | `CustomEvent` | Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation. |\n| panend | `CustomEvent` | Dispatched when a pointer pan ends, including its terminal reason. |\n| panstart | `CustomEvent` | Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence. |\n| type | `CustomEvent` | |\n| viewportchange | `CustomEvent` | Dispatched once after a render that commits one or more viewport transform changes. |\n| zoom | `CustomEvent` | Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --pan-down | `CommandEvent` | With behavior-pan enabled, pans down by one discrete step. |\n| --pan-left | `CommandEvent` | With behavior-pan enabled, pans left by one discrete step. |\n| --pan-right | `CommandEvent` | With behavior-pan enabled, pans right by one discrete step. |\n| --pan-up | `CommandEvent` | With behavior-pan enabled, pans up by one discrete step. |\n| --zoom-in | `CommandEvent` | With behavior-zoom enabled, animates to the next permitted scale step. |\n| --zoom-out | `CommandEvent` | With behavior-zoom enabled, animates to the previous permitted scale step. |\n| --zoom-reset | `CommandEvent` | With behavior-zoom enabled, animates to 100% scale. |\n| --zoom-to-fit | `CommandEvent` | With behavior-zoom enabled, animates to fit direct default-slot element boxes. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| animateTo | `animateTo(target: Partial<ViewportTransform>, options?: ViewportAnimationOptions): void` | Animates the viewport to the requested partial transform. |\n| fitContents | `fitContents(options?: ViewportRevealOptions): void` | Fits the union of direct default-slot element boxes within the viewport. |\n| getTransform | `getTransform(): ViewportTransform` | Returns the current content-space origin and CSS-pixel scale. |\n| getVisibleRect | `getVisibleRect(): ViewportRect` | Returns the visible content-space rectangle. |\n| reveal | `reveal(region: { x: number; y: number; width?: number; height?: number }, options?: ViewportRevealOptions): void` | Centers or fits a content-space region within the viewport. |\n| toContentCoords | `toContentCoords(viewportX: number, viewportY: number): ViewportPoint` | Converts a viewport CSS-pixel point to content space. |\n| toViewportCoords | `toViewportCoords(contentX: number, contentY: number): ViewportPoint` | Converts a content-space point to viewport CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the fixed viewport area. [MDN](https://mdn.dev/CSS/background) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --pan-cursor | `string` | Cursor shown over a background eligible for primary-pointer panning. |\n| --panning-cursor | `string` | Cursor shown while a pointer pan is active. |"
|
|
54274
53749
|
},
|
|
54275
53750
|
"commands": [
|
|
54276
53751
|
{
|
|
@@ -54625,26 +54100,6 @@
|
|
|
54625
54100
|
"module": "/src/forms/control/control.js"
|
|
54626
54101
|
}
|
|
54627
54102
|
},
|
|
54628
|
-
{
|
|
54629
|
-
"kind": "field",
|
|
54630
|
-
"name": "nveControl",
|
|
54631
|
-
"type": {
|
|
54632
|
-
"text": "string",
|
|
54633
|
-
"_sourceAliases": [],
|
|
54634
|
-
"values": [
|
|
54635
|
-
{
|
|
54636
|
-
"value": "string",
|
|
54637
|
-
"description": ""
|
|
54638
|
-
}
|
|
54639
|
-
]
|
|
54640
|
-
},
|
|
54641
|
-
"privacy": "protected",
|
|
54642
|
-
"default": "''",
|
|
54643
|
-
"inheritedFrom": {
|
|
54644
|
-
"name": "Control",
|
|
54645
|
-
"module": "/src/forms/control/control.js"
|
|
54646
|
-
}
|
|
54647
|
-
},
|
|
54648
54103
|
{
|
|
54649
54104
|
"kind": "method",
|
|
54650
54105
|
"name": "reset",
|
|
@@ -54653,15 +54108,6 @@
|
|
|
54653
54108
|
"name": "Control",
|
|
54654
54109
|
"module": "/src/forms/control/control.js"
|
|
54655
54110
|
}
|
|
54656
|
-
},
|
|
54657
|
-
{
|
|
54658
|
-
"kind": "method",
|
|
54659
|
-
"name": "showPicker",
|
|
54660
|
-
"privacy": "protected",
|
|
54661
|
-
"inheritedFrom": {
|
|
54662
|
-
"name": "Control",
|
|
54663
|
-
"module": "/src/forms/control/control.js"
|
|
54664
|
-
}
|
|
54665
54111
|
}
|
|
54666
54112
|
],
|
|
54667
54113
|
"attributes": [
|
|
@@ -54842,7 +54288,7 @@
|
|
|
54842
54288
|
"since": "0.3.0",
|
|
54843
54289
|
"status": "stable",
|
|
54844
54290
|
"behavior": "form",
|
|
54845
|
-
"markdown": "## nve-week\n\nA week picker is a control that enables users to choose a week value.\n\n### Example\n\n```html\n<nve-week>\n <label>label</label>\n <input type=\"week\" />\n <nve-control-message>message</nve-control-message>\n</nve-week>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/week/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n|
|
|
54291
|
+
"markdown": "## nve-week\n\nA week picker is a control that enables users to choose a week value.\n\n### Example\n\n```html\n<nve-week>\n <label>label</label>\n <input type=\"week\" />\n <nve-control-message>message</nve-control-message>\n</nve-week>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/week/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| undefined` | Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar. |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| i18n | | Enables internal string values to update for internationalization. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| reset | `reset(): unknown` | Resets control value to initial attribute value and clears any active validation rules. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
54846
54292
|
},
|
|
54847
54293
|
"slots": [
|
|
54848
54294
|
{
|