@nvidia-elements/core 0.0.2 → 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 (265) hide show
  1. package/CHANGELOG.md +20 -28
  2. package/NOTICE.md +119 -0
  3. package/README.md +1 -10
  4. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.123.0}/helpers/decorate.js +1 -1
  5. package/dist/accordion/accordion2.js +5 -5
  6. package/dist/alert/alert-banner2.js +1 -1
  7. package/dist/alert/alert-group2.js +2 -2
  8. package/dist/alert/alert.examples.js.map +1 -1
  9. package/dist/alert/alert.examples.json +1 -1
  10. package/dist/alert/alert2.js +2 -2
  11. package/dist/avatar/avatar-group2.js +1 -1
  12. package/dist/avatar/avatar2.js +2 -2
  13. package/dist/badge/badge2.js +2 -2
  14. package/dist/breadcrumb/breadcrumb2.js +2 -2
  15. package/dist/bundle.d.ts +2 -0
  16. package/dist/bundles/index.d.ts +214 -35
  17. package/dist/bundles/index.js +13 -6952
  18. package/dist/button/button.examples.js.map +1 -1
  19. package/dist/button/button.examples.json +3 -3
  20. package/dist/button/button2.js +2 -2
  21. package/dist/button-group/button-group2.js +2 -2
  22. package/dist/card/card2.js +5 -5
  23. package/dist/chat-message/chat-message2.js +2 -2
  24. package/dist/checkbox/checkbox-group2.js +2 -2
  25. package/dist/checkbox/checkbox2.js +2 -2
  26. package/dist/checkbox/define.js +6 -3
  27. package/dist/checkbox/define.js.map +1 -1
  28. package/dist/color/color2.js +2 -2
  29. package/dist/color/define.js +5 -3
  30. package/dist/color/define.js.map +1 -1
  31. package/dist/combobox/combobox.d.ts +5 -0
  32. package/dist/combobox/combobox.examples.js.map +1 -1
  33. package/dist/combobox/combobox.examples.json +22 -0
  34. package/dist/combobox/combobox.js +1 -1
  35. package/dist/combobox/combobox.js.map +1 -1
  36. package/dist/combobox/combobox2.js +110 -61
  37. package/dist/combobox/combobox2.js.map +1 -1
  38. package/dist/combobox/define.js +5 -3
  39. package/dist/combobox/define.js.map +1 -1
  40. package/dist/copy-button/copy-button2.js +2 -2
  41. package/dist/custom-elements-jsx.d.ts +125 -63
  42. package/dist/custom-elements-vue.d.ts +125 -63
  43. package/dist/custom-elements.json +1626 -806
  44. package/dist/data.html.json +204 -46
  45. package/dist/data.snippets.json +9 -0
  46. package/dist/date/date2.js +2 -2
  47. package/dist/date/define.js +5 -3
  48. package/dist/date/define.js.map +1 -1
  49. package/dist/datetime/datetime2.js +2 -2
  50. package/dist/datetime/define.js +5 -3
  51. package/dist/datetime/define.js.map +1 -1
  52. package/dist/dialog/dialog-footer2.js +2 -2
  53. package/dist/dialog/dialog-header2.js +2 -2
  54. package/dist/dialog/dialog2.js +2 -2
  55. package/dist/divider/divider2.js +2 -2
  56. package/dist/dot/dot2.js +2 -2
  57. package/dist/drawer/drawer-content2.js +2 -2
  58. package/dist/drawer/drawer-footer2.js +2 -2
  59. package/dist/drawer/drawer-header2.js +2 -2
  60. package/dist/drawer/drawer2.js +2 -2
  61. package/dist/dropdown/dropdown-footer2.js +2 -2
  62. package/dist/dropdown/dropdown-header2.js +2 -2
  63. package/dist/dropdown/dropdown2.js +2 -2
  64. package/dist/dropdown-group/dropdown-group.js +2 -2
  65. package/dist/dropzone/dropzone.examples.js.map +1 -1
  66. package/dist/dropzone/dropzone.examples.json +3 -1
  67. package/dist/dropzone/dropzone2.js +2 -2
  68. package/dist/file/define.js +5 -3
  69. package/dist/file/define.js.map +1 -1
  70. package/dist/file/file2.js +1 -1
  71. package/dist/format-datetime/define.d.ts +6 -0
  72. package/dist/format-datetime/define.js +7 -0
  73. package/dist/format-datetime/define.js.map +1 -0
  74. package/dist/format-datetime/format-datetime.d.ts +74 -0
  75. package/dist/format-datetime/format-datetime.examples.js +6 -0
  76. package/dist/format-datetime/format-datetime.examples.js.map +1 -0
  77. package/dist/format-datetime/format-datetime.examples.json +87 -0
  78. package/dist/format-datetime/format-datetime.js +6 -0
  79. package/dist/format-datetime/format-datetime.js.map +1 -0
  80. package/dist/format-datetime/format-datetime2.js +77 -0
  81. package/dist/format-datetime/format-datetime2.js.map +1 -0
  82. package/dist/format-datetime/index.d.ts +1 -0
  83. package/dist/format-datetime/index.js +2 -0
  84. package/dist/format-relative-time/define.d.ts +6 -0
  85. package/dist/format-relative-time/define.js +7 -0
  86. package/dist/format-relative-time/define.js.map +1 -0
  87. package/dist/format-relative-time/format-relative-time.d.ts +47 -0
  88. package/dist/format-relative-time/format-relative-time.examples.js +6 -0
  89. package/dist/format-relative-time/format-relative-time.examples.js.map +1 -0
  90. package/dist/format-relative-time/format-relative-time.examples.json +69 -0
  91. package/dist/format-relative-time/format-relative-time.js +6 -0
  92. package/dist/format-relative-time/format-relative-time.js.map +1 -0
  93. package/dist/format-relative-time/format-relative-time2.js +118 -0
  94. package/dist/format-relative-time/format-relative-time2.js.map +1 -0
  95. package/dist/format-relative-time/index.d.ts +1 -0
  96. package/dist/format-relative-time/index.js +2 -0
  97. package/dist/forms/control/control2.js +2 -2
  98. package/dist/forms/control-group/control-group2.js +2 -2
  99. package/dist/forms/control-message/control-message2.js +2 -2
  100. package/dist/forms/forms.examples.js.map +1 -1
  101. package/dist/forms/forms.examples.json +4 -2
  102. package/dist/grid/cell/cell2.js +1 -1
  103. package/dist/grid/column/column.d.ts +1 -0
  104. package/dist/grid/column/column2.js +5 -2
  105. package/dist/grid/column/column2.js.map +1 -1
  106. package/dist/grid/footer/footer2.js +2 -2
  107. package/dist/grid/grid.examples.js.map +1 -1
  108. package/dist/grid/grid.examples.json +1 -1
  109. package/dist/grid/grid2.js +2 -2
  110. package/dist/grid/header/header2.js +2 -2
  111. package/dist/grid/placeholder/placeholder2.js +1 -1
  112. package/dist/grid/row/row2.js +2 -2
  113. package/dist/icon/icon2.js +3 -3
  114. package/dist/icon-button/icon-button2.js +2 -2
  115. package/dist/index.js +1 -1
  116. package/dist/input/define.js +6 -3
  117. package/dist/input/define.js.map +1 -1
  118. package/dist/input/input-group2.js +1 -1
  119. package/dist/input/input2.js +2 -2
  120. package/dist/internal/base/button.js +1 -1
  121. package/dist/internal/index.js +40 -40
  122. package/dist/internal/services/global.service.js +1 -1
  123. package/dist/internal/services/i18n.service.d.ts +1 -0
  124. package/dist/internal/services/i18n.service.js +2 -1
  125. package/dist/internal/services/i18n.service.js.map +1 -1
  126. package/dist/internal/utils/dom.d.ts +10 -0
  127. package/dist/internal/utils/dom.js +57 -51
  128. package/dist/internal/utils/dom.js.map +1 -1
  129. package/dist/logo/logo2.js +2 -2
  130. package/dist/menu/menu-item2.js +2 -2
  131. package/dist/menu/menu.d.ts +3 -0
  132. package/dist/menu/menu2.js +23 -2
  133. package/dist/menu/menu2.js.map +1 -1
  134. package/dist/month/define.js +5 -3
  135. package/dist/month/define.js.map +1 -1
  136. package/dist/month/month2.js +2 -2
  137. package/dist/notification/notification-group2.js +2 -2
  138. package/dist/notification/notification2.js +2 -2
  139. package/dist/page/page-panel/page-panel-content2.js +1 -1
  140. package/dist/page/page-panel/page-panel-footer2.js +2 -2
  141. package/dist/page/page-panel/page-panel-header2.js +2 -2
  142. package/dist/page/page-panel/page-panel2.js +2 -2
  143. package/dist/page/page.examples.js.map +1 -1
  144. package/dist/page/page.examples.json +0 -11
  145. package/dist/page/page2.js +2 -2
  146. package/dist/page-header/page-header.examples.js.map +1 -1
  147. package/dist/page-header/page-header.examples.json +2 -2
  148. package/dist/page-header/page-header2.js +1 -1
  149. package/dist/page-loader/page-loader.js +1 -1
  150. package/dist/page-loader/page-loader.js.map +1 -1
  151. package/dist/page-loader/page-loader2.js +2 -2
  152. package/dist/pagination/pagination2.js +2 -2
  153. package/dist/panel/panel2.js +5 -5
  154. package/dist/password/define.js +5 -3
  155. package/dist/password/define.js.map +1 -1
  156. package/dist/password/password2.js +2 -2
  157. package/dist/preferences-input/preferences-input2.js +2 -2
  158. package/dist/progress-bar/progress-bar2.js +2 -2
  159. package/dist/progress-ring/progress-ring2.js +2 -2
  160. package/dist/progressive-filter-chip/progressive-filter-chip2.js +2 -2
  161. package/dist/pulse/pulse2.js +2 -2
  162. package/dist/radio/define.js +6 -3
  163. package/dist/radio/define.js.map +1 -1
  164. package/dist/radio/radio-group2.js +2 -2
  165. package/dist/radio/radio2.js +2 -2
  166. package/dist/range/define.js +5 -3
  167. package/dist/range/define.js.map +1 -1
  168. package/dist/range/range2.js +2 -2
  169. package/dist/resize-handle/resize-handle.examples.js.map +1 -1
  170. package/dist/resize-handle/resize-handle.examples.json +3 -1
  171. package/dist/resize-handle/resize-handle2.js +2 -2
  172. package/dist/search/define.js +5 -3
  173. package/dist/search/define.js.map +1 -1
  174. package/dist/search/search2.js +2 -2
  175. package/dist/select/define.js +5 -3
  176. package/dist/select/define.js.map +1 -1
  177. package/dist/select/select2.js +2 -2
  178. package/dist/skeleton/skeleton.examples.js.map +1 -1
  179. package/dist/skeleton/skeleton.examples.json +3 -1
  180. package/dist/skeleton/skeleton2.js +2 -2
  181. package/dist/sort-button/sort-button2.js +2 -2
  182. package/dist/sparkline/sparkline.examples.js.map +1 -1
  183. package/dist/sparkline/sparkline.examples.json +3 -1
  184. package/dist/sparkline/sparkline.utils.js +2 -8
  185. package/dist/sparkline/sparkline.utils.js.map +1 -1
  186. package/dist/sparkline/sparkline2.js +2 -2
  187. package/dist/star-rating/define.js +5 -3
  188. package/dist/star-rating/define.js.map +1 -1
  189. package/dist/star-rating/star-rating2.js +2 -2
  190. package/dist/steps/steps2.js +3 -3
  191. package/dist/switch/define.js +6 -3
  192. package/dist/switch/define.js.map +1 -1
  193. package/dist/switch/switch-group2.js +2 -2
  194. package/dist/switch/switch2.js +2 -2
  195. package/dist/tabs/define.d.ts +2 -1
  196. package/dist/tabs/define.js +2 -1
  197. package/dist/tabs/define.js.map +1 -1
  198. package/dist/tabs/index.d.ts +1 -0
  199. package/dist/tabs/index.js +2 -1
  200. package/dist/tabs/tabs-group.d.ts +51 -0
  201. package/dist/tabs/tabs-group.js +6 -0
  202. package/dist/tabs/tabs-group.js.map +1 -0
  203. package/dist/tabs/tabs-group2.js +144 -0
  204. package/dist/tabs/tabs-group2.js.map +1 -0
  205. package/dist/tabs/tabs.examples.js.map +1 -1
  206. package/dist/tabs/tabs.examples.json +38 -2
  207. package/dist/tabs/tabs2.js +3 -3
  208. package/dist/tag/tag2.js +2 -2
  209. package/dist/textarea/define.js +5 -3
  210. package/dist/textarea/define.js.map +1 -1
  211. package/dist/textarea/textarea2.js +1 -1
  212. package/dist/time/define.js +5 -3
  213. package/dist/time/define.js.map +1 -1
  214. package/dist/time/time2.js +2 -2
  215. package/dist/toast/toast2.js +2 -2
  216. package/dist/toggletip/toggletip-footer2.js +2 -2
  217. package/dist/toggletip/toggletip-header2.js +2 -2
  218. package/dist/toggletip/toggletip2.js +2 -2
  219. package/dist/toolbar/toolbar2.js +2 -2
  220. package/dist/tooltip/tooltip2.js +2 -2
  221. package/dist/tree/tree-node.d.ts +1 -1
  222. package/dist/tree/tree-node.js +1 -1
  223. package/dist/tree/tree-node.js.map +1 -1
  224. package/dist/tree/tree-node2.js +2 -2
  225. package/dist/tree/tree-node2.js.map +1 -1
  226. package/dist/tree/tree.examples.js.map +1 -1
  227. package/dist/tree/tree.examples.json +1 -10
  228. package/dist/tree/tree2.js +2 -2
  229. package/dist/week/define.js +5 -3
  230. package/dist/week/define.js.map +1 -1
  231. package/dist/week/week2.js +2 -2
  232. package/package.json +43 -41
  233. package/dist/app-header/app-header.d.ts +0 -39
  234. package/dist/app-header/app-header.js +0 -6
  235. package/dist/app-header/app-header.js.map +0 -1
  236. package/dist/app-header/app-header2.js +0 -54
  237. package/dist/app-header/app-header2.js.map +0 -1
  238. package/dist/app-header/define.d.ts +0 -6
  239. package/dist/app-header/define.js +0 -7
  240. package/dist/app-header/define.js.map +0 -1
  241. package/dist/app-header/index.d.ts +0 -1
  242. package/dist/app-header/index.js +0 -2
  243. package/dist/bundles/audit-logs.js +0 -50
  244. package/dist/bundles/icons.js +0 -285
  245. package/dist/bundles/index.css +0 -2
  246. package/dist/bundles/log.service.js +0 -90
  247. package/dist/bundles/rolldown-runtime.js +0 -11
  248. package/dist/css/module.layout.css +0 -1
  249. package/dist/css/module.typography.css +0 -1
  250. package/dist/index.css +0 -1
  251. package/dist/json-viewer/define.d.ts +0 -8
  252. package/dist/json-viewer/define.js +0 -8
  253. package/dist/json-viewer/define.js.map +0 -1
  254. package/dist/json-viewer/index.d.ts +0 -2
  255. package/dist/json-viewer/index.js +0 -3
  256. package/dist/json-viewer/json-viewer.d.ts +0 -25
  257. package/dist/json-viewer/json-viewer.js +0 -6
  258. package/dist/json-viewer/json-viewer.js.map +0 -1
  259. package/dist/json-viewer/json-viewer2.js +0 -39
  260. package/dist/json-viewer/json-viewer2.js.map +0 -1
  261. package/dist/json-viewer/node/node.d.ts +0 -21
  262. package/dist/json-viewer/node/node.js +0 -6
  263. package/dist/json-viewer/node/node.js.map +0 -1
  264. package/dist/json-viewer/node/node2.js +0 -72
  265. package/dist/json-viewer/node/node2.js.map +0 -1
@@ -2479,199 +2479,6 @@
2479
2479
  }
2480
2480
  ]
2481
2481
  },
2482
- {
2483
- "kind": "javascript-module",
2484
- "path": "/src/app-header/app-header.js",
2485
- "declarations": [
2486
- {
2487
- "kind": "class",
2488
- "description": "An element that appears across the top of all pages containing the application name and primary navigation.",
2489
- "name": "AppHeader",
2490
- "cssProperties": [
2491
- {
2492
- "name": "--background",
2493
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)"
2494
- },
2495
- {
2496
- "name": "--padding",
2497
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)"
2498
- },
2499
- {
2500
- "name": "--border-bottom",
2501
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom)"
2502
- },
2503
- {
2504
- "name": "--color",
2505
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color)"
2506
- },
2507
- {
2508
- "name": "--font-weight",
2509
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)"
2510
- },
2511
- {
2512
- "name": "--text-decoration",
2513
- "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)"
2514
- }
2515
- ],
2516
- "slots": [
2517
- {
2518
- "description": "Use the default slot in `logo` to create an app logo badge within the app header. Include a `<span>` element inside `app-header` to change the default application title.",
2519
- "name": ""
2520
- },
2521
- {
2522
- "name": "title"
2523
- },
2524
- {
2525
- "description": "For `button` and `icon-button` elements used for navigation behavior. Use the `active` attribute to show the current page.",
2526
- "name": "nav-items"
2527
- },
2528
- {
2529
- "description": "For `icon-button` elements. Places them in the supplemental actions section of the app header.",
2530
- "name": "nav-actions"
2531
- }
2532
- ],
2533
- "members": [
2534
- {
2535
- "name": "nve-layout",
2536
- "deprecated": true,
2537
- "description": "not supported on custom element tags",
2538
- "type": {
2539
- "text": "string",
2540
- "values": [
2541
- {
2542
- "value": "string",
2543
- "description": ""
2544
- },
2545
- {
2546
- "value": "string",
2547
- "description": ""
2548
- }
2549
- ],
2550
- "_sourceAliases": []
2551
- },
2552
- "attribute": "nve-layout",
2553
- "kind": "field"
2554
- },
2555
- {
2556
- "name": "nve-text",
2557
- "deprecated": true,
2558
- "description": "not supported on custom element tags",
2559
- "type": {
2560
- "text": "string",
2561
- "values": [
2562
- {
2563
- "value": "string",
2564
- "description": ""
2565
- },
2566
- {
2567
- "value": "string",
2568
- "description": ""
2569
- }
2570
- ],
2571
- "_sourceAliases": []
2572
- },
2573
- "attribute": "nve-text",
2574
- "kind": "field"
2575
- }
2576
- ],
2577
- "attributes": [
2578
- {
2579
- "name": "nve-layout",
2580
- "deprecated": true,
2581
- "description": "not supported on custom element tags",
2582
- "type": {
2583
- "text": "string",
2584
- "values": [
2585
- {
2586
- "value": "string",
2587
- "description": ""
2588
- },
2589
- {
2590
- "value": "string",
2591
- "description": ""
2592
- }
2593
- ],
2594
- "_sourceAliases": []
2595
- }
2596
- },
2597
- {
2598
- "name": "nve-text",
2599
- "deprecated": true,
2600
- "description": "not supported on custom element tags",
2601
- "type": {
2602
- "text": "string",
2603
- "values": [
2604
- {
2605
- "value": "string",
2606
- "description": ""
2607
- },
2608
- {
2609
- "value": "string",
2610
- "description": ""
2611
- }
2612
- ],
2613
- "_sourceAliases": []
2614
- }
2615
- }
2616
- ],
2617
- "superclass": {
2618
- "name": "LitElement",
2619
- "package": "lit"
2620
- },
2621
- "deprecated": "use `nve-page-header` instead",
2622
- "tagName": "nve-app-header",
2623
- "customElement": true,
2624
- "metadata": {
2625
- "unitTests": true,
2626
- "apiReview": true,
2627
- "performance": true,
2628
- "stable": true,
2629
- "vqa": true,
2630
- "responsive": false,
2631
- "themes": true,
2632
- "aria": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav",
2633
- "entrypoint": "",
2634
- "example": "",
2635
- "package": true,
2636
- "since": "0.11.0",
2637
- "status": "stable",
2638
- "behavior": "navigation",
2639
- "markdown": "## nve-app-header\n\nAn element that appears across the top of all pages containing the application name and primary navigation.\n\n### Import\n\n```javascript\nimport '/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Use the default slot in `logo` to create an app logo badge within the app header. Include a `<span>` element inside `app-header` to change the default application title. |\n| title | `string` | |\n| nav-items | `string` | For `button` and `icon-button` elements used for navigation behavior. Use the `active` attribute to show the current page. |\n| nav-actions | `string` | For `icon-button` elements. Places them in the supplemental actions section of the app header. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --border-bottom | `string` | [MDN](https://mdn.dev/CSS/border-bottom) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --text-decoration | `string` | [MDN](https://mdn.dev/CSS/text-decoration) |"
2640
- }
2641
- }
2642
- ],
2643
- "exports": [
2644
- {
2645
- "kind": "js",
2646
- "name": "AppHeader",
2647
- "declaration": {
2648
- "name": "AppHeader",
2649
- "module": "/src/app-header/app-header.js"
2650
- }
2651
- }
2652
- ]
2653
- },
2654
- {
2655
- "kind": "javascript-module",
2656
- "path": "/src/app-header/define.js",
2657
- "declarations": [],
2658
- "exports": []
2659
- },
2660
- {
2661
- "kind": "javascript-module",
2662
- "path": "/src/app-header/index.js",
2663
- "declarations": [],
2664
- "exports": [
2665
- {
2666
- "kind": "js",
2667
- "name": "*",
2668
- "declaration": {
2669
- "name": "*",
2670
- "module": "home/runner/work/elements/elements/projects/core/src/app-header/app-header.js"
2671
- }
2672
- }
2673
- ]
2674
- },
2675
2482
  {
2676
2483
  "kind": "javascript-module",
2677
2484
  "path": "/src/avatar/avatar-group.js",
@@ -4217,6 +4024,22 @@
4217
4024
  "package": "@nvidia-elements/core/file"
4218
4025
  }
4219
4026
  },
4027
+ {
4028
+ "kind": "js",
4029
+ "name": "*",
4030
+ "declaration": {
4031
+ "name": "*",
4032
+ "package": "@nvidia-elements/core/format-datetime"
4033
+ }
4034
+ },
4035
+ {
4036
+ "kind": "js",
4037
+ "name": "*",
4038
+ "declaration": {
4039
+ "name": "*",
4040
+ "package": "@nvidia-elements/core/format-relative-time"
4041
+ }
4042
+ },
4220
4043
  {
4221
4044
  "kind": "js",
4222
4045
  "name": "*",
@@ -9034,6 +8857,10 @@
9034
8857
  {
9035
8858
  "description": "The icon element",
9036
8859
  "name": "icon"
8860
+ },
8861
+ {
8862
+ "description": "The menu item element for creating new options",
8863
+ "name": "create-option"
9037
8864
  }
9038
8865
  ],
9039
8866
  "slots": [
@@ -9102,6 +8929,27 @@
9102
8929
  "attribute": "notags",
9103
8930
  "reflects": true
9104
8931
  },
8932
+ {
8933
+ "kind": "field",
8934
+ "name": "behaviorCreate",
8935
+ "type": {
8936
+ "text": "boolean",
8937
+ "_sourceAliases": [],
8938
+ "values": [
8939
+ {
8940
+ "value": "true",
8941
+ "description": ""
8942
+ },
8943
+ {
8944
+ "value": "false",
8945
+ "description": ""
8946
+ }
8947
+ ]
8948
+ },
8949
+ "description": "Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail.",
8950
+ "attribute": "behavior-create",
8951
+ "reflects": true
8952
+ },
9105
8953
  {
9106
8954
  "kind": "method",
9107
8955
  "name": "reset",
@@ -9347,6 +9195,29 @@
9347
9195
  }
9348
9196
  }
9349
9197
  ],
9198
+ "events": [
9199
+ {
9200
+ "name": "create",
9201
+ "type": {
9202
+ "text": "CustomEvent"
9203
+ },
9204
+ "description": "Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`."
9205
+ },
9206
+ {
9207
+ "description": "Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.",
9208
+ "name": "scroll"
9209
+ },
9210
+ {
9211
+ "name": "reset",
9212
+ "type": {
9213
+ "text": "CustomEvent"
9214
+ },
9215
+ "inheritedFrom": {
9216
+ "name": "Control",
9217
+ "module": "/src/forms/control/control.js"
9218
+ }
9219
+ }
9220
+ ],
9350
9221
  "attributes": [
9351
9222
  {
9352
9223
  "name": "container",
@@ -9383,6 +9254,25 @@
9383
9254
  "description": "Disable rendering of inline tags for many-item select",
9384
9255
  "fieldName": "notags"
9385
9256
  },
9257
+ {
9258
+ "name": "behavior-create",
9259
+ "type": {
9260
+ "text": "boolean",
9261
+ "_sourceAliases": [],
9262
+ "values": [
9263
+ {
9264
+ "value": "true",
9265
+ "description": ""
9266
+ },
9267
+ {
9268
+ "value": "false",
9269
+ "description": ""
9270
+ }
9271
+ ]
9272
+ },
9273
+ "description": "Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail.",
9274
+ "fieldName": "behaviorCreate"
9275
+ },
9386
9276
  {
9387
9277
  "name": "nve-layout",
9388
9278
  "deprecated": true,
@@ -9592,20 +9482,8 @@
9592
9482
  "since": "0.17.0",
9593
9483
  "status": "stable",
9594
9484
  "behavior": "form",
9595
- "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| 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| 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) |"
9596
- },
9597
- "events": [
9598
- {
9599
- "name": "reset",
9600
- "type": {
9601
- "text": "CustomEvent"
9602
- },
9603
- "inheritedFrom": {
9604
- "name": "Control",
9605
- "module": "/src/forms/control/control.js"
9606
- }
9607
- }
9608
- ]
9485
+ "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| 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) |"
9486
+ }
9609
9487
  }
9610
9488
  ],
9611
9489
  "exports": [
@@ -17182,6 +17060,1145 @@
17182
17060
  }
17183
17061
  ]
17184
17062
  },
17063
+ {
17064
+ "kind": "javascript-module",
17065
+ "path": "/src/format-datetime/define.js",
17066
+ "declarations": [],
17067
+ "exports": []
17068
+ },
17069
+ {
17070
+ "kind": "javascript-module",
17071
+ "path": "/src/format-datetime/format-datetime.js",
17072
+ "declarations": [
17073
+ {
17074
+ "kind": "class",
17075
+ "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.",
17076
+ "name": "FormatDatetime",
17077
+ "slots": [
17078
+ {
17079
+ "description": "Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.",
17080
+ "name": ""
17081
+ }
17082
+ ],
17083
+ "members": [
17084
+ {
17085
+ "kind": "field",
17086
+ "name": "date",
17087
+ "type": {
17088
+ "text": "string | \"default\"",
17089
+ "_sourceAliases": [],
17090
+ "values": [
17091
+ {
17092
+ "value": "string",
17093
+ "description": ""
17094
+ }
17095
+ ]
17096
+ },
17097
+ "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.",
17098
+ "attribute": "date"
17099
+ },
17100
+ {
17101
+ "kind": "field",
17102
+ "name": "locale",
17103
+ "type": {
17104
+ "text": "string | \"default\"",
17105
+ "_sourceAliases": [],
17106
+ "values": [
17107
+ {
17108
+ "value": "string",
17109
+ "description": ""
17110
+ }
17111
+ ]
17112
+ },
17113
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
17114
+ "attribute": "locale"
17115
+ },
17116
+ {
17117
+ "kind": "field",
17118
+ "name": "weekday",
17119
+ "type": {
17120
+ "text": "'long' | 'short' | 'narrow' | \"default\"",
17121
+ "_sourceAliases": [],
17122
+ "values": [
17123
+ {
17124
+ "value": "long",
17125
+ "description": ""
17126
+ },
17127
+ {
17128
+ "value": "short",
17129
+ "description": ""
17130
+ },
17131
+ {
17132
+ "value": "narrow",
17133
+ "description": ""
17134
+ }
17135
+ ]
17136
+ },
17137
+ "description": "Weekday representation: 'long' | 'short' | 'narrow'.",
17138
+ "attribute": "weekday"
17139
+ },
17140
+ {
17141
+ "kind": "field",
17142
+ "name": "year",
17143
+ "type": {
17144
+ "text": "'numeric' | '2-digit' | \"default\"",
17145
+ "_sourceAliases": [],
17146
+ "values": [
17147
+ {
17148
+ "value": "numeric",
17149
+ "description": ""
17150
+ },
17151
+ {
17152
+ "value": "2-digit",
17153
+ "description": ""
17154
+ }
17155
+ ]
17156
+ },
17157
+ "description": "Year representation: 'numeric' | '2-digit'.",
17158
+ "attribute": "year"
17159
+ },
17160
+ {
17161
+ "kind": "field",
17162
+ "name": "month",
17163
+ "type": {
17164
+ "text": "'numeric' | '2-digit' | 'long' | 'short' | 'narrow' | \"default\"",
17165
+ "_sourceAliases": [],
17166
+ "values": [
17167
+ {
17168
+ "value": "numeric",
17169
+ "description": ""
17170
+ },
17171
+ {
17172
+ "value": "2-digit",
17173
+ "description": ""
17174
+ },
17175
+ {
17176
+ "value": "long",
17177
+ "description": ""
17178
+ },
17179
+ {
17180
+ "value": "short",
17181
+ "description": ""
17182
+ },
17183
+ {
17184
+ "value": "narrow",
17185
+ "description": ""
17186
+ }
17187
+ ]
17188
+ },
17189
+ "description": "Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'.",
17190
+ "attribute": "month"
17191
+ },
17192
+ {
17193
+ "kind": "field",
17194
+ "name": "day",
17195
+ "type": {
17196
+ "text": "'numeric' | '2-digit' | \"default\"",
17197
+ "_sourceAliases": [],
17198
+ "values": [
17199
+ {
17200
+ "value": "numeric",
17201
+ "description": ""
17202
+ },
17203
+ {
17204
+ "value": "2-digit",
17205
+ "description": ""
17206
+ }
17207
+ ]
17208
+ },
17209
+ "description": "Day representation: 'numeric' | '2-digit'.",
17210
+ "attribute": "day"
17211
+ },
17212
+ {
17213
+ "kind": "field",
17214
+ "name": "hour",
17215
+ "type": {
17216
+ "text": "'numeric' | '2-digit' | \"default\"",
17217
+ "_sourceAliases": [],
17218
+ "values": [
17219
+ {
17220
+ "value": "numeric",
17221
+ "description": ""
17222
+ },
17223
+ {
17224
+ "value": "2-digit",
17225
+ "description": ""
17226
+ }
17227
+ ]
17228
+ },
17229
+ "description": "Hour representation: 'numeric' | '2-digit'.",
17230
+ "attribute": "hour"
17231
+ },
17232
+ {
17233
+ "kind": "field",
17234
+ "name": "minute",
17235
+ "type": {
17236
+ "text": "'numeric' | '2-digit' | \"default\"",
17237
+ "_sourceAliases": [],
17238
+ "values": [
17239
+ {
17240
+ "value": "numeric",
17241
+ "description": ""
17242
+ },
17243
+ {
17244
+ "value": "2-digit",
17245
+ "description": ""
17246
+ }
17247
+ ]
17248
+ },
17249
+ "description": "Minute representation: 'numeric' | '2-digit'.",
17250
+ "attribute": "minute"
17251
+ },
17252
+ {
17253
+ "kind": "field",
17254
+ "name": "second",
17255
+ "type": {
17256
+ "text": "'numeric' | '2-digit' | \"default\"",
17257
+ "_sourceAliases": [],
17258
+ "values": [
17259
+ {
17260
+ "value": "numeric",
17261
+ "description": ""
17262
+ },
17263
+ {
17264
+ "value": "2-digit",
17265
+ "description": ""
17266
+ }
17267
+ ]
17268
+ },
17269
+ "description": "Second representation: 'numeric' | '2-digit'.",
17270
+ "attribute": "second"
17271
+ },
17272
+ {
17273
+ "kind": "field",
17274
+ "name": "dateStyle",
17275
+ "type": {
17276
+ "text": "'full' | 'long' | 'medium' | 'short' | \"default\"",
17277
+ "_sourceAliases": [],
17278
+ "values": [
17279
+ {
17280
+ "value": "full",
17281
+ "description": ""
17282
+ },
17283
+ {
17284
+ "value": "long",
17285
+ "description": ""
17286
+ },
17287
+ {
17288
+ "value": "medium",
17289
+ "description": ""
17290
+ },
17291
+ {
17292
+ "value": "short",
17293
+ "description": ""
17294
+ }
17295
+ ]
17296
+ },
17297
+ "description": "Preset date formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
17298
+ "attribute": "date-style"
17299
+ },
17300
+ {
17301
+ "kind": "field",
17302
+ "name": "timeStyle",
17303
+ "type": {
17304
+ "text": "'full' | 'long' | 'medium' | 'short' | \"default\"",
17305
+ "_sourceAliases": [],
17306
+ "values": [
17307
+ {
17308
+ "value": "full",
17309
+ "description": ""
17310
+ },
17311
+ {
17312
+ "value": "long",
17313
+ "description": ""
17314
+ },
17315
+ {
17316
+ "value": "medium",
17317
+ "description": ""
17318
+ },
17319
+ {
17320
+ "value": "short",
17321
+ "description": ""
17322
+ }
17323
+ ]
17324
+ },
17325
+ "description": "Preset time formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
17326
+ "attribute": "time-style"
17327
+ },
17328
+ {
17329
+ "kind": "field",
17330
+ "name": "timeZoneName",
17331
+ "type": {
17332
+ "text": "'long' | 'short' | \"default\"",
17333
+ "_sourceAliases": [],
17334
+ "values": [
17335
+ {
17336
+ "value": "long",
17337
+ "description": ""
17338
+ },
17339
+ {
17340
+ "value": "short",
17341
+ "description": ""
17342
+ }
17343
+ ]
17344
+ },
17345
+ "description": "Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it.",
17346
+ "attribute": "time-zone-name"
17347
+ },
17348
+ {
17349
+ "kind": "field",
17350
+ "name": "timeZone",
17351
+ "type": {
17352
+ "text": "string | \"default\"",
17353
+ "_sourceAliases": [],
17354
+ "values": [
17355
+ {
17356
+ "value": "string",
17357
+ "description": ""
17358
+ }
17359
+ ]
17360
+ },
17361
+ "description": "IANA time zone identifier (such as 'America/New_York', 'UTC').",
17362
+ "attribute": "time-zone"
17363
+ },
17364
+ {
17365
+ "name": "nve-layout",
17366
+ "deprecated": true,
17367
+ "description": "not supported on custom element tags",
17368
+ "type": {
17369
+ "text": "string",
17370
+ "values": [
17371
+ {
17372
+ "value": "string",
17373
+ "description": ""
17374
+ },
17375
+ {
17376
+ "value": "string",
17377
+ "description": ""
17378
+ }
17379
+ ],
17380
+ "_sourceAliases": []
17381
+ },
17382
+ "attribute": "nve-layout",
17383
+ "kind": "field"
17384
+ },
17385
+ {
17386
+ "name": "nve-text",
17387
+ "deprecated": true,
17388
+ "description": "not supported on custom element tags",
17389
+ "type": {
17390
+ "text": "string",
17391
+ "values": [
17392
+ {
17393
+ "value": "string",
17394
+ "description": ""
17395
+ },
17396
+ {
17397
+ "value": "string",
17398
+ "description": ""
17399
+ }
17400
+ ],
17401
+ "_sourceAliases": []
17402
+ },
17403
+ "attribute": "nve-text",
17404
+ "kind": "field"
17405
+ }
17406
+ ],
17407
+ "attributes": [
17408
+ {
17409
+ "name": "date",
17410
+ "type": {
17411
+ "text": "string | \"default\"",
17412
+ "_sourceAliases": [],
17413
+ "values": [
17414
+ {
17415
+ "value": "string",
17416
+ "description": ""
17417
+ }
17418
+ ]
17419
+ },
17420
+ "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.",
17421
+ "fieldName": "date"
17422
+ },
17423
+ {
17424
+ "name": "locale",
17425
+ "type": {
17426
+ "text": "string | \"default\"",
17427
+ "_sourceAliases": [],
17428
+ "values": [
17429
+ {
17430
+ "value": "string",
17431
+ "description": ""
17432
+ }
17433
+ ]
17434
+ },
17435
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
17436
+ "fieldName": "locale"
17437
+ },
17438
+ {
17439
+ "name": "weekday",
17440
+ "type": {
17441
+ "text": "'long' | 'short' | 'narrow' | \"default\"",
17442
+ "_sourceAliases": [],
17443
+ "values": [
17444
+ {
17445
+ "value": "long",
17446
+ "description": ""
17447
+ },
17448
+ {
17449
+ "value": "short",
17450
+ "description": ""
17451
+ },
17452
+ {
17453
+ "value": "narrow",
17454
+ "description": ""
17455
+ }
17456
+ ]
17457
+ },
17458
+ "description": "Weekday representation: 'long' | 'short' | 'narrow'.",
17459
+ "fieldName": "weekday"
17460
+ },
17461
+ {
17462
+ "name": "year",
17463
+ "type": {
17464
+ "text": "'numeric' | '2-digit' | \"default\"",
17465
+ "_sourceAliases": [],
17466
+ "values": [
17467
+ {
17468
+ "value": "numeric",
17469
+ "description": ""
17470
+ },
17471
+ {
17472
+ "value": "2-digit",
17473
+ "description": ""
17474
+ }
17475
+ ]
17476
+ },
17477
+ "description": "Year representation: 'numeric' | '2-digit'.",
17478
+ "fieldName": "year"
17479
+ },
17480
+ {
17481
+ "name": "month",
17482
+ "type": {
17483
+ "text": "'numeric' | '2-digit' | 'long' | 'short' | 'narrow' | \"default\"",
17484
+ "_sourceAliases": [],
17485
+ "values": [
17486
+ {
17487
+ "value": "numeric",
17488
+ "description": ""
17489
+ },
17490
+ {
17491
+ "value": "2-digit",
17492
+ "description": ""
17493
+ },
17494
+ {
17495
+ "value": "long",
17496
+ "description": ""
17497
+ },
17498
+ {
17499
+ "value": "short",
17500
+ "description": ""
17501
+ },
17502
+ {
17503
+ "value": "narrow",
17504
+ "description": ""
17505
+ }
17506
+ ]
17507
+ },
17508
+ "description": "Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'.",
17509
+ "fieldName": "month"
17510
+ },
17511
+ {
17512
+ "name": "day",
17513
+ "type": {
17514
+ "text": "'numeric' | '2-digit' | \"default\"",
17515
+ "_sourceAliases": [],
17516
+ "values": [
17517
+ {
17518
+ "value": "numeric",
17519
+ "description": ""
17520
+ },
17521
+ {
17522
+ "value": "2-digit",
17523
+ "description": ""
17524
+ }
17525
+ ]
17526
+ },
17527
+ "description": "Day representation: 'numeric' | '2-digit'.",
17528
+ "fieldName": "day"
17529
+ },
17530
+ {
17531
+ "name": "hour",
17532
+ "type": {
17533
+ "text": "'numeric' | '2-digit' | \"default\"",
17534
+ "_sourceAliases": [],
17535
+ "values": [
17536
+ {
17537
+ "value": "numeric",
17538
+ "description": ""
17539
+ },
17540
+ {
17541
+ "value": "2-digit",
17542
+ "description": ""
17543
+ }
17544
+ ]
17545
+ },
17546
+ "description": "Hour representation: 'numeric' | '2-digit'.",
17547
+ "fieldName": "hour"
17548
+ },
17549
+ {
17550
+ "name": "minute",
17551
+ "type": {
17552
+ "text": "'numeric' | '2-digit' | \"default\"",
17553
+ "_sourceAliases": [],
17554
+ "values": [
17555
+ {
17556
+ "value": "numeric",
17557
+ "description": ""
17558
+ },
17559
+ {
17560
+ "value": "2-digit",
17561
+ "description": ""
17562
+ }
17563
+ ]
17564
+ },
17565
+ "description": "Minute representation: 'numeric' | '2-digit'.",
17566
+ "fieldName": "minute"
17567
+ },
17568
+ {
17569
+ "name": "second",
17570
+ "type": {
17571
+ "text": "'numeric' | '2-digit' | \"default\"",
17572
+ "_sourceAliases": [],
17573
+ "values": [
17574
+ {
17575
+ "value": "numeric",
17576
+ "description": ""
17577
+ },
17578
+ {
17579
+ "value": "2-digit",
17580
+ "description": ""
17581
+ }
17582
+ ]
17583
+ },
17584
+ "description": "Second representation: 'numeric' | '2-digit'.",
17585
+ "fieldName": "second"
17586
+ },
17587
+ {
17588
+ "name": "date-style",
17589
+ "type": {
17590
+ "text": "'full' | 'long' | 'medium' | 'short' | \"default\"",
17591
+ "_sourceAliases": [],
17592
+ "values": [
17593
+ {
17594
+ "value": "full",
17595
+ "description": ""
17596
+ },
17597
+ {
17598
+ "value": "long",
17599
+ "description": ""
17600
+ },
17601
+ {
17602
+ "value": "medium",
17603
+ "description": ""
17604
+ },
17605
+ {
17606
+ "value": "short",
17607
+ "description": ""
17608
+ }
17609
+ ]
17610
+ },
17611
+ "description": "Preset date formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
17612
+ "fieldName": "dateStyle"
17613
+ },
17614
+ {
17615
+ "name": "time-style",
17616
+ "type": {
17617
+ "text": "'full' | 'long' | 'medium' | 'short' | \"default\"",
17618
+ "_sourceAliases": [],
17619
+ "values": [
17620
+ {
17621
+ "value": "full",
17622
+ "description": ""
17623
+ },
17624
+ {
17625
+ "value": "long",
17626
+ "description": ""
17627
+ },
17628
+ {
17629
+ "value": "medium",
17630
+ "description": ""
17631
+ },
17632
+ {
17633
+ "value": "short",
17634
+ "description": ""
17635
+ }
17636
+ ]
17637
+ },
17638
+ "description": "Preset time formatting style: 'full' | 'long' | 'medium' | 'short'.\nPreset styles take precedence over granular date and time part options.",
17639
+ "fieldName": "timeStyle"
17640
+ },
17641
+ {
17642
+ "name": "time-zone-name",
17643
+ "type": {
17644
+ "text": "'long' | 'short' | \"default\"",
17645
+ "_sourceAliases": [],
17646
+ "values": [
17647
+ {
17648
+ "value": "long",
17649
+ "description": ""
17650
+ },
17651
+ {
17652
+ "value": "short",
17653
+ "description": ""
17654
+ }
17655
+ ]
17656
+ },
17657
+ "description": "Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it.",
17658
+ "fieldName": "timeZoneName"
17659
+ },
17660
+ {
17661
+ "name": "time-zone",
17662
+ "type": {
17663
+ "text": "string | \"default\"",
17664
+ "_sourceAliases": [],
17665
+ "values": [
17666
+ {
17667
+ "value": "string",
17668
+ "description": ""
17669
+ }
17670
+ ]
17671
+ },
17672
+ "description": "IANA time zone identifier (such as 'America/New_York', 'UTC').",
17673
+ "fieldName": "timeZone"
17674
+ },
17675
+ {
17676
+ "name": "nve-layout",
17677
+ "deprecated": true,
17678
+ "description": "not supported on custom element tags",
17679
+ "type": {
17680
+ "text": "string",
17681
+ "values": [
17682
+ {
17683
+ "value": "string",
17684
+ "description": ""
17685
+ },
17686
+ {
17687
+ "value": "string",
17688
+ "description": ""
17689
+ }
17690
+ ],
17691
+ "_sourceAliases": []
17692
+ }
17693
+ },
17694
+ {
17695
+ "name": "nve-text",
17696
+ "deprecated": true,
17697
+ "description": "not supported on custom element tags",
17698
+ "type": {
17699
+ "text": "string",
17700
+ "values": [
17701
+ {
17702
+ "value": "string",
17703
+ "description": ""
17704
+ },
17705
+ {
17706
+ "value": "string",
17707
+ "description": ""
17708
+ }
17709
+ ],
17710
+ "_sourceAliases": []
17711
+ }
17712
+ }
17713
+ ],
17714
+ "superclass": {
17715
+ "name": "LitElement",
17716
+ "package": "lit"
17717
+ },
17718
+ "tagName": "nve-format-datetime",
17719
+ "customElement": true,
17720
+ "metadata": {
17721
+ "unitTests": true,
17722
+ "apiReview": true,
17723
+ "performance": true,
17724
+ "stable": true,
17725
+ "vqa": true,
17726
+ "responsive": true,
17727
+ "themes": true,
17728
+ "aria": "#",
17729
+ "entrypoint": "@nvidia-elements/core/format-datetime",
17730
+ "example": "<nve-format-datetime date-style=\"long\">2023-07-28T04:20:17.434Z</nve-format-datetime>",
17731
+ "package": true,
17732
+ "since": "0.0.0",
17733
+ "status": "beta",
17734
+ "behavior": "content",
17735
+ "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 \\| \"default\"` | 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 \\| \"default\"` | Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. |\n| weekday | `'long' \\| 'short' \\| 'narrow' \\| \"default\"` | Weekday representation: 'long' \\| 'short' \\| 'narrow'. |\n| year | `'numeric' \\| '2-digit' \\| \"default\"` | Year representation: 'numeric' \\| '2-digit'. |\n| month | `'numeric' \\| '2-digit' \\| 'long' \\| 'short' \\| 'narrow' \\| \"default\"` | Month representation: 'numeric' \\| '2-digit' \\| 'long' \\| 'short' \\| 'narrow'. |\n| day | `'numeric' \\| '2-digit' \\| \"default\"` | Day representation: 'numeric' \\| '2-digit'. |\n| hour | `'numeric' \\| '2-digit' \\| \"default\"` | Hour representation: 'numeric' \\| '2-digit'. |\n| minute | `'numeric' \\| '2-digit' \\| \"default\"` | Minute representation: 'numeric' \\| '2-digit'. |\n| second | `'numeric' \\| '2-digit' \\| \"default\"` | Second representation: 'numeric' \\| '2-digit'. |\n| dateStyle (date-style) | `'full' \\| 'long' \\| 'medium' \\| 'short' \\| \"default\"` | Preset date formatting style: 'full' \\| 'long' \\| 'medium' \\| 'short'. Preset styles take precedence over granular date and time part options. |\n| timeStyle (time-style) | `'full' \\| 'long' \\| 'medium' \\| 'short' \\| \"default\"` | Preset time formatting style: 'full' \\| 'long' \\| 'medium' \\| 'short'. Preset styles take precedence over granular date and time part options. |\n| timeZoneName (time-zone-name) | `'long' \\| 'short' \\| \"default\"` | Time zone name display: 'long' \\| 'short'. Use it with granular options only; preset styles ignore it. |\n| timeZone (time-zone) | `string \\| \"default\"` | IANA time zone identifier (such as 'America/New_York', 'UTC'). |"
17736
+ }
17737
+ }
17738
+ ],
17739
+ "exports": [
17740
+ {
17741
+ "kind": "js",
17742
+ "name": "FormatDatetime",
17743
+ "declaration": {
17744
+ "name": "FormatDatetime",
17745
+ "module": "/src/format-datetime/format-datetime.js"
17746
+ }
17747
+ }
17748
+ ]
17749
+ },
17750
+ {
17751
+ "kind": "javascript-module",
17752
+ "path": "/src/format-datetime/index.js",
17753
+ "declarations": [],
17754
+ "exports": [
17755
+ {
17756
+ "kind": "js",
17757
+ "name": "*",
17758
+ "declaration": {
17759
+ "name": "*",
17760
+ "module": "home/runner/work/elements/elements/projects/core/src/format-datetime/format-datetime.js"
17761
+ }
17762
+ }
17763
+ ]
17764
+ },
17765
+ {
17766
+ "kind": "javascript-module",
17767
+ "path": "/src/format-relative-time/define.js",
17768
+ "declarations": [],
17769
+ "exports": []
17770
+ },
17771
+ {
17772
+ "kind": "javascript-module",
17773
+ "path": "/src/format-relative-time/format-relative-time.js",
17774
+ "declarations": [
17775
+ {
17776
+ "kind": "class",
17777
+ "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.",
17778
+ "name": "FormatRelativeTime",
17779
+ "slots": [
17780
+ {
17781
+ "description": "Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.",
17782
+ "name": ""
17783
+ }
17784
+ ],
17785
+ "members": [
17786
+ {
17787
+ "kind": "field",
17788
+ "name": "date",
17789
+ "type": {
17790
+ "text": "string | \"default\"",
17791
+ "_sourceAliases": [],
17792
+ "values": [
17793
+ {
17794
+ "value": "string",
17795
+ "description": ""
17796
+ }
17797
+ ]
17798
+ },
17799
+ "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.",
17800
+ "attribute": "date"
17801
+ },
17802
+ {
17803
+ "kind": "field",
17804
+ "name": "locale",
17805
+ "type": {
17806
+ "text": "string | \"default\"",
17807
+ "_sourceAliases": [],
17808
+ "values": [
17809
+ {
17810
+ "value": "string",
17811
+ "description": ""
17812
+ }
17813
+ ]
17814
+ },
17815
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
17816
+ "attribute": "locale"
17817
+ },
17818
+ {
17819
+ "kind": "field",
17820
+ "name": "numeric",
17821
+ "type": {
17822
+ "text": "'always' | 'auto'",
17823
+ "_sourceAliases": [],
17824
+ "values": [
17825
+ {
17826
+ "value": "always",
17827
+ "description": ""
17828
+ },
17829
+ {
17830
+ "value": "auto",
17831
+ "description": ""
17832
+ }
17833
+ ]
17834
+ },
17835
+ "default": "'always'",
17836
+ "description": "Numeric formatting: 'always' | 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'.",
17837
+ "attribute": "numeric"
17838
+ },
17839
+ {
17840
+ "kind": "field",
17841
+ "name": "formatStyle",
17842
+ "type": {
17843
+ "text": "'long' | 'short' | 'narrow'",
17844
+ "_sourceAliases": [],
17845
+ "values": [
17846
+ {
17847
+ "value": "long",
17848
+ "description": ""
17849
+ },
17850
+ {
17851
+ "value": "short",
17852
+ "description": ""
17853
+ },
17854
+ {
17855
+ "value": "narrow",
17856
+ "description": ""
17857
+ }
17858
+ ]
17859
+ },
17860
+ "default": "'long'",
17861
+ "description": "Formatting length: 'long' | 'short' | 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option.",
17862
+ "attribute": "format-style"
17863
+ },
17864
+ {
17865
+ "kind": "field",
17866
+ "name": "unit",
17867
+ "type": {
17868
+ "text": "'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year' | 'auto'",
17869
+ "_sourceAliases": [],
17870
+ "values": [
17871
+ {
17872
+ "value": "second",
17873
+ "description": ""
17874
+ },
17875
+ {
17876
+ "value": "minute",
17877
+ "description": ""
17878
+ },
17879
+ {
17880
+ "value": "hour",
17881
+ "description": ""
17882
+ },
17883
+ {
17884
+ "value": "day",
17885
+ "description": ""
17886
+ },
17887
+ {
17888
+ "value": "week",
17889
+ "description": ""
17890
+ },
17891
+ {
17892
+ "value": "month",
17893
+ "description": ""
17894
+ },
17895
+ {
17896
+ "value": "year",
17897
+ "description": ""
17898
+ },
17899
+ {
17900
+ "value": "auto",
17901
+ "description": ""
17902
+ }
17903
+ ]
17904
+ },
17905
+ "default": "'auto'",
17906
+ "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.",
17907
+ "attribute": "unit"
17908
+ },
17909
+ {
17910
+ "kind": "field",
17911
+ "name": "sync",
17912
+ "type": {
17913
+ "text": "boolean",
17914
+ "_sourceAliases": [],
17915
+ "values": [
17916
+ {
17917
+ "value": "true",
17918
+ "description": ""
17919
+ },
17920
+ {
17921
+ "value": "false",
17922
+ "description": ""
17923
+ }
17924
+ ]
17925
+ },
17926
+ "default": "false",
17927
+ "description": "When present, auto-updates the displayed relative time at appropriate intervals.",
17928
+ "attribute": "sync"
17929
+ },
17930
+ {
17931
+ "name": "nve-layout",
17932
+ "deprecated": true,
17933
+ "description": "not supported on custom element tags",
17934
+ "type": {
17935
+ "text": "string",
17936
+ "values": [
17937
+ {
17938
+ "value": "string",
17939
+ "description": ""
17940
+ },
17941
+ {
17942
+ "value": "string",
17943
+ "description": ""
17944
+ }
17945
+ ],
17946
+ "_sourceAliases": []
17947
+ },
17948
+ "attribute": "nve-layout",
17949
+ "kind": "field"
17950
+ },
17951
+ {
17952
+ "name": "nve-text",
17953
+ "deprecated": true,
17954
+ "description": "not supported on custom element tags",
17955
+ "type": {
17956
+ "text": "string",
17957
+ "values": [
17958
+ {
17959
+ "value": "string",
17960
+ "description": ""
17961
+ },
17962
+ {
17963
+ "value": "string",
17964
+ "description": ""
17965
+ }
17966
+ ],
17967
+ "_sourceAliases": []
17968
+ },
17969
+ "attribute": "nve-text",
17970
+ "kind": "field"
17971
+ }
17972
+ ],
17973
+ "attributes": [
17974
+ {
17975
+ "name": "date",
17976
+ "type": {
17977
+ "text": "string | \"default\"",
17978
+ "_sourceAliases": [],
17979
+ "values": [
17980
+ {
17981
+ "value": "string",
17982
+ "description": ""
17983
+ }
17984
+ ]
17985
+ },
17986
+ "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.",
17987
+ "fieldName": "date"
17988
+ },
17989
+ {
17990
+ "name": "locale",
17991
+ "type": {
17992
+ "text": "string | \"default\"",
17993
+ "_sourceAliases": [],
17994
+ "values": [
17995
+ {
17996
+ "value": "string",
17997
+ "description": ""
17998
+ }
17999
+ ]
18000
+ },
18001
+ "description": "Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default.",
18002
+ "fieldName": "locale"
18003
+ },
18004
+ {
18005
+ "name": "numeric",
18006
+ "type": {
18007
+ "text": "'always' | 'auto'",
18008
+ "_sourceAliases": [],
18009
+ "values": [
18010
+ {
18011
+ "value": "always",
18012
+ "description": ""
18013
+ },
18014
+ {
18015
+ "value": "auto",
18016
+ "description": ""
18017
+ }
18018
+ ]
18019
+ },
18020
+ "default": "'always'",
18021
+ "description": "Numeric formatting: 'always' | 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'.",
18022
+ "fieldName": "numeric"
18023
+ },
18024
+ {
18025
+ "name": "format-style",
18026
+ "type": {
18027
+ "text": "'long' | 'short' | 'narrow'",
18028
+ "_sourceAliases": [],
18029
+ "values": [
18030
+ {
18031
+ "value": "long",
18032
+ "description": ""
18033
+ },
18034
+ {
18035
+ "value": "short",
18036
+ "description": ""
18037
+ },
18038
+ {
18039
+ "value": "narrow",
18040
+ "description": ""
18041
+ }
18042
+ ]
18043
+ },
18044
+ "default": "'long'",
18045
+ "description": "Formatting length: 'long' | 'short' | 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option.",
18046
+ "fieldName": "formatStyle"
18047
+ },
18048
+ {
18049
+ "name": "unit",
18050
+ "type": {
18051
+ "text": "'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year' | 'auto'",
18052
+ "_sourceAliases": [],
18053
+ "values": [
18054
+ {
18055
+ "value": "second",
18056
+ "description": ""
18057
+ },
18058
+ {
18059
+ "value": "minute",
18060
+ "description": ""
18061
+ },
18062
+ {
18063
+ "value": "hour",
18064
+ "description": ""
18065
+ },
18066
+ {
18067
+ "value": "day",
18068
+ "description": ""
18069
+ },
18070
+ {
18071
+ "value": "week",
18072
+ "description": ""
18073
+ },
18074
+ {
18075
+ "value": "month",
18076
+ "description": ""
18077
+ },
18078
+ {
18079
+ "value": "year",
18080
+ "description": ""
18081
+ },
18082
+ {
18083
+ "value": "auto",
18084
+ "description": ""
18085
+ }
18086
+ ]
18087
+ },
18088
+ "default": "'auto'",
18089
+ "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.",
18090
+ "fieldName": "unit"
18091
+ },
18092
+ {
18093
+ "name": "sync",
18094
+ "type": {
18095
+ "text": "boolean",
18096
+ "_sourceAliases": [],
18097
+ "values": [
18098
+ {
18099
+ "value": "true",
18100
+ "description": ""
18101
+ },
18102
+ {
18103
+ "value": "false",
18104
+ "description": ""
18105
+ }
18106
+ ]
18107
+ },
18108
+ "default": "false",
18109
+ "description": "When present, auto-updates the displayed relative time at appropriate intervals.",
18110
+ "fieldName": "sync"
18111
+ },
18112
+ {
18113
+ "name": "nve-layout",
18114
+ "deprecated": true,
18115
+ "description": "not supported on custom element tags",
18116
+ "type": {
18117
+ "text": "string",
18118
+ "values": [
18119
+ {
18120
+ "value": "string",
18121
+ "description": ""
18122
+ },
18123
+ {
18124
+ "value": "string",
18125
+ "description": ""
18126
+ }
18127
+ ],
18128
+ "_sourceAliases": []
18129
+ }
18130
+ },
18131
+ {
18132
+ "name": "nve-text",
18133
+ "deprecated": true,
18134
+ "description": "not supported on custom element tags",
18135
+ "type": {
18136
+ "text": "string",
18137
+ "values": [
18138
+ {
18139
+ "value": "string",
18140
+ "description": ""
18141
+ },
18142
+ {
18143
+ "value": "string",
18144
+ "description": ""
18145
+ }
18146
+ ],
18147
+ "_sourceAliases": []
18148
+ }
18149
+ }
18150
+ ],
18151
+ "superclass": {
18152
+ "name": "LitElement",
18153
+ "package": "lit"
18154
+ },
18155
+ "tagName": "nve-format-relative-time",
18156
+ "customElement": true,
18157
+ "metadata": {
18158
+ "unitTests": true,
18159
+ "apiReview": true,
18160
+ "performance": true,
18161
+ "stable": true,
18162
+ "vqa": true,
18163
+ "responsive": true,
18164
+ "themes": true,
18165
+ "aria": "#",
18166
+ "entrypoint": "@nvidia-elements/core/format-relative-time",
18167
+ "example": "<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>",
18168
+ "package": true,
18169
+ "since": "0.0.0",
18170
+ "status": "beta",
18171
+ "behavior": "content",
18172
+ "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 \\| \"default\"` | 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 \\| \"default\"` | 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| 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| 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. |\n| sync | `boolean` | When present, auto-updates the displayed relative time at appropriate intervals. |"
18173
+ }
18174
+ }
18175
+ ],
18176
+ "exports": [
18177
+ {
18178
+ "kind": "js",
18179
+ "name": "FormatRelativeTime",
18180
+ "declaration": {
18181
+ "name": "FormatRelativeTime",
18182
+ "module": "/src/format-relative-time/format-relative-time.js"
18183
+ }
18184
+ }
18185
+ ]
18186
+ },
18187
+ {
18188
+ "kind": "javascript-module",
18189
+ "path": "/src/format-relative-time/index.js",
18190
+ "declarations": [],
18191
+ "exports": [
18192
+ {
18193
+ "kind": "js",
18194
+ "name": "*",
18195
+ "declaration": {
18196
+ "name": "*",
18197
+ "module": "home/runner/work/elements/elements/projects/core/src/format-relative-time/format-relative-time.js"
18198
+ }
18199
+ }
18200
+ ]
18201
+ },
17185
18202
  {
17186
18203
  "kind": "javascript-module",
17187
18204
  "path": "/src/forms/control-group/control-group.js",
@@ -32054,6 +33071,34 @@
32054
33071
  }
32055
33072
  ]
32056
33073
  },
33074
+ {
33075
+ "kind": "function",
33076
+ "name": "getPropertyChanges",
33077
+ "parameters": [
33078
+ {
33079
+ "name": "element",
33080
+ "type": {
33081
+ "text": "HTMLElement",
33082
+ "_sourceAliases": []
33083
+ }
33084
+ },
33085
+ {
33086
+ "name": "key",
33087
+ "type": {
33088
+ "text": "string",
33089
+ "_sourceAliases": []
33090
+ }
33091
+ },
33092
+ {
33093
+ "name": "callback",
33094
+ "type": {
33095
+ "text": "(value: unknown) => void",
33096
+ "_sourceAliases": []
33097
+ }
33098
+ }
33099
+ ],
33100
+ "description": "Intercepts a property setter on an element so `callback` fires on every assignment. Does not use a MutationObserver."
33101
+ },
32057
33102
  {
32058
33103
  "kind": "function",
32059
33104
  "name": "getElementUpdate",
@@ -32504,6 +33549,51 @@
32504
33549
  }
32505
33550
  }
32506
33551
  ]
33552
+ },
33553
+ {
33554
+ "kind": "function",
33555
+ "name": "sameOrderedStringArray",
33556
+ "return": {
33557
+ "type": {
33558
+ "text": "boolean"
33559
+ }
33560
+ },
33561
+ "parameters": [
33562
+ {
33563
+ "name": "a",
33564
+ "type": {
33565
+ "text": "readonly string[]",
33566
+ "_sourceAliases": []
33567
+ }
33568
+ },
33569
+ {
33570
+ "name": "b",
33571
+ "type": {
33572
+ "text": "readonly string[]",
33573
+ "_sourceAliases": []
33574
+ }
33575
+ }
33576
+ ],
33577
+ "description": "Returns true when both arrays have the same length and each index is strictly equal (`===`)."
33578
+ },
33579
+ {
33580
+ "kind": "function",
33581
+ "name": "uniqueNonEmptyStrings",
33582
+ "return": {
33583
+ "type": {
33584
+ "text": "string[]"
33585
+ }
33586
+ },
33587
+ "parameters": [
33588
+ {
33589
+ "name": "values",
33590
+ "type": {
33591
+ "text": "Iterable<string | null | undefined>",
33592
+ "_sourceAliases": []
33593
+ }
33594
+ }
33595
+ ],
33596
+ "description": "Returns unique non-empty strings in first-seen order (insertion order of a `Set` over the filtered list)."
32507
33597
  }
32508
33598
  ],
32509
33599
  "exports": [
@@ -32555,6 +33645,14 @@
32555
33645
  "module": "/src/internal/utils/dom.js"
32556
33646
  }
32557
33647
  },
33648
+ {
33649
+ "kind": "js",
33650
+ "name": "getPropertyChanges",
33651
+ "declaration": {
33652
+ "name": "getPropertyChanges",
33653
+ "module": "/src/internal/utils/dom.js"
33654
+ }
33655
+ },
32558
33656
  {
32559
33657
  "kind": "js",
32560
33658
  "name": "getElementUpdate",
@@ -32793,6 +33891,22 @@
32793
33891
  "name": "appendAnchorName",
32794
33892
  "module": "/src/internal/utils/dom.js"
32795
33893
  }
33894
+ },
33895
+ {
33896
+ "kind": "js",
33897
+ "name": "sameOrderedStringArray",
33898
+ "declaration": {
33899
+ "name": "sameOrderedStringArray",
33900
+ "module": "/src/internal/utils/dom.js"
33901
+ }
33902
+ },
33903
+ {
33904
+ "kind": "js",
33905
+ "name": "uniqueNonEmptyStrings",
33906
+ "declaration": {
33907
+ "name": "uniqueNonEmptyStrings",
33908
+ "module": "/src/internal/utils/dom.js"
33909
+ }
32796
33910
  }
32797
33911
  ]
32798
33912
  },
@@ -33362,628 +34476,103 @@
33362
34476
  {
33363
34477
  "name": "size",
33364
34478
  "type": {
33365
- "text": "number",
33366
- "_sourceAliases": []
33367
- }
33368
- }
33369
- ],
33370
- "description": "formats a file size in bytes to a human readable string"
33371
- },
33372
- {
33373
- "kind": "function",
33374
- "name": "shiftLeft",
33375
- "parameters": [
33376
- {
33377
- "name": "value",
33378
- "type": {
33379
- "text": "string",
33380
- "_sourceAliases": []
33381
- }
33382
- }
33383
- ],
33384
- "description": "removes leading white space for a multiline string"
33385
- },
33386
- {
33387
- "kind": "variable",
33388
- "name": "DOCS_URL",
33389
- "type": {
33390
- "text": "string"
33391
- },
33392
- "default": "''"
33393
- }
33394
- ],
33395
- "exports": [
33396
- {
33397
- "kind": "js",
33398
- "name": "formatFileSize",
33399
- "declaration": {
33400
- "name": "formatFileSize",
33401
- "module": "/src/internal/utils/strings.js"
33402
- }
33403
- },
33404
- {
33405
- "kind": "js",
33406
- "name": "shiftLeft",
33407
- "declaration": {
33408
- "name": "shiftLeft",
33409
- "module": "/src/internal/utils/strings.js"
33410
- }
33411
- },
33412
- {
33413
- "kind": "js",
33414
- "name": "DOCS_URL",
33415
- "declaration": {
33416
- "name": "DOCS_URL",
33417
- "module": "/src/internal/utils/strings.js"
33418
- }
33419
- }
33420
- ]
33421
- },
33422
- {
33423
- "kind": "javascript-module",
33424
- "path": "/src/internal/utils/supports.js",
33425
- "declarations": [
33426
- {
33427
- "kind": "function",
33428
- "name": "supportsNativeCSSAnchorPosition"
33429
- },
33430
- {
33431
- "kind": "function",
33432
- "name": "supportsCSSPositionArea"
33433
- },
33434
- {
33435
- "kind": "function",
33436
- "name": "supportsCSSLegacyInsetArea"
33437
- }
33438
- ],
33439
- "exports": [
33440
- {
33441
- "kind": "js",
33442
- "name": "supportsNativeCSSAnchorPosition",
33443
- "declaration": {
33444
- "name": "supportsNativeCSSAnchorPosition",
33445
- "module": "/src/internal/utils/supports.js"
33446
- }
33447
- },
33448
- {
33449
- "kind": "js",
33450
- "name": "supportsCSSPositionArea",
33451
- "declaration": {
33452
- "name": "supportsCSSPositionArea",
33453
- "module": "/src/internal/utils/supports.js"
33454
- }
33455
- },
33456
- {
33457
- "kind": "js",
33458
- "name": "supportsCSSLegacyInsetArea",
33459
- "declaration": {
33460
- "name": "supportsCSSLegacyInsetArea",
33461
- "module": "/src/internal/utils/supports.js"
33462
- }
33463
- }
33464
- ]
33465
- },
33466
- {
33467
- "kind": "javascript-module",
33468
- "path": "/src/json-viewer/define.js",
33469
- "declarations": [],
33470
- "exports": []
33471
- },
33472
- {
33473
- "kind": "javascript-module",
33474
- "path": "/src/json-viewer/index.js",
33475
- "declarations": [],
33476
- "exports": [
33477
- {
33478
- "kind": "js",
33479
- "name": "*",
33480
- "declaration": {
33481
- "name": "*",
33482
- "module": "home/runner/work/elements/elements/projects/core/src/json-viewer/json-viewer.js"
33483
- }
33484
- },
33485
- {
33486
- "kind": "js",
33487
- "name": "*",
33488
- "declaration": {
33489
- "name": "*",
33490
- "module": "home/runner/work/elements/elements/projects/core/src/json-viewer/node/node.js"
33491
- }
33492
- }
33493
- ]
33494
- },
33495
- {
33496
- "kind": "javascript-module",
33497
- "path": "/src/json-viewer/json-viewer.js",
33498
- "declarations": [
33499
- {
33500
- "kind": "class",
33501
- "description": "The JSON Viewer is a custom element that renders JSON data in a easy to read format. Use it for prototyping and quickly displaying and debugging data. The JSON View is not a substitute for treeview patterns.",
33502
- "name": "JSONViewer",
33503
- "cssParts": [
33504
- {
33505
- "description": "The json node elements",
33506
- "name": "json-node"
33507
- }
33508
- ],
33509
- "slots": [
33510
- {
33511
- "description": "default slot for json",
33512
- "name": ""
33513
- }
33514
- ],
33515
- "members": [
33516
- {
33517
- "kind": "field",
33518
- "name": "value",
33519
- "type": {
33520
- "text": "object",
33521
- "_sourceAliases": [],
33522
- "values": [
33523
- {
33524
- "value": "object",
33525
- "description": ""
33526
- }
33527
- ]
33528
- },
33529
- "default": "{}",
33530
- "description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)",
33531
- "attribute": "value"
33532
- },
33533
- {
33534
- "kind": "field",
33535
- "name": "expanded",
33536
- "type": {
33537
- "text": "boolean",
33538
- "_sourceAliases": [],
33539
- "values": [
33540
- {
33541
- "value": "true",
33542
- "description": "The associated content expands and becomes visible to the user."
33543
- },
33544
- {
33545
- "value": "false",
33546
- "description": "The associated content collapses and hides from the user."
33547
- }
33548
- ]
33549
- },
33550
- "description": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n- `true` The associated content expands and becomes visible to the user.\n\n- `false` The associated content collapses and hides from the user.",
33551
- "attribute": "expanded",
33552
- "descriptionText": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)"
33553
- },
33554
- {
33555
- "kind": "field",
33556
- "name": "expandedAll",
33557
- "type": {
33558
- "text": "boolean",
33559
- "_sourceAliases": [],
33560
- "values": [
33561
- {
33562
- "value": "boolean",
33563
- "description": ""
33564
- }
33565
- ]
33566
- },
33567
- "attribute": "expandedAll"
33568
- },
33569
- {
33570
- "name": "nve-layout",
33571
- "deprecated": true,
33572
- "description": "not supported on custom element tags",
33573
- "type": {
33574
- "text": "string",
33575
- "values": [
33576
- {
33577
- "value": "string",
33578
- "description": ""
33579
- },
33580
- {
33581
- "value": "string",
33582
- "description": ""
33583
- }
33584
- ],
33585
- "_sourceAliases": []
33586
- },
33587
- "attribute": "nve-layout",
33588
- "kind": "field"
33589
- },
33590
- {
33591
- "name": "nve-text",
33592
- "deprecated": true,
33593
- "description": "not supported on custom element tags",
33594
- "type": {
33595
- "text": "string",
33596
- "values": [
33597
- {
33598
- "value": "string",
33599
- "description": ""
33600
- },
33601
- {
33602
- "value": "string",
33603
- "description": ""
33604
- }
33605
- ],
33606
- "_sourceAliases": []
33607
- },
33608
- "attribute": "nve-text",
33609
- "kind": "field"
33610
- }
33611
- ],
33612
- "attributes": [
33613
- {
33614
- "name": "value",
33615
- "type": {
33616
- "text": "object",
33617
- "_sourceAliases": [],
33618
- "values": [
33619
- {
33620
- "value": "object",
33621
- "description": ""
33622
- }
33623
- ]
33624
- },
33625
- "default": "{}",
33626
- "description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)",
33627
- "fieldName": "value"
33628
- },
33629
- {
33630
- "name": "expanded",
33631
- "type": {
33632
- "text": "boolean",
33633
- "_sourceAliases": [],
33634
- "values": [
33635
- {
33636
- "value": "true",
33637
- "description": "The associated content expands and becomes visible to the user."
33638
- },
33639
- {
33640
- "value": "false",
33641
- "description": "The associated content collapses and hides from the user."
33642
- }
33643
- ]
33644
- },
33645
- "description": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n- `true` The associated content expands and becomes visible to the user.\n\n- `false` The associated content collapses and hides from the user.",
33646
- "fieldName": "expanded",
33647
- "descriptionText": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)"
33648
- },
33649
- {
33650
- "name": "expandedAll",
33651
- "type": {
33652
- "text": "boolean",
33653
- "_sourceAliases": [],
33654
- "values": [
33655
- {
33656
- "value": "boolean",
33657
- "description": ""
33658
- }
33659
- ]
33660
- },
33661
- "fieldName": "expandedAll"
33662
- },
33663
- {
33664
- "name": "nve-layout",
33665
- "deprecated": true,
33666
- "description": "not supported on custom element tags",
33667
- "type": {
33668
- "text": "string",
33669
- "values": [
33670
- {
33671
- "value": "string",
33672
- "description": ""
33673
- },
33674
- {
33675
- "value": "string",
33676
- "description": ""
33677
- }
33678
- ],
34479
+ "text": "number",
33679
34480
  "_sourceAliases": []
33680
34481
  }
33681
- },
34482
+ }
34483
+ ],
34484
+ "description": "formats a file size in bytes to a human readable string"
34485
+ },
34486
+ {
34487
+ "kind": "function",
34488
+ "name": "shiftLeft",
34489
+ "parameters": [
33682
34490
  {
33683
- "name": "nve-text",
33684
- "deprecated": true,
33685
- "description": "not supported on custom element tags",
34491
+ "name": "value",
33686
34492
  "type": {
33687
34493
  "text": "string",
33688
- "values": [
33689
- {
33690
- "value": "string",
33691
- "description": ""
33692
- },
33693
- {
33694
- "value": "string",
33695
- "description": ""
33696
- }
33697
- ],
33698
34494
  "_sourceAliases": []
33699
34495
  }
33700
34496
  }
33701
34497
  ],
33702
- "superclass": {
33703
- "name": "LitElement",
33704
- "package": "lit"
34498
+ "description": "removes leading white space for a multiline string"
34499
+ },
34500
+ {
34501
+ "kind": "variable",
34502
+ "name": "DOCS_URL",
34503
+ "type": {
34504
+ "text": "string"
33705
34505
  },
33706
- "deprecated": "use `nve-monaco-input` instead",
33707
- "tagName": "nve-json-viewer",
33708
- "customElement": true,
33709
- "metadata": {
33710
- "unitTests": true,
33711
- "apiReview": true,
33712
- "performance": true,
33713
- "stable": false,
33714
- "vqa": true,
33715
- "responsive": true,
33716
- "themes": true,
33717
- "aria": "#",
33718
- "entrypoint": "",
33719
- "example": "",
33720
- "package": false,
33721
- "since": "0.16.0",
33722
- "status": "pre-release",
33723
- "behavior": "content",
33724
- "markdown": "## nve-json-viewer\n\nThe JSON Viewer is a custom element that renders JSON data in a easy to read format. Use it for prototyping and quickly displaying and debugging data. The JSON View is not a substitute for treeview patterns.\n\n### Import\n\n```javascript\nimport '/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for json |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| value | `object` | 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| 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| expandedAll | `boolean` | |"
33725
- }
34506
+ "default": "''"
33726
34507
  }
33727
34508
  ],
33728
34509
  "exports": [
33729
34510
  {
33730
34511
  "kind": "js",
33731
- "name": "JSONViewer",
34512
+ "name": "formatFileSize",
34513
+ "declaration": {
34514
+ "name": "formatFileSize",
34515
+ "module": "/src/internal/utils/strings.js"
34516
+ }
34517
+ },
34518
+ {
34519
+ "kind": "js",
34520
+ "name": "shiftLeft",
34521
+ "declaration": {
34522
+ "name": "shiftLeft",
34523
+ "module": "/src/internal/utils/strings.js"
34524
+ }
34525
+ },
34526
+ {
34527
+ "kind": "js",
34528
+ "name": "DOCS_URL",
33732
34529
  "declaration": {
33733
- "name": "JSONViewer",
33734
- "module": "/src/json-viewer/json-viewer.js"
34530
+ "name": "DOCS_URL",
34531
+ "module": "/src/internal/utils/strings.js"
33735
34532
  }
33736
34533
  }
33737
34534
  ]
33738
34535
  },
33739
34536
  {
33740
34537
  "kind": "javascript-module",
33741
- "path": "/src/json-viewer/node/node.js",
34538
+ "path": "/src/internal/utils/supports.js",
33742
34539
  "declarations": [
33743
34540
  {
33744
- "kind": "class",
33745
- "description": "",
33746
- "name": "JSONNode",
33747
- "members": [
33748
- {
33749
- "kind": "field",
33750
- "name": "value",
33751
- "type": {
33752
- "text": "any",
33753
- "_sourceAliases": [],
33754
- "values": [
33755
- {
33756
- "value": "any",
33757
- "description": ""
33758
- }
33759
- ]
33760
- },
33761
- "attribute": "value",
33762
- "description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)"
33763
- },
33764
- {
33765
- "kind": "field",
33766
- "name": "prop",
33767
- "type": {
33768
- "text": "string",
33769
- "_sourceAliases": [],
33770
- "values": [
33771
- {
33772
- "value": "string",
33773
- "description": ""
33774
- }
33775
- ]
33776
- },
33777
- "attribute": "prop"
33778
- },
33779
- {
33780
- "kind": "field",
33781
- "name": "expanded",
33782
- "type": {
33783
- "text": "boolean",
33784
- "_sourceAliases": [],
33785
- "values": [
33786
- {
33787
- "value": "true",
33788
- "description": "The associated content expands and becomes visible to the user."
33789
- },
33790
- {
33791
- "value": "false",
33792
- "description": "The associated content collapses and hides from the user."
33793
- }
33794
- ]
33795
- },
33796
- "default": "false",
33797
- "attribute": "expanded",
33798
- "description": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n- `true` The associated content expands and becomes visible to the user.\n\n- `false` The associated content collapses and hides from the user.",
33799
- "descriptionText": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)"
33800
- },
33801
- {
33802
- "kind": "field",
33803
- "name": "expandedAll",
33804
- "type": {
33805
- "text": "boolean",
33806
- "_sourceAliases": [],
33807
- "values": [
33808
- {
33809
- "value": "boolean",
33810
- "description": ""
33811
- }
33812
- ]
33813
- },
33814
- "attribute": "expanded-all",
33815
- "reflects": true
33816
- },
33817
- {
33818
- "kind": "field",
33819
- "name": "metadata",
33820
- "type": {
33821
- "text": "object",
33822
- "_sourceAliases": [],
33823
- "values": [
33824
- {
33825
- "value": "object",
33826
- "description": ""
33827
- }
33828
- ]
33829
- },
33830
- "static": true,
33831
- "readonly": true,
33832
- "default": "{ tag: 'nve-json-node', version: '0.0.0' }"
33833
- },
33834
- {
33835
- "kind": "field",
33836
- "name": "elementDefinitions",
33837
- "type": {
33838
- "text": "Record<string, ElementDefinition>",
33839
- "_sourceAliases": [],
33840
- "values": [
33841
- {
33842
- "value": "Record<string, ElementDefinition>",
33843
- "description": ""
33844
- }
33845
- ]
33846
- },
33847
- "static": true,
33848
- "default": "{ [Button.metadata.tag]: Button, [IconButton.metadata.tag]: IconButton }"
33849
- },
33850
- {
33851
- "kind": "field",
33852
- "name": "#isArray",
33853
- "privacy": "private",
33854
- "readonly": true
33855
- },
33856
- {
33857
- "kind": "field",
33858
- "name": "#isObject",
33859
- "privacy": "private",
33860
- "readonly": true
33861
- },
33862
- {
33863
- "kind": "field",
33864
- "name": "#classMap",
33865
- "privacy": "private",
33866
- "readonly": true
33867
- },
33868
- {
33869
- "kind": "field",
33870
- "name": "#expandButton",
33871
- "privacy": "private",
33872
- "readonly": true
33873
- },
33874
- {
33875
- "kind": "field",
33876
- "name": "#arrayNode",
33877
- "privacy": "private",
33878
- "readonly": true
33879
- },
33880
- {
33881
- "kind": "field",
33882
- "name": "#objectNode",
33883
- "privacy": "private",
33884
- "readonly": true
33885
- },
33886
- {
33887
- "kind": "field",
33888
- "name": "#value",
33889
- "privacy": "private",
33890
- "readonly": true
33891
- },
33892
- {
33893
- "kind": "method",
33894
- "name": "#getValue",
33895
- "privacy": "private",
33896
- "parameters": [
33897
- {
33898
- "name": "value",
33899
- "type": {
33900
- "text": "unknown"
33901
- }
33902
- }
33903
- ]
33904
- }
33905
- ],
33906
- "attributes": [
33907
- {
33908
- "name": "value",
33909
- "type": {
33910
- "text": "any",
33911
- "_sourceAliases": [],
33912
- "values": [
33913
- {
33914
- "value": "any",
33915
- "description": ""
33916
- }
33917
- ]
33918
- },
33919
- "fieldName": "value",
33920
- "description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)"
33921
- },
33922
- {
33923
- "name": "prop",
33924
- "type": {
33925
- "text": "string",
33926
- "_sourceAliases": [],
33927
- "values": [
33928
- {
33929
- "value": "string",
33930
- "description": ""
33931
- }
33932
- ]
33933
- },
33934
- "fieldName": "prop"
33935
- },
33936
- {
33937
- "name": "expanded",
33938
- "type": {
33939
- "text": "boolean",
33940
- "_sourceAliases": [],
33941
- "values": [
33942
- {
33943
- "value": "true",
33944
- "description": "The associated content expands and becomes visible to the user."
33945
- },
33946
- {
33947
- "value": "false",
33948
- "description": "The associated content collapses and hides from the user."
33949
- }
33950
- ]
33951
- },
33952
- "default": "false",
33953
- "fieldName": "expanded",
33954
- "description": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n- `true` The associated content expands and becomes visible to the user.\n\n- `false` The associated content collapses and hides from the user.",
33955
- "descriptionText": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)"
33956
- },
33957
- {
33958
- "name": "expanded-all",
33959
- "type": {
33960
- "text": "boolean",
33961
- "_sourceAliases": [],
33962
- "values": [
33963
- {
33964
- "value": "boolean",
33965
- "description": ""
33966
- }
33967
- ]
33968
- },
33969
- "fieldName": "expandedAll"
33970
- }
33971
- ],
33972
- "superclass": {
33973
- "name": "LitElement",
33974
- "package": "lit"
33975
- },
33976
- "deprecated": "true",
33977
- "customElement": true
34541
+ "kind": "function",
34542
+ "name": "supportsNativeCSSAnchorPosition"
34543
+ },
34544
+ {
34545
+ "kind": "function",
34546
+ "name": "supportsCSSPositionArea"
34547
+ },
34548
+ {
34549
+ "kind": "function",
34550
+ "name": "supportsCSSLegacyInsetArea"
33978
34551
  }
33979
34552
  ],
33980
34553
  "exports": [
33981
34554
  {
33982
34555
  "kind": "js",
33983
- "name": "JSONNode",
34556
+ "name": "supportsNativeCSSAnchorPosition",
34557
+ "declaration": {
34558
+ "name": "supportsNativeCSSAnchorPosition",
34559
+ "module": "/src/internal/utils/supports.js"
34560
+ }
34561
+ },
34562
+ {
34563
+ "kind": "js",
34564
+ "name": "supportsCSSPositionArea",
34565
+ "declaration": {
34566
+ "name": "supportsCSSPositionArea",
34567
+ "module": "/src/internal/utils/supports.js"
34568
+ }
34569
+ },
34570
+ {
34571
+ "kind": "js",
34572
+ "name": "supportsCSSLegacyInsetArea",
33984
34573
  "declaration": {
33985
- "name": "JSONNode",
33986
- "module": "/src/json-viewer/node/node.js"
34574
+ "name": "supportsCSSLegacyInsetArea",
34575
+ "module": "/src/internal/utils/supports.js"
33987
34576
  }
33988
34577
  }
33989
34578
  ]
@@ -35669,6 +36258,12 @@
35669
36258
  "kind": "field"
35670
36259
  }
35671
36260
  ],
36261
+ "events": [
36262
+ {
36263
+ "description": "Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.",
36264
+ "name": "scroll"
36265
+ }
36266
+ ],
35672
36267
  "attributes": [
35673
36268
  {
35674
36269
  "name": "nve-layout",
@@ -35730,7 +36325,7 @@
35730
36325
  "since": "0.11.0",
35731
36326
  "status": "stable",
35732
36327
  "behavior": "navigation",
35733
- "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### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| items | `MenuItem[]` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --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| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |"
36328
+ "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### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| items | `MenuItem[]` | |\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| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --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| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |"
35734
36329
  }
35735
36330
  }
35736
36331
  ],
@@ -51553,6 +52148,231 @@
51553
52148
  "name": "*",
51554
52149
  "module": "home/runner/work/elements/elements/projects/core/src/tabs/tabs.js"
51555
52150
  }
52151
+ },
52152
+ {
52153
+ "kind": "js",
52154
+ "name": "*",
52155
+ "declaration": {
52156
+ "name": "*",
52157
+ "module": "home/runner/work/elements/elements/projects/core/src/tabs/tabs-group.js"
52158
+ }
52159
+ }
52160
+ ]
52161
+ },
52162
+ {
52163
+ "kind": "javascript-module",
52164
+ "path": "/src/tabs/tabs-group.js",
52165
+ "declarations": [
52166
+ {
52167
+ "kind": "class",
52168
+ "description": "Coordinates tabs with matching panel content using Invoker Commands and slot-matched panels.",
52169
+ "name": "TabsGroup",
52170
+ "cssProperties": [
52171
+ {
52172
+ "name": "--padding",
52173
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)"
52174
+ }
52175
+ ],
52176
+ "slots": [
52177
+ {
52178
+ "description": "Default slot for a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group.",
52179
+ "name": ""
52180
+ },
52181
+ {
52182
+ "type": {
52183
+ "text": "value"
52184
+ },
52185
+ "description": "Named panel content where the slot name matches a nve-tabs-item value.",
52186
+ "name": "value",
52187
+ "dynamic": true
52188
+ }
52189
+ ],
52190
+ "members": [
52191
+ {
52192
+ "kind": "field",
52193
+ "name": "alignment",
52194
+ "type": {
52195
+ "text": "'top' | 'start' | 'end'",
52196
+ "_sourceAliases": [
52197
+ "TabsGroupAlignment"
52198
+ ],
52199
+ "values": [
52200
+ {
52201
+ "value": "top",
52202
+ "description": ""
52203
+ },
52204
+ {
52205
+ "value": "start",
52206
+ "description": ""
52207
+ },
52208
+ {
52209
+ "value": "end",
52210
+ "description": ""
52211
+ }
52212
+ ]
52213
+ },
52214
+ "default": "'top'",
52215
+ "description": "Determines the alignment of the popover relative to the provided anchor element.",
52216
+ "attribute": "alignment",
52217
+ "reflects": true
52218
+ },
52219
+ {
52220
+ "name": "nve-layout",
52221
+ "deprecated": true,
52222
+ "description": "not supported on custom element tags",
52223
+ "type": {
52224
+ "text": "string",
52225
+ "values": [
52226
+ {
52227
+ "value": "string",
52228
+ "description": ""
52229
+ },
52230
+ {
52231
+ "value": "string",
52232
+ "description": ""
52233
+ }
52234
+ ],
52235
+ "_sourceAliases": []
52236
+ },
52237
+ "attribute": "nve-layout",
52238
+ "kind": "field"
52239
+ },
52240
+ {
52241
+ "name": "nve-text",
52242
+ "deprecated": true,
52243
+ "description": "not supported on custom element tags",
52244
+ "type": {
52245
+ "text": "string",
52246
+ "values": [
52247
+ {
52248
+ "value": "string",
52249
+ "description": ""
52250
+ },
52251
+ {
52252
+ "value": "string",
52253
+ "description": ""
52254
+ }
52255
+ ],
52256
+ "_sourceAliases": []
52257
+ },
52258
+ "attribute": "nve-text",
52259
+ "kind": "field"
52260
+ }
52261
+ ],
52262
+ "events": [
52263
+ {
52264
+ "name": "select",
52265
+ "type": {
52266
+ "text": "CustomEvent"
52267
+ },
52268
+ "description": "Dispatched when the selected tab value changes after an invoker `--toggle` updates selection"
52269
+ }
52270
+ ],
52271
+ "attributes": [
52272
+ {
52273
+ "name": "alignment",
52274
+ "type": {
52275
+ "text": "'top' | 'start' | 'end'",
52276
+ "_sourceAliases": [
52277
+ "TabsGroupAlignment"
52278
+ ],
52279
+ "values": [
52280
+ {
52281
+ "value": "top",
52282
+ "description": ""
52283
+ },
52284
+ {
52285
+ "value": "start",
52286
+ "description": ""
52287
+ },
52288
+ {
52289
+ "value": "end",
52290
+ "description": ""
52291
+ }
52292
+ ]
52293
+ },
52294
+ "default": "'top'",
52295
+ "description": "Determines the alignment of the popover relative to the provided anchor element.",
52296
+ "fieldName": "alignment"
52297
+ },
52298
+ {
52299
+ "name": "nve-layout",
52300
+ "deprecated": true,
52301
+ "description": "not supported on custom element tags",
52302
+ "type": {
52303
+ "text": "string",
52304
+ "values": [
52305
+ {
52306
+ "value": "string",
52307
+ "description": ""
52308
+ },
52309
+ {
52310
+ "value": "string",
52311
+ "description": ""
52312
+ }
52313
+ ],
52314
+ "_sourceAliases": []
52315
+ }
52316
+ },
52317
+ {
52318
+ "name": "nve-text",
52319
+ "deprecated": true,
52320
+ "description": "not supported on custom element tags",
52321
+ "type": {
52322
+ "text": "string",
52323
+ "values": [
52324
+ {
52325
+ "value": "string",
52326
+ "description": ""
52327
+ },
52328
+ {
52329
+ "value": "string",
52330
+ "description": ""
52331
+ }
52332
+ ],
52333
+ "_sourceAliases": []
52334
+ }
52335
+ }
52336
+ ],
52337
+ "superclass": {
52338
+ "name": "LitElement",
52339
+ "package": "lit"
52340
+ },
52341
+ "tagName": "nve-tabs-group",
52342
+ "customElement": true,
52343
+ "metadata": {
52344
+ "unitTests": true,
52345
+ "apiReview": true,
52346
+ "performance": true,
52347
+ "stable": true,
52348
+ "vqa": true,
52349
+ "responsive": false,
52350
+ "themes": true,
52351
+ "aria": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/",
52352
+ "entrypoint": "@nvidia-elements/core/tabs",
52353
+ "example": "",
52354
+ "package": true,
52355
+ "since": "1.67.0",
52356
+ "status": "stable",
52357
+ "behavior": "navigation",
52358
+ "markdown": "## 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) |"
52359
+ },
52360
+ "commands": [
52361
+ {
52362
+ "name": "--toggle",
52363
+ "description": "Select the matching tab and reveal the panel whose slot matches the invoker value."
52364
+ }
52365
+ ]
52366
+ }
52367
+ ],
52368
+ "exports": [
52369
+ {
52370
+ "kind": "js",
52371
+ "name": "TabsGroup",
52372
+ "declaration": {
52373
+ "name": "TabsGroup",
52374
+ "module": "/src/tabs/tabs-group.js"
52375
+ }
51556
52376
  }
51557
52377
  ]
51558
52378
  },
@@ -52607,12 +53427,12 @@
52607
53427
  "themes": true,
52608
53428
  "aria": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/",
52609
53429
  "entrypoint": "@nvidia-elements/core/tabs",
52610
- "example": "<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>",
53430
+ "example": "<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>",
52611
53431
  "package": true,
52612
53432
  "since": "0.10.0",
52613
53433
  "status": "stable",
52614
53434
  "behavior": "button",
52615
- "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 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) |"
53435
+ "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 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) |"
52616
53436
  }
52617
53437
  },
52618
53438
  {
@@ -52872,12 +53692,12 @@
52872
53692
  "themes": true,
52873
53693
  "aria": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/",
52874
53694
  "entrypoint": "@nvidia-elements/core/tabs",
52875
- "example": "<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>",
53695
+ "example": "<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>",
52876
53696
  "package": true,
52877
53697
  "since": "0.10.0",
52878
53698
  "status": "stable",
52879
53699
  "behavior": "navigation",
52880
- "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 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` | |"
53700
+ "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 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` | |"
52881
53701
  }
52882
53702
  }
52883
53703
  ],
@@ -58382,7 +59202,7 @@
58382
59202
  "name": ""
58383
59203
  },
58384
59204
  {
58385
- "description": "Use for extended long form content containing interactive elements or form inputs.",
59205
+ "description": "Use only for extended long form content containing interactive elements or form inputs.",
58386
59206
  "name": "content"
58387
59207
  }
58388
59208
  ],
@@ -58780,7 +59600,7 @@
58780
59600
  "since": "1.2.0",
58781
59601
  "status": "stable",
58782
59602
  "behavior": "list",
58783
- "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 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) |"
59603
+ "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| 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) |"
58784
59604
  },
58785
59605
  "commands": [
58786
59606
  {