@cloudscape-design/components 3.0.176 → 3.0.178
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/alert/styles.css.js +19 -19
- package/alert/styles.scoped.css +35 -31
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -29
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/area-chart/styles.css.js +13 -13
- package/area-chart/styles.scoped.css +18 -16
- package/area-chart/styles.selectors.js +13 -13
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +26 -24
- package/attribute-editor/styles.selectors.js +14 -14
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +2 -2
- package/autosuggest/internal.js.map +1 -1
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +7 -5
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +236 -234
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/styles.css.js +6 -6
- package/breadcrumb-group/styles.scoped.css +15 -11
- package/breadcrumb-group/styles.selectors.js +6 -6
- package/button/styles.css.js +18 -18
- package/button/styles.scoped.css +138 -136
- package/button/styles.selectors.js +18 -18
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +7 -5
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +40 -38
- package/calendar/styles.selectors.js +18 -18
- package/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +48 -44
- package/cards/styles.selectors.js +37 -37
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +7 -5
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +111 -109
- package/code-editor/styles.selectors.js +32 -32
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +45 -43
- package/column-layout/styles.selectors.js +13 -13
- package/container/index.d.ts.map +1 -1
- package/container/index.js +1 -1
- package/container/index.js.map +1 -1
- package/container/styles.css.js +17 -17
- package/container/styles.scoped.css +29 -27
- package/container/styles.selectors.js +17 -17
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +11 -9
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +47 -45
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +21 -21
- package/expandable-section/styles.scoped.css +44 -42
- package/expandable-section/styles.selectors.js +21 -21
- package/flashbar/styles.css.js +33 -33
- package/flashbar/styles.scoped.css +117 -115
- package/flashbar/styles.selectors.js +33 -33
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +10 -8
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +31 -29
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +56 -54
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +49 -47
- package/header/styles.selectors.js +44 -44
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +60 -58
- package/help-panel/styles.selectors.js +4 -4
- package/icon/icons.js +1 -1
- package/input/index.d.ts.map +1 -1
- package/input/index.js +2 -2
- package/input/index.js.map +1 -1
- package/input/interfaces.d.ts +4 -0
- package/input/interfaces.d.ts.map +1 -1
- package/input/interfaces.js.map +1 -1
- package/input/internal.d.ts +0 -1
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +16 -14
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +12 -13
- package/input/styles.scoped.css +35 -41
- package/input/styles.selectors.js +12 -13
- package/internal/components/autosuggest-input/index.d.ts +1 -0
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +2 -2
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +25 -23
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +5 -3
- package/internal/components/chart-filter/styles.selectors.js +3 -3
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +17 -15
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +5 -3
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +5 -5
- package/internal/components/chart-series-details/styles.scoped.css +12 -8
- package/internal/components/chart-series-details/styles.selectors.js +5 -5
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +9 -7
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +37 -35
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +5 -3
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +4 -2
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/focus-lock/index.d.ts +2 -1
- package/internal/components/focus-lock/index.d.ts.map +1 -1
- package/internal/components/focus-lock/index.js +28 -5
- package/internal/components/focus-lock/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +15 -13
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +15 -15
- package/internal/components/option/styles.scoped.css +27 -25
- package/internal/components/option/styles.selectors.js +15 -15
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +4 -2
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +29 -27
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/tab-trap/index.d.ts +7 -4
- package/internal/components/tab-trap/index.d.ts.map +1 -1
- package/internal/components/tab-trap/index.js +5 -3
- package/internal/components/tab-trap/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/hooks/use-merge-refs/index.d.ts +1 -1
- package/internal/hooks/use-merge-refs/index.d.ts.map +1 -1
- package/internal/hooks/use-merge-refs/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +75 -71
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +19 -19
- package/mixed-line-bar-chart/styles.scoped.css +28 -26
- package/mixed-line-bar-chart/styles.selectors.js +19 -19
- package/modal/internal.d.ts.map +1 -1
- package/modal/internal.js +2 -9
- package/modal/internal.js.map +1 -1
- package/modal/styles.css.js +22 -22
- package/modal/styles.scoped.css +42 -38
- package/modal/styles.selectors.js +22 -22
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +2 -2
- package/multiselect/internal.js.map +1 -1
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +3 -1
- package/multiselect/styles.selectors.js +1 -1
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +25 -23
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +45 -43
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +69 -63
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +34 -32
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/interfaces.d.ts +1 -0
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/styles.css.js +33 -33
- package/property-filter/styles.scoped.css +37 -35
- package/property-filter/styles.selectors.js +33 -33
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +1 -1
- package/property-filter/token-editor.js.map +1 -1
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +17 -15
- package/radio-group/styles.selectors.js +9 -9
- package/s3-resource-selector/interfaces.d.ts +1 -0
- package/s3-resource-selector/interfaces.d.ts.map +1 -1
- package/s3-resource-selector/interfaces.js.map +1 -1
- package/s3-resource-selector/s3-in-context/index.d.ts.map +1 -1
- package/s3-resource-selector/s3-in-context/index.js +1 -1
- package/s3-resource-selector/s3-in-context/index.js.map +1 -1
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +35 -33
- package/segmented-control/styles.selectors.js +14 -14
- package/select/interfaces.d.ts +4 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +2 -2
- package/select/internal.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/filter.d.ts.map +1 -1
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +3 -1
- package/select/styles.selectors.js +1 -1
- package/side-navigation/internal.js +1 -1
- package/side-navigation/internal.js.map +1 -1
- package/side-navigation/styles.css.js +22 -22
- package/side-navigation/styles.scoped.css +37 -32
- package/side-navigation/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +83 -81
- package/split-panel/styles.selectors.js +59 -59
- package/status-indicator/styles.css.js +20 -20
- package/status-indicator/styles.scoped.css +28 -26
- package/status-indicator/styles.selectors.js +20 -20
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +41 -39
- package/table/styles.selectors.js +33 -33
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +40 -38
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/index.d.ts.map +1 -1
- package/tag-editor/index.js +2 -2
- package/tag-editor/index.js.map +1 -1
- package/tag-editor/interfaces.d.ts +1 -0
- package/tag-editor/interfaces.d.ts.map +1 -1
- package/tag-editor/interfaces.js.map +1 -1
- package/tag-editor/internal.d.ts +1 -0
- package/tag-editor/internal.d.ts.map +1 -1
- package/tag-editor/internal.js +2 -2
- package/tag-editor/internal.js.map +1 -1
- package/test-utils/dom/input/index.js +1 -1
- package/test-utils/dom/input/index.js.map +1 -1
- package/test-utils/selectors/input/index.js +1 -1
- package/test-utils/selectors/input/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +62 -60
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/interfaces.d.ts +4 -0
- package/text-filter/interfaces.d.ts.map +1 -1
- package/text-filter/interfaces.js.map +1 -1
- package/text-filter/internal.d.ts.map +1 -1
- package/text-filter/internal.js +2 -2
- package/text-filter/internal.js.map +1 -1
- package/text-filter/styles.css.js +4 -4
- package/text-filter/styles.scoped.css +6 -4
- package/text-filter/styles.selectors.js +4 -4
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +14 -12
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +72 -68
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -13
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +26 -22
- package/token-group/styles.selectors.js +7 -7
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +44 -42
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +72 -66
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -21
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -27
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +3 -1
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +62 -60
- package/wizard/styles.selectors.js +32 -32
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dropdown-content-wrapper": "awsui_dropdown-content-
|
|
6
|
-
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
9
|
-
"root": "
|
|
10
|
-
"interior": "
|
|
11
|
-
"dropdown": "
|
|
12
|
-
"use-portal": "awsui_use-
|
|
13
|
-
"dropdown-drop-up": "awsui_dropdown-drop-
|
|
14
|
-
"with-limited-width": "awsui_with-limited-
|
|
15
|
-
"dropdown-drop-left": "awsui_dropdown-drop-
|
|
16
|
-
"dropdown-drop-right": "awsui_dropdown-drop-
|
|
17
|
-
"occupy-entire-width": "awsui_occupy-entire-
|
|
18
|
-
"hide-upper-border": "awsui_hide-upper-
|
|
19
|
-
"open": "
|
|
20
|
-
"nowrap": "
|
|
21
|
-
"is-empty": "awsui_is-
|
|
22
|
-
"dropdown-content": "awsui_dropdown-
|
|
23
|
-
"ie11-wrapper": "awsui_ie11-
|
|
24
|
-
"stretch-trigger-height": "awsui_stretch-trigger-
|
|
5
|
+
"dropdown-content-wrapper": "awsui_dropdown-content-wrapper_qwoo0_3app8_93",
|
|
6
|
+
"awsui-motion-fade-in-dropdown": "awsui_awsui-motion-fade-in-dropdown_qwoo0_3app8_1",
|
|
7
|
+
"refresh": "awsui_refresh_qwoo0_3app8_114",
|
|
8
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_qwoo0_3app8_1",
|
|
9
|
+
"root": "awsui_root_qwoo0_3app8_143",
|
|
10
|
+
"interior": "awsui_interior_qwoo0_3app8_157",
|
|
11
|
+
"dropdown": "awsui_dropdown_qwoo0_3app8_93",
|
|
12
|
+
"use-portal": "awsui_use-portal_qwoo0_3app8_168",
|
|
13
|
+
"dropdown-drop-up": "awsui_dropdown-drop-up_qwoo0_3app8_213",
|
|
14
|
+
"with-limited-width": "awsui_with-limited-width_qwoo0_3app8_217",
|
|
15
|
+
"dropdown-drop-left": "awsui_dropdown-drop-left_qwoo0_3app8_220",
|
|
16
|
+
"dropdown-drop-right": "awsui_dropdown-drop-right_qwoo0_3app8_223",
|
|
17
|
+
"occupy-entire-width": "awsui_occupy-entire-width_qwoo0_3app8_226",
|
|
18
|
+
"hide-upper-border": "awsui_hide-upper-border_qwoo0_3app8_229",
|
|
19
|
+
"open": "awsui_open_qwoo0_3app8_236",
|
|
20
|
+
"nowrap": "awsui_nowrap_qwoo0_3app8_245",
|
|
21
|
+
"is-empty": "awsui_is-empty_qwoo0_3app8_249",
|
|
22
|
+
"dropdown-content": "awsui_dropdown-content_qwoo0_3app8_93",
|
|
23
|
+
"ie11-wrapper": "awsui_ie11-wrapper_qwoo0_3app8_259",
|
|
24
|
+
"stretch-trigger-height": "awsui_stretch-trigger-height_qwoo0_3app8_263"
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"hidden": "
|
|
6
|
-
"no-items": "awsui_no-
|
|
4
|
+
"root": "awsui_root_1afi9_iwcpc_93",
|
|
5
|
+
"hidden": "awsui_hidden_1afi9_iwcpc_105",
|
|
6
|
+
"no-items": "awsui_no-items_1afi9_iwcpc_108"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -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
|
-
.
|
|
93
|
+
.awsui_root_1afi9_iwcpc_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -125,10 +125,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
125
125
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
126
126
|
font-weight: 400;
|
|
127
127
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
128
|
+
-webkit-font-smoothing: auto;
|
|
129
|
+
-moz-osx-font-smoothing: auto;
|
|
128
130
|
}
|
|
129
|
-
.
|
|
131
|
+
.awsui_root_1afi9_iwcpc_93:not(#\9):not(.awsui_hidden_1afi9_iwcpc_105) {
|
|
130
132
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-dropdown-item-default-faosd8, #e9ebed);
|
|
131
133
|
}
|
|
132
|
-
.
|
|
134
|
+
.awsui_root_1afi9_iwcpc_93:not(#\9):not(.awsui_hidden_1afi9_iwcpc_105).awsui_no-items_1afi9_iwcpc_108 {
|
|
133
135
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-dropdown-item-top-xnzq48, transparent);
|
|
134
136
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
-
"hidden": "
|
|
7
|
-
"no-items": "awsui_no-
|
|
5
|
+
"root": "awsui_root_1afi9_iwcpc_93",
|
|
6
|
+
"hidden": "awsui_hidden_1afi9_iwcpc_105",
|
|
7
|
+
"no-items": "awsui_no-items_1afi9_iwcpc_108"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -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
|
-
.
|
|
93
|
+
.awsui_root_vrgzu_fmosc_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -125,9 +125,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
125
125
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
126
126
|
font-weight: 400;
|
|
127
127
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
128
|
+
-webkit-font-smoothing: auto;
|
|
129
|
+
-moz-osx-font-smoothing: auto;
|
|
128
130
|
padding: var(--space-xxs-ynfts5, 4px) var(--space-field-horizontal-89h2yr, 12px) calc(var(--space-xxs-ynfts5, 4px) + var(--space-xxxs-k2w98v, 2px));
|
|
129
131
|
color: var(--color-text-dropdown-footer-rj6jvf, #5f6b7a);
|
|
130
132
|
}
|
|
131
|
-
.
|
|
133
|
+
.awsui_root_vrgzu_fmosc_93 > .awsui_recovery_vrgzu_fmosc_107:not(#\9) {
|
|
132
134
|
/* used in test-utils */
|
|
133
135
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
"recovery": "
|
|
5
|
+
"root": "awsui_root_vrgzu_fmosc_93",
|
|
6
|
+
"recovery": "awsui_recovery_vrgzu_fmosc_107"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -3,7 +3,8 @@ export interface FocusLockProps {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
autoFocus?: boolean;
|
|
6
|
+
restoreFocus?: boolean;
|
|
6
7
|
children: React.ReactNode;
|
|
7
8
|
}
|
|
8
|
-
export default function FocusLock({ className, disabled, autoFocus, children }: FocusLockProps): JSX.Element;
|
|
9
|
+
export default function FocusLock({ className, disabled, autoFocus, restoreFocus, children }: FocusLockProps): JSX.Element;
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/focus-lock/index.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/focus-lock/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,cAAc,eAwD3G"}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import React, { useEffect, useRef } from 'react';
|
|
3
|
+
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { useMergeRefs } from '../../hooks/use-merge-refs';
|
|
4
5
|
import TabTrap from '../tab-trap/index';
|
|
5
6
|
import { getFirstFocusable, getLastFocusable } from './utils';
|
|
6
7
|
export default function FocusLock(_a) {
|
|
7
|
-
var className = _a.className, disabled = _a.disabled, autoFocus = _a.autoFocus, children = _a.children;
|
|
8
|
+
var className = _a.className, disabled = _a.disabled, autoFocus = _a.autoFocus, restoreFocus = _a.restoreFocus, children = _a.children;
|
|
9
|
+
var returnFocusToRef = useRef(null);
|
|
8
10
|
var containerRef = useRef(null);
|
|
11
|
+
// Using a callback ref to detect component unmounts, which is safer than using useEffect.
|
|
12
|
+
var restoreFocusHandler = useCallback(function (elem) {
|
|
13
|
+
var _a;
|
|
14
|
+
if (elem === null && restoreFocus) {
|
|
15
|
+
(_a = returnFocusToRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
16
|
+
}
|
|
17
|
+
}, [restoreFocus]);
|
|
18
|
+
var mergedRef = useMergeRefs(containerRef, restoreFocusHandler);
|
|
9
19
|
var focusFirst = function () {
|
|
10
20
|
var _a;
|
|
11
21
|
if (containerRef.current) {
|
|
@@ -19,13 +29,26 @@ export default function FocusLock(_a) {
|
|
|
19
29
|
}
|
|
20
30
|
};
|
|
21
31
|
useEffect(function () {
|
|
22
|
-
if (autoFocus) {
|
|
32
|
+
if (autoFocus && !disabled) {
|
|
33
|
+
returnFocusToRef.current = document.activeElement;
|
|
23
34
|
focusFirst();
|
|
24
35
|
}
|
|
25
|
-
}, [autoFocus]);
|
|
36
|
+
}, [autoFocus, disabled]);
|
|
37
|
+
// Returns focus when disabled changes from false to true.
|
|
38
|
+
var _b = useState(!!disabled), prevDisabled = _b[0], setPrevDisabled = _b[1];
|
|
39
|
+
useEffect(function () {
|
|
40
|
+
var _a;
|
|
41
|
+
if (prevDisabled !== !!disabled) {
|
|
42
|
+
setPrevDisabled(!!disabled);
|
|
43
|
+
if (disabled && restoreFocus) {
|
|
44
|
+
(_a = returnFocusToRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
45
|
+
returnFocusToRef.current = null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}, [prevDisabled, disabled, restoreFocus]);
|
|
26
49
|
return (React.createElement(React.Fragment, null,
|
|
27
50
|
React.createElement(TabTrap, { disabled: disabled, focusNextCallback: focusLast }),
|
|
28
|
-
React.createElement("div", { className: className, ref:
|
|
51
|
+
React.createElement("div", { className: className, ref: mergedRef }, children),
|
|
29
52
|
React.createElement(TabTrap, { disabled: disabled, focusNextCallback: focusFirst })));
|
|
30
53
|
}
|
|
31
54
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/focus-lock/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/focus-lock/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAU9D,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAA0E;QAAxE,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,YAAY,kBAAA,EAAE,QAAQ,cAAA;IACxF,IAAM,gBAAgB,GAAG,MAAM,CAA0B,IAAI,CAAC,CAAC;IAC/D,IAAM,YAAY,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IAEzD,0FAA0F;IAC1F,IAAM,mBAAmB,GAAG,WAAW,CACrC,UAAC,IAA2B;;QAC1B,IAAI,IAAI,KAAK,IAAI,IAAI,YAAY,EAAE;YACjC,MAAA,gBAAgB,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;SACnC;IACH,CAAC,EACD,CAAC,YAAY,CAAC,CACf,CAAC;IAEF,IAAM,SAAS,GAAG,YAAY,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;IAElE,IAAM,UAAU,GAAG;;QACjB,IAAI,YAAY,CAAC,OAAO,EAAE;YACxB,MAAA,iBAAiB,CAAC,YAAY,CAAC,OAAO,CAAC,0CAAE,KAAK,EAAE,CAAC;SAClD;IACH,CAAC,CAAC;IAEF,IAAM,SAAS,GAAG;;QAChB,IAAI,YAAY,CAAC,OAAO,EAAE;YACxB,MAAA,gBAAgB,CAAC,YAAY,CAAC,OAAO,CAAC,0CAAE,KAAK,EAAE,CAAC;SACjD;IACH,CAAC,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,IAAI,CAAC,QAAQ,EAAE;YAC1B,gBAAgB,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAwC,CAAC;YAC7E,UAAU,EAAE,CAAC;SACd;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE1B,0DAA0D;IACpD,IAAA,KAAkC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EAArD,YAAY,QAAA,EAAE,eAAe,QAAwB,CAAC;IAC7D,SAAS,CAAC;;QACR,IAAI,YAAY,KAAK,CAAC,CAAC,QAAQ,EAAE;YAC/B,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YAC5B,IAAI,QAAQ,IAAI,YAAY,EAAE;gBAC5B,MAAA,gBAAgB,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;gBAClC,gBAAgB,CAAC,OAAO,GAAG,IAAI,CAAC;aACjC;SACF;IACH,CAAC,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;IAE3C,OAAO,CACL;QACE,oBAAC,OAAO,IAAC,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS,GAAI;QAC7D,6BAAK,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,IACtC,QAAQ,CACL;QACN,oBAAC,OAAO,IAAC,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,GAAI,CAC7D,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { useMergeRefs } from '../../hooks/use-merge-refs';\n\nimport TabTrap from '../tab-trap/index';\nimport { getFirstFocusable, getLastFocusable } from './utils';\n\nexport interface FocusLockProps {\n className?: string;\n disabled?: boolean;\n autoFocus?: boolean;\n restoreFocus?: boolean;\n children: React.ReactNode;\n}\n\nexport default function FocusLock({ className, disabled, autoFocus, restoreFocus, children }: FocusLockProps) {\n const returnFocusToRef = useRef<HTMLOrSVGElement | null>(null);\n const containerRef = useRef<HTMLDivElement | null>(null);\n\n // Using a callback ref to detect component unmounts, which is safer than using useEffect.\n const restoreFocusHandler = useCallback(\n (elem: HTMLDivElement | null) => {\n if (elem === null && restoreFocus) {\n returnFocusToRef.current?.focus();\n }\n },\n [restoreFocus]\n );\n\n const mergedRef = useMergeRefs(containerRef, restoreFocusHandler);\n\n const focusFirst = () => {\n if (containerRef.current) {\n getFirstFocusable(containerRef.current)?.focus();\n }\n };\n\n const focusLast = () => {\n if (containerRef.current) {\n getLastFocusable(containerRef.current)?.focus();\n }\n };\n\n useEffect(() => {\n if (autoFocus && !disabled) {\n returnFocusToRef.current = document.activeElement as HTMLOrSVGElement | null;\n focusFirst();\n }\n }, [autoFocus, disabled]);\n\n // Returns focus when disabled changes from false to true.\n const [prevDisabled, setPrevDisabled] = useState(!!disabled);\n useEffect(() => {\n if (prevDisabled !== !!disabled) {\n setPrevDisabled(!!disabled);\n if (disabled && restoreFocus) {\n returnFocusToRef.current?.focus();\n returnFocusToRef.current = null;\n }\n }\n }, [prevDisabled, disabled, restoreFocus]);\n\n return (\n <>\n <TabTrap disabled={disabled} focusNextCallback={focusLast} />\n <div className={className} ref={mergedRef}>\n {children}\n </div>\n <TabTrap disabled={disabled} focusNextCallback={focusFirst} />\n </>\n );\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"button": "
|
|
5
|
-
"expanded": "
|
|
6
|
-
"offset-right-none": "awsui_offset-right-
|
|
7
|
-
"offset-right-l": "awsui_offset-right-
|
|
8
|
-
"offset-right-xxl": "awsui_offset-right-
|
|
9
|
-
"text": "
|
|
10
|
-
"icon": "
|
|
4
|
+
"button": "awsui_button_m5h9f_1gut3_93",
|
|
5
|
+
"expanded": "awsui_expanded_m5h9f_1gut3_127",
|
|
6
|
+
"offset-right-none": "awsui_offset-right-none_m5h9f_1gut3_138",
|
|
7
|
+
"offset-right-l": "awsui_offset-right-l_m5h9f_1gut3_141",
|
|
8
|
+
"offset-right-xxl": "awsui_offset-right-xxl_m5h9f_1gut3_144",
|
|
9
|
+
"text": "awsui_text_m5h9f_1gut3_166",
|
|
10
|
+
"icon": "awsui_icon_m5h9f_1gut3_170"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -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
|
-
.
|
|
93
|
+
.awsui_button_m5h9f_1gut3_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -125,6 +125,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
125
125
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
126
126
|
font-weight: 400;
|
|
127
127
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
128
|
+
-webkit-font-smoothing: auto;
|
|
129
|
+
-moz-osx-font-smoothing: auto;
|
|
128
130
|
min-width: 0;
|
|
129
131
|
-ms-word-break: break-all;
|
|
130
132
|
word-break: break-word;
|
|
@@ -144,38 +146,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
144
146
|
background: transparent;
|
|
145
147
|
color: var(--color-text-interactive-default-eg5fsa, #414d5c);
|
|
146
148
|
}
|
|
147
|
-
.
|
|
149
|
+
.awsui_button_m5h9f_1gut3_93:not(#\9):hover {
|
|
148
150
|
color: var(--color-text-interactive-hover-v3lasm, #000716);
|
|
149
151
|
text-decoration: none;
|
|
150
152
|
}
|
|
151
|
-
.
|
|
153
|
+
.awsui_button_m5h9f_1gut3_93:not(#\9):active, .awsui_button_m5h9f_1gut3_93.awsui_expanded_m5h9f_1gut3_127:not(#\9) {
|
|
152
154
|
background: transparent;
|
|
153
155
|
color: var(--color-text-interactive-active-vol84d, #000716);
|
|
154
156
|
}
|
|
155
|
-
.
|
|
157
|
+
.awsui_button_m5h9f_1gut3_93.awsui_expanded_m5h9f_1gut3_127:not(#\9) {
|
|
156
158
|
color: var(--color-text-accent-s1eqko, #0972d3);
|
|
157
159
|
}
|
|
158
|
-
.
|
|
160
|
+
.awsui_button_m5h9f_1gut3_93:not(#\9):focus {
|
|
159
161
|
outline: none;
|
|
160
162
|
text-decoration: none;
|
|
161
163
|
}
|
|
162
|
-
.
|
|
164
|
+
.awsui_button_m5h9f_1gut3_93.awsui_offset-right-none_m5h9f_1gut3_138:not(#\9) {
|
|
163
165
|
margin-right: 0;
|
|
164
166
|
}
|
|
165
|
-
.
|
|
167
|
+
.awsui_button_m5h9f_1gut3_93.awsui_offset-right-l_m5h9f_1gut3_141:not(#\9) {
|
|
166
168
|
margin-right: var(--space-s-hv8c1d, 12px);
|
|
167
169
|
}
|
|
168
|
-
.
|
|
170
|
+
.awsui_button_m5h9f_1gut3_93.awsui_offset-right-xxl_m5h9f_1gut3_144:not(#\9) {
|
|
169
171
|
margin-right: var(--space-xl-a39hup, 24px);
|
|
170
172
|
}
|
|
171
|
-
.
|
|
173
|
+
.awsui_button_m5h9f_1gut3_93[data-awsui-focus-visible=true]:not(#\9):focus {
|
|
172
174
|
position: relative;
|
|
173
175
|
}
|
|
174
|
-
.
|
|
176
|
+
.awsui_button_m5h9f_1gut3_93[data-awsui-focus-visible=true]:not(#\9):focus {
|
|
175
177
|
outline: 2px dotted transparent;
|
|
176
178
|
outline-offset: calc(-1px - 1px);
|
|
177
179
|
}
|
|
178
|
-
.
|
|
180
|
+
.awsui_button_m5h9f_1gut3_93[data-awsui-focus-visible=true]:not(#\9):focus::before {
|
|
179
181
|
content: " ";
|
|
180
182
|
display: block;
|
|
181
183
|
position: absolute;
|
|
@@ -187,10 +189,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
187
189
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
188
190
|
}
|
|
189
191
|
|
|
190
|
-
.
|
|
192
|
+
.awsui_text_m5h9f_1gut3_166:not(#\9) {
|
|
191
193
|
margin-right: var(--space-xs-rsr2qu, 8px);
|
|
192
194
|
}
|
|
193
195
|
|
|
194
|
-
.
|
|
196
|
+
.awsui_icon_m5h9f_1gut3_170 + .awsui_text_m5h9f_1gut3_166:not(#\9) {
|
|
195
197
|
margin-left: var(--space-xs-rsr2qu, 8px);
|
|
196
198
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button": "
|
|
6
|
-
"expanded": "
|
|
7
|
-
"offset-right-none": "awsui_offset-right-
|
|
8
|
-
"offset-right-l": "awsui_offset-right-
|
|
9
|
-
"offset-right-xxl": "awsui_offset-right-
|
|
10
|
-
"text": "
|
|
11
|
-
"icon": "
|
|
5
|
+
"button": "awsui_button_m5h9f_1gut3_93",
|
|
6
|
+
"expanded": "awsui_expanded_m5h9f_1gut3_127",
|
|
7
|
+
"offset-right-none": "awsui_offset-right-none_m5h9f_1gut3_138",
|
|
8
|
+
"offset-right-l": "awsui_offset-right-l_m5h9f_1gut3_141",
|
|
9
|
+
"offset-right-xxl": "awsui_offset-right-xxl_m5h9f_1gut3_144",
|
|
10
|
+
"text": "awsui_text_m5h9f_1gut3_166",
|
|
11
|
+
"icon": "awsui_icon_m5h9f_1gut3_170"
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"option": "
|
|
5
|
-
"disabled": "
|
|
6
|
-
"parent": "
|
|
7
|
-
"content": "
|
|
8
|
-
"label-content": "awsui_label-
|
|
9
|
-
"label": "
|
|
10
|
-
"tag": "
|
|
11
|
-
"label-tag": "awsui_label-
|
|
12
|
-
"label-prefix": "awsui_label-
|
|
13
|
-
"tags": "
|
|
14
|
-
"description": "
|
|
15
|
-
"icon": "
|
|
16
|
-
"icon-size-big": "awsui_icon-size-
|
|
17
|
-
"filtering-match-highlight": "awsui_filtering-match-
|
|
18
|
-
"trigger-variant": "awsui_trigger-
|
|
4
|
+
"option": "awsui_option_1p2cx_1thvj_97",
|
|
5
|
+
"disabled": "awsui_disabled_1p2cx_1thvj_115",
|
|
6
|
+
"parent": "awsui_parent_1p2cx_1thvj_118",
|
|
7
|
+
"content": "awsui_content_1p2cx_1thvj_125",
|
|
8
|
+
"label-content": "awsui_label-content_1p2cx_1thvj_132",
|
|
9
|
+
"label": "awsui_label_1p2cx_1thvj_132",
|
|
10
|
+
"tag": "awsui_tag_1p2cx_1thvj_139",
|
|
11
|
+
"label-tag": "awsui_label-tag_1p2cx_1thvj_140",
|
|
12
|
+
"label-prefix": "awsui_label-prefix_1p2cx_1thvj_151",
|
|
13
|
+
"tags": "awsui_tags_1p2cx_1thvj_164",
|
|
14
|
+
"description": "awsui_description_1p2cx_1thvj_165",
|
|
15
|
+
"icon": "awsui_icon_1p2cx_1thvj_182",
|
|
16
|
+
"icon-size-big": "awsui_icon-size-big_1p2cx_1thvj_189",
|
|
17
|
+
"filtering-match-highlight": "awsui_filtering-match-highlight_1p2cx_1thvj_193",
|
|
18
|
+
"trigger-variant": "awsui_trigger-variant_1p2cx_1thvj_208"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -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_option_1p2cx_1thvj_97:not(#\9) {
|
|
98
98
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
99
99
|
border-collapse: separate;
|
|
100
100
|
border-spacing: 0;
|
|
@@ -129,6 +129,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
129
129
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
130
130
|
font-weight: 400;
|
|
131
131
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
132
|
+
-webkit-font-smoothing: auto;
|
|
133
|
+
-moz-osx-font-smoothing: auto;
|
|
132
134
|
display: flex;
|
|
133
135
|
align-items: flex-start;
|
|
134
136
|
width: 100%;
|
|
@@ -136,57 +138,57 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
136
138
|
box-sizing: border-box;
|
|
137
139
|
color: inherit;
|
|
138
140
|
}
|
|
139
|
-
.
|
|
141
|
+
.awsui_option_1p2cx_1thvj_97:not(#\9):not(.awsui_disabled_1p2cx_1thvj_115) {
|
|
140
142
|
cursor: inherit;
|
|
141
143
|
}
|
|
142
|
-
.
|
|
144
|
+
.awsui_option_1p2cx_1thvj_97.awsui_parent_1p2cx_1thvj_118:not(#\9) {
|
|
143
145
|
font-weight: bold;
|
|
144
146
|
}
|
|
145
|
-
.
|
|
147
|
+
.awsui_option_1p2cx_1thvj_97.awsui_parent_1p2cx_1thvj_118:not(#\9):not(.awsui_disabled_1p2cx_1thvj_115) {
|
|
146
148
|
color: var(--color-text-dropdown-group-label-eaqlcl, #414d5c);
|
|
147
149
|
}
|
|
148
150
|
|
|
149
|
-
.
|
|
151
|
+
.awsui_content_1p2cx_1thvj_125:not(#\9) {
|
|
150
152
|
width: 100%;
|
|
151
153
|
display: flex;
|
|
152
154
|
flex-direction: column;
|
|
153
155
|
min-width: 0;
|
|
154
156
|
}
|
|
155
157
|
|
|
156
|
-
.awsui_label-
|
|
158
|
+
.awsui_label-content_1p2cx_1thvj_132:not(#\9) {
|
|
157
159
|
display: flex;
|
|
158
160
|
justify-content: space-between;
|
|
159
161
|
flex-wrap: wrap;
|
|
160
162
|
}
|
|
161
163
|
|
|
162
|
-
.
|
|
163
|
-
.
|
|
164
|
-
.awsui_label-
|
|
164
|
+
.awsui_label_1p2cx_1thvj_132:not(#\9),
|
|
165
|
+
.awsui_tag_1p2cx_1thvj_139:not(#\9),
|
|
166
|
+
.awsui_label-tag_1p2cx_1thvj_140:not(#\9) {
|
|
165
167
|
min-width: 0;
|
|
166
168
|
-ms-word-break: break-all;
|
|
167
169
|
word-break: break-word;
|
|
168
170
|
}
|
|
169
171
|
|
|
170
|
-
.
|
|
171
|
-
.
|
|
172
|
+
.awsui_label_1p2cx_1thvj_132:not(#\9),
|
|
173
|
+
.awsui_tag_1p2cx_1thvj_139:not(#\9) {
|
|
172
174
|
flex-wrap: wrap;
|
|
173
175
|
}
|
|
174
176
|
|
|
175
|
-
.awsui_label-
|
|
177
|
+
.awsui_label-prefix_1p2cx_1thvj_151:not(#\9) {
|
|
176
178
|
font-weight: 700;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
|
-
.awsui_label-
|
|
181
|
+
.awsui_label-tag_1p2cx_1thvj_140:not(#\9) {
|
|
180
182
|
padding-left: var(--space-s-hv8c1d, 12px);
|
|
181
183
|
flex: auto;
|
|
182
184
|
text-align: right;
|
|
183
185
|
}
|
|
184
|
-
.awsui_label-
|
|
186
|
+
.awsui_label-tag_1p2cx_1thvj_140:not(#\9):empty {
|
|
185
187
|
display: none;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
.
|
|
189
|
-
.
|
|
190
|
+
.awsui_tags_1p2cx_1thvj_164:not(#\9),
|
|
191
|
+
.awsui_description_1p2cx_1thvj_165:not(#\9) {
|
|
190
192
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
191
193
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
192
194
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
@@ -194,42 +196,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
194
196
|
flex-wrap: wrap;
|
|
195
197
|
}
|
|
196
198
|
|
|
197
|
-
.
|
|
199
|
+
.awsui_tags_1p2cx_1thvj_164:not(#\9) {
|
|
198
200
|
display: flex;
|
|
199
201
|
align-items: stretch;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
.
|
|
204
|
+
.awsui_tag_1p2cx_1thvj_139:not(#\9):not(:last-child) {
|
|
203
205
|
padding-right: var(--space-m-17eucw, 16px);
|
|
204
206
|
}
|
|
205
207
|
|
|
206
|
-
.
|
|
208
|
+
.awsui_icon_1p2cx_1thvj_182:not(#\9) {
|
|
207
209
|
padding-right: var(--space-xs-rsr2qu, 8px);
|
|
208
210
|
align-content: center;
|
|
209
211
|
display: flex;
|
|
210
212
|
flex-shrink: 0;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
|
-
.awsui_icon-size-
|
|
215
|
+
.awsui_icon-size-big_1p2cx_1thvj_189:not(#\9) {
|
|
214
216
|
padding-top: var(--space-xxxs-k2w98v, 2px);
|
|
215
217
|
}
|
|
216
218
|
|
|
217
|
-
.awsui_filtering-match-
|
|
219
|
+
.awsui_filtering-match-highlight_1p2cx_1thvj_193:not(#\9) {
|
|
218
220
|
background-color: var(--color-background-dropdown-item-filter-match-6ac2mw, #f2f8fd);
|
|
219
221
|
color: var(--color-text-dropdown-item-filter-match-x302if, #0972d3);
|
|
220
222
|
font-weight: bold;
|
|
221
223
|
}
|
|
222
224
|
|
|
223
|
-
.
|
|
225
|
+
.awsui_disabled_1p2cx_1thvj_115:not(#\9) {
|
|
224
226
|
color: var(--color-text-dropdown-item-disabled-varol7, #9ba7b6);
|
|
225
227
|
pointer-events: none;
|
|
226
228
|
}
|
|
227
|
-
.
|
|
228
|
-
.
|
|
229
|
+
.awsui_disabled_1p2cx_1thvj_115 > .awsui_content_1p2cx_1thvj_125 > .awsui_tags_1p2cx_1thvj_164:not(#\9),
|
|
230
|
+
.awsui_disabled_1p2cx_1thvj_115 > .awsui_content_1p2cx_1thvj_125 > .awsui_description_1p2cx_1thvj_165:not(#\9) {
|
|
229
231
|
color: currentColor;
|
|
230
232
|
}
|
|
231
233
|
|
|
232
|
-
.awsui_trigger-
|
|
234
|
+
.awsui_trigger-variant_1p2cx_1thvj_208:not(#\9) {
|
|
233
235
|
white-space: nowrap;
|
|
234
236
|
overflow: hidden;
|
|
235
237
|
text-overflow: ellipsis;
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"option": "
|
|
6
|
-
"disabled": "
|
|
7
|
-
"parent": "
|
|
8
|
-
"content": "
|
|
9
|
-
"label-content": "awsui_label-
|
|
10
|
-
"label": "
|
|
11
|
-
"tag": "
|
|
12
|
-
"label-tag": "awsui_label-
|
|
13
|
-
"label-prefix": "awsui_label-
|
|
14
|
-
"tags": "
|
|
15
|
-
"description": "
|
|
16
|
-
"icon": "
|
|
17
|
-
"icon-size-big": "awsui_icon-size-
|
|
18
|
-
"filtering-match-highlight": "awsui_filtering-match-
|
|
19
|
-
"trigger-variant": "awsui_trigger-
|
|
5
|
+
"option": "awsui_option_1p2cx_1thvj_97",
|
|
6
|
+
"disabled": "awsui_disabled_1p2cx_1thvj_115",
|
|
7
|
+
"parent": "awsui_parent_1p2cx_1thvj_118",
|
|
8
|
+
"content": "awsui_content_1p2cx_1thvj_125",
|
|
9
|
+
"label-content": "awsui_label-content_1p2cx_1thvj_132",
|
|
10
|
+
"label": "awsui_label_1p2cx_1thvj_132",
|
|
11
|
+
"tag": "awsui_tag_1p2cx_1thvj_139",
|
|
12
|
+
"label-tag": "awsui_label-tag_1p2cx_1thvj_140",
|
|
13
|
+
"label-prefix": "awsui_label-prefix_1p2cx_1thvj_151",
|
|
14
|
+
"tags": "awsui_tags_1p2cx_1thvj_164",
|
|
15
|
+
"description": "awsui_description_1p2cx_1thvj_165",
|
|
16
|
+
"icon": "awsui_icon_1p2cx_1thvj_182",
|
|
17
|
+
"icon-size-big": "awsui_icon-size-big_1p2cx_1thvj_189",
|
|
18
|
+
"filtering-match-highlight": "awsui_filtering-match-highlight_1p2cx_1thvj_193",
|
|
19
|
+
"trigger-variant": "awsui_trigger-variant_1p2cx_1thvj_208"
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"options-list": "awsui_options-
|
|
5
|
-
"decrease-top-margin": "awsui_decrease-top-
|
|
4
|
+
"options-list": "awsui_options-list_19gcf_1cew2_93",
|
|
5
|
+
"decrease-top-margin": "awsui_decrease-top-margin_19gcf_1cew2_115"
|
|
6
6
|
};
|
|
7
7
|
|
|
@@ -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_options-
|
|
93
|
+
.awsui_options-list_19gcf_1cew2_93:not(#\9) {
|
|
94
94
|
padding: 0;
|
|
95
95
|
margin: 0;
|
|
96
96
|
outline: none;
|
|
@@ -129,6 +129,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
129
129
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
130
130
|
font-weight: 400;
|
|
131
131
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
132
|
+
-webkit-font-smoothing: auto;
|
|
133
|
+
-moz-osx-font-smoothing: auto;
|
|
132
134
|
white-space: inherit;
|
|
133
135
|
overflow-y: auto;
|
|
134
136
|
flex: 1 1 auto;
|
|
@@ -136,6 +138,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
136
138
|
border-radius: var(--border-radius-dropdown-ujknaf, 8px);
|
|
137
139
|
}
|
|
138
140
|
|
|
139
|
-
.awsui_decrease-top-
|
|
141
|
+
.awsui_decrease-top-margin_19gcf_1cew2_115:not(#\9) {
|
|
140
142
|
margin-top: -1px;
|
|
141
143
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"options-list": "awsui_options-
|
|
6
|
-
"decrease-top-margin": "awsui_decrease-top-
|
|
5
|
+
"options-list": "awsui_options-list_19gcf_1cew2_93",
|
|
6
|
+
"decrease-top-margin": "awsui_decrease-top-margin_19gcf_1cew2_115"
|
|
7
7
|
};
|
|
8
8
|
|