@db-ux/wc-core-components 4.5.0 → 4.5.1

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 (203) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/agent/.gitkeep +0 -0
  3. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
  4. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/db-badge.cjs.entry.js +2 -2
  6. package/dist/cjs/db-brand.cjs.entry.js +2 -2
  7. package/dist/cjs/db-button.cjs.entry.js +2 -2
  8. package/dist/cjs/db-card.cjs.entry.js +3 -3
  9. package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
  10. package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  13. package/dist/cjs/db-custom-select.cjs.entry.js +13 -9
  14. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  15. package/dist/cjs/db-drawer.cjs.entry.js +4 -4
  16. package/dist/cjs/db-header.cjs.entry.js +5 -5
  17. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  18. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  19. package/dist/cjs/db-link.cjs.entry.js +2 -2
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  21. package/dist/cjs/db-navigation.cjs.entry.js +3 -3
  22. package/dist/cjs/db-notification.cjs.entry.js +3 -3
  23. package/dist/cjs/db-page.cjs.entry.js +3 -3
  24. package/dist/cjs/db-popover.cjs.entry.js +4 -4
  25. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/db-section.cjs.entry.js +3 -3
  27. package/dist/cjs/db-select.cjs.entry.js +3 -3
  28. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  29. package/dist/cjs/db-switch.cjs.entry.js +3 -3
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
  31. package/dist/cjs/db-tabs.cjs.entry.js +3 -3
  32. package/dist/cjs/db-textarea.cjs.entry.js +3 -3
  33. package/dist/cjs/db-tooltip.cjs.entry.js +4 -4
  34. package/dist/cjs/db-ux.cjs.js +2 -2
  35. package/dist/cjs/{floating-components-pYaTeNhp.js → floating-components-DlstoCKH.js} +4 -0
  36. package/dist/cjs/{index-CSMPhlzz.js → index-D_vrmAD6.js} +22 -13
  37. package/dist/cjs/index.cjs.js +2 -2
  38. package/dist/cjs/loader.cjs.js +1 -1
  39. package/dist/cjs/{navigation-BztJmEHf.js → navigation-Bah882nU.js} +1 -1
  40. package/dist/collection/collection-manifest.json +2 -1
  41. package/dist/collection/components/accordion/accordion.js +1 -1
  42. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  43. package/dist/collection/components/badge/badge.js +1 -1
  44. package/dist/collection/components/brand/brand.js +1 -1
  45. package/dist/collection/components/button/button.js +1 -1
  46. package/dist/collection/components/card/card.js +2 -2
  47. package/dist/collection/components/checkbox/checkbox.js +2 -2
  48. package/dist/collection/components/custom-button/custom-button.js +2 -2
  49. package/dist/collection/components/custom-select/custom-select.js +11 -7
  50. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  51. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  52. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  53. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
  54. package/dist/collection/components/divider/divider.js +1 -1
  55. package/dist/collection/components/drawer/drawer.js +3 -3
  56. package/dist/collection/components/header/header.js +2 -2
  57. package/dist/collection/components/icon/icon.js +1 -1
  58. package/dist/collection/components/infotext/infotext.js +1 -1
  59. package/dist/collection/components/input/input.js +2 -2
  60. package/dist/collection/components/link/link.js +1 -1
  61. package/dist/collection/components/navigation/navigation.js +2 -2
  62. package/dist/collection/components/navigation-item/navigation-item.js +1 -1
  63. package/dist/collection/components/notification/notification.js +2 -2
  64. package/dist/collection/components/page/page.js +2 -2
  65. package/dist/collection/components/popover/popover.js +2 -2
  66. package/dist/collection/components/radio/radio.js +1 -1
  67. package/dist/collection/components/section/section.js +2 -2
  68. package/dist/collection/components/select/select.js +2 -2
  69. package/dist/collection/components/stack/stack.js +2 -2
  70. package/dist/collection/components/switch/switch.js +2 -2
  71. package/dist/collection/components/tab-item/tab-item.js +2 -2
  72. package/dist/collection/components/tab-list/tab-list.js +2 -2
  73. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  74. package/dist/collection/components/tabs/tabs.js +2 -2
  75. package/dist/collection/components/tag/tag.js +2 -2
  76. package/dist/collection/components/textarea/textarea.js +2 -2
  77. package/dist/collection/components/tooltip/tooltip.js +2 -2
  78. package/dist/collection/utils/floating-components.js +4 -0
  79. package/dist/custom-elements.json +814 -814
  80. package/dist/db-ux/db-ux.esm.js +1 -1
  81. package/dist/db-ux/index.esm.js +1 -1
  82. package/dist/db-ux/p-043c407c.entry.js +1 -0
  83. package/dist/db-ux/p-0541c3c2.entry.js +1 -0
  84. package/dist/db-ux/p-074e4a43.entry.js +1 -0
  85. package/dist/db-ux/{p-0ff173fb.entry.js → p-11251b99.entry.js} +1 -1
  86. package/dist/db-ux/{p-d2674cff.entry.js → p-1c89f0fc.entry.js} +1 -1
  87. package/dist/db-ux/p-213bfff6.entry.js +1 -0
  88. package/dist/db-ux/{p-4183b8e1.entry.js → p-29442fd9.entry.js} +1 -1
  89. package/dist/db-ux/p-2bce91e1.entry.js +1 -0
  90. package/dist/db-ux/{p-1519dbbb.entry.js → p-32c4a1b5.entry.js} +1 -1
  91. package/dist/db-ux/{p-e19f2640.entry.js → p-3e5be44c.entry.js} +1 -1
  92. package/dist/db-ux/p-4cda36f1.entry.js +1 -0
  93. package/dist/db-ux/p-4cf64cbb.entry.js +1 -0
  94. package/dist/db-ux/{p-cd8557dd.entry.js → p-5028b12e.entry.js} +1 -1
  95. package/dist/db-ux/p-56af9177.entry.js +1 -0
  96. package/dist/db-ux/{p-ea7219af.entry.js → p-587263ad.entry.js} +1 -1
  97. package/dist/db-ux/{p-ad3d2cff.entry.js → p-58f21c03.entry.js} +1 -1
  98. package/dist/db-ux/p-6b073570.entry.js +1 -0
  99. package/dist/db-ux/{p-7a146dee.entry.js → p-745ccfb8.entry.js} +1 -1
  100. package/dist/db-ux/p-836f0fef.entry.js +1 -0
  101. package/dist/db-ux/p-9a19e197.entry.js +1 -0
  102. package/dist/db-ux/{p-766057ea.entry.js → p-9fb146d1.entry.js} +1 -1
  103. package/dist/db-ux/p-BjIPMjCM.js +2 -0
  104. package/dist/db-ux/{p-cNk4ImpW.js → p-BuBrj57D.js} +1 -1
  105. package/dist/db-ux/p-DOPXnIzL.js +1 -0
  106. package/dist/db-ux/{p-c1cf7ea4.entry.js → p-a34d2691.entry.js} +1 -1
  107. package/dist/db-ux/{p-bfe27311.entry.js → p-c6f43506.entry.js} +1 -1
  108. package/dist/db-ux/{p-d4e79c33.entry.js → p-cdfaf027.entry.js} +1 -1
  109. package/dist/db-ux/p-d186aef4.entry.js +1 -0
  110. package/dist/db-ux/p-dceb35a8.entry.js +1 -0
  111. package/dist/db-ux/{p-7e274359.entry.js → p-e199b6f9.entry.js} +1 -1
  112. package/dist/db-ux/{p-e3def528.entry.js → p-e3664354.entry.js} +1 -1
  113. package/dist/db-ux/p-ef034bba.entry.js +1 -0
  114. package/dist/db-ux/p-f0bc176a.entry.js +1 -0
  115. package/dist/db-ux/{p-503d5103.entry.js → p-ff3866f3.entry.js} +1 -1
  116. package/dist/esm/db-accordion-item.entry.js +3 -3
  117. package/dist/esm/db-accordion.entry.js +2 -2
  118. package/dist/esm/db-badge.entry.js +2 -2
  119. package/dist/esm/db-brand.entry.js +2 -2
  120. package/dist/esm/db-button.entry.js +2 -2
  121. package/dist/esm/db-card.entry.js +3 -3
  122. package/dist/esm/db-checkbox.entry.js +3 -3
  123. package/dist/esm/db-custom-button.entry.js +3 -3
  124. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
  125. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  126. package/dist/esm/db-custom-select.entry.js +13 -9
  127. package/dist/esm/db-divider.entry.js +2 -2
  128. package/dist/esm/db-drawer.entry.js +4 -4
  129. package/dist/esm/db-header.entry.js +5 -5
  130. package/dist/esm/db-icon.entry.js +2 -2
  131. package/dist/esm/db-infotext.entry.js +2 -2
  132. package/dist/esm/db-link.entry.js +2 -2
  133. package/dist/esm/db-navigation-item.entry.js +4 -4
  134. package/dist/esm/db-navigation.entry.js +3 -3
  135. package/dist/esm/db-notification.entry.js +3 -3
  136. package/dist/esm/db-page.entry.js +3 -3
  137. package/dist/esm/db-popover.entry.js +4 -4
  138. package/dist/esm/db-radio.entry.js +2 -2
  139. package/dist/esm/db-section.entry.js +3 -3
  140. package/dist/esm/db-select.entry.js +3 -3
  141. package/dist/esm/db-stack.entry.js +3 -3
  142. package/dist/esm/db-switch.entry.js +3 -3
  143. package/dist/esm/db-tab-item_3.entry.js +7 -7
  144. package/dist/esm/db-tabs.entry.js +3 -3
  145. package/dist/esm/db-textarea.entry.js +3 -3
  146. package/dist/esm/db-tooltip.entry.js +4 -4
  147. package/dist/esm/db-ux.js +3 -3
  148. package/dist/esm/{floating-components-DfYL98sI.js → floating-components-DOPXnIzL.js} +4 -0
  149. package/dist/esm/{index-Bs7RfNRP.js → index-BjIPMjCM.js} +22 -13
  150. package/dist/esm/index.js +2 -2
  151. package/dist/esm/loader.js +2 -2
  152. package/dist/esm/{navigation-DgsMCdfn.js → navigation-Jh6m0eMk.js} +1 -1
  153. package/dist/vscode.html-custom-data.json +75 -75
  154. package/dist/web-types.json +131 -131
  155. package/package.json +4 -4
  156. package/agent/Accordion.md +0 -23
  157. package/agent/AccordionItem.md +0 -29
  158. package/agent/Badge.md +0 -32
  159. package/agent/Brand.md +0 -13
  160. package/agent/Button.md +0 -47
  161. package/agent/Card.md +0 -23
  162. package/agent/Checkbox.md +0 -41
  163. package/agent/CustomSelect.md +0 -54
  164. package/agent/Divider.md +0 -21
  165. package/agent/Drawer.md +0 -71
  166. package/agent/Header.md +0 -29
  167. package/agent/Icon.md +0 -20
  168. package/agent/Infotext.md +0 -25
  169. package/agent/Input.md +0 -48
  170. package/agent/Link.md +0 -52
  171. package/agent/Navigation.md +0 -19
  172. package/agent/NavigationItem.md +0 -29
  173. package/agent/Notification.md +0 -38
  174. package/agent/Page.md +0 -27
  175. package/agent/Popover.md +0 -52
  176. package/agent/Radio.md +0 -28
  177. package/agent/Section.md +0 -21
  178. package/agent/Select.md +0 -62
  179. package/agent/Stack.md +0 -35
  180. package/agent/Switch.md +0 -44
  181. package/agent/TabItem.md +0 -25
  182. package/agent/Tabs.md +0 -61
  183. package/agent/Tag.md +0 -41
  184. package/agent/Textarea.md +0 -44
  185. package/agent/Tooltip.md +0 -37
  186. package/agent/_instructions.md +0 -31
  187. package/dist/db-ux/p-00df7d53.entry.js +0 -1
  188. package/dist/db-ux/p-064ddad6.entry.js +0 -1
  189. package/dist/db-ux/p-16281dcb.entry.js +0 -1
  190. package/dist/db-ux/p-27eb6e88.entry.js +0 -1
  191. package/dist/db-ux/p-2898ebe6.entry.js +0 -1
  192. package/dist/db-ux/p-2e940d2e.entry.js +0 -1
  193. package/dist/db-ux/p-309259be.entry.js +0 -1
  194. package/dist/db-ux/p-4284c37f.entry.js +0 -1
  195. package/dist/db-ux/p-432ceb90.entry.js +0 -1
  196. package/dist/db-ux/p-6794144b.entry.js +0 -1
  197. package/dist/db-ux/p-6cb4232d.entry.js +0 -1
  198. package/dist/db-ux/p-6da70f61.entry.js +0 -1
  199. package/dist/db-ux/p-Bs7RfNRP.js +0 -2
  200. package/dist/db-ux/p-DfYL98sI.js +0 -1
  201. package/dist/db-ux/p-aad9c604.entry.js +0 -1
  202. package/dist/db-ux/p-b218b08b.entry.js +0 -1
  203. package/dist/db-ux/p-e6b17374.entry.js +0 -1
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BjIPMjCM.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, e as DEFAULT_SELECT_ID_SUFFIX, d as DEFAULT_LABEL_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, o as DEFAULT_SELECTED, k as DEFAULT_VALID_MESSAGE, c as DEFAULT_MESSAGE, s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, g as getBooleanAsString, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentClickListener } from './document-click-listener-D7W_VE5O.js';
5
5
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
6
- import { a as handleFixedDropdown } from './floating-components-DfYL98sI.js';
6
+ import { a as handleFixedDropdown } from './floating-components-DOPXnIzL.js';
7
7
  import { b as addResetEventListener } from './form-components-D6LQfJvq.js';
8
8
 
9
9
  const DBCustomSelect = class {
@@ -325,10 +325,14 @@ const DBCustomSelect = class {
325
325
  else if (this.detailsRef.open && event) {
326
326
  if (event.relatedTarget) {
327
327
  const relatedTarget = event.relatedTarget;
328
- if (!this.detailsRef.contains(relatedTarget)) {
328
+ // We close if the focus is on something like a <button> etc. which is not inside the <details> element
329
+ // Inside a <dialog> there is some focus problem because of the top-layer
330
+ // We do not want to focus <dialog> itself
331
+ if (!this.detailsRef.contains(relatedTarget) &&
332
+ relatedTarget.localName !== "dialog") {
329
333
  // We need to use delay here because the combination of `contains`
330
334
  // and changing the DOM element causes a race condition inside browser
331
- delay(() => (this.detailsRef.open = false), 1);
335
+ void delay(() => (this.detailsRef.open = false), 1);
332
336
  }
333
337
  }
334
338
  }
@@ -788,19 +792,19 @@ const DBCustomSelect = class {
788
792
  }
789
793
  render() {
790
794
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
791
- return (h("div", { key: 'b91607a57b2311a81c3087827207ddc78017e581', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
795
+ return (h("div", { key: '04344ea736f4311c09459970f6c743516c0a45ba', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
792
796
  this._ref = el;
793
797
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
794
798
  this.selectedType === "tag" &&
795
799
  this.multiple
796
800
  ? "above"
797
- : this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '1abe98ce69510bc1e71ced37cf8fc922d968fca0', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '534fcf99cb27580f11593299093aa75c9708601c', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
801
+ : this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'ed856ad29b0f840ebe37c8edf275267efc780f2c', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '093be2cd13041a45a95664e083125f5e4e8c2689', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
798
802
  this.selectRef = el;
799
803
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
800
804
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
801
- : null)), h("details", { key: '730b070010af8bf456e9dc23b0c63bce2cf87669', ref: (el) => {
805
+ : null)), h("details", { key: 'e0617c55fb94a72432719b485d922d87cca58d40', ref: (el) => {
802
806
  this.detailsRef = el;
803
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '8bac2e843b1c288af5b6bbe9272b4a72acaeb698' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option, index) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
807
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '4a4754177ce637816734d8e195d1d34b0e4a9707' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
804
808
  this.searchInputRef = el;
805
809
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
806
810
  ? this._infoTextId
@@ -810,7 +814,7 @@ const DBCustomSelect = class {
810
814
  this.selectAllRef = el;
811
815
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
812
816
  ? this.getOptionLabel(option)
813
- : null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '18799430248251a8e5549f2b28905e2e2e5b27cb', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '834d926c52ed5296c8956315b49a973da100ba98', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '02e9c61681ab8c13df57214ba7cdf3551eaeba4d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
817
+ : null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: 'ea3f5751609a4383f9d381cfbc7947a4b0192880', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'd8733256a74ba4876d4080a27798f01264d6472d', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '4ca046467d7da79ac48f0e1dddf2712ef2a93074', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
814
818
  }
815
819
  static get watchers() { return {
816
820
  "id": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBDivider = class {
@@ -46,7 +46,7 @@ const DBDivider = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("div", { key: '6085ef73845be698561795af1a69cee864b31b7d', class: cls("db-divider", this.className), ref: (el) => {
49
+ return (h("div", { key: '5773c14fcdd05f7e4b7b73af32c779133ac1b65b', class: cls("db-divider", this.className), ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
52
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -133,11 +133,11 @@ const DBDrawer = class {
133
133
  }
134
134
  render() {
135
135
  var _a, _b, _c;
136
- return (h("dialog", { key: '4a002d3faba35e33b0ad6f37eb4c1bc8e1fcbe13', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
136
+ return (h("dialog", { key: '5980a60cbe0d46868a4a65d853551a25159523f0', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
137
137
  this._ref = el;
138
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '644050fdd2392c907e6cc375ace9dcc4205f4b7f', class: cls("db-drawer-container", this.className), ref: (el) => {
138
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '305ff89261e63e2dbe0640fc9be97b330a4b94cf', class: cls("db-drawer-container", this.className), ref: (el) => {
139
139
  this.dialogContainerRef = el;
140
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'f4dc3a298eafc6c45d2bdf459c90a58faf856925', class: "db-drawer-header" }, h("div", { key: '21d808fe191e85f15f7c2a1512ad461199494c6e', class: "db-drawer-header-text" }, h("slot", { key: '4962256732612a5d5f629540916874189bc0f0e0', name: "drawerHeader" })), h("db-button", { key: '494015c896edb8b246f7c734d8906182043cfaf6', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: '00ffdb6c782d620e0ac6d7fdb41312c65c68b197', class: "db-drawer-content" }, h("slot", { key: 'edc0a393b10741fd41de513b3572b4ce7ce2cae3' })))));
140
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'fe07654ff3c238c6a0eb2f73ff5f8a035ff9232c', class: "db-drawer-header" }, h("div", { key: '56eff8cf0d755c027bf72e2319e7897ed3b4b51c', class: "db-drawer-header-text" }, h("slot", { key: 'ff8378e26a292c20991899764a927aadd5b35ac8', name: "drawerHeader" })), h("db-button", { key: '5300a384462ceb1ac7ac9272bed2ee34f426ccf2', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: '681bd3593f743539104398e0dbb6628abdd8ae2c', class: "db-drawer-content" }, h("slot", { key: 'ad9f204d5f0b6b44fec8bfc49f8aa361cbb155d7' })))));
141
141
  }
142
142
  static get watchers() { return {
143
143
  "open": [{
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
3
3
  import { a as addAttributeToChildren, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
4
- import { i as isEventTargetNavigationItem } from './navigation-DgsMCdfn.js';
5
- import './floating-components-DfYL98sI.js';
4
+ import { i as isEventTargetNavigationItem } from './navigation-Jh6m0eMk.js';
5
+ import './floating-components-DOPXnIzL.js';
6
6
 
7
7
  const DBHeader = class {
8
8
  constructor(hostRef) {
@@ -82,9 +82,9 @@ const DBHeader = class {
82
82
  }
83
83
  render() {
84
84
  var _a, _b, _c;
85
- return (h("header", { key: '472c3e72f6651ee5c09bc306cb46256782600379', class: cls("db-header", this.className), ref: (el) => {
85
+ return (h("header", { key: 'b5085e769fbc61e94b0ae0e1cca91db441efc1a5', class: cls("db-header", this.className), ref: (el) => {
86
86
  this._ref = el;
87
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'e43b6fe88c420aafcccbe10c1852b1ad8c640a67', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: 'cd1d184da10661cc41a32c7b26e352a01d62acb5', class: "db-header-drawer-navigation" }, h("div", { key: 'a7f992b669f4efdc58a05eef1d45d0b279eb652d', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '24fb78c5ba0eff9d594f8b41eb3bc986e7163276' })), h("div", { key: 'e509d62474a96831495428c5becb9fbf07b27b45', class: "db-header-meta-navigation" }, h("slot", { key: '65a8037fc817c20078f4e2e056268d40a973190a', name: "metaNavigation" }))), h("div", { key: 'ccb1c32adfcfcf8c94c1d9683e97140e99c7bc4b', class: "db-header-secondary-action" }, h("slot", { key: 'c1bd838bf97674d7537ad23d74b448f0e6f6b60b', name: "secondaryAction" }))), h("div", { key: '580b1e921589716809c6add27d0ebbd4577c36c5', class: "db-header-meta-navigation" }, h("slot", { key: '38264be6e940feb9b1d5f7c20133036af0db4467', name: "metaNavigation" })), h("div", { key: 'fab3ea7eb1b20b5626eb481e23eed33196e5391e', class: "db-header-navigation-bar" }, h("div", { key: '5c09d40a2d4db6fd3c04406d3f39f4e9a61f9c9c', class: "db-header-brand-container" }, h("slot", { key: '762b7e3669486369d0440af4774358c2be73aa6f', name: "brand" })), h("div", { key: 'a19ea0d8ce9d34a05a041fa489bf9586116296d0', class: "db-header-navigation-container" }, h("div", { key: '1bf7424bcbd9903f52bd55f1459481d73da47769', class: "db-header-navigation" }, h("slot", { key: '928dab58c49293b0ddc6014d491d839b07394832' })), h("div", { key: 'e470c62116f04772d3daac1c6088b69957fc8e22', class: "db-header-primary-action" }, h("slot", { key: '726b5e41a818a50bded6c79df27a697c132e1793', name: "primaryAction" }))), h("div", { key: 'c00bb939d06ab93e7f2979c13713841d48044cf9', class: "db-header-action-container" }, h("div", { key: '52444a5096ccda4b0bf62657aa6ac904ccb93720', class: "db-header-burger-menu-container" }, h("db-button", { key: '22ed7c031d16610ff0cb62badf90e8388867b296', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '9a6e595cf1d6d14357c8223e422517e0f3753e64', class: "db-header-secondary-action" }, h("slot", { key: 'ed8ac7dbd116208d0a1158335deacb64c7278de8', name: "secondaryAction" }))))));
87
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'a47facce9c8108126495c77d37a487cd34fe0ecb', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: 'cda6c2d0070ce377af2bd5ca4b77459a94350df5', class: "db-header-drawer-navigation" }, h("div", { key: '15713a6e12680039ca79f27ec4a1000b120af4fd', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: 'e553fe01864f6a23e12edb336ddfabae78ca4f74' })), h("div", { key: '73339268263f22638ce7e7cde00369f58a279d62', class: "db-header-meta-navigation" }, h("slot", { key: 'deffe76713c7ad062821f83a34ad1c0530acff6c', name: "metaNavigation" }))), h("div", { key: '42f61529aa00d9422cac6c8d5ae2588d0eb4760d', class: "db-header-secondary-action" }, h("slot", { key: '3273017c0520401367809b3e39e1d642b92bec50', name: "secondaryAction" }))), h("div", { key: '26b07d2244c291b78daa6dd2bc39ce2ee93d8674', class: "db-header-meta-navigation" }, h("slot", { key: '4adfd5ac044acbb161a26e9e033a1483991842c6', name: "metaNavigation" })), h("div", { key: '6a9709c60965315e7ecffb41ea4aac8caf986086', class: "db-header-navigation-bar" }, h("div", { key: '6eca84e588432ec968d4aed685d0dda4053b08a9', class: "db-header-brand-container" }, h("slot", { key: 'c034633ed87c6c554621e275b6d98d1d1628265c', name: "brand" })), h("div", { key: '04766e92142de2cd49a08711e7ad627b0cef14bd', class: "db-header-navigation-container" }, h("div", { key: 'fa4a5f6deab5edf3e1acf6e67d73ce06e638ae02', class: "db-header-navigation" }, h("slot", { key: '192fbdd2773ab46f2e4800d919a2ace97c9f5ef2' })), h("div", { key: '3bf503b08a862dbca679c198916da4be7228c528', class: "db-header-primary-action" }, h("slot", { key: '2ab7194da0568d92c85d47ecbf4e34aa4a734d00', name: "primaryAction" }))), h("div", { key: 'f45dbbf3346e8bf533a4af7c82e754fe0a679082', class: "db-header-action-container" }, h("div", { key: '7dfcd81988888a0595b94e15ba963abcfb1200ea', class: "db-header-burger-menu-container" }, h("db-button", { key: '52e71ba370d564b8739966643adf2ccce5e48bcb', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '54cf3d9d67d7be42f6b06227100abb337deb396d', class: "db-header-secondary-action" }, h("slot", { key: 'fc0a9946c1fd478c57e73f4c3b5b6ae0600101b8', name: "secondaryAction" }))))));
88
88
  }
89
89
  static get watchers() { return {
90
90
  "initialized": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBIcon = class {
@@ -46,7 +46,7 @@ const DBIcon = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("span", { key: '4e41afd86be65137a69847bb0c154e4af951581d', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
49
+ return (h("span", { key: '3bef98de9ca12c66f7cce8e11eaa5d895a8d6750', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : h("slot", null)));
52
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBInfotext = class {
@@ -46,7 +46,7 @@ const DBInfotext = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b, _c;
49
- return (h("span", { key: '8251add62131b09f6e32c20c50619c5e725e5b8e', class: cls("db-infotext", this.className), ref: (el) => {
49
+ return (h("span", { key: '49219bd5f07042ba66ee28e86aed0536e0f776eb', class: cls("db-infotext", this.className), ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : h("slot", null)));
52
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBLink = class {
@@ -46,7 +46,7 @@ const DBLink = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b, _c, _d;
49
- return (h("a", { key: '72f9513afa3d072f106c34e42b794a63b7930166', class: cls("db-link", this.className), ref: (el) => {
49
+ return (h("a", { key: '71c5ab28a592fe182048091df4ed2d34f4cafe96', class: cls("db-link", this.className), ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : h("slot", null)));
52
52
  }
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BjIPMjCM.js';
2
2
  import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, e as getBoolean, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
- import { N as NavigationItemSafeTriangle } from './navigation-DgsMCdfn.js';
5
- import './floating-components-DfYL98sI.js';
4
+ import { N as NavigationItemSafeTriangle } from './navigation-Jh6m0eMk.js';
5
+ import './floating-components-DOPXnIzL.js';
6
6
 
7
7
  const DBNavigationItem = class {
8
8
  constructor(hostRef) {
@@ -109,7 +109,7 @@ const DBNavigationItem = class {
109
109
  }
110
110
  render() {
111
111
  var _a, _b, _c;
112
- return (h("li", { key: '9e00c0e7d146b0e8472b0aa356846ae40f78b142', class: cls("db-navigation-item", this.className), ref: (el) => {
112
+ return (h("li", { key: 'dd524f6e6fa61adfb6d87591d1dbff6ba2e8f4fa', class: cls("db-navigation-item", this.className), ref: (el) => {
113
113
  this._ref = el;
114
114
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", "aria-haspopup": this.hasAreaPopup, "aria-expanded": this.isSubNavigationExpanded, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
115
115
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBNavigation = class {
@@ -46,9 +46,9 @@ const DBNavigation = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("nav", { key: '890635e7c9c420f33510667329902249f7abd8ec', class: cls("db-navigation", this.className), ref: (el) => {
49
+ return (h("nav", { key: 'd35a0452fce96ed3fa6d692c8022ea4e36802626', class: cls("db-navigation", this.className), ref: (el) => {
50
50
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '109ec2b85caaba110f70658cd7260a0b9e48f4ee' }, h("slot", { key: '0a5ba73ca5e1059eeaf339a1fec250c2e6a682e9' }))));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '2b1ad0fd739f64003078bbf18535666f83487d1f' }, h("slot", { key: '0c82a0f8e78ca1489efe693ec5ba973ada355c97' }))));
52
52
  }
53
53
  };
54
54
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { e as getBoolean, s as stringPropVisible, g as getBooleanAsString, p as getNotificationRole, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -56,13 +56,13 @@ const DBNotification = class {
56
56
  }
57
57
  render() {
58
58
  var _a, _b, _c;
59
- return (h("div", { key: 'ea7d2bd4cbb5c10ad84e69fc5edeceb3ba306664', class: cls("db-notification", this.className), ref: (el) => {
59
+ return (h("div", { key: 'b7789fad4794a93805eeec0cf2740b3f592f32fa', class: cls("db-notification", this.className), ref: (el) => {
60
60
  this._ref = el;
61
61
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
62
62
  semantic: this.semantic,
63
63
  role: this.role,
64
64
  ariaLive: this.ariaLive,
65
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'f360080fb6f0841ce53af3c124c590069a9a63a1', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '956e359ac2cca3054222856efb770fb3fa465fe9' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '834aba00e04c685c7f3524068c2f74daa3f3e75b', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
65
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'cdf91c6a6cd8dd519ab235046b9ab260007a370e', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: 'a93c1810e6a75cdd81660cb6e252ed7028c2a5f5' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '26cae9faba7d9f277413f38a59ea02c9b99eb8c5', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
66
66
  }
67
67
  };
68
68
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { c as cls, g as getBooleanAsString } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBPage = class {
@@ -63,9 +63,9 @@ const DBPage = class {
63
63
  }
64
64
  render() {
65
65
  var _a, _b;
66
- return (h("div", { key: 'c08b2ad9b8e77fb1f11664ee52dcbb1d09bd9481', class: cls("db-page", this.className), ref: (el) => {
66
+ return (h("div", { key: '3c52f5947a841db0fcfe81b09e37db5a59f04158', class: cls("db-page", this.className), ref: (el) => {
67
67
  this._ref = el;
68
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '86fa25b9544b850ffa82b6ddff06699992671b7d', name: "header" }), h("main", { key: '7f5c1cd1c87d9cbc5cd8d905098c92adaf8370ab', class: cls("db-main", this.mainClass) }, h("slot", { key: '07186f253bb25d9d56707074a6d1ebe03fb27554' })), h("slot", { key: '549079cb855687037a0f3b241d23784430419bd6', name: "footer" })));
68
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '9b5d03938d5e60f37d807b3acbeb76a1ecb24aab', name: "header" }), h("main", { key: '49b72ad7dab4cc675c1af0c684bf211affd3fa36', class: cls("db-main", this.mainClass) }, h("slot", { key: '63915bf376296bbfdd9e7f1c3f3e36331543d15c' })), h("slot", { key: 'e94f63187f9347a7377956b040d3c201aa008dd6', name: "footer" })));
69
69
  }
70
70
  };
71
71
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
4
- import { b as handleFixedPopover } from './floating-components-DfYL98sI.js';
4
+ import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
5
5
 
6
6
  const DBPopover = class {
7
7
  constructor(hostRef) {
@@ -168,9 +168,9 @@ const DBPopover = class {
168
168
  }
169
169
  render() {
170
170
  var _a, _b, _c;
171
- return (h("div", { key: 'aa9250091fc55d09bb5db9f6ca82af793999160c', class: cls("db-popover", this.className), ref: (el) => {
171
+ return (h("div", { key: 'a160c72e468d3f98cf94f76193b31dea016821f5', class: cls("db-popover", this.className), ref: (el) => {
172
172
  this._ref = el;
173
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'aab79e27b5ce47cb859342d448c4efc0933fc523', name: "trigger" }), h("article", { key: '4f8ba04305cf074b94d50c0c5121c89bd4251434', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '3ce3cca432122ee2b52d7df9cd0016d4c6b81da1' }))));
173
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'bb80f944827c1a2edb671ce3572546eabdac8fe3', name: "trigger" }), h("article", { key: '5286e4c7e53558e4bdff52ab3742acf0b854cb4a', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '09822daff7336bfe9541418bcd55a8809cdaab08' }))));
174
174
  }
175
175
  static get watchers() { return {
176
176
  "_ref": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { u as uuid, e as getBoolean, l as getHideProp, c as cls, d as delay } from './index-xkoBSP8R.js';
3
3
  import { b as addResetEventListener } from './form-components-D6LQfJvq.js';
4
4
 
@@ -125,7 +125,7 @@ const DBRadio = class {
125
125
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
126
126
  }
127
127
  render() {
128
- return (h("label", { key: '9c3f8305d05457c20250793e18a9d18c8c036f7c', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: 'f65b487ea3dcd26eb348d7b7e18461d29fc6e0af', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
128
+ return (h("label", { key: 'b77bbb3335c0b3f3813e11c7ac7228a84a40769a', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '4fe82a7b57a6dd06e556e26d50df574a541129f9', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
129
129
  this._ref = el;
130
130
  }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : h("slot", null)));
131
131
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBSection = class {
@@ -46,9 +46,9 @@ const DBSection = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("section", { key: '433827caeacf2a63ea928bd6178f66dad7112d6d', class: cls("db-section", this.className), ref: (el) => {
49
+ return (h("section", { key: 'd2cb50a43641ef50d901bd488c7d31911e0f5487', class: cls("db-section", this.className), ref: (el) => {
50
50
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'b815cad646a0d81b749b215a02299b290f765f09' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '90ce1533ea3392317c7e271ad6d2880d0434321e' })));
52
52
  }
53
53
  };
54
54
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BjIPMjCM.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, g as getBooleanAsString, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -236,14 +236,14 @@ const DBSelect = class {
236
236
  }
237
237
  render() {
238
238
  var _a, _b, _c, _d, _e;
239
- return (h("div", { key: '0e3ebb6a472cbd86ec971d96062c6779e11c9ff4', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '7d22cdb4c487037568a185719165efeaf4825b38', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '6a4e62ac9f68e9ec0cf8379b812b8868bf47beb0', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
239
+ return (h("div", { key: 'e083b3de98c929310348ef084f614b6115cc79cb', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'f2dab8efe5a3c299268da1f5c58d09752b6b8ca5', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '197c8e2861449bed151348411043d5acb9c7b57c', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
240
240
  this._ref = el;
241
241
  }, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
242
242
  /* @ts-ignore */
243
243
  value: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.map((option) => {
244
244
  var _a;
245
245
  return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
246
- })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '736b83b341e8161f463a3131fc6cb39f6c966fc7', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '1353c1a7cf3ae895b6108bc4800ab40ca808c596', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
246
+ })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '613305a3087d33f6ce2e9a90f6709897067f4355', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '6f3d17afd859cd7f58c64f7d030509478a7fb438', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
247
247
  }
248
248
  static get watchers() { return {
249
249
  "id": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBStack = class {
@@ -46,9 +46,9 @@ const DBStack = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("div", { key: '6927a665a08e7383c992d2b93d264a991e871969', class: cls("db-stack", this.className), ref: (el) => {
49
+ return (h("div", { key: 'e8a95918ab5412c03412b92adb3f2a2d5979d492', class: cls("db-stack", this.className), ref: (el) => {
50
50
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '0c5f39afc50167b38e39797c240f32a696d93adb' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: 'b95b19d6ff1a61f416eadfb14d9e19647e4f6cb4' })));
52
52
  }
53
53
  };
54
54
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, l as getHideProp, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { a as addCheckedResetEventListener } from './form-components-D6LQfJvq.js';
@@ -186,9 +186,9 @@ const DBSwitch = class {
186
186
  }
187
187
  render() {
188
188
  var _a, _b;
189
- return (h("div", { key: '5d55932625984fa62f0ee9d86f3d89f5b63f9072', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: '711ab3c882dbd490e19400ecf5d926f5bf80e95e', htmlFor: this._id }, h("input", { key: 'aa50031870b7ee76e1f1e6f9bd5dd14b9013de18', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
189
+ return (h("div", { key: '66c2badcfc403e68d44d93cd1a79d087b212bbd6', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: 'c22fc86dd012f6de327f861cca3c1b4ab4f3605d', htmlFor: this._id }, h("input", { key: '3d1532eee9a137f2a1db1ba1574856ecc61833d8', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
190
190
  this._ref = el;
191
- }, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '95f846f3de48f29bef0406c3c19d0314a2a0cfc6', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '297a64a0c5b5faf97a3f685ab78eea7145fe700e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
191
+ }, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'd24f80874212a9a9669d5731d9e5b6f4f3be6001', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'cb3420bd986f1398094fbac151d27a5c2f392d7d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
192
192
  }
193
193
  static get watchers() { return {
194
194
  "id": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBTabItem = class {
@@ -112,9 +112,9 @@ const DBTabItem = class {
112
112
  }
113
113
  render() {
114
114
  var _a, _b, _c, _d, _e, _f;
115
- return (h("li", { key: 'aa5a73d9a5f1482623ebdb8a79846b478ecf9fd1', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'b6148c23f64ffd2d9153db7e8e3d39a90f009da3', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: 'c7d167364eaa4f9cee156d9260553b14d60ffb13', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
115
+ return (h("li", { key: '0b8687c942d18b49bdf25249be3f0ae1ca727256', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'b9eaa4d53de58d78d7f968d18b021c9cfe013502', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: '81cf38a1a39e88fc85282e8b82d43768ce6f70a4', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
116
116
  this._ref = el;
117
- }, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: 'aab78a92118a8ea9b7ffcb446ead8211294a6e6c' }))));
117
+ }, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '89a4ba46af36e8dcc3bc53f87d17977c5827cd12' }))));
118
118
  }
119
119
  static get watchers() { return {
120
120
  "_ref": [{
@@ -177,9 +177,9 @@ const DBTabList = class {
177
177
  }
178
178
  render() {
179
179
  var _a, _b;
180
- return (h("div", { key: '9d2121250cb2a12971ea33774d8ff9e79117d18e', class: cls("db-tab-list", this.className), ref: (el) => {
180
+ return (h("div", { key: '8f02145864a04b79d94d5d5923b6eff32346a0c3', class: cls("db-tab-list", this.className), ref: (el) => {
181
181
  this._ref = el;
182
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'db93a3777f11ee39e15633b0b5ae501b0526d73d', role: "tablist" }, h("slot", { key: '14d45a6c1693c5c2bdb2d422397e6ddeb93bf5b3' }))));
182
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '759fdba6e69209ca915148c8b190f9311cb6f1ff', role: "tablist" }, h("slot", { key: '96bf4a10d3b422d6eb6be68c46f926b9f55eb0e6' }))));
183
183
  }
184
184
  };
185
185
 
@@ -228,9 +228,9 @@ const DBTabPanel = class {
228
228
  }
229
229
  render() {
230
230
  var _a, _b;
231
- return (h("section", { key: '3cae700e240af4818416120b8c85fc91839c7fa1', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
231
+ return (h("section", { key: 'c10873d5857be6ea8653189ab735784939c53474', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
232
232
  this._ref = el;
233
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '25595de165921a31119ffd785bd5c569c42fa557' })));
233
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '57a98a1b7e26ca61b16397b7615f71d883bfbd28' })));
234
234
  }
235
235
  };
236
236
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BjIPMjCM.js';
2
2
  import { u as uuid, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBTabs = class {
@@ -206,10 +206,10 @@ const DBTabs = class {
206
206
  }
207
207
  render() {
208
208
  var _a, _b, _c, _d, _e, _f;
209
- return (h("div", { key: '6d273b967668288248c3853be80261a877d3ae04', class: cls("db-tabs", this.className), ref: (el) => {
209
+ return (h("div", { key: '20d8d662866ff60717de87ad4deb98a3b647672a', class: cls("db-tabs", this.className), ref: (el) => {
210
210
  this._ref = el;
211
211
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
212
- _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '04f5d96f32695ae2661ace77827ee783eb0f23d0' })));
212
+ _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: 'f9803a647f9a01adc0b20eb6bdb999f38c3602af' })));
213
213
  }
214
214
  static get watchers() { return {
215
215
  "_ref": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BjIPMjCM.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, r as DEFAULT_ROWS, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, f as getNumber, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -201,10 +201,10 @@ const DBTextarea = class {
201
201
  }
202
202
  render() {
203
203
  var _a, _b, _c, _d, _e;
204
- return (h("div", { key: '393d0c53d9c4566418ac057d776c17b3f17c32aa', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: 'a899bcdffbffcdeef71bd1a62c4d0e3d5e4bbecc', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: 'e21b1f05254885af4ff600ad4ffeb691040074d1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
204
+ return (h("div", { key: 'acb23abfb477beeceebdf88503a51a6aa90e268e', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '03df1963dce7436d616df5f26c8fbff37243421f', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: 'b09e8a714ee44c18a2af738d90c6939309eb143c', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
205
205
  this._ref = el;
206
206
  }, id: this._id, "data-resize": this.resize, "data-hide-resizer": getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), readOnly: getBoolean(this.readOnly, "readOnly") ||
207
- getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '9067bf72dc0406d8fa9365d57f6289aabdccc507', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '85655aea65cece93bbc6fbc5d50b8849548a4365', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
207
+ getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'c62d3e639536d955cc454b43c289b0ad11e9d7b3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '430d5b39be9fa9eb29c7720f46be601fa1f25161', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
208
208
  }
209
209
  static get watchers() { return {
210
210
  "id": [{
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h } from './index-Bs7RfNRP.js';
1
+ import { r as registerInstance, h } from './index-BjIPMjCM.js';
2
2
  import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
5
- import { b as handleFixedPopover } from './floating-components-DfYL98sI.js';
5
+ import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
6
6
 
7
7
  const DBTooltip = class {
8
8
  constructor(hostRef) {
@@ -156,9 +156,9 @@ const DBTooltip = class {
156
156
  }
157
157
  render() {
158
158
  var _a, _b;
159
- return (h("i", { key: '3340b8840c8d749852c69311cf4a28d5bc4c9252', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
159
+ return (h("i", { key: 'df7b27f485e4029f51329dd73e50603f6965efb8', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
160
160
  this._ref = el;
161
- }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: 'b20207e24fe5999249505cb8a5543ae853425ae2' })));
161
+ }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: '7c1aee92a530f8b0899231f55122f6109c72bc46' })));
162
162
  }
163
163
  static get watchers() { return {
164
164
  "id": [{
package/dist/esm/db-ux.js CHANGED
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-Bs7RfNRP.js';
2
- export { s as setNonce } from './index-Bs7RfNRP.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-BjIPMjCM.js';
2
+ export { s as setNonce } from './index-BjIPMjCM.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.43.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.43.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {