@nvidia-elements/core 2.19.0 → 2.20.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 (188) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/_virtual/_rolldown/runtime.js +17 -0
  3. package/dist/accordion/accordion2.js +60 -57
  4. package/dist/accordion/accordion2.js.map +1 -1
  5. package/dist/alert/alert-group2.js +1 -1
  6. package/dist/alert/alert2.js +37 -31
  7. package/dist/alert/alert2.js.map +1 -1
  8. package/dist/avatar/avatar-group2.js +1 -1
  9. package/dist/avatar/avatar2.js +1 -1
  10. package/dist/badge/badge.d.ts +0 -6
  11. package/dist/badge/badge2.js +31 -36
  12. package/dist/badge/badge2.js.map +1 -1
  13. package/dist/breadcrumb/breadcrumb2.js +1 -1
  14. package/dist/bundle.d.ts +2 -0
  15. package/dist/bundles/index.d.ts +153 -27
  16. package/dist/bundles/index.js +9 -9
  17. package/dist/button/button2.js +1 -1
  18. package/dist/button-group/button-group2.js +1 -1
  19. package/dist/card/card2.js +4 -4
  20. package/dist/chat-message/chat-message2.js +1 -1
  21. package/dist/checkbox/checkbox-group2.js +1 -1
  22. package/dist/checkbox/checkbox2.js +1 -1
  23. package/dist/color/color.d.ts +2 -0
  24. package/dist/color/color2.js +7 -4
  25. package/dist/color/color2.js.map +1 -1
  26. package/dist/combobox/combobox.d.ts +2 -0
  27. package/dist/combobox/combobox2.js +14 -6
  28. package/dist/combobox/combobox2.js.map +1 -1
  29. package/dist/copy-button/copy-button2.js +26 -23
  30. package/dist/copy-button/copy-button2.js.map +1 -1
  31. package/dist/custom-elements-jsx.d.ts +166 -4
  32. package/dist/custom-elements-vue.d.ts +160 -4
  33. package/dist/custom-elements.json +1239 -220
  34. package/dist/data.html.json +117 -10
  35. package/dist/date/date.d.ts +2 -0
  36. package/dist/date/date2.js +7 -4
  37. package/dist/date/date2.js.map +1 -1
  38. package/dist/datetime/datetime.d.ts +2 -0
  39. package/dist/datetime/datetime2.js +7 -4
  40. package/dist/datetime/datetime2.js.map +1 -1
  41. package/dist/dialog/dialog-footer2.js +1 -1
  42. package/dist/dialog/dialog-header2.js +1 -1
  43. package/dist/dialog/dialog2.js +27 -27
  44. package/dist/dialog/dialog2.js.map +1 -1
  45. package/dist/divider/divider2.js +1 -1
  46. package/dist/dot/dot2.js +1 -1
  47. package/dist/drag-handle/drag-handle2.js +1 -1
  48. package/dist/drawer/drawer-content2.js +1 -1
  49. package/dist/drawer/drawer-footer2.js +1 -1
  50. package/dist/drawer/drawer-header2.js +1 -1
  51. package/dist/drawer/drawer2.js +27 -27
  52. package/dist/drawer/drawer2.js.map +1 -1
  53. package/dist/dropdown/dropdown-footer2.js +1 -1
  54. package/dist/dropdown/dropdown-header2.js +1 -1
  55. package/dist/dropdown/dropdown2.js +23 -23
  56. package/dist/dropdown/dropdown2.js.map +1 -1
  57. package/dist/dropdown-group/dropdown-group.js +1 -1
  58. package/dist/dropzone/dropzone2.js +28 -22
  59. package/dist/dropzone/dropzone2.js.map +1 -1
  60. package/dist/file/file2.js +1 -1
  61. package/dist/format-bytes/format-bytes2.js +1 -1
  62. package/dist/format-datetime/format-datetime2.js +1 -1
  63. package/dist/format-number/format-number2.js +1 -1
  64. package/dist/format-relative-time/format-relative-time2.js +1 -1
  65. package/dist/format-truncate/format-truncate2.js +1 -1
  66. package/dist/forms/control/control.d.ts +3 -0
  67. package/dist/forms/control/control2.js +34 -31
  68. package/dist/forms/control/control2.js.map +1 -1
  69. package/dist/forms/control-group/control-group2.js +1 -1
  70. package/dist/forms/control-message/control-message2.js +1 -1
  71. package/dist/gauge/gauge2.js +26 -21
  72. package/dist/gauge/gauge2.js.map +1 -1
  73. package/dist/grid/cell/cell2.js +1 -1
  74. package/dist/grid/column/column2.js +1 -1
  75. package/dist/grid/footer/footer2.js +1 -1
  76. package/dist/grid/grid2.js +1 -1
  77. package/dist/grid/header/header2.js +1 -1
  78. package/dist/grid/placeholder/placeholder2.js +1 -1
  79. package/dist/grid/row/row2.js +1 -1
  80. package/dist/icon/icon2.js +2 -2
  81. package/dist/icon-button/icon-button2.js +1 -1
  82. package/dist/iframe/iframe2.js +1 -1
  83. package/dist/index.js +5 -6
  84. package/dist/input/input-group2.js +1 -1
  85. package/dist/input/input2.js +1 -1
  86. package/dist/internal/index.d.ts +1 -2
  87. package/dist/internal/index.js +150 -33
  88. package/dist/internal/index.js.map +1 -0
  89. package/dist/internal/types/index.d.ts +1 -1
  90. package/dist/internal/types/index.js.map +1 -1
  91. package/dist/joystick/define.d.ts +6 -0
  92. package/dist/joystick/define.js +7 -0
  93. package/dist/joystick/define.js.map +1 -0
  94. package/dist/joystick/index.d.ts +1 -0
  95. package/dist/joystick/index.js +2 -0
  96. package/dist/joystick/joystick.d.ts +126 -0
  97. package/dist/joystick/joystick.examples.js +6 -0
  98. package/dist/joystick/joystick.examples.js.map +1 -0
  99. package/dist/joystick/joystick.examples.json +107 -0
  100. package/dist/joystick/joystick.js +6 -0
  101. package/dist/joystick/joystick.js.map +1 -0
  102. package/dist/joystick/joystick2.js +347 -0
  103. package/dist/joystick/joystick2.js.map +1 -0
  104. package/dist/logo/logo2.js +1 -1
  105. package/dist/menu/menu-group2.js +1 -1
  106. package/dist/menu/menu-item2.js +1 -1
  107. package/dist/menu/menu2.js +1 -1
  108. package/dist/month/month.d.ts +2 -0
  109. package/dist/month/month2.js +7 -4
  110. package/dist/month/month2.js.map +1 -1
  111. package/dist/notification/notification-group2.js +1 -1
  112. package/dist/notification/notification2.js +38 -32
  113. package/dist/notification/notification2.js.map +1 -1
  114. package/dist/page/page-panel/page-panel-content2.js +1 -1
  115. package/dist/page/page-panel/page-panel-footer2.js +1 -1
  116. package/dist/page/page-panel/page-panel-header2.js +1 -1
  117. package/dist/page/page-panel/page-panel.d.ts +0 -7
  118. package/dist/page/page-panel/page-panel2.js +18 -20
  119. package/dist/page/page-panel/page-panel2.js.map +1 -1
  120. package/dist/page/page2.js +1 -1
  121. package/dist/page-header/page-header2.js +1 -1
  122. package/dist/page-loader/page-loader2.js +1 -1
  123. package/dist/pagination/pagination2.js +45 -38
  124. package/dist/pagination/pagination2.js.map +1 -1
  125. package/dist/panel/panel2.js +43 -38
  126. package/dist/panel/panel2.js.map +1 -1
  127. package/dist/password/password.d.ts +2 -0
  128. package/dist/password/password2.js +10 -4
  129. package/dist/password/password2.js.map +1 -1
  130. package/dist/preferences-input/preferences-input2.js +32 -27
  131. package/dist/preferences-input/preferences-input2.js.map +1 -1
  132. package/dist/progress-bar/progress-bar2.js +1 -1
  133. package/dist/progress-dot/progress-dot2.js +17 -17
  134. package/dist/progress-dot/progress-dot2.js.map +1 -1
  135. package/dist/progress-ring/progress-ring2.js +27 -22
  136. package/dist/progress-ring/progress-ring2.js.map +1 -1
  137. package/dist/progressive-filter-chip/progressive-filter-chip2.js +30 -30
  138. package/dist/progressive-filter-chip/progressive-filter-chip2.js.map +1 -1
  139. package/dist/pulse/pulse2.js +1 -1
  140. package/dist/radio/radio-group2.js +1 -1
  141. package/dist/radio/radio2.js +1 -1
  142. package/dist/range/range2.js +1 -1
  143. package/dist/resize-handle/resize-handle2.js +17 -17
  144. package/dist/resize-handle/resize-handle2.js.map +1 -1
  145. package/dist/search/search2.js +1 -1
  146. package/dist/select/select2.js +44 -41
  147. package/dist/select/select2.js.map +1 -1
  148. package/dist/skeleton/skeleton2.js +1 -1
  149. package/dist/sort-button/sort-button2.js +20 -20
  150. package/dist/sort-button/sort-button2.js.map +1 -1
  151. package/dist/sparkline/sparkline2.js +1 -1
  152. package/dist/star-rating/star-rating2.js +1 -1
  153. package/dist/steps/steps2.js +2 -2
  154. package/dist/switch/switch-group2.js +1 -1
  155. package/dist/switch/switch2.js +1 -1
  156. package/dist/tabs/tabs-group2.js +1 -1
  157. package/dist/tabs/tabs-item-group2.js +1 -1
  158. package/dist/tabs/tabs2.js +2 -2
  159. package/dist/tag/tag2.js +19 -19
  160. package/dist/tag/tag2.js.map +1 -1
  161. package/dist/textarea/textarea2.js +1 -1
  162. package/dist/time/time.d.ts +2 -0
  163. package/dist/time/time2.js +7 -4
  164. package/dist/time/time2.js.map +1 -1
  165. package/dist/toast/toast2.js +35 -29
  166. package/dist/toast/toast2.js.map +1 -1
  167. package/dist/toggletip/toggletip-footer2.js +1 -1
  168. package/dist/toggletip/toggletip-header2.js +1 -1
  169. package/dist/toggletip/toggletip2.js +25 -25
  170. package/dist/toggletip/toggletip2.js.map +1 -1
  171. package/dist/toolbar/toolbar2.js +1 -1
  172. package/dist/tooltip/tooltip2.js +1 -1
  173. package/dist/tree/tree-node2.js +45 -45
  174. package/dist/tree/tree-node2.js.map +1 -1
  175. package/dist/tree/tree2.js +1 -1
  176. package/dist/week/week.d.ts +2 -0
  177. package/dist/week/week2.js +7 -4
  178. package/dist/week/week2.js.map +1 -1
  179. package/package.json +14 -2
  180. package/dist/internal/controllers/i18n.controller.d.ts +0 -19
  181. package/dist/internal/controllers/i18n.controller.examples.js +0 -6
  182. package/dist/internal/controllers/i18n.controller.examples.js.map +0 -1
  183. package/dist/internal/controllers/i18n.controller.examples.json +0 -16
  184. package/dist/internal/controllers/i18n.controller.js +0 -38
  185. package/dist/internal/controllers/i18n.controller.js.map +0 -1
  186. package/dist/internal/services/i18n.service.d.ts +0 -64
  187. package/dist/internal/services/i18n.service.js +0 -73
  188. package/dist/internal/services/i18n.service.js.map +0 -1
@@ -343,11 +343,6 @@
343
343
  "name": "prominence",
344
344
  "description": "Determines the visual prominence or weight",
345
345
  "values": [{ "name": "emphasis" }]
346
- },
347
- {
348
- "name": "i18n",
349
- "description": "Enables updating internal string values for internationalization.",
350
- "values": []
351
346
  }
352
347
  ],
353
348
  "references": [
@@ -3255,6 +3250,123 @@
3255
3250
  }
3256
3251
  ]
3257
3252
  },
3253
+ {
3254
+ "name": "nve-joystick",
3255
+ "description": "A joystick selects a normalized two-axis vector with pointer or keyboard input.\nApplications own physical units, coordinate frames, input shaping, publishing cadence, recording clocks,\ncommand-outcome feedback, and alternative controls when needed.\n\nGive each joystick an accessible name with a label, aria-label, or aria-labelledby.\nEditable controls use the application role to receive two-axis keyboard input.\nThe default accessible description includes both normalized coordinates, keyboard instructions, and release behavior.\nA locked axis stays at zero; an absent value reads \"No position.\" Disabled and read-only controls omit instructions.\nCoordinates use up to six decimal places and the document language for number formatting.\nAn explicit aria-description or aria-describedby replaces the default focus description through standard ARIA precedence;\nit does not disable live announcements.\n---\n\n\n### **Events:**\n - **interaction-start** - Dispatched with the pointer or keyboard source after setting :state(active), including engagement at neutral.\n- **interaction-end** - Dispatched with the source and terminal reason after clearing :state(active). Interruption first sends any necessary neutral input. Reset restores the declared default without value events. Detached events cannot bubble to former ancestors.\n- **input** - Dispatched after user input changes the vector, including a return to neutral. Read .value for the current vector. A held position does not generate repeated events. Publish commands at an application-controlled cadence.\n- **change** - Dispatched after a normal interaction completes and produces input. Cancellation sends any necessary neutral input without change.\n\n### **Methods:**\n - **reset()** - Resets the control value to its initial value.\n- **reportValidity(): _boolean_** - Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity\n- **checkValidity(): _boolean_** - Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity\n- **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity\n\n### **CSS Properties:**\n - **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--background** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background) _(default: undefined)_\n- **--opacity** - Background opacity when the opacity flag is present. Defaults to 0.6. The border, crosshair, thumb, and focus indicator keep their opacity. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity) _(default: undefined)_\n- **--border** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border) _(default: undefined)_\n- **--thumb-width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--thumb-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--thumb-background** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background) _(default: undefined)_\n- **--thumb-border** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border) _(default: undefined)_",
3256
+ "attributes": [
3257
+ { "name": "tabindex", "values": [] },
3258
+ {
3259
+ "name": "value",
3260
+ "description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)",
3261
+ "values": []
3262
+ },
3263
+ {
3264
+ "name": "constraint",
3265
+ "description": "Constrains the movement region or selects one axis. Circle limits vector magnitude to one;\nsquare permits both axes at full scale and a magnitude of up to Math.SQRT2.\nWith equally scaled planar velocity axes, square corners allow about 41% greater speed.\nMixed forward-velocity and turning-rate axes have no common physical magnitude.\nChanging the constraint projects the current value silently and cancels an active interaction.",
3266
+ "values": [
3267
+ { "name": "circle" },
3268
+ { "name": "square" },
3269
+ { "name": "horizontal" },
3270
+ { "name": "vertical" }
3271
+ ]
3272
+ },
3273
+ {
3274
+ "name": "size",
3275
+ "description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
3276
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
3277
+ },
3278
+ {
3279
+ "name": "opacity",
3280
+ "description": "Enables background transparency using the --opacity CSS custom property.",
3281
+ "values": []
3282
+ },
3283
+ {
3284
+ "name": "release",
3285
+ "description": "Determines whether normal release returns to center or holds the final vector.\nInterrupted interactions return to neutral in either mode. Form reset restores the declared default instead.",
3286
+ "values": [{ "name": "center" }, { "name": "hold" }]
3287
+ },
3288
+ {
3289
+ "name": "keyboard-step",
3290
+ "description": "Sets the normalized increment for each arrow key press. Repeated presses continue adjusting;\nreleasing the final arrow applies the release behavior. Escape cancels the interaction.\nInvalid steps fall back to 0.1. Modifier shortcuts and locked-axis directions remain available to the browser.",
3291
+ "values": []
3292
+ },
3293
+ {
3294
+ "name": "announce",
3295
+ "description": "Controls automatic position announcements. Focused user input produces polite announcements at most every 500 ms.\nA quick tap in center mode reports the input coordinates and the return to center.\nEscape announces the resulting coordinates without a separate cancellation message.\nProgrammatic writes and read-only playback update the description without live announcements.\nSet off when the application supplies spoken output, the position description on focus remains available.",
3296
+ "values": [{ "name": "polite" }, { "name": "off" }]
3297
+ },
3298
+ {
3299
+ "name": "i18n",
3300
+ "description": "Enables updating internal string values for internationalization.",
3301
+ "values": []
3302
+ },
3303
+ {
3304
+ "name": "readonly",
3305
+ "description": "Prevents the user from changing the control value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly",
3306
+ "values": []
3307
+ },
3308
+ {
3309
+ "name": "disabled",
3310
+ "description": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)\n- `true` The element has a disabled state and does not accept interaction.\n\n- `false` The element has an enabled state and accepts interaction.",
3311
+ "values": []
3312
+ },
3313
+ {
3314
+ "name": "required",
3315
+ "description": "Requires a value before the parent form can submit.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required",
3316
+ "values": []
3317
+ },
3318
+ {
3319
+ "name": "pattern",
3320
+ "description": "Defines the pattern that text values must match.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern",
3321
+ "values": []
3322
+ },
3323
+ {
3324
+ "name": "min",
3325
+ "description": "Defines the minimum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min",
3326
+ "values": []
3327
+ },
3328
+ {
3329
+ "name": "max",
3330
+ "description": "Defines the maximum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max",
3331
+ "values": []
3332
+ },
3333
+ {
3334
+ "name": "step",
3335
+ "description": "Defines the value granularity for numeric inputs.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step",
3336
+ "values": []
3337
+ },
3338
+ {
3339
+ "name": "minlength",
3340
+ "description": "Defines the minimum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength",
3341
+ "values": []
3342
+ },
3343
+ {
3344
+ "name": "maxlength",
3345
+ "description": "Defines the maximum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength",
3346
+ "values": []
3347
+ },
3348
+ {
3349
+ "name": "name",
3350
+ "description": "The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name)",
3351
+ "values": []
3352
+ },
3353
+ {
3354
+ "name": "novalidate",
3355
+ "description": "Disables constraint validation for this control.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate",
3356
+ "values": []
3357
+ }
3358
+ ],
3359
+ "references": [
3360
+ {
3361
+ "name": "WAI-ARIA Reference",
3362
+ "url": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals"
3363
+ },
3364
+ {
3365
+ "name": "Documentation",
3366
+ "url": "https://nvidia.github.io/elements/docs/elements/joystick/"
3367
+ }
3368
+ ]
3369
+ },
3258
3370
  {
3259
3371
  "name": "nve-logo",
3260
3372
  "description": "A visual indicator for a brand or application.\n---\n\n\n### **Slots:**\n - _default_ - Text, an image, or other visual content representing the brand or application.\n\n### **CSS Properties:**\n - **--background** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background) _(default: undefined)_\n- **--gap** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/gap) _(default: undefined)_\n- **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_",
@@ -3718,11 +3830,6 @@
3718
3830
  "name": "size",
3719
3831
  "description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
3720
3832
  "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
3721
- },
3722
- {
3723
- "name": "i18n",
3724
- "description": "Enables updating internal string values for internationalization.",
3725
- "values": []
3726
3833
  }
3727
3834
  ],
3728
3835
  "references": [
@@ -1,6 +1,7 @@
1
1
  import type { ContainerElement } from '@nvidia-elements/core/internal';
2
2
  import { Control } from '@nvidia-elements/core/forms';
3
3
  import { IconButton } from '@nvidia-elements/core/icon-button';
4
+ import type { I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';
4
5
  /**
5
6
  * @element nve-date
6
7
  * @description A date picker is a control that enables users to choose a date value.
@@ -24,6 +25,7 @@ import { IconButton } from '@nvidia-elements/core/icon-button';
24
25
  * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
25
26
  */
26
27
  export declare class Date extends Control implements ContainerElement {
28
+ protected get i18nDefaults(): I18nDefaults;
27
29
  /**
28
30
  * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.
29
31
  * Use when embedding within another container such as a toolbar.
@@ -8,7 +8,10 @@ import o from "./date.js";
8
8
  import { html as s } from "lit";
9
9
  import { property as c } from "lit/decorators/property.js";
10
10
  //#region src/date/date.ts
11
- var l = class extends r {
11
+ var l = { expand: "expand" }, u = class extends r {
12
+ get i18nDefaults() {
13
+ return l;
14
+ }
12
15
  static {
13
16
  this.styles = t([
14
17
  ...r.styles,
@@ -19,7 +22,7 @@ var l = class extends r {
19
22
  static {
20
23
  this.metadata = {
21
24
  tag: "nve-date",
22
- version: "2.19.0"
25
+ version: "2.20.0"
23
26
  };
24
27
  }
25
28
  static {
@@ -32,8 +35,8 @@ var l = class extends r {
32
35
  n([c({
33
36
  type: String,
34
37
  reflect: !0
35
- })], l.prototype, "container", void 0), l = n([e()], l);
38
+ })], u.prototype, "container", void 0), u = n([e()], u);
36
39
  //#endregion
37
- export { l as Date };
40
+ export { u as Date };
38
41
 
39
42
  //# sourceMappingURL=date2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date2.js","names":[],"sources":["../../src/date/date.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { ContainerElement } from '@nvidia-elements/core/internal';\nimport { scopedRegistry, useStyles } from '@nvidia-elements/core/internal';\nimport { Control } from '@nvidia-elements/core/forms';\nimport { inputStyles } from '@nvidia-elements/core/input';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport styles from './date.css?inline';\n\n/**\n * @element nve-date\n * @description A date picker is a control that enables users to choose a date value.\n * @documentation https://nvidia.github.io/elements/docs/elements/date/\n * @since 0.3.0\n * @entrypoint \\@nvidia-elements/core/date\n * @cssprop --padding\n * @cssprop --font-size\n * @cssprop --height\n * @cssprop --background\n * @cssprop --color\n * @cssprop --border-radius\n * @cssprop --border\n * @cssprop --border-bottom\n * @cssprop --cursor\n * @cssprop --font-weight\n * @cssprop --width\n * @cssprop --max-width\n * @cssprop --min-width\n * @csspart icon-button - The calendar icon button element\n * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date\n */\n@scopedRegistry()\nexport class Date extends Control implements ContainerElement {\n /**\n * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.\n * Use when embedding within another container such as a toolbar.\n */\n @property({ type: String, reflect: true }) container?: 'flat';\n\n static styles = useStyles([...Control.styles, inputStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-date',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n protected get suffixContent() {\n return html`<nve-icon-button part=\"icon-button\" .ariaLabel=${this.i18n.expand} icon-name=\"calendar\" container=\"inline\" @click=${this.showPicker}></nve-icon-button>`;\n }\n}\n"],"mappings":";;;;;;;;;;AAmCO,IAAM,IAAN,cAAmB,EAAoC;;EAO5C,KAAA,SAAA,EAAU;GAAC,GAAG,EAAQ;GAAQ;GAAa;EAAM,CAAC;;;EAEvC,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAEA,IAAc,gBAAgB;EAC5B,OAAO,CAAI,mDAAkD,KAAK,KAAK,OAAO,oDAAkD,KAAK,WAAW;CAClJ;AACF;AAhBG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAN1C,IAAA,EAAA,CAAA,EAAe,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"date2.js","names":[],"sources":["../../src/date/date.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { ContainerElement } from '@nvidia-elements/core/internal';\nimport { scopedRegistry, useStyles } from '@nvidia-elements/core/internal';\nimport { Control } from '@nvidia-elements/core/forms';\nimport { inputStyles } from '@nvidia-elements/core/input';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport type { I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';\nimport styles from './date.css?inline';\n\nconst i18nDefaults = {\n expand: 'expand'\n} satisfies I18nDefaults;\n\n/**\n * @element nve-date\n * @description A date picker is a control that enables users to choose a date value.\n * @documentation https://nvidia.github.io/elements/docs/elements/date/\n * @since 0.3.0\n * @entrypoint \\@nvidia-elements/core/date\n * @cssprop --padding\n * @cssprop --font-size\n * @cssprop --height\n * @cssprop --background\n * @cssprop --color\n * @cssprop --border-radius\n * @cssprop --border\n * @cssprop --border-bottom\n * @cssprop --cursor\n * @cssprop --font-weight\n * @cssprop --width\n * @cssprop --max-width\n * @cssprop --min-width\n * @csspart icon-button - The calendar icon button element\n * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date\n */\n@scopedRegistry()\nexport class Date extends Control implements ContainerElement {\n protected override get i18nDefaults(): I18nDefaults {\n return i18nDefaults;\n }\n\n /**\n * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.\n * Use when embedding within another container such as a toolbar.\n */\n @property({ type: String, reflect: true }) container?: 'flat';\n\n static styles = useStyles([...Control.styles, inputStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-date',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n protected get suffixContent() {\n return html`<nve-icon-button part=\"icon-button\" .ariaLabel=${this.i18n.expand} icon-name=\"calendar\" container=\"inline\" @click=${this.showPicker}></nve-icon-button>`;\n }\n}\n"],"mappings":";;;;;;;;;;AAaA,IAAM,IAAe,EACnB,QAAQ,SACV,GAyBa,IAAN,cAAmB,EAAoC;CAC5D,IAAuB,eAA6B;EAClD,OAAO;CACT;;EAQgB,KAAA,SAAA,EAAU;GAAC,GAAG,EAAQ;GAAQ;GAAa;EAAM,CAAC;;;EAEvC,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAEA,IAAc,gBAAgB;EAC5B,OAAO,CAAI,mDAAkD,KAAK,KAAK,OAAO,oDAAkD,KAAK,WAAW;CAClJ;AACF;AAhBG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAV1C,IAAA,EAAA,CAAA,EAAe,CAAA,GAAA,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import type { ContainerElement } from '@nvidia-elements/core/internal';
2
2
  import { Control } from '@nvidia-elements/core/forms';
3
3
  import { IconButton } from '@nvidia-elements/core/icon-button';
4
+ import type { I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';
4
5
  /**
5
6
  * @element nve-datetime
6
7
  * @description A datetime picker is a control that enables users to choose a datetime value.
@@ -24,6 +25,7 @@ import { IconButton } from '@nvidia-elements/core/icon-button';
24
25
  * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local
25
26
  */
26
27
  export declare class Datetime extends Control implements ContainerElement {
28
+ protected get i18nDefaults(): I18nDefaults;
27
29
  /**
28
30
  * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.
29
31
  * Use when embedding within another container such as a toolbar.
@@ -8,7 +8,10 @@ import o from "./datetime.js";
8
8
  import { html as s } from "lit";
9
9
  import { property as c } from "lit/decorators/property.js";
10
10
  //#region src/datetime/datetime.ts
11
- var l = class extends r {
11
+ var l = { expand: "expand" }, u = class extends r {
12
+ get i18nDefaults() {
13
+ return l;
14
+ }
12
15
  static {
13
16
  this.styles = t([
14
17
  ...r.styles,
@@ -19,7 +22,7 @@ var l = class extends r {
19
22
  static {
20
23
  this.metadata = {
21
24
  tag: "nve-datetime",
22
- version: "2.19.0"
25
+ version: "2.20.0"
23
26
  };
24
27
  }
25
28
  static {
@@ -32,8 +35,8 @@ var l = class extends r {
32
35
  n([c({
33
36
  type: String,
34
37
  reflect: !0
35
- })], l.prototype, "container", void 0), l = n([e()], l);
38
+ })], u.prototype, "container", void 0), u = n([e()], u);
36
39
  //#endregion
37
- export { l as Datetime };
40
+ export { u as Datetime };
38
41
 
39
42
  //# sourceMappingURL=datetime2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"datetime2.js","names":[],"sources":["../../src/datetime/datetime.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { ContainerElement } from '@nvidia-elements/core/internal';\nimport { scopedRegistry, useStyles } from '@nvidia-elements/core/internal';\nimport { Control } from '@nvidia-elements/core/forms';\nimport { inputStyles } from '@nvidia-elements/core/input';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport styles from './datetime.css?inline';\n\n/**\n * @element nve-datetime\n * @description A datetime picker is a control that enables users to choose a datetime value.\n * @documentation https://nvidia.github.io/elements/docs/elements/datetime/\n * @since 0.3.0\n * @entrypoint \\@nvidia-elements/core/datetime\n * @cssprop --padding\n * @cssprop --font-size\n * @cssprop --height\n * @cssprop --background\n * @cssprop --color\n * @cssprop --border-radius\n * @cssprop --border\n * @cssprop --border-bottom\n * @cssprop --cursor\n * @cssprop --font-weight\n * @cssprop --width\n * @cssprop --max-width\n * @cssprop --min-width\n * @csspart icon-button - The calendar icon button element\n * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local\n */\n@scopedRegistry()\nexport class Datetime extends Control implements ContainerElement {\n /**\n * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.\n * Use when embedding within another container such as a toolbar.\n */\n @property({ type: String, reflect: true }) container?: 'flat';\n\n static styles = useStyles([...Control.styles, inputStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-datetime',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n protected get suffixContent() {\n return html`<nve-icon-button part=\"icon-button\" .ariaLabel=${this.i18n.expand} icon-name=\"calendar\" container=\"inline\" @click=${this.showPicker}></nve-icon-button>`;\n }\n}\n"],"mappings":";;;;;;;;;;AAmCO,IAAM,IAAN,cAAuB,EAAoC;;EAOhD,KAAA,SAAA,EAAU;GAAC,GAAG,EAAQ;GAAQ;GAAa;EAAM,CAAC;;;EAEvC,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAEA,IAAc,gBAAgB;EAC5B,OAAO,CAAI,mDAAkD,KAAK,KAAK,OAAO,oDAAkD,KAAK,WAAW;CAClJ;AACF;AAhBG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAN1C,IAAA,EAAA,CAAA,EAAe,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"datetime2.js","names":[],"sources":["../../src/datetime/datetime.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { ContainerElement } from '@nvidia-elements/core/internal';\nimport { scopedRegistry, useStyles } from '@nvidia-elements/core/internal';\nimport { Control } from '@nvidia-elements/core/forms';\nimport { inputStyles } from '@nvidia-elements/core/input';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport type { I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';\nimport styles from './datetime.css?inline';\n\nconst i18nDefaults = {\n expand: 'expand'\n} satisfies I18nDefaults;\n\n/**\n * @element nve-datetime\n * @description A datetime picker is a control that enables users to choose a datetime value.\n * @documentation https://nvidia.github.io/elements/docs/elements/datetime/\n * @since 0.3.0\n * @entrypoint \\@nvidia-elements/core/datetime\n * @cssprop --padding\n * @cssprop --font-size\n * @cssprop --height\n * @cssprop --background\n * @cssprop --color\n * @cssprop --border-radius\n * @cssprop --border\n * @cssprop --border-bottom\n * @cssprop --cursor\n * @cssprop --font-weight\n * @cssprop --width\n * @cssprop --max-width\n * @cssprop --min-width\n * @csspart icon-button - The calendar icon button element\n * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local\n */\n@scopedRegistry()\nexport class Datetime extends Control implements ContainerElement {\n protected override get i18nDefaults(): I18nDefaults {\n return i18nDefaults;\n }\n\n /**\n * Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.\n * Use when embedding within another container such as a toolbar.\n */\n @property({ type: String, reflect: true }) container?: 'flat';\n\n static styles = useStyles([...Control.styles, inputStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-datetime',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n protected get suffixContent() {\n return html`<nve-icon-button part=\"icon-button\" .ariaLabel=${this.i18n.expand} icon-name=\"calendar\" container=\"inline\" @click=${this.showPicker}></nve-icon-button>`;\n }\n}\n"],"mappings":";;;;;;;;;;AAaA,IAAM,IAAe,EACnB,QAAQ,SACV,GAyBa,IAAN,cAAuB,EAAoC;CAChE,IAAuB,eAA6B;EAClD,OAAO;CACT;;EAQgB,KAAA,SAAA,EAAU;GAAC,GAAG,EAAQ;GAAQ;GAAa;EAAM,CAAC;;;EAEvC,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAEA,IAAc,gBAAgB;EAC5B,OAAO,CAAI,mDAAkD,KAAK,KAAK,OAAO,oDAAkD,KAAK,WAAW;CAClJ;AACF;AAhBG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAV1C,IAAA,EAAA,CAAA,EAAe,CAAA,GAAA,CAAA"}
@@ -9,7 +9,7 @@ var i = class extends n {
9
9
  static {
10
10
  this.metadata = {
11
11
  tag: "nve-dialog-footer",
12
- version: "2.19.0",
12
+ version: "2.20.0",
13
13
  parents: ["nve-dialog"]
14
14
  };
15
15
  }
@@ -9,7 +9,7 @@ var i = class extends n {
9
9
  static {
10
10
  this.metadata = {
11
11
  tag: "nve-dialog-header",
12
- version: "2.19.0",
12
+ version: "2.20.0",
13
13
  parents: ["nve-dialog"]
14
14
  };
15
15
  }
@@ -1,21 +1,21 @@
1
1
  import { audit as e } from "../internal/controllers/audit.controller.js";
2
- import { I18nController as t } from "../internal/controllers/i18n.controller.js";
3
- import { appendRootNodeStyle as n } from "../internal/utils/dom.js";
4
- import { attachInternals as r } from "../internal/utils/a11y.js";
5
- import { TypeNativePopoverController as i } from "../internal/controllers/type-native-popover.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";
9
- import c from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/decorate.js";
10
- import { IconButton as l } from "../icon-button/icon-button2.js";
11
- import u from "./dialog.global.js";
12
- import d from "./dialog.js";
13
- import { LitElement as f, html as p } from "lit";
14
- import { property as m } from "lit/decorators/property.js";
2
+ import { appendRootNodeStyle as t } from "../internal/utils/dom.js";
3
+ import { attachInternals as n } from "../internal/utils/a11y.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";
8
+ import s from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/decorate.js";
9
+ import { IconButton as c } from "../icon-button/icon-button2.js";
10
+ import l from "./dialog.global.js";
11
+ import u from "./dialog.js";
12
+ import { LitElement as d, html as f } from "lit";
13
+ import { property as p } from "lit/decorators/property.js";
14
+ import { I18nController as m } from "@nvidia-elements/foundations/internal/i18n";
15
15
  //#region src/dialog/dialog.ts
16
- var h = class extends f {
16
+ var h = { close: "close" }, g = class extends d {
17
17
  constructor(...e) {
18
- super(...e), this.position = "center", this.alignment = "center", this.anchor = globalThis.document?.body, this.#e = new t(this), this.i18n = this.#e.i18n, this.typeNativePopoverController = new i(this);
18
+ super(...e), this.position = "center", this.alignment = "center", this.anchor = globalThis.document?.body, this.#e = new m(this, h), this.i18n = this.#e.i18n, this.typeNativePopoverController = new r(this);
19
19
  }
20
20
  #e;
21
21
  get popoverType() {
@@ -25,42 +25,42 @@ var h = class extends f {
25
25
  return this.closable ?? !1;
26
26
  }
27
27
  static {
28
- this.styles = o([s, d]);
28
+ this.styles = a([o, u]);
29
29
  }
30
30
  static {
31
31
  this.metadata = {
32
32
  tag: "nve-dialog",
33
- version: "2.19.0"
33
+ version: "2.20.0"
34
34
  };
35
35
  }
36
36
  static {
37
- this.elementDefinitions = { [l.metadata.tag]: l };
37
+ this.elementDefinitions = { [c.metadata.tag]: c };
38
38
  }
39
39
  render() {
40
- return p`<div internal-host part="_host"><div class="header">${this.closable ? p`<nve-icon-button part="close-button icon-button" exportparts="icon:icon-button-icon" size="sm" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}"></nve-icon-button>` : ""}<slot name="header"></slot></div><div class="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>`;
40
+ return f`<div internal-host part="_host"><div class="header">${this.closable ? f`<nve-icon-button part="close-button icon-button" exportparts="icon:icon-button-icon" size="sm" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}"></nve-icon-button>` : ""}<slot name="header"></slot></div><div class="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>`;
41
41
  }
42
42
  connectedCallback() {
43
- super.connectedCallback(), r(this), this._internals.role = "dialog", n(this, u);
43
+ super.connectedCallback(), n(this), this._internals.role = "dialog", t(this, l);
44
44
  }
45
45
  };
46
- c([m({
46
+ s([p({
47
47
  type: String,
48
48
  reflect: !0
49
- })], h.prototype, "position", void 0), c([m({
49
+ })], g.prototype, "position", void 0), s([p({
50
50
  type: String,
51
51
  reflect: !0
52
- })], h.prototype, "alignment", void 0), c([m({
52
+ })], g.prototype, "alignment", void 0), s([p({
53
53
  type: String,
54
54
  reflect: !0
55
- })], h.prototype, "size", void 0), c([m({ type: Boolean })], h.prototype, "closable", void 0), c([m({
55
+ })], g.prototype, "size", void 0), s([p({ type: Boolean })], g.prototype, "closable", void 0), s([p({
56
56
  type: Boolean,
57
57
  reflect: !0
58
- })], h.prototype, "modal", void 0), c([m({ type: String })], h.prototype, "anchor", void 0), c([m({ type: String })], h.prototype, "trigger", void 0), c([m({
58
+ })], g.prototype, "modal", void 0), s([p({ type: String })], g.prototype, "anchor", void 0), s([p({ type: String })], g.prototype, "trigger", void 0), s([p({
59
59
  type: Boolean,
60
60
  reflect: !0,
61
61
  attribute: "behavior-trigger"
62
- })], h.prototype, "behaviorTrigger", void 0), c([m({ type: Object })], h.prototype, "i18n", void 0), h = c([e({ excessiveInstanceLimit: 50 }), a()], h);
62
+ })], g.prototype, "behaviorTrigger", void 0), s([p({ type: Object })], g.prototype, "i18n", void 0), g = s([e({ excessiveInstanceLimit: 50 }), i()], g);
63
63
  //#endregion
64
- export { h as Dialog };
64
+ export { g as Dialog };
65
65
 
66
66
  //# sourceMappingURL=dialog2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog2.js","names":[],"sources":["../../src/dialog/dialog.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { PopoverAlign, PopoverPosition, PopoverType, Size } from '@nvidia-elements/core/internal';\nimport {\n audit,\n excessiveInstanceLimit,\n I18nController,\n popoverStyles,\n TypeNativePopoverController,\n useStyles,\n attachInternals,\n appendRootNodeStyle,\n scopedRegistry\n} from '@nvidia-elements/core/internal';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport globalStyles from './dialog.global.css?inline';\nimport styles from './dialog.css?inline';\n\n/**\n * @element nve-dialog\n * @description Dialog is a component that appears above main content. A modal dialog displays critical information that requires user attention and interrupts user flow.\n * @documentation https://nvidia.github.io/elements/docs/elements/dialog/\n * @since 0.6.0\n * @entrypoint \\@nvidia-elements/core/dialog\n * @event beforetoggle - Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event)\n * @event toggle - Dispatched on a popover element just after showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event)\n * @event open - Dispatched when the dialog opens.\n * @event close - Dispatched when the dialog closes.\n * @slot - Dialog body content displayed between the header and footer.\n * @cssprop --border\n * @cssprop --border-radius\n * @cssprop --background\n * @cssprop --color\n * @cssprop --padding\n * @cssprop --box-shadow\n * @cssprop --gap\n * @cssprop --max-width\n * @cssprop --min-height\n * @cssprop --max-height\n * @cssprop --animation-duration - Duration of dialog open/close animations\n * @csspart close-button - The inner template reference for the close button of the dialog.\n * @csspart icon-button - The icon button element\n * @aria https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/\n */\n@audit({ excessiveInstanceLimit })\n@scopedRegistry()\nexport class Dialog extends LitElement {\n /**\n * Sets the side position of the popover relative to the provided anchor element.\n * For dialog the anchor defaults to the document body.\n */\n @property({ type: String, reflect: true }) position: PopoverPosition = 'center';\n\n /**\n * Sets the alignment of the popover relative to the provided anchor element.\n * If an arrow exists the alignment will be relative to the arrow against the anchor.\n */\n @property({ type: String, reflect: true }) alignment: PopoverAlign = 'center';\n\n /**\n * Sets the max size of the dialog.\n */\n @property({ type: String, reflect: true }) size?: Size;\n\n /**\n * Determines if a close button should render within dialog. Non-closable\n * dialogs suit dialogs that require user confirmation steps.\n */\n @property({ type: Boolean }) closable: boolean;\n\n /**\n * Determines if a dialog should have a modal backdrop that visually overlays the UI.\n */\n @property({ type: Boolean, reflect: true }) modal: boolean;\n\n /**\n * (optional) By default the popover will automatically anchor itself relative to the trigger element.\n * Pass an optional custom anchor element as an idref string within the same render root or a HTMLElement DOM reference.\n */\n @property({ type: String }) anchor: string | HTMLElement = globalThis.document?.body;\n\n /**\n * @deprecated Use the popover API instead.\n * The trigger defines what element triggers an `open` interaction event.\n * A trigger can accept a idref string within the same render root or a HTMLElement DOM reference.\n */\n @property({ type: String }) trigger: string | HTMLElement;\n\n /**\n * @deprecated Use the popover API instead.\n * Determines if popover visibility behavior should be automatically controlled by the trigger.\n */\n @property({ type: Boolean, reflect: true, attribute: 'behavior-trigger' }) behaviorTrigger: boolean;\n\n #i18nController: I18nController<this> = new I18nController<this>(this);\n\n /**\n * Enables internal string values to update for internationalization.\n */\n @property({ type: Object }) i18n = this.#i18nController.i18n;\n\n /** @private */\n get popoverType(): PopoverType {\n return this.modal ? 'auto' : 'manual';\n }\n\n /** @private */\n get popoverDismissible() {\n return this.closable ?? false;\n }\n\n protected typeNativePopoverController = new TypeNativePopoverController<Dialog>(this);\n\n static styles = useStyles([popoverStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-dialog',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n /** @private */\n declare _internals: ElementInternals;\n\n render() {\n return html`\n <div internal-host part=\"_host\">\n <div class=\"header\">\n ${this.closable ? html`<nve-icon-button part=\"close-button icon-button\" exportparts=\"icon:icon-button-icon\" size=\"sm\" @click=${this.hidePopover} icon-name=\"cancel\" .ariaLabel=${this.i18n.close}></nve-icon-button>` : ''}\n <slot name=\"header\"></slot>\n </div>\n <div class=\"content\" part=\"_content\">\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </div>\n `;\n }\n\n connectedCallback() {\n super.connectedCallback();\n attachInternals(this);\n this._internals.role = 'dialog';\n appendRootNodeStyle(this, globalStyles);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAiDO,IAAM,IAAN,cAAqB,EAAW;;EAiEG,aA5D+B,KAAA,WAAA,UAMF,KAAA,YAAA,UAsBV,KAAA,SAAA,WAAW,UAAU,MAexC,KAAA,KAAA,IAAI,EAAqB,IAAI,GAKlC,KAAA,OAAA,KAAK,GAAgB,MAYhB,KAAA,8BAAA,IAAI,EAAoC,IAAI;;CAjBpF;CAQA,IAAI,cAA2B;EAC7B,OAAO,KAAK,QAAQ,SAAS;CAC/B;CAGA,IAAI,qBAAqB;EACvB,OAAO,KAAK,YAAY;CAC1B;;EAIgB,KAAA,SAAA,EAAU,CAAC,GAAe,CAAM,CAAC;;;EAEtB,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAKA,SAAS;EACP,OAAO,CAAI,uDAGL,KAAK,WAAW,CAAI,0GAAyG,KAAK,YAAY,mCAAiC,KAAK,KAAK,MAAM,wBAAuB,GAAG;CASjO;CAEA,oBAAoB;EAIlB,AAHA,MAAM,kBAAkB,GACxB,EAAgB,IAAI,GACpB,KAAK,WAAW,OAAO,UACvB,EAAoB,MAAM,CAAY;CACxC;AACF;AAjGG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,YAAA,KAAA,CAAA,GAMxC,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAKxC,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,QAAA,KAAA,CAAA,GAMxC,EAAA,CAAA,EAAS,EAAE,MAAM,QAAQ,CAAC,CAAA,GAAA,EAAA,WAAA,YAAA,KAAA,CAAA,GAK1B,EAAA,CAAA,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,SAAA,KAAA,CAAA,GAMzC,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,UAAA,KAAA,CAAA,GAOzB,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,WAAA,KAAA,CAAA,GAMzB,EAAA,CAAA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAmB,CAAC,CAAA,GAAA,EAAA,WAAA,mBAAA,KAAA,CAAA,GAOxE,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,QAAA,KAAA,CAAA,GAvD3B,IAAA,EAAA,CAAA,EAAM,EAAE,wBAAA,GAAuB,CAAC,GAChC,EAAe,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"dialog2.js","names":[],"sources":["../../src/dialog/dialog.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { PopoverAlign, PopoverPosition, PopoverType, Size } from '@nvidia-elements/core/internal';\nimport {\n audit,\n excessiveInstanceLimit,\n popoverStyles,\n TypeNativePopoverController,\n useStyles,\n attachInternals,\n appendRootNodeStyle,\n scopedRegistry\n} from '@nvidia-elements/core/internal';\nimport { I18nController, type I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';\nimport { IconButton } from '@nvidia-elements/core/icon-button';\nimport globalStyles from './dialog.global.css?inline';\nimport styles from './dialog.css?inline';\n\nconst i18nDefaults = {\n close: 'close'\n} satisfies I18nDefaults;\n\n/**\n * @element nve-dialog\n * @description Dialog is a component that appears above main content. A modal dialog displays critical information that requires user attention and interrupts user flow.\n * @documentation https://nvidia.github.io/elements/docs/elements/dialog/\n * @since 0.6.0\n * @entrypoint \\@nvidia-elements/core/dialog\n * @event beforetoggle - Dispatched on a popover just before showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event)\n * @event toggle - Dispatched on a popover element just after showing or hiding. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event)\n * @event open - Dispatched when the dialog opens.\n * @event close - Dispatched when the dialog closes.\n * @slot - Dialog body content displayed between the header and footer.\n * @cssprop --border\n * @cssprop --border-radius\n * @cssprop --background\n * @cssprop --color\n * @cssprop --padding\n * @cssprop --box-shadow\n * @cssprop --gap\n * @cssprop --max-width\n * @cssprop --min-height\n * @cssprop --max-height\n * @cssprop --animation-duration - Duration of dialog open/close animations\n * @csspart close-button - The inner template reference for the close button of the dialog.\n * @csspart icon-button - The icon button element\n * @aria https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/\n */\n@audit({ excessiveInstanceLimit })\n@scopedRegistry()\nexport class Dialog extends LitElement {\n /**\n * Sets the side position of the popover relative to the provided anchor element.\n * For dialog the anchor defaults to the document body.\n */\n @property({ type: String, reflect: true }) position: PopoverPosition = 'center';\n\n /**\n * Sets the alignment of the popover relative to the provided anchor element.\n * If an arrow exists the alignment will be relative to the arrow against the anchor.\n */\n @property({ type: String, reflect: true }) alignment: PopoverAlign = 'center';\n\n /**\n * Sets the max size of the dialog.\n */\n @property({ type: String, reflect: true }) size?: Size;\n\n /**\n * Determines if a close button should render within dialog. Non-closable\n * dialogs suit dialogs that require user confirmation steps.\n */\n @property({ type: Boolean }) closable: boolean;\n\n /**\n * Determines if a dialog should have a modal backdrop that visually overlays the UI.\n */\n @property({ type: Boolean, reflect: true }) modal: boolean;\n\n /**\n * (optional) By default the popover will automatically anchor itself relative to the trigger element.\n * Pass an optional custom anchor element as an idref string within the same render root or a HTMLElement DOM reference.\n */\n @property({ type: String }) anchor: string | HTMLElement = globalThis.document?.body;\n\n /**\n * @deprecated Use the popover API instead.\n * The trigger defines what element triggers an `open` interaction event.\n * A trigger can accept a idref string within the same render root or a HTMLElement DOM reference.\n */\n @property({ type: String }) trigger: string | HTMLElement;\n\n /**\n * @deprecated Use the popover API instead.\n * Determines if popover visibility behavior should be automatically controlled by the trigger.\n */\n @property({ type: Boolean, reflect: true, attribute: 'behavior-trigger' }) behaviorTrigger: boolean;\n\n #i18nController: I18nController<this> = new I18nController<this>(this, i18nDefaults);\n\n /**\n * Enables internal string values to update for internationalization.\n */\n @property({ type: Object }) i18n = this.#i18nController.i18n;\n\n /** @private */\n get popoverType(): PopoverType {\n return this.modal ? 'auto' : 'manual';\n }\n\n /** @private */\n get popoverDismissible() {\n return this.closable ?? false;\n }\n\n protected typeNativePopoverController = new TypeNativePopoverController<Dialog>(this);\n\n static styles = useStyles([popoverStyles, styles]);\n\n static readonly metadata = {\n tag: 'nve-dialog',\n version: '0.0.0'\n };\n\n static elementDefinitions = {\n [IconButton.metadata.tag]: IconButton\n };\n\n /** @private */\n declare _internals: ElementInternals;\n\n render() {\n return html`\n <div internal-host part=\"_host\">\n <div class=\"header\">\n ${this.closable ? html`<nve-icon-button part=\"close-button icon-button\" exportparts=\"icon:icon-button-icon\" size=\"sm\" @click=${this.hidePopover} icon-name=\"cancel\" .ariaLabel=${this.i18n.close}></nve-icon-button>` : ''}\n <slot name=\"header\"></slot>\n </div>\n <div class=\"content\" part=\"_content\">\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </div>\n `;\n }\n\n connectedCallback() {\n super.connectedCallback();\n attachInternals(this);\n this._internals.role = 'dialog';\n appendRootNodeStyle(this, globalStyles);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,IAAM,IAAe,EACnB,OAAO,QACT,GA8Ba,IAAN,cAAqB,EAAW;;EAiEG,aA5D+B,KAAA,WAAA,UAMF,KAAA,YAAA,UAsBV,KAAA,SAAA,WAAW,UAAU,MAexC,KAAA,KAAA,IAAI,EAAqB,MAAM,CAAY,GAKhD,KAAA,OAAA,KAAK,GAAgB,MAYhB,KAAA,8BAAA,IAAI,EAAoC,IAAI;;CAjBpF;CAQA,IAAI,cAA2B;EAC7B,OAAO,KAAK,QAAQ,SAAS;CAC/B;CAGA,IAAI,qBAAqB;EACvB,OAAO,KAAK,YAAY;CAC1B;;EAIgB,KAAA,SAAA,EAAU,CAAC,GAAe,CAAM,CAAC;;;EAEtB,KAAA,WAAA;GACzB,KAAK;GACL,SAAS;EACX;;;EAE4B,KAAA,qBAAA,GACzB,EAAW,SAAS,MAAM,EAC7B;;CAKA,SAAS;EACP,OAAO,CAAI,uDAGL,KAAK,WAAW,CAAI,0GAAyG,KAAK,YAAY,mCAAiC,KAAK,KAAK,MAAM,wBAAuB,GAAG;CASjO;CAEA,oBAAoB;EAIlB,AAHA,MAAM,kBAAkB,GACxB,EAAgB,IAAI,GACpB,KAAK,WAAW,OAAO,UACvB,EAAoB,MAAM,CAAY;CACxC;AACF;AAjGG,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,YAAA,KAAA,CAAA,GAMxC,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,GAKxC,EAAA,CAAA,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,QAAA,KAAA,CAAA,GAMxC,EAAA,CAAA,EAAS,EAAE,MAAM,QAAQ,CAAC,CAAA,GAAA,EAAA,WAAA,YAAA,KAAA,CAAA,GAK1B,EAAA,CAAA,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,SAAA,KAAA,CAAA,GAMzC,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,UAAA,KAAA,CAAA,GAOzB,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,WAAA,KAAA,CAAA,GAMzB,EAAA,CAAA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAmB,CAAC,CAAA,GAAA,EAAA,WAAA,mBAAA,KAAA,CAAA,GAOxE,EAAA,CAAA,EAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,EAAA,WAAA,QAAA,KAAA,CAAA,GAvD3B,IAAA,EAAA,CAAA,EAAM,EAAE,wBAAA,GAAuB,CAAC,GAChC,EAAe,CAAA,GAAA,CAAA"}
@@ -15,7 +15,7 @@ var s = class extends i {
15
15
  static {
16
16
  this.metadata = {
17
17
  tag: "nve-divider",
18
- version: "2.19.0"
18
+ version: "2.20.0"
19
19
  };
20
20
  }
21
21
  render() {
package/dist/dot/dot2.js CHANGED
@@ -16,7 +16,7 @@ var l = class extends o {
16
16
  static {
17
17
  this.metadata = {
18
18
  tag: "nve-dot",
19
- version: "2.19.0"
19
+ version: "2.20.0"
20
20
  };
21
21
  }
22
22
  render() {
@@ -13,7 +13,7 @@ var c = class extends s(a) {
13
13
  static {
14
14
  this.metadata = {
15
15
  tag: "nve-drag-handle",
16
- version: "2.19.0"
16
+ version: "2.20.0"
17
17
  };
18
18
  }
19
19
  static {
@@ -9,7 +9,7 @@ var i = class extends n {
9
9
  static {
10
10
  this.metadata = {
11
11
  tag: "nve-drawer-content",
12
- version: "2.19.0",
12
+ version: "2.20.0",
13
13
  parents: ["nve-drawer"]
14
14
  };
15
15
  }
@@ -9,7 +9,7 @@ var i = class extends n {
9
9
  static {
10
10
  this.metadata = {
11
11
  tag: "nve-drawer-footer",
12
- version: "2.19.0",
12
+ version: "2.20.0",
13
13
  parents: ["nve-drawer"]
14
14
  };
15
15
  }
@@ -9,7 +9,7 @@ var i = class extends n {
9
9
  static {
10
10
  this.metadata = {
11
11
  tag: "nve-drawer-header",
12
- version: "2.19.0",
12
+ version: "2.20.0",
13
13
  parents: ["nve-drawer"]
14
14
  };
15
15
  }
@@ -1,20 +1,20 @@
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 s from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/decorate.js";
9
- import { IconButton as c } from "../icon-button/icon-button2.js";
10
- import l from "./drawer.js";
11
- import { LitElement as u, html as d } from "lit";
12
- import { property as f } from "lit/decorators/property.js";
1
+ import { createGhostElement as e } from "../internal/utils/dom.js";
2
+ import { TypeNativePopoverController as t } from "../internal/controllers/type-native-popover.controller.js";
3
+ import { typeSSR as n } from "../internal/controllers/type-ssr.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 o from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/decorate.js";
8
+ import { IconButton as s } from "../icon-button/icon-button2.js";
9
+ import c from "./drawer.js";
10
+ import { LitElement as l, html as u } from "lit";
11
+ import { property as d } from "lit/decorators/property.js";
12
+ import { I18nController as f } from "@nvidia-elements/foundations/internal/i18n";
13
13
  //#region src/drawer/drawer.ts
14
- var p = class extends u {
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)));
14
+ var p = { close: "close" }, m = class extends l {
15
+ constructor(...n) {
16
+ super(...n), this.position = "left", this.anchor = globalThis.document?.body, this.#e = new f(this, p), this.i18n = this.#e.i18n, this.typeNativePopoverController = new t(this), this.#n = (t) => {
17
+ this.inline && (this.#t && t.newState === "closed" ? this.#t.remove() : (this.#t = e(this), this.after(this.#t)));
18
18
  };
19
19
  }
20
20
  #e;
@@ -25,19 +25,19 @@ var p = class extends u {
25
25
  return this.closable ?? !1;
26
26
  }
27
27
  static {
28
- this.styles = a([o, l]);
28
+ this.styles = i([a, c]);
29
29
  }
30
30
  static {
31
31
  this.metadata = {
32
32
  tag: "nve-drawer",
33
- version: "2.19.0"
33
+ version: "2.20.0"
34
34
  };
35
35
  }
36
36
  static {
37
- this.elementDefinitions = { [c.metadata.tag]: c };
37
+ this.elementDefinitions = { [s.metadata.tag]: s };
38
38
  }
39
39
  render() {
40
- return d`<div internal-host><div class="header"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .hidden="${!this.closable}" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}" container="flat"></nve-icon-button><slot name="header"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`;
40
+ return u`<div internal-host><div class="header"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .hidden="${!this.closable}" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}" container="flat"></nve-icon-button><slot name="header"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`;
41
41
  }
42
42
  #t;
43
43
  connectedCallback() {
@@ -48,24 +48,24 @@ var p = class extends u {
48
48
  }
49
49
  #n;
50
50
  };
51
- s([f({
51
+ o([d({
52
52
  type: String,
53
53
  reflect: !0
54
- })], p.prototype, "position", void 0), s([f({
54
+ })], m.prototype, "position", void 0), o([d({
55
55
  type: String,
56
56
  reflect: !0
57
- })], p.prototype, "size", void 0), s([f({ type: Boolean })], p.prototype, "closable", void 0), s([f({
57
+ })], m.prototype, "size", void 0), o([d({ type: Boolean })], m.prototype, "closable", void 0), o([d({
58
58
  type: Boolean,
59
59
  reflect: !0
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({
60
+ })], m.prototype, "modal", void 0), o([d({ type: String })], m.prototype, "anchor", void 0), o([d({ type: String })], m.prototype, "trigger", void 0), o([d({
61
61
  type: Boolean,
62
62
  reflect: !0
63
- })], p.prototype, "inline", void 0), s([f({
63
+ })], m.prototype, "inline", void 0), o([d({
64
64
  type: Boolean,
65
65
  reflect: !0,
66
66
  attribute: "behavior-trigger"
67
- })], p.prototype, "behaviorTrigger", void 0), s([f({ type: Object })], p.prototype, "i18n", void 0), p = s([r(), i()], p);
67
+ })], m.prototype, "behaviorTrigger", void 0), o([d({ type: Object })], m.prototype, "i18n", void 0), m = o([n(), r()], m);
68
68
  //#endregion
69
- export { p as Drawer };
69
+ export { m as Drawer };
70
70
 
71
71
  //# sourceMappingURL=drawer2.js.map