@cloudscape-design/components 3.0.245 → 3.0.247
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.
- package/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
- package/annotation-context/annotation/annotation-trigger.js +1 -3
- package/annotation-context/annotation/annotation-trigger.js.map +1 -1
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +30 -30
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/drawer/index.d.ts +3 -21
- package/app-layout/drawer/index.d.ts.map +1 -1
- package/app-layout/drawer/index.js +25 -5
- package/app-layout/drawer/index.js.map +1 -1
- package/app-layout/drawer/interfaces.d.ts +84 -0
- package/app-layout/drawer/interfaces.d.ts.map +1 -0
- package/app-layout/drawer/interfaces.js +2 -0
- package/app-layout/drawer/interfaces.js.map +1 -0
- package/app-layout/drawer/resizable-drawer.d.ts +4 -0
- package/app-layout/drawer/resizable-drawer.d.ts.map +1 -0
- package/app-layout/drawer/resizable-drawer.js +51 -0
- package/app-layout/drawer/resizable-drawer.js.map +1 -0
- package/app-layout/drawer/styles.css.js +10 -5
- package/app-layout/drawer/styles.scoped.css +46 -10
- package/app-layout/drawer/styles.selectors.js +10 -5
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +142 -17
- package/app-layout/index.js.map +1 -1
- package/app-layout/mobile-toolbar/index.d.ts +10 -1
- package/app-layout/mobile-toolbar/index.d.ts.map +1 -1
- package/app-layout/mobile-toolbar/index.js +3 -2
- package/app-layout/mobile-toolbar/index.js.map +1 -1
- package/app-layout/mobile-toolbar/styles.css.js +5 -4
- package/app-layout/mobile-toolbar/styles.scoped.css +11 -7
- package/app-layout/mobile-toolbar/styles.selectors.js +5 -4
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/test-classes/styles.css.js +18 -13
- package/app-layout/test-classes/styles.scoped.css +33 -13
- package/app-layout/test-classes/styles.selectors.js +18 -13
- package/app-layout/toggles/index.d.ts.map +1 -1
- package/app-layout/toggles/index.js +2 -2
- package/app-layout/toggles/index.js.map +1 -1
- package/app-layout/toggles/interfaces.d.ts +3 -1
- package/app-layout/toggles/interfaces.d.ts.map +1 -1
- package/app-layout/toggles/interfaces.js.map +1 -1
- package/app-layout/utils/use-drawer-focus-control.d.ts +21 -0
- package/app-layout/utils/use-drawer-focus-control.d.ts.map +1 -0
- package/app-layout/utils/use-drawer-focus-control.js +65 -0
- package/app-layout/utils/use-drawer-focus-control.js.map +1 -0
- package/app-layout/visual-refresh/app-bar.d.ts.map +1 -1
- package/app-layout/visual-refresh/app-bar.js +8 -6
- package/app-layout/visual-refresh/app-bar.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts +13 -5
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +104 -49
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/drawers.d.ts +47 -0
- package/app-layout/visual-refresh/drawers.d.ts.map +1 -0
- package/app-layout/visual-refresh/drawers.js +127 -0
- package/app-layout/visual-refresh/drawers.js.map +1 -0
- package/app-layout/visual-refresh/header.js +2 -2
- package/app-layout/visual-refresh/header.js.map +1 -1
- package/app-layout/visual-refresh/index.d.ts.map +1 -1
- package/app-layout/visual-refresh/index.js +3 -1
- package/app-layout/visual-refresh/index.js.map +1 -1
- package/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/app-layout/visual-refresh/layout.js +5 -42
- package/app-layout/visual-refresh/layout.js.map +1 -1
- package/app-layout/visual-refresh/main.d.ts.map +1 -1
- package/app-layout/visual-refresh/main.js +2 -3
- package/app-layout/visual-refresh/main.js.map +1 -1
- package/app-layout/visual-refresh/navigation.js +2 -2
- package/app-layout/visual-refresh/navigation.js.map +1 -1
- package/app-layout/visual-refresh/notifications.d.ts.map +1 -1
- package/app-layout/visual-refresh/notifications.js +2 -2
- package/app-layout/visual-refresh/notifications.js.map +1 -1
- package/app-layout/visual-refresh/split-panel.js +2 -2
- package/app-layout/visual-refresh/split-panel.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +71 -61
- package/app-layout/visual-refresh/styles.scoped.css +437 -229
- package/app-layout/visual-refresh/styles.selectors.js +71 -61
- package/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/app-layout/visual-refresh/tools.js +7 -3
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/app-layout/visual-refresh/trigger-button.d.ts +4 -3
- package/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +5 -6
- package/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/area-chart/internal.js +1 -1
- package/area-chart/internal.js.map +1 -1
- package/breadcrumb-group/item/item.d.ts.map +1 -1
- package/breadcrumb-group/item/item.js +2 -5
- package/breadcrumb-group/item/item.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +17 -17
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +2 -3
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +19 -18
- package/button/styles.scoped.css +136 -136
- package/button/styles.selectors.js +19 -18
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js +2 -4
- package/calendar/grid/index.js.map +1 -1
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +38 -38
- package/calendar/styles.selectors.js +18 -18
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +109 -109
- package/code-editor/styles.selectors.js +32 -32
- package/code-editor/tab-button.d.ts.map +1 -1
- package/code-editor/tab-button.js +2 -4
- package/code-editor/tab-button.js.map +1 -1
- package/date-picker/index.d.ts.map +1 -1
- package/date-picker/index.js +1 -3
- package/date-picker/index.js.map +1 -1
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +9 -9
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid.js +1 -3
- package/date-range-picker/calendar/grids/grid.js.map +1 -1
- package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/index.js +1 -3
- package/date-range-picker/calendar/grids/index.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +42 -42
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/dropdown.d.ts.map +1 -1
- package/date-range-picker/dropdown.js +1 -3
- package/date-range-picker/dropdown.js.map +1 -1
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +45 -45
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +3 -7
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/styles.css.js +23 -23
- package/expandable-section/styles.scoped.css +44 -44
- package/expandable-section/styles.selectors.js +23 -23
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +1 -3
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +1 -3
- package/flashbar/flash.js.map +1 -1
- package/flashbar/styles.css.js +45 -45
- package/flashbar/styles.scoped.css +169 -169
- package/flashbar/styles.selectors.js +45 -45
- package/internal/base-component/styles.scoped.css +24 -0
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +8 -4
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +19 -19
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +1 -3
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +23 -23
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/chart-legend/index.d.ts.map +1 -1
- package/internal/components/chart-legend/index.js +2 -4
- package/internal/components/chart-legend/index.js.map +1 -1
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +15 -15
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/focus-outline.d.ts.map +1 -1
- package/internal/components/chart-plot/focus-outline.js +25 -3
- package/internal/components/chart-plot/focus-outline.js.map +1 -1
- package/internal/components/filtering-token/index.d.ts +2 -1
- package/internal/components/filtering-token/index.d.ts.map +1 -1
- package/internal/components/filtering-token/index.js +3 -5
- package/internal/components/filtering-token/index.js.map +1 -1
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +13 -13
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/menu-dropdown/index.d.ts.map +1 -1
- package/internal/components/menu-dropdown/index.js +2 -4
- package/internal/components/menu-dropdown/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +13 -13
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/token-list/index.d.ts +1 -1
- package/internal/components/token-list/index.d.ts.map +1 -1
- package/internal/components/token-list/index.js +3 -3
- package/internal/components/token-list/index.js.map +1 -1
- package/internal/components/token-list/interfaces.d.ts +0 -1
- package/internal/components/token-list/interfaces.d.ts.map +1 -1
- package/internal/components/token-list/interfaces.js.map +1 -1
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +20 -20
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/components/token-list/token-focus-controller.js +1 -1
- package/internal/components/token-list/token-focus-controller.js.map +1 -1
- package/internal/components/token-list/token-limit-toggle.d.ts.map +1 -1
- package/internal/components/token-list/token-limit-toggle.js +1 -3
- package/internal/components/token-list/token-limit-toggle.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +31 -30
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/styles/tokens.d.ts +2 -0
- package/internal/generated/styles/tokens.js +2 -0
- package/internal/generated/theming/index.cjs +140 -0
- package/internal/generated/theming/index.js +140 -0
- package/internal/hooks/focus-visible/index.d.ts +2 -5
- package/internal/hooks/focus-visible/index.d.ts.map +1 -1
- package/internal/hooks/focus-visible/index.js +42 -22
- package/internal/hooks/focus-visible/index.js.map +1 -1
- package/internal/hooks/use-base-component/index.d.ts.map +1 -1
- package/internal/hooks/use-base-component/index.js +2 -0
- package/internal/hooks/use-base-component/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/internal.d.ts.map +1 -1
- package/link/internal.js +1 -3
- package/link/internal.js.map +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +71 -71
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/internal.js +1 -1
- package/mixed-line-bar-chart/internal.js.map +1 -1
- package/package.json +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +1 -3
- package/pagination/internal.js.map +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +23 -23
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/index.js +1 -1
- package/pie-chart/index.js.map +1 -1
- package/popover/internal.d.ts.map +1 -1
- package/popover/internal.js +1 -3
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +63 -63
- package/popover/styles.selectors.js +50 -50
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +2 -2
- package/property-filter/index.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +1 -1
- package/property-filter/token.js.map +1 -1
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +1 -3
- package/segmented-control/segment.js.map +1 -1
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +33 -33
- package/segmented-control/styles.selectors.js +14 -14
- package/side-navigation/internal.d.ts.map +1 -1
- package/side-navigation/internal.js +2 -5
- package/side-navigation/internal.js.map +1 -1
- package/side-navigation/styles.css.js +27 -27
- package/side-navigation/styles.scoped.css +37 -37
- package/side-navigation/styles.selectors.js +27 -27
- package/space-between/internal.js +1 -1
- package/space-between/internal.js.map +1 -1
- package/space-between/styles.css.js +20 -28
- package/space-between/styles.scoped.css +37 -101
- package/space-between/styles.selectors.js +20 -28
- package/split-panel/index.d.ts.map +1 -1
- package/split-panel/index.js +1 -3
- package/split-panel/index.js.map +1 -1
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +81 -81
- package/split-panel/styles.selectors.js +59 -59
- package/table/body-cell/index.d.ts.map +1 -1
- package/table/body-cell/index.js +3 -3
- package/table/body-cell/index.js.map +1 -1
- package/table/body-cell/styles.css.js +18 -18
- package/table/body-cell/styles.scoped.css +57 -55
- package/table/body-cell/styles.selectors.js +18 -18
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +11 -9
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +19 -19
- package/table/header-cell/styles.scoped.css +32 -32
- package/table/header-cell/styles.selectors.js +19 -19
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +1 -3
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +11 -11
- package/table/resizer/styles.selectors.js +6 -6
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +41 -41
- package/table/styles.selectors.js +33 -33
- package/tabs/index.d.ts.map +1 -1
- package/tabs/index.js +8 -3
- package/tabs/index.js.map +1 -1
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +38 -38
- package/tabs/styles.selectors.js +21 -21
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +9 -3
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/internal.d.ts.map +1 -1
- package/tag-editor/internal.js +2 -4
- package/tag-editor/internal.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +10 -10
- package/tag-editor/styles.selectors.js +3 -3
- package/token-group/dismiss-button.d.ts.map +1 -1
- package/token-group/dismiss-button.js +1 -3
- package/token-group/dismiss-button.js.map +1 -1
- package/token-group/internal.js +2 -2
- package/token-group/internal.js.map +1 -1
- package/token-group/styles.css.js +5 -5
- package/token-group/styles.scoped.css +12 -12
- package/token-group/styles.selectors.js +5 -5
- package/token-group/token.d.ts +3 -5
- package/token-group/token.d.ts.map +1 -1
- package/token-group/token.js +2 -2
- package/token-group/token.js.map +1 -1
- package/top-navigation/1.0-beta/internal.d.ts.map +1 -1
- package/top-navigation/1.0-beta/internal.js +1 -3
- package/top-navigation/1.0-beta/internal.js.map +1 -1
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +42 -42
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/internal.d.ts.map +1 -1
- package/top-navigation/internal.js +1 -3
- package/top-navigation/internal.js.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.js +3 -7
- package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +66 -66
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-list/index.js +1 -3
- package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +27 -27
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +63 -63
- package/wizard/styles.selectors.js +32 -32
- package/wizard/wizard-form.d.ts.map +1 -1
- package/wizard/wizard-form.js +1 -3
- package/wizard/wizard-form.js.map +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"body-cell": "awsui_body-
|
|
5
|
-
"body-cell-wrap": "awsui_body-cell-
|
|
6
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
7
|
-
"has-striped-rows": "awsui_has-striped-
|
|
8
|
-
"body-cell-edit-active": "awsui_body-cell-edit-
|
|
9
|
-
"body-cell-editable": "awsui_body-cell-
|
|
10
|
-
"has-selection": "awsui_has-
|
|
11
|
-
"body-cell-first-row": "awsui_body-cell-first-
|
|
12
|
-
"body-cell-last-row": "awsui_body-cell-last-
|
|
13
|
-
"body-cell-selected": "awsui_body-cell-
|
|
14
|
-
"has-footer": "awsui_has-
|
|
15
|
-
"body-cell-shaded": "awsui_body-cell-
|
|
16
|
-
"body-cell-next-selected": "awsui_body-cell-next-
|
|
17
|
-
"body-cell-prev-selected": "awsui_body-cell-prev-
|
|
18
|
-
"body-cell-editor": "awsui_body-cell-
|
|
19
|
-
"body-cell-editor-form": "awsui_body-cell-editor-
|
|
20
|
-
"body-cell-editor-row": "awsui_body-cell-editor-
|
|
21
|
-
"body-cell-editor-controls": "awsui_body-cell-editor-
|
|
4
|
+
"body-cell": "awsui_body-cell_c6tup_1eoa3_93",
|
|
5
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_1eoa3_102",
|
|
6
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_1eoa3_114",
|
|
7
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_1eoa3_126",
|
|
8
|
+
"body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1eoa3_129",
|
|
9
|
+
"body-cell-editable": "awsui_body-cell-editable_c6tup_1eoa3_129",
|
|
10
|
+
"has-selection": "awsui_has-selection_c6tup_1eoa3_135",
|
|
11
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_1eoa3_141",
|
|
12
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_1eoa3_144",
|
|
13
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_1eoa3_144",
|
|
14
|
+
"has-footer": "awsui_has-footer_c6tup_1eoa3_144",
|
|
15
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_1eoa3_154",
|
|
16
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1eoa3_176",
|
|
17
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1eoa3_180",
|
|
18
|
+
"body-cell-editor": "awsui_body-cell-editor_c6tup_1eoa3_204",
|
|
19
|
+
"body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_1eoa3_214",
|
|
20
|
+
"body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1eoa3_223",
|
|
21
|
+
"body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1eoa3_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-
|
|
93
|
+
.awsui_body-cell_c6tup_1eoa3_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-qbbbsa, 2px) - 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-7s2wjw, #e9ebed);
|
|
101
101
|
}
|
|
102
|
-
.awsui_body-
|
|
102
|
+
.awsui_body-cell_c6tup_1eoa3_93:not(#\9):not(.awsui_body-cell-wrap_c6tup_1eoa3_102) {
|
|
103
103
|
white-space: nowrap;
|
|
104
104
|
overflow: hidden;
|
|
105
105
|
text-overflow: ellipsis;
|
|
106
106
|
}
|
|
107
|
-
.awsui_body-
|
|
107
|
+
.awsui_body-cell_c6tup_1eoa3_93:not(#\9):first-child {
|
|
108
108
|
border-left: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
109
109
|
}
|
|
110
|
-
.awsui_body-
|
|
110
|
+
.awsui_body-cell_c6tup_1eoa3_93:not(#\9):last-child {
|
|
111
111
|
border-right: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
112
112
|
padding-right: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
113
113
|
}
|
|
114
|
-
.awsui_body-
|
|
114
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_is-visual-refresh_c6tup_1eoa3_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-
|
|
126
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1eoa3_126) {
|
|
127
127
|
padding-left: var(--space-xxxs-k2w98v, 2px);
|
|
128
128
|
}
|
|
129
|
-
.awsui_body-
|
|
129
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1eoa3_126):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129).awsui_body-cell-editable_c6tup_1eoa3_129:hover {
|
|
130
130
|
padding-left: calc(var(--space-xxxs-k2w98v, 2px) + var(--border-divider-list-width-hacikr, 1px));
|
|
131
131
|
}
|
|
132
|
-
.awsui_body-
|
|
132
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):first-child:first-child.awsui_has-striped-rows_c6tup_1eoa3_126 {
|
|
133
133
|
padding-left: var(--space-xxs-ynfts5, 4px);
|
|
134
134
|
}
|
|
135
|
-
.awsui_body-
|
|
135
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):first-child:not(.awsui_has-selection_c6tup_1eoa3_135):not(.awsui_body-cell-editable_c6tup_1eoa3_129) {
|
|
136
136
|
border-left: none;
|
|
137
137
|
}
|
|
138
|
-
.awsui_body-
|
|
138
|
+
.awsui_body-cell_c6tup_1eoa3_93:not(#\9):first-child:not(.awsui_is-visual-refresh_c6tup_1eoa3_114) {
|
|
139
139
|
padding-left: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
140
140
|
}
|
|
141
|
-
.awsui_body-cell-first-
|
|
141
|
+
.awsui_body-cell-first-row_c6tup_1eoa3_141:not(#\9) {
|
|
142
142
|
border-top: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
143
143
|
}
|
|
144
|
-
.awsui_body-cell-last-
|
|
144
|
+
.awsui_body-cell-last-row_c6tup_1eoa3_144:not(#\9):not(.awsui_body-cell-selected_c6tup_1eoa3_144):not(.awsui_has-footer_c6tup_1eoa3_144) {
|
|
145
145
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
146
146
|
}
|
|
147
|
-
.awsui_body-cell-last-
|
|
147
|
+
.awsui_body-cell-last-row_c6tup_1eoa3_144:not(#\9):not(.awsui_body-cell-selected_c6tup_1eoa3_144).awsui_has-footer_c6tup_1eoa3_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-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
153
153
|
}
|
|
154
|
-
.awsui_body-cell-
|
|
154
|
+
.awsui_body-cell-shaded_c6tup_1eoa3_154:not(#\9) {
|
|
155
155
|
background: var(--color-background-cell-shaded-26ubfj, #f8f8f8);
|
|
156
156
|
}
|
|
157
|
-
.awsui_body-cell-
|
|
157
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144:not(#\9) {
|
|
158
158
|
background-color: var(--color-background-item-selected-ebt4bi, #f2f8fd);
|
|
159
159
|
border-top: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
160
160
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
161
161
|
padding-bottom: var(--space-scaled-xs-6859qs, 8px);
|
|
162
162
|
}
|
|
163
|
-
.awsui_body-cell-
|
|
163
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144:not(#\9):first-child {
|
|
164
164
|
border-left: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
165
165
|
border-radius: var(--border-radius-item-u2ibpi, 8px) 0 0 var(--border-radius-item-u2ibpi, 8px);
|
|
166
166
|
}
|
|
167
|
-
.awsui_body-cell-
|
|
167
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144:not(#\9):last-child {
|
|
168
168
|
border-right: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
169
169
|
border-radius: 0 var(--border-radius-item-u2ibpi, 8px) var(--border-radius-item-u2ibpi, 8px) 0;
|
|
170
170
|
}
|
|
171
|
-
.awsui_body-cell-
|
|
171
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144:not(#\9):not(:first-child) {
|
|
172
172
|
padding-top: calc(
|
|
173
173
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
|
-
.awsui_body-
|
|
176
|
+
.awsui_body-cell_c6tup_1eoa3_93:not(#\9):not(.awsui_body-cell-selected_c6tup_1eoa3_144).awsui_body-cell-next-selected_c6tup_1eoa3_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-
|
|
180
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-prev-selected_c6tup_1eoa3_180:not(#\9) {
|
|
181
181
|
padding-top: calc(
|
|
182
182
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - 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-jgzhnb, #0972d3);
|
|
185
185
|
}
|
|
186
|
-
.awsui_body-cell-
|
|
186
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-next-selected_c6tup_1eoa3_176:not(#\9) {
|
|
187
187
|
border-bottom-width: var(--border-divider-list-width-hacikr, 1px);
|
|
188
188
|
}
|
|
189
|
-
.awsui_body-cell-
|
|
189
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-next-selected_c6tup_1eoa3_176:not(#\9):first-child {
|
|
190
190
|
border-bottom-left-radius: 0;
|
|
191
191
|
}
|
|
192
|
-
.awsui_body-cell-
|
|
192
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-next-selected_c6tup_1eoa3_176:not(#\9):last-child {
|
|
193
193
|
border-bottom-right-radius: 0;
|
|
194
194
|
}
|
|
195
|
-
.awsui_body-cell-
|
|
195
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-prev-selected_c6tup_1eoa3_180:not(#\9):first-child {
|
|
196
196
|
border-top-left-radius: 0;
|
|
197
197
|
}
|
|
198
|
-
.awsui_body-cell-
|
|
198
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144.awsui_body-cell-prev-selected_c6tup_1eoa3_180:not(#\9):last-child {
|
|
199
199
|
border-top-right-radius: 0;
|
|
200
200
|
}
|
|
201
|
-
.awsui_body-cell-
|
|
201
|
+
.awsui_body-cell-selected_c6tup_1eoa3_144:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_1eoa3_180) {
|
|
202
202
|
padding-top: var(--space-scaled-xs-6859qs, 8px);
|
|
203
203
|
}
|
|
204
|
-
.awsui_body-cell-
|
|
204
|
+
.awsui_body-cell-editor_c6tup_1eoa3_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-
|
|
214
|
+
.awsui_body-cell-editor-form_c6tup_1eoa3_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-
|
|
217
|
+
.awsui_is-visual-refresh_c6tup_1eoa3_114.awsui_body-cell_c6tup_1eoa3_93:not(#\9):first-child.awsui_has-striped-rows_c6tup_1eoa3_126 > .awsui_body-cell-editor-form_c6tup_1eoa3_214 {
|
|
218
218
|
margin-left: calc(-1 * var(--space-xxs-ynfts5, 4px));
|
|
219
219
|
}
|
|
220
|
-
.awsui_is-visual-
|
|
220
|
+
.awsui_is-visual-refresh_c6tup_1eoa3_114.awsui_body-cell_c6tup_1eoa3_93:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_1eoa3_126) > .awsui_body-cell-editor-form_c6tup_1eoa3_214 {
|
|
221
221
|
margin-left: calc(-1 * var(--space-xxxs-k2w98v, 2px));
|
|
222
222
|
}
|
|
223
|
-
.awsui_body-cell-editor-
|
|
223
|
+
.awsui_body-cell-editor-row_c6tup_1eoa3_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-
|
|
230
|
+
.awsui_body-cell-editor-row_c6tup_1eoa3_223 > :not(#\9):not(:last-child) {
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
}
|
|
233
|
-
.awsui_body-cell-editor-
|
|
233
|
+
.awsui_body-cell-editor-controls_c6tup_1eoa3_233:not(#\9) {
|
|
234
234
|
flex-shrink: 0;
|
|
235
235
|
}
|
|
236
|
-
.awsui_body-
|
|
236
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9) {
|
|
237
237
|
position: relative;
|
|
238
238
|
cursor: pointer;
|
|
239
239
|
}
|
|
240
|
-
.awsui_body-
|
|
240
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129.awsui_body-cell-edit-active_c6tup_1eoa3_129:not(#\9) {
|
|
241
241
|
overflow: visible;
|
|
242
242
|
}
|
|
243
|
-
.awsui_body-
|
|
243
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129) > .awsui_body-cell-editor_c6tup_1eoa3_204 {
|
|
244
244
|
opacity: 0;
|
|
245
245
|
}
|
|
246
|
-
.awsui_body-
|
|
246
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover {
|
|
247
247
|
position: relative;
|
|
248
248
|
background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
|
|
249
249
|
border: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-control-default-m3lmsh, #7d8998);
|
|
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_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover > .awsui_body-cell-editor_c6tup_1eoa3_204 {
|
|
255
|
+
opacity: 1;
|
|
256
|
+
}
|
|
257
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover:first-child {
|
|
258
|
+
left: 0;
|
|
259
|
+
right: 0;
|
|
252
260
|
}
|
|
253
|
-
.awsui_body-
|
|
261
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover > .awsui_body-cell-editor_c6tup_1eoa3_204 {
|
|
254
262
|
padding-right: calc(var(--space-xs-rsr2qu, 8px) - (2 * var(--border-divider-list-width-hacikr, 1px)));
|
|
255
263
|
}
|
|
256
|
-
.awsui_body-
|
|
264
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover.awsui_body-cell-last-row_c6tup_1eoa3_144.awsui_body-cell-selected_c6tup_1eoa3_144, .awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover.awsui_body-cell-next-selected_c6tup_1eoa3_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-
|
|
268
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover.awsui_body-cell-last-row_c6tup_1eoa3_144:not(.awsui_body-cell-selected_c6tup_1eoa3_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-
|
|
271
|
+
.awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover.awsui_body-cell-first-row_c6tup_1eoa3_141:not(.awsui_body-cell-selected_c6tup_1eoa3_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
|
-
|
|
275
|
+
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_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
|
-
|
|
279
|
+
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):focus-within > .awsui_body-cell-editor_c6tup_1eoa3_204 {
|
|
271
280
|
opacity: 1;
|
|
272
281
|
}
|
|
273
|
-
.awsui_body-
|
|
274
|
-
left: 0;
|
|
275
|
-
right: 0;
|
|
276
|
-
}
|
|
277
|
-
.awsui_body-cell_c6tup_1988p_93.awsui_body-cell-editable_c6tup_1988p_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1988p_129)[data-awsui-focus-visible=true]:focus-within {
|
|
278
|
-
position: relative;
|
|
279
|
-
}
|
|
280
|
-
.awsui_body-cell_c6tup_1988p_93.awsui_body-cell-editable_c6tup_1988p_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1988p_129)[data-awsui-focus-visible=true]:focus-within {
|
|
282
|
+
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_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-
|
|
286
|
+
body[data-awsui-focus-visible=true] .awsui_body-cell_c6tup_1eoa3_93.awsui_body-cell-editable_c6tup_1eoa3_129:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_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-7661kz, 4px);
|
|
293
295
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
294
296
|
}
|
|
295
|
-
.awsui_body-cell-
|
|
297
|
+
.awsui_body-cell-editable_c6tup_1eoa3_129.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover:first-child {
|
|
296
298
|
border-top-left-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
297
299
|
border-bottom-left-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
298
300
|
}
|
|
299
|
-
.awsui_body-cell-
|
|
301
|
+
.awsui_body-cell-editable_c6tup_1eoa3_129.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover:last-child {
|
|
300
302
|
border-top-right-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
301
303
|
border-bottom-right-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
302
304
|
}
|
|
303
|
-
.awsui_body-cell-
|
|
305
|
+
.awsui_body-cell-editable_c6tup_1eoa3_129.awsui_is-visual-refresh_c6tup_1eoa3_114:not(#\9):not(.awsui_body-cell-edit-active_c6tup_1eoa3_129):hover.awsui_body-cell-first-row_c6tup_1eoa3_141 > .awsui_body-cell-editor_c6tup_1eoa3_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-
|
|
6
|
-
"body-cell-wrap": "awsui_body-cell-
|
|
7
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
8
|
-
"has-striped-rows": "awsui_has-striped-
|
|
9
|
-
"body-cell-edit-active": "awsui_body-cell-edit-
|
|
10
|
-
"body-cell-editable": "awsui_body-cell-
|
|
11
|
-
"has-selection": "awsui_has-
|
|
12
|
-
"body-cell-first-row": "awsui_body-cell-first-
|
|
13
|
-
"body-cell-last-row": "awsui_body-cell-last-
|
|
14
|
-
"body-cell-selected": "awsui_body-cell-
|
|
15
|
-
"has-footer": "awsui_has-
|
|
16
|
-
"body-cell-shaded": "awsui_body-cell-
|
|
17
|
-
"body-cell-next-selected": "awsui_body-cell-next-
|
|
18
|
-
"body-cell-prev-selected": "awsui_body-cell-prev-
|
|
19
|
-
"body-cell-editor": "awsui_body-cell-
|
|
20
|
-
"body-cell-editor-form": "awsui_body-cell-editor-
|
|
21
|
-
"body-cell-editor-row": "awsui_body-cell-editor-
|
|
22
|
-
"body-cell-editor-controls": "awsui_body-cell-editor-
|
|
5
|
+
"body-cell": "awsui_body-cell_c6tup_1eoa3_93",
|
|
6
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_1eoa3_102",
|
|
7
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_1eoa3_114",
|
|
8
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_1eoa3_126",
|
|
9
|
+
"body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1eoa3_129",
|
|
10
|
+
"body-cell-editable": "awsui_body-cell-editable_c6tup_1eoa3_129",
|
|
11
|
+
"has-selection": "awsui_has-selection_c6tup_1eoa3_135",
|
|
12
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_1eoa3_141",
|
|
13
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_1eoa3_144",
|
|
14
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_1eoa3_144",
|
|
15
|
+
"has-footer": "awsui_has-footer_c6tup_1eoa3_144",
|
|
16
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_1eoa3_154",
|
|
17
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1eoa3_176",
|
|
18
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1eoa3_180",
|
|
19
|
+
"body-cell-editor": "awsui_body-cell-editor_c6tup_1eoa3_204",
|
|
20
|
+
"body-cell-editor-form": "awsui_body-cell-editor-form_c6tup_1eoa3_214",
|
|
21
|
+
"body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1eoa3_223",
|
|
22
|
+
"body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1eoa3_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;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/header-cell/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,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,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IACpD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,gBAAgB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3E;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,EACxC,SAAS,EACT,KAAK,EACL,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,wBAAwB,EACxB,MAAM,EACN,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,EAAE,oBAAoB,CAAC,QAAQ,CAAC,eA4FhC"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import InternalIcon from '../../icon/internal';
|
|
6
|
-
import useFocusVisible from '../../internal/hooks/focus-visible';
|
|
7
6
|
import { KeyCode } from '../../internal/keycode';
|
|
8
7
|
import { getAriaSort, getSortingIconName, getSortingStatus, isSorted } from './utils';
|
|
9
8
|
import styles from './styles.css.js';
|
|
@@ -11,7 +10,6 @@ import { Resizer } from '../resizer';
|
|
|
11
10
|
import { useUniqueId } from '../../internal/hooks/use-unique-id';
|
|
12
11
|
export function TableHeaderCell({ className, style, tabIndex, column, activeSortingColumn, sortingDescending, sortingDisabled, wrapLines, focusedComponent, onFocusedComponentChange, hidden, onClick, colIndex, updateColumn, resizableColumns, onResizeFinish, isEditable, }) {
|
|
13
12
|
var _a;
|
|
14
|
-
const focusVisible = useFocusVisible();
|
|
15
13
|
const sortable = !!column.sortingComparator || !!column.sortingField;
|
|
16
14
|
const sorted = !!activeSortingColumn && isSorted(column, activeSortingColumn);
|
|
17
15
|
const sortingStatus = getSortingStatus(sortable, sorted, !!sortingDescending, !!sortingDisabled);
|
|
@@ -40,9 +38,7 @@ export function TableHeaderCell({ className, style, tabIndex, column, activeSort
|
|
|
40
38
|
[styles['header-cell-hidden']]: hidden,
|
|
41
39
|
}), "aria-sort": sortingStatus && getAriaSort(sortingStatus), style: style, scope: "col" },
|
|
42
40
|
React.createElement("div", Object.assign({ className: clsx(styles['header-cell-content'], {
|
|
43
|
-
[styles['header-cell-fake-focus']]: (focusedComponent === null || focusedComponent === void 0 ? void 0 : focusedComponent.type) === 'column' &&
|
|
44
|
-
focusedComponent.col === colIndex &&
|
|
45
|
-
focusVisible['data-awsui-focus-visible'],
|
|
41
|
+
[styles['header-cell-fake-focus']]: (focusedComponent === null || focusedComponent === void 0 ? void 0 : focusedComponent.type) === 'column' && focusedComponent.col === colIndex,
|
|
46
42
|
}), "aria-label": column.ariaLabel
|
|
47
43
|
? column.ariaLabel({
|
|
48
44
|
sorted: sorted,
|
|
@@ -50,7 +46,15 @@ export function TableHeaderCell({ className, style, tabIndex, column, activeSort
|
|
|
50
46
|
disabled: !!sortingDisabled,
|
|
51
47
|
})
|
|
52
48
|
: undefined }, (sortingStatus && !sortingDisabled
|
|
53
|
-
?
|
|
49
|
+
? {
|
|
50
|
+
onKeyPress: handleKeyPress,
|
|
51
|
+
tabIndex: tabIndex,
|
|
52
|
+
role: 'button',
|
|
53
|
+
onClick: handleClick,
|
|
54
|
+
onFocus: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange({ type: 'column', col: colIndex }),
|
|
55
|
+
onBlur: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange(null),
|
|
56
|
+
}
|
|
57
|
+
: {})),
|
|
54
58
|
React.createElement("div", { className: clsx(styles['header-cell-text'], wrapLines && styles['header-cell-text-wrap']), id: headerId },
|
|
55
59
|
column.header,
|
|
56
60
|
isEditable ? (React.createElement("span", { className: styles['edit-icon'], role: "img", "aria-label": (_a = column.editConfig) === null || _a === void 0 ? void 0 : _a.editIconAriaLabel },
|
|
@@ -58,8 +62,6 @@ export function TableHeaderCell({ className, style, tabIndex, column, activeSort
|
|
|
58
62
|
sortingStatus && (React.createElement("span", { className: styles['sorting-icon'] },
|
|
59
63
|
React.createElement(InternalIcon, { name: getSortingIconName(sortingStatus) })))),
|
|
60
64
|
resizableColumns && (React.createElement(React.Fragment, null,
|
|
61
|
-
React.createElement(Resizer, { tabIndex: tabIndex, showFocusRing: (focusedComponent === null || focusedComponent === void 0 ? void 0 : focusedComponent.type) === 'resizer' &&
|
|
62
|
-
focusedComponent.col === colIndex &&
|
|
63
|
-
focusVisible['data-awsui-focus-visible'], onDragMove: newWidth => updateColumn(colIndex, newWidth), onFinish: onResizeFinish, ariaLabelledby: headerId, onFocus: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange({ type: 'resizer', col: colIndex }), onBlur: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange(null), minWidth: typeof column.minWidth === 'string' ? parseInt(column.minWidth) : column.minWidth })))));
|
|
65
|
+
React.createElement(Resizer, { tabIndex: tabIndex, showFocusRing: (focusedComponent === null || focusedComponent === void 0 ? void 0 : focusedComponent.type) === 'resizer' && focusedComponent.col === colIndex, onDragMove: newWidth => updateColumn(colIndex, newWidth), onFinish: onResizeFinish, ariaLabelledby: headerId, onFocus: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange({ type: 'resizer', col: colIndex }), onBlur: () => onFocusedComponentChange === null || onFocusedComponentChange === void 0 ? void 0 : onFocusedComponentChange(null), minWidth: typeof column.minWidth === 'string' ? parseInt(column.minWidth) : column.minWidth })))));
|
|
64
66
|
}
|
|
65
67
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/header-cell/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/header-cell/index.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport InternalIcon from '../../icon/internal';\nimport { KeyCode } from '../../internal/keycode';\nimport { TableProps } from '../interfaces';\nimport { getAriaSort, getSortingIconName, getSortingStatus, isSorted } from './utils';\nimport styles from './styles.css.js';\nimport { Resizer } from '../resizer';\nimport { useUniqueId } from '../../internal/hooks/use-unique-id';\nimport { InteractiveComponent } from '../thead';\n\ninterface TableHeaderCellProps<ItemType> {\n className?: string;\n style?: React.CSSProperties;\n tabIndex: number;\n column: TableProps.ColumnDefinition<ItemType>;\n activeSortingColumn?: TableProps.SortingColumn<ItemType>;\n sortingDescending?: boolean;\n sortingDisabled?: boolean;\n wrapLines?: boolean;\n hidden?: boolean;\n onClick(detail: TableProps.SortingState<any>): void;\n onResizeFinish: () => void;\n colIndex: number;\n updateColumn: (colIndex: number, newWidth: number) => void;\n onFocus?: () => void;\n onBlur?: () => void;\n resizableColumns?: boolean;\n isEditable?: boolean;\n\n focusedComponent?: InteractiveComponent | null;\n onFocusedComponentChange?: (element: InteractiveComponent | null) => void;\n}\n\nexport function TableHeaderCell<ItemType>({\n className,\n style,\n tabIndex,\n column,\n activeSortingColumn,\n sortingDescending,\n sortingDisabled,\n wrapLines,\n focusedComponent,\n onFocusedComponentChange,\n hidden,\n onClick,\n colIndex,\n updateColumn,\n resizableColumns,\n onResizeFinish,\n isEditable,\n}: TableHeaderCellProps<ItemType>) {\n const sortable = !!column.sortingComparator || !!column.sortingField;\n const sorted = !!activeSortingColumn && isSorted(column, activeSortingColumn);\n const sortingStatus = getSortingStatus(sortable, sorted, !!sortingDescending, !!sortingDisabled);\n const handleClick = () =>\n onClick({\n sortingColumn: column,\n isDescending: sorted ? !sortingDescending : false,\n });\n\n // Elements with role=\"button\" do not have the default behavior of <button>, where pressing\n // Enter or Space will trigger a click event. Therefore we need to add this ourselves.\n // The native <button> element cannot be used due to a misaligned implementation in Firefox:\n // https://bugzilla.mozilla.org/show_bug.cgi?id=843003\n const handleKeyPress = ({ nativeEvent: e }: React.KeyboardEvent) => {\n if (e.keyCode === KeyCode.enter || e.keyCode === KeyCode.space) {\n e.preventDefault();\n handleClick();\n }\n };\n\n const headerId = useUniqueId('table-header-');\n\n return (\n <th\n className={clsx(className, {\n [styles['header-cell-resizable']]: !!resizableColumns,\n [styles['header-cell-sortable']]: sortingStatus,\n [styles['header-cell-sorted']]: sortingStatus === 'ascending' || sortingStatus === 'descending',\n [styles['header-cell-disabled']]: sortingDisabled,\n [styles['header-cell-ascending']]: sortingStatus === 'ascending',\n [styles['header-cell-descending']]: sortingStatus === 'descending',\n [styles['header-cell-hidden']]: hidden,\n })}\n aria-sort={sortingStatus && getAriaSort(sortingStatus)}\n style={style}\n scope=\"col\"\n >\n <div\n className={clsx(styles['header-cell-content'], {\n [styles['header-cell-fake-focus']]: focusedComponent?.type === 'column' && focusedComponent.col === colIndex,\n })}\n aria-label={\n column.ariaLabel\n ? column.ariaLabel({\n sorted: sorted,\n descending: sorted && !!sortingDescending,\n disabled: !!sortingDisabled,\n })\n : undefined\n }\n {...(sortingStatus && !sortingDisabled\n ? {\n onKeyPress: handleKeyPress,\n tabIndex: tabIndex,\n role: 'button',\n onClick: handleClick,\n onFocus: () => onFocusedComponentChange?.({ type: 'column', col: colIndex }),\n onBlur: () => onFocusedComponentChange?.(null),\n }\n : {})}\n >\n <div className={clsx(styles['header-cell-text'], wrapLines && styles['header-cell-text-wrap'])} id={headerId}>\n {column.header}\n {isEditable ? (\n <span className={styles['edit-icon']} role=\"img\" aria-label={column.editConfig?.editIconAriaLabel}>\n <InternalIcon name=\"edit\" />\n </span>\n ) : null}\n </div>\n {sortingStatus && (\n <span className={styles['sorting-icon']}>\n <InternalIcon name={getSortingIconName(sortingStatus)} />\n </span>\n )}\n </div>\n {resizableColumns && (\n <>\n <Resizer\n tabIndex={tabIndex}\n showFocusRing={focusedComponent?.type === 'resizer' && focusedComponent.col === colIndex}\n onDragMove={newWidth => updateColumn(colIndex, newWidth)}\n onFinish={onResizeFinish}\n ariaLabelledby={headerId}\n onFocus={() => onFocusedComponentChange?.({ type: 'resizer', col: colIndex })}\n onBlur={() => onFocusedComponentChange?.(null)}\n minWidth={typeof column.minWidth === 'string' ? parseInt(column.minWidth) : column.minWidth}\n />\n </>\n )}\n </th>\n );\n}\n"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"header-cell": "awsui_header-
|
|
5
|
-
"header-cell-sticky": "awsui_header-cell-
|
|
6
|
-
"header-cell-stuck": "awsui_header-cell-
|
|
7
|
-
"header-cell-variant-full-page": "awsui_header-cell-variant-full-
|
|
8
|
-
"header-cell-hidden": "awsui_header-cell-
|
|
9
|
-
"header-cell-sortable": "awsui_header-cell-
|
|
10
|
-
"header-cell-resizable": "awsui_header-cell-
|
|
11
|
-
"sorting-icon": "awsui_sorting-
|
|
12
|
-
"edit-icon": "awsui_edit-
|
|
13
|
-
"header-cell-content": "awsui_header-cell-
|
|
14
|
-
"header-cell-fake-focus": "awsui_header-cell-fake-
|
|
15
|
-
"header-cell-disabled": "awsui_header-cell-
|
|
16
|
-
"header-cell-sorted": "awsui_header-cell-
|
|
17
|
-
"header-cell-text": "awsui_header-cell-
|
|
18
|
-
"header-cell-text-wrap": "awsui_header-cell-text-
|
|
19
|
-
"header-cell-ascending": "awsui_header-cell-
|
|
20
|
-
"header-cell-descending": "awsui_header-cell-
|
|
21
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
22
|
-
"has-striped-rows": "awsui_has-striped-
|
|
4
|
+
"header-cell": "awsui_header-cell_1spae_qocl2_93",
|
|
5
|
+
"header-cell-sticky": "awsui_header-cell-sticky_1spae_qocl2_105",
|
|
6
|
+
"header-cell-stuck": "awsui_header-cell-stuck_1spae_qocl2_108",
|
|
7
|
+
"header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_qocl2_108",
|
|
8
|
+
"header-cell-hidden": "awsui_header-cell-hidden_1spae_qocl2_111",
|
|
9
|
+
"header-cell-sortable": "awsui_header-cell-sortable_1spae_qocl2_114",
|
|
10
|
+
"header-cell-resizable": "awsui_header-cell-resizable_1spae_qocl2_129",
|
|
11
|
+
"sorting-icon": "awsui_sorting-icon_1spae_qocl2_133",
|
|
12
|
+
"edit-icon": "awsui_edit-icon_1spae_qocl2_141",
|
|
13
|
+
"header-cell-content": "awsui_header-cell-content_1spae_qocl2_147",
|
|
14
|
+
"header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_qocl2_176",
|
|
15
|
+
"header-cell-disabled": "awsui_header-cell-disabled_1spae_qocl2_194",
|
|
16
|
+
"header-cell-sorted": "awsui_header-cell-sorted_1spae_qocl2_194",
|
|
17
|
+
"header-cell-text": "awsui_header-cell-text_1spae_qocl2_208",
|
|
18
|
+
"header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_qocl2_213",
|
|
19
|
+
"header-cell-ascending": "awsui_header-cell-ascending_1spae_qocl2_219",
|
|
20
|
+
"header-cell-descending": "awsui_header-cell-descending_1spae_qocl2_220",
|
|
21
|
+
"is-visual-refresh": "awsui_is-visual-refresh_1spae_qocl2_230",
|
|
22
|
+
"has-striped-rows": "awsui_has-striped-rows_1spae_qocl2_241"
|
|
23
23
|
};
|
|
24
24
|
|