@cloudscape-design/components-themeable 3.0.251 → 3.0.252

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 (253) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/button/styles.scss +5 -3
  3. package/lib/internal/scss/internal/hooks/focus-visible/index.scss +2 -1
  4. package/lib/internal/scss/table/body-cell/styles.scss +14 -12
  5. package/lib/internal/scss/table/header-cell/styles.scss +2 -1
  6. package/lib/internal/scss/table/resizer/styles.scss +2 -1
  7. package/lib/internal/template/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
  8. package/lib/internal/template/annotation-context/annotation/annotation-trigger.js +1 -3
  9. package/lib/internal/template/annotation-context/annotation/annotation-trigger.js.map +1 -1
  10. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  11. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +29 -29
  12. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  13. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +61 -61
  14. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +151 -151
  15. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +61 -61
  16. package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
  17. package/lib/internal/template/app-layout/visual-refresh/trigger-button.js +2 -4
  18. package/lib/internal/template/app-layout/visual-refresh/trigger-button.js.map +1 -1
  19. package/lib/internal/template/breadcrumb-group/item/item.d.ts.map +1 -1
  20. package/lib/internal/template/breadcrumb-group/item/item.js +2 -5
  21. package/lib/internal/template/breadcrumb-group/item/item.js.map +1 -1
  22. package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
  23. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +17 -17
  24. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
  25. package/lib/internal/template/button/internal.d.ts.map +1 -1
  26. package/lib/internal/template/button/internal.js +2 -3
  27. package/lib/internal/template/button/internal.js.map +1 -1
  28. package/lib/internal/template/button/styles.css.js +19 -18
  29. package/lib/internal/template/button/styles.scoped.css +136 -136
  30. package/lib/internal/template/button/styles.selectors.js +19 -18
  31. package/lib/internal/template/calendar/grid/index.d.ts.map +1 -1
  32. package/lib/internal/template/calendar/grid/index.js +2 -4
  33. package/lib/internal/template/calendar/grid/index.js.map +1 -1
  34. package/lib/internal/template/calendar/styles.css.js +18 -18
  35. package/lib/internal/template/calendar/styles.scoped.css +38 -38
  36. package/lib/internal/template/calendar/styles.selectors.js +18 -18
  37. package/lib/internal/template/code-editor/styles.css.js +32 -32
  38. package/lib/internal/template/code-editor/styles.scoped.css +157 -157
  39. package/lib/internal/template/code-editor/styles.selectors.js +32 -32
  40. package/lib/internal/template/code-editor/tab-button.d.ts.map +1 -1
  41. package/lib/internal/template/code-editor/tab-button.js +2 -4
  42. package/lib/internal/template/code-editor/tab-button.js.map +1 -1
  43. package/lib/internal/template/date-picker/index.d.ts.map +1 -1
  44. package/lib/internal/template/date-picker/index.js +1 -3
  45. package/lib/internal/template/date-picker/index.js.map +1 -1
  46. package/lib/internal/template/date-picker/styles.css.js +7 -7
  47. package/lib/internal/template/date-picker/styles.scoped.css +9 -9
  48. package/lib/internal/template/date-picker/styles.selectors.js +7 -7
  49. package/lib/internal/template/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
  50. package/lib/internal/template/date-range-picker/calendar/grids/grid.js +1 -3
  51. package/lib/internal/template/date-range-picker/calendar/grids/grid.js.map +1 -1
  52. package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  53. package/lib/internal/template/date-range-picker/calendar/grids/index.js +1 -3
  54. package/lib/internal/template/date-range-picker/calendar/grids/index.js.map +1 -1
  55. package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +25 -25
  56. package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +42 -42
  57. package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  58. package/lib/internal/template/date-range-picker/dropdown.d.ts.map +1 -1
  59. package/lib/internal/template/date-range-picker/dropdown.js +1 -3
  60. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  61. package/lib/internal/template/date-range-picker/styles.css.js +38 -38
  62. package/lib/internal/template/date-range-picker/styles.scoped.css +45 -45
  63. package/lib/internal/template/date-range-picker/styles.selectors.js +38 -38
  64. package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
  65. package/lib/internal/template/expandable-section/expandable-section-header.js +3 -7
  66. package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
  67. package/lib/internal/template/expandable-section/styles.css.js +23 -23
  68. package/lib/internal/template/expandable-section/styles.scoped.css +44 -44
  69. package/lib/internal/template/expandable-section/styles.selectors.js +23 -23
  70. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
  71. package/lib/internal/template/flashbar/collapsible-flashbar.js +1 -3
  72. package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
  73. package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
  74. package/lib/internal/template/flashbar/flash.js +1 -3
  75. package/lib/internal/template/flashbar/flash.js.map +1 -1
  76. package/lib/internal/template/flashbar/styles.css.js +45 -45
  77. package/lib/internal/template/flashbar/styles.scoped.css +144 -144
  78. package/lib/internal/template/flashbar/styles.selectors.js +45 -45
  79. package/lib/internal/template/internal/components/abstract-switch/index.d.ts.map +1 -1
  80. package/lib/internal/template/internal/components/abstract-switch/index.js +8 -4
  81. package/lib/internal/template/internal/components/abstract-switch/index.js.map +1 -1
  82. package/lib/internal/template/internal/components/abstract-switch/styles.css.js +13 -13
  83. package/lib/internal/template/internal/components/abstract-switch/styles.scoped.css +19 -19
  84. package/lib/internal/template/internal/components/abstract-switch/styles.selectors.js +13 -13
  85. package/lib/internal/template/internal/components/button-trigger/index.d.ts.map +1 -1
  86. package/lib/internal/template/internal/components/button-trigger/index.js +1 -3
  87. package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
  88. package/lib/internal/template/internal/components/button-trigger/styles.css.js +9 -9
  89. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +23 -23
  90. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +9 -9
  91. package/lib/internal/template/internal/components/chart-legend/index.d.ts.map +1 -1
  92. package/lib/internal/template/internal/components/chart-legend/index.js +2 -4
  93. package/lib/internal/template/internal/components/chart-legend/index.js.map +1 -1
  94. package/lib/internal/template/internal/components/chart-legend/styles.css.js +6 -6
  95. package/lib/internal/template/internal/components/chart-legend/styles.scoped.css +15 -15
  96. package/lib/internal/template/internal/components/chart-legend/styles.selectors.js +6 -6
  97. package/lib/internal/template/internal/components/chart-plot/focus-outline.d.ts.map +1 -1
  98. package/lib/internal/template/internal/components/chart-plot/focus-outline.js +25 -3
  99. package/lib/internal/template/internal/components/chart-plot/focus-outline.js.map +1 -1
  100. package/lib/internal/template/internal/components/filtering-token/index.d.ts +2 -1
  101. package/lib/internal/template/internal/components/filtering-token/index.d.ts.map +1 -1
  102. package/lib/internal/template/internal/components/filtering-token/index.js +3 -5
  103. package/lib/internal/template/internal/components/filtering-token/index.js.map +1 -1
  104. package/lib/internal/template/internal/components/filtering-token/styles.css.js +7 -7
  105. package/lib/internal/template/internal/components/filtering-token/styles.scoped.css +13 -13
  106. package/lib/internal/template/internal/components/filtering-token/styles.selectors.js +7 -7
  107. package/lib/internal/template/internal/components/menu-dropdown/index.d.ts.map +1 -1
  108. package/lib/internal/template/internal/components/menu-dropdown/index.js +2 -4
  109. package/lib/internal/template/internal/components/menu-dropdown/index.js.map +1 -1
  110. package/lib/internal/template/internal/components/menu-dropdown/styles.css.js +7 -7
  111. package/lib/internal/template/internal/components/menu-dropdown/styles.scoped.css +13 -13
  112. package/lib/internal/template/internal/components/menu-dropdown/styles.selectors.js +7 -7
  113. package/lib/internal/template/internal/components/token-list/index.d.ts +1 -1
  114. package/lib/internal/template/internal/components/token-list/index.d.ts.map +1 -1
  115. package/lib/internal/template/internal/components/token-list/index.js +3 -3
  116. package/lib/internal/template/internal/components/token-list/index.js.map +1 -1
  117. package/lib/internal/template/internal/components/token-list/interfaces.d.ts +0 -1
  118. package/lib/internal/template/internal/components/token-list/interfaces.d.ts.map +1 -1
  119. package/lib/internal/template/internal/components/token-list/interfaces.js.map +1 -1
  120. package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
  121. package/lib/internal/template/internal/components/token-list/styles.scoped.css +20 -20
  122. package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
  123. package/lib/internal/template/internal/components/token-list/token-focus-controller.js +1 -1
  124. package/lib/internal/template/internal/components/token-list/token-focus-controller.js.map +1 -1
  125. package/lib/internal/template/internal/components/token-list/token-limit-toggle.d.ts.map +1 -1
  126. package/lib/internal/template/internal/components/token-list/token-limit-toggle.js +1 -3
  127. package/lib/internal/template/internal/components/token-list/token-limit-toggle.js.map +1 -1
  128. package/lib/internal/template/internal/environment.js +1 -1
  129. package/lib/internal/template/internal/hooks/focus-visible/index.d.ts +2 -5
  130. package/lib/internal/template/internal/hooks/focus-visible/index.d.ts.map +1 -1
  131. package/lib/internal/template/internal/hooks/focus-visible/index.js +42 -22
  132. package/lib/internal/template/internal/hooks/focus-visible/index.js.map +1 -1
  133. package/lib/internal/template/internal/hooks/use-base-component/index.d.ts.map +1 -1
  134. package/lib/internal/template/internal/hooks/use-base-component/index.js +2 -0
  135. package/lib/internal/template/internal/hooks/use-base-component/index.js.map +1 -1
  136. package/lib/internal/template/link/internal.d.ts.map +1 -1
  137. package/lib/internal/template/link/internal.js +1 -3
  138. package/lib/internal/template/link/internal.js.map +1 -1
  139. package/lib/internal/template/link/styles.css.js +20 -20
  140. package/lib/internal/template/link/styles.scoped.css +71 -71
  141. package/lib/internal/template/link/styles.selectors.js +20 -20
  142. package/lib/internal/template/pagination/internal.d.ts.map +1 -1
  143. package/lib/internal/template/pagination/internal.js +1 -3
  144. package/lib/internal/template/pagination/internal.js.map +1 -1
  145. package/lib/internal/template/pagination/styles.css.js +9 -9
  146. package/lib/internal/template/pagination/styles.scoped.css +23 -23
  147. package/lib/internal/template/pagination/styles.selectors.js +9 -9
  148. package/lib/internal/template/popover/internal.d.ts.map +1 -1
  149. package/lib/internal/template/popover/internal.js +1 -3
  150. package/lib/internal/template/popover/internal.js.map +1 -1
  151. package/lib/internal/template/popover/styles.css.js +50 -50
  152. package/lib/internal/template/popover/styles.scoped.css +63 -63
  153. package/lib/internal/template/popover/styles.selectors.js +50 -50
  154. package/lib/internal/template/property-filter/index.d.ts.map +1 -1
  155. package/lib/internal/template/property-filter/index.js +2 -2
  156. package/lib/internal/template/property-filter/index.js.map +1 -1
  157. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  158. package/lib/internal/template/property-filter/token.js +1 -1
  159. package/lib/internal/template/property-filter/token.js.map +1 -1
  160. package/lib/internal/template/segmented-control/segment.d.ts.map +1 -1
  161. package/lib/internal/template/segmented-control/segment.js +1 -3
  162. package/lib/internal/template/segmented-control/segment.js.map +1 -1
  163. package/lib/internal/template/segmented-control/styles.css.js +14 -14
  164. package/lib/internal/template/segmented-control/styles.scoped.css +33 -33
  165. package/lib/internal/template/segmented-control/styles.selectors.js +14 -14
  166. package/lib/internal/template/side-navigation/internal.d.ts.map +1 -1
  167. package/lib/internal/template/side-navigation/internal.js +2 -5
  168. package/lib/internal/template/side-navigation/internal.js.map +1 -1
  169. package/lib/internal/template/side-navigation/styles.css.js +27 -27
  170. package/lib/internal/template/side-navigation/styles.scoped.css +37 -37
  171. package/lib/internal/template/side-navigation/styles.selectors.js +27 -27
  172. package/lib/internal/template/split-panel/index.d.ts.map +1 -1
  173. package/lib/internal/template/split-panel/index.js +1 -3
  174. package/lib/internal/template/split-panel/index.js.map +1 -1
  175. package/lib/internal/template/split-panel/styles.css.js +59 -59
  176. package/lib/internal/template/split-panel/styles.scoped.css +81 -81
  177. package/lib/internal/template/split-panel/styles.selectors.js +59 -59
  178. package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
  179. package/lib/internal/template/table/body-cell/index.js +3 -3
  180. package/lib/internal/template/table/body-cell/index.js.map +1 -1
  181. package/lib/internal/template/table/body-cell/styles.css.js +18 -18
  182. package/lib/internal/template/table/body-cell/styles.scoped.css +57 -55
  183. package/lib/internal/template/table/body-cell/styles.selectors.js +18 -18
  184. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  185. package/lib/internal/template/table/header-cell/index.js +11 -9
  186. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  187. package/lib/internal/template/table/header-cell/styles.css.js +19 -19
  188. package/lib/internal/template/table/header-cell/styles.scoped.css +32 -32
  189. package/lib/internal/template/table/header-cell/styles.selectors.js +19 -19
  190. package/lib/internal/template/table/internal.d.ts.map +1 -1
  191. package/lib/internal/template/table/internal.js +1 -3
  192. package/lib/internal/template/table/internal.js.map +1 -1
  193. package/lib/internal/template/table/resizer/styles.css.js +6 -6
  194. package/lib/internal/template/table/resizer/styles.scoped.css +11 -11
  195. package/lib/internal/template/table/resizer/styles.selectors.js +6 -6
  196. package/lib/internal/template/table/styles.css.js +33 -33
  197. package/lib/internal/template/table/styles.scoped.css +41 -41
  198. package/lib/internal/template/table/styles.selectors.js +33 -33
  199. package/lib/internal/template/tabs/index.d.ts.map +1 -1
  200. package/lib/internal/template/tabs/index.js +8 -3
  201. package/lib/internal/template/tabs/index.js.map +1 -1
  202. package/lib/internal/template/tabs/styles.css.js +21 -21
  203. package/lib/internal/template/tabs/styles.scoped.css +38 -38
  204. package/lib/internal/template/tabs/styles.selectors.js +21 -21
  205. package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
  206. package/lib/internal/template/tabs/tab-header-bar.js +9 -3
  207. package/lib/internal/template/tabs/tab-header-bar.js.map +1 -1
  208. package/lib/internal/template/tag-editor/internal.d.ts.map +1 -1
  209. package/lib/internal/template/tag-editor/internal.js +2 -4
  210. package/lib/internal/template/tag-editor/internal.js.map +1 -1
  211. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  212. package/lib/internal/template/tag-editor/styles.scoped.css +10 -10
  213. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  214. package/lib/internal/template/token-group/dismiss-button.d.ts.map +1 -1
  215. package/lib/internal/template/token-group/dismiss-button.js +1 -3
  216. package/lib/internal/template/token-group/dismiss-button.js.map +1 -1
  217. package/lib/internal/template/token-group/internal.js +2 -2
  218. package/lib/internal/template/token-group/internal.js.map +1 -1
  219. package/lib/internal/template/token-group/styles.css.js +5 -5
  220. package/lib/internal/template/token-group/styles.scoped.css +12 -12
  221. package/lib/internal/template/token-group/styles.selectors.js +5 -5
  222. package/lib/internal/template/token-group/token.d.ts +3 -5
  223. package/lib/internal/template/token-group/token.d.ts.map +1 -1
  224. package/lib/internal/template/token-group/token.js +2 -2
  225. package/lib/internal/template/token-group/token.js.map +1 -1
  226. package/lib/internal/template/top-navigation/1.0-beta/internal.d.ts.map +1 -1
  227. package/lib/internal/template/top-navigation/1.0-beta/internal.js +1 -3
  228. package/lib/internal/template/top-navigation/1.0-beta/internal.js.map +1 -1
  229. package/lib/internal/template/top-navigation/1.0-beta/styles.css.js +25 -25
  230. package/lib/internal/template/top-navigation/1.0-beta/styles.scoped.css +42 -42
  231. package/lib/internal/template/top-navigation/1.0-beta/styles.selectors.js +25 -25
  232. package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
  233. package/lib/internal/template/top-navigation/internal.js +1 -3
  234. package/lib/internal/template/top-navigation/internal.js.map +1 -1
  235. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
  236. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js +3 -7
  237. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
  238. package/lib/internal/template/top-navigation/styles.css.js +47 -47
  239. package/lib/internal/template/top-navigation/styles.scoped.css +66 -66
  240. package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
  241. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
  242. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js +1 -3
  243. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js.map +1 -1
  244. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  245. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +27 -27
  246. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  247. package/lib/internal/template/wizard/styles.css.js +32 -32
  248. package/lib/internal/template/wizard/styles.scoped.css +63 -63
  249. package/lib/internal/template/wizard/styles.selectors.js +32 -32
  250. package/lib/internal/template/wizard/wizard-form.d.ts.map +1 -1
  251. package/lib/internal/template/wizard/wizard-form.js +1 -3
  252. package/lib/internal/template/wizard/wizard-form.js.map +1 -1
  253. package/package.json +1 -1
@@ -2,64 +2,64 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "drawer": "awsui_drawer_1r9lg_9vvpn_189",
6
- "refresh": "awsui_refresh_1r9lg_9vvpn_189",
7
- "animating": "awsui_animating_1r9lg_9vvpn_203",
8
- "preference-icon--layout-border": "awsui_preference-icon--layout-border_1r9lg_9vvpn_226",
9
- "preference-icon--layout-background": "awsui_preference-icon--layout-background_1r9lg_9vvpn_230",
10
- "preference-icon--layout-header": "awsui_preference-icon--layout-header_1r9lg_9vvpn_233",
11
- "preference-icon--border": "awsui_preference-icon--border_1r9lg_9vvpn_236",
12
- "preference-icon--primary-button": "awsui_preference-icon--primary-button_1r9lg_9vvpn_240",
13
- "preference-icon--secondary": "awsui_preference-icon--secondary_1r9lg_9vvpn_243",
14
- "preference-icon--disabled-element": "awsui_preference-icon--disabled-element_1r9lg_9vvpn_246",
15
- "preference-icon--separator": "awsui_preference-icon--separator_1r9lg_9vvpn_249",
16
- "preference-icon--focus-text": "awsui_preference-icon--focus-text_1r9lg_9vvpn_252",
17
- "preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-top_1r9lg_9vvpn_256",
18
- "preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-main_1r9lg_9vvpn_259",
19
- "preference-icon-refresh--primary": "awsui_preference-icon-refresh--primary_1r9lg_9vvpn_262",
20
- "preference-icon-refresh--disabled": "awsui_preference-icon-refresh--disabled_1r9lg_9vvpn_265",
21
- "preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-header_1r9lg_9vvpn_268",
22
- "preference-icon-refresh--window": "awsui_preference-icon-refresh--window_1r9lg_9vvpn_271",
23
- "preference-icon-refresh--secondary": "awsui_preference-icon-refresh--secondary_1r9lg_9vvpn_275",
24
- "preference-icon-refresh--default": "awsui_preference-icon-refresh--default_1r9lg_9vvpn_278",
25
- "preference-icon-refresh--separator": "awsui_preference-icon-refresh--separator_1r9lg_9vvpn_281",
26
- "preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-default_1r9lg_9vvpn_284",
27
- "preference-icon-refresh--heading": "awsui_preference-icon-refresh--heading_1r9lg_9vvpn_287",
28
- "resize-active": "awsui_resize-active_1r9lg_9vvpn_292",
29
- "resize-side": "awsui_resize-side_1r9lg_9vvpn_298",
30
- "resize-bottom": "awsui_resize-bottom_1r9lg_9vvpn_301",
31
- "root": "awsui_root_1r9lg_9vvpn_306",
32
- "preferences-button": "awsui_preferences-button_1r9lg_9vvpn_319",
33
- "close-button": "awsui_close-button_1r9lg_9vvpn_323",
34
- "drawer-closed": "awsui_drawer-closed_1r9lg_9vvpn_334",
35
- "drawer-content-side": "awsui_drawer-content-side_1r9lg_9vvpn_339",
36
- "drawer-content-bottom": "awsui_drawer-content-bottom_1r9lg_9vvpn_359",
37
- "position-bottom": "awsui_position-bottom_1r9lg_9vvpn_368",
38
- "position-side": "awsui_position-side_1r9lg_9vvpn_395",
39
- "slider": "awsui_slider_1r9lg_9vvpn_401",
40
- "slider-side": "awsui_slider-side_1r9lg_9vvpn_430",
41
- "slider-wrapper-bottom": "awsui_slider-wrapper-bottom_1r9lg_9vvpn_435",
42
- "slider-wrapper-side": "awsui_slider-wrapper-side_1r9lg_9vvpn_446",
43
- "open-button": "awsui_open-button_1r9lg_9vvpn_457",
44
- "open-button-side": "awsui_open-button-side_1r9lg_9vvpn_461",
45
- "slider-icon": "awsui_slider-icon_1r9lg_9vvpn_468",
46
- "slider-icon-bottom": "awsui_slider-icon-bottom_1r9lg_9vvpn_474",
47
- "slider-icon-side": "awsui_slider-icon-side_1r9lg_9vvpn_477",
48
- "pane-header-wrapper-bottom": "awsui_pane-header-wrapper-bottom_1r9lg_9vvpn_481",
49
- "drawer-mobile": "awsui_drawer-mobile_1r9lg_9vvpn_491",
50
- "drawer-disable-content-paddings": "awsui_drawer-disable-content-paddings_1r9lg_9vvpn_494",
51
- "content-bottom": "awsui_content-bottom_1r9lg_9vvpn_502",
52
- "pane-bottom-center-align": "awsui_pane-bottom-center-align_1r9lg_9vvpn_513",
53
- "pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-padding_1r9lg_9vvpn_518",
54
- "pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-padding_1r9lg_9vvpn_522",
55
- "content-bottom-max-width": "awsui_content-bottom-max-width_1r9lg_9vvpn_526",
56
- "content-side": "awsui_content-side_1r9lg_9vvpn_531",
57
- "pane-header-wrapper-side": "awsui_pane-header-wrapper-side_1r9lg_9vvpn_542",
58
- "pane-content-wrapper-side": "awsui_pane-content-wrapper-side_1r9lg_9vvpn_545",
59
- "header": "awsui_header_1r9lg_9vvpn_550",
60
- "header-text": "awsui_header-text_1r9lg_9vvpn_559",
61
- "header-divider": "awsui_header-divider_1r9lg_9vvpn_569",
62
- "header-actions": "awsui_header-actions_1r9lg_9vvpn_575",
63
- "divider": "awsui_divider_1r9lg_9vvpn_583"
5
+ "drawer": "awsui_drawer_1r9lg_11i7a_189",
6
+ "refresh": "awsui_refresh_1r9lg_11i7a_189",
7
+ "animating": "awsui_animating_1r9lg_11i7a_203",
8
+ "preference-icon--layout-border": "awsui_preference-icon--layout-border_1r9lg_11i7a_226",
9
+ "preference-icon--layout-background": "awsui_preference-icon--layout-background_1r9lg_11i7a_230",
10
+ "preference-icon--layout-header": "awsui_preference-icon--layout-header_1r9lg_11i7a_233",
11
+ "preference-icon--border": "awsui_preference-icon--border_1r9lg_11i7a_236",
12
+ "preference-icon--primary-button": "awsui_preference-icon--primary-button_1r9lg_11i7a_240",
13
+ "preference-icon--secondary": "awsui_preference-icon--secondary_1r9lg_11i7a_243",
14
+ "preference-icon--disabled-element": "awsui_preference-icon--disabled-element_1r9lg_11i7a_246",
15
+ "preference-icon--separator": "awsui_preference-icon--separator_1r9lg_11i7a_249",
16
+ "preference-icon--focus-text": "awsui_preference-icon--focus-text_1r9lg_11i7a_252",
17
+ "preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-top_1r9lg_11i7a_256",
18
+ "preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-main_1r9lg_11i7a_259",
19
+ "preference-icon-refresh--primary": "awsui_preference-icon-refresh--primary_1r9lg_11i7a_262",
20
+ "preference-icon-refresh--disabled": "awsui_preference-icon-refresh--disabled_1r9lg_11i7a_265",
21
+ "preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-header_1r9lg_11i7a_268",
22
+ "preference-icon-refresh--window": "awsui_preference-icon-refresh--window_1r9lg_11i7a_271",
23
+ "preference-icon-refresh--secondary": "awsui_preference-icon-refresh--secondary_1r9lg_11i7a_275",
24
+ "preference-icon-refresh--default": "awsui_preference-icon-refresh--default_1r9lg_11i7a_278",
25
+ "preference-icon-refresh--separator": "awsui_preference-icon-refresh--separator_1r9lg_11i7a_281",
26
+ "preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-default_1r9lg_11i7a_284",
27
+ "preference-icon-refresh--heading": "awsui_preference-icon-refresh--heading_1r9lg_11i7a_287",
28
+ "resize-active": "awsui_resize-active_1r9lg_11i7a_292",
29
+ "resize-side": "awsui_resize-side_1r9lg_11i7a_298",
30
+ "resize-bottom": "awsui_resize-bottom_1r9lg_11i7a_301",
31
+ "root": "awsui_root_1r9lg_11i7a_306",
32
+ "preferences-button": "awsui_preferences-button_1r9lg_11i7a_319",
33
+ "close-button": "awsui_close-button_1r9lg_11i7a_323",
34
+ "drawer-closed": "awsui_drawer-closed_1r9lg_11i7a_334",
35
+ "drawer-content-side": "awsui_drawer-content-side_1r9lg_11i7a_339",
36
+ "drawer-content-bottom": "awsui_drawer-content-bottom_1r9lg_11i7a_359",
37
+ "position-bottom": "awsui_position-bottom_1r9lg_11i7a_368",
38
+ "position-side": "awsui_position-side_1r9lg_11i7a_395",
39
+ "slider": "awsui_slider_1r9lg_11i7a_401",
40
+ "slider-side": "awsui_slider-side_1r9lg_11i7a_430",
41
+ "slider-wrapper-bottom": "awsui_slider-wrapper-bottom_1r9lg_11i7a_435",
42
+ "slider-wrapper-side": "awsui_slider-wrapper-side_1r9lg_11i7a_446",
43
+ "open-button": "awsui_open-button_1r9lg_11i7a_457",
44
+ "open-button-side": "awsui_open-button-side_1r9lg_11i7a_461",
45
+ "slider-icon": "awsui_slider-icon_1r9lg_11i7a_468",
46
+ "slider-icon-bottom": "awsui_slider-icon-bottom_1r9lg_11i7a_474",
47
+ "slider-icon-side": "awsui_slider-icon-side_1r9lg_11i7a_477",
48
+ "pane-header-wrapper-bottom": "awsui_pane-header-wrapper-bottom_1r9lg_11i7a_481",
49
+ "drawer-mobile": "awsui_drawer-mobile_1r9lg_11i7a_491",
50
+ "drawer-disable-content-paddings": "awsui_drawer-disable-content-paddings_1r9lg_11i7a_494",
51
+ "content-bottom": "awsui_content-bottom_1r9lg_11i7a_502",
52
+ "pane-bottom-center-align": "awsui_pane-bottom-center-align_1r9lg_11i7a_513",
53
+ "pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-padding_1r9lg_11i7a_518",
54
+ "pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-padding_1r9lg_11i7a_522",
55
+ "content-bottom-max-width": "awsui_content-bottom-max-width_1r9lg_11i7a_526",
56
+ "content-side": "awsui_content-side_1r9lg_11i7a_531",
57
+ "pane-header-wrapper-side": "awsui_pane-header-wrapper-side_1r9lg_11i7a_542",
58
+ "pane-content-wrapper-side": "awsui_pane-content-wrapper-side_1r9lg_11i7a_545",
59
+ "header": "awsui_header_1r9lg_11i7a_550",
60
+ "header-text": "awsui_header-text_1r9lg_11i7a_559",
61
+ "header-divider": "awsui_header-divider_1r9lg_11i7a_569",
62
+ "header-actions": "awsui_header-actions_1r9lg_11i7a_575",
63
+ "divider": "awsui_divider_1r9lg_11i7a_583"
64
64
  };
65
65
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAkB,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAOnE,UAAU,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,mBAAmB;IAChE,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACrD,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;CACtC;AAmED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,EACtC,UAAU,EACV,GAAG,IAAI,EACR,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,eAMxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAkB,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAOnE,UAAU,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,mBAAmB;IAChE,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACrD,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;CACtC;AAgED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,EACtC,UAAU,EACV,GAAG,IAAI,EACR,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,eAMxD"}
@@ -4,7 +4,6 @@ import { __rest } from "tslib";
4
4
  import clsx from 'clsx';
5
5
  import styles from './styles.css.js';
6
6
  import React, { useRef } from 'react';
7
- import useFocusVisible from '../../internal/hooks/focus-visible';
8
7
  import { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';
9
8
  import Button from '../../button/internal';
10
9
  import { TableTdElement } from './td-element';
@@ -16,8 +15,9 @@ function TableCellEditable(_a) {
16
15
  var _b;
17
16
  var { className, item, column, isEditing, onEditStart, onEditEnd, submitEdit, ariaLabels, isVisualRefresh } = _a, rest = __rest(_a, ["className", "item", "column", "isEditing", "onEditStart", "onEditEnd", "submitEdit", "ariaLabels", "isVisualRefresh"]);
18
17
  const editActivateRef = useRef(null);
19
- const focusVisible = useFocusVisible();
20
- const tdNativeAttributes = Object.assign(Object.assign({}, focusVisible), { 'data-inline-editing-active': isEditing.toString() });
18
+ const tdNativeAttributes = {
19
+ 'data-inline-editing-active': isEditing.toString(),
20
+ };
21
21
  useEffectOnUpdate(() => {
22
22
  if (!isEditing && editActivateRef.current) {
23
23
  editActivateRef.current.focus();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,eAAe,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;AAClF,CAAC,CAAC;AAYF,SAAS,iBAAiB,CAAW,EAWN;;QAXM,EACnC,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EACV,eAAe,OAEc,EAD1B,IAAI,cAV4B,uHAWpC,CADQ;IAEP,MAAM,eAAe,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;IACtD,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IAEvC,MAAM,kBAAkB,mCAClB,YAAuC,KAC3C,4BAA4B,EAAE,SAAS,CAAC,QAAQ,EAAE,GACnD,CAAC;IAEF,iBAAiB,CAAC,GAAG,EAAE;QACrB,IAAI,CAAC,SAAS,IAAI,eAAe,CAAC,OAAO,EAAE;YACzC,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;SACjC;IACH,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,CACL,oBAAC,cAAc,oBACT,IAAI,IACR,gBAAgB,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E,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport React, { useRef } from 'react';\nimport useFocusVisible from '../../internal/hooks/focus-visible';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';\nimport Button from '../../button/internal';\nimport { ButtonProps } from '../../button/interfaces';\nimport { TableProps } from '../interfaces';\nimport { TableTdElement, TableTdElementProps } from './td-element';\nimport { InlineEditor } from './inline-editor';\n\nconst submitHandlerFallback = () => {\n throw new Error('The function `handleSubmit` is required for editable columns');\n};\n\ninterface TableBodyCellProps<ItemType> extends TableTdElementProps {\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n isEditing: boolean;\n onEditStart: () => void;\n onEditEnd: () => void;\n submitEdit?: TableProps.SubmitEditFunction<ItemType>;\n ariaLabels: TableProps['ariaLabels'];\n}\n\nfunction TableCellEditable<ItemType>({\n className,\n item,\n column,\n isEditing,\n onEditStart,\n onEditEnd,\n submitEdit,\n ariaLabels,\n isVisualRefresh,\n ...rest\n}: TableBodyCellProps<ItemType>) {\n const editActivateRef = useRef<ButtonProps.Ref>(null);\n const focusVisible = useFocusVisible();\n\n const tdNativeAttributes = {\n ...(focusVisible as Record<string, string>),\n 'data-inline-editing-active': isEditing.toString(),\n };\n\n useEffectOnUpdate(() => {\n if (!isEditing && editActivateRef.current) {\n editActivateRef.current.focus();\n }\n }, [isEditing]);\n\n return (\n <TableTdElement\n {...rest}\n nativeAttributes={tdNativeAttributes as TableTdElementProps['nativeAttributes']}\n className={clsx(\n className,\n styles['body-cell-editable'],\n isEditing && styles['body-cell-edit-active'],\n isVisualRefresh && styles['is-visual-refresh']\n )}\n onClick={!isEditing ? onEditStart : undefined}\n >\n {isEditing ? (\n <InlineEditor\n ariaLabels={ariaLabels}\n column={column}\n item={item}\n onEditEnd={onEditEnd}\n submitEdit={submitEdit ?? submitHandlerFallback}\n />\n ) : (\n <>\n {column.cell(item)}\n <span className={styles['body-cell-editor']}>\n <Button\n __hideFocusOutline={true}\n __internalRootRef={editActivateRef}\n ariaLabel={ariaLabels?.activateEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"edit\"\n variant=\"inline-icon\"\n />\n </span>\n </>\n )}\n </TableTdElement>\n );\n}\n\nexport function TableBodyCell<ItemType>({\n isEditable,\n ...rest\n}: TableBodyCellProps<ItemType> & { isEditable: boolean }) {\n if (isEditable || rest.isEditing) {\n return <TableCellEditable {...rest} />;\n }\n const { column, item } = rest;\n return <TableTdElement {...rest}>{column.cell(item)}</TableTdElement>;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;AAClF,CAAC,CAAC;AAYF,SAAS,iBAAiB,CAAW,EAWN;;QAXM,EACnC,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EACV,eAAe,OAEc,EAD1B,IAAI,cAV4B,uHAWpC,CADQ;IAEP,MAAM,eAAe,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;IACtD,MAAM,kBAAkB,GAAG;QACzB,4BAA4B,EAAE,SAAS,CAA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,CADQ;IAEP,IAAI,UAAU,IAAI,IAAI,CAAC,SAAS,EAAE;QAChC,OAAO,oBAAC,iBAAiB,oBAAK,IAAI,EAAI,CAAC;KACxC;IACD,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC9B,OAAO,oBAAC,cAAc,oBAAK,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAkB,CAAC;AACxE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport React, { useRef } from 'react';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';\nimport Button from '../../button/internal';\nimport { ButtonProps } from '../../button/interfaces';\nimport { TableProps } from '../interfaces';\nimport { TableTdElement, TableTdElementProps } from './td-element';\nimport { InlineEditor } from './inline-editor';\n\nconst submitHandlerFallback = () => {\n throw new Error('The function `handleSubmit` is required for editable columns');\n};\n\ninterface TableBodyCellProps<ItemType> extends TableTdElementProps {\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n isEditing: boolean;\n onEditStart: () => void;\n onEditEnd: () => void;\n submitEdit?: TableProps.SubmitEditFunction<ItemType>;\n ariaLabels: TableProps['ariaLabels'];\n}\n\nfunction TableCellEditable<ItemType>({\n className,\n item,\n column,\n isEditing,\n onEditStart,\n onEditEnd,\n submitEdit,\n ariaLabels,\n isVisualRefresh,\n ...rest\n}: TableBodyCellProps<ItemType>) {\n const editActivateRef = useRef<ButtonProps.Ref>(null);\n const tdNativeAttributes = {\n 'data-inline-editing-active': isEditing.toString(),\n };\n\n useEffectOnUpdate(() => {\n if (!isEditing && editActivateRef.current) {\n editActivateRef.current.focus();\n }\n }, [isEditing]);\n\n return (\n <TableTdElement\n {...rest}\n nativeAttributes={tdNativeAttributes as TableTdElementProps['nativeAttributes']}\n className={clsx(\n className,\n styles['body-cell-editable'],\n isEditing && styles['body-cell-edit-active'],\n isVisualRefresh && styles['is-visual-refresh']\n )}\n onClick={!isEditing ? onEditStart : undefined}\n >\n {isEditing ? (\n <InlineEditor\n ariaLabels={ariaLabels}\n column={column}\n item={item}\n onEditEnd={onEditEnd}\n submitEdit={submitEdit ?? submitHandlerFallback}\n />\n ) : (\n <>\n {column.cell(item)}\n <span className={styles['body-cell-editor']}>\n <Button\n __hideFocusOutline={true}\n __internalRootRef={editActivateRef}\n ariaLabel={ariaLabels?.activateEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"edit\"\n variant=\"inline-icon\"\n />\n </span>\n </>\n )}\n </TableTdElement>\n );\n}\n\nexport function TableBodyCell<ItemType>({\n isEditable,\n ...rest\n}: TableBodyCellProps<ItemType> & { isEditable: boolean }) {\n if (isEditable || rest.isEditing) {\n return <TableCellEditable {...rest} />;\n }\n const { column, item } = rest;\n return <TableTdElement {...rest}>{column.cell(item)}</TableTdElement>;\n}\n"]}
@@ -1,23 +1,23 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "body-cell": "awsui_body-cell_c6tup_12rnz_93",
5
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_12rnz_102",
6
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_12rnz_114",
7
- "has-striped-rows": "awsui_has-striped-rows_c6tup_12rnz_126",
8
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_12rnz_129",
9
- "body-cell-editable": "awsui_body-cell-editable_c6tup_12rnz_129",
10
- "has-selection": "awsui_has-selection_c6tup_12rnz_135",
11
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_12rnz_141",
12
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_12rnz_144",
13
- "body-cell-selected": "awsui_body-cell-selected_c6tup_12rnz_144",
14
- "has-footer": "awsui_has-footer_c6tup_12rnz_144",
15
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_12rnz_154",
16
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_12rnz_176",
17
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_12rnz_180",
18
- "body-cell-editor": "awsui_body-cell-editor_c6tup_12rnz_204",
19
- "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_12rnz_214",
20
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_12rnz_223",
21
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_12rnz_233"
4
+ "body-cell": "awsui_body-cell_c6tup_m07vi_93",
5
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_m07vi_102",
6
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_m07vi_114",
7
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_m07vi_126",
8
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_m07vi_129",
9
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_m07vi_129",
10
+ "has-selection": "awsui_has-selection_c6tup_m07vi_135",
11
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_m07vi_141",
12
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_m07vi_144",
13
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_m07vi_144",
14
+ "has-footer": "awsui_has-footer_c6tup_m07vi_144",
15
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_m07vi_154",
16
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_m07vi_176",
17
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_m07vi_180",
18
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_m07vi_204",
19
+ "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_m07vi_214",
20
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_m07vi_223",
21
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_m07vi_233"
22
22
  };
23
23
 
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_body-cell_c6tup_12rnz_93:not(#\9) {
93
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9) {
94
94
  box-sizing: border-box;
95
95
  padding: var(--space-scaled-xs-6859qs, 8px) var(--space-scaled-l-t03y3z, 20px) calc(
96
96
  var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-yvnixs, 1px) - var(--border-divider-list-width-hacikr, 1px))
@@ -99,19 +99,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
99
99
  word-wrap: break-word;
100
100
  border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
101
101
  }
102
- .awsui_body-cell_c6tup_12rnz_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_12rnz_102) {
102
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_m07vi_102) {
103
103
  white-space: nowrap;
104
104
  overflow: hidden;
105
105
  text-overflow: ellipsis;
106
106
  }
107
- .awsui_body-cell_c6tup_12rnz_93:not(#\9):first-child {
107
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9):first-child {
108
108
  border-left: var(--border-item-width-yvnixs, 1px) solid transparent;
109
109
  }
110
- .awsui_body-cell_c6tup_12rnz_93:not(#\9):last-child {
110
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9):last-child {
111
111
  border-right: var(--border-item-width-yvnixs, 1px) solid transparent;
112
112
  padding-right: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-yvnixs, 1px));
113
113
  }
114
- .awsui_body-cell_c6tup_12rnz_93.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):first-child {
114
+ .awsui_body-cell_c6tup_m07vi_93.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):first-child {
115
115
  /*
116
116
  Striped rows requires additional left padding because the
117
117
  shaded background makes the child content appear too close
@@ -123,85 +123,85 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
123
123
  that the placeholder border would consume.
124
124
  */
125
125
  }
126
- .awsui_body-cell_c6tup_12rnz_93.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_12rnz_126) {
126
+ .awsui_body-cell_c6tup_m07vi_93.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_m07vi_126) {
127
127
  padding-left: var(--space-xxxs-k2w98v, 2px);
128
128
  }
129
- .awsui_body-cell_c6tup_12rnz_93.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_12rnz_126):not(.awsui_body-cell-edit-active_c6tup_12rnz_129).awsui_body-cell-editable_c6tup_12rnz_129:hover {
129
+ .awsui_body-cell_c6tup_m07vi_93.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_m07vi_126):not(.awsui_body-cell-edit-active_c6tup_m07vi_129).awsui_body-cell-editable_c6tup_m07vi_129:hover {
130
130
  padding-left: calc(var(--space-xxxs-k2w98v, 2px) + var(--border-divider-list-width-hacikr, 1px));
131
131
  }
132
- .awsui_body-cell_c6tup_12rnz_93.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_12rnz_126 {
132
+ .awsui_body-cell_c6tup_m07vi_93.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_m07vi_126 {
133
133
  padding-left: var(--space-xxs-ynfts5, 4px);
134
134
  }
135
- .awsui_body-cell_c6tup_12rnz_93.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_12rnz_135):not(.awsui_body-cell-editable_c6tup_12rnz_129) {
135
+ .awsui_body-cell_c6tup_m07vi_93.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_m07vi_135):not(.awsui_body-cell-editable_c6tup_m07vi_129) {
136
136
  border-left: none;
137
137
  }
138
- .awsui_body-cell_c6tup_12rnz_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_12rnz_114) {
138
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_m07vi_114) {
139
139
  padding-left: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-yvnixs, 1px));
140
140
  }
141
- .awsui_body-cell-first-row_c6tup_12rnz_141:not(#\9) {
141
+ .awsui_body-cell-first-row_c6tup_m07vi_141:not(#\9) {
142
142
  border-top: var(--border-item-width-yvnixs, 1px) solid transparent;
143
143
  }
144
- .awsui_body-cell-last-row_c6tup_12rnz_144:not(#\9):not(.awsui_body-cell-selected_c6tup_12rnz_144):not(.awsui_has-footer_c6tup_12rnz_144) {
144
+ .awsui_body-cell-last-row_c6tup_m07vi_144:not(#\9):not(.awsui_body-cell-selected_c6tup_m07vi_144):not(.awsui_has-footer_c6tup_m07vi_144) {
145
145
  border-bottom: var(--border-item-width-yvnixs, 1px) solid transparent;
146
146
  }
147
- .awsui_body-cell-last-row_c6tup_12rnz_144:not(#\9):not(.awsui_body-cell-selected_c6tup_12rnz_144).awsui_has-footer_c6tup_12rnz_144 {
147
+ .awsui_body-cell-last-row_c6tup_m07vi_144:not(#\9):not(.awsui_body-cell-selected_c6tup_m07vi_144).awsui_has-footer_c6tup_m07vi_144 {
148
148
  /*
149
149
  Add a bottom border to the body cells of the last row as a separator between the
150
150
  table and the footer
151
151
  */
152
152
  border-bottom: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
153
153
  }
154
- .awsui_body-cell-shaded_c6tup_12rnz_154:not(#\9) {
154
+ .awsui_body-cell-shaded_c6tup_m07vi_154:not(#\9) {
155
155
  background: var(--color-background-cell-shaded-y6pwcp, #f2f3f3);
156
156
  }
157
- .awsui_body-cell-selected_c6tup_12rnz_144:not(#\9) {
157
+ .awsui_body-cell-selected_c6tup_m07vi_144:not(#\9) {
158
158
  background-color: var(--color-background-item-selected-fva7ca, #f1faff);
159
159
  border-top: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
160
160
  border-bottom: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
161
161
  padding-bottom: var(--space-scaled-xs-6859qs, 8px);
162
162
  }
163
- .awsui_body-cell-selected_c6tup_12rnz_144:not(#\9):first-child {
163
+ .awsui_body-cell-selected_c6tup_m07vi_144:not(#\9):first-child {
164
164
  border-left: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
165
165
  border-radius: var(--border-radius-item-wjpc1f, 0px) 0 0 var(--border-radius-item-wjpc1f, 0px);
166
166
  }
167
- .awsui_body-cell-selected_c6tup_12rnz_144:not(#\9):last-child {
167
+ .awsui_body-cell-selected_c6tup_m07vi_144:not(#\9):last-child {
168
168
  border-right: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
169
169
  border-radius: 0 var(--border-radius-item-wjpc1f, 0px) var(--border-radius-item-wjpc1f, 0px) 0;
170
170
  }
171
- .awsui_body-cell-selected_c6tup_12rnz_144:not(#\9):not(:first-child) {
171
+ .awsui_body-cell-selected_c6tup_m07vi_144:not(#\9):not(:first-child) {
172
172
  padding-top: calc(
173
173
  var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-yvnixs, 1px) - var(--border-divider-list-width-hacikr, 1px))
174
174
  );
175
175
  }
176
- .awsui_body-cell_c6tup_12rnz_93:not(#\9):not(.awsui_body-cell-selected_c6tup_12rnz_144).awsui_body-cell-next-selected_c6tup_12rnz_176 {
176
+ .awsui_body-cell_c6tup_m07vi_93:not(#\9):not(.awsui_body-cell-selected_c6tup_m07vi_144).awsui_body-cell-next-selected_c6tup_m07vi_176 {
177
177
  border-bottom: 0;
178
178
  padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) + var(--border-divider-list-width-hacikr, 1px));
179
179
  }
180
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-prev-selected_c6tup_12rnz_180:not(#\9) {
180
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-prev-selected_c6tup_m07vi_180:not(#\9) {
181
181
  padding-top: calc(
182
182
  var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-yvnixs, 1px) - var(--border-divider-list-width-hacikr, 1px))
183
183
  );
184
184
  border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-item-placeholder-wtgwev, transparent);
185
185
  }
186
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-next-selected_c6tup_12rnz_176:not(#\9) {
186
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-next-selected_c6tup_m07vi_176:not(#\9) {
187
187
  border-bottom-width: var(--border-divider-list-width-hacikr, 1px);
188
188
  }
189
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-next-selected_c6tup_12rnz_176:not(#\9):first-child {
189
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-next-selected_c6tup_m07vi_176:not(#\9):first-child {
190
190
  border-bottom-left-radius: 0;
191
191
  }
192
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-next-selected_c6tup_12rnz_176:not(#\9):last-child {
192
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-next-selected_c6tup_m07vi_176:not(#\9):last-child {
193
193
  border-bottom-right-radius: 0;
194
194
  }
195
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-prev-selected_c6tup_12rnz_180:not(#\9):first-child {
195
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-prev-selected_c6tup_m07vi_180:not(#\9):first-child {
196
196
  border-top-left-radius: 0;
197
197
  }
198
- .awsui_body-cell-selected_c6tup_12rnz_144.awsui_body-cell-prev-selected_c6tup_12rnz_180:not(#\9):last-child {
198
+ .awsui_body-cell-selected_c6tup_m07vi_144.awsui_body-cell-prev-selected_c6tup_m07vi_180:not(#\9):last-child {
199
199
  border-top-right-radius: 0;
200
200
  }
201
- .awsui_body-cell-selected_c6tup_12rnz_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_12rnz_180) {
201
+ .awsui_body-cell-selected_c6tup_m07vi_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_m07vi_180) {
202
202
  padding-top: var(--space-scaled-xs-6859qs, 8px);
203
203
  }
204
- .awsui_body-cell-editor_c6tup_12rnz_204:not(#\9) {
204
+ .awsui_body-cell-editor_c6tup_m07vi_204:not(#\9) {
205
205
  top: 0;
206
206
  right: 0;
207
207
  bottom: 0;
@@ -211,77 +211,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
211
211
  justify-content: flex-end;
212
212
  padding-right: var(--space-xs-rsr2qu, 8px);
213
213
  }
214
- .awsui_body-cell-editor-form_c6tup_12rnz_214:not(#\9) {
214
+ .awsui_body-cell-editor-form_c6tup_m07vi_214:not(#\9) {
215
215
  margin: calc(-1 * var(--space-xs-rsr2qu, 8px)) calc(-1.5 * var(--space-xs-rsr2qu, 8px));
216
216
  }
217
- .awsui_is-visual-refresh_c6tup_12rnz_114.awsui_body-cell_c6tup_12rnz_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_12rnz_126 > .awsui_body-cell-editor-form_c6tup_12rnz_214 {
217
+ .awsui_is-visual-refresh_c6tup_m07vi_114.awsui_body-cell_c6tup_m07vi_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_m07vi_126 > .awsui_body-cell-editor-form_c6tup_m07vi_214 {
218
218
  margin-left: calc(-1 * var(--space-xxs-ynfts5, 4px));
219
219
  }
220
- .awsui_is-visual-refresh_c6tup_12rnz_114.awsui_body-cell_c6tup_12rnz_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_12rnz_126) > .awsui_body-cell-editor-form_c6tup_12rnz_214 {
220
+ .awsui_is-visual-refresh_c6tup_m07vi_114.awsui_body-cell_c6tup_m07vi_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_m07vi_126) > .awsui_body-cell-editor-form_c6tup_m07vi_214 {
221
221
  margin-left: calc(-1 * var(--space-xxxs-k2w98v, 2px));
222
222
  }
223
- .awsui_body-cell-editor-row_c6tup_12rnz_223:not(#\9) {
223
+ .awsui_body-cell-editor-row_c6tup_m07vi_223:not(#\9) {
224
224
  display: flex;
225
225
  flex-flow: row nowrap;
226
226
  align-items: center;
227
227
  justify-content: space-between;
228
228
  column-gap: var(--space-xxs-ynfts5, 4px);
229
229
  }
230
- .awsui_body-cell-editor-row_c6tup_12rnz_223 > :not(#\9):not(:last-child) {
230
+ .awsui_body-cell-editor-row_c6tup_m07vi_223 > :not(#\9):not(:last-child) {
231
231
  flex-grow: 1;
232
232
  }
233
- .awsui_body-cell-editor-controls_c6tup_12rnz_233:not(#\9) {
233
+ .awsui_body-cell-editor-controls_c6tup_m07vi_233:not(#\9) {
234
234
  flex-shrink: 0;
235
235
  }
236
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9) {
236
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9) {
237
237
  position: relative;
238
238
  cursor: pointer;
239
239
  }
240
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129.awsui_body-cell-edit-active_c6tup_12rnz_129:not(#\9) {
240
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129.awsui_body-cell-edit-active_c6tup_m07vi_129:not(#\9) {
241
241
  overflow: visible;
242
242
  }
243
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129) > .awsui_body-cell-editor_c6tup_12rnz_204 {
243
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129) > .awsui_body-cell-editor_c6tup_m07vi_204 {
244
244
  opacity: 0;
245
245
  }
246
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover {
246
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover {
247
247
  position: relative;
248
248
  background-color: var(--color-background-dropdown-item-hover-hgdj8r, #f2f3f3);
249
249
  border: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-control-default-bwkbmv, #879596);
250
250
  left: calc(-1 * var(--border-divider-list-width-hacikr, 1px));
251
251
  right: calc(-1 * var(--border-divider-list-width-hacikr, 1px));
252
+ padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
253
+ }
254
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover > .awsui_body-cell-editor_c6tup_m07vi_204 {
255
+ opacity: 1;
256
+ }
257
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover:first-child {
258
+ left: 0;
259
+ right: 0;
252
260
  }
253
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover > .awsui_body-cell-editor_c6tup_12rnz_204 {
261
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover > .awsui_body-cell-editor_c6tup_m07vi_204 {
254
262
  padding-right: calc(var(--space-xs-rsr2qu, 8px) - (2 * var(--border-divider-list-width-hacikr, 1px)));
255
263
  }
256
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover.awsui_body-cell-last-row_c6tup_12rnz_144.awsui_body-cell-selected_c6tup_12rnz_144, .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover.awsui_body-cell-next-selected_c6tup_12rnz_176 {
264
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover.awsui_body-cell-last-row_c6tup_m07vi_144.awsui_body-cell-selected_c6tup_m07vi_144, .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover.awsui_body-cell-next-selected_c6tup_m07vi_176 {
257
265
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
258
266
  padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
259
267
  }
260
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover.awsui_body-cell-last-row_c6tup_12rnz_144:not(.awsui_body-cell-selected_c6tup_12rnz_144) {
268
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover.awsui_body-cell-last-row_c6tup_m07vi_144:not(.awsui_body-cell-selected_c6tup_m07vi_144) {
261
269
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
262
270
  }
263
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover.awsui_body-cell-first-row_c6tup_12rnz_141:not(.awsui_body-cell-selected_c6tup_12rnz_144) {
271
+ .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover.awsui_body-cell-first-row_c6tup_m07vi_141:not(.awsui_body-cell-selected_c6tup_m07vi_144) {
264
272
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
265
273
  padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
266
274
  }
267
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover, .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129)[data-awsui-focus-visible=true]:focus-within {
275
+ body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):focus-within {
268
276
  padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
277
+ position: relative;
269
278
  }
270
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover > .awsui_body-cell-editor_c6tup_12rnz_204, .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129)[data-awsui-focus-visible=true]:focus-within > .awsui_body-cell-editor_c6tup_12rnz_204 {
279
+ body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):focus-within > .awsui_body-cell-editor_c6tup_m07vi_204 {
271
280
  opacity: 1;
272
281
  }
273
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover:first-child {
274
- left: 0;
275
- right: 0;
276
- }
277
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129)[data-awsui-focus-visible=true]:focus-within {
278
- position: relative;
279
- }
280
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129)[data-awsui-focus-visible=true]:focus-within {
282
+ body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):focus-within {
281
283
  outline: 2px dotted transparent;
282
284
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)) - 1px);
283
285
  }
284
- .awsui_body-cell_c6tup_12rnz_93.awsui_body-cell-editable_c6tup_12rnz_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129)[data-awsui-focus-visible=true]:focus-within::before {
286
+ body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_m07vi_93.awsui_body-cell-editable_c6tup_m07vi_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):focus-within::before {
285
287
  content: " ";
286
288
  display: block;
287
289
  position: absolute;
@@ -292,14 +294,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
292
294
  border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
293
295
  box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
294
296
  }
295
- .awsui_body-cell-editable_c6tup_12rnz_129.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover:first-child {
297
+ .awsui_body-cell-editable_c6tup_m07vi_129.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover:first-child {
296
298
  border-top-left-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
297
299
  border-bottom-left-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
298
300
  }
299
- .awsui_body-cell-editable_c6tup_12rnz_129.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover:last-child {
301
+ .awsui_body-cell-editable_c6tup_m07vi_129.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover:last-child {
300
302
  border-top-right-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
301
303
  border-bottom-right-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
302
304
  }
303
- .awsui_body-cell-editable_c6tup_12rnz_129.awsui_is-visual-refresh_c6tup_12rnz_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_12rnz_129):hover.awsui_body-cell-first-row_c6tup_12rnz_141 > .awsui_body-cell-editor_c6tup_12rnz_204 {
305
+ .awsui_body-cell-editable_c6tup_m07vi_129.awsui_is-visual-refresh_c6tup_m07vi_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_m07vi_129):hover.awsui_body-cell-first-row_c6tup_m07vi_141 > .awsui_body-cell-editor_c6tup_m07vi_204 {
304
306
  padding-top: var(--border-divider-list-width-hacikr, 1px);
305
307
  }
@@ -2,23 +2,23 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "body-cell": "awsui_body-cell_c6tup_12rnz_93",
6
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_12rnz_102",
7
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_12rnz_114",
8
- "has-striped-rows": "awsui_has-striped-rows_c6tup_12rnz_126",
9
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_12rnz_129",
10
- "body-cell-editable": "awsui_body-cell-editable_c6tup_12rnz_129",
11
- "has-selection": "awsui_has-selection_c6tup_12rnz_135",
12
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_12rnz_141",
13
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_12rnz_144",
14
- "body-cell-selected": "awsui_body-cell-selected_c6tup_12rnz_144",
15
- "has-footer": "awsui_has-footer_c6tup_12rnz_144",
16
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_12rnz_154",
17
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_12rnz_176",
18
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_12rnz_180",
19
- "body-cell-editor": "awsui_body-cell-editor_c6tup_12rnz_204",
20
- "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_12rnz_214",
21
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_12rnz_223",
22
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_12rnz_233"
5
+ "body-cell": "awsui_body-cell_c6tup_m07vi_93",
6
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_m07vi_102",
7
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_m07vi_114",
8
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_m07vi_126",
9
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_m07vi_129",
10
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_m07vi_129",
11
+ "has-selection": "awsui_has-selection_c6tup_m07vi_135",
12
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_m07vi_141",
13
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_m07vi_144",
14
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_m07vi_144",
15
+ "has-footer": "awsui_has-footer_c6tup_m07vi_144",
16
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_m07vi_154",
17
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_m07vi_176",
18
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_m07vi_180",
19
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_m07vi_204",
20
+ "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_m07vi_214",
21
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_m07vi_223",
22
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_m07vi_233"
23
23
  };
24
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/header-cell/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,oBAAoB,CAAC,QAAQ;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACzD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,C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