@cloudscape-design/components-themeable 3.0.267 → 3.0.269

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 (88) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/table/body-cell/styles.scss +162 -0
  3. package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
  4. package/lib/internal/template/attribute-editor/row.js +3 -1
  5. package/lib/internal/template/attribute-editor/row.js.map +1 -1
  6. package/lib/internal/template/cards/styles.css.js +37 -37
  7. package/lib/internal/template/cards/styles.scoped.css +52 -52
  8. package/lib/internal/template/cards/styles.selectors.js +37 -37
  9. package/lib/internal/template/code-editor/index.d.ts.map +1 -1
  10. package/lib/internal/template/code-editor/index.js +1 -14
  11. package/lib/internal/template/code-editor/index.js.map +1 -1
  12. package/lib/internal/template/code-editor/pane.d.ts +1 -2
  13. package/lib/internal/template/code-editor/pane.d.ts.map +1 -1
  14. package/lib/internal/template/code-editor/pane.js +8 -3
  15. package/lib/internal/template/code-editor/pane.js.map +1 -1
  16. package/lib/internal/template/code-editor/status-bar.d.ts +3 -3
  17. package/lib/internal/template/code-editor/status-bar.d.ts.map +1 -1
  18. package/lib/internal/template/code-editor/status-bar.js +5 -3
  19. package/lib/internal/template/code-editor/status-bar.js.map +1 -1
  20. package/lib/internal/template/internal/base-component/styles.scoped.css +9 -7
  21. package/lib/internal/template/internal/components/button-trigger/styles.css.js +9 -9
  22. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +24 -24
  23. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +9 -9
  24. package/lib/internal/template/internal/components/filtering-token/styles.css.js +7 -7
  25. package/lib/internal/template/internal/components/filtering-token/styles.scoped.css +15 -15
  26. package/lib/internal/template/internal/components/filtering-token/styles.selectors.js +7 -7
  27. package/lib/internal/template/internal/environment.js +1 -1
  28. package/lib/internal/template/modal/internal.d.ts +1 -1
  29. package/lib/internal/template/modal/internal.d.ts.map +1 -1
  30. package/lib/internal/template/modal/internal.js +24 -15
  31. package/lib/internal/template/modal/internal.js.map +1 -1
  32. package/lib/internal/template/table/body-cell/index.d.ts +2 -1
  33. package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
  34. package/lib/internal/template/table/body-cell/index.js +9 -4
  35. package/lib/internal/template/table/body-cell/index.js.map +1 -1
  36. package/lib/internal/template/table/body-cell/inline-editor.d.ts +1 -1
  37. package/lib/internal/template/table/body-cell/inline-editor.d.ts.map +1 -1
  38. package/lib/internal/template/table/body-cell/inline-editor.js +5 -3
  39. package/lib/internal/template/table/body-cell/inline-editor.js.map +1 -1
  40. package/lib/internal/template/table/body-cell/styles.css.js +40 -18
  41. package/lib/internal/template/table/body-cell/styles.scoped.css +226 -56
  42. package/lib/internal/template/table/body-cell/styles.selectors.js +40 -18
  43. package/lib/internal/template/table/header-cell/index.js +1 -1
  44. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  45. package/lib/internal/template/table/interfaces.d.ts +6 -0
  46. package/lib/internal/template/table/interfaces.d.ts.map +1 -1
  47. package/lib/internal/template/table/interfaces.js.map +1 -1
  48. package/lib/internal/template/table/internal.d.ts.map +1 -1
  49. package/lib/internal/template/table/internal.js +20 -18
  50. package/lib/internal/template/table/internal.js.map +1 -1
  51. package/lib/internal/template/table/selection-control/index.d.ts +2 -8
  52. package/lib/internal/template/table/selection-control/index.d.ts.map +1 -1
  53. package/lib/internal/template/table/selection-control/index.js.map +1 -1
  54. package/lib/internal/template/table/table-wrapper.d.ts +13 -0
  55. package/lib/internal/template/table/table-wrapper.d.ts.map +1 -0
  56. package/lib/internal/template/table/table-wrapper.js +15 -0
  57. package/lib/internal/template/table/table-wrapper.js.map +1 -0
  58. package/lib/internal/template/table/thead.d.ts +2 -2
  59. package/lib/internal/template/table/thead.d.ts.map +1 -1
  60. package/lib/internal/template/table/thead.js +3 -3
  61. package/lib/internal/template/table/thead.js.map +1 -1
  62. package/lib/internal/template/table/use-column-widths.js +1 -1
  63. package/lib/internal/template/table/use-column-widths.js.map +1 -1
  64. package/lib/internal/template/table/use-selection.d.ts +12 -18
  65. package/lib/internal/template/table/use-selection.d.ts.map +1 -1
  66. package/lib/internal/template/table/use-selection.js +20 -12
  67. package/lib/internal/template/table/use-selection.js.map +1 -1
  68. package/lib/internal/template/table/use-table-focus-navigation.d.ts.map +1 -1
  69. package/lib/internal/template/table/use-table-focus-navigation.js +9 -34
  70. package/lib/internal/template/table/use-table-focus-navigation.js.map +1 -1
  71. package/lib/internal/template/test-utils/dom/table/index.d.ts +3 -0
  72. package/lib/internal/template/test-utils/dom/table/index.js +16 -15
  73. package/lib/internal/template/test-utils/dom/table/index.js.map +1 -1
  74. package/lib/internal/template/test-utils/selectors/table/index.d.ts +3 -0
  75. package/lib/internal/template/test-utils/selectors/table/index.js +16 -15
  76. package/lib/internal/template/test-utils/selectors/table/index.js.map +1 -1
  77. package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
  78. package/lib/internal/template/tiles/styles.css.js +28 -28
  79. package/lib/internal/template/tiles/styles.scoped.css +69 -69
  80. package/lib/internal/template/tiles/styles.selectors.js +28 -28
  81. package/lib/internal/template/token-group/styles.css.js +7 -7
  82. package/lib/internal/template/token-group/styles.scoped.css +17 -17
  83. package/lib/internal/template/token-group/styles.selectors.js +7 -7
  84. package/package.json +1 -1
  85. package/lib/internal/scss/table/header-cell/styles.scss +0 -160
  86. package/lib/internal/template/table/header-cell/styles.css.js +0 -24
  87. package/lib/internal/template/table/header-cell/styles.scoped.css +0 -252
  88. package/lib/internal/template/table/header-cell/styles.selectors.js +0 -25
@@ -1 +1 @@
1
- {"version":3,"file":"inline-editor.js","sourceRoot":"lib/default/","sources":["table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,MAAM,MAAM,uBAA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WAAW,EAAE,EAAE,kBAAkB,EAAE,EACnC,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE,gBAAgB,CAAC;oBAE7C,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;wBAC3C,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC;wBAC/B,8BAAM,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;4BAClD,oBAAC,YAAY,IAAC,SAAS,EAAC,YAAY,EAAC,IAAI,EAAC,KAAK;gCAC5C,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrB,oBAAC,MAAM,IACL,SAAS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,eAAe,2DAAG,MAAM,CAAC,EAChD,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC,CAAC,CAAC,IAAI;gCACR,oBAAC,MAAM,IACL,SAAS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,eAAe,2DAAG,MAAM,CAAC,EAChD,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC3B,CACW,CACV,CACH,CACI,CACP,CACH,CACI,CACb,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport Button from '../../button/internal';\nimport FormField from '../../form-field/internal';\nimport SpaceBetween from '../../space-between/internal';\nimport { useClickAway } from './click-away';\nimport { TableProps } from '../interfaces';\nimport styles from './styles.css.js';\nimport { Optional } from '../../internal/types';\nimport FocusLock, { FocusLockRef } from '../../internal/components/focus-lock';\n\n// A function that does nothing\nconst noop = () => undefined;\n\ninterface InlineEditorProps<ItemType> {\n ariaLabels: TableProps['ariaLabels'];\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n onEditEnd: () => void;\n submitEdit: TableProps.SubmitEditFunction<ItemType>;\n __onRender?: () => void;\n}\n\nexport function InlineEditor<ItemType>({\n ariaLabels,\n item,\n column,\n onEditEnd,\n submitEdit,\n __onRender,\n}: InlineEditorProps<ItemType>) {\n const [currentEditLoading, setCurrentEditLoading] = useState(false);\n const [currentEditValue, setCurrentEditValue] = useState<Optional<any>>();\n\n const focusLockRef = useRef<FocusLockRef>(null);\n\n const cellContext = {\n currentValue: currentEditValue,\n setValue: setCurrentEditValue,\n };\n\n function finishEdit(cancel = false) {\n if (!cancel) {\n setCurrentEditValue(undefined);\n }\n onEditEnd();\n }\n\n async function onSubmitClick(evt: React.FormEvent) {\n evt.preventDefault();\n if (currentEditValue === undefined) {\n finishEdit();\n return;\n }\n\n setCurrentEditLoading(true);\n try {\n await submitEdit(item, column, currentEditValue);\n setCurrentEditLoading(false);\n finishEdit();\n } catch (e) {\n setCurrentEditLoading(false);\n focusLockRef.current?.focusFirst();\n }\n }\n\n function onCancel() {\n if (currentEditLoading) {\n return;\n }\n finishEdit(true);\n }\n\n function handleEscape(event: React.KeyboardEvent): void {\n if (event.key === 'Escape') {\n onCancel();\n }\n }\n\n const clickAwayRef = useClickAway(onCancel);\n\n useEffect(() => {\n if (__onRender) {\n const timer = setTimeout(__onRender, 1);\n return () => clearTimeout(timer);\n }\n }, [__onRender]);\n\n // asserting non-undefined editConfig here because this component is unreachable otherwise\n const {\n ariaLabel = undefined,\n validation = noop,\n errorIconAriaLabel,\n constraintText,\n editingCell,\n } = column.editConfig!;\n\n return (\n <FocusLock restoreFocus={true} ref={focusLockRef}>\n <div\n role=\"dialog\"\n ref={clickAwayRef}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n onKeyDown={handleEscape}\n >\n <form onSubmit={onSubmitClick} className={styles['body-cell-editor-form']}>\n <FormField\n stretch={true}\n label={ariaLabel}\n constraintText={constraintText}\n __hideLabel={true}\n __disableGutters={true}\n i18nStrings={{ errorIconAriaLabel }}\n errorText={validation(item, currentEditValue)}\n >\n <div className={styles['body-cell-editor-row']}>\n {editingCell(item, cellContext)}\n <span className={styles['body-cell-editor-controls']}>\n <SpaceBetween direction=\"horizontal\" size=\"xxs\">\n {!currentEditLoading ? (\n <Button\n ariaLabel={ariaLabels?.cancelEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"close\"\n variant=\"inline-icon\"\n onClick={onCancel}\n />\n ) : null}\n <Button\n ariaLabel={ariaLabels?.submitEditLabel?.(column)}\n formAction=\"submit\"\n iconName=\"check\"\n variant=\"inline-icon\"\n loading={currentEditLoading}\n />\n </SpaceBetween>\n </span>\n </div>\n </FormField>\n </form>\n </div>\n </FocusLock>\n );\n}\n"]}
1
+ {"version":3,"file":"inline-editor.js","sourceRoot":"lib/default/","sources":["table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,SAA2B,MAAM,sCAAsC,CAAC;AAC/E,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAE/D,+BAA+B;AAC/B,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;AAW7B,MAAM,UAAU,YAAY,CAAW,EACrC,UAAU,EACV,IAAI,EACJ,MAAM,EACN,SAAS,EACT,UAAU,EACV,UAAU,GACkB;;IAC5B,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpE,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AC,MAAM,EACjB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC,CAAC,CAAC,IAAI;gCACR,oBAAC,MAAM,IACL,SAAS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,eAAe,2DAAG,MAAM,CAAC,EAChD,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAC,OAAO,EAChB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC3B,CACW;4BACf,oBAAC,UAAU,QAAE,kBAAkB,CAAC,CAAC,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,kBAAkB,2DAAG,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAc,CACxF,CACH,CACI,CACP,CACH,CACI,CACb,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport Button from '../../button/internal';\nimport FormField from '../../form-field/internal';\nimport SpaceBetween from '../../space-between/internal';\nimport { useClickAway } from './click-away';\nimport { TableProps } from '../interfaces';\nimport styles from './styles.css.js';\nimport { Optional } from '../../internal/types';\nimport FocusLock, { FocusLockRef } from '../../internal/components/focus-lock';\nimport LiveRegion from '../../internal/components/live-region';\n\n// A function that does nothing\nconst noop = () => undefined;\n\ninterface InlineEditorProps<ItemType> {\n ariaLabels: TableProps['ariaLabels'];\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n onEditEnd: (cancelled: boolean) => void;\n submitEdit: TableProps.SubmitEditFunction<ItemType>;\n __onRender?: () => void;\n}\n\nexport function InlineEditor<ItemType>({\n ariaLabels,\n item,\n column,\n onEditEnd,\n submitEdit,\n __onRender,\n}: InlineEditorProps<ItemType>) {\n const [currentEditLoading, setCurrentEditLoading] = useState(false);\n const [currentEditValue, setCurrentEditValue] = useState<Optional<any>>();\n\n const focusLockRef = useRef<FocusLockRef>(null);\n\n const cellContext = {\n currentValue: currentEditValue,\n setValue: setCurrentEditValue,\n };\n\n function finishEdit(cancel = false) {\n if (!cancel) {\n setCurrentEditValue(undefined);\n }\n onEditEnd(cancel);\n }\n\n async function onSubmitClick(evt: React.FormEvent) {\n evt.preventDefault();\n if (currentEditValue === undefined) {\n finishEdit();\n return;\n }\n\n setCurrentEditLoading(true);\n try {\n await submitEdit(item, column, currentEditValue);\n setCurrentEditLoading(false);\n finishEdit();\n } catch (e) {\n setCurrentEditLoading(false);\n focusLockRef.current?.focusFirst();\n }\n }\n\n function onCancel() {\n if (currentEditLoading) {\n return;\n }\n finishEdit(true);\n }\n\n function handleEscape(event: React.KeyboardEvent): void {\n if (event.key === 'Escape') {\n onCancel();\n }\n }\n\n const clickAwayRef = useClickAway(onCancel);\n\n useEffect(() => {\n if (__onRender) {\n const timer = setTimeout(__onRender, 1);\n return () => clearTimeout(timer);\n }\n }, [__onRender]);\n\n // asserting non-undefined editConfig here because this component is unreachable otherwise\n const {\n ariaLabel = undefined,\n validation = noop,\n errorIconAriaLabel,\n constraintText,\n editingCell,\n } = column.editConfig!;\n\n return (\n <FocusLock restoreFocus={true} ref={focusLockRef}>\n <div\n role=\"dialog\"\n ref={clickAwayRef}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n onKeyDown={handleEscape}\n >\n <form onSubmit={onSubmitClick} className={styles['body-cell-editor-form']}>\n <FormField\n stretch={true}\n label={ariaLabel}\n constraintText={constraintText}\n __hideLabel={true}\n __disableGutters={true}\n i18nStrings={{ errorIconAriaLabel }}\n errorText={validation(item, currentEditValue)}\n >\n <div className={styles['body-cell-editor-row']}>\n {editingCell(item, cellContext)}\n <span className={styles['body-cell-editor-controls']}>\n <SpaceBetween direction=\"horizontal\" size=\"xxs\">\n {!currentEditLoading ? (\n <Button\n ariaLabel={ariaLabels?.cancelEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"close\"\n variant=\"inline-icon\"\n onClick={onCancel}\n />\n ) : null}\n <Button\n ariaLabel={ariaLabels?.submitEditLabel?.(column)}\n formAction=\"submit\"\n iconName=\"check\"\n variant=\"inline-icon\"\n loading={currentEditLoading}\n />\n </SpaceBetween>\n <LiveRegion>{currentEditLoading ? ariaLabels?.submittingEditText?.(column) : ''}</LiveRegion>\n </span>\n </div>\n </FormField>\n </form>\n </div>\n </FocusLock>\n );\n}\n"]}
@@ -1,23 +1,45 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "body-cell": "awsui_body-cell_c6tup_11ntk_93",
5
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_11ntk_102",
6
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_11ntk_114",
7
- "has-striped-rows": "awsui_has-striped-rows_c6tup_11ntk_126",
8
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_11ntk_129",
9
- "body-cell-editable": "awsui_body-cell-editable_c6tup_11ntk_129",
10
- "has-selection": "awsui_has-selection_c6tup_11ntk_135",
11
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_11ntk_141",
12
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_11ntk_144",
13
- "body-cell-selected": "awsui_body-cell-selected_c6tup_11ntk_144",
14
- "has-footer": "awsui_has-footer_c6tup_11ntk_144",
15
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_11ntk_154",
16
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_11ntk_176",
17
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_11ntk_180",
18
- "body-cell-editor": "awsui_body-cell-editor_c6tup_11ntk_204",
19
- "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_11ntk_226",
20
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_11ntk_235",
21
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_11ntk_245"
4
+ "body-cell": "awsui_body-cell_c6tup_1dwqx_93",
5
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_1dwqx_102",
6
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_1dwqx_114",
7
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_1dwqx_126",
8
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1dwqx_129",
9
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_1dwqx_129",
10
+ "has-selection": "awsui_has-selection_c6tup_1dwqx_135",
11
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_1dwqx_141",
12
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_1dwqx_144",
13
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_1dwqx_144",
14
+ "has-footer": "awsui_has-footer_c6tup_1dwqx_144",
15
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_1dwqx_154",
16
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1dwqx_176",
17
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1dwqx_180",
18
+ "body-cell-success": "awsui_body-cell-success_c6tup_1dwqx_204",
19
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_1dwqx_204",
20
+ "body-cell-success-form": "awsui_body-cell-success-form_c6tup_1dwqx_226",
21
+ "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_1dwqx_226",
22
+ "body-cell-success-row": "awsui_body-cell-success-row_c6tup_1dwqx_235",
23
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1dwqx_235",
24
+ "body-cell-success-controls": "awsui_body-cell-success-controls_c6tup_1dwqx_245",
25
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1dwqx_245",
26
+ "body-cell-has-success": "awsui_body-cell-has-success_c6tup_1dwqx_258",
27
+ "header-cell": "awsui_header-cell_c6tup_1dwqx_330",
28
+ "header-cell-sticky": "awsui_header-cell-sticky_c6tup_1dwqx_342",
29
+ "header-cell-stuck": "awsui_header-cell-stuck_c6tup_1dwqx_345",
30
+ "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_c6tup_1dwqx_345",
31
+ "header-cell-hidden": "awsui_header-cell-hidden_c6tup_1dwqx_348",
32
+ "header-cell-sortable": "awsui_header-cell-sortable_c6tup_1dwqx_351",
33
+ "header-cell-resizable": "awsui_header-cell-resizable_c6tup_1dwqx_366",
34
+ "sorting-icon": "awsui_sorting-icon_c6tup_1dwqx_370",
35
+ "edit-icon": "awsui_edit-icon_c6tup_1dwqx_378",
36
+ "header-cell-content": "awsui_header-cell-content_c6tup_1dwqx_384",
37
+ "header-cell-fake-focus": "awsui_header-cell-fake-focus_c6tup_1dwqx_413",
38
+ "header-cell-disabled": "awsui_header-cell-disabled_c6tup_1dwqx_431",
39
+ "header-cell-sorted": "awsui_header-cell-sorted_c6tup_1dwqx_431",
40
+ "header-cell-text": "awsui_header-cell-text_c6tup_1dwqx_445",
41
+ "header-cell-text-wrap": "awsui_header-cell-text-wrap_c6tup_1dwqx_450",
42
+ "header-cell-ascending": "awsui_header-cell-ascending_c6tup_1dwqx_456",
43
+ "header-cell-descending": "awsui_header-cell-descending_c6tup_1dwqx_457"
22
44
  };
23
45
 
@@ -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_11ntk_93:not(#\9) {
93
+ .awsui_body-cell_c6tup_1dwqx_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_11ntk_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_11ntk_102) {
102
+ .awsui_body-cell_c6tup_1dwqx_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_1dwqx_102) {
103
103
  white-space: nowrap;
104
104
  overflow: hidden;
105
105
  text-overflow: ellipsis;
106
106
  }
107
- .awsui_body-cell_c6tup_11ntk_93:not(#\9):first-child {
107
+ .awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child {
108
108
  border-left: var(--border-item-width-yvnixs, 1px) solid transparent;
109
109
  }
110
- .awsui_body-cell_c6tup_11ntk_93:not(#\9):last-child {
110
+ .awsui_body-cell_c6tup_1dwqx_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_11ntk_93.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):first-child {
114
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_is-visual-refresh_c6tup_1dwqx_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_11ntk_93.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_11ntk_126) {
126
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1dwqx_126) {
127
127
  padding-left: var(--space-xxxs-k2w98v, 2px);
128
128
  }
129
- .awsui_body-cell_c6tup_11ntk_93.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_11ntk_126):not(.awsui_body-cell-edit-active_c6tup_11ntk_129).awsui_body-cell-editable_c6tup_11ntk_129:hover {
129
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1dwqx_126):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129).awsui_body-cell-editable_c6tup_1dwqx_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_11ntk_93.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_11ntk_126 {
132
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_1dwqx_126 {
133
133
  padding-left: var(--space-xxs-ynfts5, 4px);
134
134
  }
135
- .awsui_body-cell_c6tup_11ntk_93.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_11ntk_135):not(.awsui_body-cell-editable_c6tup_11ntk_129) {
135
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_1dwqx_135):not(.awsui_body-cell-editable_c6tup_1dwqx_129) {
136
136
  border-left: none;
137
137
  }
138
- .awsui_body-cell_c6tup_11ntk_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_11ntk_114) {
138
+ .awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_1dwqx_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_11ntk_141:not(#\9) {
141
+ .awsui_body-cell-first-row_c6tup_1dwqx_141:not(#\9) {
142
142
  border-top: var(--border-item-width-yvnixs, 1px) solid transparent;
143
143
  }
144
- .awsui_body-cell-last-row_c6tup_11ntk_144:not(#\9):not(.awsui_body-cell-selected_c6tup_11ntk_144):not(.awsui_has-footer_c6tup_11ntk_144) {
144
+ .awsui_body-cell-last-row_c6tup_1dwqx_144:not(#\9):not(.awsui_body-cell-selected_c6tup_1dwqx_144):not(.awsui_has-footer_c6tup_1dwqx_144) {
145
145
  border-bottom: var(--border-item-width-yvnixs, 1px) solid transparent;
146
146
  }
147
- .awsui_body-cell-last-row_c6tup_11ntk_144:not(#\9):not(.awsui_body-cell-selected_c6tup_11ntk_144).awsui_has-footer_c6tup_11ntk_144 {
147
+ .awsui_body-cell-last-row_c6tup_1dwqx_144:not(#\9):not(.awsui_body-cell-selected_c6tup_1dwqx_144).awsui_has-footer_c6tup_1dwqx_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_11ntk_154:not(#\9) {
154
+ .awsui_body-cell-shaded_c6tup_1dwqx_154:not(#\9) {
155
155
  background: var(--color-background-cell-shaded-y6pwcp, #f2f3f3);
156
156
  }
157
- .awsui_body-cell-selected_c6tup_11ntk_144:not(#\9) {
157
+ .awsui_body-cell-selected_c6tup_1dwqx_144:not(#\9) {
158
158
  background-color: var(--color-background-item-selected-fva7ca, #f1faff);
159
- border-top: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
160
- border-bottom: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
159
+ border-top: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-592lau, #0073bb);
160
+ border-bottom: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-592lau, #0073bb);
161
161
  padding-bottom: var(--space-scaled-xs-6859qs, 8px);
162
162
  }
163
- .awsui_body-cell-selected_c6tup_11ntk_144:not(#\9):first-child {
164
- border-left: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
163
+ .awsui_body-cell-selected_c6tup_1dwqx_144:not(#\9):first-child {
164
+ border-left: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-592lau, #0073bb);
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_11ntk_144:not(#\9):last-child {
168
- border-right: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-pr9yuf, #00a1c9);
167
+ .awsui_body-cell-selected_c6tup_1dwqx_144:not(#\9):last-child {
168
+ border-right: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-592lau, #0073bb);
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_11ntk_144:not(#\9):not(:first-child) {
171
+ .awsui_body-cell-selected_c6tup_1dwqx_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_11ntk_93:not(#\9):not(.awsui_body-cell-selected_c6tup_11ntk_144).awsui_body-cell-next-selected_c6tup_11ntk_176 {
176
+ .awsui_body-cell_c6tup_1dwqx_93:not(#\9):not(.awsui_body-cell-selected_c6tup_1dwqx_144).awsui_body-cell-next-selected_c6tup_1dwqx_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_11ntk_144.awsui_body-cell-prev-selected_c6tup_11ntk_180:not(#\9) {
180
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-prev-selected_c6tup_1dwqx_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_11ntk_144.awsui_body-cell-next-selected_c6tup_11ntk_176:not(#\9) {
186
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-next-selected_c6tup_1dwqx_176:not(#\9) {
187
187
  border-bottom-width: var(--border-divider-list-width-hacikr, 1px);
188
188
  }
189
- .awsui_body-cell-selected_c6tup_11ntk_144.awsui_body-cell-next-selected_c6tup_11ntk_176:not(#\9):first-child {
189
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-next-selected_c6tup_1dwqx_176:not(#\9):first-child {
190
190
  border-bottom-left-radius: 0;
191
191
  }
192
- .awsui_body-cell-selected_c6tup_11ntk_144.awsui_body-cell-next-selected_c6tup_11ntk_176:not(#\9):last-child {
192
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-next-selected_c6tup_1dwqx_176:not(#\9):last-child {
193
193
  border-bottom-right-radius: 0;
194
194
  }
195
- .awsui_body-cell-selected_c6tup_11ntk_144.awsui_body-cell-prev-selected_c6tup_11ntk_180:not(#\9):first-child {
195
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-prev-selected_c6tup_1dwqx_180:not(#\9):first-child {
196
196
  border-top-left-radius: 0;
197
197
  }
198
- .awsui_body-cell-selected_c6tup_11ntk_144.awsui_body-cell-prev-selected_c6tup_11ntk_180:not(#\9):last-child {
198
+ .awsui_body-cell-selected_c6tup_1dwqx_144.awsui_body-cell-prev-selected_c6tup_1dwqx_180:not(#\9):last-child {
199
199
  border-top-right-radius: 0;
200
200
  }
201
- .awsui_body-cell-selected_c6tup_11ntk_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_11ntk_180) {
201
+ .awsui_body-cell-selected_c6tup_1dwqx_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_1dwqx_180) {
202
202
  padding-top: var(--space-scaled-xs-6859qs, 8px);
203
203
  }
204
- .awsui_body-cell-editor_c6tup_11ntk_204:not(#\9) {
204
+ .awsui_body-cell-success_c6tup_1dwqx_204:not(#\9), .awsui_body-cell-editor_c6tup_1dwqx_204:not(#\9) {
205
205
  top: 0;
206
206
  right: 0;
207
207
  bottom: 0;
@@ -217,56 +217,62 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
217
217
  padding-right: calc(var(--space-xs-rsr2qu, 8px) + var(--space-xxs-ynfts5, 4px));
218
218
  color: var(--color-text-button-normal-default-kwrutp, #545b64);
219
219
  }
220
- .awsui_body-cell-editor_c6tup_11ntk_204:not(#\9):hover {
220
+ .awsui_body-cell-success_c6tup_1dwqx_204:not(#\9):hover, .awsui_body-cell-editor_c6tup_1dwqx_204:not(#\9):hover {
221
221
  color: var(--color-text-button-normal-hover-de4793, #16191f);
222
222
  }
223
- .awsui_body-cell-editor_c6tup_11ntk_204:not(#\9):active {
223
+ .awsui_body-cell-success_c6tup_1dwqx_204:not(#\9):active, .awsui_body-cell-editor_c6tup_1dwqx_204:not(#\9):active {
224
224
  color: var(--color-text-button-normal-active-hvhe2o, #16191f);
225
225
  }
226
- .awsui_body-cell-editor-form_c6tup_11ntk_226:not(#\9) {
226
+ .awsui_body-cell-success-form_c6tup_1dwqx_226:not(#\9), .awsui_body-cell-editor-form_c6tup_1dwqx_226:not(#\9) {
227
227
  margin: calc(-1 * var(--space-xs-rsr2qu, 8px)) calc(-1.5 * var(--space-xs-rsr2qu, 8px));
228
228
  }
229
- .awsui_is-visual-refresh_c6tup_11ntk_114.awsui_body-cell_c6tup_11ntk_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_11ntk_126 > .awsui_body-cell-editor-form_c6tup_11ntk_226 {
229
+ .awsui_is-visual-refresh_c6tup_1dwqx_114.awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_1dwqx_126 > .awsui_body-cell-success-form_c6tup_1dwqx_226, .awsui_is-visual-refresh_c6tup_1dwqx_114.awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_1dwqx_126 > .awsui_body-cell-editor-form_c6tup_1dwqx_226 {
230
230
  margin-left: calc(-1 * var(--space-xxs-ynfts5, 4px));
231
231
  }
232
- .awsui_is-visual-refresh_c6tup_11ntk_114.awsui_body-cell_c6tup_11ntk_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_11ntk_126) > .awsui_body-cell-editor-form_c6tup_11ntk_226 {
232
+ .awsui_is-visual-refresh_c6tup_1dwqx_114.awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1dwqx_126) > .awsui_body-cell-success-form_c6tup_1dwqx_226, .awsui_is-visual-refresh_c6tup_1dwqx_114.awsui_body-cell_c6tup_1dwqx_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1dwqx_126) > .awsui_body-cell-editor-form_c6tup_1dwqx_226 {
233
233
  margin-left: calc(-1 * var(--space-xxxs-k2w98v, 2px));
234
234
  }
235
- .awsui_body-cell-editor-row_c6tup_11ntk_235:not(#\9) {
235
+ .awsui_body-cell-success-row_c6tup_1dwqx_235:not(#\9), .awsui_body-cell-editor-row_c6tup_1dwqx_235:not(#\9) {
236
236
  display: flex;
237
237
  flex-flow: row nowrap;
238
238
  align-items: center;
239
239
  justify-content: space-between;
240
240
  column-gap: var(--space-xxs-ynfts5, 4px);
241
241
  }
242
- .awsui_body-cell-editor-row_c6tup_11ntk_235 > :not(#\9):not(:last-child) {
242
+ .awsui_body-cell-success-row_c6tup_1dwqx_235 > :not(#\9):not(:last-child), .awsui_body-cell-editor-row_c6tup_1dwqx_235 > :not(#\9):not(:last-child) {
243
243
  flex-grow: 1;
244
244
  }
245
- .awsui_body-cell-editor-controls_c6tup_11ntk_245:not(#\9) {
245
+ .awsui_body-cell-success-controls_c6tup_1dwqx_245:not(#\9), .awsui_body-cell-editor-controls_c6tup_1dwqx_245:not(#\9) {
246
246
  flex-shrink: 0;
247
247
  }
248
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9) {
248
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9) {
249
249
  position: relative;
250
250
  cursor: pointer;
251
251
  }
252
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129.awsui_body-cell-edit-active_c6tup_11ntk_129:not(#\9) {
252
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129.awsui_body-cell-edit-active_c6tup_1dwqx_129:not(#\9) {
253
253
  overflow: visible;
254
254
  }
255
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129) > .awsui_body-cell-editor_c6tup_11ntk_204 {
255
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129) > .awsui_body-cell-editor_c6tup_1dwqx_204 {
256
256
  opacity: 0;
257
257
  }
258
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):focus-within {
258
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129).awsui_body-cell-has-success_c6tup_1dwqx_258 {
259
+ padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
260
+ }
261
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):focus-within {
259
262
  padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
260
263
  position: relative;
261
264
  }
262
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):focus-within > .awsui_body-cell-editor_c6tup_11ntk_204 {
265
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):focus-within > .awsui_body-cell-editor_c6tup_1dwqx_204 {
263
266
  opacity: 1;
264
267
  }
265
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):focus-within {
268
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):focus-within > .awsui_body-cell-success_c6tup_1dwqx_204 {
269
+ opacity: 0;
270
+ }
271
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):focus-within {
266
272
  outline: 2px dotted transparent;
267
273
  outline-offset: calc(calc(-1 * var(--space-scaled-xxs-95dhkm, 4px)) - 1px);
268
274
  }
269
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):focus-within::before {
275
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):focus-within::before {
270
276
  content: " ";
271
277
  display: block;
272
278
  position: absolute;
@@ -277,7 +283,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
277
283
  border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
278
284
  box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
279
285
  }
280
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover {
286
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover {
281
287
  position: relative;
282
288
  background-color: var(--color-background-dropdown-item-hover-hgdj8r, #f2f3f3);
283
289
  border: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-control-default-bwkbmv, #879596);
@@ -285,35 +291,199 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
285
291
  right: calc(-1 * var(--border-divider-list-width-hacikr, 1px));
286
292
  padding-right: calc(var(--space-scaled-l-t03y3z, 20px) + var(--space-l-4vl6xu, 20px));
287
293
  }
288
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover > .awsui_body-cell-editor_c6tup_11ntk_204 {
294
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover > .awsui_body-cell-editor_c6tup_1dwqx_204 {
289
295
  opacity: 1;
290
296
  }
291
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover:first-child {
297
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover > .awsui_body-cell-success_c6tup_1dwqx_204 {
298
+ opacity: 0;
299
+ }
300
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover:first-child {
292
301
  left: 0;
293
302
  right: 0;
294
303
  }
295
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover > .awsui_body-cell-editor_c6tup_11ntk_204 {
304
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover > .awsui_body-cell-editor_c6tup_1dwqx_204 {
296
305
  padding-right: calc(var(--space-xs-rsr2qu, 8px) + var(--space-xxs-ynfts5, 4px) - (2 * var(--border-divider-list-width-hacikr, 1px)));
297
306
  }
298
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover.awsui_body-cell-last-row_c6tup_11ntk_144.awsui_body-cell-selected_c6tup_11ntk_144, .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover.awsui_body-cell-next-selected_c6tup_11ntk_176 {
307
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover.awsui_body-cell-last-row_c6tup_1dwqx_144.awsui_body-cell-selected_c6tup_1dwqx_144, .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover.awsui_body-cell-next-selected_c6tup_1dwqx_176 {
299
308
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
300
309
  padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px) / 2));
301
310
  }
302
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover.awsui_body-cell-last-row_c6tup_11ntk_144:not(.awsui_body-cell-selected_c6tup_11ntk_144) {
311
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover.awsui_body-cell-last-row_c6tup_1dwqx_144:not(.awsui_body-cell-selected_c6tup_1dwqx_144) {
303
312
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
304
313
  }
305
- .awsui_body-cell_c6tup_11ntk_93.awsui_body-cell-editable_c6tup_11ntk_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover.awsui_body-cell-first-row_c6tup_11ntk_141:not(.awsui_body-cell-selected_c6tup_11ntk_144) {
314
+ .awsui_body-cell_c6tup_1dwqx_93.awsui_body-cell-editable_c6tup_1dwqx_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover.awsui_body-cell-first-row_c6tup_1dwqx_141:not(.awsui_body-cell-selected_c6tup_1dwqx_144) {
306
315
  padding-top: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
307
316
  padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) - calc(var(--border-divider-list-width-hacikr, 1px)));
308
317
  }
309
- .awsui_body-cell-editable_c6tup_11ntk_129.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover:first-child {
318
+ .awsui_body-cell-editable_c6tup_1dwqx_129.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover:first-child {
310
319
  border-top-left-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
311
320
  border-bottom-left-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
312
321
  }
313
- .awsui_body-cell-editable_c6tup_11ntk_129.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover:last-child {
322
+ .awsui_body-cell-editable_c6tup_1dwqx_129.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover:last-child {
314
323
  border-top-right-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
315
324
  border-bottom-right-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
316
325
  }
317
- .awsui_body-cell-editable_c6tup_11ntk_129.awsui_is-visual-refresh_c6tup_11ntk_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_11ntk_129):hover.awsui_body-cell-first-row_c6tup_11ntk_141 > .awsui_body-cell-editor_c6tup_11ntk_204 {
326
+ .awsui_body-cell-editable_c6tup_1dwqx_129.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1dwqx_129):hover.awsui_body-cell-first-row_c6tup_1dwqx_141 > .awsui_body-cell-editor_c6tup_1dwqx_204 {
318
327
  padding-top: var(--border-divider-list-width-hacikr, 1px);
328
+ }
329
+
330
+ .awsui_header-cell_c6tup_1dwqx_330:not(#\9) {
331
+ position: relative;
332
+ text-align: left;
333
+ box-sizing: border-box;
334
+ border-bottom: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
335
+ background: var(--color-background-table-header-mryayf, #fafafa);
336
+ color: var(--color-text-column-header-nsvxtb, #545b64);
337
+ font-weight: var(--font-heading-s-weight-1ygwuy, 700);
338
+ -webkit-font-smoothing: var(--font-smoothing-webkit-aglr0j, auto);
339
+ -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-f5m4xg, auto);
340
+ padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-scaled-xs-6859qs, 8px);
341
+ }
342
+ .awsui_header-cell-sticky_c6tup_1dwqx_342:not(#\9) {
343
+ border-bottom: var(--border-table-sticky-width-52djt5, 0px) solid var(--color-border-divider-default-k96bks, #eaeded);
344
+ }
345
+ .awsui_header-cell-stuck_c6tup_1dwqx_345:not(#\9):not(.awsui_header-cell-variant-full-page_c6tup_1dwqx_345) {
346
+ border-bottom-color: transparent;
347
+ }
348
+ .awsui_header-cell-variant-full-page_c6tup_1dwqx_345.awsui_header-cell-hidden_c6tup_1dwqx_348:not(#\9) {
349
+ border-bottom-color: transparent;
350
+ }
351
+ .awsui_header-cell_c6tup_1dwqx_330:not(#\9):last-child, .awsui_header-cell_c6tup_1dwqx_330.awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9) {
352
+ padding-right: var(--space-xs-rsr2qu, 8px);
353
+ }
354
+ .awsui_header-cell_c6tup_1dwqx_330:not(#\9):not(:last-child):before {
355
+ content: "";
356
+ position: absolute;
357
+ right: 0;
358
+ bottom: 0;
359
+ top: 0;
360
+ min-height: var(--font-heading-xs-line-height-tf278d, 20px);
361
+ max-height: calc(100% - calc(2 * var(--space-xs-rsr2qu, 8px) + var(--space-xxxs-k2w98v, 2px)));
362
+ margin: auto;
363
+ border-left: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
364
+ box-sizing: border-box;
365
+ }
366
+ .awsui_header-cell-resizable_c6tup_1dwqx_366:not(#\9):not(:last-child):before {
367
+ border-left-color: var(--color-border-divider-interactive-default-mrpwro, #687078);
368
+ }
369
+
370
+ .awsui_sorting-icon_c6tup_1dwqx_370:not(#\9) {
371
+ position: absolute;
372
+ top: 50%;
373
+ transform: translateY(-50%);
374
+ right: var(--space-xxs-ynfts5, 4px);
375
+ color: var(--color-text-column-sorting-icon-u1a3xj, #687078);
376
+ }
377
+
378
+ .awsui_edit-icon_c6tup_1dwqx_378:not(#\9) {
379
+ margin-left: var(--space-xxs-ynfts5, 4px);
380
+ margin-top: var(--space-scaled-xxs-95dhkm, 4px);
381
+ color: inherit;
382
+ }
383
+
384
+ .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9) {
385
+ position: relative;
386
+ padding: var(--space-scaled-xxs-95dhkm, 4px) var(--space-s-hv8c1d, 12px);
387
+ }
388
+ .awsui_header-cell-sortable_c6tup_1dwqx_351 > .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9) {
389
+ padding-right: calc(var(--space-xl-a39hup, 24px) + var(--space-xxs-ynfts5, 4px));
390
+ }
391
+ .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9):focus {
392
+ outline: none;
393
+ text-decoration: none;
394
+ }
395
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9):focus {
396
+ position: relative;
397
+ }
398
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9):focus {
399
+ outline: 2px dotted transparent;
400
+ outline-offset: calc(var(--space-table-header-focus-outline-gutter-uqywlq, 0px) - 1px);
401
+ }
402
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384:not(#\9):focus::before {
403
+ content: " ";
404
+ display: block;
405
+ position: absolute;
406
+ left: calc(-1 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
407
+ top: calc(-1 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
408
+ width: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
409
+ height: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
410
+ border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
411
+ box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
412
+ }
413
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384.awsui_header-cell-fake-focus_c6tup_1dwqx_413:not(#\9) {
414
+ position: relative;
415
+ }
416
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384.awsui_header-cell-fake-focus_c6tup_1dwqx_413:not(#\9) {
417
+ outline: 2px dotted transparent;
418
+ outline-offset: calc(var(--space-table-header-focus-outline-gutter-uqywlq, 0px) - 1px);
419
+ }
420
+ body[data-awsui-focus-visible=true] .awsui_header-cell-content_c6tup_1dwqx_384.awsui_header-cell-fake-focus_c6tup_1dwqx_413:not(#\9)::before {
421
+ content: " ";
422
+ display: block;
423
+ position: absolute;
424
+ left: calc(-1 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
425
+ top: calc(-1 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
426
+ width: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
427
+ height: calc(100% + 2 * var(--space-table-header-focus-outline-gutter-uqywlq, 0px));
428
+ border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
429
+ box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
430
+ }
431
+ .awsui_header-cell-disabled_c6tup_1dwqx_431.awsui_header-cell-sorted_c6tup_1dwqx_431 > .awsui_header-cell-content_c6tup_1dwqx_384 > .awsui_sorting-icon_c6tup_1dwqx_370:not(#\9) {
432
+ color: var(--color-text-interactive-disabled-jcikk2, #aab7b8);
433
+ }
434
+
435
+ .awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9):not(.awsui_header-cell-disabled_c6tup_1dwqx_431) > .awsui_header-cell-content_c6tup_1dwqx_384 {
436
+ cursor: pointer;
437
+ }
438
+ .awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9):not(.awsui_header-cell-disabled_c6tup_1dwqx_431) > .awsui_header-cell-content_c6tup_1dwqx_384:hover, .awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9):not(.awsui_header-cell-disabled_c6tup_1dwqx_431).awsui_header-cell-sorted_c6tup_1dwqx_431 > .awsui_header-cell-content_c6tup_1dwqx_384 {
439
+ color: var(--color-text-interactive-active-i5elzx, #16191f);
440
+ }
441
+ .awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9):not(.awsui_header-cell-disabled_c6tup_1dwqx_431) > .awsui_header-cell-content_c6tup_1dwqx_384:hover > .awsui_sorting-icon_c6tup_1dwqx_370, .awsui_header-cell-sortable_c6tup_1dwqx_351:not(#\9):not(.awsui_header-cell-disabled_c6tup_1dwqx_431).awsui_header-cell-sorted_c6tup_1dwqx_431 > .awsui_header-cell-content_c6tup_1dwqx_384 > .awsui_sorting-icon_c6tup_1dwqx_370 {
442
+ color: var(--color-text-interactive-active-i5elzx, #16191f);
443
+ }
444
+
445
+ .awsui_header-cell-text_c6tup_1dwqx_445:not(#\9) {
446
+ line-height: var(--font-heading-xs-line-height-tf278d, 20px);
447
+ padding-top: calc(var(--space-xxxs-k2w98v, 2px) / 2);
448
+ padding-bottom: calc(var(--space-xxxs-k2w98v, 2px) / 2);
449
+ }
450
+ .awsui_header-cell-text_c6tup_1dwqx_445:not(#\9):not(.awsui_header-cell-text-wrap_c6tup_1dwqx_450) {
451
+ white-space: nowrap;
452
+ overflow: hidden;
453
+ text-overflow: ellipsis;
454
+ }
455
+
456
+ .awsui_header-cell-ascending_c6tup_1dwqx_456:not(#\9),
457
+ .awsui_header-cell-descending_c6tup_1dwqx_457:not(#\9) {
458
+ /* used in test-utils */
459
+ }
460
+
461
+ /*
462
+ In Visual Refresh the first cell in the header should align
463
+ with the left edge of the table as closely as possible. If the
464
+ last header cell is sortable the sort icon should align with the
465
+ settings icon in the pagination slot.
466
+ */
467
+ .awsui_header-cell_c6tup_1dwqx_330:not(#\9):not(.awsui_is-visual-refresh_c6tup_1dwqx_114):first-child {
468
+ padding-left: var(--space-xs-rsr2qu, 8px);
469
+ }
470
+
471
+ .awsui_header-cell_c6tup_1dwqx_330.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9) {
472
+ /*
473
+ Striped rows requires additional left padding because the
474
+ shaded background makes the child content appear too close
475
+ to the table edge.
476
+ */
477
+ }
478
+ .awsui_header-cell_c6tup_1dwqx_330.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1dwqx_126) {
479
+ padding-left: var(--space-xxxs-k2w98v, 2px);
480
+ }
481
+ .awsui_header-cell_c6tup_1dwqx_330.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child.awsui_has-striped-rows_c6tup_1dwqx_126 {
482
+ padding-left: var(--space-xxs-ynfts5, 4px);
483
+ }
484
+ .awsui_header-cell_c6tup_1dwqx_330.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):first-child > .awsui_header-cell-content_c6tup_1dwqx_384 {
485
+ padding-left: 0;
486
+ }
487
+ .awsui_header-cell_c6tup_1dwqx_330.awsui_is-visual-refresh_c6tup_1dwqx_114:not(#\9):last-child.awsui_header-cell-sortable_c6tup_1dwqx_351 {
488
+ padding-right: var(--space-xxxs-k2w98v, 2px);
319
489
  }
@@ -2,23 +2,45 @@
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_11ntk_93",
6
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_11ntk_102",
7
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_11ntk_114",
8
- "has-striped-rows": "awsui_has-striped-rows_c6tup_11ntk_126",
9
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_11ntk_129",
10
- "body-cell-editable": "awsui_body-cell-editable_c6tup_11ntk_129",
11
- "has-selection": "awsui_has-selection_c6tup_11ntk_135",
12
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_11ntk_141",
13
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_11ntk_144",
14
- "body-cell-selected": "awsui_body-cell-selected_c6tup_11ntk_144",
15
- "has-footer": "awsui_has-footer_c6tup_11ntk_144",
16
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_11ntk_154",
17
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_11ntk_176",
18
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_11ntk_180",
19
- "body-cell-editor": "awsui_body-cell-editor_c6tup_11ntk_204",
20
- "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_11ntk_226",
21
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_11ntk_235",
22
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_11ntk_245"
5
+ "body-cell": "awsui_body-cell_c6tup_1dwqx_93",
6
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_1dwqx_102",
7
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_1dwqx_114",
8
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_1dwqx_126",
9
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1dwqx_129",
10
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_1dwqx_129",
11
+ "has-selection": "awsui_has-selection_c6tup_1dwqx_135",
12
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_1dwqx_141",
13
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_1dwqx_144",
14
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_1dwqx_144",
15
+ "has-footer": "awsui_has-footer_c6tup_1dwqx_144",
16
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_1dwqx_154",
17
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1dwqx_176",
18
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1dwqx_180",
19
+ "body-cell-success": "awsui_body-cell-success_c6tup_1dwqx_204",
20
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_1dwqx_204",
21
+ "body-cell-success-form": "awsui_body-cell-success-form_c6tup_1dwqx_226",
22
+ "body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_1dwqx_226",
23
+ "body-cell-success-row": "awsui_body-cell-success-row_c6tup_1dwqx_235",
24
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1dwqx_235",
25
+ "body-cell-success-controls": "awsui_body-cell-success-controls_c6tup_1dwqx_245",
26
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1dwqx_245",
27
+ "body-cell-has-success": "awsui_body-cell-has-success_c6tup_1dwqx_258",
28
+ "header-cell": "awsui_header-cell_c6tup_1dwqx_330",
29
+ "header-cell-sticky": "awsui_header-cell-sticky_c6tup_1dwqx_342",
30
+ "header-cell-stuck": "awsui_header-cell-stuck_c6tup_1dwqx_345",
31
+ "header-cell-variant-full-page": "awsui_header-cell-variant-full-page_c6tup_1dwqx_345",
32
+ "header-cell-hidden": "awsui_header-cell-hidden_c6tup_1dwqx_348",
33
+ "header-cell-sortable": "awsui_header-cell-sortable_c6tup_1dwqx_351",
34
+ "header-cell-resizable": "awsui_header-cell-resizable_c6tup_1dwqx_366",
35
+ "sorting-icon": "awsui_sorting-icon_c6tup_1dwqx_370",
36
+ "edit-icon": "awsui_edit-icon_c6tup_1dwqx_378",
37
+ "header-cell-content": "awsui_header-cell-content_c6tup_1dwqx_384",
38
+ "header-cell-fake-focus": "awsui_header-cell-fake-focus_c6tup_1dwqx_413",
39
+ "header-cell-disabled": "awsui_header-cell-disabled_c6tup_1dwqx_431",
40
+ "header-cell-sorted": "awsui_header-cell-sorted_c6tup_1dwqx_431",
41
+ "header-cell-text": "awsui_header-cell-text_c6tup_1dwqx_445",
42
+ "header-cell-text-wrap": "awsui_header-cell-text-wrap_c6tup_1dwqx_450",
43
+ "header-cell-ascending": "awsui_header-cell-ascending_c6tup_1dwqx_456",
44
+ "header-cell-descending": "awsui_header-cell-descending_c6tup_1dwqx_457"
23
45
  };
24
46
 
@@ -5,7 +5,7 @@ import React from 'react';
5
5
  import InternalIcon from '../../icon/internal';
6
6
  import { KeyCode } from '../../internal/keycode';
7
7
  import { getAriaSort, getSortingIconName, getSortingStatus, isSorted } from './utils';
8
- import styles from './styles.css.js';
8
+ import styles from '../body-cell/styles.css.js';
9
9
  import { Resizer } from '../resizer';
10
10
  import { useUniqueId } from '../../internal/hooks/use-unique-id';
11
11
  export function TableHeaderCell({ className, style, tabIndex, column, activeSortingColumn, sortingDescending, sortingDisabled, wrapLines, focusedComponent, onFocusedComponentChange, hidden, onClick, colIndex, updateColumn, resizableColumns, onResizeFinish, isEditable, }) {