@scania/tegel 1.29.0-1.29.0-fix-spinner-alignment-beta.1 → 1.29.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 (108) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
  3. package/dist/cjs/tds-header-cell.cjs.entry.js +3 -11
  4. package/dist/cjs/tds-icon.cjs.entry.js +3 -21
  5. package/dist/cjs/tds-modal.cjs.entry.js +19 -7
  6. package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
  7. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -19
  8. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -8
  9. package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
  10. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  11. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -6
  12. package/dist/cjs/tds-text-field.cjs.entry.js +3 -3
  13. package/dist/cjs/tegel.cjs.js +1 -1
  14. package/dist/collection/components/icon/icon.js +3 -19
  15. package/dist/collection/components/modal/modal.js +19 -7
  16. package/dist/collection/components/spinner/spinner.css +5 -6
  17. package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
  18. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -19
  19. package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
  20. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -26
  21. package/dist/collection/components/table/table-header-cell/table-header-cell.js +3 -29
  22. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  23. package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -24
  24. package/dist/collection/components/text-field/text-field.js +3 -3
  25. package/dist/{collection/components/icon/scaniaIconsArray.js → components/p-9b40a24d.js} +66 -246
  26. package/dist/components/{p-090bb1e9.js → p-9ba3c16e.js} +1 -1
  27. package/dist/components/{p-50b1ba5c.js → p-ce28efb8.js} +1 -1
  28. package/dist/components/{p-7f02bdf2.js → p-f4c6f29b.js} +1 -1
  29. package/dist/components/tds-accordion-item.js +1 -1
  30. package/dist/components/tds-banner.js +1 -1
  31. package/dist/components/tds-body-cell.js +2 -2
  32. package/dist/components/tds-datetime.js +1 -1
  33. package/dist/components/tds-dropdown-option.js +1 -1
  34. package/dist/components/tds-dropdown.js +1 -1
  35. package/dist/components/tds-folder-tabs.js +1 -1
  36. package/dist/components/tds-footer-group.js +1 -1
  37. package/dist/components/tds-header-cell.js +4 -13
  38. package/dist/components/tds-header-dropdown.js +1 -1
  39. package/dist/components/tds-header-hamburger.js +1 -1
  40. package/dist/components/tds-header-launcher-button.js +1 -1
  41. package/dist/components/tds-header-launcher.js +2 -2
  42. package/dist/components/tds-icon.js +1 -1
  43. package/dist/components/tds-inline-tabs.js +1 -1
  44. package/dist/components/tds-message.js +1 -1
  45. package/dist/components/tds-modal.js +20 -8
  46. package/dist/components/tds-navigation-tabs.js +1 -1
  47. package/dist/components/tds-side-menu-close-button.js +1 -1
  48. package/dist/components/tds-side-menu-dropdown.js +1 -1
  49. package/dist/components/tds-slider.js +1 -1
  50. package/dist/components/tds-spinner.js +1 -1
  51. package/dist/components/tds-step.js +1 -1
  52. package/dist/components/tds-table-body-input-wrapper.js +2 -20
  53. package/dist/components/tds-table-body-row-expandable.js +7 -9
  54. package/dist/components/tds-table-body-row.js +2 -2
  55. package/dist/components/tds-table-footer.js +3 -3
  56. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  57. package/dist/components/tds-table-toolbar.js +3 -8
  58. package/dist/components/tds-text-field.js +4 -4
  59. package/dist/components/tds-textarea.js +1 -1
  60. package/dist/components/tds-toast.js +1 -1
  61. package/dist/esm/loader.js +1 -1
  62. package/dist/esm/tds-body-cell.entry.js +2 -2
  63. package/dist/esm/tds-header-cell.entry.js +3 -11
  64. package/dist/esm/tds-icon.entry.js +4 -22
  65. package/dist/esm/tds-modal.entry.js +19 -7
  66. package/dist/esm/tds-spinner.entry.js +1 -1
  67. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -19
  68. package/dist/esm/tds-table-body-row-expandable.entry.js +7 -8
  69. package/dist/esm/tds-table-body-row.entry.js +2 -2
  70. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  71. package/dist/esm/tds-table-toolbar.entry.js +2 -6
  72. package/dist/esm/tds-text-field.entry.js +3 -3
  73. package/dist/esm/tegel.js +1 -1
  74. package/dist/tegel/p-0e37277e.entry.js +1 -0
  75. package/dist/tegel/p-1c0c284b.entry.js +1 -0
  76. package/dist/tegel/p-1cda8fe6.entry.js +1 -0
  77. package/dist/tegel/p-2551fd5b.entry.js +1 -0
  78. package/dist/tegel/p-2fbf2fdb.entry.js +1 -0
  79. package/dist/tegel/p-66786ba0.entry.js +1 -0
  80. package/dist/tegel/p-8f1aead7.entry.js +1 -0
  81. package/dist/tegel/p-981e6232.entry.js +1 -0
  82. package/dist/tegel/p-9ef67795.entry.js +1 -0
  83. package/dist/tegel/{p-d7cdbc4e.entry.js → p-a10b3a4a.entry.js} +1 -1
  84. package/dist/tegel/{p-f31f56fe.entry.js → p-d515fcdb.entry.js} +1 -1
  85. package/dist/tegel/tegel.esm.js +1 -1
  86. package/dist/types/components/icon/icon.d.ts +1 -3
  87. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +0 -1
  88. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +0 -2
  89. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +0 -3
  90. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +0 -2
  91. package/dist/types/components.d.ts +0 -24
  92. package/dist/types/types/Icons.d.ts +1 -3
  93. package/package.json +1 -1
  94. package/dist/collection/components/icon/tratonIconsArray.js +0 -32
  95. package/dist/collection/types/ScaniaIcons.js +0 -1
  96. package/dist/collection/types/TratonIcons.js +0 -1
  97. package/dist/components/p-adf3fdac.js +0 -85
  98. package/dist/tegel/p-07524838.entry.js +0 -1
  99. package/dist/tegel/p-1647691e.entry.js +0 -1
  100. package/dist/tegel/p-63d60c80.entry.js +0 -1
  101. package/dist/tegel/p-6a388505.entry.js +0 -1
  102. package/dist/tegel/p-73c3b496.entry.js +0 -1
  103. package/dist/tegel/p-a56ad3d8.entry.js +0 -1
  104. package/dist/tegel/p-c1eb973b.entry.js +0 -1
  105. package/dist/tegel/p-d94b21ce.entry.js +0 -1
  106. package/dist/tegel/p-f2318c88.entry.js +0 -1
  107. package/dist/types/types/ScaniaIcons.d.ts +0 -1
  108. package/dist/types/types/TratonIcons.d.ts +0 -1
@@ -68,13 +68,13 @@ export class TdsTableBodyRow {
68
68
  }
69
69
  }
70
70
  render() {
71
- return (h(Host, { key: '6bf3fee7c066bc4686c9aa0ecba45c04ca7b2aae', tabindex: this.clickable ? '0' : null, class: {
71
+ return (h(Host, { key: '5b049039384682278f6d296b58c861e255a7be36', tabindex: this.clickable ? '0' : null, class: {
72
72
  'tds-table__row': true,
73
73
  'tds-table__row--selected': this.selected,
74
74
  'tds-table__compact': this.compactDesign,
75
75
  'tds-table--divider': this.verticalDividers,
76
76
  'tds-table__row--clickable': this.clickable,
77
- }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '845e64408b938254887c7ec840eae48fc4ed01e3', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '817ef05632a9b2704148a0c9ce190b360b9cec3b', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '50cf1a5aeae24aaceeb813f432abe8e75ad53857' })));
77
+ }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: 'b01c688d209a7c81d7a4987a23afbdbbaf8c4b1e', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'b716bd929a7e1c6e29edb74609a7695db85d859a', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: 'c34811d4ef6837c3046434c805e1f1c291bc658c' })));
78
78
  }
79
79
  static get is() { return "tds-table-body-row"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,6 @@ export class TdsTableBodyRowExpandable {
21
21
  this.expanded = undefined;
22
22
  this.overflow = 'auto';
23
23
  this.autoCollapse = false;
24
- this.tdsAriaLabelExpandButton = '';
25
24
  this.isExpanded = false;
26
25
  this.tableId = '';
27
26
  this.columnsNumber = null;
@@ -101,26 +100,26 @@ export class TdsTableBodyRowExpandable {
101
100
  this.sendValue();
102
101
  }
103
102
  render() {
104
- return (h(Host, { key: '3d289d00082c284257728cec4f0ddcfc63dda863', class: {
103
+ return (h(Host, { key: '9414020f12ee91b731b9095601b990bc2ad3371c', class: {
105
104
  'tds-table__row': true,
106
105
  'tds-table__row-expand--active': this.isExpanded,
107
106
  'tds-table__compact': this.compactDesign,
108
107
  'tds-table--divider': this.verticalDividers,
109
- } }, h("tr", { key: '246ee336a3ab871346e1fcf81f02109121dc9657', id: `expandable-content-${this.rowId}`, class: {
108
+ } }, h("tr", { key: 'a61e2b06bd0ca24a1439f9ee188c16c6d72aee6b', class: {
110
109
  'tds-table__row': true,
111
110
  'tds-table__row--expanded': this.isExpanded,
112
- }, part: "row" }, h("td", { key: 'b727b78965a4bdf0b6cf8ff7e8460d3dfae8327e', class: {
111
+ }, part: "row" }, h("td", { key: '6b95af08336808aa1c3546065ddea7df3d88784a', class: {
113
112
  'tds-table__cell-expand': true,
114
- } }, h("label", { key: 'c878be3429a3145b62b242f2e3d9c90ec0a74257', class: "tds-table__expand-control-container" }, h("input", { key: '6b99ef165e359012f83f7e298d9f83319493fc52', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: 'ec9e1aefc553362c0c3e15cb99118a9c2dfffd04', class: "tds-expendable-row-icon" }, h("svg", { key: '84b3270e5f1bfc7671adcea34d862fe0485f40a8', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'fc04209a4a2d35c19c7c74875c0ab302077abbf2', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '0c16341da217fbe920241a97b179335cb61e2364' })), h("tr", { key: 'a83ca5c30ec4945dfee096a408db4d1d240d3643', class: {
113
+ } }, h("label", { key: '4e8684f15d8c2eeba68b44d83c4c4879a06488cc', class: "tds-table__expand-control-container" }, h("input", { key: 'b089f4d08c90209b7dd9c346e61508cec9699329', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: 'c1f0397af8533f7a90f91694b903f99a3dce06f5', class: "tds-expendable-row-icon" }, h("svg", { key: '688c959410eb223201fa60a74d580bbf0f58f73a', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '597ee637be990bb4e597bf460f4e0d44095cf507', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '25c8b16c5aeafe8922680a0508b9a1740374b43e' })), h("tr", { key: 'f39b8152eb0a697ecfaf52068e137619129eee69', class: {
115
114
  'tds-table__row-expand': true,
116
115
  'tds-table__row-expand--expanded': this.isExpanded,
117
- }, part: "expand-row" }, h("td", { key: '2fcafe17b33ce39b5e1a3b149434006a70f6b8f3', class: {
116
+ }, part: "expand-row" }, h("td", { key: 'fcfec78e44e1da564b36d2fa65f0549aa7154fc6', class: {
118
117
  'tds-table__cell-expand': true,
119
118
  'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
120
119
  'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
121
- }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'b696b23d127e32a8017692b03de1ce8ee9497dcb', style: {
120
+ }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'ecf58e291825543681d0781249b0404b7385144e', style: {
122
121
  overflow: this.overflow,
123
- } }, h("slot", { key: 'e64e00778fd7c85618ae4cbc19d232e2acb873b5', name: "expand-row" }))))));
122
+ } }, h("slot", { key: '8b118db9c887061935d153138b76e3712b1e6804', name: "expand-row" }))))));
124
123
  }
125
124
  static get is() { return "tds-table-body-row-expandable"; }
126
125
  static get encapsulation() { return "shadow"; }
@@ -224,24 +223,6 @@ export class TdsTableBodyRowExpandable {
224
223
  "attribute": "auto-collapse",
225
224
  "reflect": false,
226
225
  "defaultValue": "false"
227
- },
228
- "tdsAriaLabelExpandButton": {
229
- "type": "string",
230
- "mutable": false,
231
- "complexType": {
232
- "original": "string",
233
- "resolved": "string",
234
- "references": {}
235
- },
236
- "required": false,
237
- "optional": false,
238
- "docs": {
239
- "tags": [],
240
- "text": "Aria label for the expand button, providing an accessible description"
241
- },
242
- "attribute": "tds-aria-label-expand-button",
243
- "reflect": true,
244
- "defaultValue": "''"
245
226
  }
246
227
  };
247
228
  }
@@ -31,7 +31,7 @@ export class TdsTableHeaderCell {
31
31
  };
32
32
  this.headerCellContent = () => {
33
33
  if (this.sortable) {
34
- return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState }, "aria-label": this.tdsAriaLabelSortButton }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === undefined && (h("tds-icon", { svgTitle: "sorting", class: "tds-table__header-button-icon", name: "sorting", size: "16px" })), this.sortingDirection && ['asc', 'desc'].includes(this.sortingDirection) && (h("tds-icon", { svgTitle: "arrow down", class: `tds-table__header-button-icon ${this.sortingDirection === 'asc' ? 'tds-table__header-button-icon--rotate' : ''}`, name: "arrow_down", size: "16px" }))));
34
+ return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState } }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === undefined && (h("tds-icon", { class: "tds-table__header-button-icon", name: "sorting", size: "16px" })), this.sortingDirection && ['asc', 'desc'].includes(this.sortingDirection) && (h("tds-icon", { class: `tds-table__header-button-icon ${this.sortingDirection === 'asc' ? 'tds-table__header-button-icon--rotate' : ''}`, name: "arrow_down", size: "16px" }))));
35
35
  }
36
36
  return (h("p", { class: {
37
37
  'tds-table__header-text': true,
@@ -50,7 +50,6 @@ export class TdsTableHeaderCell {
50
50
  this.sortable = false;
51
51
  this.textAlign = 'left';
52
52
  this.disablePadding = false;
53
- this.tdsAriaLabelSortButton = '';
54
53
  this.textAlignState = undefined;
55
54
  this.sortingDirection = undefined;
56
55
  this.sortedByMyKey = false;
@@ -105,15 +104,8 @@ export class TdsTableHeaderCell {
105
104
  this.enableToolbarDesign =
106
105
  this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
107
106
  }
108
- getAriaSort() {
109
- if (this.sortingDirection === 'asc')
110
- return 'ascending';
111
- if (this.sortingDirection === 'desc')
112
- return 'descending';
113
- return 'none';
114
- }
115
107
  render() {
116
- return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
108
+ return (h(Host, { key: '072b8e55e1519151d7a178f905c5cf5bb353c5bf', class: {
117
109
  'tds-table__header-cell': true,
118
110
  'tds-table__header-cell--sortable': this.sortable,
119
111
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -124,7 +116,7 @@ export class TdsTableHeaderCell {
124
116
  'tds-table--extra-column': this.multiselect || this.expandableRows,
125
117
  'tds-table--toolbar-available': this.enableToolbarDesign,
126
118
  'tds-table--no-padding': this.disablePadding,
127
- }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), role: "columnheader", "aria-sort": this.getAriaSort() }, this.headerCellContent()));
119
+ }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover('') }, this.headerCellContent()));
128
120
  }
129
121
  static get is() { return "tds-header-cell"; }
130
122
  static get encapsulation() { return "shadow"; }
@@ -244,24 +236,6 @@ export class TdsTableHeaderCell {
244
236
  "attribute": "disable-padding",
245
237
  "reflect": true,
246
238
  "defaultValue": "false"
247
- },
248
- "tdsAriaLabelSortButton": {
249
- "type": "string",
250
- "mutable": false,
251
- "complexType": {
252
- "original": "string",
253
- "resolved": "string",
254
- "references": {}
255
- },
256
- "required": false,
257
- "optional": true,
258
- "docs": {
259
- "tags": [],
260
- "text": "Aria label for the sort button, providing an accessible description"
261
- },
262
- "attribute": "tds-aria-label-sort-button",
263
- "reflect": true,
264
- "defaultValue": "''"
265
239
  }
266
240
  };
267
241
  }
@@ -67,7 +67,7 @@ export class TdsTableHeaderInputWrapper {
67
67
  'focused-input-wrapper': this.inputFocused,
68
68
  'show-icon': this.showIcon,
69
69
  'tds-table__compact': this.compactDesign,
70
- } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { svgTitle: "search", class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
70
+ } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
71
71
  }
72
72
  static get is() { return "tds-table-header-input-wrapper"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,6 @@ export class TdsTableToolbar {
12
12
  constructor() {
13
13
  this.tableTitle = '';
14
14
  this.filter = false;
15
- this.tdsSearchAriaLabel = '';
16
15
  this.verticalDividers = false;
17
16
  this.compactDesign = false;
18
17
  this.noMinWidth = false;
@@ -35,9 +34,6 @@ export class TdsTableToolbar {
35
34
  connectedCallback() {
36
35
  this.tableEl = this.host.closest('tds-table');
37
36
  this.tableId = this.tableEl.tableId;
38
- if (!this.tdsSearchAriaLabel) {
39
- console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
40
- }
41
37
  }
42
38
  componentWillLoad() {
43
39
  relevantTableProps.forEach((tablePropName) => {
@@ -67,10 +63,10 @@ export class TdsTableToolbar {
67
63
  return styles;
68
64
  }
69
65
  render() {
70
- return (h(Host, { key: '063779da774e1040065cb68412e1e57f9b5a700c', class: {
66
+ return (h(Host, { key: '53f2438014682bd1b23cdeb222723b4f09fcf48b', class: {
71
67
  'tds-table--compact': this.compactDesign,
72
68
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
73
- }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '2bdef8894ab761fbdce8a1074d81c7af252b75be', class: "tds-table__upper-bar-flex" }, h("caption", { key: '031e3ecf77cd9a988f3c256383595aa1348215a0', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle), h("div", { key: 'fe49c2d76c2cc64350b81b6a36db4dd40ef83e58', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '7cb0de70a472d969fa99374b4c70b0dd170c07fc', class: "tds-table__searchbar" }, h("input", { key: '0afebcf7ebf0b5e040f975667e87c32ba4f56aed', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: 'c9e90eb15de675efe7a4a4552af1089036027c25', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '64fa664f000a0419b6807b1a639da85c426cb4f2', name: "search", size: "20px" })))), h("slot", { key: '3f18fa9b8877bcec0e3af488dbbbd77c5e09d53c', name: "end" })))));
69
+ }, style: this.getStyles() }, h("div", { key: 'e5912f152a528a0c9bf5a7582b10e2ca0458da9f', class: "tds-table__upper-bar-flex" }, h("caption", { key: '382bf6a6e35d78e329af0b6672b70c8875eaa184', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'f3a4fc316840e0bd1f083540a30831b77acf0c59', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '20ab41120800efe3194818c8e6a8039db012900b', class: "tds-table__searchbar" }, h("input", { key: 'd07cc3caa8f06b92fa7e80eabdaa565042d06ba5', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: '6b8cb5f2d9500a0a104d0656c085745ec6194bf0', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '926eeae91dfa03475fb16470e5780dc592f05680', name: "search", size: "20px" })))), h("slot", { key: '2694b404429fc75ad0793f01b604197c4faa4f7e', name: "end" })))));
74
70
  }
75
71
  static get is() { return "tds-table-toolbar"; }
76
72
  static get encapsulation() { return "shadow"; }
@@ -121,24 +117,6 @@ export class TdsTableToolbar {
121
117
  "attribute": "filter",
122
118
  "reflect": true,
123
119
  "defaultValue": "false"
124
- },
125
- "tdsSearchAriaLabel": {
126
- "type": "string",
127
- "mutable": false,
128
- "complexType": {
129
- "original": "string",
130
- "resolved": "string",
131
- "references": {}
132
- },
133
- "required": false,
134
- "optional": false,
135
- "docs": {
136
- "tags": [],
137
- "text": "Aria label for the search input, providing an accessible description"
138
- },
139
- "attribute": "tds-search-aria-label",
140
- "reflect": false,
141
- "defaultValue": "''"
142
120
  }
143
121
  };
144
122
  }
@@ -99,7 +99,7 @@ export class TdsTextField {
99
99
  'text-field-error': this.state === 'error',
100
100
  'text-field-success': this.state === 'success',
101
101
  'text-field-default': this.state === 'default',
102
- } }, h("slot", { key: '8c6c192a137ea00d114f9721d0f6fcea366708ca', name: "prefix" }))), h("div", { key: 'e8b2650e45cba5e63e1db4e3d1d7af6662ff187b', class: "text-field-input-container" }, h("input", { key: 'd5d238312f2c4fd2179892995165a7263d12a7bd', ref: (inputEl) => {
102
+ } }, h("slot", { key: '8c6c192a137ea00d114f9721d0f6fcea366708ca', name: "prefix" }))), h("div", { key: 'e8b2650e45cba5e63e1db4e3d1d7af6662ff187b', class: "text-field-input-container" }, h("input", { key: 'd208edd0ffe3f2a78bc2df4f0dd58e13fd768453', ref: (inputEl) => {
103
103
  this.textInput = inputEl;
104
104
  }, class: {
105
105
  'text-field-input': true,
@@ -114,13 +114,13 @@ export class TdsTextField {
114
114
  if (!this.readOnly) {
115
115
  this.handleBlur(event);
116
116
  }
117
- }, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '9d3cadd3c28ae4f198d5ddc142ef02d7535e9def', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '6df4af20de96ef2c081fed3ae765e4982cd836bd', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: '38b4ee5a2639c26f7e66f8ac4449fac3c90cf753', class: {
117
+ }, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": "text-field-helper-element", "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '38b9cedc8c7a07b582c16b01a267cf4e08a20481', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '9587a4002c11b93ee715952080e4959be0393642', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'bb46ceb5bee96468ecbd1ec0bda36c639b045450', class: {
118
118
  'text-field-slot-wrap-suffix': true,
119
119
  'text-field-error': this.state === 'error',
120
120
  'text-field-success': this.state === 'success',
121
121
  'text-field-default': this.state === 'default',
122
122
  'tds-u-display-none': this.readOnly,
123
- } }, h("slot", { key: 'a320cf2cabe3de76c4605a0cd4ed8925d7ceac17', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '02ca8a9c4afdb8570abb8e848c87d84b3cb470db', class: "text-field-icon__readonly" }, h("tds-icon", { key: '8774ad6177bd0007cf1c62b15a7bca4ad32b8e1e', name: "edit_inactive", size: "20px" }))), h("span", { key: '81ebfc7038ea8cc5c55abafb142d19102171b931', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: 'bb636ecc8feb14ae6d65828f8642eaade8af5a77', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: '5f5c356778771e62d89b392e440de717bd2c98f1', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '26b094a392c6ffa39bdbd5b3e4be1d312a6afb34', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'c2c968f2d161a54955da370780fea6caeeb683d3', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: '70534a98310d79bd6e9de45671e4f0035c3d6c9a', class: {
123
+ } }, h("slot", { key: 'baa86fca37b71182b800095be7c4fb6db2ee4d13', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '6d3abf0a6e60463e7f6db1187229cf17e5f4b80b', class: "text-field-icon__readonly" }, h("tds-icon", { key: 'c5afca89f935a0a3f2c63039badf7b05c60b6015', name: "edit_inactive", size: "20px" }))), h("span", { key: 'd677de36f510688d3311f514aed89390c1d0a39b', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: 'f79ebd15d92174541ea7683de7cf002af996733a', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'b7708331d4c8a21d869a21f86e873da017ae2157', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: '098f7e9d9b053b4bfb02a387be879d4c519c2b95', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'fa894663253fdb19d168e284284f35695deada29', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: 'dcae00985dc79db8ad6bdd65fe6160d4f5de8603', class: {
124
124
  'text-field-textcounter-divider': true,
125
125
  'text-field-textcounter-disabled': this.disabled,
126
126
  } }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));