@nvidia-elements/core 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/NOTICE.md +4 -4
  3. package/dist/_virtual/{_@oxc-project_runtime@0.130.0 → _@oxc-project_runtime@0.132.0}/helpers/decorate.js +1 -1
  4. package/dist/accordion/accordion-header.js +1 -1
  5. package/dist/accordion/accordion-header.js.map +1 -1
  6. package/dist/accordion/accordion.d.ts +4 -7
  7. package/dist/accordion/accordion.examples.js.map +1 -1
  8. package/dist/accordion/accordion.examples.json +1 -12
  9. package/dist/accordion/accordion.js +1 -1
  10. package/dist/accordion/accordion.js.map +1 -1
  11. package/dist/accordion/accordion2.js +41 -44
  12. package/dist/accordion/accordion2.js.map +1 -1
  13. package/dist/alert/alert-group.d.ts +1 -1
  14. package/dist/alert/alert-group2.js +14 -14
  15. package/dist/alert/alert.d.ts +1 -1
  16. package/dist/alert/alert.js +1 -1
  17. package/dist/alert/alert.js.map +1 -1
  18. package/dist/alert/alert2.js +20 -20
  19. package/dist/avatar/avatar-group.d.ts +1 -1
  20. package/dist/avatar/avatar-group2.js +1 -1
  21. package/dist/avatar/avatar.d.ts +1 -1
  22. package/dist/avatar/avatar2.js +6 -6
  23. package/dist/badge/badge.d.ts +3 -3
  24. package/dist/badge/badge.js +1 -1
  25. package/dist/badge/badge.js.map +1 -1
  26. package/dist/badge/badge2.js +22 -23
  27. package/dist/badge/badge2.js.map +1 -1
  28. package/dist/breadcrumb/breadcrumb.d.ts +1 -6
  29. package/dist/breadcrumb/breadcrumb.js +1 -1
  30. package/dist/breadcrumb/breadcrumb.js.map +1 -1
  31. package/dist/breadcrumb/breadcrumb2.js +12 -12
  32. package/dist/breadcrumb/breadcrumb2.js.map +1 -1
  33. package/dist/bundle.d.ts +14 -0
  34. package/dist/bundles/index.d.ts +1229 -1877
  35. package/dist/bundles/index.js +6 -6
  36. package/dist/button/button.d.ts +7 -4
  37. package/dist/button/button.js +1 -1
  38. package/dist/button/button.js.map +1 -1
  39. package/dist/button/button2.js +13 -13
  40. package/dist/button/button2.js.map +1 -1
  41. package/dist/button-group/button-group.d.ts +1 -1
  42. package/dist/button-group/button-group2.js +15 -15
  43. package/dist/card/card-header.js +1 -1
  44. package/dist/card/card-header.js.map +1 -1
  45. package/dist/card/card.d.ts +4 -7
  46. package/dist/card/card2.js +18 -18
  47. package/dist/card/card2.js.map +1 -1
  48. package/dist/chat-message/chat-message.d.ts +1 -1
  49. package/dist/chat-message/chat-message2.js +7 -7
  50. package/dist/checkbox/checkbox-group2.js +7 -7
  51. package/dist/checkbox/checkbox2.js +7 -7
  52. package/dist/color/color.d.ts +1 -1
  53. package/dist/color/color2.js +7 -7
  54. package/dist/combobox/combobox.d.ts +2 -8
  55. package/dist/combobox/combobox.examples.js.map +1 -1
  56. package/dist/combobox/combobox2.js +10 -13
  57. package/dist/combobox/combobox2.js.map +1 -1
  58. package/dist/copy-button/copy-button.d.ts +1 -1
  59. package/dist/copy-button/copy-button2.js +11 -11
  60. package/dist/copy-button/copy-button2.js.map +1 -1
  61. package/dist/custom-elements-jsx.d.ts +374 -646
  62. package/dist/custom-elements-vue.d.ts +374 -646
  63. package/dist/custom-elements.json +5999 -15468
  64. package/dist/data.html.json +322 -191
  65. package/dist/data.snippets.json +30 -30
  66. package/dist/date/date.d.ts +1 -1
  67. package/dist/date/date2.js +7 -7
  68. package/dist/datetime/datetime.d.ts +1 -1
  69. package/dist/datetime/datetime2.js +7 -7
  70. package/dist/dialog/dialog-footer.d.ts +1 -1
  71. package/dist/dialog/dialog-footer2.js +6 -6
  72. package/dist/dialog/dialog-header.d.ts +1 -1
  73. package/dist/dialog/dialog-header2.js +6 -6
  74. package/dist/dialog/dialog.d.ts +1 -1
  75. package/dist/dialog/dialog.examples.js.map +1 -1
  76. package/dist/dialog/dialog2.js +19 -19
  77. package/dist/divider/divider.d.ts +1 -1
  78. package/dist/divider/divider2.js +5 -5
  79. package/dist/dot/dot.d.ts +1 -1
  80. package/dist/dot/dot2.js +8 -8
  81. package/dist/drawer/drawer-content.d.ts +1 -1
  82. package/dist/drawer/drawer-content2.js +6 -6
  83. package/dist/drawer/drawer-footer.d.ts +1 -1
  84. package/dist/drawer/drawer-footer2.js +6 -6
  85. package/dist/drawer/drawer-header.d.ts +1 -1
  86. package/dist/drawer/drawer-header2.js +6 -6
  87. package/dist/drawer/drawer.d.ts +1 -1
  88. package/dist/drawer/drawer2.js +19 -19
  89. package/dist/dropdown/dropdown-footer.d.ts +1 -1
  90. package/dist/dropdown/dropdown-footer2.js +6 -6
  91. package/dist/dropdown/dropdown-header.d.ts +1 -1
  92. package/dist/dropdown/dropdown-header2.js +6 -6
  93. package/dist/dropdown/dropdown.d.ts +1 -1
  94. package/dist/dropdown/dropdown2.js +16 -16
  95. package/dist/dropdown-group/dropdown-group.d.ts +1 -1
  96. package/dist/dropdown-group/dropdown-group.js +16 -16
  97. package/dist/dropzone/dropzone.d.ts +2 -405
  98. package/dist/dropzone/dropzone2.js +14 -14
  99. package/dist/dropzone/dropzone2.js.map +1 -1
  100. package/dist/file/file2.js +1 -1
  101. package/dist/format-datetime/format-datetime.d.ts +1 -1
  102. package/dist/format-datetime/format-datetime2.js +10 -10
  103. package/dist/format-number/format-number.d.ts +1 -1
  104. package/dist/format-number/format-number2.js +16 -16
  105. package/dist/format-relative-time/format-relative-time.d.ts +1 -1
  106. package/dist/format-relative-time/format-relative-time2.js +7 -7
  107. package/dist/forms/control/control2.js +19 -19
  108. package/dist/forms/control-group/control-group.d.ts +1 -1
  109. package/dist/forms/control-group/control-group.js +1 -1
  110. package/dist/forms/control-group/control-group.js.map +1 -1
  111. package/dist/forms/control-group/control-group2.js +6 -6
  112. package/dist/forms/control-message/control-message.d.ts +1 -1
  113. package/dist/forms/control-message/control-message2.js +9 -9
  114. package/dist/grid/cell/cell.d.ts +1 -1
  115. package/dist/grid/cell/cell2.js +1 -1
  116. package/dist/grid/column/column.d.ts +1 -1
  117. package/dist/grid/column/column2.js +10 -10
  118. package/dist/grid/footer/footer.d.ts +1 -1
  119. package/dist/grid/footer/footer2.js +6 -6
  120. package/dist/grid/grid.d.ts +3 -2
  121. package/dist/grid/grid.examples.js.map +1 -1
  122. package/dist/grid/grid2.js +38 -30
  123. package/dist/grid/grid2.js.map +1 -1
  124. package/dist/grid/header/header.d.ts +1 -1
  125. package/dist/grid/header/header2.js +9 -9
  126. package/dist/grid/placeholder/placeholder.d.ts +1 -1
  127. package/dist/grid/placeholder/placeholder2.js +1 -1
  128. package/dist/grid/row/row.d.ts +1 -1
  129. package/dist/grid/row/row2.js +9 -9
  130. package/dist/icon/icon.d.ts +1 -1
  131. package/dist/icon/icon2.js +29 -21
  132. package/dist/icon/icon2.js.map +1 -1
  133. package/dist/icon/icons.d.ts +0 -2
  134. package/dist/icon/icons.js.map +1 -1
  135. package/dist/icon-button/icon-button.d.ts +1 -1
  136. package/dist/icon-button/icon-button.js +1 -1
  137. package/dist/icon-button/icon-button.js.map +1 -1
  138. package/dist/icon-button/icon-button2.js +9 -9
  139. package/dist/index.js +4 -4
  140. package/dist/input/input-group.examples.js.map +1 -1
  141. package/dist/input/input-group.examples.json +11 -0
  142. package/dist/input/input-group.js +1 -1
  143. package/dist/input/input-group.js.map +1 -1
  144. package/dist/input/input-group2.js +1 -1
  145. package/dist/input/input2.js +6 -6
  146. package/dist/internal/controllers/keynav-grid.controller.js +39 -39
  147. package/dist/internal/controllers/state-scroll.controller.d.ts +1 -0
  148. package/dist/internal/controllers/state-scroll.controller.js +25 -8
  149. package/dist/internal/controllers/state-scroll.controller.js.map +1 -1
  150. package/dist/internal/controllers/type-button.controller.examples.js.map +1 -1
  151. package/dist/internal/controllers/type-button.controller.examples.json +1 -1
  152. package/dist/internal/controllers/type-command.controller.d.ts +6 -1
  153. package/dist/internal/controllers/type-command.controller.js +20 -14
  154. package/dist/internal/controllers/type-command.controller.js.map +1 -1
  155. package/dist/internal/controllers/type-native-popover.controller.js +28 -21
  156. package/dist/internal/controllers/type-native-popover.controller.js.map +1 -1
  157. package/dist/internal/controllers/type-native-popover.utils.js +7 -7
  158. package/dist/internal/index.d.ts +0 -1
  159. package/dist/internal/index.js +40 -41
  160. package/dist/internal/services/global.service.js +1 -1
  161. package/dist/internal/types/index.d.ts +0 -10
  162. package/dist/internal/types/index.js +0 -3
  163. package/dist/internal/types/index.js.map +1 -1
  164. package/dist/logo/logo.d.ts +1 -1
  165. package/dist/logo/logo2.js +6 -6
  166. package/dist/menu/menu-item.d.ts +5 -3
  167. package/dist/menu/menu-item2.js +12 -12
  168. package/dist/menu/menu-item2.js.map +1 -1
  169. package/dist/menu/menu.d.ts +1 -1
  170. package/dist/menu/menu.examples.js.map +1 -1
  171. package/dist/menu/menu.examples.json +1 -1
  172. package/dist/menu/menu2.js +10 -10
  173. package/dist/month/month.d.ts +1 -1
  174. package/dist/month/month2.js +7 -7
  175. package/dist/notification/notification-group.d.ts +1 -1
  176. package/dist/notification/notification-group2.js +11 -11
  177. package/dist/notification/notification.d.ts +2 -1
  178. package/dist/notification/notification.examples.js.map +1 -1
  179. package/dist/notification/notification.examples.json +0 -11
  180. package/dist/notification/notification2.js +36 -28
  181. package/dist/notification/notification2.js.map +1 -1
  182. package/dist/page/page-panel/page-panel-content.d.ts +1 -1
  183. package/dist/page/page-panel/page-panel-content2.js +1 -1
  184. package/dist/page/page-panel/page-panel-footer.d.ts +1 -1
  185. package/dist/page/page-panel/page-panel-footer2.js +6 -6
  186. package/dist/page/page-panel/page-panel-header.d.ts +1 -1
  187. package/dist/page/page-panel/page-panel-header2.js +6 -6
  188. package/dist/page/page-panel/page-panel.d.ts +2 -17
  189. package/dist/page/page-panel/page-panel.global.js +1 -1
  190. package/dist/page/page-panel/page-panel.global.js.map +1 -1
  191. package/dist/page/page-panel/page-panel2.js +21 -44
  192. package/dist/page/page-panel/page-panel2.js.map +1 -1
  193. package/dist/page/page.d.ts +1 -1
  194. package/dist/page/page.examples.js.map +1 -1
  195. package/dist/page/page.examples.json +0 -32
  196. package/dist/page/page2.js +9 -9
  197. package/dist/page-header/page-header.d.ts +1 -1
  198. package/dist/page-header/page-header2.js +1 -1
  199. package/dist/page-loader/page-loader.d.ts +1 -1
  200. package/dist/page-loader/page-loader2.js +10 -10
  201. package/dist/pagination/pagination.d.ts +2 -405
  202. package/dist/pagination/pagination2.js +17 -17
  203. package/dist/pagination/pagination2.js.map +1 -1
  204. package/dist/panel/panel.d.ts +8 -5
  205. package/dist/panel/panel.examples.js.map +1 -1
  206. package/dist/panel/panel2.js +21 -21
  207. package/dist/panel/panel2.js.map +1 -1
  208. package/dist/password/password.d.ts +1 -1
  209. package/dist/password/password2.js +7 -7
  210. package/dist/preferences-input/preferences-input.d.ts +2 -405
  211. package/dist/preferences-input/preferences-input2.js +9 -9
  212. package/dist/preferences-input/preferences-input2.js.map +1 -1
  213. package/dist/progress-bar/progress-bar.d.ts +1 -1
  214. package/dist/progress-bar/progress-bar2.js +8 -8
  215. package/dist/progress-ring/progress-ring.d.ts +1 -3
  216. package/dist/progress-ring/progress-ring2.js +17 -22
  217. package/dist/progress-ring/progress-ring2.js.map +1 -1
  218. package/dist/progressive-filter-chip/progressive-filter-chip.d.ts +1 -1
  219. package/dist/progressive-filter-chip/progressive-filter-chip2.js +15 -15
  220. package/dist/pulse/pulse.d.ts +1 -1
  221. package/dist/pulse/pulse2.js +6 -6
  222. package/dist/radio/radio-group2.js +7 -7
  223. package/dist/radio/radio2.js +7 -7
  224. package/dist/range/range.d.ts +1 -1
  225. package/dist/range/range2.js +5 -5
  226. package/dist/resize-handle/resize-handle.d.ts +2 -405
  227. package/dist/resize-handle/resize-handle2.js +16 -16
  228. package/dist/resize-handle/resize-handle2.js.map +1 -1
  229. package/dist/search/search.d.ts +1 -1
  230. package/dist/search/search2.js +8 -8
  231. package/dist/select/select.d.ts +2 -2
  232. package/dist/select/select2.js +18 -18
  233. package/dist/skeleton/skeleton.d.ts +1 -1
  234. package/dist/skeleton/skeleton2.js +7 -7
  235. package/dist/sort-button/sort-button.d.ts +5 -3
  236. package/dist/sort-button/sort-button2.js +19 -19
  237. package/dist/sort-button/sort-button2.js.map +1 -1
  238. package/dist/sparkline/sparkline.d.ts +1 -1
  239. package/dist/sparkline/sparkline2.js +14 -14
  240. package/dist/star-rating/star-rating.d.ts +1 -1
  241. package/dist/star-rating/star-rating2.js +6 -6
  242. package/dist/steps/steps.d.ts +6 -4
  243. package/dist/steps/steps2.js +36 -36
  244. package/dist/steps/steps2.js.map +1 -1
  245. package/dist/switch/switch-group2.js +6 -6
  246. package/dist/switch/switch2.js +7 -7
  247. package/dist/tabs/tabs-group.d.ts +1 -1
  248. package/dist/tabs/tabs-group2.js +21 -21
  249. package/dist/tabs/tabs-item.js +1 -1
  250. package/dist/tabs/tabs-item.js.map +1 -1
  251. package/dist/tabs/tabs.d.ts +6 -8
  252. package/dist/tabs/tabs.global.js +1 -1
  253. package/dist/tabs/tabs.global.js.map +1 -1
  254. package/dist/tabs/tabs.js +1 -1
  255. package/dist/tabs/tabs.js.map +1 -1
  256. package/dist/tabs/tabs2.js +30 -30
  257. package/dist/tabs/tabs2.js.map +1 -1
  258. package/dist/tag/tag.d.ts +6 -3
  259. package/dist/tag/tag2.js +20 -20
  260. package/dist/tag/tag2.js.map +1 -1
  261. package/dist/textarea/textarea2.js +1 -1
  262. package/dist/time/time.d.ts +1 -1
  263. package/dist/time/time2.js +7 -7
  264. package/dist/toast/toast.d.ts +3 -4
  265. package/dist/toast/toast2.js +21 -21
  266. package/dist/toast/toast2.js.map +1 -1
  267. package/dist/toggletip/toggletip-footer.d.ts +1 -1
  268. package/dist/toggletip/toggletip-footer2.js +6 -6
  269. package/dist/toggletip/toggletip-header.d.ts +1 -1
  270. package/dist/toggletip/toggletip-header2.js +6 -6
  271. package/dist/toggletip/toggletip.d.ts +1 -1
  272. package/dist/toggletip/toggletip.examples.js.map +1 -1
  273. package/dist/toggletip/toggletip2.js +17 -17
  274. package/dist/toolbar/toolbar.d.ts +1 -1
  275. package/dist/toolbar/toolbar2.js +11 -11
  276. package/dist/tooltip/tooltip.d.ts +1 -1
  277. package/dist/tooltip/tooltip2.js +16 -16
  278. package/dist/tree/tree-node.d.ts +1 -1
  279. package/dist/tree/tree-node2.js +30 -30
  280. package/dist/tree/tree.d.ts +1 -1
  281. package/dist/tree/tree2.js +14 -14
  282. package/dist/week/week.d.ts +1 -1
  283. package/dist/week/week2.js +7 -7
  284. package/package.json +15 -15
  285. package/dist/internal/base/button.d.ts +0 -114
  286. package/dist/internal/base/button.js +0 -117
  287. package/dist/internal/base/button.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { useStyles as n } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { useStyles as t } from "../internal/styles/index.js";
3
+ import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
4
4
  import r from "./drawer-content.js";
5
5
  import { LitElement as i, html as a } from "lit";
6
6
  //#region src/drawer/drawer-content.ts
7
7
  var o = class extends i {
8
8
  static {
9
- this.styles = n([r]);
9
+ this.styles = t([r]);
10
10
  }
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-content",
14
- version: "0.2.2",
14
+ version: "0.2.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -19,7 +19,7 @@ var o = class extends i {
19
19
  return a`<div internal-host><slot></slot></div>`;
20
20
  }
21
21
  };
22
- o = e([t()], o);
22
+ o = n([e()], o);
23
23
  //#endregion
24
24
  export { o as DrawerContent };
25
25
 
@@ -18,6 +18,6 @@ export declare class DrawerFooter extends LitElement {
18
18
  version: string;
19
19
  parents: string[];
20
20
  };
21
- render(): import('lit-html').TemplateResult<1>;
21
+ render(): import('lit').TemplateResult<1>;
22
22
  connectedCallback(): void;
23
23
  }
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { useStyles as n } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { useStyles as t } from "../internal/styles/index.js";
3
+ import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
4
4
  import r from "./drawer-footer.js";
5
5
  import { LitElement as i, html as a } from "lit";
6
6
  //#region src/drawer/drawer-footer.ts
7
7
  var o = class extends i {
8
8
  static {
9
- this.styles = n([r]);
9
+ this.styles = t([r]);
10
10
  }
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-footer",
14
- version: "0.2.2",
14
+ version: "0.2.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -22,7 +22,7 @@ var o = class extends i {
22
22
  super.connectedCallback(), this.slot = "footer";
23
23
  }
24
24
  };
25
- o = e([t()], o);
25
+ o = n([e()], o);
26
26
  //#endregion
27
27
  export { o as DrawerFooter };
28
28
 
@@ -17,6 +17,6 @@ export declare class DrawerHeader extends LitElement {
17
17
  version: string;
18
18
  parents: string[];
19
19
  };
20
- render(): import('lit-html').TemplateResult<1>;
20
+ render(): import('lit').TemplateResult<1>;
21
21
  connectedCallback(): void;
22
22
  }
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { useStyles as n } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { useStyles as t } from "../internal/styles/index.js";
3
+ import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
4
4
  import r from "./drawer-header.js";
5
5
  import { LitElement as i, html as a } from "lit";
6
6
  //#region src/drawer/drawer-header.ts
7
7
  var o = class extends i {
8
8
  static {
9
- this.styles = n([r]);
9
+ this.styles = t([r]);
10
10
  }
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-drawer-header",
14
- version: "0.2.2",
14
+ version: "0.2.4",
15
15
  parents: ["nve-drawer"]
16
16
  };
17
17
  }
@@ -22,7 +22,7 @@ var o = class extends i {
22
22
  super.connectedCallback(), this.slot = "header";
23
23
  }
24
24
  };
25
- o = e([t()], o);
25
+ o = n([e()], o);
26
26
  //#endregion
27
27
  export { o as DrawerHeader };
28
28
 
@@ -84,7 +84,7 @@ export declare class Drawer extends LitElement {
84
84
  static elementDefinitions: {
85
85
  [IconButton.metadata.tag]: typeof IconButton;
86
86
  };
87
- render(): import('lit-html').TemplateResult<1>;
87
+ render(): import('lit').TemplateResult<1>;
88
88
  connectedCallback(): void;
89
89
  disconnectedCallback(): void;
90
90
  }
@@ -1,20 +1,20 @@
1
- import { createGhostElement as e } from "../internal/utils/dom.js";
2
- import { __decorate as t } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
3
- import { I18nController as n } from "../internal/controllers/i18n.controller.js";
4
- import { TypeNativePopoverController as r } from "../internal/controllers/type-native-popover.controller.js";
5
- import { typeSSR as i } from "../internal/controllers/type-ssr.controller.js";
6
- import { scopedRegistry as a } from "../internal/decorators/scoped-registry.js";
7
- import { useStyles as o } from "../internal/styles/index.js";
8
- import { popoverStyles as s } from "../internal/styles/popover2.js";
1
+ import { I18nController as e } from "../internal/controllers/i18n.controller.js";
2
+ import { createGhostElement as t } from "../internal/utils/dom.js";
3
+ import { TypeNativePopoverController as n } from "../internal/controllers/type-native-popover.controller.js";
4
+ import { typeSSR as r } from "../internal/controllers/type-ssr.controller.js";
5
+ import { scopedRegistry as i } from "../internal/decorators/scoped-registry.js";
6
+ import { useStyles as a } from "../internal/styles/index.js";
7
+ import { popoverStyles as o } from "../internal/styles/popover2.js";
8
+ import { __decorate as s } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
9
9
  import { IconButton as c } from "../icon-button/icon-button2.js";
10
10
  import l from "./drawer.js";
11
11
  import { LitElement as u, html as d } from "lit";
12
12
  import { property as f } from "lit/decorators/property.js";
13
13
  //#region src/drawer/drawer.ts
14
14
  var p = class extends u {
15
- constructor(...t) {
16
- super(...t), this.position = "left", this.anchor = globalThis.document?.body, this.#e = new n(this), this.i18n = this.#e.i18n, this.typeNativePopoverController = new r(this), this.#n = (t) => {
17
- this.inline && (this.#t && t.newState === "closed" ? this.#t.remove() : (this.#t = e(this), this.after(this.#t)));
15
+ constructor(...r) {
16
+ super(...r), this.position = "left", this.anchor = globalThis.document?.body, this.#e = new e(this), this.i18n = this.#e.i18n, this.typeNativePopoverController = new n(this), this.#n = (e) => {
17
+ this.inline && (this.#t && e.newState === "closed" ? this.#t.remove() : (this.#t = t(this), this.after(this.#t)));
18
18
  };
19
19
  }
20
20
  #e;
@@ -25,12 +25,12 @@ var p = class extends u {
25
25
  return !!this.closable;
26
26
  }
27
27
  static {
28
- this.styles = o([s, l]);
28
+ this.styles = a([o, l]);
29
29
  }
30
30
  static {
31
31
  this.metadata = {
32
32
  tag: "nve-drawer",
33
- version: "0.2.2"
33
+ version: "0.2.4"
34
34
  };
35
35
  }
36
36
  static {
@@ -48,23 +48,23 @@ var p = class extends u {
48
48
  }
49
49
  #n;
50
50
  };
51
- t([f({
51
+ s([f({
52
52
  type: String,
53
53
  reflect: !0
54
- })], p.prototype, "position", void 0), t([f({
54
+ })], p.prototype, "position", void 0), s([f({
55
55
  type: String,
56
56
  reflect: !0
57
- })], p.prototype, "size", void 0), t([f({ type: Boolean })], p.prototype, "closable", void 0), t([f({
57
+ })], p.prototype, "size", void 0), s([f({ type: Boolean })], p.prototype, "closable", void 0), s([f({
58
58
  type: Boolean,
59
59
  reflect: !0
60
- })], p.prototype, "modal", void 0), t([f({ type: String })], p.prototype, "anchor", void 0), t([f({ type: String })], p.prototype, "trigger", void 0), t([f({
60
+ })], p.prototype, "modal", void 0), s([f({ type: String })], p.prototype, "anchor", void 0), s([f({ type: String })], p.prototype, "trigger", void 0), s([f({
61
61
  type: Boolean,
62
62
  reflect: !0
63
- })], p.prototype, "inline", void 0), t([f({
63
+ })], p.prototype, "inline", void 0), s([f({
64
64
  type: Boolean,
65
65
  reflect: !0,
66
66
  attribute: "behavior-trigger"
67
- })], p.prototype, "behaviorTrigger", void 0), t([f({ type: Object })], p.prototype, "i18n", void 0), p = t([i(), a()], p);
67
+ })], p.prototype, "behaviorTrigger", void 0), s([f({ type: Object })], p.prototype, "i18n", void 0), p = s([r(), i()], p);
68
68
  //#endregion
69
69
  export { p as Drawer };
70
70
 
@@ -17,6 +17,6 @@ export declare class DropdownFooter extends LitElement {
17
17
  version: string;
18
18
  parents: string[];
19
19
  };
20
- render(): import('lit-html').TemplateResult<1>;
20
+ render(): import('lit').TemplateResult<1>;
21
21
  connectedCallback(): void;
22
22
  }
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { useStyles as n } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { useStyles as t } from "../internal/styles/index.js";
3
+ import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
4
4
  import r from "./dropdown-footer.js";
5
5
  import { LitElement as i, html as a } from "lit";
6
6
  //#region src/dropdown/dropdown-footer.ts
7
7
  var o = class extends i {
8
8
  static {
9
- this.styles = n([r]);
9
+ this.styles = t([r]);
10
10
  }
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dropdown-footer",
14
- version: "0.2.2",
14
+ version: "0.2.4",
15
15
  parents: ["nve-dropdown"]
16
16
  };
17
17
  }
@@ -22,7 +22,7 @@ var o = class extends i {
22
22
  super.connectedCallback(), this.slot = "footer";
23
23
  }
24
24
  };
25
- o = e([t()], o);
25
+ o = n([e()], o);
26
26
  //#endregion
27
27
  export { o as DropdownFooter };
28
28
 
@@ -16,6 +16,6 @@ export declare class DropdownHeader extends LitElement {
16
16
  version: string;
17
17
  parents: string[];
18
18
  };
19
- render(): import('lit-html').TemplateResult<1>;
19
+ render(): import('lit').TemplateResult<1>;
20
20
  connectedCallback(): void;
21
21
  }
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { useStyles as n } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { useStyles as t } from "../internal/styles/index.js";
3
+ import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
4
4
  import r from "./dropdown-header.js";
5
5
  import { LitElement as i, html as a } from "lit";
6
6
  //#region src/dropdown/dropdown-header.ts
7
7
  var o = class extends i {
8
8
  static {
9
- this.styles = n([r]);
9
+ this.styles = t([r]);
10
10
  }
11
11
  static {
12
12
  this.metadata = {
13
13
  tag: "nve-dropdown-header",
14
- version: "0.2.2",
14
+ version: "0.2.4",
15
15
  parents: ["nve-dropdown"]
16
16
  };
17
17
  }
@@ -22,7 +22,7 @@ var o = class extends i {
22
22
  super.connectedCallback(), this.slot = "header";
23
23
  }
24
24
  };
25
- o = e([t()], o);
25
+ o = n([e()], o);
26
26
  //#endregion
27
27
  export { o as DropdownHeader };
28
28
 
@@ -83,5 +83,5 @@ export declare class Dropdown extends LitElement {
83
83
  i18n: Partial<import('../internal').I18nStrings & {
84
84
  __set: boolean;
85
85
  }>;
86
- render(): import('lit-html').TemplateResult<1>;
86
+ render(): import('lit').TemplateResult<1>;
87
87
  }
@@ -1,10 +1,10 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
2
- import { audit as t } from "../internal/controllers/audit.controller.js";
3
- import { I18nController as n } from "../internal/controllers/i18n.controller.js";
4
- import { TypeNativePopoverController as r } from "../internal/controllers/type-native-popover.controller.js";
5
- import { scopedRegistry as i } from "../internal/decorators/scoped-registry.js";
6
- import { useStyles as a } from "../internal/styles/index.js";
7
- import { popoverStyles as o } from "../internal/styles/popover2.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { I18nController as t } from "../internal/controllers/i18n.controller.js";
3
+ import { TypeNativePopoverController as n } from "../internal/controllers/type-native-popover.controller.js";
4
+ import { scopedRegistry as r } from "../internal/decorators/scoped-registry.js";
5
+ import { useStyles as i } from "../internal/styles/index.js";
6
+ import { popoverStyles as a } from "../internal/styles/popover2.js";
7
+ import { __decorate as o } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
8
8
  import { IconButton as s } from "../icon-button/icon-button2.js";
9
9
  import c from "./dropdown.js";
10
10
  import { LitElement as l, html as u } from "lit";
@@ -13,15 +13,15 @@ import { query as f } from "lit/decorators/query.js";
13
13
  //#region src/dropdown/dropdown.ts
14
14
  var p = class extends l {
15
15
  constructor(...e) {
16
- super(...e), this.position = "bottom", this.alignment = "start", this.closable = !1, this.arrow = !1, this.modal = !0, this.popoverType = "auto", this.#e = new n(this), this.typeNativePopoverController = new r(this), this.i18n = this.#e.i18n;
16
+ super(...e), this.position = "bottom", this.alignment = "start", this.closable = !1, this.arrow = !1, this.modal = !0, this.popoverType = "auto", this.#e = new t(this), this.typeNativePopoverController = new n(this), this.i18n = this.#e.i18n;
17
17
  }
18
18
  static {
19
- this.styles = a([o, c]);
19
+ this.styles = i([a, c]);
20
20
  }
21
21
  static {
22
22
  this.metadata = {
23
23
  tag: "nve-dropdown",
24
- version: "0.2.2"
24
+ version: "0.2.4"
25
25
  };
26
26
  }
27
27
  static {
@@ -35,23 +35,23 @@ var p = class extends l {
35
35
  return u`<div internal-host><slot name="header"></slot>${this.closable ? u`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>` : ""}<slot></slot><slot name="footer"></slot>${this.arrow ? u`<div class="arrow"></div>` : ""}</div>`;
36
36
  }
37
37
  };
38
- e([d({ type: String })], p.prototype, "anchor", void 0), e([d({ type: String })], p.prototype, "trigger", void 0), e([d({
38
+ o([d({ type: String })], p.prototype, "anchor", void 0), o([d({ type: String })], p.prototype, "trigger", void 0), o([d({
39
39
  type: String,
40
40
  reflect: !0
41
- })], p.prototype, "position", void 0), e([d({
41
+ })], p.prototype, "position", void 0), o([d({
42
42
  type: String,
43
43
  reflect: !0
44
- })], p.prototype, "alignment", void 0), e([d({
44
+ })], p.prototype, "alignment", void 0), o([d({
45
45
  type: Boolean,
46
46
  reflect: !0,
47
47
  attribute: "behavior-trigger"
48
- })], p.prototype, "behaviorTrigger", void 0), e([d({ type: Boolean })], p.prototype, "closable", void 0), e([d({ type: Boolean })], p.prototype, "arrow", void 0), e([d({
48
+ })], p.prototype, "behaviorTrigger", void 0), o([d({ type: Boolean })], p.prototype, "closable", void 0), o([d({ type: Boolean })], p.prototype, "arrow", void 0), o([d({
49
49
  type: Boolean,
50
50
  reflect: !0
51
- })], p.prototype, "modal", void 0), e([d({
51
+ })], p.prototype, "modal", void 0), o([d({
52
52
  type: String,
53
53
  attribute: "popover-type"
54
- })], p.prototype, "popoverType", void 0), e([f(".arrow")], p.prototype, "popoverArrow", void 0), e([d({ type: Object })], p.prototype, "i18n", void 0), p = e([t({ excessiveInstanceLimit: 50 }), i()], p);
54
+ })], p.prototype, "popoverType", void 0), o([f(".arrow")], p.prototype, "popoverArrow", void 0), o([d({ type: Object })], p.prototype, "i18n", void 0), p = o([e({ excessiveInstanceLimit: 50 }), r()], p);
55
55
  //#endregion
56
56
  export { p as Dropdown };
57
57
 
@@ -23,7 +23,7 @@ export declare class DropdownGroup extends LitElement {
23
23
  children: string[];
24
24
  };
25
25
  protected dropdowns: Dropdown[];
26
- render(): import('lit-html').TemplateResult<1>;
26
+ render(): import('lit').TemplateResult<1>;
27
27
  connectedCallback(): void;
28
28
  disconnectedCallback(): void;
29
29
  close(): void;
@@ -1,20 +1,20 @@
1
- import { isSimpleFocusable as e } from "../internal/utils/focus.js";
2
- import { appendRootNodeStyle as t, clickOutsideElementBounds as n, getFlattenedFocusableItems as r } from "../internal/utils/dom.js";
3
- import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
4
- import { audit as a } from "../internal/controllers/audit.controller.js";
5
- import { useStyles as o } from "../internal/styles/index.js";
1
+ import { audit as e } from "../internal/controllers/audit.controller.js";
2
+ import { isSimpleFocusable as t } from "../internal/utils/focus.js";
3
+ import { appendRootNodeStyle as n, clickOutsideElementBounds as r, getFlattenedFocusableItems as i } from "../internal/utils/dom.js";
4
+ import { useStyles as a } from "../internal/styles/index.js";
5
+ import { __decorate as o } from "../_virtual/_@oxc-project_runtime@0.132.0/helpers/decorate.js";
6
6
  import s from "./dropdown-group.global.js";
7
7
  import { LitElement as c, html as l } from "lit";
8
8
  import { queryAssignedElements as u } from "lit/decorators/query-assigned-elements.js";
9
9
  //#region src/dropdown-group/dropdown-group.ts
10
10
  var d = class extends c {
11
11
  static {
12
- this.styles = o([]);
12
+ this.styles = a([]);
13
13
  }
14
14
  static {
15
15
  this.metadata = {
16
16
  tag: "nve-dropdown-group",
17
- version: "0.2.2",
17
+ version: "0.2.4",
18
18
  children: ["nve-dropdown"]
19
19
  };
20
20
  }
@@ -23,7 +23,7 @@ var d = class extends c {
23
23
  }
24
24
  #e = (e) => this.#n(e);
25
25
  connectedCallback() {
26
- super.connectedCallback(), t(this, s), globalThis.document?.addEventListener("pointerup", this.#e), this.addEventListener("keydown", this.#r), this.addEventListener("open", this.#i), this.addEventListener("close", this.#a);
26
+ super.connectedCallback(), n(this, s), globalThis.document?.addEventListener("pointerup", this.#e), this.addEventListener("keydown", this.#r), this.addEventListener("open", this.#i), this.addEventListener("close", this.#a);
27
27
  }
28
28
  disconnectedCallback() {
29
29
  super.disconnectedCallback(), globalThis.document?.removeEventListener("pointerup", this.#e), this.removeEventListener("keydown", this.#r), this.removeEventListener("open", this.#i), this.removeEventListener("close", this.#a);
@@ -34,20 +34,20 @@ var d = class extends c {
34
34
  });
35
35
  }
36
36
  #n(e) {
37
- let t = this.dropdowns.some((e) => e.matches(":popover-open")), r = this.dropdowns.every((t) => n(e, t));
38
- t && r && this.close();
37
+ let t = this.dropdowns.some((e) => e.matches(":popover-open")), n = this.dropdowns.every((t) => r(e, t));
38
+ t && n && this.close();
39
39
  }
40
- #r(t) {
41
- let n = t.target;
42
- if (t.code === "Escape" && this.close(), t.code === "ArrowRight") {
40
+ #r(e) {
41
+ let n = e.target;
42
+ if (e.code === "Escape" && this.close(), e.code === "ArrowRight") {
43
43
  let e = n.getAttribute("popovertarget");
44
44
  this.dropdowns.find((t) => t.id === e)?.showPopover();
45
45
  }
46
- t.code === "ArrowLeft" && e(t.target) && n.closest("nve-dropdown")?.hidePopover();
46
+ e.code === "ArrowLeft" && t(e.target) && n.closest("nve-dropdown")?.hidePopover();
47
47
  }
48
48
  #i(e) {
49
49
  let t = e.target;
50
- t.localName === "nve-dropdown" && this.dropdowns.find((e) => e === t) && r(t)[0]?.focus();
50
+ t.localName === "nve-dropdown" && this.dropdowns.find((e) => e === t) && i(t)[0]?.focus();
51
51
  }
52
52
  #a(e) {
53
53
  let t = e.target;
@@ -57,7 +57,7 @@ var d = class extends c {
57
57
  this.querySelectorAll("nve-dropdown").forEach((e) => e.hidePopover());
58
58
  }
59
59
  };
60
- i([u()], d.prototype, "dropdowns", void 0), d = i([a()], d);
60
+ o([u()], d.prototype, "dropdowns", void 0), d = o([e()], d);
61
61
  //#endregion
62
62
  export { d as DropdownGroup };
63
63