@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
@@ -44,6 +44,6 @@ export declare class Button extends Button_base {
44
44
  * The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.
45
45
  */
46
46
  interaction: Interaction;
47
- render(): import("lit").TemplateResult<1>;
47
+ render(): import("lit-html").TemplateResult<1>;
48
48
  }
49
49
  export {};
@@ -12,7 +12,7 @@ var s = class extends o(r) {
12
12
  static {
13
13
  this.metadata = {
14
14
  tag: "nve-button",
15
- version: "2.9.0"
15
+ version: "2.11.0"
16
16
  };
17
17
  }
18
18
  render() {
@@ -42,7 +42,7 @@ export declare class ButtonGroup extends LitElement {
42
42
  private dividers;
43
43
  private iconButtons;
44
44
  private buttons;
45
- render(): import("lit").TemplateResult<1>;
45
+ render(): import("lit-html").TemplateResult<1>;
46
46
  connectedCallback(): void;
47
47
  disconnectedCallback(): void;
48
48
  updated(props: PropertyValues<this>): void;
@@ -26,7 +26,7 @@ var f = class extends c {
26
26
  static {
27
27
  this.metadata = {
28
28
  tag: "nve-button-group",
29
- version: "2.9.0",
29
+ version: "2.11.0",
30
30
  children: [
31
31
  "nve-button",
32
32
  "nve-icon-button",
@@ -22,7 +22,7 @@ export declare class Card extends LitElement implements ContainerElement {
22
22
  tag: string;
23
23
  version: string;
24
24
  };
25
- render(): import("lit").TemplateResult<1>;
25
+ render(): import("lit-html").TemplateResult<1>;
26
26
  }
27
27
  /**
28
28
  * @element nve-card-header
@@ -46,7 +46,7 @@ export declare class CardHeader extends LitElement {
46
46
  };
47
47
  /** @private */
48
48
  slot: string;
49
- render(): import("lit").TemplateResult<1>;
49
+ render(): import("lit-html").TemplateResult<1>;
50
50
  }
51
51
  /**
52
52
  * @element nve-card-content
@@ -65,7 +65,7 @@ export declare class CardContent extends LitElement {
65
65
  version: string;
66
66
  parents: string[];
67
67
  };
68
- render(): import("lit").TemplateResult<1>;
68
+ render(): import("lit-html").TemplateResult<1>;
69
69
  }
70
70
  /**
71
71
  * @element nve-card-footer
@@ -87,5 +87,5 @@ export declare class CardFooter extends LitElement {
87
87
  };
88
88
  /** @private */
89
89
  slot: string;
90
- render(): import("lit").TemplateResult<1>;
90
+ render(): import("lit-html").TemplateResult<1>;
91
91
  }
@@ -16,7 +16,7 @@ var d = class extends c {
16
16
  static {
17
17
  this.metadata = {
18
18
  tag: "nve-card",
19
- version: "2.9.0"
19
+ version: "2.11.0"
20
20
  };
21
21
  }
22
22
  render() {
@@ -37,7 +37,7 @@ var f = class extends c {
37
37
  static {
38
38
  this.metadata = {
39
39
  tag: "nve-card-header",
40
- version: "2.9.0",
40
+ version: "2.11.0",
41
41
  parents: ["nve-card"]
42
42
  };
43
43
  }
@@ -53,7 +53,7 @@ var p = class extends c {
53
53
  static {
54
54
  this.metadata = {
55
55
  tag: "nve-card-content",
56
- version: "2.9.0",
56
+ version: "2.11.0",
57
57
  parents: ["nve-card"]
58
58
  };
59
59
  }
@@ -72,7 +72,7 @@ var m = class extends c {
72
72
  static {
73
73
  this.metadata = {
74
74
  tag: "nve-card-footer",
75
- version: "2.9.0",
75
+ version: "2.11.0",
76
76
  parents: ["nve-card"]
77
77
  };
78
78
  }
@@ -31,6 +31,6 @@ export declare class ChatMessage extends LitElement {
31
31
  color: Color;
32
32
  /** Removes the border radius from the selected message corner to indicate the speaker direction. */
33
33
  arrowPosition: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
34
- render(): import("lit").TemplateResult<1>;
34
+ render(): import("lit-html").TemplateResult<1>;
35
35
  connectedCallback(): void;
36
36
  }
@@ -13,7 +13,7 @@ var l = class extends o {
13
13
  static {
14
14
  this.metadata = {
15
15
  tag: "nve-chat-message",
16
- version: "2.9.0"
16
+ version: "2.11.0"
17
17
  };
18
18
  }
19
19
  render() {
@@ -12,7 +12,7 @@ var o = class extends i {
12
12
  static {
13
13
  this.metadata = {
14
14
  tag: "nve-checkbox-group",
15
- version: "2.9.0",
15
+ version: "2.11.0",
16
16
  children: [
17
17
  "label",
18
18
  "nve-control-message",
@@ -15,7 +15,7 @@ var o = class extends i {
15
15
  static {
16
16
  this.metadata = {
17
17
  tag: "nve-checkbox",
18
- version: "2.9.0",
18
+ version: "2.11.0",
19
19
  children: [
20
20
  "label",
21
21
  "input",
@@ -26,6 +26,6 @@ export declare class Color extends Control implements ContainerElement {
26
26
  static elementDefinitions: {
27
27
  [IconButton.metadata.tag]: typeof IconButton;
28
28
  };
29
- protected get suffixContent(): import("lit").TemplateResult<1>;
29
+ protected get suffixContent(): import("lit-html").TemplateResult<1>;
30
30
  connectedCallback(): void;
31
31
  }
@@ -21,7 +21,7 @@ var f = class extends a {
21
21
  static {
22
22
  this.metadata = {
23
23
  tag: "nve-color",
24
- version: "2.9.0"
24
+ version: "2.11.0"
25
25
  };
26
26
  }
27
27
  static {
@@ -66,8 +66,8 @@ export declare class Combobox extends Control implements ContainerElement {
66
66
  [Tag.metadata.tag]: typeof Tag;
67
67
  };
68
68
  protected _associateDatalist: boolean;
69
- protected get prefixContent(): import("lit").TemplateResult<1>;
70
- protected get suffixContent(): typeof nothing | import("lit").TemplateResult<1>;
69
+ protected get prefixContent(): import("lit-html").TemplateResult<1>;
70
+ protected get suffixContent(): typeof nothing | import("lit-html").TemplateResult<1>;
71
71
  firstUpdated(props: PropertyValues<this>): Promise<void>;
72
72
  connectedCallback(): void;
73
73
  disconnectedCallback(): void;
@@ -31,7 +31,7 @@ var S = class extends l {
31
31
  static {
32
32
  this.metadata = {
33
33
  tag: "nve-combobox",
34
- version: "2.9.0"
34
+ version: "2.11.0"
35
35
  };
36
36
  }
37
37
  static {
@@ -53,7 +53,7 @@ export declare class CopyButton extends Button {
53
53
  [Toast.metadata.tag]: typeof Toast;
54
54
  [Tooltip.metadata.tag]: typeof Tooltip;
55
55
  };
56
- render(): import("lit").TemplateResult<1>;
56
+ render(): import("lit-html").TemplateResult<1>;
57
57
  connectedCallback(): void;
58
58
  disconnectedCallback(): void;
59
59
  }
@@ -32,7 +32,7 @@ var p = class extends a {
32
32
  static {
33
33
  this.metadata = {
34
34
  tag: "nve-copy-button",
35
- version: "2.9.0"
35
+ version: "2.11.0"
36
36
  };
37
37
  }
38
38
  static {
@@ -2391,6 +2391,27 @@ export type LogoProps = {
2391
2391
  size?: "sm" | "md" | "lg" | undefined;
2392
2392
  };
2393
2393
 
2394
+ export type MenuGroupProps = {
2395
+ /** Determines whether user activation automatically updates the expanded state. */
2396
+ "behavior-expand"?: boolean;
2397
+ /** 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)
2398
+ - `true` The associated content expands and becomes visible to the user.
2399
+
2400
+ - `false` The associated content collapses and hides from the user. */
2401
+ expanded?: boolean;
2402
+ /** 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)
2403
+ - `true` The element has a disabled state and does not accept interaction.
2404
+
2405
+ - `false` The element has an enabled state and accepts interaction. */
2406
+ disabled?: boolean;
2407
+ /** Determines whether user activation automatically updates the expanded state. */
2408
+ behaviorExpand?: boolean;
2409
+ /** Dispatched when the user requests that the menu group open. */
2410
+ onopen?: (e: CustomEvent<never>) => void;
2411
+ /** Dispatched when the user requests that the menu group close. */
2412
+ onclose?: (e: CustomEvent<never>) => void;
2413
+ };
2414
+
2394
2415
  export type MenuItemProps = {
2395
2416
  /** Indicates whether the element is a noninteractive visual treatment instead of a button.
2396
2417
  https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly */
@@ -2467,6 +2488,11 @@ https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForEl
2467
2488
  };
2468
2489
 
2469
2490
  export type MenuProps = {
2491
+ /** Determines if the menu is in a compact layout. This hides all menu item content except the prefix icon slot.
2492
+ - `compact` Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence.
2493
+
2494
+ - `default` Standard size that works well in most contexts and provides balanced visibility. */
2495
+ density?: "compact" | "default" | undefined;
2470
2496
  /** Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
2471
2497
  onscroll?: (e: CustomEvent<never>) => void;
2472
2498
  };
@@ -4021,6 +4047,8 @@ export type ViewportGridlinesProps = {
4021
4047
  targetSpacing?: number;
4022
4048
  };
4023
4049
 
4050
+ export type ViewportMinimapProps = {};
4051
+
4024
4052
  export type ViewportProps = {
4025
4053
  /** Inclusive lower scale limit. */
4026
4054
  "min-scale"?: number;
@@ -4054,17 +4082,19 @@ export type ViewportProps = {
4054
4082
  fitInset?: number;
4055
4083
  /** CSS-pixel pointer movement required before a pointer pan begins. */
4056
4084
  dragThreshold?: number;
4085
+ /** Dispatched after effective user-input pan or zoom admission changes. */
4086
+ oncapabilitieschange?: (e: CustomEvent<Event>) => void;
4057
4087
  /** Dispatched once after a render that commits one or more viewport transform changes. */
4058
4088
  onviewportchange?: (e: CustomEvent<CustomEvent>) => void;
4059
4089
  /** */
4060
4090
  ontype?: (e: CustomEvent<CustomEvent>) => void;
4061
- /** Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence. */
4091
+ /** Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session. */
4062
4092
  onpanstart?: (e: CustomEvent<never>) => void;
4063
- /** Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation. */
4093
+ /** Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation. */
4064
4094
  onpan?: (e: CustomEvent<never>) => void;
4065
- /** Dispatched when a pointer pan ends, including its terminal reason. */
4095
+ /** Dispatched once when a sustained pan ends, including its terminal reason. */
4066
4096
  onpanend?: (e: CustomEvent<never>) => void;
4067
- /** Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation. */
4097
+ /** Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation. */
4068
4098
  onzoom?: (e: CustomEvent<never>) => void;
4069
4099
  };
4070
4100
 
@@ -4942,13 +4972,13 @@ export type CustomElements = {
4942
4972
  * - **change** - Dispatched when the value has changed (files located in event.target)
4943
4973
  *
4944
4974
  * ### **Methods:**
4945
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
4975
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
4946
4976
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
4947
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
4977
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
4948
4978
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
4949
- * - **setCustomValidity()** - Sets a custom validation message.
4979
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
4950
4980
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
4951
- * - **reset()** - Resets the control value to its initial value.
4981
+ * - **reset(): _void_** - Resets the control value to its initial value.
4952
4982
  *
4953
4983
  * ### **Slots:**
4954
4984
  * - _default_ - Custom messaging that replaces the default upload instructions.
@@ -5402,6 +5432,33 @@ export type CustomElements = {
5402
5432
  */
5403
5433
  "nve-logo": Partial<LogoProps & BaseProps & BaseEvents>;
5404
5434
 
5435
+ /**
5436
+ * Organizes related menu items under a disclosure header that can show or hide one child menu.
5437
+ * ---
5438
+ *
5439
+ *
5440
+ * ### **Events:**
5441
+ * - **open** - Dispatched when the user requests that the menu group open.
5442
+ * - **close** - Dispatched when the user requests that the menu group close.
5443
+ *
5444
+ * ### **Slots:**
5445
+ * - _default_ - Label content for the disclosure header.
5446
+ * - **prefix** - Non-interactive content before the header label, such as an icon or avatar.
5447
+ * - **suffix** - Non-interactive content after the header label, such as a badge or count.
5448
+ * - **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.
5449
+ *
5450
+ * ### **CSS Properties:**
5451
+ * - **--background** - undefined _(default: undefined)_
5452
+ * - **--font-size** - undefined _(default: undefined)_
5453
+ * - **--padding** - undefined _(default: undefined)_
5454
+ * - **--gap** - undefined _(default: undefined)_
5455
+ * - **--border-radius** - undefined _(default: undefined)_
5456
+ * - **--color** - undefined _(default: undefined)_
5457
+ * - **--width** - undefined _(default: undefined)_
5458
+ * - **--min-height** - undefined _(default: undefined)_
5459
+ */
5460
+ "nve-menu-group": Partial<MenuGroupProps & BaseProps & BaseEvents>;
5461
+
5405
5462
  /**
5406
5463
  * Represents a selectable option within a menu, providing an interactive button for navigation or actions.
5407
5464
  * ---
@@ -5409,6 +5466,7 @@ export type CustomElements = {
5409
5466
  *
5410
5467
  * ### **Slots:**
5411
5468
  * - _default_ - Label and supporting content for the menu option.
5469
+ * - **prefix** - slot for prefix icon
5412
5470
  * - **suffix** - slot for suffix icon
5413
5471
  *
5414
5472
  * ### **CSS Properties:**
@@ -5688,13 +5746,13 @@ export type CustomElements = {
5688
5746
  * - **change** - Dispatched when the value (page) has changed
5689
5747
  *
5690
5748
  * ### **Methods:**
5691
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
5749
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
5692
5750
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
5693
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
5751
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
5694
5752
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
5695
- * - **setCustomValidity()** - Sets a custom validation message.
5753
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
5696
5754
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
5697
- * - **reset()** - Resets the control value to its initial value.
5755
+ * - **reset(): _void_** - Resets the control value to its initial value.
5698
5756
  *
5699
5757
  * ### **Slots:**
5700
5758
  * - **suffix-label** - Overrides the "of total" label when the total is an approximation.
@@ -5840,13 +5898,13 @@ export type CustomElements = {
5840
5898
  * - **change** - Dispatched when the value has changed
5841
5899
  *
5842
5900
  * ### **Methods:**
5843
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
5901
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
5844
5902
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
5845
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
5903
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
5846
5904
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
5847
- * - **setCustomValidity()** - Sets a custom validation message.
5905
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
5848
5906
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
5849
- * - **reset()** - Resets the control value to its initial value.
5907
+ * - **reset(): _void_** - Resets the control value to its initial value.
5850
5908
  *
5851
5909
  * ### **CSS Properties:**
5852
5910
  * - **--color** - undefined _(default: undefined)_
@@ -6038,13 +6096,13 @@ export type CustomElements = {
6038
6096
  * - **toggle** - Dispatched when the resize handle is double clicked.
6039
6097
  *
6040
6098
  * ### **Methods:**
6041
- * - **reportValidity()** - Reports whether the control satisfies its constraints.
6099
+ * - **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.
6042
6100
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
6043
- * - **checkValidity()** - Checks whether the control satisfies its constraints.
6101
+ * - **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.
6044
6102
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
6045
- * - **setCustomValidity()** - Sets a custom validation message.
6103
+ * - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
6046
6104
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
6047
- * - **reset()** - Resets the control value to its initial value.
6105
+ * - **reset(): _void_** - Resets the control value to its initial value.
6048
6106
  *
6049
6107
  * ### **CSS Properties:**
6050
6108
  * - **--background** - undefined _(default: undefined)_
@@ -6708,24 +6766,57 @@ export type CustomElements = {
6708
6766
  */
6709
6767
  "nve-viewport-gridlines": Partial<ViewportGridlinesProps & BaseProps & BaseEvents>;
6710
6768
 
6769
+ /**
6770
+ * Provides a simplified overview and direct navigation for its parent viewport.
6771
+ * ---
6772
+ *
6773
+ *
6774
+ * ### **Methods:**
6775
+ * - **refresh(): _void_** - Remeasures content bounds after preview or viewport roots move without resizing.
6776
+ *
6777
+ * ### **Slots:**
6778
+ * - **preview** - Optional simplified content drawn in viewport content coordinates. Replaces automatic root rectangles.
6779
+ *
6780
+ * ### **CSS Properties:**
6781
+ * - **--background** - Color of the surface behind preview geometry. _(default: undefined)_
6782
+ * - **--color** - Color of automatically drawn root rectangles. _(default: undefined)_
6783
+ * - **--indicator-color** - Color of the current visible-region indicator. _(default: undefined)_
6784
+ * - **--border-radius** - Corner radius of the minimap. _(default: undefined)_
6785
+ * - **--recenter-cursor** - Cursor for clicking the background to center the viewport. _(default: undefined)_
6786
+ * - **--pan-cursor** - Cursor over a draggable visible region. _(default: undefined)_
6787
+ * - **--panning-cursor** - Cursor during a visible-region drag. _(default: undefined)_
6788
+ */
6789
+ "nve-viewport-minimap": Partial<ViewportMinimapProps & BaseProps & BaseEvents>;
6790
+
6711
6791
  /**
6712
6792
  * A viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.
6713
6793
  * ---
6714
6794
  *
6715
6795
  *
6716
6796
  * ### **Events:**
6717
- * - **viewportchange** - Dispatched once after a render that commits one or more viewport transform changes.
6797
+ * - **capabilitieschange** - Dispatched after effective user-input pan or zoom admission changes.
6798
+ * - **viewportchange** - Dispatched once after a render that commits one or more viewport transform changes.
6718
6799
  * - **type**
6719
- * - **panstart** - Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence.
6720
- * - **pan** - Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation.
6721
- * - **panend** - Dispatched when a pointer pan ends, including its terminal reason.
6722
- * - **zoom** - Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation.
6800
+ * - **panstart** - Dispatched when a sustained pointer or control pan begins. Cancel to suppress the default for its session.
6801
+ * - **pan** - Dispatched for admitted user pan proposals. Cancel to skip the proposed transform mutation.
6802
+ * - **panend** - Dispatched once when a sustained pan ends, including its terminal reason.
6803
+ * - **zoom** - Dispatched for admitted user zoom proposals. Cancel to skip the proposed transform mutation.
6723
6804
  *
6724
6805
  * ### **Methods:**
6725
6806
  * - **toViewportCoords(contentX: _number_, contentY: _number_): _ViewportPoint_** - Converts a content-space point to viewport CSS pixels.
6726
6807
  * - **toContentCoords(viewportX: _number_, viewportY: _number_): _ViewportPoint_** - Converts a viewport CSS-pixel point to content space.
6727
6808
  * - **getTransform(): _ViewportTransform_** - Returns the current content-space origin and CSS-pixel scale.
6728
6809
  * - **getVisibleRect(): _ViewportRect_** - Returns the visible content-space rectangle.
6810
+ * - **requestPan(proposal: _ViewportPanProposal_): _boolean_** - Requests one discrete user-originated pan. When pannable, the viewport dispatches
6811
+ * a cancelable `pan` and applies the default transform if no listener cancels the event.
6812
+ * Returns true only when that default changes the transform.
6813
+ * - **requestZoom(proposal: _ViewportZoomProposal_, options: _ViewportZoomRequestOptions_): _boolean_** - Requests one discrete user-originated zoom. When zoomable, the viewport dispatches
6814
+ * a cancelable `zoom` and applies the default transform if no listener cancels the event.
6815
+ * Set `options.animated` to animate the uncanceled default; the option is absent from the `zoom` detail.
6816
+ * Returns true when the default changes or schedules a change to the transform.
6817
+ * - **startPan(proposal: _ViewportPanProposal_): _ViewportPanSession | undefined_** - Starts a sustained semantic pan after the caller crosses its activation threshold.
6818
+ * Dispatches `panstart`, performs the initial `pan` update, and returns a session for later updates
6819
+ * and one terminal `panend`. Returns undefined when pannable is false.
6729
6820
  * - **animateTo(target: _Partial<ViewportTransform>_, options: _ViewportAnimationOptions_): _void_** - Animates the viewport to the requested partial transform.
6730
6821
  * - **reveal(region: _{ x: number; y: number; width?: number; height?: number }_, options: _ViewportRevealOptions_): _void_** - Centers or fits a content-space region within the viewport.
6731
6822
  * - **fitContents(options: _ViewportRevealOptions_): _void_** - Fits the union of direct default-slot element boxes within the viewport.
@@ -6733,6 +6824,7 @@ export type CustomElements = {
6733
6824
  * ### **Slots:**
6734
6825
  * - _default_ - Content positioned in the viewport's infinite content space.
6735
6826
  * - **background** - Custom content rendered behind viewport content and excluded from content fitting
6827
+ * - **overlay** - Interactive content fixed above the transformed plane and excluded from content fitting
6736
6828
  *
6737
6829
  * ### **CSS Properties:**
6738
6830
  * - **--background** - Background color of the fixed viewport area. _(default: undefined)_