@cloudscape-design/components 3.0.649 → 3.0.651
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 +25 -25
- package/alert/styles.scoped.css +39 -41
- package/alert/styles.selectors.js +25 -25
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +18 -20
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -32
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +6 -8
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +13 -13
- package/app-layout/drawer/styles.scoped.css +21 -23
- package/app-layout/drawer/styles.selectors.js +13 -13
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +8 -10
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/skeleton/styles.css.js +11 -11
- package/app-layout/skeleton/styles.scoped.css +20 -22
- package/app-layout/skeleton/styles.selectors.js +11 -11
- package/app-layout/split-panel/styles.css.js +2 -2
- package/app-layout/split-panel/styles.scoped.css +2 -4
- package/app-layout/split-panel/styles.selectors.js +2 -2
- package/app-layout/styles.css.js +16 -16
- package/app-layout/styles.scoped.css +19 -21
- package/app-layout/styles.selectors.js +16 -16
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +6 -8
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/visual-refresh/styles.css.js +82 -82
- package/app-layout/visual-refresh/styles.scoped.css +162 -167
- package/app-layout/visual-refresh/styles.selectors.js +82 -82
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +9 -11
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +24 -26
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +5 -7
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +191 -191
- package/box/styles.scoped.css +248 -446
- package/box/styles.selectors.js +191 -191
- package/breadcrumb-group/item/styles.css.js +8 -8
- package/breadcrumb-group/item/styles.scoped.css +16 -18
- package/breadcrumb-group/item/styles.selectors.js +8 -8
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +12 -14
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +2 -2
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +19 -19
- package/button/styles.scoped.css +153 -155
- package/button/styles.selectors.js +19 -19
- package/button-dropdown/category-elements/styles.css.js +14 -14
- package/button-dropdown/category-elements/styles.scoped.css +24 -25
- package/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/button-dropdown/item-element/styles.css.js +11 -11
- package/button-dropdown/item-element/styles.scoped.css +16 -17
- package/button-dropdown/item-element/styles.selectors.js +11 -11
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +5 -7
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +15 -15
- package/button-dropdown/styles.scoped.css +22 -24
- package/button-dropdown/styles.selectors.js +15 -15
- package/calendar/styles.css.js +20 -20
- package/calendar/styles.scoped.css +42 -44
- package/calendar/styles.selectors.js +20 -20
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +50 -52
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +5 -7
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +5 -6
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +129 -147
- package/code-editor/styles.selectors.js +32 -32
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +17 -21
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +44 -52
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +43 -45
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +30 -30
- package/container/styles.scoped.css +54 -56
- package/container/styles.selectors.js +30 -30
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +16 -18
- package/content-layout/styles.selectors.js +14 -14
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +9 -11
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +27 -27
- package/date-range-picker/calendar/grids/styles.scoped.css +42 -44
- package/date-range-picker/calendar/grids/styles.selectors.js +27 -27
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +13 -15
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +39 -39
- package/date-range-picker/styles.scoped.css +48 -50
- package/date-range-picker/styles.selectors.js +39 -39
- package/drawer/styles.css.js +3 -3
- package/drawer/styles.scoped.css +10 -11
- package/drawer/styles.selectors.js +3 -3
- package/expandable-section/styles.css.js +32 -32
- package/expandable-section/styles.scoped.css +65 -66
- package/expandable-section/styles.selectors.js +32 -32
- package/file-upload/dropzone/styles.css.js +2 -2
- package/file-upload/dropzone/styles.scoped.css +2 -4
- package/file-upload/dropzone/styles.selectors.js +2 -2
- package/file-upload/file-input/styles.css.js +4 -4
- package/file-upload/file-input/styles.scoped.css +7 -9
- package/file-upload/file-input/styles.selectors.js +4 -4
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +146 -154
- package/flashbar/styles.selectors.js +47 -47
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +8 -10
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +38 -40
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +54 -56
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +50 -52
- package/header/styles.selectors.js +34 -34
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +78 -68
- package/help-panel/styles.selectors.js +4 -4
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +7 -9
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +37 -37
- package/icon/styles.scoped.css +84 -67
- package/icon/styles.selectors.js +37 -37
- package/input/styles.css.js +13 -13
- package/input/styles.scoped.css +34 -36
- package/input/styles.selectors.js +13 -13
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +23 -26
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +26 -28
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +3 -5
- 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 +15 -17
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/styles.css.js +5 -5
- package/internal/components/chart-plot/styles.scoped.css +5 -7
- package/internal/components/chart-plot/styles.selectors.js +5 -5
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +3 -5
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-popover-footer/styles.css.js +1 -1
- package/internal/components/chart-popover-footer/styles.scoped.css +3 -3
- package/internal/components/chart-popover-footer/styles.selectors.js +1 -1
- package/internal/components/chart-series-details/styles.css.js +20 -20
- package/internal/components/chart-series-details/styles.scoped.css +33 -35
- package/internal/components/chart-series-details/styles.selectors.js +20 -20
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +7 -9
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +9 -11
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +8 -10
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- 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 +3 -5
- 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 +2 -4
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +13 -15
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/handle/styles.css.js +2 -2
- package/internal/components/handle/styles.scoped.css +6 -8
- package/internal/components/handle/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +13 -15
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +29 -31
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +2 -4
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/panel-resize-handle/styles.css.js +5 -5
- package/internal/components/panel-resize-handle/styles.scoped.css +10 -12
- package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +1 -3
- package/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +29 -31
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +20 -23
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/hooks/use-performance-marks/index.d.ts +10 -0
- package/internal/hooks/use-performance-marks/index.d.ts.map +1 -0
- package/internal/hooks/{use-performance-marks.js → use-performance-marks/index.js} +29 -6
- package/internal/hooks/use-performance-marks/index.js.map +1 -0
- package/internal/hooks/use-unique-id/index.d.ts +1 -0
- package/internal/hooks/use-unique-id/index.d.ts.map +1 -1
- package/internal/hooks/use-unique-id/index.js +2 -2
- package/internal/hooks/use-unique-id/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +71 -73
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +17 -19
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +38 -40
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +2 -2
- package/multiselect/styles.scoped.css +2 -4
- package/multiselect/styles.selectors.js +2 -2
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +23 -25
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +48 -50
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +71 -79
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +33 -37
- package/progress-bar/styles.selectors.js +19 -19
- package/property-filter/styles.css.js +32 -32
- package/property-filter/styles.scoped.css +34 -36
- package/property-filter/styles.selectors.js +32 -32
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +15 -17
- package/radio-group/styles.selectors.js +9 -9
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +9 -9
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +33 -35
- package/segmented-control/styles.selectors.js +14 -14
- package/select/parts/styles.css.js +16 -16
- package/select/parts/styles.scoped.css +18 -19
- package/select/parts/styles.selectors.js +16 -16
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +1 -3
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +28 -28
- package/side-navigation/styles.scoped.css +38 -40
- package/side-navigation/styles.selectors.js +28 -28
- package/slider/styles.css.js +25 -25
- package/slider/styles.scoped.css +62 -64
- package/slider/styles.selectors.js +25 -25
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +24 -26
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +20 -21
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +28 -24
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +26 -26
- package/split-panel/styles.scoped.css +41 -46
- package/split-panel/styles.selectors.js +26 -26
- package/status-indicator/styles.css.js +23 -23
- package/status-indicator/styles.scoped.css +29 -31
- package/status-indicator/styles.selectors.js +23 -23
- package/table/body-cell/styles.css.js +45 -45
- package/table/body-cell/styles.scoped.css +175 -174
- package/table/body-cell/styles.selectors.js +45 -45
- package/table/expandable-rows/styles.css.js +3 -3
- package/table/expandable-rows/styles.scoped.css +15 -15
- package/table/expandable-rows/styles.selectors.js +3 -3
- package/table/header-cell/styles.css.js +26 -26
- package/table/header-cell/styles.scoped.css +54 -54
- package/table/header-cell/styles.selectors.js +26 -26
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +2 -2
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +8 -8
- package/table/resizer/styles.scoped.css +14 -16
- package/table/resizer/styles.selectors.js +8 -8
- package/table/selection/styles.css.js +3 -3
- package/table/selection/styles.scoped.css +3 -5
- package/table/selection/styles.selectors.js +3 -3
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +7 -9
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +39 -43
- package/table/styles.selectors.js +34 -34
- package/tabs/styles.css.js +22 -22
- package/tabs/styles.scoped.css +42 -46
- package/tabs/styles.selectors.js +22 -22
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +10 -12
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +60 -62
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +3 -5
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.scoped.css +15 -17
- package/textarea/styles.selectors.js +5 -5
- package/tiles/styles.css.js +29 -29
- package/tiles/styles.scoped.css +70 -72
- package/tiles/styles.selectors.js +29 -29
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -16
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +9 -9
- package/token-group/styles.scoped.css +19 -22
- package/token-group/styles.selectors.js +9 -9
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +42 -44
- 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 +66 -68
- 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 +21 -23
- 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 +27 -30
- 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 +1 -3
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +62 -61
- package/wizard/styles.selectors.js +30 -30
- package/internal/hooks/use-performance-marks.d.ts +0 -3
- package/internal/hooks/use-performance-marks.d.ts.map +0 -1
- package/internal/hooks/use-performance-marks.js.map +0 -1
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
5
|
/*
|
|
8
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
7
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
95
|
SPDX-License-Identifier: Apache-2.0
|
|
98
96
|
*/
|
|
99
|
-
.
|
|
97
|
+
.awsui_slider_cqzlk_1i9f3_97:not(#\9) {
|
|
100
98
|
padding-block: 0;
|
|
101
99
|
padding-inline: 0;
|
|
102
100
|
cursor: ns-resize;
|
|
@@ -106,17 +104,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
106
104
|
block-size: 16px;
|
|
107
105
|
touch-action: none;
|
|
108
106
|
}
|
|
109
|
-
.
|
|
107
|
+
.awsui_slider_cqzlk_1i9f3_97:not(#\9):focus {
|
|
110
108
|
outline: none;
|
|
111
109
|
}
|
|
112
|
-
body[data-awsui-focus-visible=true] .
|
|
110
|
+
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1i9f3_97:not(#\9):focus {
|
|
113
111
|
position: relative;
|
|
114
112
|
}
|
|
115
|
-
body[data-awsui-focus-visible=true] .
|
|
113
|
+
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1i9f3_97:not(#\9):focus {
|
|
116
114
|
outline: 2px dotted transparent;
|
|
117
115
|
outline-offset: calc(0px - 1px);
|
|
118
116
|
}
|
|
119
|
-
body[data-awsui-focus-visible=true] .
|
|
117
|
+
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1i9f3_97:not(#\9):focus::before {
|
|
120
118
|
content: " ";
|
|
121
119
|
display: block;
|
|
122
120
|
position: absolute;
|
|
@@ -131,23 +129,23 @@ body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1ksjn_99:not(#\9):focus:
|
|
|
131
129
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
132
130
|
}
|
|
133
131
|
|
|
134
|
-
.awsui_slider-
|
|
132
|
+
.awsui_slider-side_cqzlk_1i9f3_132:not(#\9) {
|
|
135
133
|
cursor: ew-resize;
|
|
136
134
|
margin-block: 0;
|
|
137
135
|
margin-inline-start: 2px;
|
|
138
136
|
margin-inline-end: 0;
|
|
139
137
|
}
|
|
140
138
|
|
|
141
|
-
.awsui_slider-
|
|
139
|
+
.awsui_slider-icon_cqzlk_1i9f3_139:not(#\9) {
|
|
142
140
|
stroke: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
143
141
|
}
|
|
144
|
-
.awsui_slider-
|
|
142
|
+
.awsui_slider-icon_cqzlk_1i9f3_139:not(#\9):hover {
|
|
145
143
|
stroke: var(--color-text-interactive-hover-mj8add, #000716);
|
|
146
144
|
}
|
|
147
|
-
.awsui_slider-icon-
|
|
145
|
+
.awsui_slider-icon-bottom_cqzlk_1i9f3_145:not(#\9) {
|
|
148
146
|
margin-block: auto;
|
|
149
147
|
margin-inline: auto;
|
|
150
148
|
}
|
|
151
|
-
.awsui_slider-icon-
|
|
149
|
+
.awsui_slider-icon-side_cqzlk_1i9f3_149:not(#\9) {
|
|
152
150
|
transform: rotate(90deg);
|
|
153
151
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"slider": "
|
|
6
|
-
"slider-side": "awsui_slider-
|
|
7
|
-
"slider-icon": "awsui_slider-
|
|
8
|
-
"slider-icon-bottom": "awsui_slider-icon-
|
|
9
|
-
"slider-icon-side": "awsui_slider-icon-
|
|
5
|
+
"slider": "awsui_slider_cqzlk_1i9f3_97",
|
|
6
|
+
"slider-side": "awsui_slider-side_cqzlk_1i9f3_132",
|
|
7
|
+
"slider-icon": "awsui_slider-icon_cqzlk_1i9f3_139",
|
|
8
|
+
"slider-icon-bottom": "awsui_slider-icon-bottom_cqzlk_1i9f3_145",
|
|
9
|
+
"slider-icon-side": "awsui_slider-icon-side_cqzlk_1i9f3_149"
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
5
|
/*
|
|
8
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
7
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
95
|
SPDX-License-Identifier: Apache-2.0
|
|
98
96
|
*/
|
|
99
|
-
.
|
|
97
|
+
.awsui_root_xttbq_1fuh1_97:not(#\9) {
|
|
100
98
|
position: absolute !important;
|
|
101
99
|
inset-block-start: -9999px !important;
|
|
102
100
|
inset-inline-start: -9999px !important;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"selectable-item": "awsui_selectable-
|
|
5
|
-
"pad-bottom": "awsui_pad-
|
|
6
|
-
"has-background": "awsui_has-
|
|
7
|
-
"highlighted": "
|
|
8
|
-
"selected": "
|
|
9
|
-
"disabled": "
|
|
10
|
-
"next-item-selected": "awsui_next-item-
|
|
11
|
-
"is-keyboard": "awsui_is-
|
|
12
|
-
"parent": "
|
|
13
|
-
"interactiveGroups": "
|
|
14
|
-
"child": "
|
|
15
|
-
"virtual": "
|
|
16
|
-
"measure-strut": "awsui_measure-
|
|
17
|
-
"measure-strut-first": "awsui_measure-strut-
|
|
18
|
-
"screenreader-content": "awsui_screenreader-
|
|
19
|
-
"option-content": "awsui_option-
|
|
4
|
+
"selectable-item": "awsui_selectable-item_15o6u_1nwbb_97",
|
|
5
|
+
"pad-bottom": "awsui_pad-bottom_15o6u_1nwbb_121",
|
|
6
|
+
"has-background": "awsui_has-background_15o6u_1nwbb_130",
|
|
7
|
+
"highlighted": "awsui_highlighted_15o6u_1nwbb_133",
|
|
8
|
+
"selected": "awsui_selected_15o6u_1nwbb_133",
|
|
9
|
+
"disabled": "awsui_disabled_15o6u_1nwbb_151",
|
|
10
|
+
"next-item-selected": "awsui_next-item-selected_15o6u_1nwbb_161",
|
|
11
|
+
"is-keyboard": "awsui_is-keyboard_15o6u_1nwbb_173",
|
|
12
|
+
"parent": "awsui_parent_15o6u_1nwbb_177",
|
|
13
|
+
"interactiveGroups": "awsui_interactiveGroups_15o6u_1nwbb_181",
|
|
14
|
+
"child": "awsui_child_15o6u_1nwbb_199",
|
|
15
|
+
"virtual": "awsui_virtual_15o6u_1nwbb_214",
|
|
16
|
+
"measure-strut": "awsui_measure-strut_15o6u_1nwbb_225",
|
|
17
|
+
"measure-strut-first": "awsui_measure-strut-first_15o6u_1nwbb_234",
|
|
18
|
+
"screenreader-content": "awsui_screenreader-content_15o6u_1nwbb_238",
|
|
19
|
+
"option-content": "awsui_option-content_15o6u_1nwbb_244"
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
5
|
/*
|
|
8
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
7
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
95
|
SPDX-License-Identifier: Apache-2.0
|
|
98
96
|
*/
|
|
99
|
-
.awsui_selectable-
|
|
97
|
+
.awsui_selectable-item_15o6u_1nwbb_97:not(#\9) {
|
|
100
98
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
101
99
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
102
100
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
@@ -120,19 +118,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
120
118
|
);
|
|
121
119
|
padding-inline: calc(var(--space-field-horizontal-gg19kw, 12px) + var(--border-item-width-yel47s, 2px));
|
|
122
120
|
}
|
|
123
|
-
.awsui_selectable-
|
|
121
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_pad-bottom_15o6u_1nwbb_121:not(#\9) {
|
|
124
122
|
padding-block-end: calc(calc(
|
|
125
123
|
var(--space-xxs-p8yyaw, 4px) + (var(--border-item-width-yel47s, 2px) - var(--border-divider-list-width-27y3k5, 1px))
|
|
126
124
|
) + var(--space-xxxs-zbmxqb, 2px));
|
|
127
125
|
border-block-end-color: transparent;
|
|
128
126
|
}
|
|
129
|
-
.awsui_selectable-
|
|
127
|
+
.awsui_selectable-item_15o6u_1nwbb_97:not(#\9):not(:first-child) {
|
|
130
128
|
margin-block-start: calc(-1 * var(--border-item-width-yel47s, 2px));
|
|
131
129
|
}
|
|
132
|
-
.awsui_selectable-
|
|
130
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_has-background_15o6u_1nwbb_130:not(#\9) {
|
|
133
131
|
background-color: var(--color-background-dropdown-item-hover-swsulg, #f4f4f4);
|
|
134
132
|
}
|
|
135
|
-
.awsui_selectable-
|
|
133
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_highlighted_15o6u_1nwbb_133:not(#\9), .awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133:not(#\9) {
|
|
136
134
|
color: var(--color-text-dropdown-item-highlighted-a51hdb, #000716);
|
|
137
135
|
border-width: var(--border-item-width-yel47s, 2px);
|
|
138
136
|
border-start-start-radius: var(--border-radius-item-05df9h, 8px);
|
|
@@ -142,89 +140,89 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
142
140
|
padding-block: var(--space-xxs-p8yyaw, 4px);
|
|
143
141
|
padding-inline: var(--space-field-horizontal-gg19kw, 12px);
|
|
144
142
|
}
|
|
145
|
-
.awsui_selectable-
|
|
143
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_highlighted_15o6u_1nwbb_133.awsui_pad-bottom_15o6u_1nwbb_121:not(#\9), .awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133.awsui_pad-bottom_15o6u_1nwbb_121:not(#\9) {
|
|
146
144
|
padding-block-end: calc(var(--space-xxs-p8yyaw, 4px) + var(--space-xxxs-zbmxqb, 2px));
|
|
147
145
|
}
|
|
148
|
-
.awsui_selectable-
|
|
146
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_highlighted_15o6u_1nwbb_133:not(#\9) {
|
|
149
147
|
z-index: 3;
|
|
150
148
|
background-color: var(--color-background-dropdown-item-hover-swsulg, #f4f4f4);
|
|
151
149
|
border-color: var(--color-border-dropdown-item-hover-461g78, #7d8998);
|
|
152
150
|
}
|
|
153
|
-
.awsui_selectable-
|
|
151
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_highlighted_15o6u_1nwbb_133.awsui_disabled_15o6u_1nwbb_151:not(#\9) {
|
|
154
152
|
color: var(--color-text-dropdown-item-dimmed-f2joj8, #9ba7b6);
|
|
155
153
|
border-color: var(--color-border-dropdown-item-dimmed-hover-xdu0hf, #7d8998);
|
|
156
154
|
background-color: var(--color-background-dropdown-item-dimmed-dlm6wk, transparent);
|
|
157
155
|
}
|
|
158
|
-
.awsui_selectable-
|
|
156
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133:not(#\9) {
|
|
159
157
|
z-index: 2;
|
|
160
158
|
background-color: var(--color-background-dropdown-item-selected-n136dm, #f2f8fd);
|
|
161
159
|
border-color: var(--color-border-dropdown-item-selected-096aj1, #0972d3);
|
|
162
160
|
}
|
|
163
|
-
.awsui_selectable-
|
|
161
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133.awsui_next-item-selected_15o6u_1nwbb_161:not(#\9) {
|
|
164
162
|
border-end-start-radius: 0;
|
|
165
163
|
border-end-end-radius: 0;
|
|
166
164
|
}
|
|
167
|
-
.awsui_selectable-
|
|
165
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133.awsui_highlighted_15o6u_1nwbb_133:not(#\9) {
|
|
168
166
|
border-color: var(--color-border-dropdown-item-hover-461g78, #7d8998);
|
|
169
167
|
z-index: 3;
|
|
170
168
|
}
|
|
171
|
-
.awsui_selectable-
|
|
169
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133 + .awsui_selectable-item_15o6u_1nwbb_97.awsui_selected_15o6u_1nwbb_133:not(#\9) {
|
|
172
170
|
border-start-start-radius: 0;
|
|
173
171
|
border-start-end-radius: 0;
|
|
174
172
|
}
|
|
175
|
-
.awsui_selectable-
|
|
173
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_highlighted_15o6u_1nwbb_133.awsui_is-keyboard_15o6u_1nwbb_173:not(#\9) {
|
|
176
174
|
border-color: var(--color-border-dropdown-item-focused-5hbaf3, #414d5c);
|
|
177
175
|
box-shadow: inset 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
178
176
|
}
|
|
179
|
-
.awsui_selectable-
|
|
177
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177:not(#\9) {
|
|
180
178
|
font-weight: bold;
|
|
181
179
|
color: var(--color-text-dropdown-group-label-4x4uyw, #414d5c);
|
|
182
180
|
}
|
|
183
|
-
.awsui_selectable-
|
|
181
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177:not(#\9):not(.awsui_interactiveGroups_15o6u_1nwbb_181) {
|
|
184
182
|
border-block-start-color: var(--color-border-dropdown-group-yakmix, #b6bec9);
|
|
185
183
|
padding-block: var(--space-xs-zb16t3, 8px);
|
|
186
184
|
padding-inline: var(--space-xs-zb16t3, 8px);
|
|
187
185
|
}
|
|
188
|
-
.awsui_selectable-
|
|
186
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177.awsui_interactiveGroups_15o6u_1nwbb_181:not(#\9) {
|
|
189
187
|
padding-block: calc(
|
|
190
188
|
var(--space-xs-zb16t3, 8px) + (var(--border-item-width-yel47s, 2px) - var(--border-divider-list-width-27y3k5, 1px))
|
|
191
189
|
);
|
|
192
190
|
padding-inline: calc(var(--space-field-horizontal-gg19kw, 12px) + var(--border-item-width-yel47s, 2px));
|
|
193
191
|
}
|
|
194
|
-
.awsui_selectable-
|
|
192
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177.awsui_interactiveGroups_15o6u_1nwbb_181.awsui_highlighted_15o6u_1nwbb_133:not(#\9) {
|
|
195
193
|
color: var(--color-text-dropdown-item-highlighted-a51hdb, #000716);
|
|
196
194
|
}
|
|
197
|
-
.awsui_selectable-
|
|
195
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177.awsui_interactiveGroups_15o6u_1nwbb_181.awsui_highlighted_15o6u_1nwbb_133:not(#\9), .awsui_selectable-item_15o6u_1nwbb_97.awsui_parent_15o6u_1nwbb_177.awsui_interactiveGroups_15o6u_1nwbb_181.awsui_selected_15o6u_1nwbb_133:not(#\9) {
|
|
198
196
|
padding-block: var(--space-xs-zb16t3, 8px);
|
|
199
197
|
padding-inline: var(--space-field-horizontal-gg19kw, 12px);
|
|
200
198
|
}
|
|
201
|
-
.awsui_selectable-
|
|
199
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_child_15o6u_1nwbb_199:not(#\9) {
|
|
202
200
|
padding-inline-start: calc(var(--space-xxl-cu2m1r, 32px) + var(--border-item-width-yel47s, 2px));
|
|
203
201
|
}
|
|
204
|
-
.awsui_selectable-
|
|
202
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_child_15o6u_1nwbb_199.awsui_highlighted_15o6u_1nwbb_133:not(#\9), .awsui_selectable-item_15o6u_1nwbb_97.awsui_child_15o6u_1nwbb_199.awsui_selected_15o6u_1nwbb_133:not(#\9) {
|
|
205
203
|
padding-inline-start: var(--space-xxl-cu2m1r, 32px);
|
|
206
204
|
}
|
|
207
|
-
.awsui_selectable-
|
|
205
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_disabled_15o6u_1nwbb_151:not(#\9) {
|
|
208
206
|
color: var(--color-text-dropdown-item-disabled-6oq3n6, #9ba7b6);
|
|
209
207
|
}
|
|
210
|
-
.awsui_selectable-
|
|
208
|
+
.awsui_selectable-item_15o6u_1nwbb_97:not(#\9):not(.awsui_disabled_15o6u_1nwbb_151):not(.awsui_parent_15o6u_1nwbb_177) {
|
|
211
209
|
cursor: pointer;
|
|
212
210
|
}
|
|
213
|
-
.awsui_selectable-
|
|
211
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_interactiveGroups_15o6u_1nwbb_181:not(#\9):not(.awsui_disabled_15o6u_1nwbb_151) {
|
|
214
212
|
cursor: pointer;
|
|
215
213
|
}
|
|
216
|
-
.awsui_selectable-
|
|
214
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_virtual_15o6u_1nwbb_214:not(#\9) {
|
|
217
215
|
position: absolute;
|
|
218
216
|
inset-block-start: var(--border-dropdown-virtual-offset-width-kekgc0, 2px);
|
|
219
217
|
inset-inline-start: 0;
|
|
220
218
|
inline-size: 100%;
|
|
221
219
|
box-sizing: border-box;
|
|
222
220
|
}
|
|
223
|
-
.awsui_selectable-
|
|
221
|
+
.awsui_selectable-item_15o6u_1nwbb_97.awsui_virtual_15o6u_1nwbb_214:not(#\9):first-of-type:not(.awsui_selected_15o6u_1nwbb_133, .awsui_highlighted_15o6u_1nwbb_133) {
|
|
224
222
|
border-block-start-color: var(--color-border-dropdown-item-top-ky64jq, transparent);
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
.awsui_measure-
|
|
225
|
+
.awsui_measure-strut_15o6u_1nwbb_225:not(#\9) {
|
|
228
226
|
position: absolute;
|
|
229
227
|
pointer-events: none;
|
|
230
228
|
block-size: 100%;
|
|
@@ -233,16 +231,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
233
231
|
inset-inline-start: 0;
|
|
234
232
|
padding-block-start: var(--border-divider-list-width-27y3k5, 1px);
|
|
235
233
|
}
|
|
236
|
-
.awsui_measure-strut-
|
|
234
|
+
.awsui_measure-strut-first_15o6u_1nwbb_234:not(#\9) {
|
|
237
235
|
padding-block-end: var(--border-divider-list-width-27y3k5, 1px);
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
.awsui_screenreader-
|
|
238
|
+
.awsui_screenreader-content_15o6u_1nwbb_238:not(#\9) {
|
|
241
239
|
position: absolute !important;
|
|
242
240
|
inset-block-start: -9999px !important;
|
|
243
241
|
inset-inline-start: -9999px !important;
|
|
244
242
|
}
|
|
245
243
|
|
|
246
|
-
.awsui_option-
|
|
244
|
+
.awsui_option-content_15o6u_1nwbb_244:not(#\9) {
|
|
247
245
|
/* used in test-utils */
|
|
248
246
|
}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"selectable-item": "awsui_selectable-
|
|
6
|
-
"pad-bottom": "awsui_pad-
|
|
7
|
-
"has-background": "awsui_has-
|
|
8
|
-
"highlighted": "
|
|
9
|
-
"selected": "
|
|
10
|
-
"disabled": "
|
|
11
|
-
"next-item-selected": "awsui_next-item-
|
|
12
|
-
"is-keyboard": "awsui_is-
|
|
13
|
-
"parent": "
|
|
14
|
-
"interactiveGroups": "
|
|
15
|
-
"child": "
|
|
16
|
-
"virtual": "
|
|
17
|
-
"measure-strut": "awsui_measure-
|
|
18
|
-
"measure-strut-first": "awsui_measure-strut-
|
|
19
|
-
"screenreader-content": "awsui_screenreader-
|
|
20
|
-
"option-content": "awsui_option-
|
|
5
|
+
"selectable-item": "awsui_selectable-item_15o6u_1nwbb_97",
|
|
6
|
+
"pad-bottom": "awsui_pad-bottom_15o6u_1nwbb_121",
|
|
7
|
+
"has-background": "awsui_has-background_15o6u_1nwbb_130",
|
|
8
|
+
"highlighted": "awsui_highlighted_15o6u_1nwbb_133",
|
|
9
|
+
"selected": "awsui_selected_15o6u_1nwbb_133",
|
|
10
|
+
"disabled": "awsui_disabled_15o6u_1nwbb_151",
|
|
11
|
+
"next-item-selected": "awsui_next-item-selected_15o6u_1nwbb_161",
|
|
12
|
+
"is-keyboard": "awsui_is-keyboard_15o6u_1nwbb_173",
|
|
13
|
+
"parent": "awsui_parent_15o6u_1nwbb_177",
|
|
14
|
+
"interactiveGroups": "awsui_interactiveGroups_15o6u_1nwbb_181",
|
|
15
|
+
"child": "awsui_child_15o6u_1nwbb_199",
|
|
16
|
+
"virtual": "awsui_virtual_15o6u_1nwbb_214",
|
|
17
|
+
"measure-strut": "awsui_measure-strut_15o6u_1nwbb_225",
|
|
18
|
+
"measure-strut-first": "awsui_measure-strut-first_15o6u_1nwbb_234",
|
|
19
|
+
"screenreader-content": "awsui_screenreader-content_15o6u_1nwbb_238",
|
|
20
|
+
"option-content": "awsui_option-content_15o6u_1nwbb_244"
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"horizontal": "
|
|
6
|
-
"vertical": "
|
|
7
|
-
"list": "
|
|
8
|
-
"list-item": "awsui_list-
|
|
9
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
10
|
-
"toggle": "
|
|
11
|
-
"description": "
|
|
12
|
-
"separator": "
|
|
4
|
+
"root": "awsui_root_gfwv3_1gn2o_97",
|
|
5
|
+
"horizontal": "awsui_horizontal_gfwv3_1gn2o_102",
|
|
6
|
+
"vertical": "awsui_vertical_gfwv3_1gn2o_106",
|
|
7
|
+
"list": "awsui_list_gfwv3_1gn2o_110",
|
|
8
|
+
"list-item": "awsui_list-item_gfwv3_1gn2o_130",
|
|
9
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1gn2o_137",
|
|
10
|
+
"toggle": "awsui_toggle_gfwv3_1gn2o_137",
|
|
11
|
+
"description": "awsui_description_gfwv3_1gn2o_232",
|
|
12
|
+
"separator": "awsui_separator_gfwv3_1gn2o_236"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
7
|
SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
9
|
-
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
10
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
11
9
|
/*
|
|
12
10
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
13
11
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,20 +94,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
95
|
SPDX-License-Identifier: Apache-2.0
|
|
98
96
|
*/
|
|
99
|
-
.
|
|
97
|
+
.awsui_root_gfwv3_1gn2o_97:not(#\9) {
|
|
100
98
|
display: flex;
|
|
101
99
|
flex-wrap: wrap;
|
|
102
100
|
gap: var(--space-scaled-xs-26e2du, 8px);
|
|
103
101
|
}
|
|
104
|
-
.
|
|
102
|
+
.awsui_root_gfwv3_1gn2o_97.awsui_horizontal_gfwv3_1gn2o_102:not(#\9) {
|
|
105
103
|
gap: var(--space-xs-zb16t3, 8px);
|
|
106
104
|
flex-direction: row;
|
|
107
105
|
}
|
|
108
|
-
.
|
|
106
|
+
.awsui_root_gfwv3_1gn2o_97.awsui_vertical_gfwv3_1gn2o_106:not(#\9) {
|
|
109
107
|
flex-direction: column;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
|
-
.
|
|
110
|
+
.awsui_list_gfwv3_1gn2o_110:not(#\9) {
|
|
113
111
|
display: contents;
|
|
114
112
|
list-style: none;
|
|
115
113
|
padding-block: 0;
|
|
@@ -117,32 +115,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
117
115
|
margin-block: 0;
|
|
118
116
|
margin-inline: 0;
|
|
119
117
|
}
|
|
120
|
-
.
|
|
118
|
+
.awsui_list_gfwv3_1gn2o_110.awsui_horizontal_gfwv3_1gn2o_102:not(#\9), .awsui_list_gfwv3_1gn2o_110.awsui_vertical_gfwv3_1gn2o_106:not(#\9) {
|
|
121
119
|
display: flex;
|
|
122
120
|
flex-wrap: wrap;
|
|
123
121
|
gap: var(--space-xs-zb16t3, 8px);
|
|
124
122
|
}
|
|
125
|
-
.
|
|
123
|
+
.awsui_list_gfwv3_1gn2o_110.awsui_horizontal_gfwv3_1gn2o_102:not(#\9) {
|
|
126
124
|
flex-direction: row;
|
|
127
125
|
}
|
|
128
|
-
.
|
|
126
|
+
.awsui_list_gfwv3_1gn2o_110.awsui_vertical_gfwv3_1gn2o_106:not(#\9) {
|
|
129
127
|
flex-direction: column;
|
|
130
128
|
}
|
|
131
129
|
|
|
132
|
-
.awsui_list-
|
|
130
|
+
.awsui_list-item_gfwv3_1gn2o_130:not(#\9) {
|
|
133
131
|
padding-block: 0;
|
|
134
132
|
padding-inline: 0;
|
|
135
133
|
margin-block: 0;
|
|
136
134
|
margin-inline: 0;
|
|
137
135
|
}
|
|
138
136
|
|
|
139
|
-
.awsui_toggle-container-
|
|
137
|
+
.awsui_toggle-container-inline_gfwv3_1gn2o_137:not(#\9) {
|
|
140
138
|
padding-inline-start: var(--space-xs-zb16t3, 8px);
|
|
141
139
|
display: flex;
|
|
142
140
|
align-items: center;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
|
-
.
|
|
143
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9) {
|
|
146
144
|
border-collapse: separate;
|
|
147
145
|
border-spacing: 0;
|
|
148
146
|
box-sizing: border-box;
|
|
@@ -197,35 +195,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
197
195
|
margin-inline-start: -1px;
|
|
198
196
|
}
|
|
199
197
|
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
.
|
|
198
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9) {
|
|
201
199
|
animation: none;
|
|
202
200
|
transition: none;
|
|
203
201
|
}
|
|
204
202
|
}
|
|
205
|
-
.awsui-motion-disabled .
|
|
203
|
+
.awsui-motion-disabled .awsui_toggle_gfwv3_1gn2o_137:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_1gn2o_137:not(#\9) {
|
|
206
204
|
animation: none;
|
|
207
205
|
transition: none;
|
|
208
206
|
}
|
|
209
|
-
.
|
|
207
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9):hover {
|
|
210
208
|
cursor: pointer;
|
|
211
209
|
color: var(--color-text-link-hover-8j6p14, #033160);
|
|
212
210
|
}
|
|
213
|
-
.
|
|
211
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9):focus {
|
|
214
212
|
outline: none;
|
|
215
213
|
}
|
|
216
|
-
.
|
|
214
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9):active {
|
|
217
215
|
color: var(--color-text-link-hover-8j6p14, #033160);
|
|
218
216
|
}
|
|
219
|
-
.
|
|
217
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9):active, .awsui_toggle_gfwv3_1gn2o_137:not(#\9):focus, .awsui_toggle_gfwv3_1gn2o_137:not(#\9):hover {
|
|
220
218
|
text-decoration-line: underline;
|
|
221
219
|
text-decoration-color: currentColor;
|
|
222
220
|
}
|
|
223
|
-
.
|
|
221
|
+
.awsui_toggle_gfwv3_1gn2o_137:not(#\9):active, .awsui_toggle_gfwv3_1gn2o_137:not(#\9):focus, .awsui_toggle_gfwv3_1gn2o_137:not(#\9):hover {
|
|
224
222
|
text-decoration: none;
|
|
225
|
-
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
226
223
|
text-decoration-color: transparent;
|
|
227
224
|
}
|
|
228
|
-
body[data-awsui-focus-visible=true] .
|
|
225
|
+
body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_1gn2o_137:not(#\9):focus {
|
|
229
226
|
outline: 2px dotted transparent;
|
|
230
227
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
231
228
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
@@ -235,11 +232,11 @@ body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_1exu9_139:not(#\9):focus
|
|
|
235
232
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
236
233
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
237
234
|
}
|
|
238
|
-
.
|
|
235
|
+
.awsui_toggle_gfwv3_1gn2o_137 > .awsui_description_gfwv3_1gn2o_232:not(#\9) {
|
|
239
236
|
margin-inline-start: var(--space-xxs-p8yyaw, 4px);
|
|
240
237
|
}
|
|
241
238
|
|
|
242
|
-
.
|
|
239
|
+
.awsui_separator_gfwv3_1gn2o_236:not(#\9) {
|
|
243
240
|
margin-block: 0;
|
|
244
241
|
margin-inline: var(--space-scaled-m-mo5yse, 16px);
|
|
245
242
|
inline-size: var(--border-divider-section-width-1061zr, 1px);
|
|
@@ -2,14 +2,14 @@
|
|
|
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
|
-
"horizontal": "
|
|
7
|
-
"vertical": "
|
|
8
|
-
"list": "
|
|
9
|
-
"list-item": "awsui_list-
|
|
10
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
11
|
-
"toggle": "
|
|
12
|
-
"description": "
|
|
13
|
-
"separator": "
|
|
5
|
+
"root": "awsui_root_gfwv3_1gn2o_97",
|
|
6
|
+
"horizontal": "awsui_horizontal_gfwv3_1gn2o_102",
|
|
7
|
+
"vertical": "awsui_vertical_gfwv3_1gn2o_106",
|
|
8
|
+
"list": "awsui_list_gfwv3_1gn2o_110",
|
|
9
|
+
"list-item": "awsui_list-item_gfwv3_1gn2o_130",
|
|
10
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1gn2o_137",
|
|
11
|
+
"toggle": "awsui_toggle_gfwv3_1gn2o_137",
|
|
12
|
+
"description": "awsui_description_gfwv3_1gn2o_232",
|
|
13
|
+
"separator": "awsui_separator_gfwv3_1gn2o_236"
|
|
14
14
|
};
|
|
15
15
|
|
package/internal/environment.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* This function returns an object that needs to be spread onto the same
|
|
4
|
+
* element as the `elementRef`, so that the data attribute is applied
|
|
5
|
+
* correctly.
|
|
6
|
+
*/
|
|
7
|
+
export declare function usePerformanceMarks(name: string, enabled: boolean, elementRef: React.RefObject<HTMLElement>, getDetails: () => Record<string, string | boolean | number | undefined>, dependencies: React.DependencyList): {
|
|
8
|
+
"data-analytics-performance-mark": string | undefined;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-performance-marks/index.ts"],"names":[],"mappings":";AA2BA;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,EACxC,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,EACvE,YAAY,EAAE,KAAK,CAAC,cAAc;;EA0DnC"}
|
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import { useEffect } from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import { useEffectOnUpdate } from '
|
|
6
|
-
import { useModalContext } from '
|
|
3
|
+
import { useEffect, useRef } from 'react';
|
|
4
|
+
import { useRandomId } from '../use-unique-id';
|
|
5
|
+
import { useEffectOnUpdate } from '../use-effect-on-update';
|
|
6
|
+
import { useModalContext } from '../../context/modal-context';
|
|
7
|
+
/*
|
|
8
|
+
This hook allows setting an HTML attribute after the first render, without rerendering the component.
|
|
9
|
+
*/
|
|
10
|
+
function usePerformanceMarkAttribute(elementRef, value) {
|
|
11
|
+
const attributeName = 'data-analytics-performance-mark';
|
|
12
|
+
const attributeValueRef = useRef();
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
var _a;
|
|
15
|
+
// With this effect, we apply the attribute only on the client, to avoid hydration errors.
|
|
16
|
+
attributeValueRef.current = value;
|
|
17
|
+
(_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.setAttribute(attributeName, value);
|
|
18
|
+
}, [value, elementRef]);
|
|
19
|
+
return {
|
|
20
|
+
[attributeName]: attributeValueRef.current,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* This function returns an object that needs to be spread onto the same
|
|
25
|
+
* element as the `elementRef`, so that the data attribute is applied
|
|
26
|
+
* correctly.
|
|
27
|
+
*/
|
|
7
28
|
export function usePerformanceMarks(name, enabled, elementRef, getDetails, dependencies) {
|
|
8
|
-
const id =
|
|
29
|
+
const id = useRandomId();
|
|
9
30
|
const { isInModal } = useModalContext();
|
|
31
|
+
const attributes = usePerformanceMarkAttribute(elementRef, id);
|
|
10
32
|
useEffect(() => {
|
|
11
33
|
if (!enabled || !elementRef.current || isInModal) {
|
|
12
34
|
return;
|
|
@@ -39,5 +61,6 @@ export function usePerformanceMarks(name, enabled, elementRef, getDetails, depen
|
|
|
39
61
|
});
|
|
40
62
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
41
63
|
}, dependencies);
|
|
64
|
+
return attributes;
|
|
42
65
|
}
|
|
43
|
-
//# sourceMappingURL=
|
|
66
|
+
//# sourceMappingURL=index.js.map
|