@cloudscape-design/components 3.0.245 → 3.0.246
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 +29 -29
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/visual-refresh/styles.css.js +61 -61
- package/app-layout/visual-refresh/styles.scoped.css +151 -151
- package/app-layout/visual-refresh/styles.selectors.js +61 -61
- package/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +2 -4
- package/app-layout/visual-refresh/trigger-button.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 +144 -144
- package/flashbar/styles.selectors.js +45 -45
- 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/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/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/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/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
|
@@ -2,64 +2,64 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"drawer": "
|
|
6
|
-
"refresh": "
|
|
7
|
-
"animating": "
|
|
8
|
-
"preference-icon--layout-border": "awsui_preference-icon--layout-
|
|
9
|
-
"preference-icon--layout-background": "awsui_preference-icon--layout-
|
|
10
|
-
"preference-icon--layout-header": "awsui_preference-icon--layout-
|
|
11
|
-
"preference-icon--border": "awsui_preference-icon--
|
|
12
|
-
"preference-icon--primary-button": "awsui_preference-icon--primary-
|
|
13
|
-
"preference-icon--secondary": "awsui_preference-icon--
|
|
14
|
-
"preference-icon--disabled-element": "awsui_preference-icon--disabled-
|
|
15
|
-
"preference-icon--separator": "awsui_preference-icon--
|
|
16
|
-
"preference-icon--focus-text": "awsui_preference-icon--focus-
|
|
17
|
-
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-
|
|
18
|
-
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-
|
|
19
|
-
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--
|
|
20
|
-
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--
|
|
21
|
-
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-
|
|
22
|
-
"preference-icon-refresh--window": "awsui_preference-icon-refresh--
|
|
23
|
-
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--
|
|
24
|
-
"preference-icon-refresh--default": "awsui_preference-icon-refresh--
|
|
25
|
-
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--
|
|
26
|
-
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-
|
|
27
|
-
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--
|
|
28
|
-
"resize-active": "awsui_resize-
|
|
29
|
-
"resize-side": "awsui_resize-
|
|
30
|
-
"resize-bottom": "awsui_resize-
|
|
31
|
-
"root": "
|
|
32
|
-
"preferences-button": "awsui_preferences-
|
|
33
|
-
"close-button": "awsui_close-
|
|
34
|
-
"drawer-closed": "awsui_drawer-
|
|
35
|
-
"drawer-content-side": "awsui_drawer-content-
|
|
36
|
-
"drawer-content-bottom": "awsui_drawer-content-
|
|
37
|
-
"position-bottom": "awsui_position-
|
|
38
|
-
"position-side": "awsui_position-
|
|
39
|
-
"slider": "
|
|
40
|
-
"slider-side": "awsui_slider-
|
|
41
|
-
"slider-wrapper-bottom": "awsui_slider-wrapper-
|
|
42
|
-
"slider-wrapper-side": "awsui_slider-wrapper-
|
|
43
|
-
"open-button": "awsui_open-
|
|
44
|
-
"open-button-side": "awsui_open-button-
|
|
45
|
-
"slider-icon": "awsui_slider-
|
|
46
|
-
"slider-icon-bottom": "awsui_slider-icon-
|
|
47
|
-
"slider-icon-side": "awsui_slider-icon-
|
|
48
|
-
"pane-header-wrapper-bottom": "awsui_pane-header-wrapper-
|
|
49
|
-
"drawer-mobile": "awsui_drawer-
|
|
50
|
-
"drawer-disable-content-paddings": "awsui_drawer-disable-content-
|
|
51
|
-
"content-bottom": "awsui_content-
|
|
52
|
-
"pane-bottom-center-align": "awsui_pane-bottom-center-
|
|
53
|
-
"pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-
|
|
54
|
-
"pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-
|
|
55
|
-
"content-bottom-max-width": "awsui_content-bottom-max-
|
|
56
|
-
"content-side": "awsui_content-
|
|
57
|
-
"pane-header-wrapper-side": "awsui_pane-header-wrapper-
|
|
58
|
-
"pane-content-wrapper-side": "awsui_pane-content-wrapper-
|
|
59
|
-
"header": "
|
|
60
|
-
"header-text": "awsui_header-
|
|
61
|
-
"header-divider": "awsui_header-
|
|
62
|
-
"header-actions": "awsui_header-
|
|
63
|
-
"divider": "
|
|
5
|
+
"drawer": "awsui_drawer_1r9lg_1mkq8_189",
|
|
6
|
+
"refresh": "awsui_refresh_1r9lg_1mkq8_189",
|
|
7
|
+
"animating": "awsui_animating_1r9lg_1mkq8_203",
|
|
8
|
+
"preference-icon--layout-border": "awsui_preference-icon--layout-border_1r9lg_1mkq8_226",
|
|
9
|
+
"preference-icon--layout-background": "awsui_preference-icon--layout-background_1r9lg_1mkq8_230",
|
|
10
|
+
"preference-icon--layout-header": "awsui_preference-icon--layout-header_1r9lg_1mkq8_233",
|
|
11
|
+
"preference-icon--border": "awsui_preference-icon--border_1r9lg_1mkq8_236",
|
|
12
|
+
"preference-icon--primary-button": "awsui_preference-icon--primary-button_1r9lg_1mkq8_240",
|
|
13
|
+
"preference-icon--secondary": "awsui_preference-icon--secondary_1r9lg_1mkq8_243",
|
|
14
|
+
"preference-icon--disabled-element": "awsui_preference-icon--disabled-element_1r9lg_1mkq8_246",
|
|
15
|
+
"preference-icon--separator": "awsui_preference-icon--separator_1r9lg_1mkq8_249",
|
|
16
|
+
"preference-icon--focus-text": "awsui_preference-icon--focus-text_1r9lg_1mkq8_252",
|
|
17
|
+
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-top_1r9lg_1mkq8_256",
|
|
18
|
+
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-main_1r9lg_1mkq8_259",
|
|
19
|
+
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--primary_1r9lg_1mkq8_262",
|
|
20
|
+
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--disabled_1r9lg_1mkq8_265",
|
|
21
|
+
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-header_1r9lg_1mkq8_268",
|
|
22
|
+
"preference-icon-refresh--window": "awsui_preference-icon-refresh--window_1r9lg_1mkq8_271",
|
|
23
|
+
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--secondary_1r9lg_1mkq8_275",
|
|
24
|
+
"preference-icon-refresh--default": "awsui_preference-icon-refresh--default_1r9lg_1mkq8_278",
|
|
25
|
+
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--separator_1r9lg_1mkq8_281",
|
|
26
|
+
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-default_1r9lg_1mkq8_284",
|
|
27
|
+
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--heading_1r9lg_1mkq8_287",
|
|
28
|
+
"resize-active": "awsui_resize-active_1r9lg_1mkq8_292",
|
|
29
|
+
"resize-side": "awsui_resize-side_1r9lg_1mkq8_298",
|
|
30
|
+
"resize-bottom": "awsui_resize-bottom_1r9lg_1mkq8_301",
|
|
31
|
+
"root": "awsui_root_1r9lg_1mkq8_306",
|
|
32
|
+
"preferences-button": "awsui_preferences-button_1r9lg_1mkq8_319",
|
|
33
|
+
"close-button": "awsui_close-button_1r9lg_1mkq8_323",
|
|
34
|
+
"drawer-closed": "awsui_drawer-closed_1r9lg_1mkq8_334",
|
|
35
|
+
"drawer-content-side": "awsui_drawer-content-side_1r9lg_1mkq8_339",
|
|
36
|
+
"drawer-content-bottom": "awsui_drawer-content-bottom_1r9lg_1mkq8_359",
|
|
37
|
+
"position-bottom": "awsui_position-bottom_1r9lg_1mkq8_368",
|
|
38
|
+
"position-side": "awsui_position-side_1r9lg_1mkq8_395",
|
|
39
|
+
"slider": "awsui_slider_1r9lg_1mkq8_401",
|
|
40
|
+
"slider-side": "awsui_slider-side_1r9lg_1mkq8_430",
|
|
41
|
+
"slider-wrapper-bottom": "awsui_slider-wrapper-bottom_1r9lg_1mkq8_435",
|
|
42
|
+
"slider-wrapper-side": "awsui_slider-wrapper-side_1r9lg_1mkq8_446",
|
|
43
|
+
"open-button": "awsui_open-button_1r9lg_1mkq8_457",
|
|
44
|
+
"open-button-side": "awsui_open-button-side_1r9lg_1mkq8_461",
|
|
45
|
+
"slider-icon": "awsui_slider-icon_1r9lg_1mkq8_468",
|
|
46
|
+
"slider-icon-bottom": "awsui_slider-icon-bottom_1r9lg_1mkq8_474",
|
|
47
|
+
"slider-icon-side": "awsui_slider-icon-side_1r9lg_1mkq8_477",
|
|
48
|
+
"pane-header-wrapper-bottom": "awsui_pane-header-wrapper-bottom_1r9lg_1mkq8_481",
|
|
49
|
+
"drawer-mobile": "awsui_drawer-mobile_1r9lg_1mkq8_491",
|
|
50
|
+
"drawer-disable-content-paddings": "awsui_drawer-disable-content-paddings_1r9lg_1mkq8_494",
|
|
51
|
+
"content-bottom": "awsui_content-bottom_1r9lg_1mkq8_502",
|
|
52
|
+
"pane-bottom-center-align": "awsui_pane-bottom-center-align_1r9lg_1mkq8_513",
|
|
53
|
+
"pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-padding_1r9lg_1mkq8_518",
|
|
54
|
+
"pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-padding_1r9lg_1mkq8_522",
|
|
55
|
+
"content-bottom-max-width": "awsui_content-bottom-max-width_1r9lg_1mkq8_526",
|
|
56
|
+
"content-side": "awsui_content-side_1r9lg_1mkq8_531",
|
|
57
|
+
"pane-header-wrapper-side": "awsui_pane-header-wrapper-side_1r9lg_1mkq8_542",
|
|
58
|
+
"pane-content-wrapper-side": "awsui_pane-content-wrapper-side_1r9lg_1mkq8_545",
|
|
59
|
+
"header": "awsui_header_1r9lg_1mkq8_550",
|
|
60
|
+
"header-text": "awsui_header-text_1r9lg_1mkq8_559",
|
|
61
|
+
"header-divider": "awsui_header-divider_1r9lg_1mkq8_569",
|
|
62
|
+
"header-actions": "awsui_header-actions_1r9lg_1mkq8_575",
|
|
63
|
+
"divider": "awsui_divider_1r9lg_1mkq8_583"
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAkB,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAOnE,UAAU,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,mBAAmB;IAChE,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACrD,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;CACtC;AAgED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,EACtC,UAAU,EACV,GAAG,IAAI,EACR,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,eAMxD"}
|
package/table/body-cell/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import { __rest } from "tslib";
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import styles from './styles.css.js';
|
|
6
6
|
import React, { useRef } from 'react';
|
|
7
|
-
import useFocusVisible from '../../internal/hooks/focus-visible';
|
|
8
7
|
import { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';
|
|
9
8
|
import Button from '../../button/internal';
|
|
10
9
|
import { TableTdElement } from './td-element';
|
|
@@ -16,8 +15,9 @@ function TableCellEditable(_a) {
|
|
|
16
15
|
var _b;
|
|
17
16
|
var { className, item, column, isEditing, onEditStart, onEditEnd, submitEdit, ariaLabels, isVisualRefresh } = _a, rest = __rest(_a, ["className", "item", "column", "isEditing", "onEditStart", "onEditEnd", "submitEdit", "ariaLabels", "isVisualRefresh"]);
|
|
18
17
|
const editActivateRef = useRef(null);
|
|
19
|
-
const
|
|
20
|
-
|
|
18
|
+
const tdNativeAttributes = {
|
|
19
|
+
'data-inline-editing-active': isEditing.toString(),
|
|
20
|
+
};
|
|
21
21
|
useEffectOnUpdate(() => {
|
|
22
22
|
if (!isEditing && editActivateRef.current) {
|
|
23
23
|
editActivateRef.current.focus();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;AAClF,CAAC,CAAC;AAYF,SAAS,iBAAiB,CAAW,EAWN;;QAXM,EACnC,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EACV,eAAe,OAEc,EAD1B,IAAI,cAV4B,uHAWpC,CADQ;IAEP,MAAM,eAAe,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;IACtD,MAAM,kBAAkB,GAAG;QACzB,4BAA4B,EAAE,SAAS,CAAC,QAAQ,EAAE;KACnD,CAAC;IAEF,iBAAiB,CAAC,GAAG,EAAE;QACrB,IAAI,CAAC,SAAS,IAAI,eAAe,CAAC,OAAO,EAAE;YACzC,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;SACjC;IACH,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,CACL,oBAAC,cAAc,oBACT,IAAI,IACR,gBAAgB,EAAE,kBAA6D,EAC/E,SAAS,EAAE,IAAI,CACb,SAAS,EACT,MAAM,CAAC,oBAAoB,CAAC,EAC5B,SAAS,IAAI,MAAM,CAAC,uBAAuB,CAAC,EAC5C,eAAe,IAAI,MAAM,CAAC,mBAAmB,CAAC,CAC/C,EACD,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,KAE5C,SAAS,CAAC,CAAC,CAAC,CACX,oBAAC,YAAY,IACX,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,qBAAqB,GAC/C,CACH,CAAC,CAAC,CAAC,CACF;QACG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QAClB,8BAAM,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC;YACzC,oBAAC,MAAM,IACL,kBAAkB,EAAE,IAAI,EACxB,iBAAiB,EAAE,eAAe,EAClC,SAAS,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,iBAAiB,2DAAG,MAAM,CAAC,EAClD,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAC,MAAM,EACf,OAAO,EAAC,aAAa,GACrB,CACG,CACN,CACJ,CACc,CAClB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAW,EAGiB;QAHjB,EACtC,UAAU,OAE6C,EADpD,IAAI,cAF+B,cAGvC,CADQ;IAEP,IAAI,UAAU,IAAI,IAAI,CAAC,SAAS,EAAE;QAChC,OAAO,oBAAC,iBAAiB,oBAAK,IAAI,EAAI,CAAC;KACxC;IACD,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC9B,OAAO,oBAAC,cAAc,oBAAK,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAkB,CAAC;AACxE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport React, { useRef } from 'react';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update';\nimport Button from '../../button/internal';\nimport { ButtonProps } from '../../button/interfaces';\nimport { TableProps } from '../interfaces';\nimport { TableTdElement, TableTdElementProps } from './td-element';\nimport { InlineEditor } from './inline-editor';\n\nconst submitHandlerFallback = () => {\n throw new Error('The function `handleSubmit` is required for editable columns');\n};\n\ninterface TableBodyCellProps<ItemType> extends TableTdElementProps {\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n isEditing: boolean;\n onEditStart: () => void;\n onEditEnd: () => void;\n submitEdit?: TableProps.SubmitEditFunction<ItemType>;\n ariaLabels: TableProps['ariaLabels'];\n}\n\nfunction TableCellEditable<ItemType>({\n className,\n item,\n column,\n isEditing,\n onEditStart,\n onEditEnd,\n submitEdit,\n ariaLabels,\n isVisualRefresh,\n ...rest\n}: TableBodyCellProps<ItemType>) {\n const editActivateRef = useRef<ButtonProps.Ref>(null);\n const tdNativeAttributes = {\n 'data-inline-editing-active': isEditing.toString(),\n };\n\n useEffectOnUpdate(() => {\n if (!isEditing && editActivateRef.current) {\n editActivateRef.current.focus();\n }\n }, [isEditing]);\n\n return (\n <TableTdElement\n {...rest}\n nativeAttributes={tdNativeAttributes as TableTdElementProps['nativeAttributes']}\n className={clsx(\n className,\n styles['body-cell-editable'],\n isEditing && styles['body-cell-edit-active'],\n isVisualRefresh && styles['is-visual-refresh']\n )}\n onClick={!isEditing ? onEditStart : undefined}\n >\n {isEditing ? (\n <InlineEditor\n ariaLabels={ariaLabels}\n column={column}\n item={item}\n onEditEnd={onEditEnd}\n submitEdit={submitEdit ?? submitHandlerFallback}\n />\n ) : (\n <>\n {column.cell(item)}\n <span className={styles['body-cell-editor']}>\n <Button\n __hideFocusOutline={true}\n __internalRootRef={editActivateRef}\n ariaLabel={ariaLabels?.activateEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"edit\"\n variant=\"inline-icon\"\n />\n </span>\n </>\n )}\n </TableTdElement>\n );\n}\n\nexport function TableBodyCell<ItemType>({\n isEditable,\n ...rest\n}: TableBodyCellProps<ItemType> & { isEditable: boolean }) {\n if (isEditable || rest.isEditing) {\n return <TableCellEditable {...rest} />;\n }\n const { column, item } = rest;\n return <TableTdElement {...rest}>{column.cell(item)}</TableTdElement>;\n}\n"]}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"body-cell": "awsui_body-
|
|
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"}
|