@cloudscape-design/components 3.0.1413 → 3.0.1414

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 (237) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +49 -49
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/mobile-toolbar.d.ts.map +1 -1
  11. package/app-layout/visual-refresh/mobile-toolbar.js +1 -1
  12. package/app-layout/visual-refresh/mobile-toolbar.js.map +1 -1
  13. package/app-layout/visual-refresh/styles.css.js +86 -86
  14. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  15. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  16. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  17. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  18. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  19. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
  20. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
  21. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
  22. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
  23. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
  24. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
  25. package/attribute-editor/styles.css.js +15 -15
  26. package/attribute-editor/styles.scoped.css +28 -28
  27. package/attribute-editor/styles.selectors.js +15 -15
  28. package/breadcrumb-group/item/styles.css.js +7 -7
  29. package/breadcrumb-group/item/styles.scoped.css +28 -28
  30. package/breadcrumb-group/item/styles.selectors.js +7 -7
  31. package/button/styles.css.js +24 -24
  32. package/button/styles.scoped.css +328 -328
  33. package/button/styles.selectors.js +24 -24
  34. package/button-dropdown/item-element/styles.css.js +21 -21
  35. package/button-dropdown/item-element/styles.scoped.css +37 -37
  36. package/button-dropdown/item-element/styles.selectors.js +21 -21
  37. package/cards/styles.css.js +39 -39
  38. package/cards/styles.scoped.css +41 -41
  39. package/cards/styles.selectors.js +39 -39
  40. package/checkbox/internal.d.ts +1 -1
  41. package/checkbox/internal.d.ts.map +1 -1
  42. package/checkbox/internal.js.map +1 -1
  43. package/checkbox/styles.css.js +3 -3
  44. package/checkbox/styles.scoped.css +10 -10
  45. package/checkbox/styles.selectors.js +3 -3
  46. package/container/styles.css.js +33 -33
  47. package/container/styles.scoped.css +106 -106
  48. package/container/styles.selectors.js +33 -33
  49. package/content-layout/interfaces.d.ts +4 -2
  50. package/content-layout/interfaces.d.ts.map +1 -1
  51. package/content-layout/interfaces.js.map +1 -1
  52. package/content-layout/styles.css.js +14 -14
  53. package/content-layout/styles.scoped.css +27 -27
  54. package/content-layout/styles.selectors.js +14 -14
  55. package/control-group/styles.css.js +27 -27
  56. package/control-group/styles.scoped.css +28 -28
  57. package/control-group/styles.selectors.js +27 -27
  58. package/dropdown/styles.css.js +20 -20
  59. package/dropdown/styles.scoped.css +45 -45
  60. package/dropdown/styles.selectors.js +20 -20
  61. package/file-token-group/styles.css.js +23 -23
  62. package/file-token-group/styles.scoped.css +36 -36
  63. package/file-token-group/styles.selectors.js +23 -23
  64. package/flashbar/styles.css.js +50 -50
  65. package/flashbar/styles.scoped.css +182 -182
  66. package/flashbar/styles.selectors.js +50 -50
  67. package/help-panel/styles.css.js +6 -6
  68. package/help-panel/styles.scoped.css +72 -72
  69. package/help-panel/styles.selectors.js +6 -6
  70. package/input/styles.css.js +45 -45
  71. package/input/styles.scoped.css +145 -145
  72. package/input/styles.selectors.js +45 -45
  73. package/internal/base-component/styles.scoped.css +1 -1
  74. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  75. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  76. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  77. package/internal/components/option/styles.css.js +19 -19
  78. package/internal/components/option/styles.scoped.css +36 -36
  79. package/internal/components/option/styles.selectors.js +19 -19
  80. package/internal/components/radio-button/styles.css.js +7 -7
  81. package/internal/components/radio-button/styles.scoped.css +17 -17
  82. package/internal/components/radio-button/styles.selectors.js +7 -7
  83. package/internal/components/selectable-item/styles.css.js +23 -23
  84. package/internal/components/selectable-item/styles.scoped.css +58 -58
  85. package/internal/components/selectable-item/styles.selectors.js +23 -23
  86. package/internal/components/token-list/styles.css.js +10 -10
  87. package/internal/components/token-list/styles.scoped.css +25 -25
  88. package/internal/components/token-list/styles.selectors.js +10 -10
  89. package/internal/environment.js +2 -2
  90. package/internal/environment.json +2 -2
  91. package/internal/generated/custom-css-properties/index.d.ts +1 -0
  92. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  93. package/internal/generated/custom-css-properties/index.js +178 -177
  94. package/internal/generated/custom-css-properties/index.js.map +1 -1
  95. package/internal/manifest.json +1 -1
  96. package/item-card/styles.css.js +14 -14
  97. package/item-card/styles.scoped.css +73 -73
  98. package/item-card/styles.selectors.js +14 -14
  99. package/link/styles.css.js +21 -21
  100. package/link/styles.scoped.css +104 -104
  101. package/link/styles.selectors.js +21 -21
  102. package/manifest.json +2 -2
  103. package/modal/styles.css.js +32 -32
  104. package/modal/styles.scoped.css +49 -49
  105. package/modal/styles.selectors.js +32 -32
  106. package/package.json +1 -1
  107. package/popover/styles.css.js +58 -58
  108. package/popover/styles.scoped.css +94 -94
  109. package/popover/styles.selectors.js +58 -58
  110. package/progress-bar/styles.css.js +20 -20
  111. package/progress-bar/styles.scoped.css +59 -59
  112. package/progress-bar/styles.selectors.js +20 -20
  113. package/prompt-input/components/token-mode.d.ts +4 -0
  114. package/prompt-input/components/token-mode.d.ts.map +1 -1
  115. package/prompt-input/components/token-mode.js +2 -2
  116. package/prompt-input/components/token-mode.js.map +1 -1
  117. package/prompt-input/internal.d.ts +10 -1
  118. package/prompt-input/internal.d.ts.map +1 -1
  119. package/prompt-input/internal.js +35 -26
  120. package/prompt-input/internal.js.map +1 -1
  121. package/prompt-input/styles.css.js +26 -26
  122. package/prompt-input/styles.scoped.css +136 -107
  123. package/prompt-input/styles.selectors.js +26 -26
  124. package/prompt-input/tokens/use-token-mode.d.ts +4 -0
  125. package/prompt-input/tokens/use-token-mode.d.ts.map +1 -1
  126. package/prompt-input/tokens/use-token-mode.js +3 -3
  127. package/prompt-input/tokens/use-token-mode.js.map +1 -1
  128. package/property-filter/interfaces.d.ts +2 -0
  129. package/property-filter/interfaces.d.ts.map +1 -1
  130. package/property-filter/interfaces.js.map +1 -1
  131. package/property-filter/token-editor-inputs.d.ts.map +1 -1
  132. package/property-filter/token-editor-inputs.js +3 -3
  133. package/property-filter/token-editor-inputs.js.map +1 -1
  134. package/segmented-control/styles.css.js +31 -31
  135. package/segmented-control/styles.scoped.css +81 -81
  136. package/segmented-control/styles.selectors.js +31 -31
  137. package/select/parts/styles.css.js +22 -22
  138. package/select/parts/styles.scoped.css +25 -25
  139. package/select/parts/styles.selectors.js +22 -22
  140. package/side-navigation/styles.css.js +65 -65
  141. package/side-navigation/styles.scoped.css +114 -114
  142. package/side-navigation/styles.selectors.js +65 -65
  143. package/slider/styles.css.js +26 -26
  144. package/slider/styles.scoped.css +167 -167
  145. package/slider/styles.selectors.js +26 -26
  146. package/spinner/styles.css.js +14 -14
  147. package/spinner/styles.scoped.css +40 -40
  148. package/spinner/styles.selectors.js +14 -14
  149. package/styling/prompt-input.scss +76 -0
  150. package/styling/table.scss +102 -0
  151. package/styling/tabs.scss +128 -0
  152. package/table/body-cell/styles.css.js +47 -47
  153. package/table/body-cell/styles.scoped.css +426 -418
  154. package/table/body-cell/styles.selectors.js +47 -47
  155. package/table/body-cell/td-element.d.ts +1 -0
  156. package/table/body-cell/td-element.d.ts.map +1 -1
  157. package/table/body-cell/td-element.js +2 -2
  158. package/table/body-cell/td-element.js.map +1 -1
  159. package/table/clear-sort.d.ts +3 -1
  160. package/table/clear-sort.d.ts.map +1 -1
  161. package/table/clear-sort.js +2 -2
  162. package/table/clear-sort.js.map +1 -1
  163. package/table/header-cell/common-props.d.ts +2 -0
  164. package/table/header-cell/common-props.d.ts.map +1 -1
  165. package/table/header-cell/common-props.js.map +1 -1
  166. package/table/header-cell/group-header-cell.d.ts +2 -1
  167. package/table/header-cell/group-header-cell.d.ts.map +1 -1
  168. package/table/header-cell/group-header-cell.js +3 -2
  169. package/table/header-cell/group-header-cell.js.map +1 -1
  170. package/table/header-cell/index.d.ts +2 -1
  171. package/table/header-cell/index.d.ts.map +1 -1
  172. package/table/header-cell/index.js +12 -5
  173. package/table/header-cell/index.js.map +1 -1
  174. package/table/header-cell/sort-menu.d.ts +4 -1
  175. package/table/header-cell/sort-menu.d.ts.map +1 -1
  176. package/table/header-cell/sort-menu.js +2 -2
  177. package/table/header-cell/sort-menu.js.map +1 -1
  178. package/table/header-cell/styles.css.js +39 -39
  179. package/table/header-cell/styles.scoped.css +140 -125
  180. package/table/header-cell/styles.selectors.js +39 -39
  181. package/table/header-cell/th-element.d.ts +2 -0
  182. package/table/header-cell/th-element.d.ts.map +1 -1
  183. package/table/header-cell/th-element.js +2 -2
  184. package/table/header-cell/th-element.js.map +1 -1
  185. package/table/internal.d.ts.map +1 -1
  186. package/table/internal.js +20 -7
  187. package/table/internal.js.map +1 -1
  188. package/table/resizer/index.d.ts.map +1 -1
  189. package/table/resizer/index.js +1 -1
  190. package/table/resizer/index.js.map +1 -1
  191. package/table/resizer/styles.css.js +17 -17
  192. package/table/resizer/styles.scoped.css +39 -35
  193. package/table/resizer/styles.selectors.js +17 -17
  194. package/table/selection/selection-cell.d.ts +5 -0
  195. package/table/selection/selection-cell.d.ts.map +1 -1
  196. package/table/selection/selection-cell.js +6 -5
  197. package/table/selection/selection-cell.js.map +1 -1
  198. package/table/selection/selection-control.d.ts +3 -0
  199. package/table/selection/selection-control.d.ts.map +1 -1
  200. package/table/selection/selection-control.js +2 -2
  201. package/table/selection/selection-control.js.map +1 -1
  202. package/table/style-api.d.ts +41 -0
  203. package/table/style-api.d.ts.map +1 -0
  204. package/table/style-api.js +4 -0
  205. package/table/style-api.js.map +1 -0
  206. package/table/styles.css.js +37 -37
  207. package/table/styles.scoped.css +119 -46
  208. package/table/styles.selectors.js +37 -37
  209. package/table/thead.d.ts +2 -0
  210. package/table/thead.d.ts.map +1 -1
  211. package/table/thead.js +2 -1
  212. package/table/thead.js.map +1 -1
  213. package/tabs/index.d.ts.map +1 -1
  214. package/tabs/index.js +3 -2
  215. package/tabs/index.js.map +1 -1
  216. package/tabs/styles.css.js +30 -30
  217. package/tabs/styles.scoped.css +137 -81
  218. package/tabs/styles.selectors.js +30 -30
  219. package/tabs/tab-header-bar.d.ts +12 -1
  220. package/tabs/tab-header-bar.d.ts.map +1 -1
  221. package/tabs/tab-header-bar.js +14 -7
  222. package/tabs/tab-header-bar.js.map +1 -1
  223. package/tag-editor/styles.css.js +3 -3
  224. package/tag-editor/styles.scoped.css +13 -13
  225. package/tag-editor/styles.selectors.js +3 -3
  226. package/text-content/styles.css.js +1 -1
  227. package/text-content/styles.scoped.css +66 -66
  228. package/text-content/styles.selectors.js +1 -1
  229. package/textarea/styles.css.js +9 -9
  230. package/textarea/styles.scoped.css +51 -51
  231. package/textarea/styles.selectors.js +9 -9
  232. package/toggle/styles.css.js +10 -10
  233. package/toggle/styles.scoped.css +25 -25
  234. package/toggle/styles.selectors.js +10 -10
  235. package/token/styles.css.js +14 -14
  236. package/token/styles.scoped.css +57 -57
  237. package/token/styles.selectors.js +14 -14
@@ -10,7 +10,74 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
10
10
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
11
  SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- .awsui_root_wih1l_ondi0_13:not(#\9) {
13
+ /*
14
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
+ SPDX-License-Identifier: Apache-2.0
16
+ */
17
+ @property --awsui-style-selected-row-outline-color {
18
+ syntax: "*";
19
+ inherits: false;
20
+ }
21
+ @property --awsui-style-selected-row-outline-radius {
22
+ syntax: "*";
23
+ inherits: false;
24
+ }
25
+ @property --awsui-style-sticky-header-shadow {
26
+ syntax: "*";
27
+ inherits: false;
28
+ }
29
+ @property --awsui-style-border-color {
30
+ syntax: "*";
31
+ inherits: false;
32
+ }
33
+ @property --awsui-style-divider-color {
34
+ syntax: "*";
35
+ inherits: false;
36
+ }
37
+ @property --awsui-style-focus-ring-color {
38
+ syntax: "*";
39
+ inherits: false;
40
+ }
41
+ @property --awsui-style-focus-ring-width {
42
+ syntax: "*";
43
+ inherits: false;
44
+ }
45
+ @property --awsui-style-focus-ring-radius {
46
+ syntax: "*";
47
+ inherits: false;
48
+ }
49
+ @property --awsui-style-background-color {
50
+ syntax: "*";
51
+ inherits: false;
52
+ }
53
+ /* awsui:style-api-slot name=root tokens=selected-row-outline-color, selected-row-outline-radius, sticky-header-shadow properties= */
54
+ /* awsui:style-api-description slot=root kind=token name=selected-row-outline-color text=Line around selected rows, including between consecutive selected rows. */
55
+ /* awsui:style-api-description slot=root kind=token name=selected-row-outline-radius text=Corner radius of the outline around selected rows. */
56
+ /* awsui:style-api-description slot=root kind=token name=sticky-header-shadow text=Shadow below the header while it is stuck. Its first layer draws the line below the header. */
57
+ /* awsui:style-api-slot name=headerCell tokens=border-color, divider-color, focus-ring-color, focus-ring-width, focus-ring-radius properties=background, color, font-family, font-size, font-weight, letter-spacing */
58
+ /* awsui:style-api-description slot=headerCell kind=slot name=headerCell text=Column, column group and selection header cells. */
59
+ /* awsui:style-api-description slot=headerCell kind=token name=border-color text=Line below the cell. */
60
+ /* awsui:style-api-description slot=headerCell kind=token name=divider-color text=Line at the inline end of the cell, except while resizing. */
61
+ /* awsui:style-api-description slot=headerCell kind=token name=focus-ring-color text=Keyboard navigation focus ring of the cell and its resize handle. */
62
+ /* awsui:style-api-slot name=sortingButton tokens= properties=color */
63
+ /* awsui:style-api-description slot=sortingButton kind=slot name=sortingButton text=Sort button of sortable column header cells. Inherits the header cell color; use `:hover` for the interaction state. */
64
+ /* awsui:style-api-slot name=sortingIndicator tokens= properties=color */
65
+ /* awsui:style-api-description slot=sortingIndicator kind=slot name=sortingIndicator text=Sorting indicator of column header cells, including the multi-column sort priority. */
66
+ /* awsui:style-api-slot name=sortingMenu component=button-dropdown */
67
+ /* awsui:style-api-slot name=clearSortButton component=button slot=root */
68
+ /* awsui:style-api-slot name=row tokens=background-color, divider-color properties= */
69
+ /* awsui:style-api-description slot=row kind=token name=background-color text=Background of every cell in the row, including sticky cells. */
70
+ /* awsui:style-api-description slot=row kind=token name=divider-color text=Line below the row. */
71
+ /* awsui:style-api-slot name=cell tokens=background-color, focus-ring-color, focus-ring-width, focus-ring-radius properties= */
72
+ /* awsui:style-api-description slot=cell kind=slot name=cell text=Body cells, including selection cells. */
73
+ /* awsui:style-api-description slot=cell kind=token name=focus-ring-color text=Keyboard navigation focus ring. Focusable cell content keeps its own focus ring. */
74
+ /* awsui:style-api-slot name=selectionCheckbox component=checkbox */
75
+ /* awsui:style-api-slot name=selectionRadio component=radio-button */
76
+ .awsui_root_wih1l_1qdri_76:not(#\9) {
77
+ --awsui-internal-style-selected-row-outline-color: var(--awsui-style-selected-row-outline-color);
78
+ --awsui-internal-style-selected-row-outline-radius: var(--awsui-style-selected-row-outline-radius);
79
+ --awsui-internal-style-sticky-header-shadow: var(--awsui-style-sticky-header-shadow);
80
+ --awsui-table-sticky-header-shadow-6xj2gg: var(--awsui-internal-style-sticky-header-shadow, var(--shadow-sticky-embedded-4e1jeb, 0px 2px 0px 0px #e9ebed, 0px 16px 16px -12px rgba(0, 7, 22, 0.1)));
14
81
  font-size: var(--font-size-body-m-diae7s, 14px);
15
82
  line-height: var(--line-height-body-m-18p63n, 20px);
16
83
  color: var(--color-text-body-default-9im48h, #0f141a);
@@ -21,7 +88,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
21
88
  inline-size: 100%;
22
89
  }
23
90
 
24
- .awsui_tools_wih1l_ondi0_24:not(#\9) {
91
+ .awsui_tools_wih1l_1qdri_91:not(#\9) {
25
92
  display: flex;
26
93
  align-items: flex-end;
27
94
  flex-wrap: wrap;
@@ -30,68 +97,69 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
30
97
  padding-block-end: var(--space-table-header-tools-bottom-197oha, 0px);
31
98
  padding-inline: 0;
32
99
  }
33
- .awsui_tools-filtering_wih1l_ondi0_33:not(#\9) {
100
+ .awsui_tools-filtering_wih1l_1qdri_100:not(#\9) {
34
101
  max-inline-size: 100%;
35
102
  }
36
103
  @supports (flex-basis: fit-content) {
37
- .awsui_tools-filtering_wih1l_ondi0_33:not(#\9) {
104
+ .awsui_tools-filtering_wih1l_1qdri_100:not(#\9) {
38
105
  flex: 1 1 fit-content;
39
106
  }
40
107
  }
41
108
  @supports not (flex-basis: fit-content) {
42
- .awsui_tools-filtering_wih1l_ondi0_33:not(#\9) {
109
+ .awsui_tools-filtering_wih1l_1qdri_100:not(#\9) {
43
110
  flex: 1 1 auto;
44
111
  }
45
112
  }
46
- .awsui_tools-align-right_wih1l_ondi0_46:not(#\9) {
113
+ .awsui_tools-align-right_wih1l_1qdri_113:not(#\9) {
47
114
  display: flex;
48
115
  margin-inline-start: auto;
49
116
  }
50
- .awsui_tools-clear-sort_wih1l_ondi0_50:not(#\9) {
117
+ .awsui_tools-clear-sort_wih1l_1qdri_117:not(#\9) {
51
118
  align-self: center;
52
119
  }
53
- .awsui_tools-clear-sort_wih1l_ondi0_50 + .awsui_tools-pagination_wih1l_ondi0_53:not(#\9), .awsui_tools-clear-sort_wih1l_ondi0_50 + .awsui_tools-preferences_wih1l_ondi0_53:not(#\9), .awsui_tools-pagination_wih1l_ondi0_53 + .awsui_tools-preferences_wih1l_ondi0_53:not(#\9) {
120
+ .awsui_tools-clear-sort_wih1l_1qdri_117 + .awsui_tools-pagination_wih1l_1qdri_120:not(#\9), .awsui_tools-clear-sort_wih1l_1qdri_117 + .awsui_tools-preferences_wih1l_1qdri_120:not(#\9), .awsui_tools-pagination_wih1l_1qdri_120 + .awsui_tools-preferences_wih1l_1qdri_120:not(#\9) {
54
121
  border-inline-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
55
122
  box-sizing: border-box;
56
123
  margin-inline-start: var(--space-xs-3yjatw, 8px);
57
124
  padding-inline-start: var(--space-xs-3yjatw, 8px);
58
125
  }
59
- .awsui_tools-small_wih1l_ondi0_59 > .awsui_tools-filtering_wih1l_ondi0_33:not(#\9) {
126
+ .awsui_tools-small_wih1l_1qdri_126 > .awsui_tools-filtering_wih1l_1qdri_100:not(#\9) {
60
127
  flex-basis: 100%;
61
128
  }
62
129
 
63
- .awsui_table_wih1l_ondi0_63:not(#\9) {
130
+ .awsui_table_wih1l_1qdri_130:not(#\9) {
64
131
  inline-size: 100%;
65
132
  border-spacing: 0;
66
133
  position: relative;
67
134
  box-sizing: border-box;
68
135
  font-size: var(--font-size-body-m-diae7s, 14px);
69
136
  }
70
- .awsui_table-layout-fixed_wih1l_ondi0_70:not(#\9) {
137
+ .awsui_table-layout-fixed_wih1l_1qdri_137:not(#\9) {
71
138
  table-layout: fixed;
72
139
  }
73
140
 
74
- .awsui_wrapper_wih1l_ondi0_74:not(#\9) {
141
+ .awsui_wrapper_wih1l_1qdri_141:not(#\9) {
142
+ --awsui-table-sticky-header-shadow-6xj2gg: initial;
75
143
  position: relative;
76
144
  box-sizing: border-box;
77
145
  inline-size: 100%;
78
146
  overflow-x: auto;
79
147
  scrollbar-width: none; /* Hide scrollbar in Firefox */
80
148
  }
81
- .awsui_wrapper_wih1l_ondi0_74.awsui_variant-stacked_wih1l_ondi0_81 > .awsui_table_wih1l_ondi0_63:not(#\9), .awsui_wrapper_wih1l_ondi0_74.awsui_variant-stacked_wih1l_ondi0_81 > .awsui_wrapper-content-measure_wih1l_ondi0_81:not(#\9), .awsui_wrapper_wih1l_ondi0_74.awsui_variant-container_wih1l_ondi0_81 > .awsui_table_wih1l_ondi0_63:not(#\9), .awsui_wrapper_wih1l_ondi0_74.awsui_variant-container_wih1l_ondi0_81 > .awsui_wrapper-content-measure_wih1l_ondi0_81:not(#\9) {
149
+ .awsui_wrapper_wih1l_1qdri_141.awsui_variant-stacked_wih1l_1qdri_149 > .awsui_table_wih1l_1qdri_130:not(#\9), .awsui_wrapper_wih1l_1qdri_141.awsui_variant-stacked_wih1l_1qdri_149 > .awsui_wrapper-content-measure_wih1l_1qdri_149:not(#\9), .awsui_wrapper_wih1l_1qdri_141.awsui_variant-container_wih1l_1qdri_149 > .awsui_table_wih1l_1qdri_130:not(#\9), .awsui_wrapper_wih1l_1qdri_141.awsui_variant-container_wih1l_1qdri_149 > .awsui_wrapper-content-measure_wih1l_1qdri_149:not(#\9) {
82
150
  padding-inline: var(--space-table-horizontal-1rh3c1, 20px);
83
151
  }
84
- .awsui_wrapper_wih1l_ondi0_74.awsui_variant-stacked_wih1l_ondi0_81:not(#\9):not(.awsui_has-footer_wih1l_ondi0_84), .awsui_wrapper_wih1l_ondi0_74.awsui_variant-container_wih1l_ondi0_81:not(#\9):not(.awsui_has-footer_wih1l_ondi0_84) {
152
+ .awsui_wrapper_wih1l_1qdri_141.awsui_variant-stacked_wih1l_1qdri_149:not(#\9):not(.awsui_has-footer_wih1l_1qdri_152), .awsui_wrapper_wih1l_1qdri_141.awsui_variant-container_wih1l_1qdri_149:not(#\9):not(.awsui_has-footer_wih1l_1qdri_152) {
85
153
  padding-block-end: var(--space-table-content-bottom-olrh81, 4px);
86
154
  }
87
- .awsui_wrapper_wih1l_ondi0_74:not(#\9):not(.awsui_has-header_wih1l_ondi0_87) {
155
+ .awsui_wrapper_wih1l_1qdri_141:not(#\9):not(.awsui_has-header_wih1l_1qdri_155) {
88
156
  border-start-end-radius: var(--border-radius-container-cjce5i, 16px);
89
157
  border-start-start-radius: var(--border-radius-container-cjce5i, 16px);
90
158
  }
91
- .awsui_wrapper_wih1l_ondi0_74:not(#\9)::-webkit-scrollbar {
159
+ .awsui_wrapper_wih1l_1qdri_141:not(#\9)::-webkit-scrollbar {
92
160
  display: none; /* Hide scrollbar in Safari and Chrome */
93
161
  }
94
- body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_ondi0_74:not(#\9):focus {
162
+ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_1qdri_141:not(#\9):focus {
95
163
  outline: 2px dotted transparent;
96
164
  outline-offset: 2px;
97
165
  border-start-start-radius: var(--border-radius-container-cjce5i, 16px);
@@ -101,19 +169,19 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_ondi0_74:not(#\9):focus
101
169
  box-shadow: 0 0 0 2px var(--color-border-item-focused-sb1fs0, #006ce0);
102
170
  }
103
171
 
104
- .awsui_cell-merged_wih1l_ondi0_104:not(#\9) {
172
+ .awsui_cell-merged_wih1l_1qdri_172:not(#\9) {
105
173
  text-align: center;
106
174
  padding-block: 0;
107
175
  padding-inline: 0;
108
176
  }
109
- .awsui_cell-merged_wih1l_ondi0_104.awsui_has-footer_wih1l_ondi0_84:not(#\9) {
177
+ .awsui_cell-merged_wih1l_1qdri_172.awsui_has-footer_wih1l_1qdri_152:not(#\9) {
110
178
  /*
111
179
  Add a bottom border to the body cell of an empty table as a separator between the
112
180
  table and the footer
113
181
  */
114
182
  border-block-end: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
115
183
  }
116
- .awsui_cell-merged-content_wih1l_ondi0_116:not(#\9) {
184
+ .awsui_cell-merged-content_wih1l_1qdri_184:not(#\9) {
117
185
  box-sizing: border-box;
118
186
  inline-size: 100%;
119
187
  padding-block-start: var(--space-scaled-m-vjrqwc, 16px);
@@ -121,7 +189,7 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_ondi0_74:not(#\9):focus
121
189
  padding-inline: var(--space-l-e5i7qp, 20px);
122
190
  }
123
191
  @supports (position: sticky) {
124
- .awsui_cell-merged-content_wih1l_ondi0_116:not(#\9) {
192
+ .awsui_cell-merged-content_wih1l_1qdri_184:not(#\9) {
125
193
  position: sticky;
126
194
  inset-inline-start: 0;
127
195
  margin-block: 0;
@@ -129,11 +197,11 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_ondi0_74:not(#\9):focus
129
197
  }
130
198
  }
131
199
 
132
- .awsui_empty_wih1l_ondi0_132:not(#\9) {
200
+ .awsui_empty_wih1l_1qdri_200:not(#\9) {
133
201
  color: var(--color-text-empty-a5zixv, #656871);
134
202
  }
135
203
 
136
- .awsui_loading_wih1l_ondi0_136:not(#\9) {
204
+ .awsui_loading_wih1l_1qdri_204:not(#\9) {
137
205
  /* used in test-utils */
138
206
  }
139
207
 
@@ -142,26 +210,26 @@ The min/max/width token values in Visual Refresh should align
142
210
  the table header and body cells selection control with the table
143
211
  filter search icon.
144
212
  */
145
- .awsui_selection-control_wih1l_ondi0_145:not(#\9) {
213
+ .awsui_selection-control_wih1l_1qdri_213:not(#\9) {
146
214
  box-sizing: border-box;
147
215
  max-inline-size: var(--size-table-selection-horizontal-owuiy4, 40px);
148
216
  min-inline-size: var(--size-table-selection-horizontal-owuiy4, 40px);
149
217
  position: relative;
150
218
  inline-size: var(--size-table-selection-horizontal-owuiy4, 40px);
151
219
  }
152
- .awsui_selection-control_wih1l_ondi0_145.awsui_selection-control-header_wih1l_ondi0_152:not(#\9) {
220
+ .awsui_selection-control_wih1l_1qdri_213.awsui_selection-control-header_wih1l_1qdri_220:not(#\9) {
153
221
  padding-block: var(--space-scaled-xs-65ylh6, 8px);
154
222
  padding-inline: var(--space-scaled-l-kalwlg, 20px);
155
223
  border-inline-start: var(--border-width-item-selected-li1zyw, 2px) solid transparent;
156
224
  }
157
- .awsui_selection-control-content-spans-rows_wih1l_ondi0_157:not(#\9) {
225
+ .awsui_selection-control-content-spans-rows_wih1l_1qdri_225:not(#\9) {
158
226
  display: flex;
159
227
  flex-direction: column;
160
228
  justify-content: flex-end;
161
229
  block-size: 100%;
162
230
  }
163
231
 
164
- .awsui_header-secondary_wih1l_ondi0_164:not(#\9) {
232
+ .awsui_header-secondary_wih1l_1qdri_232:not(#\9) {
165
233
  overflow: auto;
166
234
  scrollbar-width: none; /* Firefox */
167
235
  box-sizing: border-box;
@@ -172,49 +240,49 @@ filter search icon.
172
240
  border-end-end-radius: 0;
173
241
  background: var(--color-background-table-header-dbczmh, #ffffff);
174
242
  }
175
- .awsui_header-secondary_wih1l_ondi0_164:not(#\9)::-webkit-scrollbar {
243
+ .awsui_header-secondary_wih1l_1qdri_232:not(#\9)::-webkit-scrollbar {
176
244
  display: none; /* Safari and Chrome */
177
245
  }
178
- .awsui_header-secondary_wih1l_ondi0_164.awsui_variant-full-page_wih1l_ondi0_178:not(#\9) {
246
+ .awsui_header-secondary_wih1l_1qdri_232.awsui_variant-full-page_wih1l_1qdri_246:not(#\9) {
179
247
  background: var(--color-background-layout-main-lursna, #ffffff);
180
248
  }
181
- .awsui_header-secondary_wih1l_ondi0_164.awsui_variant-stacked_wih1l_ondi0_81 > .awsui_table_wih1l_ondi0_63:not(#\9), .awsui_header-secondary_wih1l_ondi0_164.awsui_variant-container_wih1l_ondi0_81 > .awsui_table_wih1l_ondi0_63:not(#\9) {
249
+ .awsui_header-secondary_wih1l_1qdri_232.awsui_variant-stacked_wih1l_1qdri_149 > .awsui_table_wih1l_1qdri_130:not(#\9), .awsui_header-secondary_wih1l_1qdri_232.awsui_variant-container_wih1l_1qdri_149 > .awsui_table_wih1l_1qdri_130:not(#\9) {
182
250
  padding-inline: var(--space-table-horizontal-1rh3c1, 20px);
183
251
  }
184
- .awsui_header-secondary_wih1l_ondi0_164.awsui_variant-stacked_wih1l_ondi0_81:not(#\9):not(.awsui_table-has-header_wih1l_ondi0_184), .awsui_header-secondary_wih1l_ondi0_164.awsui_variant-container_wih1l_ondi0_81:not(#\9):not(.awsui_table-has-header_wih1l_ondi0_184) {
252
+ .awsui_header-secondary_wih1l_1qdri_232.awsui_variant-stacked_wih1l_1qdri_149:not(#\9):not(.awsui_table-has-header_wih1l_1qdri_252), .awsui_header-secondary_wih1l_1qdri_232.awsui_variant-container_wih1l_1qdri_149:not(#\9):not(.awsui_table-has-header_wih1l_1qdri_252) {
185
253
  border-start-start-radius: var(--border-radius-container-cjce5i, 16px);
186
254
  border-start-end-radius: var(--border-radius-container-cjce5i, 16px);
187
255
  }
188
- .awsui_header-secondary_wih1l_ondi0_164.awsui_table-has-header_wih1l_ondi0_184:not(#\9) {
256
+ .awsui_header-secondary_wih1l_1qdri_232.awsui_table-has-header_wih1l_1qdri_252:not(#\9) {
189
257
  border-block-start: var(--border-divider-list-width-q8ujlb, 1px) solid var(--color-border-container-divider-e481ma, transparent);
190
258
  }
191
259
 
192
- .awsui_header-controls_wih1l_ondi0_192:not(#\9) {
260
+ .awsui_header-controls_wih1l_1qdri_260:not(#\9) {
193
261
  padding-block: var(--space-container-header-top-yolt6h, 12px) var(--space-container-header-bottom-r88nbd, 8px);
194
262
  }
195
- .awsui_header-controls_wih1l_ondi0_192:not(#\9):not(.awsui_variant-full-page_wih1l_ondi0_178) {
196
- --awsui-inline-label-background-color-8i8exb: var(--color-background-table-header-dbczmh, #ffffff);
263
+ .awsui_header-controls_wih1l_1qdri_260:not(#\9):not(.awsui_variant-full-page_wih1l_1qdri_246) {
264
+ --awsui-inline-label-background-color-6xj2gg: var(--color-background-table-header-dbczmh, #ffffff);
197
265
  }
198
- .awsui_header-controls_wih1l_ondi0_192.awsui_variant-full-page_wih1l_ondi0_178:not(#\9) {
266
+ .awsui_header-controls_wih1l_1qdri_260.awsui_variant-full-page_wih1l_1qdri_246:not(#\9) {
199
267
  padding-block: 0 calc(var(--space-container-header-bottom-r88nbd, 8px) + var(--space-table-header-tools-full-page-bottom-2tmh8o, 4px));
200
268
  }
201
- .awsui_header-controls_wih1l_ondi0_192.awsui_variant-stacked_wih1l_ondi0_81:not(#\9), .awsui_header-controls_wih1l_ondi0_192.awsui_variant-container_wih1l_ondi0_81:not(#\9) {
269
+ .awsui_header-controls_wih1l_1qdri_260.awsui_variant-stacked_wih1l_1qdri_149:not(#\9), .awsui_header-controls_wih1l_1qdri_260.awsui_variant-container_wih1l_1qdri_149:not(#\9) {
202
270
  padding-inline: calc(var(--space-table-horizontal-1rh3c1, 20px) + var(--space-table-header-horizontal-mv0wdj, 0px));
203
271
  }
204
- .awsui_header-controls_wih1l_ondi0_192.awsui_variant-embedded_wih1l_ondi0_204:not(#\9), .awsui_header-controls_wih1l_ondi0_192.awsui_variant-borderless_wih1l_ondi0_204:not(#\9) {
272
+ .awsui_header-controls_wih1l_1qdri_260.awsui_variant-embedded_wih1l_1qdri_272:not(#\9), .awsui_header-controls_wih1l_1qdri_260.awsui_variant-borderless_wih1l_1qdri_272:not(#\9) {
205
273
  padding-inline: var(--space-table-header-horizontal-mv0wdj, 0px);
206
274
  padding-block-start: var(--space-table-embedded-header-top-xkqklf, 0px);
207
275
  }
208
276
 
209
- .awsui_footer-wrapper_wih1l_ondi0_209.awsui_variant-stacked_wih1l_ondi0_81:not(#\9), .awsui_footer-wrapper_wih1l_ondi0_209.awsui_variant-container_wih1l_ondi0_81:not(#\9) {
277
+ .awsui_footer-wrapper_wih1l_1qdri_277.awsui_variant-stacked_wih1l_1qdri_149:not(#\9), .awsui_footer-wrapper_wih1l_1qdri_277.awsui_variant-container_wih1l_1qdri_149:not(#\9) {
210
278
  padding-inline: var(--space-table-horizontal-1rh3c1, 20px);
211
279
  }
212
280
 
213
- .awsui_footer_wih1l_ondi0_209:not(#\9) {
281
+ .awsui_footer_wih1l_1qdri_277:not(#\9) {
214
282
  padding-block: var(--space-scaled-s-srzhhj, 12px);
215
283
  padding-inline: var(--space-table-footer-horizontal-0uk7h9, 0px);
216
284
  }
217
- .awsui_footer-with-pagination_wih1l_ondi0_217:not(#\9) {
285
+ .awsui_footer-with-pagination_wih1l_1qdri_285:not(#\9) {
218
286
  display: flex;
219
287
  flex-direction: row;
220
288
  justify-content: space-between;
@@ -222,17 +290,22 @@ filter search icon.
222
290
  flex-wrap: wrap;
223
291
  gap: var(--space-scaled-s-srzhhj, 12px);
224
292
  }
225
- .awsui_footer-pagination_wih1l_ondi0_225:not(#\9) {
293
+ .awsui_footer-pagination_wih1l_1qdri_293:not(#\9) {
226
294
  margin-inline-start: auto;
227
295
  }
228
296
 
229
- .awsui_thead-active_wih1l_ondi0_229:not(#\9),
230
- .awsui_row_wih1l_ondi0_230:not(#\9),
231
- .awsui_row-selected_wih1l_ondi0_231:not(#\9) {
297
+ .awsui_row_wih1l_1qdri_297:not(#\9) {
298
+ --awsui-internal-style-background-color: var(--awsui-style-background-color);
299
+ --awsui-internal-style-divider-color: var(--awsui-style-divider-color);
300
+ }
301
+
302
+ .awsui_thead-active_wih1l_1qdri_302:not(#\9),
303
+ .awsui_row_wih1l_1qdri_297:not(#\9),
304
+ .awsui_row-selected_wih1l_1qdri_304:not(#\9) {
232
305
  /* used in test-utils */
233
306
  }
234
307
 
235
- .awsui_skeleton-loading-cell_wih1l_ondi0_235:not(#\9) {
308
+ .awsui_skeleton-loading-cell_wih1l_1qdri_308:not(#\9) {
236
309
  padding-block: 0;
237
310
  padding-inline: 0;
238
311
  border-block-end: none;
@@ -2,42 +2,42 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_wih1l_ondi0_13",
6
- "tools": "awsui_tools_wih1l_ondi0_24",
7
- "tools-filtering": "awsui_tools-filtering_wih1l_ondi0_33",
8
- "tools-align-right": "awsui_tools-align-right_wih1l_ondi0_46",
9
- "tools-clear-sort": "awsui_tools-clear-sort_wih1l_ondi0_50",
10
- "tools-pagination": "awsui_tools-pagination_wih1l_ondi0_53",
11
- "tools-preferences": "awsui_tools-preferences_wih1l_ondi0_53",
12
- "tools-small": "awsui_tools-small_wih1l_ondi0_59",
13
- "table": "awsui_table_wih1l_ondi0_63",
14
- "table-layout-fixed": "awsui_table-layout-fixed_wih1l_ondi0_70",
15
- "wrapper": "awsui_wrapper_wih1l_ondi0_74",
16
- "variant-stacked": "awsui_variant-stacked_wih1l_ondi0_81",
17
- "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_ondi0_81",
18
- "variant-container": "awsui_variant-container_wih1l_ondi0_81",
19
- "has-footer": "awsui_has-footer_wih1l_ondi0_84",
20
- "has-header": "awsui_has-header_wih1l_ondi0_87",
21
- "cell-merged": "awsui_cell-merged_wih1l_ondi0_104",
22
- "cell-merged-content": "awsui_cell-merged-content_wih1l_ondi0_116",
23
- "empty": "awsui_empty_wih1l_ondi0_132",
24
- "loading": "awsui_loading_wih1l_ondi0_136",
25
- "selection-control": "awsui_selection-control_wih1l_ondi0_145",
26
- "selection-control-header": "awsui_selection-control-header_wih1l_ondi0_152",
27
- "selection-control-content-spans-rows": "awsui_selection-control-content-spans-rows_wih1l_ondi0_157",
28
- "header-secondary": "awsui_header-secondary_wih1l_ondi0_164",
29
- "variant-full-page": "awsui_variant-full-page_wih1l_ondi0_178",
30
- "table-has-header": "awsui_table-has-header_wih1l_ondi0_184",
31
- "header-controls": "awsui_header-controls_wih1l_ondi0_192",
32
- "variant-embedded": "awsui_variant-embedded_wih1l_ondi0_204",
33
- "variant-borderless": "awsui_variant-borderless_wih1l_ondi0_204",
34
- "footer-wrapper": "awsui_footer-wrapper_wih1l_ondi0_209",
35
- "footer": "awsui_footer_wih1l_ondi0_209",
36
- "footer-with-pagination": "awsui_footer-with-pagination_wih1l_ondi0_217",
37
- "footer-pagination": "awsui_footer-pagination_wih1l_ondi0_225",
38
- "thead-active": "awsui_thead-active_wih1l_ondi0_229",
39
- "row": "awsui_row_wih1l_ondi0_230",
40
- "row-selected": "awsui_row-selected_wih1l_ondi0_231",
41
- "skeleton-loading-cell": "awsui_skeleton-loading-cell_wih1l_ondi0_235"
5
+ "root": "awsui_root_wih1l_1qdri_76",
6
+ "tools": "awsui_tools_wih1l_1qdri_91",
7
+ "tools-filtering": "awsui_tools-filtering_wih1l_1qdri_100",
8
+ "tools-align-right": "awsui_tools-align-right_wih1l_1qdri_113",
9
+ "tools-clear-sort": "awsui_tools-clear-sort_wih1l_1qdri_117",
10
+ "tools-pagination": "awsui_tools-pagination_wih1l_1qdri_120",
11
+ "tools-preferences": "awsui_tools-preferences_wih1l_1qdri_120",
12
+ "tools-small": "awsui_tools-small_wih1l_1qdri_126",
13
+ "table": "awsui_table_wih1l_1qdri_130",
14
+ "table-layout-fixed": "awsui_table-layout-fixed_wih1l_1qdri_137",
15
+ "wrapper": "awsui_wrapper_wih1l_1qdri_141",
16
+ "variant-stacked": "awsui_variant-stacked_wih1l_1qdri_149",
17
+ "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_1qdri_149",
18
+ "variant-container": "awsui_variant-container_wih1l_1qdri_149",
19
+ "has-footer": "awsui_has-footer_wih1l_1qdri_152",
20
+ "has-header": "awsui_has-header_wih1l_1qdri_155",
21
+ "cell-merged": "awsui_cell-merged_wih1l_1qdri_172",
22
+ "cell-merged-content": "awsui_cell-merged-content_wih1l_1qdri_184",
23
+ "empty": "awsui_empty_wih1l_1qdri_200",
24
+ "loading": "awsui_loading_wih1l_1qdri_204",
25
+ "selection-control": "awsui_selection-control_wih1l_1qdri_213",
26
+ "selection-control-header": "awsui_selection-control-header_wih1l_1qdri_220",
27
+ "selection-control-content-spans-rows": "awsui_selection-control-content-spans-rows_wih1l_1qdri_225",
28
+ "header-secondary": "awsui_header-secondary_wih1l_1qdri_232",
29
+ "variant-full-page": "awsui_variant-full-page_wih1l_1qdri_246",
30
+ "table-has-header": "awsui_table-has-header_wih1l_1qdri_252",
31
+ "header-controls": "awsui_header-controls_wih1l_1qdri_260",
32
+ "variant-embedded": "awsui_variant-embedded_wih1l_1qdri_272",
33
+ "variant-borderless": "awsui_variant-borderless_wih1l_1qdri_272",
34
+ "footer-wrapper": "awsui_footer-wrapper_wih1l_1qdri_277",
35
+ "footer": "awsui_footer_wih1l_1qdri_277",
36
+ "footer-with-pagination": "awsui_footer-with-pagination_wih1l_1qdri_285",
37
+ "footer-pagination": "awsui_footer-pagination_wih1l_1qdri_293",
38
+ "row": "awsui_row_wih1l_1qdri_297",
39
+ "thead-active": "awsui_thead-active_wih1l_1qdri_302",
40
+ "row-selected": "awsui_row-selected_wih1l_1qdri_304",
41
+ "skeleton-loading-cell": "awsui_skeleton-loading-cell_wih1l_1qdri_308"
42
42
  };
43
43
 
package/table/thead.d.ts CHANGED
@@ -5,6 +5,7 @@ import { TableProps } from './interfaces';
5
5
  import { InternalSelectionType } from './internal-interfaces';
6
6
  import { ItemSelectionProps } from './selection';
7
7
  import { StickyColumnsModel } from './sticky-columns';
8
+ import { StyleClassNames } from './style-api';
8
9
  import { TableRole } from './table-role';
9
10
  export interface TheadProps {
10
11
  selectionType: undefined | InternalSelectionType;
@@ -41,6 +42,7 @@ export interface TheadProps {
41
42
  tableRole: TableRole;
42
43
  isExpandable?: boolean;
43
44
  setLastUserAction: (name: string) => void;
45
+ styleClassNames?: StyleClassNames;
44
46
  }
45
47
  declare const Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableRowElement>>;
46
48
  export default Thead;
@@ -1 +1 @@
1
- {"version":3,"file":"thead.d.ts","sourceRoot":"","sources":["../../../src/table/thead.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAMtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,E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B,CAAC,UAAU,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC;IACrF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,kBAAkB,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,WAAW,CAAC;IAC/B,gBAAgB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACjC,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,QAAA,MAAM,KAAK,wFA6YV,CAAC;AAEF,eAAe,KAAK,CAAC"}
package/table/thead.js CHANGED
@@ -13,7 +13,7 @@ import { getTableHeaderRowRoleProps } from './table-role';
13
13
  import { DEFAULT_COLUMN_WIDTH, useColumnWidths } from './use-column-widths';
14
14
  import { getColumnKey } from './utils';
15
15
  import styles from './styles.css.js';
16
- const Thead = React.forwardRef(({ selectionType, getSelectAllProps, columnDefinitions, columnGroupsLayout, sortingColumn, sortingDisabled, sortingDescending, multiColumnSort, i18nStrings, ariaLabels, resizableColumns, variant, tableVariant, wrapLines, onFocusMove, onSortingChange, onResizeFinish, singleSelectionHeaderAriaLabel, stripedRows, sticky = false, hidden = false, stuck = false, stickyState, stickyColumnsFirst, stickyColumnsLast, selectionColumnId, focusedComponent, onFocusedComponentChange, tableRole, resizerRoleDescription, resizerTooltipText, isExpandable, setLastUserAction, }, outerRef) => {
16
+ const Thead = React.forwardRef(({ selectionType, getSelectAllProps, columnDefinitions, columnGroupsLayout, sortingColumn, sortingDisabled, sortingDescending, multiColumnSort, i18nStrings, ariaLabels, resizableColumns, variant, tableVariant, wrapLines, onFocusMove, onSortingChange, onResizeFinish, singleSelectionHeaderAriaLabel, stripedRows, sticky = false, hidden = false, stuck = false, stickyState, stickyColumnsFirst, stickyColumnsLast, selectionColumnId, focusedComponent, onFocusedComponentChange, tableRole, resizerRoleDescription, resizerTooltipText, isExpandable, setLastUserAction, styleClassNames, }, outerRef) => {
17
17
  const { getColumnStyles, columnWidths, updateColumn, updateGroup, setCell } = useColumnWidths();
18
18
  // This guarantees the width reported via `onColumnWidthsChange` matches the final rendered width instead of a stale one.
19
19
  // Without this, resetting/remounting a table right after a resize can restore an outdated width.
@@ -38,6 +38,7 @@ const Thead = React.forwardRef(({ selectionType, getSelectAllProps, columnDefini
38
38
  tableVariant,
39
39
  stickyState,
40
40
  wrapLines,
41
+ styleClassNames,
41
42
  };
42
43
  const sharedTrProps = {
43
44
  onFocus: (event) => {