@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
|
@@ -90,13 +90,13 @@ 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_resize-
|
|
93
|
+
.awsui_resize-active_x7peu_1px6f_93:not(#\9):not(.awsui_resize-active-with-focus_x7peu_1px6f_93) * {
|
|
94
94
|
cursor: col-resize;
|
|
95
95
|
-webkit-user-select: none;
|
|
96
96
|
user-select: none;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.
|
|
99
|
+
.awsui_resizer_x7peu_1px6f_98:not(#\9) {
|
|
100
100
|
bottom: 0;
|
|
101
101
|
cursor: col-resize;
|
|
102
102
|
position: absolute;
|
|
@@ -105,14 +105,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
105
105
|
width: var(--space-l-4vl6xu, 20px);
|
|
106
106
|
z-index: 10;
|
|
107
107
|
}
|
|
108
|
-
.awsui_resize-
|
|
108
|
+
.awsui_resize-active_x7peu_1px6f_93 .awsui_resizer_x7peu_1px6f_98:not(#\9) {
|
|
109
109
|
pointer-events: none;
|
|
110
110
|
}
|
|
111
|
-
th:not(#\9):last-child > .
|
|
111
|
+
th:not(#\9):last-child > .awsui_resizer_x7peu_1px6f_98 {
|
|
112
112
|
width: calc(var(--space-l-4vl6xu, 20px) / 2);
|
|
113
113
|
right: 0;
|
|
114
114
|
}
|
|
115
|
-
th:not(#\9):not(:last-child) > .
|
|
115
|
+
th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1px6f_98:hover::before, th:not(#\9):not(:last-child) > .awsui_resizer-active_x7peu_1px6f_114::before {
|
|
116
116
|
content: "";
|
|
117
117
|
position: absolute;
|
|
118
118
|
left: calc(var(--space-l-4vl6xu, 20px) / 2 - 2px);
|
|
@@ -124,15 +124,15 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1nqyy_98:hover::before, th:n
|
|
|
124
124
|
border-left: 2px solid var(--color-border-divider-active-nnnfx9, #7d8998);
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
}
|
|
127
|
-
.
|
|
127
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9) {
|
|
128
128
|
position: relative;
|
|
129
129
|
position: absolute;
|
|
130
130
|
}
|
|
131
|
-
.
|
|
131
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9) {
|
|
132
132
|
outline: 2px dotted transparent;
|
|
133
133
|
outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9)::before {
|
|
136
136
|
content: " ";
|
|
137
137
|
display: block;
|
|
138
138
|
position: absolute;
|
|
@@ -143,11 +143,11 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1nqyy_98:hover::before, th:n
|
|
|
143
143
|
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
144
144
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9)::before {
|
|
147
147
|
box-shadow: inset 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
.awsui_tracker_x7peu_1px6f_149:not(#\9) {
|
|
151
151
|
display: none;
|
|
152
152
|
position: absolute;
|
|
153
153
|
border-left: var(--border-divider-list-width-hacikr, 1px) dashed var(--color-border-divider-active-nnnfx9, #7d8998);
|
|
@@ -155,6 +155,6 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1nqyy_98:hover::before, th:n
|
|
|
155
155
|
top: 0;
|
|
156
156
|
bottom: 0;
|
|
157
157
|
}
|
|
158
|
-
.awsui_resize-
|
|
158
|
+
.awsui_resize-active_x7peu_1px6f_93 .awsui_tracker_x7peu_1px6f_149:not(#\9) {
|
|
159
159
|
display: block;
|
|
160
160
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"resize-active": "awsui_resize-
|
|
6
|
-
"resize-active-with-focus": "awsui_resize-active-with-
|
|
7
|
-
"resizer": "
|
|
8
|
-
"resizer-active": "awsui_resizer-
|
|
9
|
-
"has-focus": "awsui_has-
|
|
10
|
-
"tracker": "
|
|
5
|
+
"resize-active": "awsui_resize-active_x7peu_1px6f_93",
|
|
6
|
+
"resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1px6f_93",
|
|
7
|
+
"resizer": "awsui_resizer_x7peu_1px6f_98",
|
|
8
|
+
"resizer-active": "awsui_resizer-active_x7peu_1px6f_114",
|
|
9
|
+
"has-focus": "awsui_has-focus_x7peu_1px6f_126",
|
|
10
|
+
"tracker": "awsui_tracker_x7peu_1px6f_149"
|
|
11
11
|
};
|
|
12
12
|
|
package/table/styles.css.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"tools": "
|
|
6
|
-
"tools-filtering": "awsui_tools-
|
|
7
|
-
"tools-align-right": "awsui_tools-align-
|
|
8
|
-
"tools-pagination": "awsui_tools-
|
|
9
|
-
"tools-preferences": "awsui_tools-
|
|
10
|
-
"tools-small": "awsui_tools-
|
|
11
|
-
"table": "
|
|
12
|
-
"table-layout-fixed": "awsui_table-layout-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"variant-stacked": "awsui_variant-
|
|
15
|
-
"variant-container": "awsui_variant-
|
|
16
|
-
"variant-embedded": "awsui_variant-
|
|
17
|
-
"has-header": "awsui_has-
|
|
18
|
-
"has-footer": "awsui_has-
|
|
19
|
-
"cell-merged": "awsui_cell-
|
|
20
|
-
"cell-merged-content": "awsui_cell-merged-
|
|
21
|
-
"empty": "
|
|
22
|
-
"loading": "
|
|
23
|
-
"selection-control": "awsui_selection-
|
|
24
|
-
"selection-control-header": "awsui_selection-control-
|
|
25
|
-
"sticky-scrollbar": "awsui_sticky-
|
|
26
|
-
"sticky-scrollbar-content": "awsui_sticky-scrollbar-
|
|
27
|
-
"sticky-scrollbar-visible": "awsui_sticky-scrollbar-
|
|
28
|
-
"dark-header": "awsui_dark-
|
|
29
|
-
"header-secondary": "awsui_header-
|
|
30
|
-
"table-has-header": "awsui_table-has-
|
|
31
|
-
"header-controls": "awsui_header-
|
|
32
|
-
"footer-wrapper": "awsui_footer-
|
|
33
|
-
"footer": "
|
|
34
|
-
"thead-active": "awsui_thead-
|
|
35
|
-
"row": "
|
|
36
|
-
"row-selected": "awsui_row-
|
|
4
|
+
"root": "awsui_root_wih1l_17qe8_97",
|
|
5
|
+
"tools": "awsui_tools_wih1l_17qe8_108",
|
|
6
|
+
"tools-filtering": "awsui_tools-filtering_wih1l_17qe8_114",
|
|
7
|
+
"tools-align-right": "awsui_tools-align-right_wih1l_17qe8_128",
|
|
8
|
+
"tools-pagination": "awsui_tools-pagination_wih1l_17qe8_132",
|
|
9
|
+
"tools-preferences": "awsui_tools-preferences_wih1l_17qe8_132",
|
|
10
|
+
"tools-small": "awsui_tools-small_wih1l_17qe8_138",
|
|
11
|
+
"table": "awsui_table_wih1l_17qe8_144",
|
|
12
|
+
"table-layout-fixed": "awsui_table-layout-fixed_wih1l_17qe8_150",
|
|
13
|
+
"wrapper": "awsui_wrapper_wih1l_17qe8_154",
|
|
14
|
+
"variant-stacked": "awsui_variant-stacked_wih1l_17qe8_162",
|
|
15
|
+
"variant-container": "awsui_variant-container_wih1l_17qe8_162",
|
|
16
|
+
"variant-embedded": "awsui_variant-embedded_wih1l_17qe8_166",
|
|
17
|
+
"has-header": "awsui_has-header_wih1l_17qe8_169",
|
|
18
|
+
"has-footer": "awsui_has-footer_wih1l_17qe8_172",
|
|
19
|
+
"cell-merged": "awsui_cell-merged_wih1l_17qe8_186",
|
|
20
|
+
"cell-merged-content": "awsui_cell-merged-content_wih1l_17qe8_197",
|
|
21
|
+
"empty": "awsui_empty_wih1l_17qe8_212",
|
|
22
|
+
"loading": "awsui_loading_wih1l_17qe8_216",
|
|
23
|
+
"selection-control": "awsui_selection-control_wih1l_17qe8_225",
|
|
24
|
+
"selection-control-header": "awsui_selection-control-header_wih1l_17qe8_232",
|
|
25
|
+
"sticky-scrollbar": "awsui_sticky-scrollbar_wih1l_17qe8_237",
|
|
26
|
+
"sticky-scrollbar-content": "awsui_sticky-scrollbar-content_wih1l_17qe8_247",
|
|
27
|
+
"sticky-scrollbar-visible": "awsui_sticky-scrollbar-visible_wih1l_17qe8_250",
|
|
28
|
+
"dark-header": "awsui_dark-header_wih1l_17qe8_258",
|
|
29
|
+
"header-secondary": "awsui_header-secondary_wih1l_17qe8_263",
|
|
30
|
+
"table-has-header": "awsui_table-has-header_wih1l_17qe8_279",
|
|
31
|
+
"header-controls": "awsui_header-controls_wih1l_17qe8_283",
|
|
32
|
+
"footer-wrapper": "awsui_footer-wrapper_wih1l_17qe8_297",
|
|
33
|
+
"footer": "awsui_footer_wih1l_17qe8_297",
|
|
34
|
+
"thead-active": "awsui_thead-active_wih1l_17qe8_306",
|
|
35
|
+
"row": "awsui_row_wih1l_17qe8_307",
|
|
36
|
+
"row-selected": "awsui_row-selected_wih1l_17qe8_308"
|
|
37
37
|
};
|
|
38
38
|
|
package/table/styles.scoped.css
CHANGED
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_wih1l_17qe8_97:not(#\9) {
|
|
98
98
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
99
99
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
100
100
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
@@ -105,53 +105,53 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
105
105
|
width: 100%;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.awsui_tools_wih1l_17qe8_108:not(#\9) {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: flex-start;
|
|
111
111
|
flex-wrap: wrap;
|
|
112
112
|
padding: var(--space-scaled-xs-6859qs, 8px) 0 var(--space-scaled-xxs-95dhkm, 4px);
|
|
113
113
|
}
|
|
114
|
-
.awsui_tools-
|
|
114
|
+
.awsui_tools-filtering_wih1l_17qe8_114:not(#\9) {
|
|
115
115
|
max-width: 100%;
|
|
116
116
|
margin-right: var(--space-l-4vl6xu, 20px);
|
|
117
117
|
}
|
|
118
118
|
@supports (flex-basis: fit-content) {
|
|
119
|
-
.awsui_tools-
|
|
119
|
+
.awsui_tools-filtering_wih1l_17qe8_114:not(#\9) {
|
|
120
120
|
flex: 1 1 fit-content;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
@supports not (flex-basis: fit-content) {
|
|
124
|
-
.awsui_tools-
|
|
124
|
+
.awsui_tools-filtering_wih1l_17qe8_114:not(#\9) {
|
|
125
125
|
flex: 1 1 auto;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.awsui_tools-align-
|
|
128
|
+
.awsui_tools-align-right_wih1l_17qe8_128:not(#\9) {
|
|
129
129
|
display: flex;
|
|
130
130
|
margin-left: auto;
|
|
131
131
|
}
|
|
132
|
-
.awsui_tools-
|
|
132
|
+
.awsui_tools-pagination_wih1l_17qe8_132 + .awsui_tools-preferences_wih1l_17qe8_132:not(#\9) {
|
|
133
133
|
border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
134
134
|
box-sizing: border-box;
|
|
135
135
|
margin-left: var(--space-xs-rsr2qu, 8px);
|
|
136
136
|
padding-left: var(--space-xs-rsr2qu, 8px);
|
|
137
137
|
}
|
|
138
|
-
.awsui_tools-
|
|
138
|
+
.awsui_tools-small_wih1l_17qe8_138 > .awsui_tools-filtering_wih1l_17qe8_114:not(#\9) {
|
|
139
139
|
margin-right: 0;
|
|
140
140
|
margin-bottom: var(--space-scaled-xs-6859qs, 8px);
|
|
141
141
|
flex-basis: 100%;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.awsui_table_wih1l_17qe8_144:not(#\9) {
|
|
145
145
|
width: 100%;
|
|
146
146
|
border-spacing: 0;
|
|
147
147
|
position: relative;
|
|
148
148
|
box-sizing: border-box;
|
|
149
149
|
}
|
|
150
|
-
.awsui_table-layout-
|
|
150
|
+
.awsui_table-layout-fixed_wih1l_17qe8_150:not(#\9) {
|
|
151
151
|
table-layout: fixed;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.awsui_wrapper_wih1l_17qe8_154:not(#\9) {
|
|
155
155
|
position: relative;
|
|
156
156
|
box-sizing: border-box;
|
|
157
157
|
width: 100%;
|
|
@@ -159,42 +159,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
159
|
padding-bottom: var(--space-table-content-bottom-pg6yvn, 4px);
|
|
160
160
|
overflow-x: auto;
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
.awsui_wrapper_wih1l_17qe8_154.awsui_variant-stacked_wih1l_17qe8_162 > .awsui_table_wih1l_17qe8_144:not(#\9), .awsui_wrapper_wih1l_17qe8_154.awsui_variant-container_wih1l_17qe8_162 > .awsui_table_wih1l_17qe8_144:not(#\9) {
|
|
163
163
|
padding-left: var(--space-table-horizontal-mj7h0h, 20px);
|
|
164
164
|
padding-right: var(--space-table-horizontal-mj7h0h, 20px);
|
|
165
165
|
}
|
|
166
|
-
.
|
|
166
|
+
.awsui_wrapper_wih1l_17qe8_154.awsui_variant-embedded_wih1l_17qe8_166:not(#\9) {
|
|
167
167
|
padding-bottom: var(--space-table-embedded-content-bottom-7vc5vt, 0px);
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
.awsui_wrapper_wih1l_17qe8_154.awsui_has-header_wih1l_17qe8_169:not(#\9) {
|
|
170
170
|
padding-top: 0px;
|
|
171
171
|
}
|
|
172
|
-
.
|
|
172
|
+
.awsui_wrapper_wih1l_17qe8_154.awsui_has-footer_wih1l_17qe8_172:not(#\9) {
|
|
173
173
|
padding-bottom: 0px;
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
.awsui_wrapper_wih1l_17qe8_154:not(#\9):not(.awsui_has-header_wih1l_17qe8_169) {
|
|
176
176
|
border-top-right-radius: var(--border-radius-container-gh9ysk, 16px);
|
|
177
177
|
border-top-left-radius: var(--border-radius-container-gh9ysk, 16px);
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_17qe8_154:not(#\9):focus {
|
|
180
180
|
outline: 2px dotted transparent;
|
|
181
181
|
outline-offset: 2px;
|
|
182
182
|
border-radius: var(--border-radius-container-gh9ysk, 16px);
|
|
183
183
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.awsui_cell-
|
|
186
|
+
.awsui_cell-merged_wih1l_17qe8_186:not(#\9) {
|
|
187
187
|
text-align: center;
|
|
188
188
|
padding: 0;
|
|
189
189
|
}
|
|
190
|
-
.awsui_cell-
|
|
190
|
+
.awsui_cell-merged_wih1l_17qe8_186.awsui_has-footer_wih1l_17qe8_172:not(#\9) {
|
|
191
191
|
/*
|
|
192
192
|
Add a bottom border to the body cell of an empty table as a separator between the
|
|
193
193
|
table and the footer
|
|
194
194
|
*/
|
|
195
195
|
border-bottom: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
196
196
|
}
|
|
197
|
-
.awsui_cell-merged-
|
|
197
|
+
.awsui_cell-merged-content_wih1l_17qe8_197:not(#\9) {
|
|
198
198
|
box-sizing: border-box;
|
|
199
199
|
width: 100%;
|
|
200
200
|
padding: var(--space-scaled-m-pv0fmt, 16px) var(--space-l-4vl6xu, 20px) var(--space-scaled-l-t03y3z, 20px);
|
|
@@ -202,18 +202,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
202
202
|
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
203
203
|
}
|
|
204
204
|
@supports (position: sticky) {
|
|
205
|
-
.awsui_cell-merged-
|
|
205
|
+
.awsui_cell-merged-content_wih1l_17qe8_197:not(#\9) {
|
|
206
206
|
position: sticky;
|
|
207
207
|
left: 0;
|
|
208
208
|
margin: 0 calc(-2 * var(--space-table-horizontal-mj7h0h, 20px));
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.
|
|
212
|
+
.awsui_empty_wih1l_17qe8_212:not(#\9) {
|
|
213
213
|
color: var(--color-text-empty-fjv325, #5f6b7a);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.
|
|
216
|
+
.awsui_loading_wih1l_17qe8_216:not(#\9) {
|
|
217
217
|
/* used in test-utils */
|
|
218
218
|
}
|
|
219
219
|
|
|
@@ -222,19 +222,19 @@ The min/max/width token values in Visual Refresh should align
|
|
|
222
222
|
the table header and body cells selection control with the table
|
|
223
223
|
filter search icon.
|
|
224
224
|
*/
|
|
225
|
-
.awsui_selection-
|
|
225
|
+
.awsui_selection-control_wih1l_17qe8_225:not(#\9) {
|
|
226
226
|
box-sizing: border-box;
|
|
227
227
|
max-width: var(--size-table-selection-horizontal-o8c8gs, 40px);
|
|
228
228
|
min-width: var(--size-table-selection-horizontal-o8c8gs, 40px);
|
|
229
229
|
position: relative;
|
|
230
230
|
width: var(--size-table-selection-horizontal-o8c8gs, 40px);
|
|
231
231
|
}
|
|
232
|
-
.awsui_selection-
|
|
232
|
+
.awsui_selection-control_wih1l_17qe8_225.awsui_selection-control-header_wih1l_17qe8_232:not(#\9) {
|
|
233
233
|
padding: var(--space-scaled-xs-6859qs, 8px) var(--space-scaled-l-t03y3z, 20px);
|
|
234
234
|
border-left: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.awsui_sticky-
|
|
237
|
+
.awsui_sticky-scrollbar_wih1l_17qe8_237:not(#\9) {
|
|
238
238
|
height: 15px;
|
|
239
239
|
position: fixed;
|
|
240
240
|
display: none;
|
|
@@ -244,10 +244,10 @@ filter search icon.
|
|
|
244
244
|
bottom: 0;
|
|
245
245
|
width: 100%;
|
|
246
246
|
}
|
|
247
|
-
.awsui_sticky-scrollbar-
|
|
247
|
+
.awsui_sticky-scrollbar-content_wih1l_17qe8_247:not(#\9) {
|
|
248
248
|
height: 15px;
|
|
249
249
|
}
|
|
250
|
-
.awsui_sticky-scrollbar-
|
|
250
|
+
.awsui_sticky-scrollbar-visible_wih1l_17qe8_250:not(#\9) {
|
|
251
251
|
display: block;
|
|
252
252
|
}
|
|
253
253
|
|
|
@@ -255,12 +255,12 @@ filter search icon.
|
|
|
255
255
|
The dynamic height dark header needs a background that will cover
|
|
256
256
|
the default white background of the container component.
|
|
257
257
|
*/
|
|
258
|
-
.awsui_dark-
|
|
258
|
+
.awsui_dark-header_wih1l_17qe8_258:not(#\9) {
|
|
259
259
|
background-color: var(--color-background-layout-main-sfhm4y, #ffffff);
|
|
260
260
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.awsui_header-
|
|
263
|
+
.awsui_header-secondary_wih1l_17qe8_263:not(#\9) {
|
|
264
264
|
overflow: auto;
|
|
265
265
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
266
266
|
scrollbar-width: none; /* Firefox */
|
|
@@ -269,42 +269,42 @@ the default white background of the container component.
|
|
|
269
269
|
border-radius: 0;
|
|
270
270
|
background: var(--color-background-table-header-i1pa1g, #ffffff);
|
|
271
271
|
}
|
|
272
|
-
.awsui_header-
|
|
272
|
+
.awsui_header-secondary_wih1l_17qe8_263.awsui_variant-stacked_wih1l_17qe8_162 > .awsui_table_wih1l_17qe8_144:not(#\9), .awsui_header-secondary_wih1l_17qe8_263.awsui_variant-container_wih1l_17qe8_162 > .awsui_table_wih1l_17qe8_144:not(#\9) {
|
|
273
273
|
padding-left: var(--space-table-horizontal-mj7h0h, 20px);
|
|
274
274
|
padding-right: var(--space-table-horizontal-mj7h0h, 20px);
|
|
275
275
|
}
|
|
276
|
-
.awsui_header-
|
|
276
|
+
.awsui_header-secondary_wih1l_17qe8_263:not(#\9)::-webkit-scrollbar {
|
|
277
277
|
display: none; /* Safari and Chrome */
|
|
278
278
|
}
|
|
279
|
-
.awsui_header-
|
|
279
|
+
.awsui_header-secondary_wih1l_17qe8_263.awsui_table-has-header_wih1l_17qe8_279:not(#\9) {
|
|
280
280
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-container-divider-4ade7z, transparent);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.awsui_header-
|
|
283
|
+
.awsui_header-controls_wih1l_17qe8_283:not(#\9) {
|
|
284
284
|
padding-top: var(--space-container-header-vertical-zsjhel, 12px);
|
|
285
285
|
padding-bottom: var(--space-container-header-vertical-zsjhel, 12px);
|
|
286
286
|
}
|
|
287
|
-
.awsui_header-
|
|
287
|
+
.awsui_header-controls_wih1l_17qe8_283.awsui_variant-stacked_wih1l_17qe8_162:not(#\9), .awsui_header-controls_wih1l_17qe8_283.awsui_variant-container_wih1l_17qe8_162:not(#\9) {
|
|
288
288
|
padding-left: calc(var(--space-table-horizontal-mj7h0h, 20px) + var(--space-table-header-horizontal-et2ko8, 0px));
|
|
289
289
|
padding-right: calc(var(--space-table-horizontal-mj7h0h, 20px) + var(--space-table-header-horizontal-et2ko8, 0px));
|
|
290
290
|
}
|
|
291
|
-
.awsui_header-
|
|
291
|
+
.awsui_header-controls_wih1l_17qe8_283.awsui_variant-embedded_wih1l_17qe8_166:not(#\9) {
|
|
292
292
|
padding-left: var(--space-table-header-horizontal-et2ko8, 0px);
|
|
293
293
|
padding-right: var(--space-table-header-horizontal-et2ko8, 0px);
|
|
294
294
|
padding-top: var(--space-table-embedded-header-top-zf07fk, 0px);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
.awsui_footer-
|
|
297
|
+
.awsui_footer-wrapper_wih1l_17qe8_297.awsui_variant-stacked_wih1l_17qe8_162:not(#\9), .awsui_footer-wrapper_wih1l_17qe8_297.awsui_variant-container_wih1l_17qe8_162:not(#\9) {
|
|
298
298
|
padding-left: var(--space-table-horizontal-mj7h0h, 20px);
|
|
299
299
|
padding-right: var(--space-table-horizontal-mj7h0h, 20px);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
.awsui_footer_wih1l_17qe8_297:not(#\9) {
|
|
303
303
|
padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-table-footer-horizontal-8o6sk8, 0px);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.awsui_thead-
|
|
307
|
-
.
|
|
308
|
-
.awsui_row-
|
|
306
|
+
.awsui_thead-active_wih1l_17qe8_306:not(#\9),
|
|
307
|
+
.awsui_row_wih1l_17qe8_307:not(#\9),
|
|
308
|
+
.awsui_row-selected_wih1l_17qe8_308:not(#\9) {
|
|
309
309
|
/* used in test-utils */
|
|
310
310
|
}
|
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"tools": "
|
|
7
|
-
"tools-filtering": "awsui_tools-
|
|
8
|
-
"tools-align-right": "awsui_tools-align-
|
|
9
|
-
"tools-pagination": "awsui_tools-
|
|
10
|
-
"tools-preferences": "awsui_tools-
|
|
11
|
-
"tools-small": "awsui_tools-
|
|
12
|
-
"table": "
|
|
13
|
-
"table-layout-fixed": "awsui_table-layout-
|
|
14
|
-
"wrapper": "
|
|
15
|
-
"variant-stacked": "awsui_variant-
|
|
16
|
-
"variant-container": "awsui_variant-
|
|
17
|
-
"variant-embedded": "awsui_variant-
|
|
18
|
-
"has-header": "awsui_has-
|
|
19
|
-
"has-footer": "awsui_has-
|
|
20
|
-
"cell-merged": "awsui_cell-
|
|
21
|
-
"cell-merged-content": "awsui_cell-merged-
|
|
22
|
-
"empty": "
|
|
23
|
-
"loading": "
|
|
24
|
-
"selection-control": "awsui_selection-
|
|
25
|
-
"selection-control-header": "awsui_selection-control-
|
|
26
|
-
"sticky-scrollbar": "awsui_sticky-
|
|
27
|
-
"sticky-scrollbar-content": "awsui_sticky-scrollbar-
|
|
28
|
-
"sticky-scrollbar-visible": "awsui_sticky-scrollbar-
|
|
29
|
-
"dark-header": "awsui_dark-
|
|
30
|
-
"header-secondary": "awsui_header-
|
|
31
|
-
"table-has-header": "awsui_table-has-
|
|
32
|
-
"header-controls": "awsui_header-
|
|
33
|
-
"footer-wrapper": "awsui_footer-
|
|
34
|
-
"footer": "
|
|
35
|
-
"thead-active": "awsui_thead-
|
|
36
|
-
"row": "
|
|
37
|
-
"row-selected": "awsui_row-
|
|
5
|
+
"root": "awsui_root_wih1l_17qe8_97",
|
|
6
|
+
"tools": "awsui_tools_wih1l_17qe8_108",
|
|
7
|
+
"tools-filtering": "awsui_tools-filtering_wih1l_17qe8_114",
|
|
8
|
+
"tools-align-right": "awsui_tools-align-right_wih1l_17qe8_128",
|
|
9
|
+
"tools-pagination": "awsui_tools-pagination_wih1l_17qe8_132",
|
|
10
|
+
"tools-preferences": "awsui_tools-preferences_wih1l_17qe8_132",
|
|
11
|
+
"tools-small": "awsui_tools-small_wih1l_17qe8_138",
|
|
12
|
+
"table": "awsui_table_wih1l_17qe8_144",
|
|
13
|
+
"table-layout-fixed": "awsui_table-layout-fixed_wih1l_17qe8_150",
|
|
14
|
+
"wrapper": "awsui_wrapper_wih1l_17qe8_154",
|
|
15
|
+
"variant-stacked": "awsui_variant-stacked_wih1l_17qe8_162",
|
|
16
|
+
"variant-container": "awsui_variant-container_wih1l_17qe8_162",
|
|
17
|
+
"variant-embedded": "awsui_variant-embedded_wih1l_17qe8_166",
|
|
18
|
+
"has-header": "awsui_has-header_wih1l_17qe8_169",
|
|
19
|
+
"has-footer": "awsui_has-footer_wih1l_17qe8_172",
|
|
20
|
+
"cell-merged": "awsui_cell-merged_wih1l_17qe8_186",
|
|
21
|
+
"cell-merged-content": "awsui_cell-merged-content_wih1l_17qe8_197",
|
|
22
|
+
"empty": "awsui_empty_wih1l_17qe8_212",
|
|
23
|
+
"loading": "awsui_loading_wih1l_17qe8_216",
|
|
24
|
+
"selection-control": "awsui_selection-control_wih1l_17qe8_225",
|
|
25
|
+
"selection-control-header": "awsui_selection-control-header_wih1l_17qe8_232",
|
|
26
|
+
"sticky-scrollbar": "awsui_sticky-scrollbar_wih1l_17qe8_237",
|
|
27
|
+
"sticky-scrollbar-content": "awsui_sticky-scrollbar-content_wih1l_17qe8_247",
|
|
28
|
+
"sticky-scrollbar-visible": "awsui_sticky-scrollbar-visible_wih1l_17qe8_250",
|
|
29
|
+
"dark-header": "awsui_dark-header_wih1l_17qe8_258",
|
|
30
|
+
"header-secondary": "awsui_header-secondary_wih1l_17qe8_263",
|
|
31
|
+
"table-has-header": "awsui_table-has-header_wih1l_17qe8_279",
|
|
32
|
+
"header-controls": "awsui_header-controls_wih1l_17qe8_283",
|
|
33
|
+
"footer-wrapper": "awsui_footer-wrapper_wih1l_17qe8_297",
|
|
34
|
+
"footer": "awsui_footer_wih1l_17qe8_297",
|
|
35
|
+
"thead-active": "awsui_thead-active_wih1l_17qe8_306",
|
|
36
|
+
"row": "awsui_row_wih1l_17qe8_307",
|
|
37
|
+
"row-selected": "awsui_row-selected_wih1l_17qe8_308"
|
|
38
38
|
};
|
|
39
39
|
|
package/tabs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["tabs/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["tabs/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AASzC,OAAO,EAAE,SAAS,EAAE,CAAC;AAGrB,eAAO,MAAM,eAAe,cAA+E,CAAC;AAU5G,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,IAAI,EACJ,OAAmB,EACnB,QAAQ,EACR,WAAW,EAAE,eAAe,EAC5B,SAAS,EACT,cAAc,EACd,sBAA8B,EAC9B,WAAW,EACX,GAAG,IAAI,EACR,EAAE,SAAS,eAyFX"}
|
package/tabs/index.js
CHANGED
|
@@ -12,7 +12,6 @@ import { useControllable } from '../internal/hooks/use-controllable';
|
|
|
12
12
|
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
13
13
|
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
14
14
|
import { checkSafeUrl } from '../internal/utils/check-safe-url';
|
|
15
|
-
import useFocusVisible from '../internal/hooks/focus-visible';
|
|
16
15
|
let lastGeneratedId = 0;
|
|
17
16
|
export const nextGeneratedId = () => `awsui-tabs-${lastGeneratedId++}-${Math.round(Math.random() * 10000)}`;
|
|
18
17
|
function firstEnabledTab(tabs) {
|
|
@@ -36,7 +35,6 @@ export default function Tabs(_a) {
|
|
|
36
35
|
changeHandler: 'onChange',
|
|
37
36
|
});
|
|
38
37
|
const baseProps = getBaseProps(rest);
|
|
39
|
-
const focusVisible = useFocusVisible();
|
|
40
38
|
const content = () => {
|
|
41
39
|
const selectedTab = tabs.filter(tab => tab.id === activeTabId)[0];
|
|
42
40
|
const renderContent = (tab) => {
|
|
@@ -45,7 +43,14 @@ export default function Tabs(_a) {
|
|
|
45
43
|
[styles['tabs-content']]: true,
|
|
46
44
|
[styles['tabs-content-active']]: isTabSelected,
|
|
47
45
|
});
|
|
48
|
-
const contentAttributes =
|
|
46
|
+
const contentAttributes = {
|
|
47
|
+
className: classes,
|
|
48
|
+
role: 'tabpanel',
|
|
49
|
+
id: `${idNamespace}-${tab.id}-panel`,
|
|
50
|
+
key: `${idNamespace}-${tab.id}-panel`,
|
|
51
|
+
tabIndex: 0,
|
|
52
|
+
'aria-labelledby': getTabElementId({ namespace: idNamespace, tabId: tab.id }),
|
|
53
|
+
};
|
|
49
54
|
const isContentShown = isTabSelected && !selectedTab.disabled;
|
|
50
55
|
return React.createElement("div", Object.assign({}, contentAttributes), isContentShown && selectedTab.content);
|
|
51
56
|
};
|
package/tabs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["tabs/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AAEtD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CA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d,qBAAqB,EAAE,IAAI,IACvB,SAAS,IACb,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,EACjD,iBAAiB,EAAE,iBAAiB,EACpC,sBAAsB,EAAE,IAAI,KAE3B,OAAO,EAAE,CACQ,CACrB,CAAC;KACH;IAED,OAAO,CACL,6CAAS,SAAS,IAAE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,iBAAiB;QACvG,MAAM;QACN,OAAO,EAAE,CACN,CACP,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useState } from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport InternalContainer from '../container/internal';\nimport { TabsProps } from './interfaces';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport { getTabElementId, TabHeaderBar } from './tab-header-bar';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\n\nexport { TabsProps };\n\nlet lastGeneratedId = 0;\nexport const nextGeneratedId = () => `awsui-tabs-${lastGeneratedId++}-${Math.round(Math.random() * 10000)}`;\n\nfunction firstEnabledTab(tabs: ReadonlyArray<TabsProps.Tab>) {\n const enabledTabs = tabs.filter(tab => !tab.disabled);\n if (enabledTabs.length > 0) {\n return enabledTabs[0];\n }\n return null;\n}\n\nexport default function Tabs({\n tabs,\n variant = 'default',\n onChange,\n activeTabId: controlledTabId,\n ariaLabel,\n ariaLabelledby,\n disableContentPaddings = false,\n i18nStrings,\n ...rest\n}: TabsProps) {\n for (const tab of tabs) {\n checkSafeUrl('Tabs', tab.href);\n }\n const { __internalRootRef } = useBaseComponent('Tabs');\n const [idNamespace] = useState(() => nextGeneratedId());\n\n const [activeTabId, setActiveTabId] = useControllable(controlledTabId, onChange, firstEnabledTab(tabs)?.id ?? '', {\n componentName: 'Tabs',\n controlledProp: 'activeTabId',\n changeHandler: 'onChange',\n });\n\n const baseProps = getBaseProps(rest);\n\n const content = () => {\n const selectedTab = tabs.filter(tab => tab.id === activeTabId)[0];\n const renderContent = (tab: TabsProps.Tab) => {\n const isTabSelected = tab === selectedTab;\n\n const classes = clsx({\n [styles['tabs-content']]: true,\n [styles['tabs-content-active']]: isTabSelected,\n });\n\n const contentAttributes: JSX.IntrinsicElements['div'] = {\n className: classes,\n role: 'tabpanel',\n id: `${idNamespace}-${tab.id}-panel`,\n key: `${idNamespace}-${tab.id}-panel`,\n tabIndex: 0,\n 'aria-labelledby': getTabElementId({ namespace: idNamespace, tabId: tab.id }),\n };\n\n const isContentShown = isTabSelected && !selectedTab.disabled;\n return <div {...contentAttributes}>{isContentShown && selectedTab.content}</div>;\n };\n\n return (\n <div\n className={clsx(\n variant === 'container' ? styles['tabs-container-content-wrapper'] : styles['tabs-content-wrapper'],\n {\n [styles['with-paddings']]: !disableContentPaddings,\n }\n )}\n >\n {tabs.map(renderContent)}\n </div>\n );\n };\n\n const header = (\n <TabHeaderBar\n activeTabId={activeTabId}\n variant={variant}\n idNamespace={idNamespace}\n ariaLabel={ariaLabel}\n ariaLabelledby={ariaLabelledby}\n tabs={tabs}\n onChange={changeDetail => {\n setActiveTabId(changeDetail.activeTabId);\n fireNonCancelableEvent(onChange, changeDetail);\n }}\n i18nStrings={i18nStrings}\n />\n );\n\n if (variant === 'container') {\n return (\n <InternalContainer\n header={header}\n disableHeaderPaddings={true}\n {...baseProps}\n className={clsx(baseProps.className, styles.root)}\n __internalRootRef={__internalRootRef}\n disableContentPaddings={true}\n >\n {content()}\n </InternalContainer>\n );\n }\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root, styles.tabs)} ref={__internalRootRef}>\n {header}\n {content()}\n </div>\n );\n}\n\napplyDisplayName(Tabs, 'Tabs');\n"]}
|
package/tabs/styles.css.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"tabs-header": "awsui_tabs-
|
|
5
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
6
|
-
"pagination-button": "awsui_pagination-
|
|
7
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
8
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
9
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
10
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
11
|
-
"tabs-tab": "awsui_tabs-
|
|
12
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
13
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
14
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
15
|
-
"refresh": "
|
|
16
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
17
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
18
|
-
"root": "
|
|
19
|
-
"tabs": "
|
|
20
|
-
"tabs-content": "awsui_tabs-
|
|
21
|
-
"tabs-content-active": "awsui_tabs-content-
|
|
22
|
-
"tabs-content-wrapper": "awsui_tabs-content-
|
|
23
|
-
"with-paddings": "awsui_with-
|
|
24
|
-
"tabs-container-content-wrapper": "awsui_tabs-container-content-
|
|
4
|
+
"tabs-header": "awsui_tabs-header_14rmt_174dr_186",
|
|
5
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_174dr_192",
|
|
6
|
+
"pagination-button": "awsui_pagination-button_14rmt_174dr_207",
|
|
7
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_174dr_212",
|
|
8
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_174dr_215",
|
|
9
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_174dr_219",
|
|
10
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_174dr_222",
|
|
11
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_174dr_227",
|
|
12
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_174dr_238",
|
|
13
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_174dr_254",
|
|
14
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_174dr_313",
|
|
15
|
+
"refresh": "awsui_refresh_14rmt_174dr_331",
|
|
16
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_174dr_345",
|
|
17
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_174dr_352",
|
|
18
|
+
"root": "awsui_root_14rmt_174dr_356",
|
|
19
|
+
"tabs": "awsui_tabs_14rmt_174dr_186",
|
|
20
|
+
"tabs-content": "awsui_tabs-content_14rmt_174dr_375",
|
|
21
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_174dr_379",
|
|
22
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_174dr_389",
|
|
23
|
+
"with-paddings": "awsui_with-paddings_14rmt_174dr_389",
|
|
24
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_174dr_393"
|
|
25
25
|
};
|
|
26
26
|
|