@nvidia-elements/core 2.10.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/accordion/accordion2.js +4 -4
  3. package/dist/alert/alert-group2.js +1 -1
  4. package/dist/alert/alert2.js +1 -1
  5. package/dist/avatar/avatar-group2.js +1 -1
  6. package/dist/avatar/avatar2.js +1 -1
  7. package/dist/badge/badge2.js +1 -1
  8. package/dist/breadcrumb/breadcrumb2.js +1 -1
  9. package/dist/bundles/index.d.ts +176 -43
  10. package/dist/bundles/index.js +6 -6
  11. package/dist/button/button2.js +1 -1
  12. package/dist/button-group/button-group2.js +1 -1
  13. package/dist/card/card2.js +4 -4
  14. package/dist/chat-message/chat-message2.js +1 -1
  15. package/dist/checkbox/checkbox-group2.js +1 -1
  16. package/dist/checkbox/checkbox2.js +1 -1
  17. package/dist/color/color2.js +1 -1
  18. package/dist/combobox/combobox2.js +1 -1
  19. package/dist/copy-button/copy-button2.js +1 -1
  20. package/dist/custom-elements-jsx.d.ts +101 -9
  21. package/dist/custom-elements-vue.d.ts +99 -9
  22. package/dist/custom-elements.json +859 -146
  23. package/dist/data.html.json +51 -3
  24. package/dist/date/date2.js +1 -1
  25. package/dist/datetime/datetime2.js +1 -1
  26. package/dist/dialog/dialog-footer2.js +1 -1
  27. package/dist/dialog/dialog-header2.js +1 -1
  28. package/dist/dialog/dialog2.js +1 -1
  29. package/dist/divider/divider2.js +1 -1
  30. package/dist/dot/dot2.js +1 -1
  31. package/dist/drawer/drawer-content2.js +1 -1
  32. package/dist/drawer/drawer-footer2.js +1 -1
  33. package/dist/drawer/drawer-header2.js +1 -1
  34. package/dist/drawer/drawer2.js +1 -1
  35. package/dist/dropdown/dropdown-footer2.js +1 -1
  36. package/dist/dropdown/dropdown-header2.js +1 -1
  37. package/dist/dropdown/dropdown2.js +1 -1
  38. package/dist/dropdown-group/dropdown-group.js +1 -1
  39. package/dist/dropzone/dropzone2.js +1 -1
  40. package/dist/file/file2.js +1 -1
  41. package/dist/format-bytes/format-bytes2.js +1 -1
  42. package/dist/format-datetime/format-datetime2.js +1 -1
  43. package/dist/format-number/format-number2.js +1 -1
  44. package/dist/format-relative-time/format-relative-time2.js +1 -1
  45. package/dist/format-truncate/format-truncate2.js +1 -1
  46. package/dist/forms/control/control2.js +1 -1
  47. package/dist/forms/control-group/control-group2.js +1 -1
  48. package/dist/forms/control-message/control-message2.js +1 -1
  49. package/dist/gauge/gauge2.js +1 -1
  50. package/dist/grid/cell/cell2.js +1 -1
  51. package/dist/grid/column/column2.js +1 -1
  52. package/dist/grid/footer/footer2.js +1 -1
  53. package/dist/grid/grid2.js +1 -1
  54. package/dist/grid/header/header2.js +1 -1
  55. package/dist/grid/placeholder/placeholder2.js +1 -1
  56. package/dist/grid/row/row2.js +1 -1
  57. package/dist/icon/icon2.js +2 -2
  58. package/dist/icon-button/icon-button2.js +1 -1
  59. package/dist/index.js +1 -1
  60. package/dist/input/input-group2.js +1 -1
  61. package/dist/input/input2.js +1 -1
  62. package/dist/internal/services/global.service.js +1 -1
  63. package/dist/internal/types/index.d.ts +6 -2
  64. package/dist/internal/types/index.js.map +1 -1
  65. package/dist/internal/utils/audit.js +1 -1
  66. package/dist/internal/utils/audit.js.map +1 -1
  67. package/dist/logo/logo2.js +1 -1
  68. package/dist/menu/define.d.ts +2 -1
  69. package/dist/menu/define.js +3 -2
  70. package/dist/menu/define.js.map +1 -1
  71. package/dist/menu/index.d.ts +1 -0
  72. package/dist/menu/index.js +3 -2
  73. package/dist/menu/menu-group.d.ts +50 -0
  74. package/dist/menu/menu-group.js +6 -0
  75. package/dist/menu/menu-group.js.map +1 -0
  76. package/dist/menu/menu-group2.js +53 -0
  77. package/dist/menu/menu-group2.js.map +1 -0
  78. package/dist/menu/menu-item.d.ts +1 -0
  79. package/dist/menu/menu-item.js +1 -1
  80. package/dist/menu/menu-item.js.map +1 -1
  81. package/dist/menu/menu-item2.js +2 -2
  82. package/dist/menu/menu-item2.js.map +1 -1
  83. package/dist/menu/menu.d.ts +6 -1
  84. package/dist/menu/menu.examples.js.map +1 -1
  85. package/dist/menu/menu.examples.json +53 -13
  86. package/dist/menu/menu.global.js +1 -1
  87. package/dist/menu/menu.global.js.map +1 -1
  88. package/dist/menu/menu2.js +16 -8
  89. package/dist/menu/menu2.js.map +1 -1
  90. package/dist/month/month2.js +1 -1
  91. package/dist/notification/notification-group2.js +1 -1
  92. package/dist/notification/notification2.js +1 -1
  93. package/dist/page/page-panel/page-panel-content2.js +1 -1
  94. package/dist/page/page-panel/page-panel-footer2.js +1 -1
  95. package/dist/page/page-panel/page-panel-header2.js +1 -1
  96. package/dist/page/page-panel/page-panel2.js +1 -1
  97. package/dist/page/page2.js +1 -1
  98. package/dist/page-header/page-header2.js +1 -1
  99. package/dist/page-loader/page-loader2.js +1 -1
  100. package/dist/pagination/pagination2.js +1 -1
  101. package/dist/panel/panel2.js +4 -4
  102. package/dist/password/password2.js +1 -1
  103. package/dist/preferences-input/preferences-input2.js +1 -1
  104. package/dist/progress-bar/progress-bar2.js +1 -1
  105. package/dist/progress-ring/progress-ring2.js +1 -1
  106. package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
  107. package/dist/pulse/pulse2.js +1 -1
  108. package/dist/radio/radio-group2.js +1 -1
  109. package/dist/radio/radio2.js +1 -1
  110. package/dist/range/range2.js +1 -1
  111. package/dist/resize-handle/resize-handle2.js +1 -1
  112. package/dist/search/search2.js +1 -1
  113. package/dist/select/select2.js +1 -1
  114. package/dist/skeleton/skeleton2.js +1 -1
  115. package/dist/sort-button/sort-button2.js +1 -1
  116. package/dist/sparkline/sparkline2.js +1 -1
  117. package/dist/star-rating/star-rating2.js +1 -1
  118. package/dist/steps/steps.d.ts +3 -3
  119. package/dist/steps/steps2.js +2 -2
  120. package/dist/steps/steps2.js.map +1 -1
  121. package/dist/switch/switch-group2.js +1 -1
  122. package/dist/switch/switch2.js +1 -1
  123. package/dist/tabs/tabs-group2.js +1 -1
  124. package/dist/tabs/tabs2.js +2 -2
  125. package/dist/tag/tag2.js +1 -1
  126. package/dist/textarea/textarea2.js +1 -1
  127. package/dist/time/time2.js +1 -1
  128. package/dist/toast/toast2.js +1 -1
  129. package/dist/toggletip/toggletip-footer2.js +1 -1
  130. package/dist/toggletip/toggletip-header2.js +1 -1
  131. package/dist/toggletip/toggletip2.js +1 -1
  132. package/dist/toolbar/toolbar2.js +1 -1
  133. package/dist/tooltip/tooltip2.js +1 -1
  134. package/dist/tree/tree-node2.js +1 -1
  135. package/dist/tree/tree2.js +1 -1
  136. package/dist/viewport/define.d.ts +2 -1
  137. package/dist/viewport/define.js +2 -1
  138. package/dist/viewport/define.js.map +1 -1
  139. package/dist/viewport/index.d.ts +2 -1
  140. package/dist/viewport/index.js +2 -1
  141. package/dist/viewport/viewport-gesture-navigation.controller.d.ts +8 -10
  142. package/dist/viewport/viewport-gesture-navigation.controller.js +73 -66
  143. package/dist/viewport/viewport-gesture-navigation.controller.js.map +1 -1
  144. package/dist/viewport/viewport-gridlines2.js +3 -3
  145. package/dist/viewport/viewport-gridlines2.js.map +1 -1
  146. package/dist/viewport/viewport-minimap.d.ts +36 -0
  147. package/dist/viewport/viewport-minimap.js +6 -0
  148. package/dist/viewport/viewport-minimap.js.map +1 -0
  149. package/dist/viewport/viewport-minimap.utils.d.ts +13 -0
  150. package/dist/viewport/viewport-minimap.utils.js +49 -0
  151. package/dist/viewport/viewport-minimap.utils.js.map +1 -0
  152. package/dist/viewport/viewport-minimap2.js +309 -0
  153. package/dist/viewport/viewport-minimap2.js.map +1 -0
  154. package/dist/viewport/viewport-navigation.controller.d.ts +7 -13
  155. package/dist/viewport/viewport-navigation.controller.js +14 -20
  156. package/dist/viewport/viewport-navigation.controller.js.map +1 -1
  157. package/dist/viewport/viewport-navigation.types.d.ts +0 -8
  158. package/dist/viewport/viewport.d.ts +30 -5
  159. package/dist/viewport/viewport.examples.js.map +1 -1
  160. package/dist/viewport/viewport.examples.json +13 -4
  161. package/dist/viewport/viewport.js +1 -1
  162. package/dist/viewport/viewport.js.map +1 -1
  163. package/dist/viewport/viewport.types.d.ts +50 -23
  164. package/dist/viewport/viewport2.js +173 -118
  165. package/dist/viewport/viewport2.js.map +1 -1
  166. package/dist/week/week2.js +1 -1
  167. package/package.json +1 -1
@@ -30620,6 +30620,14 @@
30620
30620
  "module": "home/runner/work/elements/elements/projects/core/src/menu/menu.js"
30621
30621
  }
30622
30622
  },
30623
+ {
30624
+ "kind": "js",
30625
+ "name": "*",
30626
+ "declaration": {
30627
+ "name": "*",
30628
+ "module": "home/runner/work/elements/elements/projects/core/src/menu/menu-group.js"
30629
+ }
30630
+ },
30623
30631
  {
30624
30632
  "kind": "js",
30625
30633
  "name": "*",
@@ -30630,6 +30638,260 @@
30630
30638
  }
30631
30639
  ]
30632
30640
  },
30641
+ {
30642
+ "kind": "javascript-module",
30643
+ "path": "/src/menu/menu-group.js",
30644
+ "declarations": [
30645
+ {
30646
+ "kind": "class",
30647
+ "description": "Organizes related menu items under a disclosure header that can show or hide one child menu.",
30648
+ "name": "MenuGroup",
30649
+ "cssProperties": [
30650
+ {
30651
+ "name": "--background",
30652
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)"
30653
+ },
30654
+ {
30655
+ "name": "--font-size",
30656
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)"
30657
+ },
30658
+ {
30659
+ "name": "--padding",
30660
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)"
30661
+ },
30662
+ {
30663
+ "name": "--gap",
30664
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/gap)"
30665
+ },
30666
+ {
30667
+ "name": "--border-radius",
30668
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius)"
30669
+ },
30670
+ {
30671
+ "name": "--color",
30672
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color)"
30673
+ },
30674
+ {
30675
+ "name": "--width",
30676
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width)"
30677
+ },
30678
+ {
30679
+ "name": "--min-height",
30680
+ "description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height)"
30681
+ }
30682
+ ],
30683
+ "slots": [
30684
+ {
30685
+ "description": "Label content for the disclosure header.",
30686
+ "name": ""
30687
+ },
30688
+ {
30689
+ "description": "Non-interactive content before the header label, such as an icon or avatar.",
30690
+ "name": "prefix"
30691
+ },
30692
+ {
30693
+ "description": "Non-interactive content after the header label, such as a badge or count.",
30694
+ "name": "suffix"
30695
+ },
30696
+ {
30697
+ "description": "One `nve-menu` containing the grouped menu items. Direct menus use this slot automatically in browsers; server-rendered menus must set `slot=\"menu\"` explicitly.",
30698
+ "name": "menu"
30699
+ }
30700
+ ],
30701
+ "members": [
30702
+ {
30703
+ "kind": "field",
30704
+ "name": "expanded",
30705
+ "type": {
30706
+ "text": "boolean",
30707
+ "_sourceAliases": [],
30708
+ "values": [
30709
+ {
30710
+ "value": "true",
30711
+ "description": "The associated content expands and becomes visible to the user."
30712
+ },
30713
+ {
30714
+ "value": "false",
30715
+ "description": "The associated content collapses and hides from the user."
30716
+ }
30717
+ ]
30718
+ },
30719
+ "default": "false",
30720
+ "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.",
30721
+ "attribute": "expanded",
30722
+ "reflects": true,
30723
+ "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)"
30724
+ },
30725
+ {
30726
+ "kind": "field",
30727
+ "name": "disabled",
30728
+ "type": {
30729
+ "text": "boolean",
30730
+ "_sourceAliases": [],
30731
+ "values": [
30732
+ {
30733
+ "value": "true",
30734
+ "description": "The element has a disabled state and does not accept interaction."
30735
+ },
30736
+ {
30737
+ "value": "false",
30738
+ "description": "The element has an enabled state and accepts interaction."
30739
+ }
30740
+ ]
30741
+ },
30742
+ "default": "false",
30743
+ "description": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)\n- `true` The element has a disabled state and does not accept interaction.\n\n- `false` The element has an enabled state and accepts interaction.",
30744
+ "attribute": "disabled",
30745
+ "reflects": true,
30746
+ "descriptionText": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)"
30747
+ },
30748
+ {
30749
+ "kind": "field",
30750
+ "name": "behaviorExpand",
30751
+ "type": {
30752
+ "text": "boolean",
30753
+ "_sourceAliases": [],
30754
+ "values": [
30755
+ {
30756
+ "value": "true",
30757
+ "description": ""
30758
+ },
30759
+ {
30760
+ "value": "false",
30761
+ "description": ""
30762
+ }
30763
+ ]
30764
+ },
30765
+ "default": "false",
30766
+ "description": "Determines whether user activation automatically updates the expanded state.",
30767
+ "attribute": "behavior-expand"
30768
+ }
30769
+ ],
30770
+ "events": [
30771
+ {
30772
+ "description": "Dispatched when the user requests that the menu group open.",
30773
+ "name": "open"
30774
+ },
30775
+ {
30776
+ "description": "Dispatched when the user requests that the menu group close.",
30777
+ "name": "close"
30778
+ }
30779
+ ],
30780
+ "attributes": [
30781
+ {
30782
+ "name": "expanded",
30783
+ "type": {
30784
+ "text": "boolean",
30785
+ "_sourceAliases": [],
30786
+ "values": [
30787
+ {
30788
+ "value": "true",
30789
+ "description": "The associated content expands and becomes visible to the user."
30790
+ },
30791
+ {
30792
+ "value": "false",
30793
+ "description": "The associated content collapses and hides from the user."
30794
+ }
30795
+ ]
30796
+ },
30797
+ "default": "false",
30798
+ "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.",
30799
+ "fieldName": "expanded",
30800
+ "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)"
30801
+ },
30802
+ {
30803
+ "name": "disabled",
30804
+ "type": {
30805
+ "text": "boolean",
30806
+ "_sourceAliases": [],
30807
+ "values": [
30808
+ {
30809
+ "value": "true",
30810
+ "description": "The element has a disabled state and does not accept interaction."
30811
+ },
30812
+ {
30813
+ "value": "false",
30814
+ "description": "The element has an enabled state and accepts interaction."
30815
+ }
30816
+ ]
30817
+ },
30818
+ "default": "false",
30819
+ "description": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)\n- `true` The element has a disabled state and does not accept interaction.\n\n- `false` The element has an enabled state and accepts interaction.",
30820
+ "fieldName": "disabled",
30821
+ "descriptionText": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)"
30822
+ },
30823
+ {
30824
+ "name": "behavior-expand",
30825
+ "type": {
30826
+ "text": "boolean",
30827
+ "_sourceAliases": [],
30828
+ "values": [
30829
+ {
30830
+ "value": "true",
30831
+ "description": ""
30832
+ },
30833
+ {
30834
+ "value": "false",
30835
+ "description": ""
30836
+ }
30837
+ ]
30838
+ },
30839
+ "default": "false",
30840
+ "description": "Determines whether user activation automatically updates the expanded state.",
30841
+ "fieldName": "behaviorExpand"
30842
+ }
30843
+ ],
30844
+ "superclass": {
30845
+ "name": "LitElement",
30846
+ "package": "lit"
30847
+ },
30848
+ "tagName": "nve-menu-group",
30849
+ "customElement": true,
30850
+ "metadata": {
30851
+ "unitTests": true,
30852
+ "apiReview": true,
30853
+ "performance": true,
30854
+ "stable": false,
30855
+ "vqa": true,
30856
+ "responsive": true,
30857
+ "themes": true,
30858
+ "aria": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/",
30859
+ "entrypoint": "@nvidia-elements/core/menu",
30860
+ "example": "",
30861
+ "package": true,
30862
+ "documentation": "https://nvidia.github.io/elements/docs/elements/menu/",
30863
+ "since": "0.0.0",
30864
+ "status": "beta",
30865
+ "behavior": "container",
30866
+ "markdown": "## nve-menu-group\n\nOrganizes related menu items under a disclosure header that can show or hide one child menu.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Label content for the disclosure header. |\n| menu | `string` | One `nve-menu` containing the grouped menu items. Direct menus use this slot automatically in browsers; server-rendered menus must set `slot=\"menu\"` explicitly. |\n| prefix | `string` | Non-interactive content before the header label, such as an icon or avatar. |\n| suffix | `string` | Non-interactive content after the header label, such as a badge or count. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether user activation automatically updates the expanded state. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the user requests that the menu group close. |\n| open | `CustomEvent` | Dispatched when the user requests that the menu group open. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | Closes the menu group. |\n| --open | `CommandEvent` | Opens the menu group. |\n| --toggle | `CommandEvent` | Toggles the menu group. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
30867
+ },
30868
+ "commands": [
30869
+ {
30870
+ "name": "--open",
30871
+ "description": "Opens the menu group."
30872
+ },
30873
+ {
30874
+ "name": "--close",
30875
+ "description": "Closes the menu group."
30876
+ },
30877
+ {
30878
+ "name": "--toggle",
30879
+ "description": "Toggles the menu group."
30880
+ }
30881
+ ]
30882
+ }
30883
+ ],
30884
+ "exports": [
30885
+ {
30886
+ "kind": "js",
30887
+ "name": "MenuGroup",
30888
+ "declaration": {
30889
+ "name": "MenuGroup",
30890
+ "module": "/src/menu/menu-group.js"
30891
+ }
30892
+ }
30893
+ ]
30894
+ },
30633
30895
  {
30634
30896
  "kind": "javascript-module",
30635
30897
  "path": "/src/menu/menu-item.js",
@@ -30701,6 +30963,10 @@
30701
30963
  "description": "Label and supporting content for the menu option.",
30702
30964
  "name": ""
30703
30965
  },
30966
+ {
30967
+ "description": "slot for prefix icon",
30968
+ "name": "prefix"
30969
+ },
30704
30970
  {
30705
30971
  "description": "slot for suffix icon",
30706
30972
  "name": "suffix"
@@ -31407,7 +31673,7 @@
31407
31673
  "since": "0.11.0",
31408
31674
  "status": "stable",
31409
31675
  "behavior": "button",
31410
- "markdown": "## nve-menu-item\n\nRepresents a selectable option within a menu, providing an interactive button for navigation or actions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Label and supporting content for the menu option. |\n| suffix | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| status | `'danger'` | Applies danger styling to destructive or high-risk menu actions. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-background | `string` | |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --opacity | `string` | [MDN](https://mdn.dev/CSS/opacity) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
31676
+ "markdown": "## nve-menu-item\n\nRepresents a selectable option within a menu, providing an interactive button for navigation or actions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Label and supporting content for the menu option. |\n| prefix | `string` | slot for prefix icon |\n| suffix | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | The command to execute on the element. https://mdn.dev/Invoker_Commands_API |\n| commandForElement (commandfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the command. https://mdn.dev/Invoker_Commands_API |\n| current | `'page' \\| 'step'` | Indicates the element that represents the user's current location or position within a set. [MDN](https://mdn.dev/ARIA/Attributes/aria-current) - `page` Marks the current page within a set of navigation links. - `step` Marks the current step within a multi-step process or workflow. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| form | property: `string \\| HTMLFormElement \\| null`; attribute: `string` | Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or `null`. https://mdn.dev/ElementInternals/form |\n| interestForElement (interestfor) | property: `HTMLElement \\| null`; attribute: `string` | The element that receives the interest. https://mdn.dev/HTMLAnchorElement/interestForElement |\n| name | `string` | The name of the button, submitted as a pair with the button value as part of the form data. https://mdn.dev/HTML/Element/button#attr-name |\n| popoverTargetAction (popovertargetaction) | `'show' \\| 'hide' \\| 'toggle'` | The popover target action to perform on the popover target element. https://mdn.dev/HTMLInputElement/popoverTargetAction |\n| popoverTargetElement (popovertarget) | property: `HTMLElement \\| null`; attribute: `string` | Establishes a relationship between a popover and its invoker button. https://mdn.dev/HTMLInputElement/popoverTargetElement |\n| pressed | `boolean` | Indicates the current state of a toggle button that switches on or off. [MDN](https://mdn.dev/ARIA/Attributes/aria-pressed) - `true` The button is in the pressed (on) state and the associated action or setting is active. - `false` The button is in the unpressed (off) state and the associated action or setting is inactive. |\n| readOnly (readonly) | `boolean` | Indicates whether the element is a noninteractive visual treatment instead of a button. https://mdn.dev/HTML/Attributes/readonly |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n| status | `'danger'` | Applies danger styling to destructive or high-risk menu actions. |\n| type | `'button' \\| 'submit' \\| 'reset'` | Defines the button behavior when associated within a form element. https://mdn.dev/HTML/Element/button#attr-type |\n| value | `string` | Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://mdn.dev/HTML/Element/input#value) |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-background | `string` | |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --line-height | `string` | [MDN](https://mdn.dev/CSS/line-height) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --opacity | `string` | [MDN](https://mdn.dev/CSS/opacity) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
31411
31677
  }
31412
31678
  }
31413
31679
  ],
@@ -31462,13 +31728,62 @@
31462
31728
  "name": ""
31463
31729
  }
31464
31730
  ],
31465
- "members": [],
31731
+ "members": [
31732
+ {
31733
+ "kind": "field",
31734
+ "name": "density",
31735
+ "type": {
31736
+ "text": "'compact' | 'default' | undefined",
31737
+ "_sourceAliases": [
31738
+ "Density"
31739
+ ],
31740
+ "values": [
31741
+ {
31742
+ "value": "compact",
31743
+ "description": "Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence."
31744
+ },
31745
+ {
31746
+ "value": "default",
31747
+ "description": "Standard size that works well in most contexts and provides balanced visibility."
31748
+ }
31749
+ ]
31750
+ },
31751
+ "description": "Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot.\n- `compact` Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence.\n\n- `default` Standard size that works well in most contexts and provides balanced visibility.",
31752
+ "attribute": "density",
31753
+ "reflects": true,
31754
+ "descriptionText": "Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot."
31755
+ }
31756
+ ],
31466
31757
  "events": [
31467
31758
  {
31468
31759
  "description": "Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.",
31469
31760
  "name": "scroll"
31470
31761
  }
31471
31762
  ],
31763
+ "attributes": [
31764
+ {
31765
+ "name": "density",
31766
+ "type": {
31767
+ "text": "'compact' | 'default' | undefined",
31768
+ "_sourceAliases": [
31769
+ "Density"
31770
+ ],
31771
+ "values": [
31772
+ {
31773
+ "value": "compact",
31774
+ "description": "Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence."
31775
+ },
31776
+ {
31777
+ "value": "default",
31778
+ "description": "Standard size that works well in most contexts and provides balanced visibility."
31779
+ }
31780
+ ]
31781
+ },
31782
+ "description": "Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot.\n- `compact` Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence.\n\n- `default` Standard size that works well in most contexts and provides balanced visibility.",
31783
+ "fieldName": "density",
31784
+ "descriptionText": "Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot."
31785
+ }
31786
+ ],
31472
31787
  "superclass": {
31473
31788
  "name": "LitElement",
31474
31789
  "package": "lit"
@@ -31491,7 +31806,7 @@
31491
31806
  "since": "0.11.0",
31492
31807
  "status": "stable",
31493
31808
  "behavior": "navigation",
31494
- "markdown": "## nve-menu\n\nA menu offers a list of choices to the user, such as a set of actions or functions. Choosing an item in a menu typically opens a sub menu, or invokes a command.\n\n### Example\n\n```html\n<nve-menu>\n <nve-menu-item>item 1</nve-menu-item>\n <nve-menu-item>item 2</nve-menu-item>\n <nve-menu-item>item 3</nve-menu-item>\n <nve-menu-item>item 4</nve-menu-item>\n</nve-menu>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/menu/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for `nve-menu-item` |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| scroll | `CustomEvent` | Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
31809
+ "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| density | `'compact' \\| 'default' \\| undefined` | Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot. - `compact` Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence. - `default` Standard size that works well in most contexts and provides balanced visibility. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| scroll | `CustomEvent` | Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --min-width | `string` | [MDN](https://mdn.dev/CSS/min-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
31495
31810
  }
31496
31811
  }
31497
31812
  ],
@@ -51067,6 +51382,14 @@
51067
51382
  "module": "home/runner/work/elements/elements/projects/core/src/viewport/viewport-gridlines.js"
51068
51383
  }
51069
51384
  },
51385
+ {
51386
+ "kind": "js",
51387
+ "name": "*",
51388
+ "declaration": {
51389
+ "name": "*",
51390
+ "module": "home/runner/work/elements/elements/projects/core/src/viewport/viewport-minimap.js"
51391
+ }
51392
+ },
51070
51393
  {
51071
51394
  "kind": "js",
51072
51395
  "name": "ViewportAnimationOptions",
@@ -51085,33 +51408,89 @@
51085
51408
  },
51086
51409
  {
51087
51410
  "kind": "js",
51088
- "name": "ViewportPanBehavior",
51411
+ "name": "ViewportPanBehavior",
51412
+ "declaration": {
51413
+ "name": "ViewportPanBehavior",
51414
+ "module": "./viewport.types.js"
51415
+ }
51416
+ },
51417
+ {
51418
+ "kind": "js",
51419
+ "name": "ViewportPanDetail",
51420
+ "declaration": {
51421
+ "name": "ViewportPanDetail",
51422
+ "module": "./viewport.types.js"
51423
+ }
51424
+ },
51425
+ {
51426
+ "kind": "js",
51427
+ "name": "ViewportPanEndDetail",
51428
+ "declaration": {
51429
+ "name": "ViewportPanEndDetail",
51430
+ "module": "./viewport.types.js"
51431
+ }
51432
+ },
51433
+ {
51434
+ "kind": "js",
51435
+ "name": "ViewportPanEndReason",
51436
+ "declaration": {
51437
+ "name": "ViewportPanEndReason",
51438
+ "module": "./viewport.types.js"
51439
+ }
51440
+ },
51441
+ {
51442
+ "kind": "js",
51443
+ "name": "ViewportNavigationSource",
51444
+ "declaration": {
51445
+ "name": "ViewportNavigationSource",
51446
+ "module": "./viewport.types.js"
51447
+ }
51448
+ },
51449
+ {
51450
+ "kind": "js",
51451
+ "name": "ViewportPanProposal",
51452
+ "declaration": {
51453
+ "name": "ViewportPanProposal",
51454
+ "module": "./viewport.types.js"
51455
+ }
51456
+ },
51457
+ {
51458
+ "kind": "js",
51459
+ "name": "ViewportPanUpdateProposal",
51460
+ "declaration": {
51461
+ "name": "ViewportPanUpdateProposal",
51462
+ "module": "./viewport.types.js"
51463
+ }
51464
+ },
51465
+ {
51466
+ "kind": "js",
51467
+ "name": "ViewportPanEndRequest",
51089
51468
  "declaration": {
51090
- "name": "ViewportPanBehavior",
51469
+ "name": "ViewportPanEndRequest",
51091
51470
  "module": "./viewport.types.js"
51092
51471
  }
51093
51472
  },
51094
51473
  {
51095
51474
  "kind": "js",
51096
- "name": "ViewportPanDetail",
51475
+ "name": "ViewportPanSession",
51097
51476
  "declaration": {
51098
- "name": "ViewportPanDetail",
51477
+ "name": "ViewportPanSession",
51099
51478
  "module": "./viewport.types.js"
51100
51479
  }
51101
51480
  },
51102
51481
  {
51103
51482
  "kind": "js",
51104
- "name": "ViewportPanEndDetail",
51483
+ "name": "ViewportZoomProposal",
51105
51484
  "declaration": {
51106
- "name": "ViewportPanEndDetail",
51485
+ "name": "ViewportZoomProposal",
51107
51486
  "module": "./viewport.types.js"
51108
51487
  }
51109
51488
  },
51110
51489
  {
51111
51490
  "kind": "js",
51112
- "name": "ViewportPanEndReason",
51491
+ "name": "ViewportZoomRequestOptions",
51113
51492
  "declaration": {
51114
- "name": "ViewportPanEndReason",
51493
+ "name": "ViewportZoomRequestOptions",
51115
51494
  "module": "./viewport.types.js"
51116
51495
  }
51117
51496
  },
@@ -51697,7 +52076,7 @@
51697
52076
  "declarations": [
51698
52077
  {
51699
52078
  "kind": "class",
51700
- "description": "Coordinates the viewport's opt-in pointer, touch, pinch, and wheel navigation behavior.",
52079
+ "description": "",
51701
52080
  "name": "ViewportGestureNavigationController",
51702
52081
  "members": [
51703
52082
  {
@@ -51874,8 +52253,7 @@
51874
52253
  "type": {
51875
52254
  "text": "void"
51876
52255
  }
51877
- },
51878
- "description": "Rebase in-progress pointer math synchronously after an independent transform change."
52256
+ }
51879
52257
  },
51880
52258
  {
51881
52259
  "kind": "method",
@@ -51895,15 +52273,7 @@
51895
52273
  "type": {
51896
52274
  "text": "void"
51897
52275
  }
51898
- },
51899
- "parameters": [
51900
- {
51901
- "name": "panBehavior",
51902
- "type": {
51903
- "text": "ViewportPanBehavior"
51904
- }
51905
- }
51906
- ]
52276
+ }
51907
52277
  },
51908
52278
  {
51909
52279
  "kind": "field",
@@ -52091,18 +52461,18 @@
52091
52461
  },
52092
52462
  {
52093
52463
  "kind": "method",
52094
- "name": "#dispatchPointerPanAndApplyDefault",
52464
+ "name": "#pointerPanProposal",
52095
52465
  "privacy": "private",
52096
52466
  "return": {
52097
52467
  "type": {
52098
- "text": "void"
52468
+ "text": "ViewportPanUpdateProposal"
52099
52469
  }
52100
52470
  },
52101
52471
  "parameters": [
52102
52472
  {
52103
- "name": "pointerId",
52473
+ "name": "gesture",
52104
52474
  "type": {
52105
- "text": "number"
52475
+ "text": "PointerMovementGesture & { readonly kind: 'pan' }"
52106
52476
  }
52107
52477
  },
52108
52478
  {
@@ -52110,29 +52480,23 @@
52110
52480
  "type": {
52111
52481
  "text": "PointerPanSession"
52112
52482
  }
52113
- },
52114
- {
52115
- "name": "detail",
52116
- "type": {
52117
- "text": "ViewportPointerPanDetail"
52118
- }
52119
52483
  }
52120
52484
  ]
52121
52485
  },
52122
52486
  {
52123
52487
  "kind": "method",
52124
- "name": "#activatePendingPan",
52488
+ "name": "#activatePointerPan",
52125
52489
  "privacy": "private",
52126
52490
  "return": {
52127
52491
  "type": {
52128
- "text": "boolean"
52492
+ "text": "void"
52129
52493
  }
52130
52494
  },
52131
52495
  "parameters": [
52132
52496
  {
52133
- "name": "pointerId",
52497
+ "name": "gesture",
52134
52498
  "type": {
52135
- "text": "number"
52499
+ "text": "PointerMovementGesture & { readonly kind: 'pan' }"
52136
52500
  }
52137
52501
  },
52138
52502
  {
@@ -52142,9 +52506,9 @@
52142
52506
  }
52143
52507
  },
52144
52508
  {
52145
- "name": "gesture",
52509
+ "name": "proposal",
52146
52510
  "type": {
52147
- "text": "PointerMovementGesture"
52511
+ "text": "ViewportPanUpdateProposal"
52148
52512
  }
52149
52513
  }
52150
52514
  ]
@@ -52602,90 +52966,276 @@
52602
52966
  "reflects": true
52603
52967
  },
52604
52968
  {
52605
- "kind": "field",
52606
- "name": "targetSpacing",
52607
- "type": {
52608
- "text": "number",
52609
- "_sourceAliases": [],
52610
- "values": [
52611
- {
52612
- "value": "number",
52613
- "description": ""
52614
- }
52615
- ]
52616
- },
52617
- "description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
52618
- "attribute": "target-spacing",
52619
- "reflects": true
52620
- }
52621
- ],
52622
- "attributes": [
52969
+ "kind": "field",
52970
+ "name": "targetSpacing",
52971
+ "type": {
52972
+ "text": "number",
52973
+ "_sourceAliases": [],
52974
+ "values": [
52975
+ {
52976
+ "value": "number",
52977
+ "description": ""
52978
+ }
52979
+ ]
52980
+ },
52981
+ "description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
52982
+ "attribute": "target-spacing",
52983
+ "reflects": true
52984
+ }
52985
+ ],
52986
+ "attributes": [
52987
+ {
52988
+ "name": "step",
52989
+ "type": {
52990
+ "text": "number",
52991
+ "_sourceAliases": [],
52992
+ "values": [
52993
+ {
52994
+ "value": "number",
52995
+ "description": ""
52996
+ }
52997
+ ]
52998
+ },
52999
+ "description": "Smallest gridline interval in content-space units.",
53000
+ "fieldName": "step"
53001
+ },
53002
+ {
53003
+ "name": "origin-x",
53004
+ "type": {
53005
+ "text": "number",
53006
+ "_sourceAliases": [],
53007
+ "values": [
53008
+ {
53009
+ "value": "number",
53010
+ "description": ""
53011
+ }
53012
+ ]
53013
+ },
53014
+ "description": "Content-space x coordinate of the grid origin.",
53015
+ "fieldName": "originX"
53016
+ },
53017
+ {
53018
+ "name": "origin-y",
53019
+ "type": {
53020
+ "text": "number",
53021
+ "_sourceAliases": [],
53022
+ "values": [
53023
+ {
53024
+ "value": "number",
53025
+ "description": ""
53026
+ }
53027
+ ]
53028
+ },
53029
+ "description": "Content-space y coordinate of the grid origin.",
53030
+ "fieldName": "originY"
53031
+ },
53032
+ {
53033
+ "name": "target-spacing",
53034
+ "type": {
53035
+ "text": "number",
53036
+ "_sourceAliases": [],
53037
+ "values": [
53038
+ {
53039
+ "value": "number",
53040
+ "description": ""
53041
+ }
53042
+ ]
53043
+ },
53044
+ "description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
53045
+ "fieldName": "targetSpacing"
53046
+ }
53047
+ ],
53048
+ "superclass": {
53049
+ "name": "LitElement",
53050
+ "package": "lit"
53051
+ },
53052
+ "tagName": "nve-viewport-gridlines",
53053
+ "customElement": true,
53054
+ "metadata": {
53055
+ "unitTests": true,
53056
+ "apiReview": true,
53057
+ "performance": true,
53058
+ "stable": true,
53059
+ "vqa": true,
53060
+ "responsive": true,
53061
+ "themes": true,
53062
+ "aria": "#",
53063
+ "entrypoint": "@nvidia-elements/core/viewport",
53064
+ "example": "",
53065
+ "package": true,
53066
+ "documentation": "https://nvidia.github.io/elements/docs/elements/viewport/",
53067
+ "since": "0.0.0",
53068
+ "status": "beta",
53069
+ "behavior": "content",
53070
+ "markdown": "## nve-viewport-gridlines\n\nRenders origin-stable, zoom-adaptive gridlines behind viewport content.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| originX (origin-x) | `number` | Content-space x coordinate of the grid origin. |\n| originY (origin-y) | `number` | Content-space y coordinate of the grid origin. |\n| step | `number` | Smallest gridline interval in content-space units. |\n| targetSpacing (target-spacing) | `number` | Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | Sets the gridline stroke color. [MDN](https://mdn.dev/CSS/color) |\n| --line-width | `string` | Sets the approximate stroke width in CSS pixels. |"
53071
+ }
53072
+ }
53073
+ ],
53074
+ "exports": [
53075
+ {
53076
+ "kind": "js",
53077
+ "name": "ViewportGridlines",
53078
+ "declaration": {
53079
+ "name": "ViewportGridlines",
53080
+ "module": "/src/viewport/viewport-gridlines.js"
53081
+ }
53082
+ }
53083
+ ]
53084
+ },
53085
+ {
53086
+ "kind": "javascript-module",
53087
+ "path": "/src/viewport/viewport-gridlines.utils.js",
53088
+ "declarations": [
53089
+ {
53090
+ "kind": "function",
53091
+ "name": "selectGridlineInterval",
53092
+ "return": {
53093
+ "type": {
53094
+ "text": "number"
53095
+ }
53096
+ },
53097
+ "parameters": [
53098
+ {
53099
+ "name": "options",
53100
+ "type": {
53101
+ "text": "GridlineIntervalOptions",
53102
+ "_sourceAliases": []
53103
+ }
53104
+ }
53105
+ ]
53106
+ },
53107
+ {
53108
+ "kind": "function",
53109
+ "name": "createGridlineCoverage",
53110
+ "return": {
53111
+ "type": {
53112
+ "text": "ViewportRect"
53113
+ }
53114
+ },
53115
+ "parameters": [
53116
+ {
53117
+ "name": "visible",
53118
+ "type": {
53119
+ "text": "ViewportRect",
53120
+ "_sourceAliases": []
53121
+ }
53122
+ }
53123
+ ]
53124
+ },
53125
+ {
53126
+ "kind": "function",
53127
+ "name": "gridlineCoverageNeedsUpdate",
53128
+ "return": {
53129
+ "type": {
53130
+ "text": "boolean"
53131
+ }
53132
+ },
53133
+ "parameters": [
53134
+ {
53135
+ "name": "coverage",
53136
+ "type": {
53137
+ "text": "ViewportRect | undefined",
53138
+ "_sourceAliases": []
53139
+ }
53140
+ },
53141
+ {
53142
+ "name": "visible",
53143
+ "type": {
53144
+ "text": "ViewportRect",
53145
+ "_sourceAliases": []
53146
+ }
53147
+ }
53148
+ ]
53149
+ }
53150
+ ],
53151
+ "exports": [
53152
+ {
53153
+ "kind": "js",
53154
+ "name": "selectGridlineInterval",
53155
+ "declaration": {
53156
+ "name": "selectGridlineInterval",
53157
+ "module": "/src/viewport/viewport-gridlines.utils.js"
53158
+ }
53159
+ },
53160
+ {
53161
+ "kind": "js",
53162
+ "name": "createGridlineCoverage",
53163
+ "declaration": {
53164
+ "name": "createGridlineCoverage",
53165
+ "module": "/src/viewport/viewport-gridlines.utils.js"
53166
+ }
53167
+ },
53168
+ {
53169
+ "kind": "js",
53170
+ "name": "gridlineCoverageNeedsUpdate",
53171
+ "declaration": {
53172
+ "name": "gridlineCoverageNeedsUpdate",
53173
+ "module": "/src/viewport/viewport-gridlines.utils.js"
53174
+ }
53175
+ }
53176
+ ]
53177
+ },
53178
+ {
53179
+ "kind": "javascript-module",
53180
+ "path": "/src/viewport/viewport-minimap.js",
53181
+ "declarations": [
53182
+ {
53183
+ "kind": "class",
53184
+ "description": "Provides a simplified overview and direct navigation for its parent viewport.",
53185
+ "name": "ViewportMinimap",
53186
+ "cssProperties": [
53187
+ {
53188
+ "description": "Color of the surface behind preview geometry. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)",
53189
+ "name": "--background"
53190
+ },
53191
+ {
53192
+ "description": "Color of automatically drawn root rectangles. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color)",
53193
+ "name": "--color"
53194
+ },
53195
+ {
53196
+ "description": "Color of the current visible-region indicator.",
53197
+ "name": "--indicator-color"
53198
+ },
52623
53199
  {
52624
- "name": "step",
52625
- "type": {
52626
- "text": "number",
52627
- "_sourceAliases": [],
52628
- "values": [
52629
- {
52630
- "value": "number",
52631
- "description": ""
52632
- }
52633
- ]
52634
- },
52635
- "description": "Smallest gridline interval in content-space units.",
52636
- "fieldName": "step"
53200
+ "description": "Corner radius of the minimap. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius)",
53201
+ "name": "--border-radius"
52637
53202
  },
52638
53203
  {
52639
- "name": "origin-x",
52640
- "type": {
52641
- "text": "number",
52642
- "_sourceAliases": [],
52643
- "values": [
52644
- {
52645
- "value": "number",
52646
- "description": ""
52647
- }
52648
- ]
52649
- },
52650
- "description": "Content-space x coordinate of the grid origin.",
52651
- "fieldName": "originX"
53204
+ "description": "Cursor for clicking the background to center the viewport.",
53205
+ "name": "--recenter-cursor"
52652
53206
  },
52653
53207
  {
52654
- "name": "origin-y",
52655
- "type": {
52656
- "text": "number",
52657
- "_sourceAliases": [],
52658
- "values": [
52659
- {
52660
- "value": "number",
52661
- "description": ""
52662
- }
52663
- ]
52664
- },
52665
- "description": "Content-space y coordinate of the grid origin.",
52666
- "fieldName": "originY"
53208
+ "description": "Cursor over a draggable visible region.",
53209
+ "name": "--pan-cursor"
52667
53210
  },
52668
53211
  {
52669
- "name": "target-spacing",
52670
- "type": {
52671
- "text": "number",
52672
- "_sourceAliases": [],
52673
- "values": [
52674
- {
52675
- "value": "number",
52676
- "description": ""
52677
- }
52678
- ]
53212
+ "description": "Cursor during a visible-region drag.",
53213
+ "name": "--panning-cursor"
53214
+ }
53215
+ ],
53216
+ "slots": [
53217
+ {
53218
+ "description": "Optional simplified content drawn in viewport content coordinates. Replaces automatic root rectangles.",
53219
+ "name": "preview"
53220
+ }
53221
+ ],
53222
+ "members": [
53223
+ {
53224
+ "kind": "method",
53225
+ "name": "refresh",
53226
+ "return": {
53227
+ "type": {
53228
+ "text": "void"
53229
+ }
52679
53230
  },
52680
- "description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
52681
- "fieldName": "targetSpacing"
53231
+ "description": "Remeasures content bounds after preview or viewport roots move without resizing."
52682
53232
  }
52683
53233
  ],
52684
53234
  "superclass": {
52685
53235
  "name": "LitElement",
52686
53236
  "package": "lit"
52687
53237
  },
52688
- "tagName": "nve-viewport-gridlines",
53238
+ "tagName": "nve-viewport-minimap",
52689
53239
  "customElement": true,
52690
53240
  "metadata": {
52691
53241
  "unitTests": true,
@@ -52703,38 +53253,38 @@
52703
53253
  "since": "0.0.0",
52704
53254
  "status": "beta",
52705
53255
  "behavior": "content",
52706
- "markdown": "## nve-viewport-gridlines\n\nRenders origin-stable, zoom-adaptive gridlines behind viewport content.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| originX (origin-x) | `number` | Content-space x coordinate of the grid origin. |\n| originY (origin-y) | `number` | Content-space y coordinate of the grid origin. |\n| step | `number` | Smallest gridline interval in content-space units. |\n| targetSpacing (target-spacing) | `number` | Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | Sets the gridline stroke color. [MDN](https://mdn.dev/CSS/color) |\n| --line-width | `string` | Sets the approximate stroke width in CSS pixels. |"
53256
+ "markdown": "## nve-viewport-minimap\n\nProvides a simplified overview and direct navigation for its parent viewport.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| preview | `string` | Optional simplified content drawn in viewport content coordinates. Replaces automatic root rectangles. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| refresh | `refresh(): void` | Remeasures content bounds after preview or viewport roots move without resizing. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Color of the surface behind preview geometry. [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | Corner radius of the minimap. [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | Color of automatically drawn root rectangles. [MDN](https://mdn.dev/CSS/color) |\n| --indicator-color | `string` | Color of the current visible-region indicator. |\n| --pan-cursor | `string` | Cursor over a draggable visible region. |\n| --panning-cursor | `string` | Cursor during a visible-region drag. |\n| --recenter-cursor | `string` | Cursor for clicking the background to center the viewport. |"
52707
53257
  }
52708
53258
  }
52709
53259
  ],
52710
53260
  "exports": [
52711
53261
  {
52712
53262
  "kind": "js",
52713
- "name": "ViewportGridlines",
53263
+ "name": "ViewportMinimap",
52714
53264
  "declaration": {
52715
- "name": "ViewportGridlines",
52716
- "module": "/src/viewport/viewport-gridlines.js"
53265
+ "name": "ViewportMinimap",
53266
+ "module": "/src/viewport/viewport-minimap.js"
52717
53267
  }
52718
53268
  }
52719
53269
  ]
52720
53270
  },
52721
53271
  {
52722
53272
  "kind": "javascript-module",
52723
- "path": "/src/viewport/viewport-gridlines.utils.js",
53273
+ "path": "/src/viewport/viewport-minimap.utils.js",
52724
53274
  "declarations": [
52725
53275
  {
52726
53276
  "kind": "function",
52727
- "name": "selectGridlineInterval",
53277
+ "name": "hasPositiveFiniteRect",
52728
53278
  "return": {
52729
53279
  "type": {
52730
- "text": "number"
53280
+ "text": "boolean"
52731
53281
  }
52732
53282
  },
52733
53283
  "parameters": [
52734
53284
  {
52735
- "name": "options",
53285
+ "name": "rect",
52736
53286
  "type": {
52737
- "text": "GridlineIntervalOptions",
53287
+ "text": "ViewportRect",
52738
53288
  "_sourceAliases": []
52739
53289
  }
52740
53290
  }
@@ -52742,42 +53292,81 @@
52742
53292
  },
52743
53293
  {
52744
53294
  "kind": "function",
52745
- "name": "createGridlineCoverage",
53295
+ "name": "createViewportMinimapProjection",
52746
53296
  "return": {
52747
53297
  "type": {
52748
- "text": "ViewportRect"
53298
+ "text": "ViewportMinimapProjection | undefined"
52749
53299
  }
52750
53300
  },
52751
53301
  "parameters": [
53302
+ {
53303
+ "name": "content",
53304
+ "type": {
53305
+ "text": "readonly ViewportRect[]",
53306
+ "_sourceAliases": []
53307
+ }
53308
+ },
52752
53309
  {
52753
53310
  "name": "visible",
52754
53311
  "type": {
52755
53312
  "text": "ViewportRect",
52756
53313
  "_sourceAliases": []
52757
53314
  }
53315
+ },
53316
+ {
53317
+ "name": "size",
53318
+ "type": {
53319
+ "text": "{ readonly width: number; readonly height: number }",
53320
+ "_sourceAliases": []
53321
+ }
52758
53322
  }
52759
53323
  ]
52760
53324
  },
52761
53325
  {
52762
53326
  "kind": "function",
52763
- "name": "gridlineCoverageNeedsUpdate",
53327
+ "name": "projectViewportMinimapRect",
52764
53328
  "return": {
52765
53329
  "type": {
52766
- "text": "boolean"
53330
+ "text": "ViewportRect"
52767
53331
  }
52768
53332
  },
52769
53333
  "parameters": [
52770
53334
  {
52771
- "name": "coverage",
53335
+ "name": "rect",
52772
53336
  "type": {
52773
- "text": "ViewportRect | undefined",
53337
+ "text": "ViewportRect",
52774
53338
  "_sourceAliases": []
52775
53339
  }
52776
53340
  },
52777
53341
  {
52778
- "name": "visible",
53342
+ "name": "projection",
52779
53343
  "type": {
52780
- "text": "ViewportRect",
53344
+ "text": "ViewportMinimapProjection",
53345
+ "_sourceAliases": []
53346
+ }
53347
+ }
53348
+ ]
53349
+ },
53350
+ {
53351
+ "kind": "function",
53352
+ "name": "unprojectViewportMinimapPoint",
53353
+ "return": {
53354
+ "type": {
53355
+ "text": "ViewportPoint"
53356
+ }
53357
+ },
53358
+ "parameters": [
53359
+ {
53360
+ "name": "point",
53361
+ "type": {
53362
+ "text": "ViewportPoint",
53363
+ "_sourceAliases": []
53364
+ }
53365
+ },
53366
+ {
53367
+ "name": "projection",
53368
+ "type": {
53369
+ "text": "ViewportMinimapProjection",
52781
53370
  "_sourceAliases": []
52782
53371
  }
52783
53372
  }
@@ -52787,26 +53376,34 @@
52787
53376
  "exports": [
52788
53377
  {
52789
53378
  "kind": "js",
52790
- "name": "selectGridlineInterval",
53379
+ "name": "hasPositiveFiniteRect",
52791
53380
  "declaration": {
52792
- "name": "selectGridlineInterval",
52793
- "module": "/src/viewport/viewport-gridlines.utils.js"
53381
+ "name": "hasPositiveFiniteRect",
53382
+ "module": "/src/viewport/viewport-minimap.utils.js"
52794
53383
  }
52795
53384
  },
52796
53385
  {
52797
53386
  "kind": "js",
52798
- "name": "createGridlineCoverage",
53387
+ "name": "createViewportMinimapProjection",
52799
53388
  "declaration": {
52800
- "name": "createGridlineCoverage",
52801
- "module": "/src/viewport/viewport-gridlines.utils.js"
53389
+ "name": "createViewportMinimapProjection",
53390
+ "module": "/src/viewport/viewport-minimap.utils.js"
52802
53391
  }
52803
53392
  },
52804
53393
  {
52805
53394
  "kind": "js",
52806
- "name": "gridlineCoverageNeedsUpdate",
53395
+ "name": "projectViewportMinimapRect",
52807
53396
  "declaration": {
52808
- "name": "gridlineCoverageNeedsUpdate",
52809
- "module": "/src/viewport/viewport-gridlines.utils.js"
53397
+ "name": "projectViewportMinimapRect",
53398
+ "module": "/src/viewport/viewport-minimap.utils.js"
53399
+ }
53400
+ },
53401
+ {
53402
+ "kind": "js",
53403
+ "name": "unprojectViewportMinimapPoint",
53404
+ "declaration": {
53405
+ "name": "unprojectViewportMinimapPoint",
53406
+ "module": "/src/viewport/viewport-minimap.utils.js"
52810
53407
  }
52811
53408
  }
52812
53409
  ]
@@ -52817,7 +53414,7 @@
52817
53414
  "declarations": [
52818
53415
  {
52819
53416
  "kind": "class",
52820
- "description": "Coordinates the viewport's opt-in keyboard and Invoker navigation behavior.",
53417
+ "description": "",
52821
53418
  "name": "ViewportNavigationController",
52822
53419
  "members": [
52823
53420
  {
@@ -53015,10 +53612,6 @@
53015
53612
  {
53016
53613
  "kind": "variable",
53017
53614
  "name": "next"
53018
- },
53019
- {
53020
- "kind": "variable",
53021
- "name": "start"
53022
53615
  }
53023
53616
  ],
53024
53617
  "exports": [
@@ -53200,6 +53793,10 @@
53200
53793
  {
53201
53794
  "description": "Custom content rendered behind viewport content and excluded from content fitting",
53202
53795
  "name": "background"
53796
+ },
53797
+ {
53798
+ "description": "Interactive content fixed above the transformed plane and excluded from content fitting",
53799
+ "name": "overlay"
53203
53800
  }
53204
53801
  ],
53205
53802
  "members": [
@@ -53330,6 +53927,46 @@
53330
53927
  "attribute": "behavior-zoom",
53331
53928
  "reflects": true
53332
53929
  },
53930
+ {
53931
+ "kind": "field",
53932
+ "name": "pannable",
53933
+ "type": {
53934
+ "text": "boolean",
53935
+ "_sourceAliases": [],
53936
+ "values": [
53937
+ {
53938
+ "value": "true",
53939
+ "description": ""
53940
+ },
53941
+ {
53942
+ "value": "false",
53943
+ "description": ""
53944
+ }
53945
+ ]
53946
+ },
53947
+ "description": "Whether the viewport may admit new user-input panning.",
53948
+ "readonly": true
53949
+ },
53950
+ {
53951
+ "kind": "field",
53952
+ "name": "zoomable",
53953
+ "type": {
53954
+ "text": "boolean",
53955
+ "_sourceAliases": [],
53956
+ "values": [
53957
+ {
53958
+ "value": "true",
53959
+ "description": ""
53960
+ },
53961
+ {
53962
+ "value": "false",
53963
+ "description": ""
53964
+ }
53965
+ ]
53966
+ },
53967
+ "description": "Whether the viewport may admit new user-input zooming.",
53968
+ "readonly": true
53969
+ },
53333
53970
  {
53334
53971
  "kind": "field",
53335
53972
  "name": "autoFit",
@@ -53454,6 +54091,67 @@
53454
54091
  },
53455
54092
  "description": "Returns the visible content-space rectangle."
53456
54093
  },
54094
+ {
54095
+ "kind": "method",
54096
+ "name": "requestPan",
54097
+ "return": {
54098
+ "type": {
54099
+ "text": "boolean"
54100
+ }
54101
+ },
54102
+ "parameters": [
54103
+ {
54104
+ "name": "proposal",
54105
+ "type": {
54106
+ "text": "ViewportPanProposal"
54107
+ }
54108
+ }
54109
+ ],
54110
+ "description": "Requests one discrete user-originated pan. When pannable, the viewport dispatches\na cancelable `pan` and applies the default transform if no listener cancels the event.\nReturns true only when that default changes the transform."
54111
+ },
54112
+ {
54113
+ "kind": "method",
54114
+ "name": "requestZoom",
54115
+ "return": {
54116
+ "type": {
54117
+ "text": "boolean"
54118
+ }
54119
+ },
54120
+ "parameters": [
54121
+ {
54122
+ "name": "proposal",
54123
+ "type": {
54124
+ "text": "ViewportZoomProposal"
54125
+ }
54126
+ },
54127
+ {
54128
+ "name": "options",
54129
+ "default": "{}",
54130
+ "type": {
54131
+ "text": "ViewportZoomRequestOptions"
54132
+ }
54133
+ }
54134
+ ],
54135
+ "description": "Requests one discrete user-originated zoom. When zoomable, the viewport dispatches\na cancelable `zoom` and applies the default transform if no listener cancels the event.\nSet `options.animated` to animate the uncanceled default; the option is absent from the `zoom` detail.\nReturns true when the default changes or schedules a change to the transform."
54136
+ },
54137
+ {
54138
+ "kind": "method",
54139
+ "name": "startPan",
54140
+ "return": {
54141
+ "type": {
54142
+ "text": "ViewportPanSession | undefined"
54143
+ }
54144
+ },
54145
+ "parameters": [
54146
+ {
54147
+ "name": "proposal",
54148
+ "type": {
54149
+ "text": "ViewportPanProposal"
54150
+ }
54151
+ }
54152
+ ],
54153
+ "description": "Starts a sustained semantic pan after the caller crosses its activation threshold.\nDispatches `panstart`, performs the initial `pan` update, and returns a session for later updates\nand one terminal `panend`. Returns undefined when pannable is false."
54154
+ },
53457
54155
  {
53458
54156
  "kind": "method",
53459
54157
  "name": "animateTo",
@@ -53525,6 +54223,13 @@
53525
54223
  }
53526
54224
  ],
53527
54225
  "events": [
54226
+ {
54227
+ "name": "capabilitieschange",
54228
+ "type": {
54229
+ "text": "Event"
54230
+ },
54231
+ "description": "Dispatched after effective user-input pan or zoom admission changes."
54232
+ },
53528
54233
  {
53529
54234
  "name": "viewportchange",
53530
54235
  "type": {
@@ -53539,19 +54244,19 @@
53539
54244
  }
53540
54245
  },
53541
54246
  {
53542
- "description": "Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence.",
54247
+ "description": "Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session.",
53543
54248
  "name": "panstart"
53544
54249
  },
53545
54250
  {
53546
- "description": "Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation.",
54251
+ "description": "Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation.",
53547
54252
  "name": "pan"
53548
54253
  },
53549
54254
  {
53550
- "description": "Dispatched when a pointer pan ends, including its terminal reason.",
54255
+ "description": "Dispatched once when a sustained pan ends, including its terminal reason.",
53551
54256
  "name": "panend"
53552
54257
  },
53553
54258
  {
53554
- "description": "Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation.",
54259
+ "description": "Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation.",
53555
54260
  "name": "zoom"
53556
54261
  }
53557
54262
  ],
@@ -53739,13 +54444,13 @@
53739
54444
  "themes": true,
53740
54445
  "aria": "#",
53741
54446
  "entrypoint": "@nvidia-elements/core/viewport",
53742
- "example": "<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>",
54447
+ "example": "<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"900\" height=\"600\" viewBox=\"0 0 900 600\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"200\" cy=\"400\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"350\" y=\"100\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 700 290 L 810 400 L 700 510 L 590 400 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n <rect x=\"1\" y=\"1\" width=\"898\" height=\"598\" rx=\"24\" fill=\"none\" stroke=\"var(--nve-ref-border-color-emphasis)\" stroke-width=\"2\" stroke-dasharray=\"32 20\" vector-effect=\"non-scaling-stroke\"></rect>\n </svg>\n <nve-viewport-minimap></nve-viewport-minimap>\n</nve-viewport>",
53743
54448
  "package": true,
53744
54449
  "documentation": "https://nvidia.github.io/elements/docs/elements/viewport/",
53745
54450
  "since": "0.0.0",
53746
54451
  "status": "beta",
53747
54452
  "behavior": "content",
53748
- "markdown": "## nve-viewport\n\nA viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.\n\n### Example\n\n```html\n<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content positioned in the viewport's infinite content space. |\n| background | `string` | Custom content rendered behind viewport content and excluded from content fitting |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| autoFit | `boolean` | Fits measurable direct default-slot content once after initial layout. |\n| behaviorPan (behavior-pan) | `boolean \\| 'space'` | Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space. |\n| behaviorZoom (behavior-zoom) | `boolean` | Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands. |\n| dragThreshold (drag-threshold) | `number` | CSS-pixel pointer movement required before a pointer pan begins. |\n| fitInset (fit-inset) | `number` | Default uniform CSS-pixel inset reserved around bounds when fitting content. |\n| maxScale (max-scale) | `number` | Inclusive upper scale limit. |\n| minScale (min-scale) | `number` | Inclusive lower scale limit. |\n| scale | `number` | Content-to-viewport CSS-pixel scale. |\n| x | `number` | Horizontal content-space coordinate at the viewport origin. |\n| y | `number` | Vertical content-space coordinate at the viewport origin. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| pan | `CustomEvent` | Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation. |\n| panend | `CustomEvent` | Dispatched when a pointer pan ends, including its terminal reason. |\n| panstart | `CustomEvent` | Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence. |\n| type | `CustomEvent` | |\n| viewportchange | `CustomEvent` | Dispatched once after a render that commits one or more viewport transform changes. |\n| zoom | `CustomEvent` | Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --pan-down | `CommandEvent` | With behavior-pan enabled, pans down by one discrete step. |\n| --pan-left | `CommandEvent` | With behavior-pan enabled, pans left by one discrete step. |\n| --pan-right | `CommandEvent` | With behavior-pan enabled, pans right by one discrete step. |\n| --pan-up | `CommandEvent` | With behavior-pan enabled, pans up by one discrete step. |\n| --zoom-in | `CommandEvent` | With behavior-zoom enabled, animates to the next permitted scale step. |\n| --zoom-out | `CommandEvent` | With behavior-zoom enabled, animates to the previous permitted scale step. |\n| --zoom-reset | `CommandEvent` | With behavior-zoom enabled, animates to 100% scale. |\n| --zoom-to-fit | `CommandEvent` | With behavior-zoom enabled, animates to fit direct default-slot element boxes. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| animateTo | `animateTo(target: Partial<ViewportTransform>, options?: ViewportAnimationOptions): void` | Animates the viewport to the requested partial transform. |\n| fitContents | `fitContents(options?: ViewportRevealOptions): void` | Fits the union of direct default-slot element boxes within the viewport. |\n| getTransform | `getTransform(): ViewportTransform` | Returns the current content-space origin and CSS-pixel scale. |\n| getVisibleRect | `getVisibleRect(): ViewportRect` | Returns the visible content-space rectangle. |\n| reveal | `reveal(region: { x: number; y: number; width?: number; height?: number }, options?: ViewportRevealOptions): void` | Centers or fits a content-space region within the viewport. |\n| toContentCoords | `toContentCoords(viewportX: number, viewportY: number): ViewportPoint` | Converts a viewport CSS-pixel point to content space. |\n| toViewportCoords | `toViewportCoords(contentX: number, contentY: number): ViewportPoint` | Converts a content-space point to viewport CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the fixed viewport area. [MDN](https://mdn.dev/CSS/background) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --pan-cursor | `string` | Cursor shown over a background eligible for primary-pointer panning. |\n| --panning-cursor | `string` | Cursor shown while a pointer pan is active. |"
54453
+ "markdown": "## nve-viewport\n\nA viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.\n\n### Example\n\n```html\n<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"900\" height=\"600\" viewBox=\"0 0 900 600\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"200\" cy=\"400\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"350\" y=\"100\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 700 290 L 810 400 L 700 510 L 590 400 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n <rect x=\"1\" y=\"1\" width=\"898\" height=\"598\" rx=\"24\" fill=\"none\" stroke=\"var(--nve-ref-border-color-emphasis)\" stroke-width=\"2\" stroke-dasharray=\"32 20\" vector-effect=\"non-scaling-stroke\"></rect>\n </svg>\n <nve-viewport-minimap></nve-viewport-minimap>\n</nve-viewport>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content positioned in the viewport's infinite content space. |\n| background | `string` | Custom content rendered behind viewport content and excluded from content fitting |\n| overlay | `string` | Interactive content fixed above the transformed plane and excluded from content fitting |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| autoFit | `boolean` | Fits measurable direct default-slot content once after initial layout. |\n| behaviorPan (behavior-pan) | `boolean \\| 'space'` | Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space. |\n| behaviorZoom (behavior-zoom) | `boolean` | Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands. |\n| dragThreshold (drag-threshold) | `number` | CSS-pixel pointer movement required before a pointer pan begins. |\n| fitInset (fit-inset) | `number` | Default uniform CSS-pixel inset reserved around bounds when fitting content. |\n| maxScale (max-scale) | `number` | Inclusive upper scale limit. |\n| minScale (min-scale) | `number` | Inclusive lower scale limit. |\n| pannable | `boolean` | Whether the viewport may admit new user-input panning. |\n| scale | `number` | Content-to-viewport CSS-pixel scale. |\n| x | `number` | Horizontal content-space coordinate at the viewport origin. |\n| y | `number` | Vertical content-space coordinate at the viewport origin. |\n| zoomable | `boolean` | Whether the viewport may admit new user-input zooming. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| capabilitieschange | `CustomEvent` | Dispatched after effective user-input pan or zoom admission changes. |\n| pan | `CustomEvent` | Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation. |\n| panend | `CustomEvent` | Dispatched once when a sustained pan ends, including its terminal reason. |\n| panstart | `CustomEvent` | Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session. |\n| type | `CustomEvent` | |\n| viewportchange | `CustomEvent` | Dispatched once after a render that commits one or more viewport transform changes. |\n| zoom | `CustomEvent` | Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --pan-down | `CommandEvent` | With behavior-pan enabled, pans down by one discrete step. |\n| --pan-left | `CommandEvent` | With behavior-pan enabled, pans left by one discrete step. |\n| --pan-right | `CommandEvent` | With behavior-pan enabled, pans right by one discrete step. |\n| --pan-up | `CommandEvent` | With behavior-pan enabled, pans up by one discrete step. |\n| --zoom-in | `CommandEvent` | With behavior-zoom enabled, animates to the next permitted scale step. |\n| --zoom-out | `CommandEvent` | With behavior-zoom enabled, animates to the previous permitted scale step. |\n| --zoom-reset | `CommandEvent` | With behavior-zoom enabled, animates to 100% scale. |\n| --zoom-to-fit | `CommandEvent` | With behavior-zoom enabled, animates to fit direct default-slot element boxes. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| animateTo | `animateTo(target: Partial<ViewportTransform>, options?: ViewportAnimationOptions): void` | Animates the viewport to the requested partial transform. |\n| fitContents | `fitContents(options?: ViewportRevealOptions): void` | Fits the union of direct default-slot element boxes within the viewport. |\n| getTransform | `getTransform(): ViewportTransform` | Returns the current content-space origin and CSS-pixel scale. |\n| getVisibleRect | `getVisibleRect(): ViewportRect` | Returns the visible content-space rectangle. |\n| requestPan | `requestPan(proposal: ViewportPanProposal): boolean` | Requests one discrete user-originated pan. When pannable, the viewport dispatches a cancelable `pan` and applies the default transform if no listener cancels the event. Returns true only when that default changes the transform. |\n| requestZoom | `requestZoom(proposal: ViewportZoomProposal, options?: ViewportZoomRequestOptions): boolean` | Requests one discrete user-originated zoom. When zoomable, the viewport dispatches a cancelable `zoom` and applies the default transform if no listener cancels the event. Set `options.animated` to animate the uncanceled default; the option is absent from the `zoom` detail. Returns true when the default changes or schedules a change to the transform. |\n| reveal | `reveal(region: { x: number; y: number; width?: number; height?: number }, options?: ViewportRevealOptions): void` | Centers or fits a content-space region within the viewport. |\n| startPan | `startPan(proposal: ViewportPanProposal): ViewportPanSession \\| undefined` | Starts a sustained semantic pan after the caller crosses its activation threshold. Dispatches `panstart`, performs the initial `pan` update, and returns a session for later updates and one terminal `panend`. Returns undefined when pannable is false. |\n| toContentCoords | `toContentCoords(viewportX: number, viewportY: number): ViewportPoint` | Converts a viewport CSS-pixel point to content space. |\n| toViewportCoords | `toViewportCoords(contentX: number, contentY: number): ViewportPoint` | Converts a content-space point to viewport CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the fixed viewport area. [MDN](https://mdn.dev/CSS/background) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --pan-cursor | `string` | Cursor shown over a background eligible for primary-pointer panning. |\n| --panning-cursor | `string` | Cursor shown while a pointer pan is active. |"
53749
54454
  },
53750
54455
  "commands": [
53751
54456
  {
@@ -53781,6 +54486,14 @@
53781
54486
  "description": "With behavior-zoom enabled, animates to fit direct default-slot element boxes."
53782
54487
  }
53783
54488
  ]
54489
+ },
54490
+ {
54491
+ "kind": "variable",
54492
+ "name": "next"
54493
+ },
54494
+ {
54495
+ "kind": "variable",
54496
+ "name": "source"
53784
54497
  }
53785
54498
  ],
53786
54499
  "exports": [