@nvidia-elements/core 2.9.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 (265) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +3 -7
  3. package/dist/accordion/accordion.d.ts +4 -4
  4. package/dist/accordion/accordion2.js +4 -4
  5. package/dist/alert/alert-group.d.ts +1 -1
  6. package/dist/alert/alert-group2.js +1 -1
  7. package/dist/alert/alert.d.ts +1 -1
  8. package/dist/alert/alert2.js +1 -1
  9. package/dist/avatar/avatar-group.d.ts +1 -1
  10. package/dist/avatar/avatar-group2.js +1 -1
  11. package/dist/avatar/avatar.d.ts +1 -1
  12. package/dist/avatar/avatar2.js +1 -1
  13. package/dist/badge/badge.d.ts +1 -1
  14. package/dist/badge/badge2.js +1 -1
  15. package/dist/breadcrumb/breadcrumb.d.ts +2 -1
  16. package/dist/breadcrumb/breadcrumb2.js +1 -1
  17. package/dist/breadcrumb/breadcrumb2.js.map +1 -1
  18. package/dist/bundles/index.d.ts +183 -44
  19. package/dist/bundles/index.js +6 -6
  20. package/dist/button/button.d.ts +1 -1
  21. package/dist/button/button2.js +1 -1
  22. package/dist/button-group/button-group.d.ts +1 -1
  23. package/dist/button-group/button-group2.js +1 -1
  24. package/dist/card/card.d.ts +4 -4
  25. package/dist/card/card2.js +4 -4
  26. package/dist/chat-message/chat-message.d.ts +1 -1
  27. package/dist/chat-message/chat-message2.js +1 -1
  28. package/dist/checkbox/checkbox-group2.js +1 -1
  29. package/dist/checkbox/checkbox2.js +1 -1
  30. package/dist/color/color.d.ts +1 -1
  31. package/dist/color/color2.js +1 -1
  32. package/dist/combobox/combobox.d.ts +2 -2
  33. package/dist/combobox/combobox2.js +1 -1
  34. package/dist/copy-button/copy-button.d.ts +1 -1
  35. package/dist/copy-button/copy-button2.js +1 -1
  36. package/dist/custom-elements-jsx.d.ts +117 -25
  37. package/dist/custom-elements-vue.d.ts +115 -25
  38. package/dist/custom-elements.json +1075 -916
  39. package/dist/data.html.json +55 -7
  40. package/dist/data.snippets.json +45 -45
  41. package/dist/date/date.d.ts +1 -1
  42. package/dist/date/date2.js +1 -1
  43. package/dist/datetime/datetime.d.ts +1 -1
  44. package/dist/datetime/datetime2.js +1 -1
  45. package/dist/dialog/dialog-footer.d.ts +1 -1
  46. package/dist/dialog/dialog-footer2.js +1 -1
  47. package/dist/dialog/dialog-header.d.ts +1 -1
  48. package/dist/dialog/dialog-header2.js +1 -1
  49. package/dist/dialog/dialog.d.ts +1 -1
  50. package/dist/dialog/dialog2.js +1 -1
  51. package/dist/divider/divider.d.ts +1 -1
  52. package/dist/divider/divider2.js +1 -1
  53. package/dist/dot/dot.d.ts +1 -1
  54. package/dist/dot/dot2.js +1 -1
  55. package/dist/drawer/drawer-content.d.ts +1 -1
  56. package/dist/drawer/drawer-content2.js +1 -1
  57. package/dist/drawer/drawer-footer.d.ts +1 -1
  58. package/dist/drawer/drawer-footer2.js +1 -1
  59. package/dist/drawer/drawer-header.d.ts +1 -1
  60. package/dist/drawer/drawer-header2.js +1 -1
  61. package/dist/drawer/drawer.d.ts +1 -1
  62. package/dist/drawer/drawer2.js +1 -1
  63. package/dist/dropdown/dropdown-footer.d.ts +1 -1
  64. package/dist/dropdown/dropdown-footer2.js +1 -1
  65. package/dist/dropdown/dropdown-header.d.ts +1 -1
  66. package/dist/dropdown/dropdown-header2.js +1 -1
  67. package/dist/dropdown/dropdown.d.ts +1 -1
  68. package/dist/dropdown/dropdown2.js +1 -1
  69. package/dist/dropdown-group/dropdown-group.d.ts +1 -1
  70. package/dist/dropdown-group/dropdown-group.js +1 -1
  71. package/dist/dropzone/dropzone.d.ts +1 -1
  72. package/dist/dropzone/dropzone2.js +1 -1
  73. package/dist/file/file2.js +1 -1
  74. package/dist/format-bytes/format-bytes.d.ts +1 -1
  75. package/dist/format-bytes/format-bytes2.js +1 -1
  76. package/dist/format-datetime/format-datetime.d.ts +1 -1
  77. package/dist/format-datetime/format-datetime2.js +1 -1
  78. package/dist/format-number/format-number.d.ts +1 -1
  79. package/dist/format-number/format-number2.js +1 -1
  80. package/dist/format-relative-time/format-relative-time.d.ts +1 -1
  81. package/dist/format-relative-time/format-relative-time2.js +1 -1
  82. package/dist/format-truncate/format-truncate2.js +1 -1
  83. package/dist/forms/control/control2.js +1 -1
  84. package/dist/forms/control-group/control-group.d.ts +3 -1
  85. package/dist/forms/control-group/control-group2.js +1 -1
  86. package/dist/forms/control-group/control-group2.js.map +1 -1
  87. package/dist/forms/control-message/control-message.d.ts +1 -1
  88. package/dist/forms/control-message/control-message2.js +1 -1
  89. package/dist/gauge/gauge.d.ts +1 -1
  90. package/dist/gauge/gauge2.js +1 -1
  91. package/dist/grid/cell/cell.d.ts +1 -1
  92. package/dist/grid/cell/cell2.js +1 -1
  93. package/dist/grid/column/column.d.ts +1 -1
  94. package/dist/grid/column/column2.js +1 -1
  95. package/dist/grid/footer/footer.d.ts +1 -1
  96. package/dist/grid/footer/footer2.js +1 -1
  97. package/dist/grid/grid.d.ts +3 -1
  98. package/dist/grid/grid2.js +1 -1
  99. package/dist/grid/grid2.js.map +1 -1
  100. package/dist/grid/header/header.d.ts +1 -1
  101. package/dist/grid/header/header2.js +1 -1
  102. package/dist/grid/placeholder/placeholder.d.ts +1 -1
  103. package/dist/grid/placeholder/placeholder2.js +1 -1
  104. package/dist/grid/row/row.d.ts +1 -1
  105. package/dist/grid/row/row2.js +1 -1
  106. package/dist/icon/icon.d.ts +1 -1
  107. package/dist/icon/icon2.js +2 -2
  108. package/dist/icon-button/icon-button.d.ts +1 -1
  109. package/dist/icon-button/icon-button2.js +1 -1
  110. package/dist/index.js +1 -1
  111. package/dist/input/input-group2.js +1 -1
  112. package/dist/input/input2.js +1 -1
  113. package/dist/internal/controllers/keynav-list.controller.js.map +1 -1
  114. package/dist/internal/services/global.service.js +1 -1
  115. package/dist/internal/types/index.d.ts +6 -2
  116. package/dist/internal/types/index.js.map +1 -1
  117. package/dist/internal/utils/audit.js +1 -1
  118. package/dist/internal/utils/audit.js.map +1 -1
  119. package/dist/internal/utils/dom.d.ts +3 -1
  120. package/dist/internal/utils/dom.js.map +1 -1
  121. package/dist/logo/logo.d.ts +1 -1
  122. package/dist/logo/logo2.js +1 -1
  123. package/dist/menu/define.d.ts +2 -1
  124. package/dist/menu/define.js +3 -2
  125. package/dist/menu/define.js.map +1 -1
  126. package/dist/menu/index.d.ts +1 -0
  127. package/dist/menu/index.js +3 -2
  128. package/dist/menu/menu-group.d.ts +50 -0
  129. package/dist/menu/menu-group.js +6 -0
  130. package/dist/menu/menu-group.js.map +1 -0
  131. package/dist/menu/menu-group2.js +53 -0
  132. package/dist/menu/menu-group2.js.map +1 -0
  133. package/dist/menu/menu-item.d.ts +2 -1
  134. package/dist/menu/menu-item.js +1 -1
  135. package/dist/menu/menu-item.js.map +1 -1
  136. package/dist/menu/menu-item2.js +2 -2
  137. package/dist/menu/menu-item2.js.map +1 -1
  138. package/dist/menu/menu.d.ts +7 -2
  139. package/dist/menu/menu.examples.js.map +1 -1
  140. package/dist/menu/menu.examples.json +53 -13
  141. package/dist/menu/menu.global.js +1 -1
  142. package/dist/menu/menu.global.js.map +1 -1
  143. package/dist/menu/menu2.js +16 -8
  144. package/dist/menu/menu2.js.map +1 -1
  145. package/dist/month/month.d.ts +1 -1
  146. package/dist/month/month2.js +1 -1
  147. package/dist/notification/notification-group.d.ts +1 -1
  148. package/dist/notification/notification-group2.js +1 -1
  149. package/dist/notification/notification.d.ts +1 -1
  150. package/dist/notification/notification2.js +1 -1
  151. package/dist/page/page-panel/page-panel-content.d.ts +1 -1
  152. package/dist/page/page-panel/page-panel-content2.js +1 -1
  153. package/dist/page/page-panel/page-panel-footer.d.ts +1 -1
  154. package/dist/page/page-panel/page-panel-footer2.js +1 -1
  155. package/dist/page/page-panel/page-panel-header.d.ts +1 -1
  156. package/dist/page/page-panel/page-panel-header2.js +1 -1
  157. package/dist/page/page-panel/page-panel.d.ts +1 -1
  158. package/dist/page/page-panel/page-panel2.js +1 -1
  159. package/dist/page/page.d.ts +1 -1
  160. package/dist/page/page2.js +1 -1
  161. package/dist/page-header/page-header.d.ts +1 -1
  162. package/dist/page-header/page-header2.js +1 -1
  163. package/dist/page-loader/page-loader.d.ts +1 -1
  164. package/dist/page-loader/page-loader2.js +1 -1
  165. package/dist/pagination/pagination.d.ts +1 -1
  166. package/dist/pagination/pagination2.js +1 -1
  167. package/dist/panel/panel.d.ts +4 -4
  168. package/dist/panel/panel2.js +4 -4
  169. package/dist/password/password.d.ts +1 -1
  170. package/dist/password/password2.js +1 -1
  171. package/dist/preferences-input/preferences-input.d.ts +1 -1
  172. package/dist/preferences-input/preferences-input2.js +1 -1
  173. package/dist/progress-bar/progress-bar.d.ts +1 -1
  174. package/dist/progress-bar/progress-bar2.js +1 -1
  175. package/dist/progress-ring/progress-ring.d.ts +1 -1
  176. package/dist/progress-ring/progress-ring2.js +1 -1
  177. package/dist/progressive-filter-chip/progressive-filter-chip.d.ts +1 -1
  178. package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
  179. package/dist/pulse/pulse.d.ts +1 -1
  180. package/dist/pulse/pulse2.js +1 -1
  181. package/dist/radio/radio-group2.js +1 -1
  182. package/dist/radio/radio2.js +1 -1
  183. package/dist/range/range.d.ts +1 -1
  184. package/dist/range/range2.js +1 -1
  185. package/dist/resize-handle/resize-handle.d.ts +1 -1
  186. package/dist/resize-handle/resize-handle2.js +1 -1
  187. package/dist/search/search.d.ts +1 -1
  188. package/dist/search/search2.js +1 -1
  189. package/dist/select/select.d.ts +2 -2
  190. package/dist/select/select2.js +1 -1
  191. package/dist/skeleton/skeleton.d.ts +1 -1
  192. package/dist/skeleton/skeleton2.js +1 -1
  193. package/dist/sort-button/sort-button.d.ts +1 -1
  194. package/dist/sort-button/sort-button2.js +1 -1
  195. package/dist/sparkline/sparkline.d.ts +1 -1
  196. package/dist/sparkline/sparkline2.js +1 -1
  197. package/dist/star-rating/star-rating.d.ts +1 -1
  198. package/dist/star-rating/star-rating2.js +1 -1
  199. package/dist/steps/steps.d.ts +5 -5
  200. package/dist/steps/steps2.js +2 -2
  201. package/dist/steps/steps2.js.map +1 -1
  202. package/dist/switch/switch-group2.js +1 -1
  203. package/dist/switch/switch2.js +1 -1
  204. package/dist/tabs/tabs-group.d.ts +1 -1
  205. package/dist/tabs/tabs-group2.js +1 -1
  206. package/dist/tabs/tabs.d.ts +2 -2
  207. package/dist/tabs/tabs2.js +2 -2
  208. package/dist/tag/tag.d.ts +1 -1
  209. package/dist/tag/tag2.js +1 -1
  210. package/dist/textarea/textarea.d.ts +2 -2
  211. package/dist/textarea/textarea2.js +1 -1
  212. package/dist/time/time.d.ts +1 -1
  213. package/dist/time/time2.js +1 -1
  214. package/dist/toast/toast.d.ts +1 -1
  215. package/dist/toast/toast2.js +1 -1
  216. package/dist/toggletip/toggletip-footer.d.ts +1 -1
  217. package/dist/toggletip/toggletip-footer2.js +1 -1
  218. package/dist/toggletip/toggletip-header.d.ts +1 -1
  219. package/dist/toggletip/toggletip-header2.js +1 -1
  220. package/dist/toggletip/toggletip.d.ts +1 -1
  221. package/dist/toggletip/toggletip2.js +1 -1
  222. package/dist/toolbar/toolbar.d.ts +1 -1
  223. package/dist/toolbar/toolbar2.js +1 -1
  224. package/dist/tooltip/tooltip.d.ts +1 -1
  225. package/dist/tooltip/tooltip2.js +1 -1
  226. package/dist/tree/tree-node.d.ts +2 -2
  227. package/dist/tree/tree-node2.js +1 -1
  228. package/dist/tree/tree-node2.js.map +1 -1
  229. package/dist/tree/tree.d.ts +2 -1
  230. package/dist/tree/tree2.js +1 -1
  231. package/dist/tree/tree2.js.map +1 -1
  232. package/dist/viewport/define.d.ts +2 -1
  233. package/dist/viewport/define.js +2 -1
  234. package/dist/viewport/define.js.map +1 -1
  235. package/dist/viewport/index.d.ts +2 -1
  236. package/dist/viewport/index.js +2 -1
  237. package/dist/viewport/viewport-gesture-navigation.controller.d.ts +8 -10
  238. package/dist/viewport/viewport-gesture-navigation.controller.js +73 -66
  239. package/dist/viewport/viewport-gesture-navigation.controller.js.map +1 -1
  240. package/dist/viewport/viewport-gridlines.d.ts +1 -1
  241. package/dist/viewport/viewport-gridlines2.js +3 -3
  242. package/dist/viewport/viewport-gridlines2.js.map +1 -1
  243. package/dist/viewport/viewport-minimap.d.ts +36 -0
  244. package/dist/viewport/viewport-minimap.js +6 -0
  245. package/dist/viewport/viewport-minimap.js.map +1 -0
  246. package/dist/viewport/viewport-minimap.utils.d.ts +13 -0
  247. package/dist/viewport/viewport-minimap.utils.js +49 -0
  248. package/dist/viewport/viewport-minimap.utils.js.map +1 -0
  249. package/dist/viewport/viewport-minimap2.js +309 -0
  250. package/dist/viewport/viewport-minimap2.js.map +1 -0
  251. package/dist/viewport/viewport-navigation.controller.d.ts +7 -13
  252. package/dist/viewport/viewport-navigation.controller.js +14 -20
  253. package/dist/viewport/viewport-navigation.controller.js.map +1 -1
  254. package/dist/viewport/viewport-navigation.types.d.ts +0 -8
  255. package/dist/viewport/viewport.d.ts +31 -6
  256. package/dist/viewport/viewport.examples.js.map +1 -1
  257. package/dist/viewport/viewport.examples.json +13 -4
  258. package/dist/viewport/viewport.js +1 -1
  259. package/dist/viewport/viewport.js.map +1 -1
  260. package/dist/viewport/viewport.types.d.ts +50 -23
  261. package/dist/viewport/viewport2.js +173 -118
  262. package/dist/viewport/viewport2.js.map +1 -1
  263. package/dist/week/week.d.ts +1 -1
  264. package/dist/week/week2.js +1 -1
  265. package/package.json +7 -4
@@ -2256,6 +2256,25 @@ type LogoProps = {
2256
2256
  size?: "sm" | "md" | "lg" | undefined;
2257
2257
  };
2258
2258
 
2259
+ type MenuGroupProps = {
2260
+ /** 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)
2261
+ - `true` The associated content expands and becomes visible to the user.
2262
+
2263
+ - `false` The associated content collapses and hides from the user. */
2264
+ expanded?: boolean;
2265
+ /** 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)
2266
+ - `true` The element has a disabled state and does not accept interaction.
2267
+
2268
+ - `false` The element has an enabled state and accepts interaction. */
2269
+ disabled?: boolean;
2270
+ /** Determines whether user activation automatically updates the expanded state. */
2271
+ behaviorExpand?: boolean;
2272
+ /** Dispatched when the user requests that the menu group open. */
2273
+ onopen?: (e: CustomEvent<never>) => void;
2274
+ /** Dispatched when the user requests that the menu group close. */
2275
+ onclose?: (e: CustomEvent<never>) => void;
2276
+ };
2277
+
2259
2278
  type MenuItemProps = {
2260
2279
  /** Establishes a relationship between a popover and its invoker button.
2261
2280
  https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement */
@@ -2329,6 +2348,11 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForEl
2329
2348
  };
2330
2349
 
2331
2350
  type MenuProps = {
2351
+ /** Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot.
2352
+ - `compact` Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence.
2353
+
2354
+ - `default` Standard size that works well in most contexts and provides balanced visibility. */
2355
+ density?: "compact" | "default" | undefined;
2332
2356
  /** Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
2333
2357
  onscroll?: (e: CustomEvent<never>) => void;
2334
2358
  };
@@ -3783,6 +3807,8 @@ type ViewportGridlinesProps = {
3783
3807
  targetSpacing?: number;
3784
3808
  };
3785
3809
 
3810
+ type ViewportMinimapProps = {};
3811
+
3786
3812
  type ViewportProps = {
3787
3813
  /** Inclusive lower scale limit. */
3788
3814
  "min-scale"?: number;
@@ -3814,17 +3840,19 @@ type ViewportProps = {
3814
3840
  fitInset?: number;
3815
3841
  /** CSS-pixel pointer movement required before a pointer pan begins. */
3816
3842
  dragThreshold?: number;
3843
+ /** Dispatched after effective user-input pan or zoom admission changes. */
3844
+ oncapabilitieschange?: (e: CustomEvent<Event>) => void;
3817
3845
  /** Dispatched once after a render that commits one or more viewport transform changes. */
3818
3846
  onviewportchange?: (e: CustomEvent<CustomEvent>) => void;
3819
3847
  /** */
3820
3848
  ontype?: (e: CustomEvent<CustomEvent>) => void;
3821
- /** Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence. */
3849
+ /** Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session. */
3822
3850
  onpanstart?: (e: CustomEvent<never>) => void;
3823
- /** Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation. */
3851
+ /** Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation. */
3824
3852
  onpan?: (e: CustomEvent<never>) => void;
3825
- /** Dispatched when a pointer pan ends, including its terminal reason. */
3853
+ /** Dispatched once when a sustained pan ends, including its terminal reason. */
3826
3854
  onpanend?: (e: CustomEvent<never>) => void;
3827
- /** Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation. */
3855
+ /** Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation. */
3828
3856
  onzoom?: (e: CustomEvent<never>) => void;
3829
3857
  };
3830
3858
 
@@ -4698,13 +4726,13 @@ export type CustomElements = {
4698
4726
  * - **change** - Dispatched when the value has changed (files located in event.target)
4699
4727
  *
4700
4728
  * ### **Methods:**
4701
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
4729
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
4702
4730
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
4703
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
4731
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
4704
4732
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
4705
- * - **setCustomValidity()** - Sets a custom validation message.
4733
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
4706
4734
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
4707
- * - **reset()** - Resets the control value to its initial value.
4735
+ * - **reset(): _void_** - Resets the control value to its initial value.
4708
4736
  *
4709
4737
  * ### **Slots:**
4710
4738
  * - _default_ - Custom messaging that replaces the default upload instructions.
@@ -5158,6 +5186,33 @@ export type CustomElements = {
5158
5186
  */
5159
5187
  "nve-logo": DefineComponent<LogoProps>;
5160
5188
 
5189
+ /**
5190
+ * Organizes related menu items under a disclosure header that can show or hide one child menu.
5191
+ * ---
5192
+ *
5193
+ *
5194
+ * ### **Events:**
5195
+ * - **open** - Dispatched when the user requests that the menu group open.
5196
+ * - **close** - Dispatched when the user requests that the menu group close.
5197
+ *
5198
+ * ### **Slots:**
5199
+ * - _default_ - Label content for the disclosure header.
5200
+ * - **prefix** - Non-interactive content before the header label, such as an icon or avatar.
5201
+ * - **suffix** - Non-interactive content after the header label, such as a badge or count.
5202
+ * - **menu** - One `nve-menu` containing the grouped menu items. Direct menus use this slot automatically in browsers; server-rendered menus must set `slot="menu"` explicitly.
5203
+ *
5204
+ * ### **CSS Properties:**
5205
+ * - **--background** - undefined _(default: undefined)_
5206
+ * - **--font-size** - undefined _(default: undefined)_
5207
+ * - **--padding** - undefined _(default: undefined)_
5208
+ * - **--gap** - undefined _(default: undefined)_
5209
+ * - **--border-radius** - undefined _(default: undefined)_
5210
+ * - **--color** - undefined _(default: undefined)_
5211
+ * - **--width** - undefined _(default: undefined)_
5212
+ * - **--min-height** - undefined _(default: undefined)_
5213
+ */
5214
+ "nve-menu-group": DefineComponent<MenuGroupProps>;
5215
+
5161
5216
  /**
5162
5217
  * Represents a selectable option within a menu, providing an interactive button for navigation or actions.
5163
5218
  * ---
@@ -5165,6 +5220,7 @@ export type CustomElements = {
5165
5220
  *
5166
5221
  * ### **Slots:**
5167
5222
  * - _default_ - Label and supporting content for the menu option.
5223
+ * - **prefix** - slot for prefix icon
5168
5224
  * - **suffix** - slot for suffix icon
5169
5225
  *
5170
5226
  * ### **CSS Properties:**
@@ -5444,13 +5500,13 @@ export type CustomElements = {
5444
5500
  * - **change** - Dispatched when the value (page) has changed
5445
5501
  *
5446
5502
  * ### **Methods:**
5447
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
5503
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
5448
5504
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
5449
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
5505
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
5450
5506
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
5451
- * - **setCustomValidity()** - Sets a custom validation message.
5507
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
5452
5508
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
5453
- * - **reset()** - Resets the control value to its initial value.
5509
+ * - **reset(): _void_** - Resets the control value to its initial value.
5454
5510
  *
5455
5511
  * ### **Slots:**
5456
5512
  * - **suffix-label** - Overrides the "of total" label when the total is an approximation.
@@ -5596,13 +5652,13 @@ export type CustomElements = {
5596
5652
  * - **change** - Dispatched when the value has changed
5597
5653
  *
5598
5654
  * ### **Methods:**
5599
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
5655
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
5600
5656
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
5601
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
5657
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
5602
5658
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
5603
- * - **setCustomValidity()** - Sets a custom validation message.
5659
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
5604
5660
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
5605
- * - **reset()** - Resets the control value to its initial value.
5661
+ * - **reset(): _void_** - Resets the control value to its initial value.
5606
5662
  *
5607
5663
  * ### **CSS Properties:**
5608
5664
  * - **--color** - undefined _(default: undefined)_
@@ -5794,13 +5850,13 @@ export type CustomElements = {
5794
5850
  * - **toggle** - Dispatched when the resize handle is double clicked.
5795
5851
  *
5796
5852
  * ### **Methods:**
5797
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
5853
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
5798
5854
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
5799
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
5855
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
5800
5856
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
5801
- * - **setCustomValidity()** - Sets a custom validation message.
5857
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
5802
5858
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
5803
- * - **reset()** - Resets the control value to its initial value.
5859
+ * - **reset(): _void_** - Resets the control value to its initial value.
5804
5860
  *
5805
5861
  * ### **CSS Properties:**
5806
5862
  * - **--background** - undefined _(default: undefined)_
@@ -6464,24 +6520,57 @@ export type CustomElements = {
6464
6520
  */
6465
6521
  "nve-viewport-gridlines": DefineComponent<ViewportGridlinesProps>;
6466
6522
 
6523
+ /**
6524
+ * Provides a simplified overview and direct navigation for its parent viewport.
6525
+ * ---
6526
+ *
6527
+ *
6528
+ * ### **Methods:**
6529
+ * - **refresh(): _void_** - Remeasures content bounds after preview or viewport roots move without resizing.
6530
+ *
6531
+ * ### **Slots:**
6532
+ * - **preview** - Optional simplified content drawn in viewport content coordinates. Replaces automatic root rectangles.
6533
+ *
6534
+ * ### **CSS Properties:**
6535
+ * - **--background** - Color of the surface behind preview geometry. _(default: undefined)_
6536
+ * - **--color** - Color of automatically drawn root rectangles. _(default: undefined)_
6537
+ * - **--indicator-color** - Color of the current visible-region indicator. _(default: undefined)_
6538
+ * - **--border-radius** - Corner radius of the minimap. _(default: undefined)_
6539
+ * - **--recenter-cursor** - Cursor for clicking the background to center the viewport. _(default: undefined)_
6540
+ * - **--pan-cursor** - Cursor over a draggable visible region. _(default: undefined)_
6541
+ * - **--panning-cursor** - Cursor during a visible-region drag. _(default: undefined)_
6542
+ */
6543
+ "nve-viewport-minimap": DefineComponent<ViewportMinimapProps>;
6544
+
6467
6545
  /**
6468
6546
  * A viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.
6469
6547
  * ---
6470
6548
  *
6471
6549
  *
6472
6550
  * ### **Events:**
6473
- * - **viewportchange** - Dispatched once after a render that commits one or more viewport transform changes.
6551
+ * - **capabilitieschange** - Dispatched after effective user-input pan or zoom admission changes.
6552
+ * - **viewportchange** - Dispatched once after a render that commits one or more viewport transform changes.
6474
6553
  * - **type**
6475
- * - **panstart** - Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence.
6476
- * - **pan** - Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation.
6477
- * - **panend** - Dispatched when a pointer pan ends, including its terminal reason.
6478
- * - **zoom** - Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation.
6554
+ * - **panstart** - Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session.
6555
+ * - **pan** - Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation.
6556
+ * - **panend** - Dispatched once when a sustained pan ends, including its terminal reason.
6557
+ * - **zoom** - Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation.
6479
6558
  *
6480
6559
  * ### **Methods:**
6481
6560
  * - **toViewportCoords(contentX: _number_, contentY: _number_): _ViewportPoint_** - Converts a content-space point to viewport CSS pixels.
6482
6561
  * - **toContentCoords(viewportX: _number_, viewportY: _number_): _ViewportPoint_** - Converts a viewport CSS-pixel point to content space.
6483
6562
  * - **getTransform(): _ViewportTransform_** - Returns the current content-space origin and CSS-pixel scale.
6484
6563
  * - **getVisibleRect(): _ViewportRect_** - Returns the visible content-space rectangle.
6564
+ * - **requestPan(proposal: _ViewportPanProposal_): _boolean_** - Requests one discrete user-originated pan. When pannable, the viewport dispatches
6565
+ * a cancelable `pan` and applies the default transform if no listener cancels the event.
6566
+ * Returns true only when that default changes the transform.
6567
+ * - **requestZoom(proposal: _ViewportZoomProposal_, options: _ViewportZoomRequestOptions_): _boolean_** - Requests one discrete user-originated zoom. When zoomable, the viewport dispatches
6568
+ * a cancelable `zoom` and applies the default transform if no listener cancels the event.
6569
+ * Set `options.animated` to animate the uncanceled default; the option is absent from the `zoom` detail.
6570
+ * Returns true when the default changes or schedules a change to the transform.
6571
+ * - **startPan(proposal: _ViewportPanProposal_): _ViewportPanSession | undefined_** - Starts a sustained semantic pan after the caller crosses its activation threshold.
6572
+ * Dispatches `panstart`, performs the initial `pan` update, and returns a session for later updates
6573
+ * and one terminal `panend`. Returns undefined when pannable is false.
6485
6574
  * - **animateTo(target: _Partial<ViewportTransform>_, options: _ViewportAnimationOptions_): _void_** - Animates the viewport to the requested partial transform.
6486
6575
  * - **reveal(region: _{ x: number; y: number; width?: number; height?: number }_, options: _ViewportRevealOptions_): _void_** - Centers or fits a content-space region within the viewport.
6487
6576
  * - **fitContents(options: _ViewportRevealOptions_): _void_** - Fits the union of direct default-slot element boxes within the viewport.
@@ -6489,6 +6578,7 @@ export type CustomElements = {
6489
6578
  * ### **Slots:**
6490
6579
  * - _default_ - Content positioned in the viewport's infinite content space.
6491
6580
  * - **background** - Custom content rendered behind viewport content and excluded from content fitting
6581
+ * - **overlay** - Interactive content fixed above the transformed plane and excluded from content fitting
6492
6582
  *
6493
6583
  * ### **CSS Properties:**
6494
6584
  * - **--background** - Background color of the fixed viewport area. _(default: undefined)_