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

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 (145) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -6
  3. package/dist/cjs/db-accordion.cjs.entry.js +4 -12
  4. package/dist/cjs/db-badge.cjs.entry.js +1 -1
  5. package/dist/cjs/db-brand.cjs.entry.js +1 -1
  6. package/dist/cjs/db-button.cjs.entry.js +1 -1
  7. package/dist/cjs/db-card.cjs.entry.js +1 -1
  8. package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
  9. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +3 -6
  10. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
  11. package/dist/cjs/db-custom-select.cjs.entry.js +1 -1
  12. package/dist/cjs/db-divider.cjs.entry.js +1 -1
  13. package/dist/cjs/db-drawer.cjs.entry.js +1 -1
  14. package/dist/cjs/db-header.cjs.entry.js +1 -1
  15. package/dist/cjs/db-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/db-infotext.cjs.entry.js +1 -1
  17. package/dist/cjs/db-link.cjs.entry.js +1 -1
  18. package/dist/cjs/db-navigation-item.cjs.entry.js +3 -4
  19. package/dist/cjs/db-navigation.cjs.entry.js +3 -6
  20. package/dist/cjs/db-notification.cjs.entry.js +1 -1
  21. package/dist/cjs/db-page.cjs.entry.js +1 -1
  22. package/dist/cjs/db-popover.cjs.entry.js +1 -1
  23. package/dist/cjs/db-radio.cjs.entry.js +1 -1
  24. package/dist/cjs/db-section.cjs.entry.js +1 -1
  25. package/dist/cjs/db-select.cjs.entry.js +1 -1
  26. package/dist/cjs/db-stack.cjs.entry.js +1 -1
  27. package/dist/cjs/db-switch.cjs.entry.js +1 -1
  28. package/dist/cjs/db-tab-item_3.cjs.entry.js +3 -6
  29. package/dist/cjs/db-tabs.cjs.entry.js +4 -6
  30. package/dist/cjs/db-textarea.cjs.entry.js +1 -1
  31. package/dist/cjs/db-tooltip.cjs.entry.js +22 -7
  32. package/dist/cjs/db-ux.cjs.js +3 -3
  33. package/dist/cjs/{index-Bi4QN5oK.js → index-CEqZnn9s.js} +85 -58
  34. package/dist/cjs/index.cjs.js +19 -19
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +1 -1
  37. package/dist/collection/components/accordion/accordion.js +26 -35
  38. package/dist/collection/components/accordion-item/accordion-item.js +16 -20
  39. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +26 -30
  40. package/dist/collection/components/navigation/navigation.js +3 -13
  41. package/dist/collection/components/navigation-item/navigation-item.js +3 -5
  42. package/dist/collection/components/tab-list/tab-list.js +3 -13
  43. package/dist/collection/components/tabs/tabs.js +29 -32
  44. package/dist/collection/components/tooltip/tooltip.js +21 -6
  45. package/dist/custom-elements.json +120 -145
  46. package/dist/db-ux/db-ux.esm.js +1 -1
  47. package/dist/db-ux/index.esm.js +1 -1
  48. package/dist/db-ux/{p-1ae2420e.entry.js → p-07bf3657.entry.js} +1 -1
  49. package/dist/db-ux/{p-5e8b2167.entry.js → p-0a89cbcd.entry.js} +1 -1
  50. package/dist/db-ux/{p-77840cb4.entry.js → p-15539d9d.entry.js} +1 -1
  51. package/dist/db-ux/p-41cb4673.entry.js +1 -0
  52. package/dist/db-ux/{p-19c9285e.entry.js → p-460073dd.entry.js} +1 -1
  53. package/dist/db-ux/{p-93506fdb.entry.js → p-4a9b9909.entry.js} +1 -1
  54. package/dist/db-ux/{p-ced0df76.entry.js → p-4ec09cf1.entry.js} +1 -1
  55. package/dist/db-ux/{p-09f188aa.entry.js → p-57205dfd.entry.js} +1 -1
  56. package/dist/db-ux/p-5775bf7a.entry.js +1 -0
  57. package/dist/db-ux/{p-d2fd9838.entry.js → p-5bcde39a.entry.js} +1 -1
  58. package/dist/db-ux/p-6341aaa9.entry.js +1 -0
  59. package/dist/db-ux/p-64573104.entry.js +1 -0
  60. package/dist/db-ux/{p-349276ca.entry.js → p-6b63156d.entry.js} +1 -1
  61. package/dist/db-ux/{p-ba4084e8.entry.js → p-70822a27.entry.js} +1 -1
  62. package/dist/db-ux/p-710a430d.entry.js +1 -0
  63. package/dist/db-ux/{p-5549d866.entry.js → p-72d712b0.entry.js} +1 -1
  64. package/dist/db-ux/{p-cede20c2.entry.js → p-7b7f4d03.entry.js} +1 -1
  65. package/dist/db-ux/p-7bd4c573.entry.js +1 -0
  66. package/dist/db-ux/{p-ec270b7d.entry.js → p-819cf20a.entry.js} +1 -1
  67. package/dist/db-ux/p-87fdbcfb.entry.js +1 -0
  68. package/dist/db-ux/{p-90380da4.entry.js → p-9051e26c.entry.js} +1 -1
  69. package/dist/db-ux/{p-e50ff484.entry.js → p-934a708c.entry.js} +1 -1
  70. package/dist/db-ux/{p-d1974cb0.entry.js → p-9ffa5c48.entry.js} +1 -1
  71. package/dist/db-ux/p-BrThqi62.js +2 -0
  72. package/dist/db-ux/p-a9af70eb.entry.js +1 -0
  73. package/dist/db-ux/p-aa8383a3.entry.js +1 -0
  74. package/dist/db-ux/p-ba1f69bd.entry.js +1 -0
  75. package/dist/db-ux/p-d273b998.entry.js +1 -0
  76. package/dist/db-ux/p-da4ee6ee.entry.js +1 -0
  77. package/dist/db-ux/{p-32fcf516.entry.js → p-e584e927.entry.js} +1 -1
  78. package/dist/db-ux/{p-6811aace.entry.js → p-fe185f98.entry.js} +1 -1
  79. package/dist/esm/db-accordion-item.entry.js +4 -7
  80. package/dist/esm/db-accordion.entry.js +4 -12
  81. package/dist/esm/db-badge.entry.js +1 -1
  82. package/dist/esm/db-brand.entry.js +1 -1
  83. package/dist/esm/db-button.entry.js +1 -1
  84. package/dist/esm/db-card.entry.js +1 -1
  85. package/dist/esm/db-checkbox.entry.js +1 -1
  86. package/dist/esm/db-custom-select-dropdown_5.entry.js +4 -7
  87. package/dist/esm/db-custom-select-form-field.entry.js +1 -1
  88. package/dist/esm/db-custom-select.entry.js +1 -1
  89. package/dist/esm/db-divider.entry.js +1 -1
  90. package/dist/esm/db-drawer.entry.js +1 -1
  91. package/dist/esm/db-header.entry.js +1 -1
  92. package/dist/esm/db-icon.entry.js +1 -1
  93. package/dist/esm/db-infotext.entry.js +1 -1
  94. package/dist/esm/db-link.entry.js +1 -1
  95. package/dist/esm/db-navigation-item.entry.js +4 -5
  96. package/dist/esm/db-navigation.entry.js +4 -7
  97. package/dist/esm/db-notification.entry.js +1 -1
  98. package/dist/esm/db-page.entry.js +1 -1
  99. package/dist/esm/db-popover.entry.js +1 -1
  100. package/dist/esm/db-radio.entry.js +1 -1
  101. package/dist/esm/db-section.entry.js +1 -1
  102. package/dist/esm/db-select.entry.js +1 -1
  103. package/dist/esm/db-stack.entry.js +1 -1
  104. package/dist/esm/db-switch.entry.js +1 -1
  105. package/dist/esm/db-tab-item_3.entry.js +4 -7
  106. package/dist/esm/db-tabs.entry.js +4 -6
  107. package/dist/esm/db-textarea.entry.js +1 -1
  108. package/dist/esm/db-tooltip.entry.js +22 -7
  109. package/dist/esm/db-ux.js +4 -4
  110. package/dist/esm/{index-05XnVETo.js → index-BrThqi62.js} +85 -58
  111. package/dist/esm/index.js +1 -1
  112. package/dist/esm/loader.js +3 -3
  113. package/dist/types/components/accordion/accordion.d.ts +1 -2
  114. package/dist/types/components/accordion/model.d.ts +2 -2
  115. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -2
  116. package/dist/types/components/accordion-item/model.d.ts +2 -2
  117. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -2
  118. package/dist/types/components/custom-select-list-item/model.d.ts +2 -2
  119. package/dist/types/components/navigation/model.d.ts +2 -2
  120. package/dist/types/components/navigation/navigation.d.ts +0 -1
  121. package/dist/types/components/navigation-item/model.d.ts +0 -1
  122. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -1
  123. package/dist/types/components/tab-list/model.d.ts +2 -2
  124. package/dist/types/components/tab-list/tab-list.d.ts +0 -1
  125. package/dist/types/components/tabs/model.d.ts +2 -2
  126. package/dist/types/components/tabs/tabs.d.ts +1 -2
  127. package/dist/types/components/tooltip/tooltip.d.ts +2 -0
  128. package/dist/types/components.d.ts +4 -4
  129. package/dist/types/stencil-public-runtime.d.ts +0 -4
  130. package/dist/vscode.html-custom-data.json +20 -20
  131. package/dist/web-types.json +43 -50
  132. package/package.json +4 -4
  133. package/dist/db-ux/p-05XnVETo.js +0 -2
  134. package/dist/db-ux/p-08146a65.entry.js +0 -1
  135. package/dist/db-ux/p-146365b4.entry.js +0 -1
  136. package/dist/db-ux/p-1975c375.entry.js +0 -1
  137. package/dist/db-ux/p-1e76ee94.entry.js +0 -1
  138. package/dist/db-ux/p-2c0bd1d8.entry.js +0 -1
  139. package/dist/db-ux/p-47b821f7.entry.js +0 -1
  140. package/dist/db-ux/p-53aed67f.entry.js +0 -1
  141. package/dist/db-ux/p-5e8d052f.entry.js +0 -1
  142. package/dist/db-ux/p-8a0ca84b.entry.js +0 -1
  143. package/dist/db-ux/p-8d37aa19.entry.js +0 -1
  144. package/dist/db-ux/p-981d05c0.entry.js +0 -1
  145. package/dist/db-ux/p-d65ecc59.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @db-ux/wc-core-components
2
2
 
3
+ ## 4.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(SSR-compatibility): Implement framework-specific `useId` for UUID generation in React and Vue outputs - [see commit 1073c46](https://github.com/db-ux-design-system/core-web/commit/1073c469a20bf1346f150c00364ee1aeab7643d0)
8
+
9
+ - fix: issue with DBInput not working properly with `datalist` and `type="time"` - [see commit 72ccb09](https://github.com/db-ux-design-system/core-web/commit/72ccb09d1304aec894b4fde27624f90029efec9d)
10
+
3
11
  ## 4.4.1
4
12
 
5
13
  ### Patch Changes
@@ -1,14 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
4
- var constants = require('./constants-bMY2_d8A.js');
3
+ var index = require('./index-CEqZnn9s.js');
5
4
  var index$1 = require('./index-CsHqnQII.js');
6
5
 
7
6
  const DBAccordionItem = class {
8
7
  constructor(hostRef) {
9
8
  index.registerInstance(this, hostRef);
10
9
  this.toggle = index.createEvent(this, "toggle");
11
- this._id = constants.DEFAULT_ID;
12
10
  this._open = false;
13
11
  this._name = undefined;
14
12
  this.initialized = false;
@@ -80,7 +78,6 @@ const DBAccordionItem = class {
80
78
  }
81
79
  componentDidLoad() {
82
80
  this.enableAttributePassing(this._ref, "db-accordion-item");
83
- this._id = this.id || "accordion-item-" + index$1.uuid();
84
81
  if (this.defaultOpen) {
85
82
  this._open = this.defaultOpen;
86
83
  }
@@ -89,9 +86,9 @@ const DBAccordionItem = class {
89
86
  this.watch1Fn();
90
87
  }
91
88
  render() {
92
- return (index.h("li", { key: '8d83cc801cb95a73fc14fd6498c243f5c6afa22b', class: index$1.cls("db-accordion-item", this.className), id: this._id }, index.h("details", { key: '34273cd5211ae03c006350b9c7537fced121a7a2', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
89
+ return (index.h("li", { key: 'c2a0b702c0e173c96208dca96194f3f36ce5e417', class: index$1.cls("db-accordion-item", this.className), id: this.id }, index.h("details", { key: '7d396568c8cc585f5f05c24857168afbc3d639f7', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
93
90
  this._ref = el;
94
- }, name: this._name, open: this._open }, index.h("summary", { key: 'ec28c1a939f3cabab7b6b842fc46620e55940e6a', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '6934f2e25c3343e7d20c8fac47410bafe05b750c' }, this.text ? this.text : index.h("slot", null)))));
91
+ }, name: this._name, open: this._open }, index.h("summary", { key: 'b4ef438974813de3761dc6f3a59add84bfe63b4c', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '9087f0e04a68ec016e80b793f442ab02fd4316a9' }, this.text ? this.text : index.h("slot", null)))));
95
92
  }
96
93
  static get watchers() { return {
97
94
  "_ref": [{
@@ -1,13 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
4
- var constants = require('./constants-bMY2_d8A.js');
3
+ var index = require('./index-CEqZnn9s.js');
5
4
  var index$1 = require('./index-CsHqnQII.js');
6
5
 
7
6
  const DBAccordion = class {
8
7
  constructor(hostRef) {
9
8
  index.registerInstance(this, hostRef);
10
- this._id = constants.DEFAULT_ID;
11
9
  this._name = "";
12
10
  this.initialized = false;
13
11
  this._initOpenIndexDone = false;
@@ -67,9 +65,7 @@ const DBAccordion = class {
67
65
  }
68
66
  }
69
67
  else {
70
- if (this._name !== this._id && this._id) {
71
- this._name = this._id;
72
- }
68
+ this._name = `accordion-${index$1.uuid()}`;
73
69
  }
74
70
  }
75
71
  else {
@@ -122,7 +118,6 @@ const DBAccordion = class {
122
118
  }
123
119
  componentDidLoad() {
124
120
  this.enableAttributePassing(this._ref, "db-accordion");
125
- this._id = this.id || "accordion-" + index$1.uuid();
126
121
  this.initialized = true;
127
122
  this._initOpenIndexDone = true;
128
123
  this.watch0Fn();
@@ -131,9 +126,9 @@ const DBAccordion = class {
131
126
  }
132
127
  render() {
133
128
  var _a;
134
- return (index.h("ul", { key: '91f6c44d0b30b23d247af72e0eefd7629db29a36', class: index$1.cls("db-accordion", this.className), ref: (el) => {
129
+ return (index.h("ul", { key: '8b685b2a23ec00359a75ae143121c023d86a5eb5', class: index$1.cls("db-accordion", this.className), ref: (el) => {
135
130
  this._ref = el;
136
- }, id: this._id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
131
+ }, id: this.id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
137
132
  ? (_a = this.convertItems()) === null || _a === void 0 ? void 0 : _a.map((item, index$1) => (index.h("db-accordion-item", { key: `accordion-item-${index$1}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
138
133
  : null));
139
134
  }
@@ -147,9 +142,6 @@ const DBAccordion = class {
147
142
  "behavior": [{
148
143
  "watch0": 0
149
144
  }],
150
- "_id": [{
151
- "watch0": 0
152
- }],
153
145
  "_ref": [{
154
146
  "watch1": 0
155
147
  }, {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBButton = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBCard = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var formComponents = require('./form-components-LsqVohyb.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
  var constants = require('./constants-bMY2_d8A.js');
6
6
  var formComponents = require('./form-components-LsqVohyb.js');
@@ -102,7 +102,6 @@ const DBCustomSelectListItem = class {
102
102
  constructor(hostRef) {
103
103
  index.registerInstance(this, hostRef);
104
104
  this.change = index.createEvent(this, "change");
105
- this._id = undefined;
106
105
  this.hasDivider = false;
107
106
  }
108
107
  handleChange(event) {
@@ -156,18 +155,16 @@ const DBCustomSelectListItem = class {
156
155
  this.watch0Fn();
157
156
  }
158
157
  componentDidLoad() {
159
- var _a;
160
158
  this.enableAttributePassing(this._ref, "db-custom-select-list-item");
161
- this._id = (_a = this.id) !== null && _a !== void 0 ? _a : `custom-select-list-item-${index$1.uuid()}`;
162
159
  this.watch0Fn();
163
160
  }
164
161
  render() {
165
- return (index.h("li", { key: 'd94821da8bf1842933f6518079c9e463459bed2b', class: index$1.cls("db-custom-select-list-item", this.className, {
162
+ return (index.h("li", { key: '1155e389f33c440e04b5e7ca71732d108925e2cd', class: index$1.cls("db-custom-select-list-item", this.className, {
166
163
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
167
164
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
168
165
  }), ref: (el) => {
169
166
  this._ref = el;
170
- }, id: this._id, "data-divider": index$1.getBooleanAsString(this.hasDivider) }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : index.h("slot", null))) : (index.h("span", null, this.groupTitle))));
167
+ }, id: this.id, "data-divider": index$1.getBooleanAsString(this.hasDivider) }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : index.h("slot", null))) : (index.h("span", null, this.groupTitle))));
171
168
  }
172
169
  static get watchers() { return {
173
170
  "isGroupTitle": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBCustomSelectFormField = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var documentClickListener = require('./document-click-listener-Bb3Tinb8.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBDivider = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var navigation = require('./navigation-DauGE-qj.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBIcon = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBInfotext = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBLink = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var navigation = require('./navigation-DauGE-qj.js');
@@ -15,7 +15,6 @@ const DBNavigationItem = class {
15
15
  this.hasSubNavigation = true;
16
16
  this.isSubNavigationExpanded = false;
17
17
  this.autoClose = false;
18
- this.subNavigationId = "sub-navigation-" + index$1.uuid();
19
18
  this.navigationItemSafeTriangle = undefined;
20
19
  }
21
20
  handleNavigationItemClick(event) {
@@ -108,9 +107,9 @@ const DBNavigationItem = class {
108
107
  }
109
108
  render() {
110
109
  var _a;
111
- return (index.h("li", { key: 'd00b7b4852a729301d545abaf1a65cd3e0cdcee7', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
110
+ return (index.h("li", { key: 'd9127a5065dc034116325e95f39c9d2d9844722e', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
112
111
  this._ref = el;
113
- }, 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": 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, id: this.subNavigationId, 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) }, (_a = this.backButtonText) !== null && _a !== void 0 ? _a : constants.DEFAULT_BACK))) : null, index.h("slot", { name: "subNavigation" })))) : null));
112
+ }, 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": 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) }, (_a = this.backButtonText) !== null && _a !== void 0 ? _a : constants.DEFAULT_BACK))) : null, index.h("slot", { name: "subNavigation" })))) : null));
114
113
  }
115
114
  static get watchers() { return {
116
115
  "subNavigationExpanded": [{
@@ -1,13 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
4
- var constants = require('./constants-bMY2_d8A.js');
3
+ var index = require('./index-CEqZnn9s.js');
5
4
  var index$1 = require('./index-CsHqnQII.js');
6
5
 
7
6
  const DBNavigation = class {
8
7
  constructor(hostRef) {
9
8
  index.registerInstance(this, hostRef);
10
- this._id = constants.DEFAULT_ID;
11
9
  }
12
10
  /**
13
11
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
@@ -43,12 +41,11 @@ const DBNavigation = class {
43
41
  }
44
42
  componentDidLoad() {
45
43
  this.enableAttributePassing(this._ref, "db-navigation");
46
- this._id = this.id || "navigation-" + index$1.uuid();
47
44
  }
48
45
  render() {
49
- return (index.h("nav", { key: 'ed27159179b89985cbf0711be7dc494ca820cf75', class: index$1.cls("db-navigation", this.className), ref: (el) => {
46
+ return (index.h("nav", { key: 'de11910f2ac8e29cb5ee23aaf0e0d38cf9b5d4e8', class: index$1.cls("db-navigation", this.className), ref: (el) => {
50
47
  this._ref = el;
51
- }, id: this._id }, index.h("menu", { key: '6aa518535f6c802abec874a174d6e8d028572269' }, index.h("slot", { key: '2307ee2093cf4bcec3c8f4b8d5e8e88a8d78cf08' }))));
48
+ }, id: this.id }, index.h("menu", { key: '414afdaa58874f959a2ed49aefdaa672894806c3' }, index.h("slot", { key: '703407fdf69a8dfd133779c864a7016972f1a3e5' }))));
52
49
  }
53
50
  };
54
51
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBPage = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
  var documentScrollListener = require('./document-scroll-listener-unypEU42.js');
6
6
  var floatingComponents = require('./floating-components-ogUqz72V.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
  var formComponents = require('./form-components-LsqVohyb.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBSection = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var formComponents = require('./form-components-LsqVohyb.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBStack = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var formComponents = require('./form-components-LsqVohyb.js');
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
- var constants = require('./constants-bMY2_d8A.js');
6
5
 
7
6
  const DBTabItem = class {
8
7
  constructor(hostRef) {
@@ -134,7 +133,6 @@ const DBTabItem = class {
134
133
  const DBTabList = class {
135
134
  constructor(hostRef) {
136
135
  index.registerInstance(this, hostRef);
137
- this._id = constants.DEFAULT_ID;
138
136
  }
139
137
  /**
140
138
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
@@ -170,12 +168,11 @@ const DBTabList = class {
170
168
  }
171
169
  componentDidLoad() {
172
170
  this.enableAttributePassing(this._ref, "db-tab-list");
173
- this._id = this.id || "tab-list-" + index$1.uuid();
174
171
  }
175
172
  render() {
176
- return (index.h("div", { key: '4ef0a69cacaafb2205ebfea7826c3c1f64a84411', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
173
+ return (index.h("div", { key: 'a2d1cf85f398ee76b560e9aa1c7f84871d752432', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
177
174
  this._ref = el;
178
- }, id: this._id }, index.h("ul", { key: 'cfdccc43bd366eb9c71137918a8ca92fd6a81b69', role: "tablist" }, index.h("slot", { key: 'c09711c4b398a3d6b26d62c87aaf0f050af32bdb' }))));
175
+ }, id: this.id }, index.h("ul", { key: '03498821ff3ff623e16313782c67384e7708eecf', role: "tablist" }, index.h("slot", { key: '10eba579352100e449568b7ec38e4cc73efb0463' }))));
179
176
  }
180
177
  };
181
178
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var index$1 = require('./index-CsHqnQII.js');
5
5
 
6
6
  const DBTabs = class {
@@ -8,7 +8,6 @@ const DBTabs = class {
8
8
  index.registerInstance(this, hostRef);
9
9
  this.indexChange = index.createEvent(this, "indexChange");
10
10
  this.tabSelect = index.createEvent(this, "tabSelect");
11
- this._id = "tabs-" + index$1.uuid();
12
11
  this._name = "";
13
12
  this.initialized = false;
14
13
  this.showScrollLeft = false;
@@ -194,7 +193,6 @@ const DBTabs = class {
194
193
  }
195
194
  componentDidLoad() {
196
195
  this.enableAttributePassing(this._ref, "db-tabs");
197
- this._id = this.id || this._id;
198
196
  this._name = `tabs-${this.name || index$1.uuid()}`;
199
197
  this.initialized = true;
200
198
  this.watch0Fn();
@@ -206,10 +204,10 @@ const DBTabs = class {
206
204
  }
207
205
  render() {
208
206
  var _a, _b, _c, _d;
209
- return (index.h("div", { key: 'a53c2737f8238bbe266baa7d6e3f90649c52512a', class: index$1.cls("db-tabs", this.className), ref: (el) => {
207
+ return (index.h("div", { key: '0ba78eeed24756c5a55acef3080c4d66db43139b', class: index$1.cls("db-tabs", this.className), ref: (el) => {
210
208
  this._ref = el;
211
- }, id: this._id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_a = this.alignment) !== null && _a !== void 0 ? _a : "start", "data-width": (_b = this.width) !== null && _b !== void 0 ? _b : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (index.h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (index.h(index.Fragment, null, index.h("db-tab-list", null, (_c = this.convertTabs()) === null || _c === void 0 ? void 0 : _c.map((tab, index$1) => (index.h("db-tab-item", { key: this.name + "tab-item" + index$1, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_d = this.convertTabs()) === null || _d === void 0 ? void 0 :
212
- _d.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: 'e8cf7f0c576b73cdd459ab4cf1f07f14c5ed1657' })));
209
+ }, id: this.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_a = this.alignment) !== null && _a !== void 0 ? _a : "start", "data-width": (_b = this.width) !== null && _b !== void 0 ? _b : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (index.h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (index.h(index.Fragment, null, index.h("db-tab-list", null, (_c = this.convertTabs()) === null || _c === void 0 ? void 0 : _c.map((tab, index$1) => (index.h("db-tab-item", { key: this.name + "tab-item" + index$1, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_d = this.convertTabs()) === null || _d === void 0 ? void 0 :
210
+ _d.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: '30e17d6cbc5899d97c5f1ffc73e4c09ccbff1dc1' })));
213
211
  }
214
212
  static get watchers() { return {
215
213
  "_ref": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var formComponents = require('./form-components-LsqVohyb.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bi4QN5oK.js');
3
+ var index = require('./index-CEqZnn9s.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-CsHqnQII.js');
6
6
  var documentScrollListener = require('./document-scroll-listener-unypEU42.js');
@@ -99,6 +99,14 @@ const DBTooltip = class {
99
99
  }
100
100
  }
101
101
  watch0Fn() {
102
+ if (this.id) {
103
+ this._id = this.id;
104
+ }
105
+ }
106
+ watch0() {
107
+ this.watch0Fn();
108
+ }
109
+ watch1Fn() {
102
110
  if (this._ref && this.initialized && this._id) {
103
111
  const parent = this.getParent();
104
112
  if (parent) {
@@ -128,27 +136,34 @@ const DBTooltip = class {
128
136
  this.initialized = false;
129
137
  }
130
138
  }
131
- watch0() {
132
- this.watch0Fn();
139
+ watch1() {
140
+ this.watch1Fn();
133
141
  }
134
142
  componentDidLoad() {
135
143
  this.enableAttributePassing(this._ref, "db-tooltip");
136
144
  this._id = this.id || "tooltip-" + index$1.uuid();
137
145
  this.initialized = true;
138
146
  this.watch0Fn();
147
+ this.watch1Fn();
139
148
  }
140
149
  render() {
141
150
  var _a, _b;
142
- return (index.h("i", { key: '4bbec1f80b0912b870b2382cf63c3e1cba11b5e3', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
151
+ return (index.h("i", { key: '51ba2dd002f118a398f57615af7ce30b2e1e93d9', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
143
152
  this._ref = el;
144
- }, id: this._id, "data-emphasis": this.emphasis, "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '7bcf79fa968c0a8bef84dd49c71f307c3094072c' })));
153
+ }, id: this._id, "data-emphasis": this.emphasis, "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '0edebe953574e4949fc3ead41f283d79a5bf946f' })));
145
154
  }
146
155
  static get watchers() { return {
147
- "_ref": [{
156
+ "id": [{
148
157
  "watch0": 0
149
158
  }],
159
+ "_ref": [{
160
+ "watch1": 0
161
+ }],
150
162
  "initialized": [{
151
- "watch0": 0
163
+ "watch1": 0
164
+ }],
165
+ "_id": [{
166
+ "watch1": 0
152
167
  }]
153
168
  }; }
154
169
  };