@cloudscape-design/components-themeable 3.0.1011 → 3.0.1013

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 (125) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  3. package/lib/internal/scss/table/body-cell/styles.scss +3 -0
  4. package/lib/internal/scss/table/header-cell/styles.scss +3 -0
  5. package/lib/internal/template/alert/styles.scoped.css +2 -4
  6. package/lib/internal/template/anchor-navigation/styles.scoped.css +1 -2
  7. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +1 -2
  8. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +2 -4
  9. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +1 -2
  10. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +1 -2
  11. package/lib/internal/template/attribute-editor/styles.scoped.css +1 -2
  12. package/lib/internal/template/badge/styles.scoped.css +1 -2
  13. package/lib/internal/template/breadcrumb-group/styles.scoped.css +2 -4
  14. package/lib/internal/template/button/styles.scoped.css +1 -2
  15. package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.scoped.css +1 -2
  16. package/lib/internal/template/button-group/styles.scoped.css +1 -2
  17. package/lib/internal/template/calendar/styles.scoped.css +1 -2
  18. package/lib/internal/template/cards/styles.scoped.css +1 -2
  19. package/lib/internal/template/checkbox/styles.scoped.css +1 -2
  20. package/lib/internal/template/code-editor/styles.scoped.css +1 -2
  21. package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +1 -2
  22. package/lib/internal/template/collection-preferences/styles.scoped.css +1 -2
  23. package/lib/internal/template/column-layout/styles.scoped.css +1 -2
  24. package/lib/internal/template/container/interfaces.d.ts +5 -0
  25. package/lib/internal/template/container/interfaces.d.ts.map +1 -1
  26. package/lib/internal/template/container/interfaces.js.map +1 -1
  27. package/lib/internal/template/container/internal.d.ts +2 -2
  28. package/lib/internal/template/container/internal.d.ts.map +1 -1
  29. package/lib/internal/template/container/internal.js +2 -2
  30. package/lib/internal/template/container/internal.js.map +1 -1
  31. package/lib/internal/template/container/styles.scoped.css +1 -2
  32. package/lib/internal/template/date-picker/styles.scoped.css +1 -2
  33. package/lib/internal/template/date-range-picker/styles.scoped.css +1 -2
  34. package/lib/internal/template/drawer/styles.scoped.css +1 -2
  35. package/lib/internal/template/expandable-section/styles.scoped.css +1 -2
  36. package/lib/internal/template/file-token-group/styles.scoped.css +1 -2
  37. package/lib/internal/template/flashbar/styles.scoped.css +1 -2
  38. package/lib/internal/template/form/styles.scoped.css +1 -2
  39. package/lib/internal/template/form-field/styles.scoped.css +1 -2
  40. package/lib/internal/template/grid/styles.scoped.css +1 -2
  41. package/lib/internal/template/header/styles.scoped.css +1 -2
  42. package/lib/internal/template/help-panel/styles.scoped.css +1 -2
  43. package/lib/internal/template/input/styles.scoped.css +1 -2
  44. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  45. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +1 -2
  46. package/lib/internal/template/internal/components/chart-filter/styles.scoped.css +1 -2
  47. package/lib/internal/template/internal/components/chart-legend/styles.scoped.css +1 -2
  48. package/lib/internal/template/internal/components/chart-popover/styles.scoped.css +1 -2
  49. package/lib/internal/template/internal/components/chart-series-details/styles.scoped.css +3 -6
  50. package/lib/internal/template/internal/components/chart-series-marker/styles.scoped.css +1 -2
  51. package/lib/internal/template/internal/components/chart-wrapper/styles.scoped.css +1 -2
  52. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +1 -2
  53. package/lib/internal/template/internal/components/dropdown-footer/styles.scoped.css +1 -2
  54. package/lib/internal/template/internal/components/dropdown-status/styles.scoped.css +1 -2
  55. package/lib/internal/template/internal/components/menu-dropdown/styles.scoped.css +1 -2
  56. package/lib/internal/template/internal/components/option/styles.scoped.css +1 -2
  57. package/lib/internal/template/internal/components/options-list/styles.scoped.css +1 -2
  58. package/lib/internal/template/internal/components/options-list/utils/use-highlight-option.d.ts +1 -0
  59. package/lib/internal/template/internal/components/options-list/utils/use-highlight-option.d.ts.map +1 -1
  60. package/lib/internal/template/internal/components/options-list/utils/use-highlight-option.js +1 -0
  61. package/lib/internal/template/internal/components/options-list/utils/use-highlight-option.js.map +1 -1
  62. package/lib/internal/template/internal/components/token-list/styles.scoped.css +1 -2
  63. package/lib/internal/template/internal/environment.js +2 -2
  64. package/lib/internal/template/internal/environment.json +2 -2
  65. package/lib/internal/template/key-value-pairs/styles.scoped.css +2 -4
  66. package/lib/internal/template/link/styles.scoped.css +1 -2
  67. package/lib/internal/template/modal/styles.scoped.css +2 -4
  68. package/lib/internal/template/multiselect/styles.scoped.css +2 -4
  69. package/lib/internal/template/pagination/styles.scoped.css +1 -2
  70. package/lib/internal/template/popover/styles.scoped.css +3 -6
  71. package/lib/internal/template/progress-bar/styles.scoped.css +1 -2
  72. package/lib/internal/template/prompt-input/styles.scoped.css +4 -8
  73. package/lib/internal/template/property-filter/filtering-token/styles.scoped.css +1 -2
  74. package/lib/internal/template/property-filter/styles.scoped.css +2 -4
  75. package/lib/internal/template/radio-group/styles.scoped.css +1 -2
  76. package/lib/internal/template/segmented-control/styles.scoped.css +1 -2
  77. package/lib/internal/template/select/styles.scoped.css +1 -2
  78. package/lib/internal/template/select/utils/use-select.d.ts.map +1 -1
  79. package/lib/internal/template/select/utils/use-select.js +17 -4
  80. package/lib/internal/template/select/utils/use-select.js.map +1 -1
  81. package/lib/internal/template/side-navigation/styles.scoped.css +1 -2
  82. package/lib/internal/template/slider/styles.scoped.css +1 -2
  83. package/lib/internal/template/split-panel/styles.scoped.css +1 -2
  84. package/lib/internal/template/steps/styles.scoped.css +1 -2
  85. package/lib/internal/template/table/body-cell/styles.css.js +47 -46
  86. package/lib/internal/template/table/body-cell/styles.scoped.css +376 -373
  87. package/lib/internal/template/table/body-cell/styles.selectors.js +47 -46
  88. package/lib/internal/template/table/body-cell/td-element.d.ts +1 -0
  89. package/lib/internal/template/table/body-cell/td-element.d.ts.map +1 -1
  90. package/lib/internal/template/table/body-cell/td-element.js +2 -2
  91. package/lib/internal/template/table/body-cell/td-element.js.map +1 -1
  92. package/lib/internal/template/table/expandable-rows/styles.scoped.css +1 -2
  93. package/lib/internal/template/table/header-cell/index.d.ts +2 -1
  94. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  95. package/lib/internal/template/table/header-cell/index.js +2 -2
  96. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  97. package/lib/internal/template/table/header-cell/styles.css.js +29 -28
  98. package/lib/internal/template/table/header-cell/styles.scoped.css +69 -66
  99. package/lib/internal/template/table/header-cell/styles.selectors.js +29 -28
  100. package/lib/internal/template/table/header-cell/th-element.d.ts +2 -1
  101. package/lib/internal/template/table/header-cell/th-element.d.ts.map +1 -1
  102. package/lib/internal/template/table/header-cell/th-element.js +2 -2
  103. package/lib/internal/template/table/header-cell/th-element.js.map +1 -1
  104. package/lib/internal/template/table/internal.d.ts.map +1 -1
  105. package/lib/internal/template/table/internal.js +3 -2
  106. package/lib/internal/template/table/internal.js.map +1 -1
  107. package/lib/internal/template/table/resizer/styles.scoped.css +1 -2
  108. package/lib/internal/template/table/thead.d.ts +1 -0
  109. package/lib/internal/template/table/thead.d.ts.map +1 -1
  110. package/lib/internal/template/table/thead.js +2 -1
  111. package/lib/internal/template/table/thead.js.map +1 -1
  112. package/lib/internal/template/tabs/styles.scoped.css +1 -2
  113. package/lib/internal/template/text-content/styles.scoped.css +1 -2
  114. package/lib/internal/template/text-filter/styles.scoped.css +1 -2
  115. package/lib/internal/template/textarea/styles.scoped.css +1 -2
  116. package/lib/internal/template/tiles/styles.scoped.css +2 -4
  117. package/lib/internal/template/toggle/styles.scoped.css +1 -2
  118. package/lib/internal/template/token-group/styles.scoped.css +1 -2
  119. package/lib/internal/template/top-navigation/1.0-beta/styles.scoped.css +1 -2
  120. package/lib/internal/template/top-navigation/styles.scoped.css +3 -6
  121. package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +1 -2
  122. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +3 -6
  123. package/lib/internal/template/tutorial-panel/styles.scoped.css +1 -2
  124. package/lib/internal/template/wizard/styles.scoped.css +1 -2
  125. package/package.json +1 -1
@@ -146,7 +146,7 @@
146
146
  */
147
147
  /* Style used for links in slots/components that are text heavy, to help links stand out among
148
148
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
149
- .awsui_header-cell_1spae_1wkn2_149:not(#\9) {
149
+ .awsui_header-cell_1spae_p4nau_149:not(#\9) {
150
150
  position: relative;
151
151
  text-align: start;
152
152
  box-sizing: border-box;
@@ -159,14 +159,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
159
159
  padding-block: var(--space-scaled-xxs-jatbiv, 4px);
160
160
  padding-inline: var(--space-scaled-xs-sppte9, 8px);
161
161
  }
162
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149:not(#\9):focus {
162
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149:not(#\9):focus {
163
163
  position: relative;
164
164
  }
165
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149:not(#\9):focus {
165
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149:not(#\9):focus {
166
166
  outline: 2px dotted transparent;
167
167
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
168
168
  }
169
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149:not(#\9):focus::before {
169
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149:not(#\9):focus::before {
170
170
  content: " ";
171
171
  display: block;
172
172
  position: absolute;
@@ -180,14 +180,14 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149:not(#\9):
180
180
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
181
181
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
182
182
  }
183
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9) {
183
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9) {
184
184
  position: relative;
185
185
  }
186
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9) {
186
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9) {
187
187
  outline: 2px dotted transparent;
188
188
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
189
189
  }
190
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9)::before {
190
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9)::before {
191
191
  content: " ";
192
192
  display: block;
193
193
  position: absolute;
@@ -201,25 +201,25 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_hea
201
201
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
202
202
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
203
203
  }
204
- .awsui_header-cell-sticky_1spae_1wkn2_204:not(#\9) {
204
+ .awsui_header-cell-sticky_1spae_p4nau_204:not(#\9) {
205
205
  border-block-end: var(--border-table-sticky-width-o9kqes, 0px) solid var(--color-border-divider-default-ipvpev, #eaeded);
206
206
  }
207
- .awsui_header-cell-stuck_1spae_1wkn2_207:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_1wkn2_207) {
207
+ .awsui_header-cell-stuck_1spae_p4nau_207:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_p4nau_207) {
208
208
  border-block-end-color: transparent;
209
209
  }
210
- .awsui_header-cell-variant-full-page_1spae_1wkn2_207:not(#\9) {
210
+ .awsui_header-cell-variant-full-page_1spae_p4nau_207:not(#\9) {
211
211
  background: var(--color-background-layout-main-05m5y6, #f2f3f3);
212
212
  }
213
- .awsui_header-cell-variant-full-page_1spae_1wkn2_207.awsui_header-cell-hidden_1spae_1wkn2_213:not(#\9) {
213
+ .awsui_header-cell-variant-full-page_1spae_p4nau_207.awsui_header-cell-hidden_1spae_p4nau_213:not(#\9) {
214
214
  border-block-end-color: transparent;
215
215
  }
216
- .awsui_header-cell-variant-embedded_1spae_1wkn2_216.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):not(:is(.awsui_header-cell-sticky_1spae_1wkn2_204, .awsui_sticky-cell_1spae_1wkn2_216)), .awsui_header-cell-variant-borderless_1spae_1wkn2_216.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):not(:is(.awsui_header-cell-sticky_1spae_1wkn2_204, .awsui_sticky-cell_1spae_1wkn2_216)) {
216
+ .awsui_header-cell-variant-embedded_1spae_p4nau_216.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):not(:is(.awsui_header-cell-sticky_1spae_p4nau_204, .awsui_sticky-cell_1spae_p4nau_216)), .awsui_header-cell-variant-borderless_1spae_p4nau_216.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):not(:is(.awsui_header-cell-sticky_1spae_p4nau_204, .awsui_sticky-cell_1spae_p4nau_216)) {
217
217
  background: none;
218
218
  }
219
- .awsui_header-cell_1spae_1wkn2_149:not(#\9):last-child, .awsui_header-cell_1spae_1wkn2_149.awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9) {
219
+ .awsui_header-cell_1spae_p4nau_149:not(#\9):last-child, .awsui_header-cell_1spae_p4nau_149.awsui_header-cell-sortable_1spae_p4nau_219:not(#\9) {
220
220
  padding-inline-end: var(--space-xs-kw7k3v, 8px);
221
221
  }
222
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell_1spae_1wkn2_216:not(#\9) {
222
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell_1spae_p4nau_216:not(#\9) {
223
223
  position: sticky;
224
224
  background: var(--color-background-table-header-5hauij, #fafafa);
225
225
  z-index: 798;
@@ -228,41 +228,44 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_hea
228
228
  transition-timing-function: var(--motion-easing-sticky-xd5evu, ease-out);
229
229
  }
230
230
  @media (prefers-reduced-motion: reduce) {
231
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell_1spae_1wkn2_216:not(#\9) {
231
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell_1spae_p4nau_216:not(#\9) {
232
232
  animation: none;
233
233
  transition: none;
234
234
  }
235
235
  }
236
- .awsui-motion-disabled .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell_1spae_1wkn2_216:not(#\9), .awsui-mode-entering .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell_1spae_1wkn2_216:not(#\9) {
236
+ .awsui-motion-disabled .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell_1spae_p4nau_216:not(#\9), .awsui-mode-entering .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell_1spae_p4nau_216:not(#\9) {
237
237
  animation: none;
238
238
  transition: none;
239
239
  }
240
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-pad-left_1spae_1wkn2_240:not(#\9):not(.awsui_has-selection_1spae_1wkn2_240) {
240
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell_1spae_p4nau_216.awsui_table-variant-full-page_1spae_p4nau_240:not(#\9) {
241
+ background: var(--color-background-layout-main-05m5y6, #f2f3f3);
242
+ }
243
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-pad-left_1spae_p4nau_243:not(#\9):not(.awsui_has-selection_1spae_p4nau_243) {
241
244
  padding-inline-start: var(--space-table-horizontal-xmv4qa, 0px);
242
245
  }
243
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-last-inline-start_1spae_1wkn2_243:not(#\9) {
246
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-last-inline-start_1spae_p4nau_246:not(#\9) {
244
247
  box-shadow: var(--shadow-sticky-column-first-vya346, 4px 0 8px 0 rgba(0, 28, 36, 0.1));
245
248
  clip-path: inset(0px -24px 0px 0px);
246
249
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
247
250
  }
248
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-last-inline-start_1spae_1wkn2_243 > .awsui_resize-divider_1spae_1wkn2_248:not(#\9) {
251
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-last-inline-start_1spae_p4nau_246 > .awsui_resize-divider_1spae_p4nau_251:not(#\9) {
249
252
  display: none;
250
253
  }
251
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-last-inline-start_1spae_1wkn2_243:not(#\9):dir(rtl) {
254
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-last-inline-start_1spae_p4nau_246:not(#\9):dir(rtl) {
252
255
  box-shadow: var(--shadow-sticky-column-last-02l85g, -4px 0 8px 0 rgba(0, 28, 36, 0.1));
253
256
  clip-path: inset(0 0 0 -24px);
254
257
  }
255
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-last-inline-end_1spae_1wkn2_255:not(#\9) {
258
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-last-inline-end_1spae_p4nau_258:not(#\9) {
256
259
  box-shadow: var(--shadow-sticky-column-last-02l85g, -4px 0 8px 0 rgba(0, 28, 36, 0.1));
257
260
  clip-path: inset(0 0 0 -24px);
258
261
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
259
262
  }
260
- .awsui_header-cell_1spae_1wkn2_149.awsui_sticky-cell-last-inline-end_1spae_1wkn2_255:not(#\9):dir(rtl) {
263
+ .awsui_header-cell_1spae_p4nau_149.awsui_sticky-cell-last-inline-end_1spae_p4nau_258:not(#\9):dir(rtl) {
261
264
  box-shadow: var(--shadow-sticky-column-first-vya346, 4px 0 8px 0 rgba(0, 28, 36, 0.1));
262
265
  clip-path: inset(0 -24px 0 0);
263
266
  }
264
267
 
265
- .awsui_sorting-icon_1spae_1wkn2_265:not(#\9) {
268
+ .awsui_sorting-icon_1spae_p4nau_268:not(#\9) {
266
269
  position: absolute;
267
270
  inset-block-start: 50%;
268
271
  transform: translateY(-50%);
@@ -270,36 +273,36 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_hea
270
273
  color: var(--color-text-column-sorting-icon-gys874, #687078);
271
274
  }
272
275
 
273
- .awsui_edit-icon_1spae_1wkn2_273:not(#\9) {
276
+ .awsui_edit-icon_1spae_p4nau_276:not(#\9) {
274
277
  margin-inline-start: var(--space-xxs-jnczic, 4px);
275
278
  margin-block-start: var(--space-scaled-xxs-jatbiv, 4px);
276
279
  color: inherit;
277
280
  }
278
281
 
279
- .awsui_header-cell-content_1spae_1wkn2_279:not(#\9) {
282
+ .awsui_header-cell-content_1spae_p4nau_282:not(#\9) {
280
283
  position: relative;
281
284
  padding-block: var(--space-scaled-xxs-jatbiv, 4px);
282
285
  padding-inline-end: var(--space-s-4a5hs8, 12px);
283
286
  padding-inline-start: var(--space-s-4a5hs8, 12px);
284
287
  }
285
- .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-content-expandable_1spae_1wkn2_285:not(#\9) {
288
+ .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-content-expandable_1spae_p4nau_288:not(#\9) {
286
289
  padding-inline-start: calc(var(--space-s-4a5hs8, 12px) + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
287
290
  }
288
- .awsui_header-cell-sortable_1spae_1wkn2_219 > .awsui_header-cell-content_1spae_1wkn2_279:not(#\9) {
291
+ .awsui_header-cell-sortable_1spae_p4nau_219 > .awsui_header-cell-content_1spae_p4nau_282:not(#\9) {
289
292
  padding-inline-end: calc(var(--space-xl-4dmkh1, 24px) + var(--space-xxs-jnczic, 4px));
290
293
  }
291
- .awsui_header-cell-content_1spae_1wkn2_279:not(#\9):focus {
294
+ .awsui_header-cell-content_1spae_p4nau_282:not(#\9):focus {
292
295
  outline: none;
293
296
  text-decoration: none;
294
297
  }
295
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279:not(#\9):focus {
298
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282:not(#\9):focus {
296
299
  position: relative;
297
300
  }
298
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279:not(#\9):focus {
301
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282:not(#\9):focus {
299
302
  outline: 2px dotted transparent;
300
303
  outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-0zj6up, 0px)) - 1px);
301
304
  }
302
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279:not(#\9):focus::before {
305
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282:not(#\9):focus::before {
303
306
  content: " ";
304
307
  display: block;
305
308
  position: absolute;
@@ -313,14 +316,14 @@ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279:n
313
316
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
314
317
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
315
318
  }
316
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9) {
319
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9) {
317
320
  position: relative;
318
321
  }
319
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9) {
322
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9) {
320
323
  outline: 2px dotted transparent;
321
324
  outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-0zj6up, 0px)) - 1px);
322
325
  }
323
- body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183:not(#\9)::before {
326
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183:not(#\9)::before {
324
327
  content: " ";
325
328
  display: block;
326
329
  position: absolute;
@@ -334,32 +337,32 @@ body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_1wkn2_279.a
334
337
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
335
338
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
336
339
  }
337
- .awsui_header-cell-disabled_1spae_1wkn2_337.awsui_header-cell-sorted_1spae_1wkn2_337 > .awsui_header-cell-content_1spae_1wkn2_279 > .awsui_sorting-icon_1spae_1wkn2_265:not(#\9) {
340
+ .awsui_header-cell-disabled_1spae_p4nau_340.awsui_header-cell-sorted_1spae_p4nau_340 > .awsui_header-cell-content_1spae_p4nau_282 > .awsui_sorting-icon_1spae_p4nau_268:not(#\9) {
338
341
  color: var(--color-text-interactive-disabled-xwt2jl, #aab7b8);
339
342
  }
340
343
 
341
- .awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9):not(.awsui_header-cell-disabled_1spae_1wkn2_337) > .awsui_header-cell-content_1spae_1wkn2_279 {
344
+ .awsui_header-cell-sortable_1spae_p4nau_219:not(#\9):not(.awsui_header-cell-disabled_1spae_p4nau_340) > .awsui_header-cell-content_1spae_p4nau_282 {
342
345
  cursor: pointer;
343
346
  }
344
- .awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9):not(.awsui_header-cell-disabled_1spae_1wkn2_337) > .awsui_header-cell-content_1spae_1wkn2_279:hover, .awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9):not(.awsui_header-cell-disabled_1spae_1wkn2_337).awsui_header-cell-sorted_1spae_1wkn2_337 > .awsui_header-cell-content_1spae_1wkn2_279 {
347
+ .awsui_header-cell-sortable_1spae_p4nau_219:not(#\9):not(.awsui_header-cell-disabled_1spae_p4nau_340) > .awsui_header-cell-content_1spae_p4nau_282:hover, .awsui_header-cell-sortable_1spae_p4nau_219:not(#\9):not(.awsui_header-cell-disabled_1spae_p4nau_340).awsui_header-cell-sorted_1spae_p4nau_340 > .awsui_header-cell-content_1spae_p4nau_282 {
345
348
  color: var(--color-text-interactive-active-c44vdq, #16191f);
346
349
  }
347
- .awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9):not(.awsui_header-cell-disabled_1spae_1wkn2_337) > .awsui_header-cell-content_1spae_1wkn2_279:hover > .awsui_sorting-icon_1spae_1wkn2_265, .awsui_header-cell-sortable_1spae_1wkn2_219:not(#\9):not(.awsui_header-cell-disabled_1spae_1wkn2_337).awsui_header-cell-sorted_1spae_1wkn2_337 > .awsui_header-cell-content_1spae_1wkn2_279 > .awsui_sorting-icon_1spae_1wkn2_265 {
350
+ .awsui_header-cell-sortable_1spae_p4nau_219:not(#\9):not(.awsui_header-cell-disabled_1spae_p4nau_340) > .awsui_header-cell-content_1spae_p4nau_282:hover > .awsui_sorting-icon_1spae_p4nau_268, .awsui_header-cell-sortable_1spae_p4nau_219:not(#\9):not(.awsui_header-cell-disabled_1spae_p4nau_340).awsui_header-cell-sorted_1spae_p4nau_340 > .awsui_header-cell-content_1spae_p4nau_282 > .awsui_sorting-icon_1spae_p4nau_268 {
348
351
  color: var(--color-text-interactive-active-c44vdq, #16191f);
349
352
  }
350
353
 
351
- .awsui_header-cell-text_1spae_1wkn2_351:not(#\9) {
354
+ .awsui_header-cell-text_1spae_p4nau_354:not(#\9) {
352
355
  line-height: var(--line-height-heading-xs-fuzanp, 20px);
353
356
  padding-block: calc(var(--space-xxxs-3w1kr2, 2px) / 2);
354
357
  }
355
- .awsui_header-cell-text_1spae_1wkn2_351:not(#\9):not(.awsui_header-cell-text-wrap_1spae_1wkn2_355) {
358
+ .awsui_header-cell-text_1spae_p4nau_354:not(#\9):not(.awsui_header-cell-text-wrap_1spae_p4nau_358) {
356
359
  white-space: nowrap;
357
360
  overflow: hidden;
358
361
  text-overflow: ellipsis;
359
362
  }
360
363
 
361
- .awsui_header-cell-ascending_1spae_1wkn2_361:not(#\9),
362
- .awsui_header-cell-descending_1spae_1wkn2_362:not(#\9) {
364
+ .awsui_header-cell-ascending_1spae_p4nau_364:not(#\9),
365
+ .awsui_header-cell-descending_1spae_p4nau_365:not(#\9) {
363
366
  /* used in test-utils */
364
367
  }
365
368
 
@@ -369,28 +372,28 @@ with the left edge of the table as closely as possible. If the
369
372
  last header cell is sortable the sort icon should align with the
370
373
  settings icon in the pagination slot.
371
374
  */
372
- .awsui_header-cell_1spae_1wkn2_149:not(#\9):not(.awsui_is-visual-refresh_1spae_1wkn2_216):first-child {
375
+ .awsui_header-cell_1spae_p4nau_149:not(#\9):not(.awsui_is-visual-refresh_1spae_p4nau_216):first-child {
373
376
  padding-inline-start: var(--space-xs-kw7k3v, 8px);
374
377
  }
375
- .awsui_header-cell_1spae_1wkn2_149:not(#\9):not(.awsui_is-visual-refresh_1spae_1wkn2_216):first-child.awsui_header-cell-content-expandable_1spae_1wkn2_285 {
378
+ .awsui_header-cell_1spae_p4nau_149:not(#\9):not(.awsui_is-visual-refresh_1spae_p4nau_216):first-child.awsui_header-cell-content-expandable_1spae_p4nau_288 {
376
379
  padding-inline-start: calc(var(--space-xs-kw7k3v, 8px) + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
377
380
  }
378
381
 
379
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9) {
382
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9) {
380
383
  /*
381
384
  Striped rows requires additional left padding because the
382
385
  shaded background makes the child content appear too close
383
386
  to the table edge.
384
387
  */
385
388
  }
386
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child:focus {
389
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child:focus {
387
390
  position: relative;
388
391
  }
389
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child:focus {
392
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child:focus {
390
393
  outline: 2px dotted transparent;
391
394
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-jatbiv, 4px) + var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
392
395
  }
393
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child:focus::before {
396
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child:focus::before {
394
397
  content: " ";
395
398
  display: block;
396
399
  position: absolute;
@@ -404,14 +407,14 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-
404
407
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
405
408
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
406
409
  }
407
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_1wkn2_183 {
410
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_p4nau_183 {
408
411
  position: relative;
409
412
  }
410
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_1wkn2_183 {
413
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_p4nau_183 {
411
414
  outline: 2px dotted transparent;
412
415
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-jatbiv, 4px) + var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
413
416
  }
414
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_1wkn2_183::before {
417
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_p4nau_183::before {
415
418
  content: " ";
416
419
  display: block;
417
420
  position: absolute;
@@ -425,20 +428,20 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-
425
428
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
426
429
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
427
430
  }
428
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279 {
431
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282 {
429
432
  padding-inline-start: 0px;
430
433
  }
431
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-content-expandable_1spae_1wkn2_285 {
434
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-content-expandable_1spae_p4nau_288 {
432
435
  padding-inline-start: calc(0px + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
433
436
  }
434
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279:focus {
437
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282:focus {
435
438
  position: relative;
436
439
  }
437
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279:focus {
440
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282:focus {
438
441
  outline: 2px dotted transparent;
439
442
  outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-0zj6up, 0px) + var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
440
443
  }
441
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279:focus::before {
444
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282:focus::before {
442
445
  content: " ";
443
446
  display: block;
444
447
  position: absolute;
@@ -452,14 +455,14 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-
452
455
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
453
456
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
454
457
  }
455
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183 {
458
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183 {
456
459
  position: relative;
457
460
  }
458
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183 {
461
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183 {
459
462
  outline: 2px dotted transparent;
460
463
  outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-0zj6up, 0px) + var(--space-scaled-xxs-jatbiv, 4px)) - 1px);
461
464
  }
462
- body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child > .awsui_header-cell-content_1spae_1wkn2_279.awsui_header-cell-fake-focus_1spae_1wkn2_183::before {
465
+ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child > .awsui_header-cell-content_1spae_p4nau_282.awsui_header-cell-fake-focus_1spae_p4nau_183::before {
463
466
  content: " ";
464
467
  display: block;
465
468
  position: absolute;
@@ -473,24 +476,24 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1wkn2_149.awsui_is-
473
476
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
474
477
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
475
478
  }
476
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_1wkn2_476):not(.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476) {
479
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_p4nau_479):not(.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479) {
477
480
  padding-inline-start: var(--space-xxxs-3w1kr2, 2px);
478
481
  }
479
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_1wkn2_476):not(.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476).awsui_header-cell-content-expandable_1spae_1wkn2_285 {
482
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_p4nau_479):not(.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479).awsui_header-cell-content-expandable_1spae_p4nau_288 {
480
483
  padding-inline-start: calc(var(--space-xxxs-3w1kr2, 2px) + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
481
484
  }
482
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child.awsui_has-striped-rows_1spae_1wkn2_476:not(.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476) {
485
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child.awsui_has-striped-rows_1spae_p4nau_479:not(.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479) {
483
486
  padding-inline-start: var(--space-xxs-jnczic, 4px);
484
487
  }
485
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):first-child.awsui_has-striped-rows_1spae_1wkn2_476:not(.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476).awsui_header-cell-content-expandable_1spae_1wkn2_285 {
488
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):first-child.awsui_has-striped-rows_1spae_p4nau_479:not(.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479).awsui_header-cell-content-expandable_1spae_p4nau_288 {
486
489
  padding-inline-start: calc(var(--space-xxs-jnczic, 4px) + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
487
490
  }
488
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216:not(#\9):last-child.awsui_header-cell-sortable_1spae_1wkn2_219 {
491
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216:not(#\9):last-child.awsui_header-cell-sortable_1spae_p4nau_219 {
489
492
  padding-inline-end: var(--space-xxxs-3w1kr2, 2px);
490
493
  }
491
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476:not(#\9) {
494
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479:not(#\9) {
492
495
  padding-inline-start: var(--space-scaled-l-66n9sr, 20px);
493
496
  }
494
- .awsui_header-cell_1spae_1wkn2_149.awsui_is-visual-refresh_1spae_1wkn2_216.awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476.awsui_header-cell-content-expandable_1spae_1wkn2_285:not(#\9) {
497
+ .awsui_header-cell_1spae_p4nau_149.awsui_is-visual-refresh_1spae_p4nau_216.awsui_sticky-cell-pad-inline-start_1spae_p4nau_479.awsui_header-cell-content-expandable_1spae_p4nau_288:not(#\9) {
495
498
  padding-inline-start: calc(var(--space-scaled-l-66n9sr, 20px) + var(--space-m-n2lypl, 16px) + var(--space-xs-kw7k3v, 8px));
496
499
  }
@@ -2,33 +2,34 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "header-cell": "awsui_header-cell_1spae_1wkn2_149",
6
- "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_1wkn2_183",
7
- "header-cell-sticky": "awsui_header-cell-sticky_1spae_1wkn2_204",
8
- "header-cell-stuck": "awsui_header-cell-stuck_1spae_1wkn2_207",
9
- "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_1wkn2_207",
10
- "header-cell-hidden": "awsui_header-cell-hidden_1spae_1wkn2_213",
11
- "header-cell-variant-embedded": "awsui_header-cell-variant-embedded_1spae_1wkn2_216",
12
- "is-visual-refresh": "awsui_is-visual-refresh_1spae_1wkn2_216",
13
- "sticky-cell": "awsui_sticky-cell_1spae_1wkn2_216",
14
- "header-cell-variant-borderless": "awsui_header-cell-variant-borderless_1spae_1wkn2_216",
15
- "header-cell-sortable": "awsui_header-cell-sortable_1spae_1wkn2_219",
16
- "sticky-cell-pad-left": "awsui_sticky-cell-pad-left_1spae_1wkn2_240",
17
- "has-selection": "awsui_has-selection_1spae_1wkn2_240",
18
- "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_1spae_1wkn2_243",
19
- "resize-divider": "awsui_resize-divider_1spae_1wkn2_248",
20
- "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_1spae_1wkn2_255",
21
- "sorting-icon": "awsui_sorting-icon_1spae_1wkn2_265",
22
- "edit-icon": "awsui_edit-icon_1spae_1wkn2_273",
23
- "header-cell-content": "awsui_header-cell-content_1spae_1wkn2_279",
24
- "header-cell-content-expandable": "awsui_header-cell-content-expandable_1spae_1wkn2_285",
25
- "header-cell-disabled": "awsui_header-cell-disabled_1spae_1wkn2_337",
26
- "header-cell-sorted": "awsui_header-cell-sorted_1spae_1wkn2_337",
27
- "header-cell-text": "awsui_header-cell-text_1spae_1wkn2_351",
28
- "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_1wkn2_355",
29
- "header-cell-ascending": "awsui_header-cell-ascending_1spae_1wkn2_361",
30
- "header-cell-descending": "awsui_header-cell-descending_1spae_1wkn2_362",
31
- "has-striped-rows": "awsui_has-striped-rows_1spae_1wkn2_476",
32
- "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_1spae_1wkn2_476"
5
+ "header-cell": "awsui_header-cell_1spae_p4nau_149",
6
+ "header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_p4nau_183",
7
+ "header-cell-sticky": "awsui_header-cell-sticky_1spae_p4nau_204",
8
+ "header-cell-stuck": "awsui_header-cell-stuck_1spae_p4nau_207",
9
+ "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_p4nau_207",
10
+ "header-cell-hidden": "awsui_header-cell-hidden_1spae_p4nau_213",
11
+ "header-cell-variant-embedded": "awsui_header-cell-variant-embedded_1spae_p4nau_216",
12
+ "is-visual-refresh": "awsui_is-visual-refresh_1spae_p4nau_216",
13
+ "sticky-cell": "awsui_sticky-cell_1spae_p4nau_216",
14
+ "header-cell-variant-borderless": "awsui_header-cell-variant-borderless_1spae_p4nau_216",
15
+ "header-cell-sortable": "awsui_header-cell-sortable_1spae_p4nau_219",
16
+ "table-variant-full-page": "awsui_table-variant-full-page_1spae_p4nau_240",
17
+ "sticky-cell-pad-left": "awsui_sticky-cell-pad-left_1spae_p4nau_243",
18
+ "has-selection": "awsui_has-selection_1spae_p4nau_243",
19
+ "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_1spae_p4nau_246",
20
+ "resize-divider": "awsui_resize-divider_1spae_p4nau_251",
21
+ "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_1spae_p4nau_258",
22
+ "sorting-icon": "awsui_sorting-icon_1spae_p4nau_268",
23
+ "edit-icon": "awsui_edit-icon_1spae_p4nau_276",
24
+ "header-cell-content": "awsui_header-cell-content_1spae_p4nau_282",
25
+ "header-cell-content-expandable": "awsui_header-cell-content-expandable_1spae_p4nau_288",
26
+ "header-cell-disabled": "awsui_header-cell-disabled_1spae_p4nau_340",
27
+ "header-cell-sorted": "awsui_header-cell-sorted_1spae_p4nau_340",
28
+ "header-cell-text": "awsui_header-cell-text_1spae_p4nau_354",
29
+ "header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_p4nau_358",
30
+ "header-cell-ascending": "awsui_header-cell-ascending_1spae_p4nau_364",
31
+ "header-cell-descending": "awsui_header-cell-descending_1spae_p4nau_365",
32
+ "has-striped-rows": "awsui_has-striped-rows_1spae_p4nau_479",
33
+ "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_1spae_p4nau_479"
33
34
  };
34
35
 
@@ -22,6 +22,7 @@ export interface TableThElementProps {
22
22
  children: React.ReactNode;
23
23
  variant: TableProps.Variant;
24
24
  ariaLabel?: string;
25
+ tableVariant?: string;
25
26
  }
26
- export declare function TableThElement({ resizableStyle, sortingStatus, sortingDisabled, focusedComponent, stuck, sticky, hidden, stripedRows, isSelection, colIndex, columnId, stickyState, cellRef, tableRole, children, variant, ariaLabel, ...props }: TableThElementProps): JSX.Element;
27
+ export declare function TableThElement({ resizableStyle, sortingStatus, sortingDisabled, focusedComponent, stuck, sticky, hidden, stripedRows, isSelection, colIndex, columnId, stickyState, cellRef, tableRole, children, variant, ariaLabel, tableVariant, ...props }: TableThElementProps): JSX.Element;
27
28
  //# sourceMappingURL=th-element.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"th-element.d.ts","sourceRoot":"","sources":["../../../../src/table/header-cell/th-element.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAQtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAuB,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAA8B,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAKxC,MAAM,WAAW,mBAAmB;IAClC,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,WAAW,CAAC;IACtB,WAAW,EAAE,kBAAkB,CAAC;IAChC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;IAChD,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,cAAc,EACd,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,OAAO,EACP,SAAS,EACT,QAAQ,EACR,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,eA6CrB"}
1
+ {"version":3,"file":"th-element.d.ts","sourceRoot":"","sources":["../../../../src/table/header-cell/th-element.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAQtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAuB,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAA8B,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAKxC,MAAM,WAAW,mBAAmB;IAClC,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,WAAW,CAAC;IACtB,WAAW,EAAE,kBAAkB,CAAC;IAChC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;IAChD,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,EAC7B,cAAc,EACd,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,OAAO,EACP,SAAS,EACT,QAAQ,EACR,OAAO,EACP,SAAS,EACT,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,mBAAmB,eA8CrB"}
@@ -13,7 +13,7 @@ import { getStickyClassNames } from '../utils';
13
13
  import tableStyles from '../styles.css.js';
14
14
  import styles from './styles.css.js';
15
15
  export function TableThElement(_a) {
16
- var { resizableStyle, sortingStatus, sortingDisabled, focusedComponent, stuck, sticky, hidden, stripedRows, isSelection, colIndex, columnId, stickyState, cellRef, tableRole, children, variant, ariaLabel } = _a, props = __rest(_a, ["resizableStyle", "sortingStatus", "sortingDisabled", "focusedComponent", "stuck", "sticky", "hidden", "stripedRows", "isSelection", "colIndex", "columnId", "stickyState", "cellRef", "tableRole", "children", "variant", "ariaLabel"]);
16
+ var { resizableStyle, sortingStatus, sortingDisabled, focusedComponent, stuck, sticky, hidden, stripedRows, isSelection, colIndex, columnId, stickyState, cellRef, tableRole, children, variant, ariaLabel, tableVariant } = _a, props = __rest(_a, ["resizableStyle", "sortingStatus", "sortingDisabled", "focusedComponent", "stuck", "sticky", "hidden", "stripedRows", "isSelection", "colIndex", "columnId", "stickyState", "cellRef", "tableRole", "children", "variant", "ariaLabel", "tableVariant"]);
17
17
  const isVisualRefresh = useVisualRefresh();
18
18
  const stickyStyles = useStickyCellStyles({
19
19
  stickyColumns: stickyState,
@@ -23,7 +23,7 @@ export function TableThElement(_a) {
23
23
  const cellRefObject = useRef(null);
24
24
  const mergedRef = useMergeRefs(stickyStyles.ref, cellRef, cellRefObject);
25
25
  const { tabIndex: cellTabIndex } = useSingleTabStopNavigation(cellRefObject);
26
- return (React.createElement("th", Object.assign({ "data-focus-id": `header-${String(columnId)}`, className: clsx(styles['header-cell'], styles[`header-cell-variant-${variant}`], sticky && styles['header-cell-sticky'], stuck && styles['header-cell-stuck'], stripedRows && styles['has-striped-rows'], isVisualRefresh && styles['is-visual-refresh'], isSelection && clsx(tableStyles['selection-control'], tableStyles['selection-control-header']), {
26
+ return (React.createElement("th", Object.assign({ "data-focus-id": `header-${String(columnId)}`, className: clsx(styles['header-cell'], styles[`header-cell-variant-${variant}`], sticky && styles['header-cell-sticky'], stuck && styles['header-cell-stuck'], stripedRows && styles['has-striped-rows'], isVisualRefresh && styles['is-visual-refresh'], isSelection && clsx(tableStyles['selection-control'], tableStyles['selection-control-header']), tableVariant && styles[`table-variant-${tableVariant}`], {
27
27
  [styles['header-cell-fake-focus']]: focusedComponent === `header-${String(columnId)}`,
28
28
  [styles['header-cell-sortable']]: sortingStatus,
29
29
  [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',
@@ -1 +1 @@
1
- {"version":3,"file":"th-element.js","sourceRoot":"","sources":["../../../../src/table/header-cell/th-element.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\nimport { copyAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useSingleTabStopNavigation } from '../../internal/context/single-tab-stop-navigation-context';\nimport { useVisualRefresh } from '../../internal/hooks/use-visual-mode';\nimport { ColumnWidthStyle } from '../column-widths-utils';\nimport { TableProps } from '../interfaces';\nimport { StickyColumnsModel, useStickyCellStyles } from '../sticky-columns';\nimport { getTableColHeaderRoleProps, TableRole } from '../table-role';\nimport { getStickyClassNames } from '../utils';\nimport { SortingStatus } from './utils';\n\nimport tableStyles from '../styles.css.js';\nimport styles from './styles.css.js';\n\nexport interface TableThElementProps {\n resizableStyle?: ColumnWidthStyle;\n sortingStatus?: SortingStatus;\n sortingDisabled?: boolean;\n focusedComponent?: null | string;\n stuck?: boolean;\n sticky?: boolean;\n hidden?: boolean;\n stripedRows?: boolean;\n isSelection?: boolean;\n colIndex: number;\n columnId: PropertyKey;\n stickyState: StickyColumnsModel;\n cellRef?: React.RefCallback<HTMLElement> | null;\n tableRole: TableRole;\n children: React.ReactNode;\n variant: TableProps.Variant;\n ariaLabel?: string;\n}\n\nexport function TableThElement({\n resizableStyle,\n sortingStatus,\n sortingDisabled,\n focusedComponent,\n stuck,\n sticky,\n hidden,\n stripedRows,\n isSelection,\n colIndex,\n columnId,\n stickyState,\n cellRef,\n tableRole,\n children,\n variant,\n ariaLabel,\n ...props\n}: TableThElementProps) {\n const isVisualRefresh = useVisualRefresh();\n\n const stickyStyles = useStickyCellStyles({\n stickyColumns: stickyState,\n columnId,\n getClassName: props => getStickyClassNames(styles, props),\n });\n\n const cellRefObject = useRef<HTMLTableCellElement>(null);\n const mergedRef = useMergeRefs(stickyStyles.ref, cellRef, cellRefObject);\n const { tabIndex: cellTabIndex } = useSingleTabStopNavigation(cellRefObject);\n\n return (\n <th\n data-focus-id={`header-${String(columnId)}`}\n className={clsx(\n styles['header-cell'],\n styles[`header-cell-variant-${variant}`],\n sticky && styles['header-cell-sticky'],\n stuck && styles['header-cell-stuck'],\n stripedRows && styles['has-striped-rows'],\n isVisualRefresh && styles['is-visual-refresh'],\n isSelection && clsx(tableStyles['selection-control'], tableStyles['selection-control-header']),\n {\n [styles['header-cell-fake-focus']]: focusedComponent === `header-${String(columnId)}`,\n [styles['header-cell-sortable']]: sortingStatus,\n [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',\n [styles['header-cell-disabled']]: sortingDisabled,\n [styles['header-cell-ascending']]: sortingStatus === 'ascending',\n [styles['header-cell-descending']]: sortingStatus === 'descending',\n [styles['header-cell-hidden']]: hidden,\n },\n stickyStyles.className\n )}\n style={{ ...resizableStyle, ...stickyStyles.style }}\n ref={mergedRef}\n {...getTableColHeaderRoleProps({ tableRole, sortingStatus, colIndex })}\n tabIndex={cellTabIndex === -1 ? undefined : cellTabIndex}\n {...copyAnalyticsMetadataAttribute(props)}\n {...(ariaLabel ? { 'aria-label': ariaLabel } : {})}\n >\n {children}\n </th>\n );\n}\n"]}
1
+ {"version":3,"file":"th-element.js","sourceRoot":"","sources":["../../../../src/table/header-cell/th-element.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\nimport { copyAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useSingleTabStopNavigation } from '../../internal/context/single-tab-stop-navigation-context';\nimport { useVisualRefresh } from '../../internal/hooks/use-visual-mode';\nimport { ColumnWidthStyle } from '../column-widths-utils';\nimport { TableProps } from '../interfaces';\nimport { StickyColumnsModel, useStickyCellStyles } from '../sticky-columns';\nimport { getTableColHeaderRoleProps, TableRole } from '../table-role';\nimport { getStickyClassNames } from '../utils';\nimport { SortingStatus } from './utils';\n\nimport tableStyles from '../styles.css.js';\nimport styles from './styles.css.js';\n\nexport interface TableThElementProps {\n resizableStyle?: ColumnWidthStyle;\n sortingStatus?: SortingStatus;\n sortingDisabled?: boolean;\n focusedComponent?: null | string;\n stuck?: boolean;\n sticky?: boolean;\n hidden?: boolean;\n stripedRows?: boolean;\n isSelection?: boolean;\n colIndex: number;\n columnId: PropertyKey;\n stickyState: StickyColumnsModel;\n cellRef?: React.RefCallback<HTMLElement> | null;\n tableRole: TableRole;\n children: React.ReactNode;\n variant: TableProps.Variant;\n ariaLabel?: string;\n tableVariant?: string;\n}\n\nexport function TableThElement({\n resizableStyle,\n sortingStatus,\n sortingDisabled,\n focusedComponent,\n stuck,\n sticky,\n hidden,\n stripedRows,\n isSelection,\n colIndex,\n columnId,\n stickyState,\n cellRef,\n tableRole,\n children,\n variant,\n ariaLabel,\n tableVariant,\n ...props\n}: TableThElementProps) {\n const isVisualRefresh = useVisualRefresh();\n\n const stickyStyles = useStickyCellStyles({\n stickyColumns: stickyState,\n columnId,\n getClassName: props => getStickyClassNames(styles, props),\n });\n\n const cellRefObject = useRef<HTMLTableCellElement>(null);\n const mergedRef = useMergeRefs(stickyStyles.ref, cellRef, cellRefObject);\n const { tabIndex: cellTabIndex } = useSingleTabStopNavigation(cellRefObject);\n\n return (\n <th\n data-focus-id={`header-${String(columnId)}`}\n className={clsx(\n styles['header-cell'],\n styles[`header-cell-variant-${variant}`],\n sticky && styles['header-cell-sticky'],\n stuck && styles['header-cell-stuck'],\n stripedRows && styles['has-striped-rows'],\n isVisualRefresh && styles['is-visual-refresh'],\n isSelection && clsx(tableStyles['selection-control'], tableStyles['selection-control-header']),\n tableVariant && styles[`table-variant-${tableVariant}`],\n {\n [styles['header-cell-fake-focus']]: focusedComponent === `header-${String(columnId)}`,\n [styles['header-cell-sortable']]: sortingStatus,\n [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',\n [styles['header-cell-disabled']]: sortingDisabled,\n [styles['header-cell-ascending']]: sortingStatus === 'ascending',\n [styles['header-cell-descending']]: sortingStatus === 'descending',\n [styles['header-cell-hidden']]: hidden,\n },\n stickyStyles.className\n )}\n style={{ ...resizableStyle, ...stickyStyles.style }}\n ref={mergedRef}\n {...getTableColHeaderRoleProps({ tableRole, sortingStatus, colIndex })}\n tabIndex={cellTabIndex === -1 ? undefined : cellTabIndex}\n {...copyAnalyticsMetadataAttribute(props)}\n {...(ariaLabel ? { 'aria-label': ariaLabel } : {})}\n >\n {children}\n </th>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AAyCA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA2CzE,eAAO,MAAM,sBAAsB,qBAWX,CAAC;AAEzB,QAAA,MAAM,aAAa,qBAgpBK,CAAC;AAEzB,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AAyCA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA2CzE,eAAO,MAAM,sBAAsB,qBAWX,CAAC;AAEzB,QAAA,MAAM,aAAa,qBAkpBK,CAAC;AAEzB,eAAe,aAAa,CAAC"}
@@ -253,6 +253,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
253
253
  getSelectAllProps,
254
254
  columnDefinitions: visibleColumnDefinitions,
255
255
  variant: computedVariant,
256
+ tableVariant: computedVariant,
256
257
  wrapLines,
257
258
  resizableColumns,
258
259
  sortingColumn,
@@ -307,7 +308,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
307
308
  React.createElement("div", { ref: toolsHeaderWrapper, className: clsx(styles['header-controls'], styles[`variant-${computedVariant}`]) },
308
309
  React.createElement(CollectionLabelContext.Provider, { value: { assignId: setHeaderRef } },
309
310
  React.createElement(ToolsHeader, { header: header, filter: filter, pagination: pagination, preferences: preferences, setLastUserAction: setLastUserAction }))))),
310
- stickyHeader && (React.createElement(StickyHeader, { ref: stickyHeaderRef, variant: computedVariant, theadProps: theadProps, wrapperRef: wrapperRefObject, theadRef: theadRef, secondaryWrapperRef: secondaryWrapperRef, tableRef: tableRefObject, onScroll: handleScroll, tableHasHeader: hasHeader, contentDensity: contentDensity, tableRole: tableRole }))), disableHeaderPaddings: true, disableContentPaddings: true, variant: toContainerVariant(computedVariant), __disableFooterPaddings: true, __disableFooterDivider: true, __disableStickyMobile: false, footer: hasFooter ? (React.createElement("div", { className: clsx(styles['footer-wrapper'], styles[`variant-${computedVariant}`]) },
311
+ stickyHeader && (React.createElement(StickyHeader, { ref: stickyHeaderRef, variant: computedVariant, theadProps: theadProps, wrapperRef: wrapperRefObject, theadRef: theadRef, secondaryWrapperRef: secondaryWrapperRef, tableRef: tableRefObject, onScroll: handleScroll, tableHasHeader: hasHeader, contentDensity: contentDensity, tableRole: tableRole }))), disableHeaderPaddings: true, disableContentPaddings: true, disableFooterPaddings: true, variant: toContainerVariant(computedVariant), __disableFooterDivider: true, __disableStickyMobile: false, footer: hasFooter ? (React.createElement("div", { className: clsx(styles['footer-wrapper'], styles[`variant-${computedVariant}`]) },
311
312
  React.createElement("div", { className: clsx(styles.footer, hasFooterPagination && styles['footer-with-pagination']) },
312
313
  footer && React.createElement("span", null, footer),
313
314
  hasFooterPagination && React.createElement("div", { className: styles['footer-pagination'] }, pagination)))) : null, __stickyHeader: stickyHeader, __mobileStickyOffset: toolsHeaderHeight !== null && toolsHeaderHeight !== void 0 ? toolsHeaderHeight : 0, __stickyOffset: stickyHeaderVerticalOffset }, focusMarkers.root),
@@ -391,7 +392,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
391
392
  width: column.width,
392
393
  minWidth: column.minWidth,
393
394
  maxWidth: column.maxWidth,
394
- }, ariaLabels: ariaLabels, column: column, item: row.item, wrapLines: wrapLines, isEditable: isEditable, isEditing: isEditing, isRowHeader: column.isRowHeader, successfulEdit: successfulEdit, resizableColumns: resizableColumns, onEditStart: () => cellEditing.startEdit(cellId), onEditEnd: editCancelled => cellEditing.completeEdit(cellId, editCancelled), submitEdit: cellEditing.submitEdit, columnId: (_a = column.id) !== null && _a !== void 0 ? _a : colIndex, colIndex: colIndex + colIndexOffset, verticalAlign: (_b = column.verticalAlign) !== null && _b !== void 0 ? _b : cellVerticalAlign }, cellExpandableProps, getAnalyticsMetadataAttribute(analyticsMetadata))));
395
+ }, ariaLabels: ariaLabels, column: column, item: row.item, wrapLines: wrapLines, isEditable: isEditable, isEditing: isEditing, isRowHeader: column.isRowHeader, successfulEdit: successfulEdit, resizableColumns: resizableColumns, onEditStart: () => cellEditing.startEdit(cellId), onEditEnd: editCancelled => cellEditing.completeEdit(cellId, editCancelled), submitEdit: cellEditing.submitEdit, columnId: (_a = column.id) !== null && _a !== void 0 ? _a : colIndex, colIndex: colIndex + colIndexOffset, verticalAlign: (_b = column.verticalAlign) !== null && _b !== void 0 ? _b : cellVerticalAlign, tableVariant: computedVariant }, cellExpandableProps, getAnalyticsMetadataAttribute(analyticsMetadata))));
395
396
  })));
396
397
  }
397
398
  const loaderContent = getLoaderContent({