@scania/tegel 1.37.1-dropdown-filter.beta.1 → 1.37.1-expose-filter-input-value-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-dropdown_2.cjs.entry.js +11 -14
  3. package/dist/cjs/tds-folder-tab.cjs.entry.js +1 -1
  4. package/dist/cjs/tds-folder-tabs.cjs.entry.js +1 -1
  5. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-message.cjs.entry.js +4 -3
  7. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +1 -1
  9. package/dist/cjs/tegel.cjs.js +1 -1
  10. package/dist/collection/components/dropdown/dropdown.js +12 -16
  11. package/dist/collection/components/message/message.css +20 -0
  12. package/dist/collection/components/message/message.js +3 -2
  13. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +8 -34
  14. package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +2 -12
  15. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +9 -14
  16. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +10 -16
  17. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +2 -12
  18. package/dist/components/{p-13ea2752.js → p-94bfc9f4.js} +11 -15
  19. package/dist/components/tds-dropdown.js +1 -1
  20. package/dist/components/tds-folder-tab.js +1 -1
  21. package/dist/components/tds-folder-tabs.js +1 -1
  22. package/dist/components/tds-inline-tab.js +1 -1
  23. package/dist/components/tds-message.js +4 -3
  24. package/dist/components/tds-navigation-tab.js +1 -1
  25. package/dist/components/tds-navigation-tabs.js +1 -1
  26. package/dist/components/tds-table-footer.js +1 -1
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/esm/tds-dropdown_2.entry.js +11 -14
  29. package/dist/esm/tds-folder-tab.entry.js +1 -1
  30. package/dist/esm/tds-folder-tabs.entry.js +1 -1
  31. package/dist/esm/tds-inline-tab.entry.js +1 -1
  32. package/dist/esm/tds-message.entry.js +4 -3
  33. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  34. package/dist/esm/tds-navigation-tabs.entry.js +1 -1
  35. package/dist/esm/tegel.js +1 -1
  36. package/dist/tegel/p-106e048d.entry.js +1 -0
  37. package/dist/tegel/p-397c8969.entry.js +1 -0
  38. package/dist/tegel/{p-bb9445ff.entry.js → p-52adc30c.entry.js} +1 -1
  39. package/dist/tegel/{p-d184a3f0.entry.js → p-8c841698.entry.js} +1 -1
  40. package/dist/tegel/{p-25f4b4ca.entry.js → p-c0b26507.entry.js} +1 -1
  41. package/dist/tegel/p-dc375d3e.entry.js +1 -0
  42. package/dist/tegel/p-e3c2b6b4.entry.js +1 -0
  43. package/dist/tegel/tegel.css +1 -1
  44. package/dist/tegel/tegel.esm.js +1 -1
  45. package/dist/types/components/dropdown/dropdown.d.ts +0 -1
  46. package/package.json +1 -1
  47. package/dist/tegel/p-48497993.entry.js +0 -1
  48. package/dist/tegel/p-8ae4e03c.entry.js +0 -1
  49. package/dist/tegel/p-b2b9561f.entry.js +0 -1
  50. package/dist/tegel/p-db38b4f2.entry.js +0 -1
@@ -96,7 +96,6 @@ export class TdsDropdown {
96
96
  this.handleFilter = (event) => {
97
97
  this.tdsInput.emit(event);
98
98
  const query = event.target.value.toLowerCase();
99
- this.filterQuery = query;
100
99
  /* Check if the query is empty, and if so, show all options */
101
100
  const children = this.getChildren();
102
101
  if (query === '') {
@@ -122,10 +121,7 @@ export class TdsDropdown {
122
121
  }
123
122
  };
124
123
  this.handleFilterReset = () => {
125
- // only reset selected values when filterquery is blank
126
- if (!this.filterQuery.length) {
127
- this.reset();
128
- }
124
+ this.reset();
129
125
  this.inputElement.value = '';
130
126
  this.handleFilter({ target: { value: '' } });
131
127
  this.inputElement.focus();
@@ -135,7 +131,7 @@ export class TdsDropdown {
135
131
  this.handleFocus = (event) => {
136
132
  this.open = true;
137
133
  this.filterFocus = true;
138
- if (this.inputElement) {
134
+ if (this.multiselect && this.inputElement) {
139
135
  this.inputElement.value = '';
140
136
  }
141
137
  this.tdsFocus.emit(event);
@@ -176,7 +172,6 @@ export class TdsDropdown {
176
172
  this.filterFocus = undefined;
177
173
  this.internalDefaultValue = undefined;
178
174
  this.selectedOptions = [];
179
- this.filterQuery = '';
180
175
  }
181
176
  handleValueChange(newValue) {
182
177
  // Normalize to array
@@ -461,9 +456,9 @@ export class TdsDropdown {
461
456
  // Generate unique IDs for associating labels and helpers with the input/button
462
457
  const labelId = this.label ? `dropdown-label-${this.name || generateUniqueId()}` : undefined;
463
458
  const helperId = this.helper ? `dropdown-helper-${this.name || generateUniqueId()}` : undefined;
464
- return (h(Host, { key: '2d22e0fc03ce6838f753f1d19d6af8070d612626', class: {
459
+ return (h(Host, { key: '69cdc96b6983b9556b4a9133ef8a0d2fa1e9e18e', class: {
465
460
  [`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
466
- } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '04293570a4db1178efd4274cf8ec3afadc591b56', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: 'cfa21f047c6978ed941e87de33daffb2551babe8', class: {
461
+ } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '1cc3f825bc81ca34af7bbe845bd900531f724172', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '213f3149de4b9bc4c147ab658d6d5199d3360181', class: {
467
462
  'dropdown-select': true,
468
463
  [this.size]: true,
469
464
  'disabled': this.disabled,
@@ -480,9 +475,11 @@ export class TdsDropdown {
480
475
  // eslint-disable-next-line no-return-assign
481
476
  ref: (inputEl) => (this.inputElement = inputEl), class: {
482
477
  placeholder: this.labelPosition === 'inside',
483
- }, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? this.filterQuery : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
478
+ }, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? '' : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
484
479
  this.filterFocus = false;
485
- this.inputElement.value = this.getValue();
480
+ if (this.multiselect) {
481
+ this.inputElement.value = this.getValue();
482
+ }
486
483
  this.handleBlur(event);
487
484
  }, onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => {
488
485
  if (event.key === 'Escape') {
@@ -511,7 +508,7 @@ export class TdsDropdown {
511
508
  label-inside-as-placeholder
512
509
  ${this.size}
513
510
  ${this.selectedOptions.length ? 'selected' : ''}
514
- ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '0b612f63c3de29f83c43c6331c0d1df8e7606e01', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
511
+ ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'af7815b0cb8b36e37278965094d5198a9ff5aba9', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
515
512
  this.dropdownList = element;
516
513
  }, class: {
517
514
  'dropdown-list': true,
@@ -522,11 +519,11 @@ export class TdsDropdown {
522
519
  'closed': !this.open,
523
520
  [`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
524
521
  [`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
525
- } }, h("slot", { key: '903020684ba2d64255b7f0d65c58ce16f1460405', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '7489340633f37a28944dd2077d2c3c7f6716427a', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'b300011165a486d9dfa92f5f441a5acd0cc838aa', id: helperId, class: {
522
+ } }, h("slot", { key: '736b82b5f716fa818c17ae161341bc6b131d9cf2', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: 'f1c1471cbec4a6dd8830a8540f54e142c559d539', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'aa138a349c073158785ae1177c0879604f6b8d90', id: helperId, class: {
526
523
  helper: true,
527
524
  error: this.error,
528
525
  disabled: this.disabled,
529
- } }, this.error && h("tds-icon", { key: '2524b365c32aa92eb5a5d16988585bf922e569a8', name: "error", size: "16px" }), this.helper))));
526
+ } }, this.error && h("tds-icon", { key: '936a8bd7db8a0ed994d6827c26bbb6732420fea4', name: "error", size: "16px" }), this.helper))));
530
527
  }
531
528
  static get is() { return "tds-dropdown"; }
532
529
  static get encapsulation() { return "shadow"; }
@@ -868,8 +865,7 @@ export class TdsDropdown {
868
865
  "filterResult": {},
869
866
  "filterFocus": {},
870
867
  "internalDefaultValue": {},
871
- "selectedOptions": {},
872
- "filterQuery": {}
868
+ "selectedOptions": {}
873
869
  };
874
870
  }
875
871
  static get events() {
@@ -1,6 +1,26 @@
1
1
  /* Typography Usage mixins */
2
2
  /* Centralized map of typography types */
3
3
  /* Utility mixin */
4
+ :host {
5
+ /* Default values */
6
+ --tds-message-background: var(--background-elevation-layer-03);
7
+ --tds-message-background-error: var(--system-danger-subtle-03);
8
+ --tds-message-background-warning: var(--background-elevation-layer-03);
9
+ --tds-message-background-success: var(--background-elevation-layer-03);
10
+ /* Variant values */
11
+ }
12
+ :host .tds-mode-variant-primary {
13
+ --tds-message-background: var(--background-elevation-layer-03);
14
+ --tds-message-background-error: var(--system-danger-subtle-03);
15
+ --tds-message-background-warning: var(--background-elevation-layer-03);
16
+ --tds-message-background-success: var(--background-elevation-layer-03);
17
+ }
18
+ :host .tds-mode-variant-secondary {
19
+ --tds-message-background: var(--background-elevation-layer-02);
20
+ --tds-message-background-error: var(--system-danger-subtle-02);
21
+ --tds-message-background-warning: var(--background-elevation-layer-02);
22
+ --tds-message-background-success: var(--background-elevation-layer-02);
23
+ }
4
24
  :host .wrapper {
5
25
  display: flex;
6
26
  padding: 16px;
@@ -37,11 +37,12 @@ export class TdsMessage {
37
37
  render() {
38
38
  const headerId = this.header ? `tds-message-header-${generateUniqueId()}` : undefined;
39
39
  const contentId = !this.minimal ? `tds-message-content-${generateUniqueId()}` : undefined;
40
- return (h(Host, { key: '752eb725898add9261df7460b3043642e7e6a7ef', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'd1346696f7f4d63d25cbacc0b3cbf60c39a54add', class: {
40
+ return (h(Host, { key: 'f279cd2861d40276ea82a2e38d7a55eeda4c550a', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel() }, h("div", { key: '96afc352fe7b1571f62ba6c60729bd2411c56138', class: {
41
41
  wrapper: true,
42
42
  [this.variant]: true,
43
43
  minimal: this.minimal,
44
- } }, !this.noIcon && (h("tds-icon", { key: '39d83a70a25d5ac07c3786f47989ce77b1a9b386', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'aeb139399975656ee15493dab9c2ac77e4f295a0', class: `content` }, this.header && (h("div", { key: 'd9a1e8b5d2513630ff9c0a4363d346dfe2ecfd09', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: 'dffbcdb31b11c4f6313609fac311991202b9f462', class: "extended-message", id: contentId }, h("slot", { key: '38578271864c5884c5a4a4c105ae44ef6d2caf07' })))))));
44
+ [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
45
+ } }, !this.noIcon && (h("tds-icon", { key: '7c95385da3ab0e887b6e955a302bc39b3aeaafe0', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'eed507b43c57eaafdeba40c25e9556bacbe0f166', class: `content` }, this.header && (h("div", { key: 'd6faa3f523f64f158a31e35a416f957c38bbcceb', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '03c724a2bdbee954b9c48aa27a18444abfacafbb', class: "extended-message", id: contentId }, h("slot", { key: '017b634e145a514a2315880db6cfb712ddb254b0' })))))));
45
46
  }
46
47
  static get is() { return "tds-message"; }
47
48
  static get encapsulation() { return "shadow"; }
@@ -20,34 +20,21 @@
20
20
  text-align: left;
21
21
  outline: none;
22
22
  border: none;
23
+ border-left: 1px solid;
24
+ border-left-color: transparent;
23
25
  }
24
- :host ::slotted(*:focus-within)::before {
26
+ :host ::slotted(*:focus-visible) {
25
27
  outline: 2px solid var(--tds-focus-outline-color);
26
28
  box-shadow: 0 0 0 1px var(--tds-white);
27
29
  outline-offset: 1px;
28
30
  z-index: 1;
29
- content: "";
30
- position: absolute;
31
- top: 3px;
32
- bottom: 3px;
33
- left: 3px;
34
- right: 3px;
35
31
  }
36
32
  :host div:not(.selected) {
37
33
  background-color: var(--tds-folder-tab-background);
38
- position: relative;
39
- }
40
- :host div:not(.selected)::before {
41
- content: "";
42
- position: absolute;
43
- left: 0;
44
- top: 0;
45
- bottom: 0;
46
- width: 1px;
47
- background-color: var(--tds-folder-tab-divider-color);
48
34
  }
49
35
  :host div:not(.selected) ::slotted(*) {
50
- border-top: 2px solid transparent;
36
+ border-left-color: var(--tds-folder-tab-divider-color);
37
+ border-top: 2px solid var(--tds-folder-tab-background);
51
38
  color: var(--tds-folder-tab-item-color);
52
39
  }
53
40
  :host div:not(.selected):hover:not(.disabled) {
@@ -55,12 +42,9 @@
55
42
  cursor: pointer;
56
43
  }
57
44
  :host div:not(.selected):hover:not(.disabled) ::slotted(*) {
58
- border-top: 2px solid var(--tds-folder-tab-top-border-hover);
45
+ border-top-color: var(--tds-folder-tab-background-hover);
59
46
  color: var(--tds-folder-tab-color);
60
47
  }
61
- :host div:not(.selected).disabled {
62
- background-color: var(--tds-folder-tab-item-background-disabled);
63
- }
64
48
  :host div:not(.selected).disabled ::slotted(*) {
65
49
  color: var(--tds-folder-tab-item-color-disabled);
66
50
  }
@@ -79,7 +63,7 @@
79
63
  }
80
64
  :host .selected::after {
81
65
  content: " ";
82
- background-color: var(--tds-folder-tab-divider-color);
66
+ background-color: var(--tds-folder-tab-background-selected);
83
67
  width: 1px;
84
68
  top: 0;
85
69
  bottom: 0;
@@ -91,17 +75,7 @@
91
75
  :host .selected ::slotted(*) {
92
76
  color: var(--tds-folder-tab-color);
93
77
  }
94
- :host .selected:hover:not(.disabled) {
95
- background-color: var(--tds-folder-tab-background-hover);
96
- cursor: pointer;
97
- }
98
- :host .selected:hover:not(.disabled) ::slotted(*) {
99
- color: var(--tds-folder-tab-color);
100
- }
101
78
 
102
- :host(.first) ::slotted(*) {
79
+ :host(.first) :not(.selected) ::slotted(*) {
103
80
  border-left-color: transparent;
104
- }
105
- :host(.first) .selected {
106
- border-left: none;
107
81
  }
@@ -53,22 +53,12 @@
53
53
  :host .scroll-left-button:active {
54
54
  background-color: var(--tds-folder-tabs-scroll-btn-background-active);
55
55
  }
56
- :host .scroll-right-button:focus-within::before,
57
- :host .scroll-left-button:focus-within::before {
56
+ :host .scroll-right-button:focus,
57
+ :host .scroll-left-button:focus {
58
58
  outline: 2px solid var(--tds-focus-outline-color);
59
59
  box-shadow: 0 0 0 1px var(--tds-white);
60
60
  outline-offset: 1px;
61
61
  z-index: 1;
62
- content: "";
63
- position: absolute;
64
- top: 3px;
65
- bottom: 3px;
66
- left: 3px;
67
- right: 3px;
68
- }
69
- :host .scroll-right-button:focus,
70
- :host .scroll-left-button:focus {
71
- outline: 0;
72
62
  }
73
63
  :host .scroll-right-button svg,
74
64
  :host .scroll-left-button svg {
@@ -23,16 +23,13 @@
23
23
  padding: 20px 4px;
24
24
  }
25
25
  :host ::slotted(*:focus-visible)::before {
26
- outline: 2px solid var(--tds-focus-outline-color);
27
- box-shadow: 0 0 0 1px var(--tds-white);
28
- outline-offset: 1px;
29
- z-index: 1;
30
26
  content: "";
31
27
  position: absolute;
32
28
  left: 0;
33
29
  right: 0;
34
- top: 3px;
35
- bottom: 3px;
30
+ top: 20px;
31
+ bottom: 20px;
32
+ outline: 2px solid var(--tds-blue-400);
36
33
  }
37
34
  :host .inline-tab-item:not(.selected)::after {
38
35
  width: 0%;
@@ -45,9 +42,6 @@
45
42
  :host .inline-tab-item:hover {
46
43
  cursor: pointer;
47
44
  }
48
- :host .inline-tab-item:hover ::slotted(*) {
49
- color: var(--tds-inline-tabs-tab-color-hover);
50
- }
51
45
  :host .inline-tab-item:hover::after {
52
46
  width: 100%;
53
47
  }
@@ -71,19 +65,20 @@
71
65
  width: 100%;
72
66
  background-color: var(--tds-inline-tabs-tab-indicator-background-active);
73
67
  }
74
- :host .disabled::after {
75
- content: none;
68
+ :host .disabled {
69
+ color: var(--tds-inline-tabs-tab-color-disabled);
76
70
  }
77
71
  :host .disabled ::slotted(*) {
78
- color: var(--tds-inline-tabs-tab-color-disabled);
72
+ opacity: var(--tds-inline-tabs-tab-color-opacity-disabled);
73
+ }
74
+ :host .disabled::after {
75
+ content: none;
79
76
  }
80
77
  :host .disabled ::slotted(*:hover) {
81
- color: var(--tds-inline-tabs-tab-color-disabled);
82
78
  cursor: not-allowed;
83
79
  }
84
80
  :host .disabled ::slotted(*:focus-visible) {
85
81
  outline: none;
86
- box-shadow: none;
87
82
  }
88
83
 
89
84
  :host(.last) {
@@ -10,7 +10,7 @@
10
10
  /* !important is needed here to prevent this from being overwritten by our CSS-reset. */
11
11
  font: var(--tds-headline-07) !important;
12
12
  letter-spacing: var(--tds-headline-07-ls) !important;
13
- color: var(--tds-navigation-tabs-tab-color);
13
+ color: var(--tds-navigation-tabs-tab-color) !important;
14
14
  text-decoration: none;
15
15
  display: block;
16
16
  position: relative;
@@ -19,19 +19,16 @@
19
19
  background-color: transparent;
20
20
  border: 0;
21
21
  width: 100%;
22
- padding: 26px 0;
22
+ padding: 26px 4px;
23
23
  }
24
24
  :host ::slotted(*:focus-visible)::before {
25
25
  content: "";
26
26
  position: absolute;
27
27
  left: 0;
28
28
  right: 0;
29
- top: 3px;
30
- bottom: 3px;
31
- outline: 2px solid var(--tds-focus-outline-color);
32
- box-shadow: 0 0 0 1px var(--tds-white);
33
- outline-offset: 1px;
34
- z-index: 1;
29
+ top: 26px;
30
+ bottom: 26px;
31
+ outline: 2px solid var(--tds-blue-400);
35
32
  }
36
33
  :host .navigation-tab-item:not(.selected)::after {
37
34
  width: 0%;
@@ -39,13 +36,11 @@
39
36
  }
40
37
  :host .navigation-tab-item {
41
38
  position: relative;
39
+ margin-right: 32px;
42
40
  }
43
41
  :host .navigation-tab-item:hover {
44
42
  cursor: pointer;
45
43
  }
46
- :host .navigation-tab-item:hover ::slotted(*) {
47
- color: var(--tds-navigation-tabs-tab-color-hover);
48
- }
49
44
  :host .navigation-tab-item:hover::after {
50
45
  width: 100%;
51
46
  }
@@ -62,9 +57,6 @@
62
57
  background-color: var(--tds-navigation-tabs-tab-indicator-background-hover);
63
58
  z-index: 1;
64
59
  }
65
- :host .navigation-tab-item:focus-visible::after {
66
- bottom: 3px;
67
- }
68
60
  :host .selected ::slotted(*) {
69
61
  color: var(--tds-navigation-tabs-tab-color-selected);
70
62
  }
@@ -72,15 +64,17 @@
72
64
  width: 100%;
73
65
  background-color: var(--tds-navigation-tabs-tab-indicator-background-active);
74
66
  }
75
- :host .disabled ::slotted(*) {
67
+ :host .disabled {
76
68
  color: var(--tds-navigation-tabs-tab-color-disabled);
77
69
  }
70
+ :host .disabled ::slotted(*) {
71
+ opacity: var(--tds-navigation-tabs-tab-color-opacity-disabled);
72
+ }
78
73
  :host .disabled::after {
79
74
  content: none;
80
75
  }
81
76
  :host .disabled ::slotted(*:hover) {
82
77
  cursor: not-allowed;
83
- color: var(--tds-navigation-tabs-tab-color-disabled);
84
78
  }
85
79
  :host .disabled ::slotted(*:focus-visible) {
86
80
  outline: none;
@@ -65,23 +65,13 @@
65
65
  :host .scroll-left-button:active {
66
66
  background-color: var(--tds-folder-tabs-scroll-btn-background-active);
67
67
  }
68
- :host .scroll-right-button:focus::before,
69
- :host .scroll-left-button:focus::before {
70
- content: "";
71
- position: absolute;
72
- left: 3px;
73
- right: 3px;
74
- top: 3px;
75
- bottom: 3px;
68
+ :host .scroll-right-button:focus,
69
+ :host .scroll-left-button:focus {
76
70
  outline: 2px solid var(--tds-focus-outline-color);
77
71
  box-shadow: 0 0 0 1px var(--tds-white);
78
72
  outline-offset: 1px;
79
73
  z-index: 1;
80
74
  }
81
- :host .scroll-right-button:focus,
82
- :host .scroll-left-button:focus {
83
- outline: 0;
84
- }
85
75
  :host .scroll-right-button svg,
86
76
  :host .scroll-left-button svg {
87
77
  fill: var(--tds-folder-tabs-scroll-btn-color);
@@ -160,7 +160,6 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
160
160
  this.handleFilter = (event) => {
161
161
  this.tdsInput.emit(event);
162
162
  const query = event.target.value.toLowerCase();
163
- this.filterQuery = query;
164
163
  /* Check if the query is empty, and if so, show all options */
165
164
  const children = this.getChildren();
166
165
  if (query === '') {
@@ -186,10 +185,7 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
186
185
  }
187
186
  };
188
187
  this.handleFilterReset = () => {
189
- // only reset selected values when filterquery is blank
190
- if (!this.filterQuery.length) {
191
- this.reset();
192
- }
188
+ this.reset();
193
189
  this.inputElement.value = '';
194
190
  this.handleFilter({ target: { value: '' } });
195
191
  this.inputElement.focus();
@@ -199,7 +195,7 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
199
195
  this.handleFocus = (event) => {
200
196
  this.open = true;
201
197
  this.filterFocus = true;
202
- if (this.inputElement) {
198
+ if (this.multiselect && this.inputElement) {
203
199
  this.inputElement.value = '';
204
200
  }
205
201
  this.tdsFocus.emit(event);
@@ -240,7 +236,6 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
240
236
  this.filterFocus = undefined;
241
237
  this.internalDefaultValue = undefined;
242
238
  this.selectedOptions = [];
243
- this.filterQuery = '';
244
239
  }
245
240
  handleValueChange(newValue) {
246
241
  // Normalize to array
@@ -525,9 +520,9 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
525
520
  // Generate unique IDs for associating labels and helpers with the input/button
526
521
  const labelId = this.label ? `dropdown-label-${this.name || generateUniqueId()}` : undefined;
527
522
  const helperId = this.helper ? `dropdown-helper-${this.name || generateUniqueId()}` : undefined;
528
- return (h(Host, { key: '2d22e0fc03ce6838f753f1d19d6af8070d612626', class: {
523
+ return (h(Host, { key: '69cdc96b6983b9556b4a9133ef8a0d2fa1e9e18e', class: {
529
524
  [`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
530
- } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '04293570a4db1178efd4274cf8ec3afadc591b56', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: 'cfa21f047c6978ed941e87de33daffb2551babe8', class: {
525
+ } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '1cc3f825bc81ca34af7bbe845bd900531f724172', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '213f3149de4b9bc4c147ab658d6d5199d3360181', class: {
531
526
  'dropdown-select': true,
532
527
  [this.size]: true,
533
528
  'disabled': this.disabled,
@@ -544,9 +539,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
544
539
  // eslint-disable-next-line no-return-assign
545
540
  ref: (inputEl) => (this.inputElement = inputEl), class: {
546
541
  placeholder: this.labelPosition === 'inside',
547
- }, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? this.filterQuery : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
542
+ }, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? '' : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
548
543
  this.filterFocus = false;
549
- this.inputElement.value = this.getValue();
544
+ if (this.multiselect) {
545
+ this.inputElement.value = this.getValue();
546
+ }
550
547
  this.handleBlur(event);
551
548
  }, onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => {
552
549
  if (event.key === 'Escape') {
@@ -575,7 +572,7 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
575
572
  label-inside-as-placeholder
576
573
  ${this.size}
577
574
  ${this.selectedOptions.length ? 'selected' : ''}
578
- ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '0b612f63c3de29f83c43c6331c0d1df8e7606e01', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
575
+ ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'af7815b0cb8b36e37278965094d5198a9ff5aba9', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
579
576
  this.dropdownList = element;
580
577
  }, class: {
581
578
  'dropdown-list': true,
@@ -586,11 +583,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
586
583
  'closed': !this.open,
587
584
  [`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
588
585
  [`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
589
- } }, h("slot", { key: '903020684ba2d64255b7f0d65c58ce16f1460405', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '7489340633f37a28944dd2077d2c3c7f6716427a', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'b300011165a486d9dfa92f5f441a5acd0cc838aa', id: helperId, class: {
586
+ } }, h("slot", { key: '736b82b5f716fa818c17ae161341bc6b131d9cf2', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: 'f1c1471cbec4a6dd8830a8540f54e142c559d539', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'aa138a349c073158785ae1177c0879604f6b8d90', id: helperId, class: {
590
587
  helper: true,
591
588
  error: this.error,
592
589
  disabled: this.disabled,
593
- } }, this.error && h("tds-icon", { key: '2524b365c32aa92eb5a5d16988585bf922e569a8', name: "error", size: "16px" }), this.helper))));
590
+ } }, this.error && h("tds-icon", { key: '936a8bd7db8a0ed994d6827c26bbb6732420fea4', name: "error", size: "16px" }), this.helper))));
594
591
  }
595
592
  get host() { return this; }
596
593
  static get watchers() { return {
@@ -624,7 +621,6 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
624
621
  "filterFocus": [32],
625
622
  "internalDefaultValue": [32],
626
623
  "selectedOptions": [32],
627
- "filterQuery": [32],
628
624
  "setValue": [64],
629
625
  "reset": [64],
630
626
  "removeValue": [64],
@@ -1,4 +1,4 @@
1
- import { T as TdsDropdown$1, d as defineCustomElement$1 } from './p-13ea2752.js';
1
+ import { T as TdsDropdown$1, d as defineCustomElement$1 } from './p-94bfc9f4.js';
2
2
 
3
3
  const TdsDropdown = TdsDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
 
3
- const folderTabCss = ":host{box-sizing:border-box;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;min-width:142px;display:block;width:calc(100% - 32px);font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;cursor:pointer;padding:16px;white-space:nowrap;text-decoration:none;text-align:left;outline:none;border:none}:host ::slotted(*:focus-within)::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:\"\";position:absolute;top:3px;bottom:3px;left:3px;right:3px}:host div:not(.selected){background-color:var(--tds-folder-tab-background);position:relative}:host div:not(.selected)::before{content:\"\";position:absolute;left:0;top:0;bottom:0;width:1px;background-color:var(--tds-folder-tab-divider-color)}:host div:not(.selected) ::slotted(*){border-top:2px solid transparent;color:var(--tds-folder-tab-item-color)}:host div:not(.selected):hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover:not(.disabled) ::slotted(*){border-top:2px solid var(--tds-folder-tab-top-border-hover);color:var(--tds-folder-tab-color)}:host div:not(.selected).disabled{background-color:var(--tds-folder-tab-item-background-disabled)}:host div:not(.selected).disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host div:not(.selected).disabled ::slotted(*:focus-visible){outline:none}:host div:not(.selected).disabled ::slotted(*:hover){cursor:not-allowed}:host div:not(.selected).disabled ::slotted(*::after){content:none}:host .selected{background-color:var(--tds-folder-tab-background-selected);border-top:2px solid var(--tds-folder-tab-border-selected)}:host .selected::after{content:\" \";background-color:var(--tds-folder-tab-divider-color);width:1px;top:0;bottom:0;right:-1px;display:block;position:absolute;z-index:1}:host .selected ::slotted(*){color:var(--tds-folder-tab-color)}:host .selected:hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host .selected:hover:not(.disabled) ::slotted(*){color:var(--tds-folder-tab-color)}:host(.first) ::slotted(*){border-left-color:transparent}:host(.first) .selected{border-left:none}";
3
+ const folderTabCss = ":host{box-sizing:border-box;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;min-width:142px;display:block;width:calc(100% - 32px);font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;cursor:pointer;padding:16px;white-space:nowrap;text-decoration:none;text-align:left;outline:none;border:none;border-left:1px solid;border-left-color:transparent}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host div:not(.selected){background-color:var(--tds-folder-tab-background)}:host div:not(.selected) ::slotted(*){border-left-color:var(--tds-folder-tab-divider-color);border-top:2px solid var(--tds-folder-tab-background);color:var(--tds-folder-tab-item-color)}:host div:not(.selected):hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover:not(.disabled) ::slotted(*){border-top-color:var(--tds-folder-tab-background-hover);color:var(--tds-folder-tab-color)}:host div:not(.selected).disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host div:not(.selected).disabled ::slotted(*:focus-visible){outline:none}:host div:not(.selected).disabled ::slotted(*:hover){cursor:not-allowed}:host div:not(.selected).disabled ::slotted(*::after){content:none}:host .selected{background-color:var(--tds-folder-tab-background-selected);border-top:2px solid var(--tds-folder-tab-border-selected)}:host .selected::after{content:\" \";background-color:var(--tds-folder-tab-background-selected);width:1px;top:0;bottom:0;right:-1px;display:block;position:absolute;z-index:1}:host .selected ::slotted(*){color:var(--tds-folder-tab-color)}:host(.first) :not(.selected) ::slotted(*){border-left-color:transparent}";
4
4
  const TdsFolderTabStyle0 = folderTabCss;
5
5
 
6
6
  const TdsFolderTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsFolderTab extends H {
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
2
  import { d as defineCustomElement$2 } from './p-b390ece5.js';
3
3
 
4
- const folderTabsCss = ":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:1;right:0}:host .scroll-left-button{z-index:1;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus-within::before,:host .scroll-left-button:focus-within::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:\"\";position:absolute;top:3px;bottom:3px;left:3px;right:3px}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
4
+ const folderTabsCss = ":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:1;right:0}:host .scroll-left-button{z-index:1;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
5
  const TdsFolderTabsStyle0 = folderTabsCss;
6
6
 
7
7
  const TdsFolderTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsFolderTabs extends H {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
 
3
- const inlineTabCss = ":host{box-sizing:border-box;display:block;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:20px 4px}:host ::slotted(*:focus-visible)::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative;margin-right:32px}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover ::slotted(*){color:var(--tds-inline-tabs-tab-color-hover)}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled::after{content:none}:host .disabled ::slotted(*){color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*:hover){color:var(--tds-inline-tabs-tab-color-disabled);cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none;box-shadow:none}:host(.last){margin-right:32px}";
3
+ const inlineTabCss = ":host{box-sizing:border-box;display:block;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:20px 4px}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:20px;bottom:20px;outline:2px solid var(--tds-blue-400)}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative;margin-right:32px}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*){opacity:var(--tds-inline-tabs-tab-color-opacity-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
4
4
  const TdsInlineTabStyle0 = inlineTabCss;
5
5
 
6
6
  const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab extends H {
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { g as generateUniqueId } from './p-11648030.js';
3
3
  import { d as defineCustomElement$2 } from './p-b390ece5.js';
4
4
 
5
- const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--system-info-default)}:host .wrapper.information tds-icon{color:var(--system-info-default)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--system-success-default)}:host .wrapper.success tds-icon{color:var(--system-success-default)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--system-danger-default)}:host .wrapper.error tds-icon{color:var(--system-danger-default)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--system-warning-default)}:host .wrapper.warning tds-icon{color:var(--system-warning-default)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--system-danger-default)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
5
+ const messageCss = ":host{--tds-message-background:var(--background-elevation-layer-03);--tds-message-background-error:var(--system-danger-subtle-03);--tds-message-background-warning:var(--background-elevation-layer-03);--tds-message-background-success:var(--background-elevation-layer-03);}:host .tds-mode-variant-primary{--tds-message-background:var(--background-elevation-layer-03);--tds-message-background-error:var(--system-danger-subtle-03);--tds-message-background-warning:var(--background-elevation-layer-03);--tds-message-background-success:var(--background-elevation-layer-03)}:host .tds-mode-variant-secondary{--tds-message-background:var(--background-elevation-layer-02);--tds-message-background-error:var(--system-danger-subtle-02);--tds-message-background-warning:var(--background-elevation-layer-02);--tds-message-background-success:var(--background-elevation-layer-02)}:host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--system-info-default)}:host .wrapper.information tds-icon{color:var(--system-info-default)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--system-success-default)}:host .wrapper.success tds-icon{color:var(--system-success-default)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--system-danger-default)}:host .wrapper.error tds-icon{color:var(--system-danger-default)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--system-warning-default)}:host .wrapper.warning tds-icon{color:var(--system-warning-default)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--system-danger-default)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
6
6
  const TdsMessageStyle0 = messageCss;
7
7
 
8
8
  const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H {
@@ -42,11 +42,12 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
42
42
  render() {
43
43
  const headerId = this.header ? `tds-message-header-${generateUniqueId()}` : undefined;
44
44
  const contentId = !this.minimal ? `tds-message-content-${generateUniqueId()}` : undefined;
45
- return (h(Host, { key: '752eb725898add9261df7460b3043642e7e6a7ef', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'd1346696f7f4d63d25cbacc0b3cbf60c39a54add', class: {
45
+ return (h(Host, { key: 'f279cd2861d40276ea82a2e38d7a55eeda4c550a', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel() }, h("div", { key: '96afc352fe7b1571f62ba6c60729bd2411c56138', class: {
46
46
  wrapper: true,
47
47
  [this.variant]: true,
48
48
  minimal: this.minimal,
49
- } }, !this.noIcon && (h("tds-icon", { key: '39d83a70a25d5ac07c3786f47989ce77b1a9b386', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'aeb139399975656ee15493dab9c2ac77e4f295a0', class: `content` }, this.header && (h("div", { key: 'd9a1e8b5d2513630ff9c0a4363d346dfe2ecfd09', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: 'dffbcdb31b11c4f6313609fac311991202b9f462', class: "extended-message", id: contentId }, h("slot", { key: '38578271864c5884c5a4a4c105ae44ef6d2caf07' })))))));
49
+ [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
50
+ } }, !this.noIcon && (h("tds-icon", { key: '7c95385da3ab0e887b6e955a302bc39b3aeaafe0', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'eed507b43c57eaafdeba40c25e9556bacbe0f166', class: `content` }, this.header && (h("div", { key: 'd6faa3f523f64f158a31e35a416f957c38bbcceb', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '03c724a2bdbee954b9c48aa27a18444abfacafbb', class: "extended-message", id: contentId }, h("slot", { key: '017b634e145a514a2315880db6cfb712ddb254b0' })))))));
50
51
  }
51
52
  static get style() { return TdsMessageStyle0; }
52
53
  }, [1, "tds-message", {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
 
3
- const navigationTabCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover ::slotted(*){color:var(--tds-navigation-tabs-tab-color-hover)}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .navigation-tab-item:focus-visible::after{bottom:3px}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
3
+ const navigationTabCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color) !important;text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 4px}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:26px;bottom:26px;outline:2px solid var(--tds-blue-400)}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative;margin-right:32px}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*){opacity:var(--tds-navigation-tabs-tab-color-opacity-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
4
4
  const TdsNavigationTabStyle0 = navigationTabCss;
5
5
 
6
6
  const TdsNavigationTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationTab extends H {
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
2
  import { d as defineCustomElement$2 } from './p-b390ece5.js';
3
3
 
4
- const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-navigation-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-navigation-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus::before,:host .scroll-left-button:focus::before{content:\"\";position:absolute;left:3px;right:3px;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
4
+ const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-navigation-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-navigation-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
5
  const TdsNavigationTabsStyle0 = navigationTabsCss;
6
6
 
7
7
  const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationTabs extends H {