@siemens/ix 1.3.0 → 1.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/cjs/{index-17eb8998.js → index-f4b8e6ee.js} +54 -1
  2. package/dist/cjs/index.cjs.js +2 -2
  3. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
  4. package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
  5. package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
  6. package/dist/cjs/ix-blind.cjs.entry.js +2 -2
  7. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ix-button.cjs.entry.js +1 -1
  9. package/dist/cjs/ix-category-filter.cjs.entry.js +85 -116
  10. package/dist/cjs/ix-chip.cjs.entry.js +1 -1
  11. package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
  12. package/dist/cjs/ix-date-picker_2.cjs.entry.js +4 -4
  13. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  14. package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
  16. package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
  17. package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ix-event-list_2.cjs.entry.js +2 -2
  19. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
  20. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
  21. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ix-icon-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ix-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
  28. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +2 -2
  29. package/dist/cjs/ix-menu_9.cjs.entry.js +3 -3
  30. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  32. package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
  33. package/dist/cjs/ix-pill.cjs.entry.js +1 -1
  34. package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
  35. package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
  36. package/dist/cjs/ix-split-button_2.cjs.entry.js +6 -4
  37. package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
  39. package/dist/cjs/ix-tile.cjs.entry.js +1 -1
  40. package/dist/cjs/ix-toast_2.cjs.entry.js +1 -1
  41. package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
  42. package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
  43. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  44. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  45. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
  46. package/dist/cjs/loader.cjs.js +2 -2
  47. package/dist/cjs/{modal-dda2f6be.js → modal-2d0f9191.js} +1 -1
  48. package/dist/cjs/my-component.cjs.entry.js +1 -1
  49. package/dist/cjs/siemens-ix.cjs.js +2 -2
  50. package/dist/collection/components/application-header/application-header.css +3 -1
  51. package/dist/collection/components/blind/blind.css +0 -1
  52. package/dist/collection/components/category-filter/category-filter.css +31 -44
  53. package/dist/collection/components/category-filter/category-filter.js +85 -131
  54. package/dist/collection/components/date-picker/date-picker.js +3 -3
  55. package/dist/collection/components/event-list-item/event-list-item.css +4 -0
  56. package/dist/collection/components/map-navigation/map-navigation.css +2 -1
  57. package/dist/collection/components/menu-about-news/menu-about-news.css +10 -14
  58. package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
  59. package/dist/collection/components/split-button/split-button.css +10 -1
  60. package/dist/collection/components/split-button/split-button.js +4 -2
  61. package/dist/components/application-header.js +1 -1
  62. package/dist/components/date-picker.js +3 -3
  63. package/dist/components/ix-blind.js +1 -1
  64. package/dist/components/ix-category-filter.js +94 -123
  65. package/dist/components/ix-event-list-item.js +1 -1
  66. package/dist/components/ix-map-navigation.js +1 -1
  67. package/dist/components/ix-menu-about-news.js +2 -2
  68. package/dist/components/ix-split-button.js +5 -3
  69. package/dist/esm/{index-6f4f3582.js → index-6b660a23.js} +54 -1
  70. package/dist/esm/index.js +2 -2
  71. package/dist/esm/ix-animated-tab_2.entry.js +1 -1
  72. package/dist/esm/ix-application-header.entry.js +2 -2
  73. package/dist/esm/ix-basic-navigation.entry.js +1 -1
  74. package/dist/esm/ix-blind.entry.js +2 -2
  75. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  76. package/dist/esm/ix-button.entry.js +1 -1
  77. package/dist/esm/ix-category-filter.entry.js +85 -116
  78. package/dist/esm/ix-chip.entry.js +1 -1
  79. package/dist/esm/ix-counter-pill.entry.js +1 -1
  80. package/dist/esm/ix-date-picker_2.entry.js +4 -4
  81. package/dist/esm/ix-date-time-card.entry.js +1 -1
  82. package/dist/esm/ix-datetime-picker.entry.js +1 -1
  83. package/dist/esm/ix-drawer.entry.js +1 -1
  84. package/dist/esm/ix-dropdown-button.entry.js +1 -1
  85. package/dist/esm/ix-dropdown_2.entry.js +1 -1
  86. package/dist/esm/ix-event-list_2.entry.js +2 -2
  87. package/dist/esm/ix-expanding-search.entry.js +1 -1
  88. package/dist/esm/ix-filter-chip.entry.js +1 -1
  89. package/dist/esm/ix-flip-tile_2.entry.js +1 -1
  90. package/dist/esm/ix-group-context-menu.entry.js +1 -1
  91. package/dist/esm/ix-group_3.entry.js +1 -1
  92. package/dist/esm/ix-icon-button.entry.js +1 -1
  93. package/dist/esm/ix-icon.entry.js +1 -1
  94. package/dist/esm/ix-input-group.entry.js +1 -1
  95. package/dist/esm/ix-kpi.entry.js +1 -1
  96. package/dist/esm/ix-map-navigation_2.entry.js +2 -2
  97. package/dist/esm/ix-menu_9.entry.js +3 -3
  98. package/dist/esm/ix-message-bar.entry.js +1 -1
  99. package/dist/esm/ix-modal-example.entry.js +1 -1
  100. package/dist/esm/ix-modal_2.entry.js +2 -2
  101. package/dist/esm/ix-pill.entry.js +1 -1
  102. package/dist/esm/ix-select_2.entry.js +1 -1
  103. package/dist/esm/ix-spinner.entry.js +1 -1
  104. package/dist/esm/ix-split-button_2.entry.js +6 -4
  105. package/dist/esm/ix-tab-item.entry.js +1 -1
  106. package/dist/esm/ix-tabs.entry.js +1 -1
  107. package/dist/esm/ix-tile.entry.js +1 -1
  108. package/dist/esm/ix-toast_2.entry.js +1 -1
  109. package/dist/esm/ix-toggle.entry.js +1 -1
  110. package/dist/esm/ix-tree_2.entry.js +1 -1
  111. package/dist/esm/ix-upload.entry.js +1 -1
  112. package/dist/esm/ix-validation-tooltip.entry.js +1 -1
  113. package/dist/esm/ix-workflow-step_2.entry.js +1 -1
  114. package/dist/esm/loader.js +2 -2
  115. package/dist/esm/{modal-df0a62f2.js → modal-3618eb44.js} +1 -1
  116. package/dist/esm/my-component.entry.js +1 -1
  117. package/dist/esm/siemens-ix.js +2 -2
  118. package/dist/siemens-ix/index.esm.js +1 -1
  119. package/dist/siemens-ix/{p-4b170382.entry.js → p-082bbe13.entry.js} +1 -1
  120. package/dist/siemens-ix/{p-418e2d14.entry.js → p-098e22c3.entry.js} +1 -1
  121. package/dist/siemens-ix/{p-43616759.entry.js → p-0bc4408b.entry.js} +1 -1
  122. package/dist/siemens-ix/{p-7f842cdc.entry.js → p-0d619f3e.entry.js} +1 -1
  123. package/dist/siemens-ix/{p-2e24ae23.entry.js → p-10158414.entry.js} +1 -1
  124. package/dist/siemens-ix/{p-3663f989.entry.js → p-122cf38d.entry.js} +1 -1
  125. package/dist/siemens-ix/{p-e7621b0a.entry.js → p-1d48ce36.entry.js} +1 -1
  126. package/dist/siemens-ix/{p-2bd88760.entry.js → p-2c8e4dd1.entry.js} +1 -1
  127. package/dist/siemens-ix/{p-e2925222.entry.js → p-3624a41c.entry.js} +1 -1
  128. package/dist/siemens-ix/{p-218de283.entry.js → p-3c754d90.entry.js} +1 -1
  129. package/dist/siemens-ix/{p-ea333007.entry.js → p-3cc4df65.entry.js} +1 -1
  130. package/dist/siemens-ix/{p-4fcb5f2b.entry.js → p-404e81d2.entry.js} +1 -1
  131. package/dist/siemens-ix/p-4ac5d916.entry.js +1 -0
  132. package/dist/siemens-ix/{p-f7be9635.entry.js → p-50ed9d54.entry.js} +1 -1
  133. package/dist/siemens-ix/{p-23d79e3d.entry.js → p-55663fd5.entry.js} +1 -1
  134. package/dist/siemens-ix/{p-eb150313.entry.js → p-560cfce8.entry.js} +1 -1
  135. package/dist/siemens-ix/{p-18d02e6f.entry.js → p-5890faf9.entry.js} +1 -1
  136. package/dist/siemens-ix/{p-eed28e55.entry.js → p-60b90da6.entry.js} +1 -1
  137. package/dist/siemens-ix/p-66074788.js +2 -0
  138. package/dist/siemens-ix/{p-a5fa7ae5.entry.js → p-6637ae65.entry.js} +1 -1
  139. package/dist/siemens-ix/{p-33283dbf.entry.js → p-67cf5cd4.entry.js} +1 -1
  140. package/dist/siemens-ix/{p-c3e90c06.entry.js → p-6be65050.entry.js} +1 -1
  141. package/dist/siemens-ix/p-6df18451.entry.js +1 -0
  142. package/dist/siemens-ix/{p-8b4e4718.entry.js → p-70bd3dbf.entry.js} +1 -1
  143. package/dist/siemens-ix/{p-fecf0ade.entry.js → p-72cfbc1c.entry.js} +1 -1
  144. package/dist/siemens-ix/p-783ce87b.entry.js +1 -0
  145. package/dist/siemens-ix/{p-dec6114f.js → p-8c3bfc2f.js} +1 -1
  146. package/dist/siemens-ix/{p-d0bb8225.entry.js → p-8c53c142.entry.js} +1 -1
  147. package/dist/siemens-ix/{p-8a7141a6.entry.js → p-921da56a.entry.js} +1 -1
  148. package/dist/siemens-ix/{p-cc0f6f6b.entry.js → p-9299617f.entry.js} +1 -1
  149. package/dist/siemens-ix/{p-592f1ed3.entry.js → p-9c8c835c.entry.js} +1 -1
  150. package/dist/siemens-ix/{p-a88618e3.entry.js → p-a3a59238.entry.js} +1 -1
  151. package/dist/siemens-ix/{p-b3d00feb.entry.js → p-ab35eaee.entry.js} +1 -1
  152. package/dist/siemens-ix/{p-6fe3bb9c.entry.js → p-ae35c07f.entry.js} +1 -1
  153. package/dist/siemens-ix/{p-03d38416.entry.js → p-b46155b7.entry.js} +1 -1
  154. package/dist/siemens-ix/{p-b242bd39.entry.js → p-b7b753cc.entry.js} +1 -1
  155. package/dist/siemens-ix/{p-5631ae88.entry.js → p-b9a66b74.entry.js} +1 -1
  156. package/dist/siemens-ix/{p-9b5290d4.entry.js → p-c4568016.entry.js} +1 -1
  157. package/dist/siemens-ix/p-d7618223.entry.js +1 -0
  158. package/dist/siemens-ix/{p-67eb9d59.entry.js → p-e51a110f.entry.js} +1 -1
  159. package/dist/siemens-ix/p-e652328d.entry.js +1 -0
  160. package/dist/siemens-ix/{p-65e61684.entry.js → p-e82905f0.entry.js} +1 -1
  161. package/dist/siemens-ix/{p-a6f4cfc6.entry.js → p-f05b01a4.entry.js} +1 -1
  162. package/dist/siemens-ix/{p-ab7949ff.entry.js → p-f1a1e8ee.entry.js} +1 -1
  163. package/dist/siemens-ix/{p-72f851ae.entry.js → p-f3cde62f.entry.js} +1 -1
  164. package/dist/siemens-ix/{p-150d7a02.entry.js → p-fa262af7.entry.js} +1 -1
  165. package/dist/siemens-ix/siemens-ix.css +2045 -1789
  166. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  167. package/dist/types/components/category-filter/category-filter.d.ts +10 -15
  168. package/dist/types/components.d.ts +2 -2
  169. package/package.json +1 -1
  170. package/scss/components/_buttons.scss +1 -1
  171. package/scss/components/_checkboxes.scss +2 -2
  172. package/scss/components/_forms.scss +1 -1
  173. package/scss/components/_radiobuttons.scss +2 -2
  174. package/scss/components/_shadows.scss +12 -24
  175. package/scss/ix.scss +1 -2
  176. package/scss/theme/classic-dark/_border.scss +35 -0
  177. package/scss/theme/classic-dark/_borderRadius.scss +24 -0
  178. package/scss/theme/classic-dark/_borderWidth.scss +18 -0
  179. package/scss/theme/classic-dark/_boxShadow.scss +19 -0
  180. package/scss/theme/classic-dark/_color.scss +860 -0
  181. package/scss/theme/classic-dark/_fontFamilies.scss +8 -0
  182. package/scss/theme/classic-dark/_fontSizes.scss +13 -0
  183. package/scss/theme/classic-dark/_fontWeights.scss +9 -0
  184. package/scss/theme/classic-dark/_index.scss +16 -0
  185. package/scss/theme/classic-dark/_lineHeights.scss +18 -0
  186. package/scss/theme/classic-dark/_other.scss +16 -0
  187. package/scss/theme/classic-dark/_sizing.scss +16 -0
  188. package/scss/theme/classic-dark/_spacing.scss +9 -0
  189. package/scss/theme/classic-dark/_typography.scss +23 -0
  190. package/scss/theme/classic-light/_border.scss +35 -0
  191. package/scss/theme/classic-light/_borderRadius.scss +24 -0
  192. package/scss/theme/classic-light/_borderWidth.scss +18 -0
  193. package/scss/theme/classic-light/_boxShadow.scss +19 -0
  194. package/scss/theme/classic-light/_color.scss +860 -0
  195. package/scss/theme/classic-light/_fontFamilies.scss +8 -0
  196. package/scss/theme/classic-light/_fontSizes.scss +13 -0
  197. package/scss/theme/classic-light/_fontWeights.scss +9 -0
  198. package/scss/theme/classic-light/_index.scss +16 -0
  199. package/scss/theme/classic-light/_lineHeights.scss +18 -0
  200. package/scss/theme/classic-light/_other.scss +16 -0
  201. package/scss/theme/classic-light/_sizing.scss +16 -0
  202. package/scss/theme/classic-light/_spacing.scss +9 -0
  203. package/scss/theme/classic-light/_typography.scss +23 -0
  204. package/dist/siemens-ix/p-05c16b94.js +0 -2
  205. package/dist/siemens-ix/p-0e357d27.entry.js +0 -1
  206. package/dist/siemens-ix/p-2bc72119.entry.js +0 -1
  207. package/dist/siemens-ix/p-5bbe9943.entry.js +0 -1
  208. package/dist/siemens-ix/p-c993560f.entry.js +0 -1
  209. package/dist/siemens-ix/p-d20119c1.entry.js +0 -1
  210. package/scss/theme/_define-theme-colors.scss +0 -22
  211. package/scss/theme/_define-theme-variable.scss +0 -12
  212. package/scss/theme/_define-theme.scss +0 -36
  213. package/scss/theme/_static-colors.scss +0 -19
  214. package/scss/theme/classic-dark/_sizes.scss +0 -66
  215. package/scss/theme/classic-dark/_variables.scss +0 -827
  216. package/scss/theme/classic-dark/index.scss +0 -15
  217. package/scss/theme/classic-light/_sizes.scss +0 -66
  218. package/scss/theme/classic-light/_variables.scss +0 -829
  219. package/scss/theme/classic-light/index.scss +0 -15
@@ -7,23 +7,17 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  import { h, Host, } from '@stencil/core';
10
- import { convertToRemString } from '../utils/rwd.util';
11
10
  import { InputState } from './input-state';
12
11
  import { LogicalFilterOperator } from './logical-filter-operator';
13
12
  export class CategoryFilter {
14
13
  constructor() {
15
14
  this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
16
- this.documentClickCallback = this.handleDocumentClick.bind(this);
15
+ this.textInput = undefined;
17
16
  this.hasFocus = undefined;
18
- this.showCategorySelection = undefined;
19
17
  this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
20
18
  this.inputValue = undefined;
21
19
  this.category = undefined;
22
20
  this.filterTokens = [];
23
- this.offsetDropdownX = undefined;
24
- this.offsetDropdownY = undefined;
25
- this.maxHeightDropdown = undefined;
26
- this.maxWidthDropdown = undefined;
27
21
  this.initialState = undefined;
28
22
  this.filterState = undefined;
29
23
  this.placeholder = undefined;
@@ -40,25 +34,13 @@ export class CategoryFilter {
40
34
  watchFilterState(newValue) {
41
35
  this.setFilterState(newValue);
42
36
  }
43
- watchShowCategorySelection(newValue) {
44
- if (newValue) {
45
- document.addEventListener('click', this.documentClickCallback);
46
- }
47
- else {
48
- document.removeEventListener('click', this.documentClickCallback);
49
- }
50
- }
51
- setDropdownOffset() {
52
- const height = this.calculateDropdownHeight();
53
- this.maxHeightDropdown = convertToRemString(height);
54
- }
55
37
  componentDidLoad() {
56
38
  var _a, _b;
57
39
  if (this.initialState !== undefined) {
58
40
  this.setFilterState(this.initialState);
59
41
  }
60
42
  else if (this.filterState !== undefined) {
61
- this.setFilterState(this.filterState);
43
+ setTimeout(() => this.setFilterState(this.filterState));
62
44
  }
63
45
  (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.addEventListener('keydown', this.handleFormElementKeyDown.bind(this));
64
46
  (_b = this.formElement) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', (e) => e.preventDefault());
@@ -66,7 +48,6 @@ export class CategoryFilter {
66
48
  console.warn('Core UI category filter - unable to add event listeners to native input element');
67
49
  return;
68
50
  }
69
- this.textInput.addEventListener('click', () => (this.showCategorySelection = true));
70
51
  this.textInput.addEventListener('focusin', () => {
71
52
  this.hasFocus = true;
72
53
  });
@@ -75,7 +56,6 @@ export class CategoryFilter {
75
56
  this.inputValue = this.textInput.value;
76
57
  const inputState = new InputState(this.inputValue, this.category);
77
58
  this.inputChanged.emit(inputState);
78
- this.showCategorySelection = true;
79
59
  });
80
60
  this.textInput.addEventListener('keydown', this.handleInputElementKeyDown.bind(this));
81
61
  }
@@ -89,27 +69,27 @@ export class CategoryFilter {
89
69
  }
90
70
  this.emitFilterEvent();
91
71
  }
92
- handleDocumentClick(ev) {
93
- const target = ev.target;
94
- if (!this.hostElement.contains(target)) {
95
- this.closeDropdown();
96
- }
97
- }
98
72
  closeDropdown() {
99
- this.showCategorySelection = false;
100
- this.category = undefined;
73
+ this.hostElement.querySelector('ix-dropdown').show = false;
101
74
  }
102
75
  handleFormElementKeyDown(e) {
103
76
  switch (e.code) {
104
77
  case 'Enter':
105
78
  case 'NumpadEnter':
106
- if (this.category ||
107
- document.activeElement.classList.contains('plain-text-suggestion')) {
108
- const token = document.activeElement.getAttribute('data-id');
109
- this.addToken(token, this.category);
79
+ if (!document.activeElement.classList.contains('dropdown-item')) {
80
+ return;
81
+ }
82
+ const token = document.activeElement.getAttribute('data-id');
83
+ if (this.hasCategorySelection()) {
84
+ if (this.category) {
85
+ this.addToken(token, this.category);
86
+ }
87
+ else if (document.activeElement.classList.contains('category-item-id')) {
88
+ this.selectCategory(token);
89
+ }
110
90
  }
111
- else if (document.activeElement.classList.contains('category-item-id')) {
112
- this.selectCategory(document.activeElement.getAttribute('data-id'));
91
+ else {
92
+ this.addToken(token);
113
93
  }
114
94
  e.preventDefault();
115
95
  break;
@@ -203,6 +183,9 @@ export class CategoryFilter {
203
183
  this.textInput.value = '';
204
184
  this.inputValue = '';
205
185
  this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
186
+ if (this.category) {
187
+ this.category = undefined;
188
+ }
206
189
  this.isScrollStateDirty = true;
207
190
  this.textInput.focus();
208
191
  if (emitEvent) {
@@ -223,43 +206,17 @@ export class CategoryFilter {
223
206
  }
224
207
  return ids;
225
208
  }
226
- getCategoryLables() {
227
- return this.getCategoryIds().map((id) => this.categories[id].label);
228
- }
229
209
  selectCategory(category) {
230
210
  this.category = category;
231
211
  this.textInput.value = '';
232
212
  this.inputValue = '';
233
213
  this.textInput.focus();
234
214
  }
235
- openCategorySelection() {
236
- this.showCategorySelection = true;
237
- }
238
215
  resetFilter() {
239
216
  this.closeDropdown();
240
217
  this.filterTokens = [];
241
218
  this.emitFilterEvent();
242
219
  }
243
- calculateDropdownX() {
244
- var _a;
245
- if (!this.textInput) {
246
- return 0;
247
- }
248
- const xInput = this.textInput.getBoundingClientRect().x;
249
- const xFrom = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x;
250
- return xInput - xFrom;
251
- }
252
- calculateDropdownY() {
253
- if (!this.textInput) {
254
- return 32;
255
- }
256
- return this.hostElement.getBoundingClientRect().height;
257
- }
258
- calculateDropdownHeight(top = 32) {
259
- const hostTop = this.hostElement.getBoundingClientRect().top;
260
- const offset = hostTop + top;
261
- return window.innerHeight - offset;
262
- }
263
220
  filterMultiples(value) {
264
221
  if (this.repeatCategories) {
265
222
  return true;
@@ -296,23 +253,68 @@ export class CategoryFilter {
296
253
  const label = (_c = (_b = (_a = this.categories[value.id]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : this.nonSelectableCategories[value.id]) !== null && _c !== void 0 ? _c : value.id;
297
254
  return `${label} ${operatorString} ${value.value}`;
298
255
  }
299
- componentDidRender() {
300
- const newOffsetX = this.calculateDropdownX();
301
- const newOffsetY = this.calculateDropdownY();
302
- const newOffsetXRem = convertToRemString(newOffsetX);
303
- const newOffsetYRem = convertToRemString(newOffsetY);
304
- const maxWidthDropdown = this.hostElement.getBoundingClientRect().width - newOffsetX;
305
- const maxHeightDropdown = this.calculateDropdownHeight(newOffsetY);
306
- this.maxWidthDropdown = convertToRemString(maxWidthDropdown);
307
- this.maxHeightDropdown = convertToRemString(maxHeightDropdown);
308
- // This will throw a warning
309
- if (newOffsetXRem !== this.offsetDropdownX) {
310
- this.offsetDropdownX = newOffsetXRem;
256
+ getFilteredSuggestions() {
257
+ var _a, _b;
258
+ if (!((_a = this.suggestions) === null || _a === void 0 ? void 0 : _a.length)) {
259
+ return [];
311
260
  }
312
- // This will throw a warning
313
- if (newOffsetYRem !== this.offsetDropdownY) {
314
- this.offsetDropdownY = newOffsetYRem;
261
+ return (_b = this.suggestions) === null || _b === void 0 ? void 0 : _b.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value));
262
+ }
263
+ hasCategorySelection() {
264
+ return this.categories !== undefined;
265
+ }
266
+ displayDropdown() {
267
+ if (this.hasCategorySelection()) {
268
+ return true;
315
269
  }
270
+ if (this.suggestions !== undefined) {
271
+ return this.getFilteredSuggestions().length > 0;
272
+ }
273
+ return false;
274
+ }
275
+ renderPlainSuggestions() {
276
+ return (h("div", { class: "dropdown-item-container" }, this.getFilteredSuggestions().map((suggestion) => (h("button", { class: "dropdown-item", "data-id": suggestion, onClick: () => this.addToken(suggestion), key: suggestion, title: suggestion }, suggestion)))));
277
+ }
278
+ renderCategoryValues() {
279
+ var _a, _b;
280
+ return (h("div", { class: "dropdown-item-container" }, h("button", { class: "btn btn-invisible-secondary btn-icon btn-toggle-operator", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
281
+ ? '='
282
+ : '!='), h("div", { class: "dropdown-header" }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label), (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 :
283
+ _b.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("button", { class: "dropdown-item category-item-value", "data-id": id, title: id, key: id, onClick: () => this.addToken(id, this.category) }, `${this.categoryLogicalOperator === LogicalFilterOperator.EQUAL
284
+ ? '='
285
+ : '!='} ${id}`)))));
286
+ }
287
+ renderDropdownContent() {
288
+ if (this.hasCategorySelection()) {
289
+ if (this.category) {
290
+ return this.renderCategoryValues();
291
+ }
292
+ else {
293
+ return this.renderCategorySelection();
294
+ }
295
+ }
296
+ else
297
+ return this.renderPlainSuggestions();
298
+ }
299
+ renderCategorySelection() {
300
+ var _a;
301
+ return (h("div", { class: "dropdown-item-container" }, (_a = this.getCategoryIds()) === null || _a === void 0 ? void 0 : _a.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
302
+ var _a;
303
+ return (h("button", { class: "dropdown-item category-item category-item-id", "data-id": id, title: this.categories[id].label, key: id, onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
304
+ })));
305
+ }
306
+ getDropdownHeader() {
307
+ if (this.categories) {
308
+ if (this.category) {
309
+ return null;
310
+ }
311
+ else {
312
+ return this.labelCategories;
313
+ }
314
+ }
315
+ return this.i18nPlainText;
316
+ }
317
+ componentDidRender() {
316
318
  if (this.isScrollStateDirty) {
317
319
  if (!this.tmpDisableScrollIntoView) {
318
320
  this.textInput.scrollIntoView();
@@ -327,13 +329,13 @@ export class CategoryFilter {
327
329
  }, variant: "Secondary", ghost: true, oval: true, icon: "clear", size: "16", tabindex: "1" }));
328
330
  }
329
331
  render() {
330
- var _a, _b, _c, _d, _e, _f;
332
+ var _a;
331
333
  return (h(Host, null, h("form", { ref: (el) => (this.formElement = el) }, h("div", { class: {
332
334
  'form-control': true,
333
335
  'input-container': true,
334
336
  focus: this.hasFocus,
335
337
  'no-icon': this.hideIcon,
336
- } }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { class: {
338
+ } }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { key: value.toString(), class: {
337
339
  animate__animated: true,
338
340
  animate__fadein: true,
339
341
  } }, h("ix-filter-chip", { onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (h("li", { class: {
@@ -342,39 +344,7 @@ export class CategoryFilter {
342
344
  } }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
343
345
  'text-input': true,
344
346
  'hide-placeholder': this.category !== undefined,
345
- }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder, onFocus: () => this.openCategorySelection() }))), this.getResetButton())), h("div", { class: {
346
- 'category-selection-container': true,
347
- 'd-none': !this.showCategorySelection && this.category === undefined,
348
- }, style: {
349
- left: this.offsetDropdownX,
350
- top: this.offsetDropdownY,
351
- 'max-width': this.maxWidthDropdown,
352
- 'max-height': this.maxHeightDropdown,
353
- } }, h("div", { class: {
354
- 'd-none': !this.showCategorySelection || this.category !== undefined,
355
- } }, h("div", { class: {
356
- 'category-item-header': true,
357
- 'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
358
- } }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
359
- _b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
360
- var _a;
361
- return (h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
362
- })), h("div", { class: {
363
- 'd-none': this.category === undefined,
364
- } }, h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
365
- ? '='
366
- : '!='), this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
367
- ? ''
368
- : (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
369
- LogicalFilterOperator.EQUAL
370
- ? '='
371
- : '!='} ${id}`)))), h("div", { class: {
372
- 'category-item-header': true,
373
- 'd-none': this.category !== undefined ||
374
- this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
375
- } }, this.i18nPlainText), h("div", { class: {
376
- 'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
377
- } }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
347
+ }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder }))), this.getResetButton())), h("ix-dropdown", { closeBehavior: "outside", trigger: this.textInput, header: this.getDropdownHeader(), class: { 'd-none': !this.displayDropdown() } }, this.renderDropdownContent())));
378
348
  }
379
349
  static get is() { return "ix-category-filter"; }
380
350
  static get encapsulation() { return "scoped"; }
@@ -477,7 +447,7 @@ export class CategoryFilter {
477
447
  "optional": true,
478
448
  "docs": {
479
449
  "tags": [],
480
- "text": "In certain use cases some categories are not available for selection any more.\nTo allow proper display of set filters with these categories this ID to label mapping can be populated.\nConfiguration object hash used to supply labels to the filter chips in the input field.\nEach ID maps to a string representing the label to display."
450
+ "text": "In certain use cases some categories may not be available for selection anymore.\nTo allow proper display of set filters with these categories this ID to label mapping can be populated.\n\nConfiguration object hash used to supply labels to the filter chips in the input field.\nEach ID maps to a string representing the label to display."
481
451
  },
482
452
  "defaultValue": "{}"
483
453
  },
@@ -610,16 +580,12 @@ export class CategoryFilter {
610
580
  }
611
581
  static get states() {
612
582
  return {
583
+ "textInput": {},
613
584
  "hasFocus": {},
614
- "showCategorySelection": {},
615
585
  "categoryLogicalOperator": {},
616
586
  "inputValue": {},
617
587
  "category": {},
618
- "filterTokens": {},
619
- "offsetDropdownX": {},
620
- "offsetDropdownY": {},
621
- "maxHeightDropdown": {},
622
- "maxWidthDropdown": {}
588
+ "filterTokens": {}
623
589
  };
624
590
  }
625
591
  static get events() {
@@ -670,18 +636,6 @@ export class CategoryFilter {
670
636
  return [{
671
637
  "propName": "filterState",
672
638
  "methodName": "watchFilterState"
673
- }, {
674
- "propName": "showCategorySelection",
675
- "methodName": "watchShowCategorySelection"
676
- }];
677
- }
678
- static get listeners() {
679
- return [{
680
- "name": "resize",
681
- "method": "setDropdownOffset",
682
- "target": "window",
683
- "capture": false,
684
- "passive": true
685
639
  }];
686
640
  }
687
641
  }
@@ -51,11 +51,11 @@ export class DatePicker {
51
51
  return DateTime.fromFormat(this.from, this.format).month;
52
52
  }
53
53
  onDone() {
54
- var _a;
54
+ var _a, _b;
55
55
  this.done.emit(this.getOutputFormat());
56
56
  this.dateSelect.emit({
57
- from: this.start.toFormat(this.format),
58
- to: (_a = this.end) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
57
+ from: (_a = this.start) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
58
+ to: (_b = this.end) === null || _b === void 0 ? void 0 : _b.toFormat(this.format),
59
59
  });
60
60
  }
61
61
  onDateChange() {
@@ -43,6 +43,7 @@
43
43
  border-radius: 0.25rem;
44
44
  background-color: var(--theme-event-item--background);
45
45
  overflow: hidden;
46
+ transition: 150ms;
46
47
  cursor: pointer;
47
48
  margin-bottom: 0.5rem;
48
49
  }
@@ -103,6 +104,9 @@
103
104
  background-color: var(--theme-event-item--background--selected);
104
105
  border-color: var(--theme-event-item--border--selected);
105
106
  }
107
+ .ix-event-list-item.selected:not(:active, .active) :hover {
108
+ border-color: var(--theme-event-item--border--selected) !important;
109
+ }
106
110
  .ix-event-list-item[disabled], .ix-event-list-item.disabled {
107
111
  pointer-events: none;
108
112
  }
@@ -99,7 +99,8 @@
99
99
  height: 100%;
100
100
  width: 100%;
101
101
  padding: 0 1rem;
102
- --theme-app-header-logo--color: var(--theme-color-std-text);
102
+ --theme-app-header--color: var(--theme-map-navigation-header--color);
103
+ --theme-app-header-logo--color: var(--theme-map-navigation-logo--color);
103
104
  }
104
105
  :host .map-nav-header .map-nav-header-brand button {
105
106
  margin-left: 1rem;
@@ -27,6 +27,7 @@
27
27
  * LICENSE file in the root directory of this source tree.
28
28
  */
29
29
  :host {
30
+ --margin: 0.5rem;
30
31
  display: block;
31
32
  position: fixed;
32
33
  width: 20rem;
@@ -38,8 +39,8 @@
38
39
  left: 4rem;
39
40
  z-index: 10000;
40
41
  transition: left var(--animate-duration);
41
- margin-left: 0.5rem !important;
42
- box-shadow: var(--theme-box-shadow-level-2);
42
+ margin-left: var(--margin) !important;
43
+ box-shadow: var(--theme-box-shadow-level-4);
43
44
  }
44
45
  :host.expanded {
45
46
  left: calc(4rem + 12rem);
@@ -78,22 +79,17 @@
78
79
  justify-content: flex-end;
79
80
  margin-top: 1rem;
80
81
  }
81
- :host #arrow {
82
- bottom: 14px;
83
- position: relative;
84
- left: -10px;
85
- }
86
82
  :host ix-icon-button {
87
83
  top: 0.5rem;
88
84
  right: 0.5rem;
89
85
  position: absolute;
90
86
  }
91
- :host svg#arrow {
87
+ :host #arrow {
92
88
  position: absolute;
93
- left: -0.5rem;
94
- bottom: 0.4rem;
95
- }
96
- :host svg#arrow path {
97
- fill: var(--theme-color-1);
98
- stroke: var(--theme-color-weak-bdr-1);
89
+ width: 0.5rem;
90
+ height: 0.5rem;
91
+ background-color: var(--theme-color-1);
92
+ border-left: var(--theme-weak-bdr-1);
93
+ border-bottom: var(--theme-weak-bdr-1);
94
+ transform: translateX(calc(var(--margin) * -1 - 0.8rem)) rotateZ(45deg);
99
95
  }
@@ -26,7 +26,7 @@ export class MenuAboutNews {
26
26
  } }), h("slot", null), this.aboutItemLabel ? (h("div", { class: "cui-popover-news-footer" }, h("button", { class: "btn btn-primary", onClick: (e) => {
27
27
  this.show = false;
28
28
  this.showMore.emit(e);
29
- } }, this.i18nShowMore))) : null, h("svg", { id: "arrow", xmlns: "http://www.w3.org/2000/svg", width: "8", height: "12", viewBox: "0 0 8 12" }, h("path", { d: "M8 0 L0 6 L8 12" }))));
29
+ } }, this.i18nShowMore))) : null, h("div", { id: "arrow" })));
30
30
  }
31
31
  static get is() { return "ix-menu-about-news"; }
32
32
  static get encapsulation() { return "scoped"; }
@@ -7,5 +7,14 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  :host {
10
- display: block;
10
+ display: inline-block;
11
+ }
12
+ :host .middle-gap {
13
+ gap: 0.125rem;
14
+ }
15
+ :host .left-button-border {
16
+ border-top-width: 0.125rem;
17
+ border-right-width: 0;
18
+ border-left-width: 0.125rem;
19
+ border-bottom-width: 0.125rem;
11
20
  }
@@ -33,9 +33,11 @@ export class SplitButton {
33
33
  this.linkTriggerRef();
34
34
  }
35
35
  render() {
36
- return (h(Host, { class: "btn-group" }, h("button", { class: getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, !this.label, false, false, this.disabled), onClick: (e) => this.buttonClick.emit(e) }, this.icon ? h("ix-icon", { name: this.icon }) : null, " ", this.label), h("button", { ref: (r) => (this.triggerElement = r), class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, false, false, this.disabled)), {
36
+ return (h(Host, null, h("div", { class: { 'btn-group': true, 'middle-gap': !this.outline } }, h("button", { class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, !this.label, false, false, this.disabled)), {
37
+ 'left-button-border': !this.outline,
38
+ }), onClick: (e) => this.buttonClick.emit(e) }, this.icon ? h("ix-icon", { name: this.icon }) : null, " ", this.label), h("button", { ref: (r) => (this.triggerElement = r), class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, false, false, this.disabled)), {
37
39
  anchor: true,
38
- }) }, h("ix-icon", { name: this.splitIcon }), h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, h("slot", null)))));
40
+ }) }, h("ix-icon", { name: this.splitIcon }))), h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, h("slot", null))));
39
41
  }
40
42
  static get is() { return "ix-split-button"; }
41
43
  static get encapsulation() { return "scoped"; }
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header-logo--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem}";
3
+ const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color)}";
4
4
 
5
5
  const ApplicationHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -57,11 +57,11 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
57
57
  return luxon.DateTime.fromFormat(this.from, this.format).month;
58
58
  }
59
59
  onDone() {
60
- var _a;
60
+ var _a, _b;
61
61
  this.done.emit(this.getOutputFormat());
62
62
  this.dateSelect.emit({
63
- from: this.start.toFormat(this.format),
64
- to: (_a = this.end) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
63
+ from: (_a = this.start) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
64
+ to: (_b = this.end) === null || _b === void 0 ? void 0 : _b.toFormat(this.format),
65
65
  });
66
66
  }
67
67
  onDateChange() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as anime } from './anime.es.js';
3
3
 
4
- const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;max-height:1;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
4
+ const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
5
5
 
6
6
  const Blind = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() { super(); this.__registerHost(); this.collapsedChange = createEvent(this, "collapsedChange", 7); this.collapsed = false; this.label = undefined; }