@db-ux/wc-core-components 4.5.0 → 4.5.2-0-eff2227

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 (169) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
  3. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/db-badge.cjs.entry.js +2 -2
  5. package/dist/cjs/db-brand.cjs.entry.js +2 -2
  6. package/dist/cjs/db-button.cjs.entry.js +2 -2
  7. package/dist/cjs/db-card.cjs.entry.js +3 -3
  8. package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
  9. package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
  10. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
  11. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  12. package/dist/cjs/db-custom-select.cjs.entry.js +13 -9
  13. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  14. package/dist/cjs/db-drawer.cjs.entry.js +4 -4
  15. package/dist/cjs/db-header.cjs.entry.js +5 -5
  16. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  18. package/dist/cjs/db-link.cjs.entry.js +2 -2
  19. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  20. package/dist/cjs/db-navigation.cjs.entry.js +3 -3
  21. package/dist/cjs/db-notification.cjs.entry.js +3 -3
  22. package/dist/cjs/db-page.cjs.entry.js +3 -3
  23. package/dist/cjs/db-popover.cjs.entry.js +4 -4
  24. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/db-section.cjs.entry.js +3 -3
  26. package/dist/cjs/db-select.cjs.entry.js +3 -3
  27. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  28. package/dist/cjs/db-switch.cjs.entry.js +3 -3
  29. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
  30. package/dist/cjs/db-tabs.cjs.entry.js +3 -3
  31. package/dist/cjs/db-textarea.cjs.entry.js +3 -3
  32. package/dist/cjs/db-tooltip.cjs.entry.js +4 -4
  33. package/dist/cjs/db-ux.cjs.js +2 -2
  34. package/dist/cjs/{floating-components-pYaTeNhp.js → floating-components-DlstoCKH.js} +4 -0
  35. package/dist/cjs/{index-CSMPhlzz.js → index-D_vrmAD6.js} +22 -13
  36. package/dist/cjs/index.cjs.js +2 -2
  37. package/dist/cjs/loader.cjs.js +1 -1
  38. package/dist/cjs/{navigation-BztJmEHf.js → navigation-Bah882nU.js} +1 -1
  39. package/dist/collection/collection-manifest.json +2 -1
  40. package/dist/collection/components/accordion/accordion.js +1 -1
  41. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  42. package/dist/collection/components/badge/badge.js +1 -1
  43. package/dist/collection/components/brand/brand.js +1 -1
  44. package/dist/collection/components/button/button.js +1 -1
  45. package/dist/collection/components/card/card.js +2 -2
  46. package/dist/collection/components/checkbox/checkbox.js +2 -2
  47. package/dist/collection/components/custom-button/custom-button.js +2 -2
  48. package/dist/collection/components/custom-select/custom-select.js +11 -7
  49. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  50. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  51. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  52. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
  53. package/dist/collection/components/divider/divider.js +1 -1
  54. package/dist/collection/components/drawer/drawer.js +3 -3
  55. package/dist/collection/components/header/header.js +2 -2
  56. package/dist/collection/components/icon/icon.js +1 -1
  57. package/dist/collection/components/infotext/infotext.js +1 -1
  58. package/dist/collection/components/input/input.js +2 -2
  59. package/dist/collection/components/link/link.js +1 -1
  60. package/dist/collection/components/navigation/navigation.js +2 -2
  61. package/dist/collection/components/navigation-item/navigation-item.js +1 -1
  62. package/dist/collection/components/notification/notification.js +2 -2
  63. package/dist/collection/components/page/page.js +2 -2
  64. package/dist/collection/components/popover/popover.js +2 -2
  65. package/dist/collection/components/radio/radio.js +1 -1
  66. package/dist/collection/components/section/section.js +2 -2
  67. package/dist/collection/components/select/select.js +2 -2
  68. package/dist/collection/components/stack/stack.js +2 -2
  69. package/dist/collection/components/switch/switch.js +2 -2
  70. package/dist/collection/components/tab-item/tab-item.js +2 -2
  71. package/dist/collection/components/tab-list/tab-list.js +2 -2
  72. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  73. package/dist/collection/components/tabs/tabs.js +2 -2
  74. package/dist/collection/components/tag/tag.js +2 -2
  75. package/dist/collection/components/textarea/textarea.js +2 -2
  76. package/dist/collection/components/tooltip/tooltip.js +2 -2
  77. package/dist/collection/utils/floating-components.js +4 -0
  78. package/dist/db-ux/db-ux.esm.js +1 -1
  79. package/dist/db-ux/index.esm.js +1 -1
  80. package/dist/db-ux/p-043c407c.entry.js +1 -0
  81. package/dist/db-ux/p-0541c3c2.entry.js +1 -0
  82. package/dist/db-ux/p-074e4a43.entry.js +1 -0
  83. package/dist/db-ux/{p-0ff173fb.entry.js → p-11251b99.entry.js} +1 -1
  84. package/dist/db-ux/{p-d2674cff.entry.js → p-1c89f0fc.entry.js} +1 -1
  85. package/dist/db-ux/p-213bfff6.entry.js +1 -0
  86. package/dist/db-ux/{p-4183b8e1.entry.js → p-29442fd9.entry.js} +1 -1
  87. package/dist/db-ux/p-2bce91e1.entry.js +1 -0
  88. package/dist/db-ux/{p-1519dbbb.entry.js → p-32c4a1b5.entry.js} +1 -1
  89. package/dist/db-ux/{p-e19f2640.entry.js → p-3e5be44c.entry.js} +1 -1
  90. package/dist/db-ux/p-4cda36f1.entry.js +1 -0
  91. package/dist/db-ux/p-4cf64cbb.entry.js +1 -0
  92. package/dist/db-ux/{p-cd8557dd.entry.js → p-5028b12e.entry.js} +1 -1
  93. package/dist/db-ux/p-56af9177.entry.js +1 -0
  94. package/dist/db-ux/{p-ea7219af.entry.js → p-587263ad.entry.js} +1 -1
  95. package/dist/db-ux/{p-ad3d2cff.entry.js → p-58f21c03.entry.js} +1 -1
  96. package/dist/db-ux/p-6b073570.entry.js +1 -0
  97. package/dist/db-ux/{p-7a146dee.entry.js → p-745ccfb8.entry.js} +1 -1
  98. package/dist/db-ux/p-836f0fef.entry.js +1 -0
  99. package/dist/db-ux/p-9a19e197.entry.js +1 -0
  100. package/dist/db-ux/{p-766057ea.entry.js → p-9fb146d1.entry.js} +1 -1
  101. package/dist/db-ux/p-BjIPMjCM.js +2 -0
  102. package/dist/db-ux/{p-cNk4ImpW.js → p-BuBrj57D.js} +1 -1
  103. package/dist/db-ux/p-DOPXnIzL.js +1 -0
  104. package/dist/db-ux/{p-c1cf7ea4.entry.js → p-a34d2691.entry.js} +1 -1
  105. package/dist/db-ux/{p-bfe27311.entry.js → p-c6f43506.entry.js} +1 -1
  106. package/dist/db-ux/{p-d4e79c33.entry.js → p-cdfaf027.entry.js} +1 -1
  107. package/dist/db-ux/p-d186aef4.entry.js +1 -0
  108. package/dist/db-ux/p-dceb35a8.entry.js +1 -0
  109. package/dist/db-ux/{p-7e274359.entry.js → p-e199b6f9.entry.js} +1 -1
  110. package/dist/db-ux/{p-e3def528.entry.js → p-e3664354.entry.js} +1 -1
  111. package/dist/db-ux/p-ef034bba.entry.js +1 -0
  112. package/dist/db-ux/p-f0bc176a.entry.js +1 -0
  113. package/dist/db-ux/{p-503d5103.entry.js → p-ff3866f3.entry.js} +1 -1
  114. package/dist/esm/db-accordion-item.entry.js +3 -3
  115. package/dist/esm/db-accordion.entry.js +2 -2
  116. package/dist/esm/db-badge.entry.js +2 -2
  117. package/dist/esm/db-brand.entry.js +2 -2
  118. package/dist/esm/db-button.entry.js +2 -2
  119. package/dist/esm/db-card.entry.js +3 -3
  120. package/dist/esm/db-checkbox.entry.js +3 -3
  121. package/dist/esm/db-custom-button.entry.js +3 -3
  122. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
  123. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  124. package/dist/esm/db-custom-select.entry.js +13 -9
  125. package/dist/esm/db-divider.entry.js +2 -2
  126. package/dist/esm/db-drawer.entry.js +4 -4
  127. package/dist/esm/db-header.entry.js +5 -5
  128. package/dist/esm/db-icon.entry.js +2 -2
  129. package/dist/esm/db-infotext.entry.js +2 -2
  130. package/dist/esm/db-link.entry.js +2 -2
  131. package/dist/esm/db-navigation-item.entry.js +4 -4
  132. package/dist/esm/db-navigation.entry.js +3 -3
  133. package/dist/esm/db-notification.entry.js +3 -3
  134. package/dist/esm/db-page.entry.js +3 -3
  135. package/dist/esm/db-popover.entry.js +4 -4
  136. package/dist/esm/db-radio.entry.js +2 -2
  137. package/dist/esm/db-section.entry.js +3 -3
  138. package/dist/esm/db-select.entry.js +3 -3
  139. package/dist/esm/db-stack.entry.js +3 -3
  140. package/dist/esm/db-switch.entry.js +3 -3
  141. package/dist/esm/db-tab-item_3.entry.js +7 -7
  142. package/dist/esm/db-tabs.entry.js +3 -3
  143. package/dist/esm/db-textarea.entry.js +3 -3
  144. package/dist/esm/db-tooltip.entry.js +4 -4
  145. package/dist/esm/db-ux.js +3 -3
  146. package/dist/esm/{floating-components-DfYL98sI.js → floating-components-DOPXnIzL.js} +4 -0
  147. package/dist/esm/{index-Bs7RfNRP.js → index-BjIPMjCM.js} +22 -13
  148. package/dist/esm/index.js +2 -2
  149. package/dist/esm/loader.js +2 -2
  150. package/dist/esm/{navigation-DgsMCdfn.js → navigation-Jh6m0eMk.js} +1 -1
  151. package/dist/web-types.json +1 -1
  152. package/package.json +4 -4
  153. package/dist/db-ux/p-00df7d53.entry.js +0 -1
  154. package/dist/db-ux/p-064ddad6.entry.js +0 -1
  155. package/dist/db-ux/p-16281dcb.entry.js +0 -1
  156. package/dist/db-ux/p-27eb6e88.entry.js +0 -1
  157. package/dist/db-ux/p-2898ebe6.entry.js +0 -1
  158. package/dist/db-ux/p-2e940d2e.entry.js +0 -1
  159. package/dist/db-ux/p-309259be.entry.js +0 -1
  160. package/dist/db-ux/p-4284c37f.entry.js +0 -1
  161. package/dist/db-ux/p-432ceb90.entry.js +0 -1
  162. package/dist/db-ux/p-6794144b.entry.js +0 -1
  163. package/dist/db-ux/p-6cb4232d.entry.js +0 -1
  164. package/dist/db-ux/p-6da70f61.entry.js +0 -1
  165. package/dist/db-ux/p-Bs7RfNRP.js +0 -2
  166. package/dist/db-ux/p-DfYL98sI.js +0 -1
  167. package/dist/db-ux/p-aad9c604.entry.js +0 -1
  168. package/dist/db-ux/p-b218b08b.entry.js +0 -1
  169. package/dist/db-ux/p-e6b17374.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @db-ux/wc-core-components
2
2
 
3
+ ## 4.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: issue with DBButton `noText` and `width="full"` not having fixed size - [see commit bc81b40](https://github.com/db-ux-design-system/core-web/commit/bc81b402660871d706b1bf8d3fbac6713a7c9670)
8
+
9
+ - fix: issue with hover state when using DBPopover/Tooltip with animation - [see commit bc4801b](https://github.com/db-ux-design-system/core-web/commit/bc4801bf0b32d5dc4fd8e29626a6122e34fb6ada)
10
+
11
+ - fix: Add null guard in `floating-components.ts` to prevent errors when `element` or `parent` is `null` inside tests. - [see commit ac50f97](https://github.com/db-ux-design-system/core-web/commit/ac50f97fa503ef4f62d37f316f3b5da0f6d7742e)
12
+
13
+ - fix: issue with DBCustomSelect inside DBDrawer (or other `<dialog>` based) components, which has a problem with top-layer and focus - [see commit 6547ada](https://github.com/db-ux-design-system/core-web/commit/6547ada44844cbed1b8207db742a5119edb945f6)
14
+
15
+ - fix(`input type="date"`): wrong padding and color for successful and critical state - [see commit 4f3db42](https://github.com/db-ux-design-system/core-web/commit/4f3db4262a652ac8d6353bd1a0a92a4a62b6ff86)
16
+
3
17
  ## 4.5.0
4
18
 
5
19
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBAccordionItem = class {
@@ -91,9 +91,9 @@ const DBAccordionItem = class {
91
91
  }
92
92
  render() {
93
93
  var _a, _b;
94
- return (index.h("li", { key: 'd326ba8af9e635f673d1016cd16ef9a9a8b1503c', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '6f15470fcdaf103df318c251e941fed9fd79c4ee', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
94
+ return (index.h("li", { key: '3f7c64593e783768fdfc575b020a6252c5e68393', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '6b6e78645d2cdbc59415abedb59c761df5b7af59', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
95
95
  this._ref = el;
96
- }, name: this._name, open: this._open }, index.h("summary", { key: 'db41f2b1f85dfdecf9ab37b35b04efb2e83d69af', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '00a6fed4fdb26de2c998d991a6dfaee6caa3ca92' }, this.text ? this.text : index.h("slot", null)))));
96
+ }, name: this._name, open: this._open }, index.h("summary", { key: 'bedf3e8a9555637cf990886e14e1f78d81c8a733', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '1679dbd607f9f63af890b1e402e38cb9aa2929af' }, this.text ? this.text : index.h("slot", null)))));
97
97
  }
98
98
  static get watchers() { return {
99
99
  "_ref": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBAccordion = class {
@@ -130,7 +130,7 @@ const DBAccordion = class {
130
130
  }
131
131
  render() {
132
132
  var _a, _b, _c;
133
- return (index.h("ul", { key: 'ea919e6fa79f820a40ece5ee3305dad84f113d1d', class: index$1.cls("db-accordion", this.className), ref: (el) => {
133
+ return (index.h("ul", { key: 'edef9c59c72278c614826ba8a7b67699080a078a', class: index$1.cls("db-accordion", this.className), ref: (el) => {
134
134
  this._ref = el;
135
135
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
136
136
  ? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index$1) => (index.h("db-accordion-item", { key: `accordion-item-${index$1}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -70,7 +70,7 @@ const DBBadge = class {
70
70
  }
71
71
  render() {
72
72
  var _a, _b, _c, _d;
73
- return (index.h("span", { key: '285ff83ac5c79c7e1c6328aba89e1825f57dd78a', class: index$1.cls("db-badge", this.className), ref: (el) => {
73
+ return (index.h("span", { key: 'c566e49b9d78c51fe2615eb8b55182997485e5bb', class: index$1.cls("db-badge", this.className), ref: (el) => {
74
74
  this._ref = el;
75
75
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : index.h("slot", null)));
76
76
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -49,7 +49,7 @@ const DBBrand = class {
49
49
  }
50
50
  render() {
51
51
  var _a, _b, _c;
52
- return (index.h("div", { key: '2dbff45d3e8c3dbe6f1993c3401a12f15628984d', class: index$1.cls("db-brand", this.className), ref: (el) => {
52
+ return (index.h("div", { key: 'fc41608ac72c69c17542343ce283c584b3e5c3f5', class: index$1.cls("db-brand", this.className), ref: (el) => {
53
53
  this._ref = el;
54
54
  }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, this.text ? this.text : index.h("slot", null)));
55
55
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBButton = class {
@@ -58,7 +58,7 @@ const DBButton = class {
58
58
  }
59
59
  render() {
60
60
  var _a, _b, _c, _d;
61
- return (index.h("button", { key: '8bd02e4a26046fa1b62f26449e961b2ba7edf377', class: index$1.cls("db-button", this.className), ref: (el) => {
61
+ return (index.h("button", { key: '61179d6427e5c3245c1cfe539f2a0dce9b22ba1d', class: index$1.cls("db-button", this.className), ref: (el) => {
62
62
  this._ref = el;
63
63
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-no-text": index$1.getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : index.h("slot", null)));
64
64
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCard = class {
@@ -54,9 +54,9 @@ const DBCard = class {
54
54
  }
55
55
  render() {
56
56
  var _a, _b;
57
- return (index.h("div", { key: 'fc177f67efe5de971fcc6eeeb069473788988c1a', class: index$1.cls("db-card", this.className), ref: (el) => {
57
+ return (index.h("div", { key: '252e6e05d1f5fdef212ae943b0d4d4121a52f5d6', class: index$1.cls("db-card", this.className), ref: (el) => {
58
58
  this._ref = el;
59
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: 'cffa2e7b3427e279ef5ae1b3d00ff923e5c819c6' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '862fd715856bb6ef858c274c9c916bc7f4250051' })));
60
60
  }
61
61
  };
62
62
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -210,9 +210,9 @@ const DBCheckbox = class {
210
210
  }
211
211
  render() {
212
212
  var _a;
213
- return (index.h("div", { key: '433618f3dbf837b2b8febeb5b3acd77b0cebbc24', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '02b767c372314a2dc32b90fec28a0a2d4caa67c1', htmlFor: this._id }, index.h("input", { key: '1fc78fbb4079f69ed7bde43097ff3125ec67edf9', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
213
+ return (index.h("div", { key: '4238fbd4e76d437554f9b6164d007f1039d4de80', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '8d8743528e8ef8d117233e5de2957a78e37b0436', htmlFor: this._id }, index.h("input", { key: '631676480151dd94bca3c10cd1ccaf29f307b235', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
214
214
  this._ref = el;
215
- }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : index.h("slot", null)), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '1bc15384adefeb0a9749ebe60ee8e130e9258321', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '9daadc858ce041949b5470e6914c2c22f5a2918e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
215
+ }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : index.h("slot", null)), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '986898b076efd93c970c6656ff44f9b949a63c1c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '651eadfb4cbeaa60405335c76aef0c671b02851c', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
216
216
  }
217
217
  static get watchers() { return {
218
218
  "id": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomButton = class {
@@ -48,9 +48,9 @@ const DBCustomButton = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b, _c, _d;
51
- return (index.h("div", { key: 'ee954dad8cd0baff52172a1ec9553c43673d0fa4', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
51
+ return (index.h("div", { key: '3360941151b3648c3b03e8d1e231798e751b6445', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
52
52
  this._ref = el;
53
- }, id: (_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-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: 'accbe2a436c60ecb945aea8b008453e3a264fd2b' })));
53
+ }, id: (_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-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: '5991018ad35e6c9e04febd57a3affb0d0f81513f' })));
54
54
  }
55
55
  };
56
56
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
  var constants = require('./constants-bMY2_d8A.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -51,9 +51,9 @@ const DBCustomSelectDropdown = class {
51
51
  }
52
52
  render() {
53
53
  var _a, _b;
54
- return (index.h("article", { key: '18ea31a3993786aed93fbb95fabc349231b455ae', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
54
+ return (index.h("article", { key: '978958659b0f3b0fbdc011abfb079086ca90a6d5', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
55
55
  this._ref = el;
56
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '14a29534f56e6fe16c6d6e856b26aba549fef8dc' })));
56
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '21a6a67f222cb5eaf262ad4f3bd8cde81e4ba5c0' })));
57
57
  }
58
58
  };
59
59
 
@@ -102,9 +102,9 @@ const DBCustomSelectList = class {
102
102
  }
103
103
  render() {
104
104
  var _a, _b;
105
- return (index.h("div", { key: '7694da5a9c97c4f603217d79afd88afe63719db8', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
105
+ return (index.h("div", { key: '3c005a8e6605f176226e1eed81c47737498f1d05', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
106
106
  this._ref = el;
107
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '5c718c452425cfec8a6234d5ae2cf6aef7ed4655' }, index.h("slot", { key: '93b311c5a750a9ec2b0cb9ab4f7453aa25cc77d8' }))));
107
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '59887c5fe0d8e6c3b136e88ee4d8f1f26c580f5b' }, index.h("slot", { key: '29916aa86adbc98a874f5cee71cf056c705b5f62' }))));
108
108
  }
109
109
  };
110
110
 
@@ -174,7 +174,7 @@ const DBCustomSelectListItem = class {
174
174
  }
175
175
  render() {
176
176
  var _a, _b;
177
- return (index.h("li", { key: '40ae5213dd63ce580e2a036e5bf4781065026a30', class: index$1.cls("db-custom-select-list-item", this.className, {
177
+ return (index.h("li", { key: '439f87691065d7cf9e8742c3f5aa1ded7f5ac422', class: index$1.cls("db-custom-select-list-item", this.className, {
178
178
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
179
179
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
180
180
  }), ref: (el) => {
@@ -403,7 +403,7 @@ const DBInput = class {
403
403
  }
404
404
  render() {
405
405
  var _a, _b, _c, _d, _e, _f, _g, _h;
406
- return (index.h("div", { key: 'cd3b45e50318203965c74406dfe058b5c667520a', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: '07a3c4f58cd6531ce8891e18603a6f534d2df1a5', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: 'b90a93ed9454972000e4e3f37cb839a3d14ab3ec', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
406
+ return (index.h("div", { key: '11019c4d0b1eee6662b27c5a3ac9553e0abf846d', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: '0f9044b91e5787d32846d279571359c5d057e1a6', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: 'dfac37e9f7115c015f61ea7db1ac28776a68706e', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
407
407
  this._ref = el;
408
408
  }, id: this._id, name: this.name, type: this.type || "text", multiple: index$1.getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : constants.DEFAULT_PLACEHOLDER, disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), step: index$1.getStep(this.step), value: (_e = this.value) !== null && _e !== void 0 ? _e : this._value, maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), max: index$1.getInputValue(this.max, this.type), min: index$1.getInputValue(this.min, this.type), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
409
409
  index$1.getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: index$1.getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_f = this.ariaDescribedBy) !== null && _f !== void 0 ? _f : this._descByIds, role: [
@@ -415,7 +415,7 @@ const DBInput = class {
415
415
  "color",
416
416
  ].includes((_g = this.type) !== null && _g !== void 0 ? _g : "") && index$1.isIOSSafari()
417
417
  ? "textbox"
418
- : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: '1333f33d378f1d888146fba5143867051b697a2d' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'bac739c900da2b312dbfd253f845f59fdf177f8d', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: '46779c27b49d4fd389ac446e4e8c097fae65f51b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
418
+ : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: '24e1c8d5ba95fa035c2fbeba5881776e7b8310f0' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '8c339f6481cf16148115bc8333023b93160f703f', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: '1d9bfaf96452dd8487a6e10ada99aec33f6b5e52', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
419
419
  }
420
420
  static get watchers() { return {
421
421
  "id": [{
@@ -502,9 +502,9 @@ const DBTag = class {
502
502
  }
503
503
  render() {
504
504
  var _a, _b, _c;
505
- return (index.h("div", { key: 'd84df9f55535db4fbe9befd09fd2eef8125069c4', class: index$1.cls("db-tag", this.className), ref: (el) => {
505
+ return (index.h("div", { key: '61faefa2e89ddb597fcca3cb12f7d31c337e556a', class: index$1.cls("db-tag", this.className), ref: (el) => {
506
506
  this._ref = el;
507
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: '9f4d27ce3f4d4d2e1d193167148168a2cb8784dd', name: "content" }), index.h("slot", { key: '9feecc10d65e9f807709e5d90b90f69be72b8efb' }), this.text ? this.text : null, this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
507
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: 'e5650c1151f1e86f51138c5e8b292e780bf7544b', name: "content" }), index.h("slot", { key: 'e4023db11c7b59964b4df105eb3af969ba3d558a' }), this.text ? this.text : null, this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
508
508
  }
509
509
  };
510
510
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomSelectFormField = class {
@@ -48,9 +48,9 @@ const DBCustomSelectFormField = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b;
51
- return (index.h("summary", { key: '6bd88cd88890b6c4fd6fc231dbce401ae0a1b72e', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
51
+ return (index.h("summary", { key: '960e6eb6b0f7f46884e26a820f3ae38e13d57f33', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
52
52
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '3cf997efe556cbf62f590adad219b60459549cc8' })));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: 'e109b45a0935d878434ae5e330d55fdab7fb438d' })));
54
54
  }
55
55
  };
56
56
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var documentClickListener = require('./document-click-listener-B2-xKJv3.js');
7
7
  var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
8
- var floatingComponents = require('./floating-components-pYaTeNhp.js');
8
+ var floatingComponents = require('./floating-components-DlstoCKH.js');
9
9
  var formComponents = require('./form-components-_ncB_U2D.js');
10
10
 
11
11
  const DBCustomSelect = class {
@@ -327,10 +327,14 @@ const DBCustomSelect = class {
327
327
  else if (this.detailsRef.open && event) {
328
328
  if (event.relatedTarget) {
329
329
  const relatedTarget = event.relatedTarget;
330
- if (!this.detailsRef.contains(relatedTarget)) {
330
+ // We close if the focus is on something like a <button> etc. which is not inside the <details> element
331
+ // Inside a <dialog> there is some focus problem because of the top-layer
332
+ // We do not want to focus <dialog> itself
333
+ if (!this.detailsRef.contains(relatedTarget) &&
334
+ relatedTarget.localName !== "dialog") {
331
335
  // We need to use delay here because the combination of `contains`
332
336
  // and changing the DOM element causes a race condition inside browser
333
- index$1.delay(() => (this.detailsRef.open = false), 1);
337
+ void index$1.delay(() => (this.detailsRef.open = false), 1);
334
338
  }
335
339
  }
336
340
  }
@@ -790,19 +794,19 @@ const DBCustomSelect = class {
790
794
  }
791
795
  render() {
792
796
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
793
- return (index.h("div", { key: 'b91607a57b2311a81c3087827207ddc78017e581', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
797
+ return (index.h("div", { key: '04344ea736f4311c09459970f6c743516c0a45ba', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
794
798
  this._ref = el;
795
799
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
796
800
  this.selectedType === "tag" &&
797
801
  this.multiple
798
802
  ? "above"
799
- : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '1abe98ce69510bc1e71ced37cf8fc922d968fca0', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: '534fcf99cb27580f11593299093aa75c9708601c', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
803
+ : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: 'ed856ad29b0f840ebe37c8edf275267efc780f2c', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: '093be2cd13041a45a95664e083125f5e4e8c2689', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
800
804
  this.selectRef = el;
801
805
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: index$1.getBoolean(this.multiple, "multiple"), disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
802
806
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (index.h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
803
- : null)), index.h("details", { key: '730b070010af8bf456e9dc23b0c63bce2cf87669', ref: (el) => {
807
+ : null)), index.h("details", { key: 'e0617c55fb94a72432719b485d922d87cca58d40', ref: (el) => {
804
808
  this.detailsRef = el;
805
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: '8bac2e843b1c288af5b6bbe9272b4a72acaeb698' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option, index$1) => (index.h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
809
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: '4a4754177ce637816734d8e195d1d34b0e4a9707' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.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), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
806
810
  this.searchInputRef = el;
807
811
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : constants.DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
808
812
  ? this._infoTextId
@@ -812,7 +816,7 @@ const DBCustomSelect = class {
812
816
  this.selectAllRef = el;
813
817
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, index.h("db-custom-select-list", { multiple: index$1.getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : constants.DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (index.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
814
818
  ? this.getOptionLabel(option)
815
- : null)))))), index.h("div", null, index.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 : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: '18799430248251a8e5549f2b28905e2e2e5b27cb', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '834d926c52ed5296c8956315b49a973da100ba98', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '02e9c61681ab8c13df57214ba7cdf3551eaeba4d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
819
+ : null)))))), index.h("div", null, index.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 : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: 'ea3f5751609a4383f9d381cfbc7947a4b0192880', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'd8733256a74ba4876d4080a27798f01264d6472d', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '4ca046467d7da79ac48f0e1dddf2712ef2a93074', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
816
820
  }
817
821
  static get watchers() { return {
818
822
  "id": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBDivider = class {
@@ -48,7 +48,7 @@ const DBDivider = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b;
51
- return (index.h("div", { key: '6085ef73845be698561795af1a69cee864b31b7d', class: index$1.cls("db-divider", this.className), ref: (el) => {
51
+ return (index.h("div", { key: '5773c14fcdd05f7e4b7b73af32c779133ac1b65b', class: index$1.cls("db-divider", this.className), ref: (el) => {
52
52
  this._ref = el;
53
53
  }, 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 }));
54
54
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -135,11 +135,11 @@ const DBDrawer = class {
135
135
  }
136
136
  render() {
137
137
  var _a, _b, _c;
138
- return (index.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) => {
138
+ return (index.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) => {
139
139
  this._ref = el;
140
- }, 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 }, index.h("article", { key: '644050fdd2392c907e6cc375ace9dcc4205f4b7f', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
140
+ }, 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 }, index.h("article", { key: '305ff89261e63e2dbe0640fc9be97b330a4b94cf', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
141
141
  this.dialogContainerRef = el;
142
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: 'f4dc3a298eafc6c45d2bdf459c90a58faf856925', class: "db-drawer-header" }, index.h("div", { key: '21d808fe191e85f15f7c2a1512ad461199494c6e', class: "db-drawer-header-text" }, index.h("slot", { key: '4962256732612a5d5f629540916874189bc0f0e0', name: "drawerHeader" })), index.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 : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: '00ffdb6c782d620e0ac6d7fdb41312c65c68b197', class: "db-drawer-content" }, index.h("slot", { key: 'edc0a393b10741fd41de513b3572b4ce7ce2cae3' })))));
142
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: 'fe07654ff3c238c6a0eb2f73ff5f8a035ff9232c', class: "db-drawer-header" }, index.h("div", { key: '56eff8cf0d755c027bf72e2319e7897ed3b4b51c', class: "db-drawer-header-text" }, index.h("slot", { key: 'ff8378e26a292c20991899764a927aadd5b35ac8', name: "drawerHeader" })), index.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 : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: '681bd3593f743539104398e0dbb6628abdd8ae2c', class: "db-drawer-content" }, index.h("slot", { key: 'ad9f204d5f0b6b44fec8bfc49f8aa361cbb155d7' })))));
143
143
  }
144
144
  static get watchers() { return {
145
145
  "open": [{
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
- var navigation = require('./navigation-BztJmEHf.js');
7
- require('./floating-components-pYaTeNhp.js');
6
+ var navigation = require('./navigation-Bah882nU.js');
7
+ require('./floating-components-DlstoCKH.js');
8
8
 
9
9
  const DBHeader = class {
10
10
  constructor(hostRef) {
@@ -84,9 +84,9 @@ const DBHeader = class {
84
84
  }
85
85
  render() {
86
86
  var _a, _b, _c;
87
- return (index.h("header", { key: '472c3e72f6651ee5c09bc306cb46256782600379', class: index$1.cls("db-header", this.className), ref: (el) => {
87
+ return (index.h("header", { key: 'b5085e769fbc61e94b0ae0e1cca91db441efc1a5', class: index$1.cls("db-header", this.className), ref: (el) => {
88
88
  this._ref = el;
89
- }, 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 }, index.h("db-drawer", { key: 'e43b6fe88c420aafcccbe10c1852b1ad8c640a67', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: 'cd1d184da10661cc41a32c7b26e352a01d62acb5', class: "db-header-drawer-navigation" }, index.h("div", { key: 'a7f992b669f4efdc58a05eef1d45d0b279eb652d', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: '24fb78c5ba0eff9d594f8b41eb3bc986e7163276' })), index.h("div", { key: 'e509d62474a96831495428c5becb9fbf07b27b45', class: "db-header-meta-navigation" }, index.h("slot", { key: '65a8037fc817c20078f4e2e056268d40a973190a', name: "metaNavigation" }))), index.h("div", { key: 'ccb1c32adfcfcf8c94c1d9683e97140e99c7bc4b', class: "db-header-secondary-action" }, index.h("slot", { key: 'c1bd838bf97674d7537ad23d74b448f0e6f6b60b', name: "secondaryAction" }))), index.h("div", { key: '580b1e921589716809c6add27d0ebbd4577c36c5', class: "db-header-meta-navigation" }, index.h("slot", { key: '38264be6e940feb9b1d5f7c20133036af0db4467', name: "metaNavigation" })), index.h("div", { key: 'fab3ea7eb1b20b5626eb481e23eed33196e5391e', class: "db-header-navigation-bar" }, index.h("div", { key: '5c09d40a2d4db6fd3c04406d3f39f4e9a61f9c9c', class: "db-header-brand-container" }, index.h("slot", { key: '762b7e3669486369d0440af4774358c2be73aa6f', name: "brand" })), index.h("div", { key: 'a19ea0d8ce9d34a05a041fa489bf9586116296d0', class: "db-header-navigation-container" }, index.h("div", { key: '1bf7424bcbd9903f52bd55f1459481d73da47769', class: "db-header-navigation" }, index.h("slot", { key: '928dab58c49293b0ddc6014d491d839b07394832' })), index.h("div", { key: 'e470c62116f04772d3daac1c6088b69957fc8e22', class: "db-header-primary-action" }, index.h("slot", { key: '726b5e41a818a50bded6c79df27a697c132e1793', name: "primaryAction" }))), index.h("div", { key: 'c00bb939d06ab93e7f2979c13713841d48044cf9', class: "db-header-action-container" }, index.h("div", { key: '52444a5096ccda4b0bf62657aa6ac904ccb93720', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '22ed7c031d16610ff0cb62badf90e8388867b296', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: '9a6e595cf1d6d14357c8223e422517e0f3753e64', class: "db-header-secondary-action" }, index.h("slot", { key: 'ed8ac7dbd116208d0a1158335deacb64c7278de8', name: "secondaryAction" }))))));
89
+ }, 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 }, index.h("db-drawer", { key: 'a47facce9c8108126495c77d37a487cd34fe0ecb', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: 'cda6c2d0070ce377af2bd5ca4b77459a94350df5', class: "db-header-drawer-navigation" }, index.h("div", { key: '15713a6e12680039ca79f27ec4a1000b120af4fd', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: 'e553fe01864f6a23e12edb336ddfabae78ca4f74' })), index.h("div", { key: '73339268263f22638ce7e7cde00369f58a279d62', class: "db-header-meta-navigation" }, index.h("slot", { key: 'deffe76713c7ad062821f83a34ad1c0530acff6c', name: "metaNavigation" }))), index.h("div", { key: '42f61529aa00d9422cac6c8d5ae2588d0eb4760d', class: "db-header-secondary-action" }, index.h("slot", { key: '3273017c0520401367809b3e39e1d642b92bec50', name: "secondaryAction" }))), index.h("div", { key: '26b07d2244c291b78daa6dd2bc39ce2ee93d8674', class: "db-header-meta-navigation" }, index.h("slot", { key: '4adfd5ac044acbb161a26e9e033a1483991842c6', name: "metaNavigation" })), index.h("div", { key: '6a9709c60965315e7ecffb41ea4aac8caf986086', class: "db-header-navigation-bar" }, index.h("div", { key: '6eca84e588432ec968d4aed685d0dda4053b08a9', class: "db-header-brand-container" }, index.h("slot", { key: 'c034633ed87c6c554621e275b6d98d1d1628265c', name: "brand" })), index.h("div", { key: '04766e92142de2cd49a08711e7ad627b0cef14bd', class: "db-header-navigation-container" }, index.h("div", { key: 'fa4a5f6deab5edf3e1acf6e67d73ce06e638ae02', class: "db-header-navigation" }, index.h("slot", { key: '192fbdd2773ab46f2e4800d919a2ace97c9f5ef2' })), index.h("div", { key: '3bf503b08a862dbca679c198916da4be7228c528', class: "db-header-primary-action" }, index.h("slot", { key: '2ab7194da0568d92c85d47ecbf4e34aa4a734d00', name: "primaryAction" }))), index.h("div", { key: 'f45dbbf3346e8bf533a4af7c82e754fe0a679082', class: "db-header-action-container" }, index.h("div", { key: '7dfcd81988888a0595b94e15ba963abcfb1200ea', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '52e71ba370d564b8739966643adf2ccce5e48bcb', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: '54cf3d9d67d7be42f6b06227100abb337deb396d', class: "db-header-secondary-action" }, index.h("slot", { key: 'fc0a9946c1fd478c57e73f4c3b5b6ae0600101b8', name: "secondaryAction" }))))));
90
90
  }
91
91
  static get watchers() { return {
92
92
  "initialized": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBIcon = class {
@@ -48,7 +48,7 @@ const DBIcon = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b;
51
- return (index.h("span", { key: '4e41afd86be65137a69847bb0c154e4af951581d', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
51
+ return (index.h("span", { key: '3bef98de9ca12c66f7cce8e11eaa5d895a8d6750', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
52
52
  this._ref = el;
53
53
  }, 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 : index.h("slot", null)));
54
54
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBInfotext = class {
@@ -48,7 +48,7 @@ const DBInfotext = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b, _c;
51
- return (index.h("span", { key: '8251add62131b09f6e32c20c50619c5e725e5b8e', class: index$1.cls("db-infotext", this.className), ref: (el) => {
51
+ return (index.h("span", { key: '49219bd5f07042ba66ee28e86aed0536e0f776eb', class: index$1.cls("db-infotext", this.className), ref: (el) => {
52
52
  this._ref = el;
53
53
  }, 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": index$1.getBooleanAsString(this.wrap), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : index.h("slot", null)));
54
54
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBLink = class {
@@ -48,7 +48,7 @@ const DBLink = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b, _c, _d;
51
- return (index.h("a", { key: '72f9513afa3d072f106c34e42b794a63b7930166', class: index$1.cls("db-link", this.className), ref: (el) => {
51
+ return (index.h("a", { key: '71c5ab28a592fe182048091df4ed2d34f4cafe96', class: index$1.cls("db-link", this.className), ref: (el) => {
52
52
  this._ref = el;
53
53
  }, 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": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": index$1.getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap) }, this.text ? this.text : index.h("slot", null)));
54
54
  }
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
- var navigation = require('./navigation-BztJmEHf.js');
7
- require('./floating-components-pYaTeNhp.js');
6
+ var navigation = require('./navigation-Bah882nU.js');
7
+ require('./floating-components-DlstoCKH.js');
8
8
 
9
9
  const DBNavigationItem = class {
10
10
  constructor(hostRef) {
@@ -111,7 +111,7 @@ const DBNavigationItem = class {
111
111
  }
112
112
  render() {
113
113
  var _a, _b, _c;
114
- return (index.h("li", { key: '9e00c0e7d146b0e8472b0aa356846ae40f78b142', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
114
+ return (index.h("li", { key: 'dd524f6e6fa61adfb6d87591d1dbff6ba2e8f4fa', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
115
115
  this._ref = el;
116
116
  }, 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": index$1.getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": index$1.getBooleanAsString(this.wrap), "aria-disabled": index$1.getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : index.h("slot", null) : null, this.hasSubNavigation ? (index.h(index.Fragment, null, index.h("button", { class: "db-navigation-item-expand-button", "aria-haspopup": this.hasAreaPopup, "aria-expanded": this.isSubNavigationExpanded, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : index.h("slot", null)), index.h("menu", { class: "db-sub-navigation", "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (index.h("div", { class: "db-mobile-navigation-back" }, index.h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_BACK))) : null, index.h("slot", { name: "subNavigation" })))) : null));
117
117
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBNavigation = class {
@@ -48,9 +48,9 @@ const DBNavigation = class {
48
48
  }
49
49
  render() {
50
50
  var _a, _b;
51
- return (index.h("nav", { key: '890635e7c9c420f33510667329902249f7abd8ec', class: index$1.cls("db-navigation", this.className), ref: (el) => {
51
+ return (index.h("nav", { key: 'd35a0452fce96ed3fa6d692c8022ea4e36802626', class: index$1.cls("db-navigation", this.className), ref: (el) => {
52
52
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("menu", { key: '109ec2b85caaba110f70658cd7260a0b9e48f4ee' }, index.h("slot", { key: '0a5ba73ca5e1059eeaf339a1fec250c2e6a682e9' }))));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("menu", { key: '2b1ad0fd739f64003078bbf18535666f83487d1f' }, index.h("slot", { key: '0c82a0f8e78ca1489efe693ec5ba973ada355c97' }))));
54
54
  }
55
55
  };
56
56
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CSMPhlzz.js');
3
+ var index = require('./index-D_vrmAD6.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -58,13 +58,13 @@ const DBNotification = class {
58
58
  }
59
59
  render() {
60
60
  var _a, _b, _c;
61
- return (index.h("div", { key: 'ea7d2bd4cbb5c10ad84e69fc5edeceb3ba306664', class: index$1.cls("db-notification", this.className), ref: (el) => {
61
+ return (index.h("div", { key: 'b7789fad4794a93805eeec0cf2740b3f592f32fa', class: index$1.cls("db-notification", this.className), ref: (el) => {
62
62
  this._ref = el;
63
63
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: index$1.getNotificationRole({
64
64
  semantic: this.semantic,
65
65
  role: this.role,
66
66
  ariaLive: this.ariaLive,
67
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: 'f360080fb6f0841ce53af3c124c590069a9a63a1', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", null, this.headline)) : null, index.h("p", { key: '956e359ac2cca3054222856efb770fb3fa465fe9' }, this.text ? this.text : index.h("slot", null)), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("span", null, this.timestamp)) : null, index.h("slot", { key: '834aba00e04c685c7f3524068c2f74daa3f3e75b', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.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 : constants.DEFAULT_CLOSE_BUTTON)) : null));
67
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: 'cdf91c6a6cd8dd519ab235046b9ab260007a370e', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", null, this.headline)) : null, index.h("p", { key: 'a93c1810e6a75cdd81660cb6e252ed7028c2a5f5' }, this.text ? this.text : index.h("slot", null)), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("span", null, this.timestamp)) : null, index.h("slot", { key: '26cae9faba7d9f277413f38a59ea02c9b99eb8c5', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.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 : constants.DEFAULT_CLOSE_BUTTON)) : null));
68
68
  }
69
69
  };
70
70