@nvidia-elements/core 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/CHANGELOG.md +20 -17
  2. package/NOTICE.md +119 -0
  3. package/dist/accordion/accordion2.js +4 -4
  4. package/dist/alert/alert-banner2.js +1 -1
  5. package/dist/alert/alert-group2.js +1 -1
  6. package/dist/alert/alert.examples.js.map +1 -1
  7. package/dist/alert/alert.examples.json +1 -1
  8. package/dist/alert/alert2.js +1 -1
  9. package/dist/avatar/avatar-group2.js +1 -1
  10. package/dist/avatar/avatar2.js +1 -1
  11. package/dist/badge/badge2.js +1 -1
  12. package/dist/breadcrumb/breadcrumb2.js +1 -1
  13. package/dist/bundle.d.ts +2 -0
  14. package/dist/bundles/index.d.ts +176 -1
  15. package/dist/bundles/index.js +3 -3
  16. package/dist/button/button.examples.js.map +1 -1
  17. package/dist/button/button.examples.json +3 -3
  18. package/dist/button/button2.js +1 -1
  19. package/dist/button-group/button-group2.js +1 -1
  20. package/dist/card/card2.js +4 -4
  21. package/dist/chat-message/chat-message2.js +1 -1
  22. package/dist/checkbox/checkbox-group2.js +1 -1
  23. package/dist/checkbox/checkbox2.js +1 -1
  24. package/dist/color/color2.js +1 -1
  25. package/dist/combobox/combobox.d.ts +4 -0
  26. package/dist/combobox/combobox.examples.js.map +1 -1
  27. package/dist/combobox/combobox.examples.json +12 -1
  28. package/dist/combobox/combobox.js +1 -1
  29. package/dist/combobox/combobox.js.map +1 -1
  30. package/dist/combobox/combobox2.js +90 -62
  31. package/dist/combobox/combobox2.js.map +1 -1
  32. package/dist/copy-button/copy-button2.js +1 -1
  33. package/dist/custom-elements-jsx.d.ts +117 -2
  34. package/dist/custom-elements-vue.d.ts +117 -2
  35. package/dist/custom-elements.json +1543 -51
  36. package/dist/data.html.json +202 -6
  37. package/dist/data.snippets.json +9 -0
  38. package/dist/date/date2.js +1 -1
  39. package/dist/datetime/datetime2.js +1 -1
  40. package/dist/dialog/dialog-footer2.js +1 -1
  41. package/dist/dialog/dialog-header2.js +1 -1
  42. package/dist/dialog/dialog2.js +1 -1
  43. package/dist/divider/divider2.js +1 -1
  44. package/dist/dot/dot2.js +1 -1
  45. package/dist/drawer/drawer-content2.js +1 -1
  46. package/dist/drawer/drawer-footer2.js +1 -1
  47. package/dist/drawer/drawer-header2.js +1 -1
  48. package/dist/drawer/drawer2.js +1 -1
  49. package/dist/dropdown/dropdown-footer2.js +1 -1
  50. package/dist/dropdown/dropdown-header2.js +1 -1
  51. package/dist/dropdown/dropdown2.js +1 -1
  52. package/dist/dropdown-group/dropdown-group.js +1 -1
  53. package/dist/dropzone/dropzone.examples.js.map +1 -1
  54. package/dist/dropzone/dropzone.examples.json +3 -1
  55. package/dist/dropzone/dropzone2.js +1 -1
  56. package/dist/file/file2.js +1 -1
  57. package/dist/format-datetime/define.d.ts +6 -0
  58. package/dist/format-datetime/define.js +7 -0
  59. package/dist/format-datetime/define.js.map +1 -0
  60. package/dist/format-datetime/format-datetime.d.ts +74 -0
  61. package/dist/format-datetime/format-datetime.examples.js +6 -0
  62. package/dist/format-datetime/format-datetime.examples.js.map +1 -0
  63. package/dist/format-datetime/format-datetime.examples.json +87 -0
  64. package/dist/format-datetime/format-datetime.js +6 -0
  65. package/dist/format-datetime/format-datetime.js.map +1 -0
  66. package/dist/format-datetime/format-datetime2.js +77 -0
  67. package/dist/format-datetime/format-datetime2.js.map +1 -0
  68. package/dist/format-datetime/index.d.ts +1 -0
  69. package/dist/format-datetime/index.js +2 -0
  70. package/dist/format-relative-time/define.d.ts +6 -0
  71. package/dist/format-relative-time/define.js +7 -0
  72. package/dist/format-relative-time/define.js.map +1 -0
  73. package/dist/format-relative-time/format-relative-time.d.ts +47 -0
  74. package/dist/format-relative-time/format-relative-time.examples.js +6 -0
  75. package/dist/format-relative-time/format-relative-time.examples.js.map +1 -0
  76. package/dist/format-relative-time/format-relative-time.examples.json +69 -0
  77. package/dist/format-relative-time/format-relative-time.js +6 -0
  78. package/dist/format-relative-time/format-relative-time.js.map +1 -0
  79. package/dist/format-relative-time/format-relative-time2.js +118 -0
  80. package/dist/format-relative-time/format-relative-time2.js.map +1 -0
  81. package/dist/format-relative-time/index.d.ts +1 -0
  82. package/dist/format-relative-time/index.js +2 -0
  83. package/dist/forms/control/control2.js +1 -1
  84. package/dist/forms/control-group/control-group2.js +1 -1
  85. package/dist/forms/control-message/control-message2.js +1 -1
  86. package/dist/forms/forms.examples.js.map +1 -1
  87. package/dist/forms/forms.examples.json +4 -2
  88. package/dist/grid/cell/cell2.js +1 -1
  89. package/dist/grid/column/column2.js +1 -1
  90. package/dist/grid/footer/footer2.js +1 -1
  91. package/dist/grid/grid.examples.js.map +1 -1
  92. package/dist/grid/grid.examples.json +1 -1
  93. package/dist/grid/grid2.js +1 -1
  94. package/dist/grid/header/header2.js +1 -1
  95. package/dist/grid/placeholder/placeholder2.js +1 -1
  96. package/dist/grid/row/row2.js +1 -1
  97. package/dist/icon/icon2.js +2 -2
  98. package/dist/icon-button/icon-button2.js +1 -1
  99. package/dist/index.js +1 -1
  100. package/dist/input/input-group2.js +1 -1
  101. package/dist/input/input2.js +1 -1
  102. package/dist/internal/index.js +40 -40
  103. package/dist/internal/services/global.service.js +1 -1
  104. package/dist/internal/services/i18n.service.d.ts +1 -0
  105. package/dist/internal/services/i18n.service.js +2 -1
  106. package/dist/internal/services/i18n.service.js.map +1 -1
  107. package/dist/internal/utils/dom.d.ts +8 -0
  108. package/dist/internal/utils/dom.js +7 -1
  109. package/dist/internal/utils/dom.js.map +1 -1
  110. package/dist/logo/logo2.js +1 -1
  111. package/dist/menu/menu-item2.js +1 -1
  112. package/dist/menu/menu2.js +1 -1
  113. package/dist/month/month2.js +1 -1
  114. package/dist/notification/notification-group2.js +1 -1
  115. package/dist/notification/notification2.js +1 -1
  116. package/dist/page/page-panel/page-panel-content2.js +1 -1
  117. package/dist/page/page-panel/page-panel-footer2.js +1 -1
  118. package/dist/page/page-panel/page-panel-header2.js +1 -1
  119. package/dist/page/page-panel/page-panel2.js +1 -1
  120. package/dist/page/page.examples.js.map +1 -1
  121. package/dist/page/page.examples.json +0 -11
  122. package/dist/page/page2.js +1 -1
  123. package/dist/page-header/page-header.examples.js.map +1 -1
  124. package/dist/page-header/page-header.examples.json +2 -2
  125. package/dist/page-header/page-header2.js +1 -1
  126. package/dist/page-loader/page-loader2.js +1 -1
  127. package/dist/pagination/pagination2.js +1 -1
  128. package/dist/panel/panel2.js +4 -4
  129. package/dist/password/password2.js +1 -1
  130. package/dist/preferences-input/preferences-input2.js +1 -1
  131. package/dist/progress-bar/progress-bar2.js +1 -1
  132. package/dist/progress-ring/progress-ring2.js +1 -1
  133. package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
  134. package/dist/pulse/pulse2.js +1 -1
  135. package/dist/radio/radio-group2.js +1 -1
  136. package/dist/radio/radio2.js +1 -1
  137. package/dist/range/range2.js +1 -1
  138. package/dist/resize-handle/resize-handle.examples.js.map +1 -1
  139. package/dist/resize-handle/resize-handle.examples.json +3 -1
  140. package/dist/resize-handle/resize-handle2.js +1 -1
  141. package/dist/search/search2.js +1 -1
  142. package/dist/select/select2.js +1 -1
  143. package/dist/skeleton/skeleton.examples.js.map +1 -1
  144. package/dist/skeleton/skeleton.examples.json +3 -1
  145. package/dist/skeleton/skeleton2.js +1 -1
  146. package/dist/sort-button/sort-button2.js +1 -1
  147. package/dist/sparkline/sparkline.examples.js.map +1 -1
  148. package/dist/sparkline/sparkline.examples.json +3 -1
  149. package/dist/sparkline/sparkline2.js +1 -1
  150. package/dist/star-rating/star-rating2.js +1 -1
  151. package/dist/steps/steps2.js +2 -2
  152. package/dist/switch/switch-group2.js +1 -1
  153. package/dist/switch/switch2.js +1 -1
  154. package/dist/tabs/define.d.ts +2 -1
  155. package/dist/tabs/define.js +2 -1
  156. package/dist/tabs/define.js.map +1 -1
  157. package/dist/tabs/index.d.ts +1 -0
  158. package/dist/tabs/index.js +2 -1
  159. package/dist/tabs/tabs-group.d.ts +51 -0
  160. package/dist/tabs/tabs-group.js +6 -0
  161. package/dist/tabs/tabs-group.js.map +1 -0
  162. package/dist/tabs/tabs-group2.js +144 -0
  163. package/dist/tabs/tabs-group2.js.map +1 -0
  164. package/dist/tabs/tabs.examples.js.map +1 -1
  165. package/dist/tabs/tabs.examples.json +38 -2
  166. package/dist/tabs/tabs2.js +2 -2
  167. package/dist/tag/tag2.js +1 -1
  168. package/dist/textarea/textarea2.js +1 -1
  169. package/dist/time/time2.js +1 -1
  170. package/dist/toast/toast2.js +1 -1
  171. package/dist/toggletip/toggletip-footer2.js +1 -1
  172. package/dist/toggletip/toggletip-header2.js +1 -1
  173. package/dist/toggletip/toggletip2.js +1 -1
  174. package/dist/toolbar/toolbar2.js +1 -1
  175. package/dist/tooltip/tooltip2.js +1 -1
  176. package/dist/tree/tree-node.d.ts +1 -1
  177. package/dist/tree/tree-node.js +1 -1
  178. package/dist/tree/tree-node.js.map +1 -1
  179. package/dist/tree/tree-node2.js +1 -1
  180. package/dist/tree/tree-node2.js.map +1 -1
  181. package/dist/tree/tree.examples.js.map +1 -1
  182. package/dist/tree/tree.examples.json +1 -10
  183. package/dist/tree/tree2.js +1 -1
  184. package/dist/week/week2.js +1 -1
  185. package/package.json +43 -15
@@ -926,7 +926,7 @@
926
926
  },
927
927
  {
928
928
  "name": "nve-combobox",
929
- "description": "An editable combobox with autocomplete behavior and selection support.\n---\n\n\n### **Events:**\n - **scroll** - Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.\n- **reset**\n\n### **Methods:**\n - **reset()** - Resets control value to initial attribute value and clears any active validation rules.\n- **selectAll()** - Select all options provided\n\n### **Slots:**\n - _default_ - default slot for an input and a datalist/select element\n- **prefix-icon** - slot for icon before the input\n- **footer** - slot for dropdown footer content\n- **label** - Label element\n\n### **CSS Properties:**\n - **--scroll-height** - _(default: undefined)_\n- **--padding** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--background** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background) _(default: undefined)_\n- **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--border** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border) _(default: undefined)_\n- **--cursor** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--border-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-color) _(default: undefined)_\n- **--max-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/max-height) _(default: undefined)_\n- **--text-transform** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) _(default: undefined)_\n- **--accent-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color) _(default: undefined)_\n- **--label-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--label-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--label-font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--label-font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--control-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--control-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n\n### **CSS Parts:**\n - **tag** - The tag element for selected items\n- **dropdown** - The dropdown popup element\n- **menu** - The menu element\n- **menu-item** - The menu item elements\n- **checkbox** - The checkbox element\n- **icon** - The icon element",
929
+ "description": "An editable combobox with autocomplete behavior and selection support.\n---\n\n\n### **Events:**\n - **create** - Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`.\n- **scroll** - Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.\n- **reset**\n\n### **Methods:**\n - **reset()** - Resets control value to initial attribute value and clears any active validation rules.\n- **selectAll()** - Select all options provided\n\n### **Slots:**\n - _default_ - default slot for an input and a datalist/select element\n- **prefix-icon** - slot for icon before the input\n- **footer** - slot for dropdown footer content\n- **label** - Label element\n\n### **CSS Properties:**\n - **--scroll-height** - _(default: undefined)_\n- **--padding** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--background** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background) _(default: undefined)_\n- **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--border** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border) _(default: undefined)_\n- **--cursor** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--border-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-color) _(default: undefined)_\n- **--max-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/max-height) _(default: undefined)_\n- **--text-transform** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) _(default: undefined)_\n- **--accent-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color) _(default: undefined)_\n- **--label-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--label-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--label-font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--label-font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--control-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--control-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n\n### **CSS Parts:**\n - **tag** - The tag element for selected items\n- **dropdown** - The dropdown popup element\n- **menu** - The menu element\n- **menu-item** - The menu item elements\n- **checkbox** - The checkbox element\n- **icon** - The icon element\n- **create-option** - The menu item element for creating new options",
930
930
  "attributes": [
931
931
  {
932
932
  "name": "container",
@@ -938,6 +938,11 @@
938
938
  "description": "Disable rendering of inline tags for many-item select",
939
939
  "values": []
940
940
  },
941
+ {
942
+ "name": "behavior-create",
943
+ "description": "Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail.",
944
+ "values": []
945
+ },
941
946
  {
942
947
  "name": "status",
943
948
  "description": "Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.\n- `warning` Indicates cautionary actions that require careful consideration before proceeding.\n\n- `success` Represents positive outcomes, confirmations, or constructive actions.",
@@ -987,7 +992,7 @@
987
992
  },
988
993
  {
989
994
  "name": "markdown",
990
- "url": "## 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| prefix-icon | `string` | slot for icon before the input |\n| footer | `string` | slot for dropdown footer content |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat'` | Demonstrates different container styles to accommodate visual weight and context. - `flat` Element has white space bounds but reduced visual container. |\n| notags | `boolean` | Disable rendering of inline tags for many-item select |\n| reset | | Resets control value to initial attribute value and clears any active validation rules. |\n| selectAll | | Select all options provided |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | 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. - `success` Represents positive outcomes, confirmations, or constructive actions. |\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| 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| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| i18n | | Enables updating internal string values for internationalization. |\n| prominence | `'muted'` | Controls the visual prominence to establish hierarchy and guide user attention. - `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. |\n| nveControl | `string` | |\n| showPicker | | |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| scroll | `CustomEvent` | Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n| reset | `CustomEvent` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --scroll-height | `string` | |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |"
995
+ "url": "## 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| prefix-icon | `string` | slot for icon before the input |\n| footer | `string` | slot for dropdown footer content |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat'` | Demonstrates different container styles to accommodate visual weight and context. - `flat` Element has white space bounds but reduced visual container. |\n| notags | `boolean` | Disable rendering of inline tags for many-item select |\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| reset | | Resets control value to initial attribute value and clears any active validation rules. |\n| selectAll | | Select all options provided |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | 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. - `success` Represents positive outcomes, confirmations, or constructive actions. |\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| 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| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| i18n | | Enables updating internal string values for internationalization. |\n| prominence | `'muted'` | Controls the visual prominence to establish hierarchy and guide user attention. - `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. |\n| nveControl | `string` | |\n| showPicker | | |\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| scroll | `CustomEvent` | Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n| reset | `CustomEvent` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --scroll-height | `string` | |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --border-color | `string` | [MDN](https://mdn.dev/CSS/border-color) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |"
991
996
  }
992
997
  ]
993
998
  },
@@ -1715,6 +1720,176 @@
1715
1720
  }
1716
1721
  ]
1717
1722
  },
1723
+ {
1724
+ "name": "nve-format-datetime",
1725
+ "description": "Formats 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\n\n### **Slots:**\n - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.",
1726
+ "attributes": [
1727
+ {
1728
+ "name": "date",
1729
+ "description": "Optional date string for values supplied by JavaScript or bound data.\nBy default, the component formats the element's text content, which also serves as the SSR fallback.\nWhen both are present, this property takes precedence.",
1730
+ "values": [{ "name": "default" }]
1731
+ },
1732
+ {
1733
+ "name": "locale",
1734
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
1735
+ "values": [{ "name": "default" }]
1736
+ },
1737
+ {
1738
+ "name": "weekday",
1739
+ "description": "Weekday representation: 'long' | 'short' | 'narrow'.",
1740
+ "values": [
1741
+ { "name": "long" },
1742
+ { "name": "short" },
1743
+ { "name": "narrow" },
1744
+ { "name": "default" }
1745
+ ]
1746
+ },
1747
+ {
1748
+ "name": "year",
1749
+ "description": "Year representation: 'numeric' | '2-digit'.",
1750
+ "values": [
1751
+ { "name": "numeric" },
1752
+ { "name": "2-digit" },
1753
+ { "name": "default" }
1754
+ ]
1755
+ },
1756
+ {
1757
+ "name": "month",
1758
+ "description": "Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'.",
1759
+ "values": [
1760
+ { "name": "numeric" },
1761
+ { "name": "2-digit" },
1762
+ { "name": "long" },
1763
+ { "name": "short" },
1764
+ { "name": "narrow" },
1765
+ { "name": "default" }
1766
+ ]
1767
+ },
1768
+ {
1769
+ "name": "day",
1770
+ "description": "Day representation: 'numeric' | '2-digit'.",
1771
+ "values": [
1772
+ { "name": "numeric" },
1773
+ { "name": "2-digit" },
1774
+ { "name": "default" }
1775
+ ]
1776
+ },
1777
+ {
1778
+ "name": "hour",
1779
+ "description": "Hour representation: 'numeric' | '2-digit'.",
1780
+ "values": [
1781
+ { "name": "numeric" },
1782
+ { "name": "2-digit" },
1783
+ { "name": "default" }
1784
+ ]
1785
+ },
1786
+ {
1787
+ "name": "minute",
1788
+ "description": "Minute representation: 'numeric' | '2-digit'.",
1789
+ "values": [
1790
+ { "name": "numeric" },
1791
+ { "name": "2-digit" },
1792
+ { "name": "default" }
1793
+ ]
1794
+ },
1795
+ {
1796
+ "name": "second",
1797
+ "description": "Second representation: 'numeric' | '2-digit'.",
1798
+ "values": [
1799
+ { "name": "numeric" },
1800
+ { "name": "2-digit" },
1801
+ { "name": "default" }
1802
+ ]
1803
+ },
1804
+ {
1805
+ "name": "date-style",
1806
+ "description": "Preset date formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
1807
+ "values": [
1808
+ { "name": "full" },
1809
+ { "name": "long" },
1810
+ { "name": "medium" },
1811
+ { "name": "short" },
1812
+ { "name": "default" }
1813
+ ]
1814
+ },
1815
+ {
1816
+ "name": "time-style",
1817
+ "description": "Preset time formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
1818
+ "values": [
1819
+ { "name": "full" },
1820
+ { "name": "long" },
1821
+ { "name": "medium" },
1822
+ { "name": "short" },
1823
+ { "name": "default" }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "name": "time-zone-name",
1828
+ "description": "Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it.",
1829
+ "values": [
1830
+ { "name": "long" },
1831
+ { "name": "short" },
1832
+ { "name": "default" }
1833
+ ]
1834
+ },
1835
+ {
1836
+ "name": "time-zone",
1837
+ "description": "IANA time zone identifier (such as 'America/New_York', 'UTC').",
1838
+ "values": [{ "name": "default" }]
1839
+ }
1840
+ ],
1841
+ "references": []
1842
+ },
1843
+ {
1844
+ "name": "nve-format-relative-time",
1845
+ "description": "Formats 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\n\n### **Slots:**\n - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.",
1846
+ "attributes": [
1847
+ {
1848
+ "name": "date",
1849
+ "description": "Optional date string for values supplied by JavaScript or bound data.\nBy default, the component formats the element's text content, which also serves as the SSR fallback.\nWhen both are present, this property takes precedence.",
1850
+ "values": [{ "name": "default" }]
1851
+ },
1852
+ {
1853
+ "name": "locale",
1854
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
1855
+ "values": [{ "name": "default" }]
1856
+ },
1857
+ {
1858
+ "name": "numeric",
1859
+ "description": "Numeric formatting: 'always' | 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'.",
1860
+ "values": [{ "name": "always" }, { "name": "auto" }]
1861
+ },
1862
+ {
1863
+ "name": "format-style",
1864
+ "description": "Formatting length: 'long' | 'short' | 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option.",
1865
+ "values": [
1866
+ { "name": "long" },
1867
+ { "name": "short" },
1868
+ { "name": "narrow" }
1869
+ ]
1870
+ },
1871
+ {
1872
+ "name": "unit",
1873
+ "description": "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.",
1874
+ "values": [
1875
+ { "name": "second" },
1876
+ { "name": "minute" },
1877
+ { "name": "hour" },
1878
+ { "name": "day" },
1879
+ { "name": "week" },
1880
+ { "name": "month" },
1881
+ { "name": "year" },
1882
+ { "name": "auto" }
1883
+ ]
1884
+ },
1885
+ {
1886
+ "name": "sync",
1887
+ "description": "When present, auto-updates the displayed relative time at appropriate intervals.",
1888
+ "values": []
1889
+ }
1890
+ ],
1891
+ "references": []
1892
+ },
1718
1893
  {
1719
1894
  "name": "nve-control-group",
1720
1895
  "description": "Groups many related form controls under a shared label and validation context for semantically linked inputs.\n---\n\n\n### **Slots:**\n - _default_ - Control input elements\n\n### **CSS Properties:**\n - **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--label-color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--label-text-transform** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) _(default: undefined)_\n- **--label-font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--label-font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_",
@@ -4651,6 +4826,27 @@
4651
4826
  }
4652
4827
  ]
4653
4828
  },
4829
+ {
4830
+ "name": "nve-tabs-group",
4831
+ "description": "Coordinates tabs with matching panel content using Invoker Commands and slot-matched panels.\n---\n\n\n### **Events:**\n - **select** - Dispatched when the selected tab value changes after an invoker `--toggle` updates selection\n\n### **Slots:**\n - _default_ - Default slot for a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group.\n- **value** - Named panel content where the slot name matches a nve-tabs-item value.\n\n### **CSS Properties:**\n - **--padding** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) _(default: undefined)_",
4832
+ "attributes": [
4833
+ {
4834
+ "name": "alignment",
4835
+ "description": "Determines the alignment of the popover relative to the provided anchor element.",
4836
+ "values": [{ "name": "top" }, { "name": "start" }, { "name": "end" }]
4837
+ }
4838
+ ],
4839
+ "references": [
4840
+ {
4841
+ "name": "aria",
4842
+ "url": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/"
4843
+ },
4844
+ {
4845
+ "name": "markdown",
4846
+ "url": "## nve-tabs-group\n\nCoordinates tabs with matching panel content using Invoker Commands and slot-matched panels.\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 a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group. |\n| {value} | `string` | Named panel content where the slot name matches a nve-tabs-item value. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| alignment | `'top' \\| 'start' \\| 'end'` | Determines the alignment of the popover relative to the provided anchor element. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| select | `CustomEvent` | Dispatched when the selected tab value changes after an invoker `--toggle` updates selection |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --toggle | `CommandEvent` | Select the matching tab and reveal the panel whose slot matches the invoker value. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
4847
+ }
4848
+ ]
4849
+ },
4654
4850
  {
4655
4851
  "name": "nve-tabs-item",
4656
4852
  "description": "Represents an individual tab within a tablist, providing a selectable button for switching between content views.\n---\n\n\n### **Slots:**\n - _default_ - default slot for content\n\n### **CSS Properties:**\n - **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--border-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-width) _(default: undefined)_\n- **--border-height** - _(default: undefined)_\n- **--border-top** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top) _(default: undefined)_\n- **--border-background** - _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--padding** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--cursor** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) _(default: undefined)_\n- **--text-transform** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) _(default: undefined)_",
@@ -4761,7 +4957,7 @@
4761
4957
  },
4762
4958
  {
4763
4959
  "name": "markdown",
4764
- "url": "## 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 behavior-select>\n <nve-tabs-item selected>Tab 1</nve-tabs-item>\n <nve-tabs-item>Tab 2</nve-tabs-item>\n <nve-tabs-item>Tab 3</nve-tabs-item>\n <nve-tabs-item>Tab 4</nve-tabs-item>\n <nve-tabs-item disabled>Disabled</nve-tabs-item>\n</nve-tabs>\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 content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\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 an <form> element. https://mdn.dev/HTML/Element/button#attr-type |\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 | `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| form | `HTMLFormElement \\| null \\| string` | Like input form, sets a button to submit a form outside its parent form. Returns a reference to the form element if available. https://mdn.dev/ElementInternals/form |\n| name | `string` | The name of the button, submitted as a pair with the button's value as part of the form data, when that button submits the form. 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| 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| 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 | `HTMLElement \\| null` | Establishing a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| popovertarget | `string` | The idref of the element that receives the popover. https://mdn.dev/HTML/Reference/Elements/button#popovertarget |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| commandForElement | `HTMLElement \\| null` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| commandfor | `string \\| null` | The idref of 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 | `HTMLElement \\| null` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| interestfor | `string \\| null` | The idref of the element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --border-width | `string` | [MDN](https://mdn.dev/CSS/border-width) |\n| --border-height | `string` | |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --border-background | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\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| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
4960
+ "url": "## 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 selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item 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 content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\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 an <form> element. https://mdn.dev/HTML/Element/button#attr-type |\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 | `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| form | `HTMLFormElement \\| null \\| string` | Like input form, sets a button to submit a form outside its parent form. Returns a reference to the form element if available. https://mdn.dev/ElementInternals/form |\n| name | `string` | The name of the button, submitted as a pair with the button's value as part of the form data, when that button submits the form. 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| 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| 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 | `HTMLElement \\| null` | Establishing a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| popovertarget | `string` | The idref of the element that receives the popover. https://mdn.dev/HTML/Reference/Elements/button#popovertarget |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| commandForElement | `HTMLElement \\| null` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| commandfor | `string \\| null` | The idref of 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 | `HTMLElement \\| null` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| interestfor | `string \\| null` | The idref of the element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --border-width | `string` | [MDN](https://mdn.dev/CSS/border-width) |\n| --border-height | `string` | |\n| --border-top | `string` | [MDN](https://mdn.dev/CSS/border-top) |\n| --border-background | `string` | |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\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| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |"
4765
4961
  }
4766
4962
  ]
4767
4963
  },
@@ -4792,7 +4988,7 @@
4792
4988
  },
4793
4989
  {
4794
4990
  "name": "markdown",
4795
- "url": "## 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 behavior-select>\n <nve-tabs-item selected>Tab 1</nve-tabs-item>\n <nve-tabs-item>Tab 2</nve-tabs-item>\n <nve-tabs-item>Tab 3</nve-tabs-item>\n <nve-tabs-item>Tab 4</nve-tabs-item>\n <nve-tabs-item disabled>Disabled</nve-tabs-item>\n</nve-tabs>\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| vertical | `boolean` | Determines whether the tabs should display in a vertical layout vs. defaulting to horizontal. |\n| borderless | `boolean` | Determines whether the tabs should display a border on selected items vs. defaults to show border. |\n| behaviorSelect (behavior-select) | `boolean` | Determines whether the tabs should handle selection behavior vs. defaults to off. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --indicator-background | `string` | |\n| --indicator-border-radius | `string` | |\n| --indicator-height | `string` | |\n| --border-inset | `string` | |"
4991
+ "url": "## 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 selected command=\"--toggle\" commandfor=\"tab-group-default\" value=\"overview\">Overview</nve-tabs-item>\n <nve-tabs-item 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| vertical | `boolean` | Determines whether the tabs should display in a vertical layout vs. defaulting to horizontal. |\n| borderless | `boolean` | Determines whether the tabs should display a border on selected items vs. defaults to show border. |\n| behaviorSelect (behavior-select) | `boolean` | Determines whether the tabs should handle selection behavior vs. defaults to off. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --indicator-background | `string` | |\n| --indicator-border-radius | `string` | |\n| --indicator-height | `string` | |\n| --border-inset | `string` | |"
4796
4992
  }
4797
4993
  ]
4798
4994
  },
@@ -5319,7 +5515,7 @@
5319
5515
  },
5320
5516
  {
5321
5517
  "name": "nve-tree-node",
5322
- "description": "A 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\n\n### **Events:**\n - **open** - Dispatched when the node opens.\n- **close** - Dispatched when the node closes.\n- **select** - Dispatched when the node selection state changes.\n\n### **Methods:**\n - **open()** - opens and sets the expanded state automatically if behaviorExpand is true\n- **close()** - closes and sets the expanded state automatically if behaviorExpand is true\n\n### **Slots:**\n - _default_ - Use default slot for basic text content or nested <nve-tree-node> elements.\n- **content** - Use for extended long form content containing interactive elements or form inputs.\n\n### **CSS Properties:**\n - **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--min-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) _(default: undefined)_\n- **--text-wrap** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n\n### **CSS Parts:**\n - **icon-button** - The icon button element\n- **icon** - The icon element\n- **checkbox** - The checkbox element",
5518
+ "description": "A 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\n\n### **Events:**\n - **open** - Dispatched when the node opens.\n- **close** - Dispatched when the node closes.\n- **select** - Dispatched when the node selection state changes.\n\n### **Methods:**\n - **open()** - opens and sets the expanded state automatically if behaviorExpand is true\n- **close()** - closes and sets the expanded state automatically if behaviorExpand is true\n\n### **Slots:**\n - _default_ - Use default slot for basic text content or nested <nve-tree-node> elements.\n- **content** - Use only for extended long form content containing interactive elements or form inputs.\n\n### **CSS Properties:**\n - **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--min-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) _(default: undefined)_\n- **--text-wrap** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n\n### **CSS Parts:**\n - **icon-button** - The icon button element\n- **icon** - The icon element\n- **checkbox** - The checkbox element",
5323
5519
  "attributes": [
5324
5520
  {
5325
5521
  "name": "expanded",
@@ -5359,7 +5555,7 @@
5359
5555
  },
5360
5556
  {
5361
5557
  "name": "markdown",
5362
- "url": "## 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 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| 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| expandable | `boolean` | Determines whether a node can be expandable. Expandable by default if slotted nodes exist. |\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| 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 | | Enables updating internal string values for internationalization. |\n| indeterminate | `boolean` | |\n| behaviorExpand | `boolean` | |\n| behaviorSelect | `boolean` | |\n| open | | opens and sets the expanded state automatically if behaviorExpand is true |\n| close | | closes and sets the expanded state automatically if behaviorExpand is true |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| open | `CustomEvent` | Dispatched when the node opens. |\n| close | `CustomEvent` | Dispatched when the node closes. |\n| select | `CustomEvent` | Dispatched when the node selection state changes. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --select | `CommandEvent` | use to select the node |\n| --deselect | `CommandEvent` | use to deselect the node |\n| --toggle-select | `CommandEvent` | use to toggle the node selection state |\n| --open | `CommandEvent` | use to open the node |\n| --close | `CommandEvent` | use to close the node |\n| --toggle | `CommandEvent` | use to toggle open / closed state of the node |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-wrap | `string` | [MDN](https://mdn.dev/CSS/text-wrap) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
5558
+ "url": "## 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| 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| expandable | `boolean` | Determines whether a node can be expandable. Expandable by default if slotted nodes exist. |\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| 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 | | Enables updating internal string values for internationalization. |\n| indeterminate | `boolean` | |\n| behaviorExpand | `boolean` | |\n| behaviorSelect | `boolean` | |\n| open | | opens and sets the expanded state automatically if behaviorExpand is true |\n| close | | closes and sets the expanded state automatically if behaviorExpand is true |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| open | `CustomEvent` | Dispatched when the node opens. |\n| close | `CustomEvent` | Dispatched when the node closes. |\n| select | `CustomEvent` | Dispatched when the node selection state changes. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --select | `CommandEvent` | use to select the node |\n| --deselect | `CommandEvent` | use to deselect the node |\n| --toggle-select | `CommandEvent` | use to toggle the node selection state |\n| --open | `CommandEvent` | use to open the node |\n| --close | `CommandEvent` | use to close the node |\n| --toggle | `CommandEvent` | use to toggle open / closed state of the node |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-wrap | `string` | [MDN](https://mdn.dev/CSS/text-wrap) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
5363
5559
  }
5364
5560
  ]
5365
5561
  },
@@ -35,6 +35,15 @@
35
35
  "description": "Dots and icons to tabs by slotting content.",
36
36
  "body": "<nve-tabs>\n <nve-tabs-item selected>${1:Tab 1}</nve-tabs-item>\n <nve-tabs-item>${2:Tab 2}</nve-tabs-item>\n <nve-tabs-item>${3:Tab 3}</nve-tabs-item>\n <nve-tabs-item selected>\n ${4:Tab 4}\n <nve-dot aria-label=\"${5:10} notifications\">${5:10}</nve-dot>\n </nve-tabs-item>\n <nve-tabs-item disabled>disabled</nve-tabs-item>\n</nve-tabs>\n$0\n"
37
37
  },
38
+ "Grouped Tabs": {
39
+ "srcFile": "tabs.snippets.html",
40
+ "prefix": [
41
+ "tabs-group"
42
+ ],
43
+ "type": "pattern",
44
+ "description": "Tabs group with slot-matched panels controlled by tab item commands.",
45
+ "body": "<nve-tabs-group id=\"${1:tab-group}\">\n <nve-tabs>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${2:overview}\">${3:Overview}</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${4:details}\">${5:Details}</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${6:settings}\">${7:Settings}</nve-tabs-item>\n </nve-tabs>\n <div slot=\"${2:overview}\">${8:Overview content}</div>\n <div slot=\"${4:details}\">${9:Details content}</div>\n <div slot=\"${6:settings}\">${10:Settings content}</div>\n</nve-tabs-group>\n$0\n"
46
+ },
38
47
  "Steps": {
39
48
  "srcFile": "steps.snippets.html",
40
49
  "prefix": [
@@ -19,7 +19,7 @@ var l = class extends r {
19
19
  static {
20
20
  this.metadata = {
21
21
  tag: "nve-date",
22
- version: "0.0.3"
22
+ version: "0.0.4"
23
23
  };
24
24
  }
25
25
  static {
@@ -19,7 +19,7 @@ var l = class extends r {
19
19
  static {
20
20
  this.metadata = {
21
21
  tag: "nve-datetime",
22
- version: "0.0.3"
22
+ version: "0.0.4"
23
23
  };
24
24
  }
25
25
  static {
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dialog-footer",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-dialog"]
16
16
  };
17
17
  }
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dialog-header",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-dialog"]
16
16
  };
17
17
  }
@@ -30,7 +30,7 @@ var h = class extends f {
30
30
  static {
31
31
  this.metadata = {
32
32
  tag: "nve-dialog",
33
- version: "0.0.3"
33
+ version: "0.0.4"
34
34
  };
35
35
  }
36
36
  static {
@@ -15,7 +15,7 @@ var s = class extends i {
15
15
  static {
16
16
  this.metadata = {
17
17
  tag: "nve-divider",
18
- version: "0.0.3"
18
+ version: "0.0.4"
19
19
  };
20
20
  }
21
21
  render() {
package/dist/dot/dot2.js CHANGED
@@ -16,7 +16,7 @@ var l = class extends o {
16
16
  static {
17
17
  this.metadata = {
18
18
  tag: "nve-dot",
19
- version: "0.0.3"
19
+ version: "0.0.4"
20
20
  };
21
21
  }
22
22
  render() {
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-content",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-footer",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-header",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -28,7 +28,7 @@ var p = class extends u {
28
28
  static {
29
29
  this.metadata = {
30
30
  tag: "nve-drawer",
31
- version: "0.0.3"
31
+ version: "0.0.4"
32
32
  };
33
33
  }
34
34
  static {
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dropdown-footer",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-dropdown"]
16
16
  };
17
17
  }
@@ -11,7 +11,7 @@ var o = class extends i {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dropdown-header",
14
- version: "0.0.3",
14
+ version: "0.0.4",
15
15
  parents: ["nve-dropdown"]
16
16
  };
17
17
  }
@@ -21,7 +21,7 @@ var p = class extends l {
21
21
  static {
22
22
  this.metadata = {
23
23
  tag: "nve-dropdown",
24
- version: "0.0.3"
24
+ version: "0.0.4"
25
25
  };
26
26
  }
27
27
  static {
@@ -14,7 +14,7 @@ var d = class extends c {
14
14
  static {
15
15
  this.metadata = {
16
16
  tag: "nve-dropdown-group",
17
- version: "0.0.3",
17
+ version: "0.0.4",
18
18
  children: ["nve-dropdown"]
19
19
  };
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dropzone.examples.js","names":[],"sources":["../../src/dropzone/dropzone.examples.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport '@nvidia-elements/core/forms/define.js';\nimport '@nvidia-elements/core/dropzone/define.js';\n\nexport default {\n title: 'Elements/Dropzone',\n component: 'nve-dropzone'\n};\n\n/**\n * @summary Basic file dropzone with drag-and-drop area for file upload interactions.\n */\nexport const Default = {\n render: () => html`\n<nve-dropzone name=\"files\" style=\"--min-height: 200px;\"></nve-dropzone>`\n};\n\n/**\n * @summary Dropzone with custom icon slot showing visual feedback on hover and highlight states.\n */\nexport const Icon = {\n render: () => html`\n<style>\n nve-dropzone nve-icon {\n --color: red;\n background: var(--nve-sys-layer-canvas-accent-background);\n }\n\n nve-dropzone[highlighted] nve-icon,\n nve-dropzone:hover nve-icon {\n --color: var(--nve-sys-text-white-color);\n background: var(--nve-sys-accent-primary-background);\n }\n</style>\n<nve-dropzone name=\"files\">\n <nve-icon slot=\"icon\" name=\"document\"></nve-icon>\n</nve-dropzone>\n`\n};\n\n/**\n * @summary Dropzone integrated with form validation showing file type and size constraint errors.\n */\nexport const Form = {\n render: () => html`\n<form id=\"form-demo\" nve-layout=\"column gap:lg\">\n <section>\n <nve-control>\n <nve-dropzone name=\"files\" accept=\"image/gif, image/jpeg, image/png\" max-file-size=\"1048576\"></nve-dropzone>\n <nve-control-message error=\"typeMismatch\">Unsupported file type — this upload only accepts images</nve-control-message>\n <nve-control-message error=\"rangeOverflow\">File too big - maximum 1.00 MB allowed</nve-control-message>\n </nve-control>\n </section>\n <nve-button type=\"submit\">submit</nve-button>\n</form>\n<script type=\"module\">\n const form = document.querySelector('#form-demo');\n const dropzone = document.querySelector('#form-demo nve-dropzone');\n\n dropzone.addEventListener('change', e => {\n console.log('change', e.target.value);\n const files = e.target.value;\n console.log('Validity:', e.target.validity);\n console.log('Validation Message:', e.target.validationMessage);\n });\n\n form.addEventListener('submit', e => {\n e.preventDefault();\n const formData = new FormData(e.target);\n const files = formData.getAll('files');\n\n if (form.checkValidity()) {\n console.log('Form submitted successfully!');\n } else {\n console.log('Form validation failed');\n }\n });\n</script>\n`\n};\n"],"mappings":";AAGA,IAAA,IAAS"}
1
+ {"version":3,"file":"dropzone.examples.js","names":[],"sources":["../../src/dropzone/dropzone.examples.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport '@nvidia-elements/core/forms/define.js';\nimport '@nvidia-elements/core/dropzone/define.js';\n\nexport default {\n title: 'Elements/Dropzone',\n component: 'nve-dropzone'\n};\n\n/**\n * @summary Basic file dropzone with drag-and-drop area for file upload interactions.\n */\nexport const Default = {\n render: () => html`\n<nve-dropzone name=\"files\" style=\"--min-height: 200px;\"></nve-dropzone>`\n};\n\n/**\n * @summary Dropzone with custom icon slot showing visual feedback on hover and highlight states.\n * @tags theme\n */\nexport const Icon = {\n render: () => html`\n<style>\n nve-dropzone nve-icon {\n --color: red;\n background: var(--nve-sys-layer-canvas-accent-background);\n }\n\n nve-dropzone[highlighted] nve-icon,\n nve-dropzone:hover nve-icon {\n --color: var(--nve-sys-text-white-color);\n background: var(--nve-sys-accent-primary-background);\n }\n</style>\n<nve-dropzone name=\"files\">\n <nve-icon slot=\"icon\" name=\"document\"></nve-icon>\n</nve-dropzone>\n`\n};\n\n/**\n * @summary Dropzone integrated with form validation showing file type and size constraint errors.\n */\nexport const Form = {\n render: () => html`\n<form id=\"form-demo\" nve-layout=\"column gap:lg\">\n <section>\n <nve-control>\n <nve-dropzone name=\"files\" accept=\"image/gif, image/jpeg, image/png\" max-file-size=\"1048576\"></nve-dropzone>\n <nve-control-message error=\"typeMismatch\">Unsupported file type — this upload only accepts images</nve-control-message>\n <nve-control-message error=\"rangeOverflow\">File too big - maximum 1.00 MB allowed</nve-control-message>\n </nve-control>\n </section>\n <nve-button type=\"submit\">submit</nve-button>\n</form>\n<script type=\"module\">\n const form = document.querySelector('#form-demo');\n const dropzone = document.querySelector('#form-demo nve-dropzone');\n\n dropzone.addEventListener('change', e => {\n console.log('change', e.target.value);\n const files = e.target.value;\n console.log('Validity:', e.target.validity);\n console.log('Validation Message:', e.target.validationMessage);\n });\n\n form.addEventListener('submit', e => {\n e.preventDefault();\n const formData = new FormData(e.target);\n const files = formData.getAll('files');\n\n if (form.checkValidity()) {\n console.log('Form submitted successfully!');\n } else {\n console.log('Form validation failed');\n }\n });\n</script>\n`\n};\n"],"mappings":";AAGA,IAAA,IAAS"}
@@ -18,7 +18,9 @@
18
18
  "summary": "Dropzone with custom icon slot showing visual feedback on hover and highlight states.",
19
19
  "description": "",
20
20
  "composition": false,
21
- "tags": []
21
+ "tags": [
22
+ "theme"
23
+ ]
22
24
  },
23
25
  {
24
26
  "id": "core-dropzone_form",
@@ -20,7 +20,7 @@ var g = class extends h(d) {
20
20
  static {
21
21
  this.metadata = {
22
22
  tag: "nve-dropzone",
23
- version: "0.0.3",
23
+ version: "0.0.4",
24
24
  validators: [l, c],
25
25
  valueSchema: {
26
26
  type: "array",
@@ -11,7 +11,7 @@ var a = class extends n {
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-file",
14
- version: "0.0.3"
14
+ version: "0.0.4"
15
15
  };
16
16
  }
17
17
  connectedCallback() {
@@ -0,0 +1,6 @@
1
+ import { FormatDatetime } from '.';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'nve-format-datetime': FormatDatetime;
5
+ }
6
+ }
@@ -0,0 +1,7 @@
1
+ import { define as e } from "../internal/utils/dom.js";
2
+ import { FormatDatetime as t } from "./format-datetime2.js";
3
+ //#region src/format-datetime/define.ts
4
+ e(t);
5
+ //#endregion
6
+
7
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","names":[],"sources":["../../src/format-datetime/define.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { define } from '@nvidia-elements/core/internal';\nimport { FormatDatetime } from '@nvidia-elements/core/format-datetime';\n\ndefine(FormatDatetime);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nve-format-datetime': FormatDatetime;\n }\n}\n"],"mappings":";;;AAMA,EAAO,EAAe"}