@db-ux/wc-core-components 4.4.2 → 4.4.3

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 (184) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +9 -5
  3. package/dist/cjs/db-accordion.cjs.entry.js +8 -4
  4. package/dist/cjs/db-badge.cjs.entry.js +8 -4
  5. package/dist/cjs/db-brand.cjs.entry.js +8 -4
  6. package/dist/cjs/db-button.cjs.entry.js +8 -4
  7. package/dist/cjs/db-card.cjs.entry.js +9 -5
  8. package/dist/cjs/db-checkbox.cjs.entry.js +9 -5
  9. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +40 -20
  10. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +9 -5
  11. package/dist/cjs/db-custom-select.cjs.entry.js +14 -10
  12. package/dist/cjs/db-divider.cjs.entry.js +8 -4
  13. package/dist/cjs/db-drawer.cjs.entry.js +10 -6
  14. package/dist/cjs/db-header.cjs.entry.js +11 -7
  15. package/dist/cjs/db-icon.cjs.entry.js +8 -4
  16. package/dist/cjs/db-infotext.cjs.entry.js +8 -4
  17. package/dist/cjs/db-link.cjs.entry.js +8 -4
  18. package/dist/cjs/db-navigation-item.cjs.entry.js +10 -6
  19. package/dist/cjs/db-navigation.cjs.entry.js +9 -5
  20. package/dist/cjs/db-notification.cjs.entry.js +9 -5
  21. package/dist/cjs/db-page.cjs.entry.js +9 -5
  22. package/dist/cjs/db-popover.cjs.entry.js +11 -7
  23. package/dist/cjs/db-radio.cjs.entry.js +8 -4
  24. package/dist/cjs/db-section.cjs.entry.js +9 -5
  25. package/dist/cjs/db-select.cjs.entry.js +9 -5
  26. package/dist/cjs/db-stack.cjs.entry.js +9 -5
  27. package/dist/cjs/db-switch.cjs.entry.js +9 -5
  28. package/dist/cjs/db-tab-item_3.cjs.entry.js +25 -13
  29. package/dist/cjs/db-tabs.cjs.entry.js +9 -5
  30. package/dist/cjs/db-textarea.cjs.entry.js +9 -5
  31. package/dist/cjs/db-tooltip.cjs.entry.js +12 -7
  32. package/dist/cjs/db-ux.cjs.js +3 -3
  33. package/dist/cjs/{floating-components-ogUqz72V.js → floating-components-pYaTeNhp.js} +65 -15
  34. package/dist/cjs/{index-CEqZnn9s.js → index-Bh5ovRL2.js} +1 -1
  35. package/dist/cjs/index.cjs.js +2 -2
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/cjs/{navigation-DauGE-qj.js → navigation-BztJmEHf.js} +1 -1
  38. package/dist/collection/collection-manifest.json +1 -1
  39. package/dist/collection/components/accordion/accordion.js +7 -3
  40. package/dist/collection/components/accordion-item/accordion-item.js +8 -4
  41. package/dist/collection/components/badge/badge.js +7 -3
  42. package/dist/collection/components/brand/brand.js +7 -3
  43. package/dist/collection/components/button/button.js +7 -3
  44. package/dist/collection/components/card/card.js +8 -4
  45. package/dist/collection/components/checkbox/checkbox.js +8 -4
  46. package/dist/collection/components/custom-select/custom-select.js +12 -8
  47. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +8 -4
  48. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +8 -4
  49. package/dist/collection/components/custom-select-list/custom-select-list.js +8 -4
  50. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +7 -3
  51. package/dist/collection/components/divider/divider.js +7 -3
  52. package/dist/collection/components/drawer/drawer.js +9 -5
  53. package/dist/collection/components/header/header.js +8 -4
  54. package/dist/collection/components/icon/icon.js +7 -3
  55. package/dist/collection/components/infotext/infotext.js +7 -3
  56. package/dist/collection/components/input/input.js +8 -4
  57. package/dist/collection/components/link/link.js +7 -3
  58. package/dist/collection/components/navigation/navigation.js +8 -4
  59. package/dist/collection/components/navigation-item/navigation-item.js +7 -3
  60. package/dist/collection/components/notification/notification.js +8 -4
  61. package/dist/collection/components/page/page.js +8 -4
  62. package/dist/collection/components/popover/popover.js +9 -5
  63. package/dist/collection/components/radio/radio.js +7 -3
  64. package/dist/collection/components/section/section.js +8 -4
  65. package/dist/collection/components/select/select.js +8 -4
  66. package/dist/collection/components/stack/stack.js +8 -4
  67. package/dist/collection/components/switch/switch.js +13 -7
  68. package/dist/collection/components/tab-item/tab-item.js +8 -4
  69. package/dist/collection/components/tab-list/tab-list.js +8 -4
  70. package/dist/collection/components/tab-panel/tab-panel.js +8 -4
  71. package/dist/collection/components/tabs/tabs.js +8 -4
  72. package/dist/collection/components/tag/tag.js +8 -4
  73. package/dist/collection/components/textarea/textarea.js +8 -4
  74. package/dist/collection/components/tooltip/tooltip.js +10 -5
  75. package/dist/collection/utils/floating-components.js +65 -15
  76. package/dist/custom-elements.json +17369 -1424
  77. package/dist/db-ux/db-ux.esm.js +1 -1
  78. package/dist/db-ux/index.esm.js +1 -1
  79. package/dist/db-ux/p-1a72176e.entry.js +1 -0
  80. package/dist/db-ux/p-1b7f6a0b.entry.js +1 -0
  81. package/dist/db-ux/p-1da21066.entry.js +1 -0
  82. package/dist/db-ux/p-2d15e200.entry.js +1 -0
  83. package/dist/db-ux/p-312d52da.entry.js +1 -0
  84. package/dist/db-ux/p-3e6b86d6.entry.js +1 -0
  85. package/dist/db-ux/p-4aa16916.entry.js +1 -0
  86. package/dist/db-ux/p-4b69acea.entry.js +1 -0
  87. package/dist/db-ux/p-4cfff250.entry.js +1 -0
  88. package/dist/db-ux/p-5237e5d5.entry.js +1 -0
  89. package/dist/db-ux/p-5b1a0f0f.entry.js +1 -0
  90. package/dist/db-ux/p-5fa85b19.entry.js +1 -0
  91. package/dist/db-ux/p-64264628.entry.js +1 -0
  92. package/dist/db-ux/p-7351b5ab.entry.js +1 -0
  93. package/dist/db-ux/p-77150a25.entry.js +1 -0
  94. package/dist/db-ux/p-7c6b7578.entry.js +1 -0
  95. package/dist/db-ux/p-828a77d8.entry.js +1 -0
  96. package/dist/db-ux/p-9b47dc80.entry.js +1 -0
  97. package/dist/db-ux/p-DfYL98sI.js +1 -0
  98. package/dist/db-ux/p-a3a8ce36.entry.js +1 -0
  99. package/dist/db-ux/p-aa0f7280.entry.js +1 -0
  100. package/dist/db-ux/p-b07122c4.entry.js +1 -0
  101. package/dist/db-ux/p-b1fc0f4c.entry.js +1 -0
  102. package/dist/db-ux/p-c2624e1b.entry.js +1 -0
  103. package/dist/db-ux/p-c29d8e32.entry.js +1 -0
  104. package/dist/db-ux/{p-sP2NlPcu.js → p-cNk4ImpW.js} +1 -1
  105. package/dist/db-ux/p-cf50169a.entry.js +1 -0
  106. package/dist/db-ux/p-d4f3cfa2.entry.js +1 -0
  107. package/dist/db-ux/p-e05fee5a.entry.js +1 -0
  108. package/dist/db-ux/p-f40d2d61.entry.js +1 -0
  109. package/dist/db-ux/p-fcf8e274.entry.js +1 -0
  110. package/dist/db-ux/p-fe06f815.entry.js +1 -0
  111. package/dist/esm/db-accordion-item.entry.js +9 -5
  112. package/dist/esm/db-accordion.entry.js +8 -4
  113. package/dist/esm/db-badge.entry.js +8 -4
  114. package/dist/esm/db-brand.entry.js +8 -4
  115. package/dist/esm/db-button.entry.js +8 -4
  116. package/dist/esm/db-card.entry.js +9 -5
  117. package/dist/esm/db-checkbox.entry.js +9 -5
  118. package/dist/esm/db-custom-select-dropdown_5.entry.js +40 -20
  119. package/dist/esm/db-custom-select-form-field.entry.js +9 -5
  120. package/dist/esm/db-custom-select.entry.js +14 -10
  121. package/dist/esm/db-divider.entry.js +8 -4
  122. package/dist/esm/db-drawer.entry.js +10 -6
  123. package/dist/esm/db-header.entry.js +11 -7
  124. package/dist/esm/db-icon.entry.js +8 -4
  125. package/dist/esm/db-infotext.entry.js +8 -4
  126. package/dist/esm/db-link.entry.js +8 -4
  127. package/dist/esm/db-navigation-item.entry.js +10 -6
  128. package/dist/esm/db-navigation.entry.js +9 -5
  129. package/dist/esm/db-notification.entry.js +9 -5
  130. package/dist/esm/db-page.entry.js +9 -5
  131. package/dist/esm/db-popover.entry.js +11 -7
  132. package/dist/esm/db-radio.entry.js +8 -4
  133. package/dist/esm/db-section.entry.js +9 -5
  134. package/dist/esm/db-select.entry.js +9 -5
  135. package/dist/esm/db-stack.entry.js +9 -5
  136. package/dist/esm/db-switch.entry.js +9 -5
  137. package/dist/esm/db-tab-item_3.entry.js +25 -13
  138. package/dist/esm/db-tabs.entry.js +9 -5
  139. package/dist/esm/db-textarea.entry.js +9 -5
  140. package/dist/esm/db-tooltip.entry.js +12 -7
  141. package/dist/esm/db-ux.js +4 -4
  142. package/dist/esm/{floating-components-G-TursYV.js → floating-components-DfYL98sI.js} +65 -15
  143. package/dist/esm/{index-BrThqi62.js → index-Crtu1dn6.js} +1 -1
  144. package/dist/esm/index.js +2 -2
  145. package/dist/esm/loader.js +3 -3
  146. package/dist/esm/{navigation--UdC9CzO.js → navigation-DgsMCdfn.js} +1 -1
  147. package/dist/types/components/switch/model.d.ts +1 -1
  148. package/dist/types/components.d.ts +1 -0
  149. package/dist/types/shared/model.d.ts +2 -2
  150. package/dist/vscode.html-custom-data.json +1718 -294
  151. package/dist/web-types.json +2740 -666
  152. package/package.json +4 -4
  153. package/dist/db-ux/p-07bf3657.entry.js +0 -1
  154. package/dist/db-ux/p-0a89cbcd.entry.js +0 -1
  155. package/dist/db-ux/p-15539d9d.entry.js +0 -1
  156. package/dist/db-ux/p-41cb4673.entry.js +0 -1
  157. package/dist/db-ux/p-460073dd.entry.js +0 -1
  158. package/dist/db-ux/p-4a9b9909.entry.js +0 -1
  159. package/dist/db-ux/p-4ec09cf1.entry.js +0 -1
  160. package/dist/db-ux/p-57205dfd.entry.js +0 -1
  161. package/dist/db-ux/p-5775bf7a.entry.js +0 -1
  162. package/dist/db-ux/p-5bcde39a.entry.js +0 -1
  163. package/dist/db-ux/p-6341aaa9.entry.js +0 -1
  164. package/dist/db-ux/p-64573104.entry.js +0 -1
  165. package/dist/db-ux/p-6b63156d.entry.js +0 -1
  166. package/dist/db-ux/p-70822a27.entry.js +0 -1
  167. package/dist/db-ux/p-710a430d.entry.js +0 -1
  168. package/dist/db-ux/p-72d712b0.entry.js +0 -1
  169. package/dist/db-ux/p-7b7f4d03.entry.js +0 -1
  170. package/dist/db-ux/p-7bd4c573.entry.js +0 -1
  171. package/dist/db-ux/p-819cf20a.entry.js +0 -1
  172. package/dist/db-ux/p-87fdbcfb.entry.js +0 -1
  173. package/dist/db-ux/p-9051e26c.entry.js +0 -1
  174. package/dist/db-ux/p-934a708c.entry.js +0 -1
  175. package/dist/db-ux/p-9ffa5c48.entry.js +0 -1
  176. package/dist/db-ux/p-G-TursYV.js +0 -1
  177. package/dist/db-ux/p-a9af70eb.entry.js +0 -1
  178. package/dist/db-ux/p-aa8383a3.entry.js +0 -1
  179. package/dist/db-ux/p-ba1f69bd.entry.js +0 -1
  180. package/dist/db-ux/p-d273b998.entry.js +0 -1
  181. package/dist/db-ux/p-da4ee6ee.entry.js +0 -1
  182. package/dist/db-ux/p-e584e927.entry.js +0 -1
  183. package/dist/db-ux/p-fe185f98.entry.js +0 -1
  184. /package/dist/db-ux/{p-BrThqi62.js → p-Crtu1dn6.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBDivider = class {
@@ -16,12 +16,16 @@ const DBDivider = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -41,7 +45,7 @@ const DBDivider = class {
41
45
  this.enableAttributePassing(this._ref, "db-divider");
42
46
  }
43
47
  render() {
44
- return (h("div", { key: '0e9bf54bcd77ec1c324eb6300162bbf8c67b8c16', class: cls("db-divider", this.className), ref: (el) => {
48
+ return (h("div", { key: '85afebbf444ffecdfbc4701e36c94c9a48080fc1', class: cls("db-divider", this.className), ref: (el) => {
45
49
  this._ref = el;
46
50
  }, id: this.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
47
51
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-Crtu1dn6.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-C4x0SOcx.js';
4
4
 
@@ -81,12 +81,16 @@ const DBDrawer = class {
81
81
  const attributes = parent.attributes;
82
82
  for (let i = 0; i < attributes.length; i++) {
83
83
  const attr = attributes.item(i);
84
- if (attr &&
84
+ if (attr && attr.name !== 'data-density' &&
85
85
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
86
86
  element.setAttribute(attr.name, attr.value);
87
87
  parent.removeAttribute(attr.name);
88
88
  }
89
- if (attr && attr.name === "class") {
89
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
90
+ element.setAttribute(attr.name, attr.value);
91
+ parent.removeAttribute(attr.name);
92
+ }
93
+ else if (attr && attr.name === "class") {
90
94
  const isWebComponent = attr.value.includes("hydrated");
91
95
  const value = attr.value.replace("hydrated", "").trim();
92
96
  const currentClass = element.getAttribute("class");
@@ -129,11 +133,11 @@ const DBDrawer = class {
129
133
  }
130
134
  render() {
131
135
  var _a;
132
- return (h("dialog", { key: '171c5580c99bbe2d2ea0a6e8e5962e4132d9b07f', class: "db-drawer", id: this.id, ref: (el) => {
136
+ return (h("dialog", { key: '571d8c77113ad08a76865dec43c20069cc558290', class: "db-drawer", id: this.id, ref: (el) => {
133
137
  this._ref = el;
134
- }, 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: 'e9fad39beff3e642ad13be4950bb64fd15896f80', 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: '6116282c0fb97d5c34a216c899b53c405116c326', class: cls("db-drawer-container", this.className), ref: (el) => {
135
139
  this.dialogContainerRef = el;
136
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'cb9f374f26ebca0f11d02081c28e856cc87107c3', class: "db-drawer-header" }, h("div", { key: '7fca8037c16e16d909bcede75e223f38ae019453', class: "db-drawer-header-text" }, h("slot", { key: '85159cc4d260fa992bfe8b933920ae286b9ab09c', name: "drawerHeader" })), h("db-button", { key: '4a9ad6ba576480b154614da72752421a8ff81df6', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : DEFAULT_CLOSE_BUTTON)), h("div", { key: '9dbbd6a3835dad60dea79a9b2fbed6a62dd6b837', class: "db-drawer-content" }, h("slot", { key: '1bc4b88266e6d7250d0075e2405b725ad38b950e' })))));
140
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '4e2300a258a0cea3141b8cca846fa5163c911caa', class: "db-drawer-header" }, h("div", { key: '659656f5fed1e68d21c44c9eaed5d91f634cf58f', class: "db-drawer-header-text" }, h("slot", { key: '51b540fa08c43a570e7a4cc49306a0a20af9c3be', name: "drawerHeader" })), h("db-button", { key: '88facb314b62e021c678b4298dfcd4daa20d58ed', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : DEFAULT_CLOSE_BUTTON)), h("div", { key: '439a1f0615d190b737d758d60cba5488ea72811b', class: "db-drawer-content" }, h("slot", { key: '80c97bcc8cfb09aa2ec65dae1285d5a48c242eea' })))));
137
141
  }
138
142
  static get watchers() { return {
139
143
  "open": [{
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-Crtu1dn6.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-C4x0SOcx.js';
4
- import { i as isEventTargetNavigationItem } from './navigation--UdC9CzO.js';
5
- import './floating-components-G-TursYV.js';
4
+ import { i as isEventTargetNavigationItem } from './navigation-DgsMCdfn.js';
5
+ import './floating-components-DfYL98sI.js';
6
6
 
7
7
  const DBHeader = class {
8
8
  constructor(hostRef) {
@@ -36,12 +36,16 @@ const DBHeader = class {
36
36
  const attributes = parent.attributes;
37
37
  for (let i = 0; i < attributes.length; i++) {
38
38
  const attr = attributes.item(i);
39
- if (attr &&
39
+ if (attr && attr.name !== 'data-density' &&
40
40
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
41
41
  element.setAttribute(attr.name, attr.value);
42
42
  parent.removeAttribute(attr.name);
43
43
  }
44
- if (attr && attr.name === "class") {
44
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
45
+ element.setAttribute(attr.name, attr.value);
46
+ parent.removeAttribute(attr.name);
47
+ }
48
+ else if (attr && attr.name === "class") {
45
49
  const isWebComponent = attr.value.includes("hydrated");
46
50
  const value = attr.value.replace("hydrated", "").trim();
47
51
  const currentClass = element.getAttribute("class");
@@ -78,9 +82,9 @@ const DBHeader = class {
78
82
  }
79
83
  render() {
80
84
  var _a;
81
- return (h("header", { key: 'f9850f5a6f59bee2ed97db4baea343e07aaff91a', class: cls("db-header", this.className), ref: (el) => {
85
+ return (h("header", { key: '3ce812cf839f1f8c29b9bc05c6a840b58b13b51e', class: cls("db-header", this.className), ref: (el) => {
82
86
  this._ref = el;
83
- }, id: this.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: '32f62d8f0bf634e96cf7b0e96721fcd40aa3a3eb', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: 'a42c28439d07e97a3842efe4fa1c143c23691b5f', class: "db-header-drawer-navigation" }, h("div", { key: '141165e04574db312d51b0b4c376c53ddace243e', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '2208e0677b1f15da56fd6be230523559fcb5f1da' })), h("div", { key: 'fb980500cdb2f6f3ce2fce2489c48ac27ebd256a', class: "db-header-meta-navigation" }, h("slot", { key: '7eea7189a1e82821fc3f0bd600bda5a040382e88', name: "metaNavigation" }))), h("div", { key: 'a492419586593d43edbada69ad136ad832902e15', class: "db-header-secondary-action" }, h("slot", { key: '90ed75a19c230c3a2af94b8e0b397c8712f9a0df', name: "secondaryAction" }))), h("div", { key: '1d0451bd1f522f51cbd2bab3cd1b7c316fd644b4', class: "db-header-meta-navigation" }, h("slot", { key: 'd92c5a30a0131225f2b7b1428c5121fed241d8a7', name: "metaNavigation" })), h("div", { key: 'f65c8e6b2b997c281046f20e1ac7c89d8b5697f6', class: "db-header-navigation-bar" }, h("div", { key: 'be1e1017417595bbb4ff845b650f5edef1f4fd49', class: "db-header-brand-container" }, h("slot", { key: '5552b137967ae4659887ad67514fd0078ced1473', name: "brand" })), h("div", { key: '682e11b41f5131feb17cdf1e175b9bbcf8399740', class: "db-header-navigation-container" }, h("div", { key: '29f5a7afa6d8c014f6e574d72198289970e5324e', class: "db-header-navigation" }, h("slot", { key: 'f03956cf3368d3ec0dbaab3b3091c276eaf03a92' })), h("div", { key: '8a81b9ee537f84e14c9d41acf323552d6f239748', class: "db-header-primary-action" }, h("slot", { key: '78ae4dbdc9bcad5bd4bd951a0a334c47cb35bcf6', name: "primaryAction" }))), h("div", { key: 'e1e913c181df2f73cc9fe4cda17f505a26b1ad04', class: "db-header-action-container" }, h("div", { key: '92d7c9c0e50f9aa86e15c18a2ac7dddabc241358', class: "db-header-burger-menu-container" }, h("db-button", { key: '775ca507ba24b19e411e529e9ad67fcdfa6f3dea', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_a = this.burgerMenuLabel) !== null && _a !== void 0 ? _a : DEFAULT_BURGER_MENU)), h("div", { key: '7cd5a16e27c72e3e0635056df8bcb7f45461c9fb', class: "db-header-secondary-action" }, h("slot", { key: '09669c165311f8dc95961c64900d5ab36281700a', name: "secondaryAction" }))))));
87
+ }, id: this.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'ad1ef3ed622f466d53e854f52df140580d8dcaf9', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: 'f15469dcbca82a805c94e8e775f4903bff148f0c', class: "db-header-drawer-navigation" }, h("div", { key: '4d661aa075944eb2d147cde8131b3da9bfcc1a71', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0867fadfd79434481679fd1e29d369b0da1f4f70' })), h("div", { key: '8135e33f5209b7eeff4f78ece25836fc03905113', class: "db-header-meta-navigation" }, h("slot", { key: '272b6fb534de9ebaf11ce0c15d9573f137bf9257', name: "metaNavigation" }))), h("div", { key: 'ff5e1b82535825b07721f0478b0c315dfb2064db', class: "db-header-secondary-action" }, h("slot", { key: '41f5a0bec2da7eb0a7072a48268e1252e7a6e04b', name: "secondaryAction" }))), h("div", { key: '2dc424731844cc853759d229860ca85bc8343005', class: "db-header-meta-navigation" }, h("slot", { key: '254003d7ef0b53d1a1bf4ff6c91ffaad40db23ae', name: "metaNavigation" })), h("div", { key: 'cc66337e4fa59e3ba2f8150bba581e830348c21b', class: "db-header-navigation-bar" }, h("div", { key: 'f3b2f219dff06c4e64803cee6843fce892a08710', class: "db-header-brand-container" }, h("slot", { key: '5d2b3eeb421c4954a102dfc2a98feec2eec88e9b', name: "brand" })), h("div", { key: 'ffd377f496e03febd719e8caa103aad4a70d7d09', class: "db-header-navigation-container" }, h("div", { key: 'dd144a78a278178cfbb49ca99aa6ad2c8e060c26', class: "db-header-navigation" }, h("slot", { key: '24f29087236b2f885f76fcec167c17523d7cb4cf' })), h("div", { key: '30d6926a2cc679e2a0b89321dd5573c82c52413a', class: "db-header-primary-action" }, h("slot", { key: '6e8351b6a7236d6f79b221cd78f1c19e32984a64', name: "primaryAction" }))), h("div", { key: '918bcd534073735daae1b6f366f514e9a913bcf0', class: "db-header-action-container" }, h("div", { key: 'a003b166c56c021029deb61294b1360e24c68233', class: "db-header-burger-menu-container" }, h("db-button", { key: '0a62ee629bd0b9b768a7ae33dd854c620ad8c60e', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_a = this.burgerMenuLabel) !== null && _a !== void 0 ? _a : DEFAULT_BURGER_MENU)), h("div", { key: '70d919437f722df576cfd1f01f829da1af071352', class: "db-header-secondary-action" }, h("slot", { key: '7b2c7c2a575787fe652a47c5e570964c3715b968', name: "secondaryAction" }))))));
84
88
  }
85
89
  static get watchers() { return {
86
90
  "initialized": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBIcon = class {
@@ -16,12 +16,16 @@ const DBIcon = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -41,7 +45,7 @@ const DBIcon = class {
41
45
  this.enableAttributePassing(this._ref, "db-icon");
42
46
  }
43
47
  render() {
44
- return (h("span", { key: '3a67532009f85e493784e99774e230f52c588ccc', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
48
+ return (h("span", { key: '98575a7f351cb2f3bb8d716d7e8ef07f10e403ad', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
45
49
  this._ref = el;
46
50
  }, id: this.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : h("slot", null)));
47
51
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBInfotext = class {
@@ -16,12 +16,16 @@ const DBInfotext = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -42,7 +46,7 @@ const DBInfotext = class {
42
46
  }
43
47
  render() {
44
48
  var _a;
45
- return (h("span", { key: 'c126d11d979284931006fa76b2a6a49e396f394c', class: cls("db-infotext", this.className), ref: (el) => {
49
+ return (h("span", { key: '1d72ab4201a2886684b736cc9909ffc2df914999', class: cls("db-infotext", this.className), ref: (el) => {
46
50
  this._ref = el;
47
51
  }, id: this.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-show-icon-leading": getBooleanAsString((_a = this.showIcon) !== null && _a !== void 0 ? _a : true) }, this.text ? this.text : h("slot", null)));
48
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBLink = class {
@@ -16,12 +16,16 @@ const DBLink = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -42,7 +46,7 @@ const DBLink = class {
42
46
  }
43
47
  render() {
44
48
  var _a, _b;
45
- return (h("a", { key: 'a43d8889621390017c07dda184c570e54d7f81e0', class: cls("db-link", this.className), ref: (el) => {
49
+ return (h("a", { key: 'edcb3906d31ba5f0387137f96343d61559f553aa', class: cls("db-link", this.className), ref: (el) => {
46
50
  this._ref = el;
47
51
  }, id: this.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_a = this.referrerpolicy) !== null && _a !== void 0 ? _a : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_b = this.showIcon) !== null && _b !== void 0 ? _b : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : h("slot", null)));
48
52
  }
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Crtu1dn6.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-C4x0SOcx.js';
4
- import { N as NavigationItemSafeTriangle } from './navigation--UdC9CzO.js';
5
- import './floating-components-G-TursYV.js';
4
+ import { N as NavigationItemSafeTriangle } from './navigation-DgsMCdfn.js';
5
+ import './floating-components-DfYL98sI.js';
6
6
 
7
7
  const DBNavigationItem = class {
8
8
  constructor(hostRef) {
@@ -48,12 +48,16 @@ const DBNavigationItem = class {
48
48
  const attributes = parent.attributes;
49
49
  for (let i = 0; i < attributes.length; i++) {
50
50
  const attr = attributes.item(i);
51
- if (attr &&
51
+ if (attr && attr.name !== 'data-density' &&
52
52
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
53
53
  element.setAttribute(attr.name, attr.value);
54
54
  parent.removeAttribute(attr.name);
55
55
  }
56
- if (attr && attr.name === "class") {
56
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
57
+ element.setAttribute(attr.name, attr.value);
58
+ parent.removeAttribute(attr.name);
59
+ }
60
+ else if (attr && attr.name === "class") {
57
61
  const isWebComponent = attr.value.includes("hydrated");
58
62
  const value = attr.value.replace("hydrated", "").trim();
59
63
  const currentClass = element.getAttribute("class");
@@ -105,7 +109,7 @@ const DBNavigationItem = class {
105
109
  }
106
110
  render() {
107
111
  var _a;
108
- return (h("li", { key: 'd9127a5065dc034116325e95f39c9d2d9844722e', class: cls("db-navigation-item", this.className), ref: (el) => {
112
+ return (h("li", { key: '3b363559d7b1b52c67f722164d7f5932f98d7d69', class: cls("db-navigation-item", this.className), ref: (el) => {
109
113
  this._ref = el;
110
114
  }, id: this.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) }, (_a = this.backButtonText) !== null && _a !== void 0 ? _a : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
111
115
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBNavigation = class {
@@ -16,12 +16,16 @@ const DBNavigation = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -41,9 +45,9 @@ const DBNavigation = class {
41
45
  this.enableAttributePassing(this._ref, "db-navigation");
42
46
  }
43
47
  render() {
44
- return (h("nav", { key: 'de11910f2ac8e29cb5ee23aaf0e0d38cf9b5d4e8', class: cls("db-navigation", this.className), ref: (el) => {
48
+ return (h("nav", { key: 'ed23071c4f127474f38f663cd5c0536c94cfe526', class: cls("db-navigation", this.className), ref: (el) => {
45
49
  this._ref = el;
46
- }, id: this.id }, h("menu", { key: '414afdaa58874f959a2ed49aefdaa672894806c3' }, h("slot", { key: '703407fdf69a8dfd133779c864a7016972f1a3e5' }))));
50
+ }, id: this.id }, h("menu", { key: 'a54c6a1a1a7e5624287c0f5f7a93bc66bcb1a2f2' }, h("slot", { key: '7fa106c1c7f1feae5ba622d89a4a4063ea5a8d93' }))));
47
51
  }
48
52
  };
49
53
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-Crtu1dn6.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-C4x0SOcx.js';
4
4
 
@@ -26,12 +26,16 @@ const DBNotification = class {
26
26
  const attributes = parent.attributes;
27
27
  for (let i = 0; i < attributes.length; i++) {
28
28
  const attr = attributes.item(i);
29
- if (attr &&
29
+ if (attr && attr.name !== 'data-density' &&
30
30
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
31
31
  element.setAttribute(attr.name, attr.value);
32
32
  parent.removeAttribute(attr.name);
33
33
  }
34
- if (attr && attr.name === "class") {
34
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
35
+ element.setAttribute(attr.name, attr.value);
36
+ parent.removeAttribute(attr.name);
37
+ }
38
+ else if (attr && attr.name === "class") {
35
39
  const isWebComponent = attr.value.includes("hydrated");
36
40
  const value = attr.value.replace("hydrated", "").trim();
37
41
  const currentClass = element.getAttribute("class");
@@ -52,13 +56,13 @@ const DBNotification = class {
52
56
  }
53
57
  render() {
54
58
  var _a;
55
- return (h("div", { key: 'd1b82284e12ea68b7b33ba90a760ebcd0ec867e2', class: cls("db-notification", this.className), ref: (el) => {
59
+ return (h("div", { key: '7bfffb9a6ef900927dc92872a653c2483bba9c13', class: cls("db-notification", this.className), ref: (el) => {
56
60
  this._ref = el;
57
61
  }, id: this.id, role: getNotificationRole({
58
62
  semantic: this.semantic,
59
63
  role: this.role,
60
64
  ariaLive: this.ariaLive,
61
- }), "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: 'a468ad7c9373bc359e404751ab736b7049e5bbe8', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '95f58e30be3685db12507152d980f6e2909b557a' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: 'd3c2d44714e5e332deae28d98ee800f8fb281f3f', 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) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : 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: '3dcc061adf7ad8fc7aed91bcecee48458a57c257', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '76d017fda09e1cfb0feec4045c03e40c50f5c290' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '70f4c22660f7a9ae655002fc3947ad00d5b52f3f', 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) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : DEFAULT_CLOSE_BUTTON)) : null));
62
66
  }
63
67
  };
64
68
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { c as cls, g as getBooleanAsString } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBPage = class {
@@ -17,12 +17,16 @@ const DBPage = class {
17
17
  const attributes = parent.attributes;
18
18
  for (let i = 0; i < attributes.length; i++) {
19
19
  const attr = attributes.item(i);
20
- if (attr &&
20
+ if (attr && attr.name !== 'data-density' &&
21
21
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
22
22
  element.setAttribute(attr.name, attr.value);
23
23
  parent.removeAttribute(attr.name);
24
24
  }
25
- if (attr && attr.name === "class") {
25
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
26
+ element.setAttribute(attr.name, attr.value);
27
+ parent.removeAttribute(attr.name);
28
+ }
29
+ else if (attr && attr.name === "class") {
26
30
  const isWebComponent = attr.value.includes("hydrated");
27
31
  const value = attr.value.replace("hydrated", "").trim();
28
32
  const currentClass = element.getAttribute("class");
@@ -58,9 +62,9 @@ const DBPage = class {
58
62
  }
59
63
  }
60
64
  render() {
61
- return (h("div", { key: '005b795411eb8ae8717d978eae32db515f7f6d87', class: cls("db-page", this.className), ref: (el) => {
65
+ return (h("div", { key: 'a3bc28485521260f3b6666160df090d1f6855642', class: cls("db-page", this.className), ref: (el) => {
62
66
  this._ref = el;
63
- }, id: this.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: 'd9afe2076d0f115c2e7e8dc362ccd6e1dd3c4df7', name: "header" }), h("main", { key: '2002d9fbc8a71df9d042da0e77dbdce9d9bd9ab5', class: cls("db-main", this.mainClass) }, h("slot", { key: '40fdc82ff79391f41ba9bd1886959e7f84ab7626' })), h("slot", { key: '0468545812365d7124bf4e3e9f9045aacce6786a', name: "footer" })));
67
+ }, id: this.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '767ea462a8f8a08a84bf553f69304dab64d4cf41', name: "header" }), h("main", { key: '1d9e4af6efd26bb2d66ea7e1792e70c984e4ebee', class: cls("db-main", this.mainClass) }, h("slot", { key: '370197e945c6582919418e80ad29e10d991b83d0' })), h("slot", { key: 'cdade48d4fbd8f4ef472679d8fc345413335cc93', name: "footer" })));
64
68
  }
65
69
  };
66
70
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { d as delay, g as getBooleanAsString, c as cls } from './index-C4x0SOcx.js';
3
3
  import { D as DocumentScrollListener } from './document-scroll-listener-65bHuFAN.js';
4
- import { b as handleFixedPopover } from './floating-components-G-TursYV.js';
4
+ import { b as handleFixedPopover } from './floating-components-DfYL98sI.js';
5
5
 
6
6
  const DBPopover = class {
7
7
  constructor(hostRef) {
@@ -25,7 +25,7 @@ const DBPopover = class {
25
25
  const article = this._ref.querySelector("article");
26
26
  if (article) {
27
27
  // This is a workaround for angular
28
- delay(() => {
28
+ void delay(() => {
29
29
  var _a;
30
30
  handleFixedPopover(article, this._ref, (_a = this.placement) !== null && _a !== void 0 ? _a : "bottom");
31
31
  }, 1);
@@ -96,12 +96,16 @@ const DBPopover = class {
96
96
  const attributes = parent.attributes;
97
97
  for (let i = 0; i < attributes.length; i++) {
98
98
  const attr = attributes.item(i);
99
- if (attr &&
99
+ if (attr && attr.name !== 'data-density' &&
100
100
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
101
101
  element.setAttribute(attr.name, attr.value);
102
102
  parent.removeAttribute(attr.name);
103
103
  }
104
- if (attr && attr.name === "class") {
104
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
105
+ element.setAttribute(attr.name, attr.value);
106
+ parent.removeAttribute(attr.name);
107
+ }
108
+ else if (attr && attr.name === "class") {
105
109
  const isWebComponent = attr.value.includes("hydrated");
106
110
  const value = attr.value.replace("hydrated", "").trim();
107
111
  const currentClass = element.getAttribute("class");
@@ -164,9 +168,9 @@ const DBPopover = class {
164
168
  }
165
169
  render() {
166
170
  var _a;
167
- return (h("div", { key: '4d902919abc8bf5b55a617a31424f35582e029c1', class: cls("db-popover", this.className), ref: (el) => {
171
+ return (h("div", { key: '6b6c1e8a1b308dde8bae73df452abe94b0b4962d', class: cls("db-popover", this.className), ref: (el) => {
168
172
  this._ref = el;
169
- }, id: this.id }, h("slot", { key: '166a0b766f6f0c003e6d7a250fd466267117f59a', name: "trigger" }), h("article", { key: '4fa535dc081c76eb21671e0abfb7d090b38e6e5c', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: 'ef47687b496cfe4d6cce11ef5d282a2ec3a88004' }))));
173
+ }, id: this.id }, h("slot", { key: '8276f71a50b4a588dfe8a9b8007338c895433835', name: "trigger" }), h("article", { key: '2931d9365bf99c8c539dc45ec8450fbe54e47cf2', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '49dbdd7f45e2ea48cc66b0463af29f0964ff7109' }))));
170
174
  }
171
175
  static get watchers() { return {
172
176
  "_ref": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-Crtu1dn6.js';
2
2
  import { u as uuid, e as getBoolean, l as getHideProp, c as cls, d as delay } from './index-C4x0SOcx.js';
3
3
  import { b as addResetEventListener } from './form-components-BLsiOrPI.js';
4
4
 
@@ -44,12 +44,16 @@ const DBRadio = class {
44
44
  const attributes = parent.attributes;
45
45
  for (let i = 0; i < attributes.length; i++) {
46
46
  const attr = attributes.item(i);
47
- if (attr &&
47
+ if (attr && attr.name !== 'data-density' &&
48
48
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
49
49
  element.setAttribute(attr.name, attr.value);
50
50
  parent.removeAttribute(attr.name);
51
51
  }
52
- if (attr && attr.name === "class") {
52
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
53
+ element.setAttribute(attr.name, attr.value);
54
+ parent.removeAttribute(attr.name);
55
+ }
56
+ else if (attr && attr.name === "class") {
53
57
  const isWebComponent = attr.value.includes("hydrated");
54
58
  const value = attr.value.replace("hydrated", "").trim();
55
59
  const currentClass = element.getAttribute("class");
@@ -108,7 +112,7 @@ const DBRadio = class {
108
112
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
109
113
  }
110
114
  render() {
111
- return (h("label", { key: '2d573f1bd633fdedf2fde15c11d52cfa8a70b3ef', 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: 'dd0ae78f833d0cd170824fd38aef50797529557a', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
115
+ return (h("label", { key: '998fcc7e72f405047969e91d70e4093c4fb7a923', 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: 'fc200290758670942c7aa3b584c9cc49cc9faa37', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
112
116
  this._ref = el;
113
117
  }, 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)));
114
118
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BrThqi62.js';
1
+ import { r as registerInstance, h } from './index-Crtu1dn6.js';
2
2
  import { c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBSection = class {
@@ -16,12 +16,16 @@ const DBSection = class {
16
16
  const attributes = parent.attributes;
17
17
  for (let i = 0; i < attributes.length; i++) {
18
18
  const attr = attributes.item(i);
19
- if (attr &&
19
+ if (attr && attr.name !== 'data-density' &&
20
20
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
21
  element.setAttribute(attr.name, attr.value);
22
22
  parent.removeAttribute(attr.name);
23
23
  }
24
- if (attr && attr.name === "class") {
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
25
29
  const isWebComponent = attr.value.includes("hydrated");
26
30
  const value = attr.value.replace("hydrated", "").trim();
27
31
  const currentClass = element.getAttribute("class");
@@ -41,9 +45,9 @@ const DBSection = class {
41
45
  this.enableAttributePassing(this._ref, "db-section");
42
46
  }
43
47
  render() {
44
- return (h("section", { key: '2d9f2702a0f18b257a3517ff002ff45984e07016', class: cls("db-section", this.className), ref: (el) => {
48
+ return (h("section", { key: 'be6ea106507603acde69e5020d97318002075614', class: cls("db-section", this.className), ref: (el) => {
45
49
  this._ref = el;
46
- }, id: this.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'c432a712362af876cadc2c40946280272886e74c' })));
50
+ }, id: this.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '339c00c1fca3117ad6e148474f8fefbecb6c28f6' })));
47
51
  }
48
52
  };
49
53
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-BrThqi62.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Crtu1dn6.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, f as DEFAULT_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-C4x0SOcx.js';
4
4
  import { c as addValueResetEventListener } from './form-components-BLsiOrPI.js';
@@ -113,12 +113,16 @@ const DBSelect = class {
113
113
  const attributes = parent.attributes;
114
114
  for (let i = 0; i < attributes.length; i++) {
115
115
  const attr = attributes.item(i);
116
- if (attr &&
116
+ if (attr && attr.name !== 'data-density' &&
117
117
  (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
118
118
  element.setAttribute(attr.name, attr.value);
119
119
  parent.removeAttribute(attr.name);
120
120
  }
121
- if (attr && attr.name === "class") {
121
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
122
+ element.setAttribute(attr.name, attr.value);
123
+ parent.removeAttribute(attr.name);
124
+ }
125
+ else if (attr && attr.name === "class") {
122
126
  const isWebComponent = attr.value.includes("hydrated");
123
127
  const value = attr.value.replace("hydrated", "").trim();
124
128
  const currentClass = element.getAttribute("class");
@@ -219,14 +223,14 @@ const DBSelect = class {
219
223
  }
220
224
  render() {
221
225
  var _a, _b, _c, _d, _e;
222
- return (h("div", { key: '50e43dc0ffe52d1683df95a336201616975d7e22', 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: '5bbc909caa2c33aea4e4e2956d8bc133f939fd13', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: 'b6ef5a4f622219ee38433f643959c7db039a67db', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
226
+ return (h("div", { key: 'fa85d886e937a4df9260c6c7afe3482054707a37', 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: '8641dd7e53e841c2b14c953e6f515bc019714a02', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '98086f761e1c7353e9c9be5a2b25ee6ad1539116', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
223
227
  this._ref = el;
224
228
  }, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
225
229
  /* @ts-ignore */
226
230
  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) => {
227
231
  var _a;
228
232
  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)))));
229
- })) : (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: '79703f10ff7c61b481e34e98ef2ad45133a3e2a4', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'e4667735054c370c14a954219060cc27b0a9007f', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
233
+ })) : (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: 'ef8708b7b5c72f4755b057387877a631eea7efe4', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '7ce062862b7f38d673833d45ab59539c71758dcc', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
230
234
  }
231
235
  static get watchers() { return {
232
236
  "_ref": [{