@cloudscape-design/components 3.0.334 → 3.0.336
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 +33 -33
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +30 -30
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/index.js +3 -3
- package/app-layout/index.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +3 -3
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +69 -69
- package/app-layout/visual-refresh/styles.scoped.css +168 -168
- package/app-layout/visual-refresh/styles.selectors.js +69 -69
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +27 -27
- package/attribute-editor/styles.selectors.js +14 -14
- package/autosuggest/virtual-list.d.ts.map +1 -1
- package/autosuggest/virtual-list.js +2 -2
- package/autosuggest/virtual-list.js.map +1 -1
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +7 -7
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +238 -238
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +14 -14
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/styles.css.js +20 -20
- package/button/styles.scoped.css +154 -154
- package/button/styles.selectors.js +20 -20
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +2 -2
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +31 -0
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +52 -7
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +6 -6
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +14 -8
- package/button-dropdown/styles.scoped.css +44 -14
- package/button-dropdown/styles.selectors.js +14 -8
- package/button-dropdown/utils/use-button-dropdown.d.ts +1 -0
- package/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
- package/button-dropdown/utils/use-button-dropdown.js +1 -0
- package/button-dropdown/utils/use-button-dropdown.js.map +1 -1
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +40 -40
- package/calendar/styles.selectors.js +18 -18
- package/cards/index.js +5 -4
- package/cards/index.js.map +1 -1
- package/cards/styles.css.js +38 -38
- package/cards/styles.scoped.css +55 -55
- package/cards/styles.selectors.js +38 -38
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +7 -7
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/index.js +2 -2
- package/code-editor/index.js.map +1 -1
- package/code-editor/status-bar.d.ts.map +1 -1
- package/code-editor/status-bar.js +3 -3
- package/code-editor/status-bar.js.map +1 -1
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +129 -129
- 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 +19 -19
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +47 -47
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/flexible-column-layout/index.d.ts.map +1 -1
- package/column-layout/flexible-column-layout/index.js +2 -2
- package/column-layout/flexible-column-layout/index.js.map +1 -1
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +44 -44
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +28 -28
- package/container/styles.scoped.css +52 -52
- package/container/styles.selectors.js +28 -28
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +10 -10
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +48 -48
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +29 -29
- package/expandable-section/styles.scoped.css +65 -65
- package/expandable-section/styles.selectors.js +29 -29
- package/flashbar/styles.css.js +46 -46
- package/flashbar/styles.scoped.css +160 -160
- package/flashbar/styles.selectors.js +46 -46
- package/form/styles.css.js +9 -9
- package/form/styles.scoped.css +9 -9
- package/form/styles.selectors.js +9 -9
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +31 -31
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +55 -55
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +50 -50
- package/header/styles.selectors.js +44 -44
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +70 -69
- package/help-panel/styles.selectors.js +4 -4
- package/icon/styles.css.js +21 -21
- package/icon/styles.scoped.css +50 -50
- package/icon/styles.selectors.js +21 -21
- package/input/internal.js +1 -1
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +12 -12
- package/input/styles.scoped.css +35 -35
- package/input/styles.selectors.js +12 -12
- package/internal/base-component/styles.scoped.css +8 -7
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +26 -26
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/cartesian-chart/labels-measure.d.ts.map +1 -1
- package/internal/components/cartesian-chart/labels-measure.js +2 -2
- package/internal/components/cartesian-chart/labels-measure.js.map +1 -1
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +4 -4
- 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 +16 -16
- 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 +4 -4
- 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 +10 -10
- 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 +8 -8
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +6 -6
- package/internal/components/chart-wrapper/styles.scoped.css +9 -9
- package/internal/components/chart-wrapper/styles.selectors.js +6 -6
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +36 -36
- 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 +4 -4
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/index.d.ts.map +1 -1
- package/internal/components/dropdown-status/index.js +1 -1
- package/internal/components/dropdown-status/index.js.map +1 -1
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +3 -3
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +14 -14
- 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 +31 -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 +3 -3
- 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 -29
- 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 +21 -21
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/generated/theming/index.cjs +24 -13
- package/internal/generated/theming/index.js +24 -13
- package/internal/hooks/container-queries/index.d.ts +0 -2
- package/internal/hooks/container-queries/index.d.ts.map +1 -1
- package/internal/hooks/container-queries/index.js +2 -1
- package/internal/hooks/container-queries/index.js.map +1 -1
- package/internal/hooks/container-queries/use-container-breakpoints.d.ts.map +1 -1
- package/internal/hooks/container-queries/use-container-breakpoints.js +2 -2
- package/internal/hooks/container-queries/use-container-breakpoints.js.map +1 -1
- package/internal/hooks/container-queries/use-resize-observer.d.ts +1 -1
- package/internal/hooks/container-queries/use-resize-observer.d.ts.map +1 -1
- package/internal/hooks/container-queries/use-resize-observer.js +0 -2
- package/internal/hooks/container-queries/use-resize-observer.js.map +1 -1
- package/internal/hooks/use-dynamic-overlap/index.js +2 -2
- package/internal/hooks/use-dynamic-overlap/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/use-container-width.d.ts.map +1 -1
- package/internal/utils/use-container-width.js +5 -3
- package/internal/utils/use-container-width.js.map +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +73 -73
- package/link/styles.selectors.js +20 -20
- package/modal/internal.d.ts.map +1 -1
- package/modal/internal.js +2 -1
- package/modal/internal.js.map +1 -1
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +40 -40
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +2 -2
- package/multiselect/styles.selectors.js +1 -1
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +24 -24
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +23 -23
- package/pie-chart/styles.scoped.css +42 -42
- package/pie-chart/styles.selectors.js +23 -23
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +66 -66
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +35 -35
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +2 -3
- package/property-filter/index.js.map +1 -1
- package/property-filter/styles.css.js +29 -29
- package/property-filter/styles.scoped.css +32 -32
- package/property-filter/styles.selectors.js +29 -29
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +2 -2
- package/property-filter/token-editor.js.map +1 -1
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +17 -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 +35 -35
- package/segmented-control/styles.selectors.js +14 -14
- package/select/parts/virtual-list.js +2 -2
- package/select/parts/virtual-list.js.map +1 -1
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +2 -2
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +27 -27
- package/side-navigation/styles.scoped.css +39 -39
- package/side-navigation/styles.selectors.js +27 -27
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +20 -20
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/styles.css.js +56 -56
- package/split-panel/styles.scoped.css +78 -78
- package/split-panel/styles.selectors.js +56 -56
- package/status-indicator/internal.d.ts +6 -3
- package/status-indicator/internal.d.ts.map +1 -1
- package/status-indicator/internal.js +2 -2
- package/status-indicator/internal.js.map +1 -1
- package/status-indicator/styles.css.js +22 -20
- package/status-indicator/styles.scoped.css +33 -28
- package/status-indicator/styles.selectors.js +22 -20
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +6 -4
- package/table/internal.js.map +1 -1
- package/table/sticky-scrollbar/styles.css.js +4 -4
- package/table/sticky-scrollbar/styles.scoped.css +4 -5
- package/table/sticky-scrollbar/styles.selectors.js +4 -4
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +43 -43
- package/table/styles.selectors.js +34 -34
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +39 -39
- package/tabs/styles.selectors.js +21 -21
- package/tabs/tab-header-bar.js +2 -2
- package/tabs/tab-header-bar.js.map +1 -1
- package/test-utils/dom/button-dropdown/index.d.ts +2 -0
- package/test-utils/dom/button-dropdown/index.js +6 -1
- package/test-utils/dom/button-dropdown/index.js.map +1 -1
- package/test-utils/selectors/button-dropdown/index.d.ts +2 -0
- package/test-utils/selectors/button-dropdown/index.js +6 -1
- package/test-utils/selectors/button-dropdown/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 +64 -64
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +4 -4
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +14 -14
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +70 -70
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -15
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +17 -17
- 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 +43 -43
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/1.0-beta/use-top-navigation.d.ts.map +1 -1
- package/top-navigation/1.0-beta/use-top-navigation.js +2 -1
- package/top-navigation/1.0-beta/use-top-navigation.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +70 -70
- package/top-navigation/styles.selectors.js +47 -47
- package/top-navigation/use-top-navigation.d.ts.map +1 -1
- package/top-navigation/use-top-navigation.js +2 -1
- package/top-navigation/use-top-navigation.js.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -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 +30 -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 +2 -2
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +31 -31
- package/wizard/styles.scoped.css +63 -63
- package/wizard/styles.selectors.js +31 -31
- package/internal/hooks/container-queries/interfaces.d.ts +0 -10
- package/internal/hooks/container-queries/interfaces.d.ts.map +0 -1
- package/internal/hooks/container-queries/interfaces.js +0 -4
- package/internal/hooks/container-queries/interfaces.js.map +0 -1
- package/internal/hooks/container-queries/use-container-query.d.ts +0 -22
- package/internal/hooks/container-queries/use-container-query.d.ts.map +0 -1
- package/internal/hooks/container-queries/use-container-query.js +0 -32
- package/internal/hooks/container-queries/use-container-query.js.map +0 -1
|
@@ -2,74 +2,74 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"background": "
|
|
6
|
-
"scrolling-background": "awsui_scrolling-
|
|
7
|
-
"sticky-background": "awsui_sticky-
|
|
8
|
-
"has-sticky-notifications": "awsui_has-sticky-
|
|
9
|
-
"breadcrumbs": "
|
|
10
|
-
"has-sticky-background": "awsui_has-sticky-
|
|
11
|
-
"drawers-container": "awsui_drawers-
|
|
12
|
-
"has-open-drawer": "awsui_has-open-
|
|
13
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
14
|
-
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-
|
|
15
|
-
"has-multiple-triggers": "awsui_has-multiple-
|
|
16
|
-
"drawers-trigger-content": "awsui_drawers-trigger-
|
|
17
|
-
"drawers-trigger": "awsui_drawers-
|
|
18
|
-
"drawer": "
|
|
19
|
-
"drawer-close-button": "awsui_drawer-close-
|
|
20
|
-
"drawer-content": "awsui_drawer-
|
|
21
|
-
"drawer-slider": "awsui_drawer-
|
|
22
|
-
"is-drawer-open": "awsui_is-drawer-
|
|
23
|
-
"content": "
|
|
24
|
-
"layout": "
|
|
25
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
26
|
-
"content-type-dashboard": "awsui_content-type-
|
|
27
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
28
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
29
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
30
|
-
"content-first-child-notifications": "awsui_content-first-child-
|
|
31
|
-
"has-breadcrumbs": "awsui_has-
|
|
32
|
-
"content-first-child-header": "awsui_content-first-child-
|
|
33
|
-
"has-header": "awsui_has-
|
|
34
|
-
"content-first-child-main": "awsui_content-first-child-
|
|
35
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
36
|
-
"has-split-panel": "awsui_has-split-
|
|
37
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
38
|
-
"block-body-scroll": "awsui_block-body-
|
|
39
|
-
"unfocusable": "
|
|
40
|
-
"container": "
|
|
41
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
42
|
-
"is-tools-open": "awsui_is-tools-
|
|
43
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
44
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
45
|
-
"mobile-toolbar": "awsui_mobile-
|
|
46
|
-
"mobile-toolbar-nav": "awsui_mobile-toolbar-
|
|
47
|
-
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-
|
|
48
|
-
"mobile-toolbar-tools": "awsui_mobile-toolbar-
|
|
49
|
-
"navigation-container": "awsui_navigation-
|
|
50
|
-
"show-navigation": "awsui_show-
|
|
51
|
-
"animating": "
|
|
52
|
-
"showButtons": "
|
|
53
|
-
"navigation": "
|
|
54
|
-
"openNavigation": "
|
|
55
|
-
"animated-content": "awsui_animated-
|
|
56
|
-
"hide-navigation": "awsui_hide-
|
|
57
|
-
"notifications": "
|
|
58
|
-
"sticky-notifications": "awsui_sticky-
|
|
59
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
60
|
-
"position-bottom": "awsui_position-
|
|
61
|
-
"openSplitPanelBottom": "
|
|
62
|
-
"split-panel-side": "awsui_split-panel-
|
|
63
|
-
"position-side": "awsui_position-
|
|
64
|
-
"openSplitPanelSide": "
|
|
65
|
-
"tools-container": "awsui_tools-
|
|
66
|
-
"tools": "
|
|
67
|
-
"openTools": "
|
|
68
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
69
|
-
"hide-tools": "awsui_hide-
|
|
70
|
-
"show-tools": "awsui_show-
|
|
71
|
-
"has-tools-form": "awsui_has-tools-
|
|
72
|
-
"trigger": "
|
|
73
|
-
"selected": "
|
|
5
|
+
"background": "awsui_background_hyvsj_yd4mf_93",
|
|
6
|
+
"scrolling-background": "awsui_scrolling-background_hyvsj_yd4mf_96",
|
|
7
|
+
"sticky-background": "awsui_sticky-background_hyvsj_yd4mf_102",
|
|
8
|
+
"has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_yd4mf_110",
|
|
9
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_yd4mf_123",
|
|
10
|
+
"has-sticky-background": "awsui_has-sticky-background_hyvsj_yd4mf_133",
|
|
11
|
+
"drawers-container": "awsui_drawers-container_hyvsj_yd4mf_145",
|
|
12
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_yd4mf_157",
|
|
13
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_yd4mf_191",
|
|
14
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_yd4mf_196",
|
|
15
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_yd4mf_214",
|
|
16
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_yd4mf_246",
|
|
17
|
+
"drawers-trigger": "awsui_drawers-trigger_hyvsj_yd4mf_246",
|
|
18
|
+
"drawer": "awsui_drawer_hyvsj_yd4mf_145",
|
|
19
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_yd4mf_295",
|
|
20
|
+
"drawer-content": "awsui_drawer-content_hyvsj_yd4mf_300",
|
|
21
|
+
"drawer-slider": "awsui_drawer-slider_hyvsj_yd4mf_305",
|
|
22
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_yd4mf_312",
|
|
23
|
+
"content": "awsui_content_hyvsj_yd4mf_337",
|
|
24
|
+
"layout": "awsui_layout_hyvsj_yd4mf_358",
|
|
25
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_yd4mf_441",
|
|
26
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_yd4mf_456",
|
|
27
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_yd4mf_473",
|
|
28
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_yd4mf_505",
|
|
29
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_yd4mf_508",
|
|
30
|
+
"content-first-child-notifications": "awsui_content-first-child-notifications_hyvsj_yd4mf_518",
|
|
31
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_yd4mf_521",
|
|
32
|
+
"content-first-child-header": "awsui_content-first-child-header_hyvsj_yd4mf_524",
|
|
33
|
+
"has-header": "awsui_has-header_hyvsj_yd4mf_524",
|
|
34
|
+
"content-first-child-main": "awsui_content-first-child-main_hyvsj_yd4mf_545",
|
|
35
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_yd4mf_545",
|
|
36
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_yd4mf_588",
|
|
37
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_yd4mf_588",
|
|
38
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_yd4mf_604",
|
|
39
|
+
"unfocusable": "awsui_unfocusable_hyvsj_yd4mf_609",
|
|
40
|
+
"container": "awsui_container_hyvsj_yd4mf_619",
|
|
41
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_yd4mf_644",
|
|
42
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_yd4mf_647",
|
|
43
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_yd4mf_647",
|
|
44
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_yd4mf_647",
|
|
45
|
+
"mobile-toolbar": "awsui_mobile-toolbar_hyvsj_yd4mf_656",
|
|
46
|
+
"mobile-toolbar-nav": "awsui_mobile-toolbar-nav_hyvsj_yd4mf_672",
|
|
47
|
+
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-breadcrumbs_hyvsj_yd4mf_676",
|
|
48
|
+
"mobile-toolbar-tools": "awsui_mobile-toolbar-tools_hyvsj_yd4mf_680",
|
|
49
|
+
"navigation-container": "awsui_navigation-container_hyvsj_yd4mf_689",
|
|
50
|
+
"show-navigation": "awsui_show-navigation_hyvsj_yd4mf_733",
|
|
51
|
+
"animating": "awsui_animating_hyvsj_yd4mf_755",
|
|
52
|
+
"showButtons": "awsui_showButtons_hyvsj_yd4mf_1",
|
|
53
|
+
"navigation": "awsui_navigation_hyvsj_yd4mf_689",
|
|
54
|
+
"openNavigation": "awsui_openNavigation_hyvsj_yd4mf_1",
|
|
55
|
+
"animated-content": "awsui_animated-content_hyvsj_yd4mf_816",
|
|
56
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_yd4mf_825",
|
|
57
|
+
"notifications": "awsui_notifications_hyvsj_yd4mf_835",
|
|
58
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_yd4mf_841",
|
|
59
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_yd4mf_858",
|
|
60
|
+
"position-bottom": "awsui_position-bottom_hyvsj_yd4mf_904",
|
|
61
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_yd4mf_1",
|
|
62
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_yd4mf_933",
|
|
63
|
+
"position-side": "awsui_position-side_hyvsj_yd4mf_961",
|
|
64
|
+
"openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_yd4mf_1",
|
|
65
|
+
"tools-container": "awsui_tools-container_hyvsj_yd4mf_998",
|
|
66
|
+
"tools": "awsui_tools_hyvsj_yd4mf_998",
|
|
67
|
+
"openTools": "awsui_openTools_hyvsj_yd4mf_1",
|
|
68
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_yd4mf_1092",
|
|
69
|
+
"hide-tools": "awsui_hide-tools_hyvsj_yd4mf_1102",
|
|
70
|
+
"show-tools": "awsui_show-tools_hyvsj_yd4mf_1114",
|
|
71
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_yd4mf_1092",
|
|
72
|
+
"trigger": "awsui_trigger_hyvsj_yd4mf_1181",
|
|
73
|
+
"selected": "awsui_selected_hyvsj_yd4mf_1220"
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"empty-appear": "awsui_empty-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"empty": "
|
|
8
|
-
"row": "
|
|
9
|
-
"row-control": "awsui_row-
|
|
10
|
-
"field": "
|
|
11
|
-
"add-button": "awsui_add-
|
|
12
|
-
"remove-button": "awsui_remove-
|
|
13
|
-
"button-container-haslabel": "awsui_button-container-
|
|
14
|
-
"button-container-nolabel": "awsui_button-container-
|
|
15
|
-
"divider": "
|
|
16
|
-
"additional-info": "awsui_additional-
|
|
17
|
-
"right-align": "awsui_right-
|
|
4
|
+
"empty-appear": "awsui_empty-appear_n4qlp_1n9nf_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1n9nf_1",
|
|
6
|
+
"root": "awsui_root_n4qlp_1n9nf_119",
|
|
7
|
+
"empty": "awsui_empty_n4qlp_1n9nf_93",
|
|
8
|
+
"row": "awsui_row_n4qlp_1n9nf_139",
|
|
9
|
+
"row-control": "awsui_row-control_n4qlp_1n9nf_143",
|
|
10
|
+
"field": "awsui_field_n4qlp_1n9nf_147",
|
|
11
|
+
"add-button": "awsui_add-button_n4qlp_1n9nf_151",
|
|
12
|
+
"remove-button": "awsui_remove-button_n4qlp_1n9nf_155",
|
|
13
|
+
"button-container-haslabel": "awsui_button-container-haslabel_n4qlp_1n9nf_159",
|
|
14
|
+
"button-container-nolabel": "awsui_button-container-nolabel_n4qlp_1n9nf_163",
|
|
15
|
+
"divider": "awsui_divider_n4qlp_1n9nf_167",
|
|
16
|
+
"additional-info": "awsui_additional-info_n4qlp_1n9nf_171",
|
|
17
|
+
"right-align": "awsui_right-align_n4qlp_1n9nf_217"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -90,10 +90,10 @@ 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_empty-
|
|
94
|
-
animation: awsui_awsui-motion-fade-
|
|
93
|
+
.awsui_empty-appear_n4qlp_1n9nf_93:not(#\9) {
|
|
94
|
+
animation: awsui_awsui-motion-fade-in_n4qlp_1n9nf_1 var(--motion-duration-transition-show-paced-4yudkh, 180ms) var(--motion-easing-transition-show-paced-47k9w2, ease-out);
|
|
95
95
|
}
|
|
96
|
-
@keyframes awsui_awsui-motion-fade-
|
|
96
|
+
@keyframes awsui_awsui-motion-fade-in_n4qlp_1n9nf_1 {
|
|
97
97
|
from {
|
|
98
98
|
opacity: 0.2;
|
|
99
99
|
}
|
|
@@ -102,12 +102,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.awsui_empty-
|
|
105
|
+
.awsui_empty-appear_n4qlp_1n9nf_93:not(#\9) {
|
|
106
106
|
animation: none;
|
|
107
107
|
transition: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
.awsui-motion-disabled .awsui_empty-
|
|
110
|
+
.awsui-motion-disabled .awsui_empty-appear_n4qlp_1n9nf_93:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_1n9nf_93:not(#\9) {
|
|
111
111
|
animation: none;
|
|
112
112
|
transition: none;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
117
|
SPDX-License-Identifier: Apache-2.0
|
|
118
118
|
*/
|
|
119
|
-
.
|
|
119
|
+
.awsui_root_n4qlp_1n9nf_119:not(#\9) {
|
|
120
120
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
121
121
|
border-collapse: separate;
|
|
122
122
|
border-spacing: 0;
|
|
@@ -147,7 +147,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
147
147
|
word-spacing: normal;
|
|
148
148
|
box-sizing: border-box;
|
|
149
149
|
font-size: var(--font-body-m-size-7dign1, 14px);
|
|
150
|
-
line-height: var(--font-body-m-line-height-
|
|
150
|
+
line-height: var(--font-body-m-line-height-ghizru, 20px);
|
|
151
151
|
color: var(--color-text-body-default-su7kuo, #000716);
|
|
152
152
|
font-weight: 400;
|
|
153
153
|
font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
@@ -156,45 +156,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
156
156
|
display: block;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.awsui_empty_n4qlp_1n9nf_93:not(#\9) {
|
|
160
160
|
font-size: var(--font-body-m-size-7dign1, 14px);
|
|
161
|
-
line-height: var(--font-body-m-line-height-
|
|
161
|
+
line-height: var(--font-body-m-line-height-ghizru, 20px);
|
|
162
162
|
color: var(--color-text-empty-v5xueo, #5f6b7a);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.awsui_row_n4qlp_1n9nf_139:not(#\9) {
|
|
166
166
|
/* used in test-utils */
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.awsui_row-
|
|
169
|
+
.awsui_row-control_n4qlp_1n9nf_143:not(#\9) {
|
|
170
170
|
/* used in test-utils */
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.awsui_field_n4qlp_1n9nf_147:not(#\9) {
|
|
174
174
|
/* used in test-utils */
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.awsui_add-
|
|
177
|
+
.awsui_add-button_n4qlp_1n9nf_151:not(#\9) {
|
|
178
178
|
/* used in test-utils */
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.awsui_remove-
|
|
181
|
+
.awsui_remove-button_n4qlp_1n9nf_155:not(#\9) {
|
|
182
182
|
/* used in test-utils */
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.awsui_button-container-
|
|
186
|
-
padding-top: calc(var(--space-xxs-ja5cp8, 4px) + var(--font-body-m-line-height-
|
|
185
|
+
.awsui_button-container-haslabel_n4qlp_1n9nf_159:not(#\9) {
|
|
186
|
+
padding-top: calc(var(--space-xxs-ja5cp8, 4px) + var(--font-body-m-line-height-ghizru, 20px));
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.awsui_button-container-
|
|
189
|
+
.awsui_button-container-nolabel_n4qlp_1n9nf_163:not(#\9) {
|
|
190
190
|
padding-top: var(--space-xxs-ja5cp8, 4px);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.awsui_divider_n4qlp_1n9nf_167:not(#\9) {
|
|
194
194
|
border-bottom: var(--border-divider-section-width-orq175, 2px) solid var(--color-border-divider-default-9o8zql, #e9ebed);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
.awsui_additional-
|
|
197
|
+
.awsui_additional-info_n4qlp_1n9nf_171:not(#\9) {
|
|
198
198
|
color: var(--color-text-form-secondary-88dttc, #5f6b7a);
|
|
199
199
|
font-size: var(--font-body-s-size-6jmxer, 12px);
|
|
200
200
|
line-height: var(--font-body-s-line-height-ga8tt7, 16px);
|
|
@@ -204,7 +204,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
204
204
|
margin-top: var(--space-xxs-ja5cp8, 4px);
|
|
205
205
|
/* stylelint-disable-next-line selector-max-type */
|
|
206
206
|
}
|
|
207
|
-
.awsui_additional-
|
|
207
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9) {
|
|
208
208
|
color: var(--color-text-link-default-gthbx2, #0972d3);
|
|
209
209
|
font-weight: var(--font-link-primary-weight-tj5hoh, "inherit");
|
|
210
210
|
letter-spacing: var(--font-link-primary-letter-spacing-zpfgrc, "inherit");
|
|
@@ -218,31 +218,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
218
218
|
transition-duration: var(--motion-duration-refresh-only-medium-wkp575, 165ms);
|
|
219
219
|
}
|
|
220
220
|
@media (prefers-reduced-motion: reduce) {
|
|
221
|
-
.awsui_additional-
|
|
221
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9) {
|
|
222
222
|
animation: none;
|
|
223
223
|
transition: none;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
.awsui-motion-disabled .awsui_additional-
|
|
226
|
+
.awsui-motion-disabled .awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9) {
|
|
227
227
|
animation: none;
|
|
228
228
|
transition: none;
|
|
229
229
|
}
|
|
230
|
-
.awsui_additional-
|
|
230
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):hover {
|
|
231
231
|
cursor: pointer;
|
|
232
232
|
color: var(--color-text-link-hover-h1b9eu, #033160);
|
|
233
233
|
}
|
|
234
|
-
.awsui_additional-
|
|
234
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):focus {
|
|
235
235
|
outline: none;
|
|
236
236
|
}
|
|
237
|
-
.awsui_additional-
|
|
237
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):active {
|
|
238
238
|
color: var(--color-text-link-hover-h1b9eu, #033160);
|
|
239
239
|
}
|
|
240
|
-
.awsui_additional-
|
|
240
|
+
.awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):active, .awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):focus, .awsui_additional-info_n4qlp_1n9nf_171 > a:not(#\9):hover {
|
|
241
241
|
text-decoration: underline;
|
|
242
242
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
243
243
|
text-decoration-color: currentColor;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.awsui_right-
|
|
246
|
+
.awsui_right-align_n4qlp_1n9nf_217:not(#\9) {
|
|
247
247
|
float: right;
|
|
248
248
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"empty-appear": "awsui_empty-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"root": "
|
|
8
|
-
"empty": "
|
|
9
|
-
"row": "
|
|
10
|
-
"row-control": "awsui_row-
|
|
11
|
-
"field": "
|
|
12
|
-
"add-button": "awsui_add-
|
|
13
|
-
"remove-button": "awsui_remove-
|
|
14
|
-
"button-container-haslabel": "awsui_button-container-
|
|
15
|
-
"button-container-nolabel": "awsui_button-container-
|
|
16
|
-
"divider": "
|
|
17
|
-
"additional-info": "awsui_additional-
|
|
18
|
-
"right-align": "awsui_right-
|
|
5
|
+
"empty-appear": "awsui_empty-appear_n4qlp_1n9nf_93",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1n9nf_1",
|
|
7
|
+
"root": "awsui_root_n4qlp_1n9nf_119",
|
|
8
|
+
"empty": "awsui_empty_n4qlp_1n9nf_93",
|
|
9
|
+
"row": "awsui_row_n4qlp_1n9nf_139",
|
|
10
|
+
"row-control": "awsui_row-control_n4qlp_1n9nf_143",
|
|
11
|
+
"field": "awsui_field_n4qlp_1n9nf_147",
|
|
12
|
+
"add-button": "awsui_add-button_n4qlp_1n9nf_151",
|
|
13
|
+
"remove-button": "awsui_remove-button_n4qlp_1n9nf_155",
|
|
14
|
+
"button-container-haslabel": "awsui_button-container-haslabel_n4qlp_1n9nf_159",
|
|
15
|
+
"button-container-nolabel": "awsui_button-container-nolabel_n4qlp_1n9nf_163",
|
|
16
|
+
"divider": "awsui_divider_n4qlp_1n9nf_167",
|
|
17
|
+
"additional-info": "awsui_additional-info_n4qlp_1n9nf_171",
|
|
18
|
+
"right-align": "awsui_right-align_n4qlp_1n9nf_217"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-list.d.ts","sourceRoot":"lib/default/","sources":["autosuggest/virtual-list.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"virtual-list.d.ts","sourceRoot":"lib/default/","sources":["autosuggest/virtual-list.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAkB,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzD,QAAA,MAAM,WAAW,qKAUd,SAAS,gBA4EX,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React, { useCallback, useEffect, useImperativeHandle, useRef } from 'react';
|
|
4
4
|
import OptionsList from '../internal/components/options-list';
|
|
5
|
-
import { useContainerQuery } from '../internal/hooks/container-queries';
|
|
6
5
|
import AutosuggestOption from './autosuggest-option';
|
|
7
6
|
import { getOptionProps } from './plain-list';
|
|
8
7
|
import styles from './styles.css.js';
|
|
9
8
|
import { useVirtual } from '../internal/hooks/use-virtual';
|
|
9
|
+
import { useContainerQuery } from '@cloudscape-design/component-toolkit';
|
|
10
10
|
const VirtualList = ({ autosuggestItemsState, handleLoadMore, menuProps, enteredTextLabel, highlightedA11yProps, hasDropdownStatus, highlightText, listBottom, screenReaderContent, }) => {
|
|
11
11
|
const scrollRef = useRef(null);
|
|
12
12
|
// update component, when it gets wider or narrower to reposition items
|
|
13
|
-
const [width, strutRef] = useContainerQuery(rect => rect.
|
|
13
|
+
const [width, strutRef] = useContainerQuery(rect => rect.contentBoxWidth, []);
|
|
14
14
|
useImperativeHandle(strutRef, () => scrollRef.current);
|
|
15
15
|
const rowVirtualizer = useVirtual({
|
|
16
16
|
items: autosuggestItemsState.items,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-list.js","sourceRoot":"lib/default/","sources":["autosuggest/virtual-list.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,WAAW,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"virtual-list.js","sourceRoot":"lib/default/","sources":["autosuggest/virtual-list.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,WAAW,MAAM,qCAAqC,CAAC;AAE9D,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAa,MAAM,cAAc,CAAC;AACzD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,MAAM,WAAW,GAAG,CAAC,EACnB,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,mBAAmB,GACT,EAAE,EAAE;IACd,MAAM,SAAS,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IACjD,uEAAuE;IACvE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC;IAC9E,mBAAmB,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEvD,MAAM,cAAc,GAAG,UAAU,CAAC;QAChC,KAAK,EAAE,qBAAqB,CAAC,KAAK;QAClC,SAAS,EAAE,SAAS;QACpB,8FAA8F;QAC9F,oDAAoD;QACpD,oEAAoE;QACpE,8HAA8H;QAC9H,uDAAuD;QACvD,YAAY,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;KAC5D,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,qBAAqB,CAAC,aAAa,KAAK,UAAU,EAAE;YACtD,cAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;SACtE;IACH,CAAC,EAAE,CAAC,qBAAqB,CAAC,aAAa,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC,CAAC;IAElG,OAAO,CACL,oBAAC,WAAW,oBACN,SAAS,IACb,UAAU,EAAE,cAAc,EAC1B,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,IAAI;QACV,kEAAkE;QAClE,gBAAgB,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE;QAExC,4CACc,MAAM,EAClB,GAAG,EAAC,YAAY,EAChB,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,EACjC,KAAK,EAAE,EAAE,MAAM,EAAE,cAAc,CAAC,SAAS,GAAG,CAAC,qBAAqB,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAChG;QACD,cAAc,CAAC,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;YAC5C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC;YAChD,MAAM,IAAI,GAAG,qBAAqB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAChD,MAAM,WAAW,GAAG,cAAc,CAChC,KAAK,EACL,IAAI,EACJ,qBAAqB,CAAC,KAAK,EAC3B,oBAAoB,EACpB,qBAAqB,CAAC,iBAAiB,EACvC,iBAAiB,CAClB,CAAC;YAEF,OAAO,CACL,oBAAC,iBAAiB,kBAChB,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,UAAU,EACf,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,IAAI,EACZ,WAAW,EAAE,IAAI,KAAK,qBAAqB,CAAC,iBAAiB,EAC7D,OAAO,EAAE,IAAI,CAAC,KAAK,KAAK,aAAa,uBAClB,KAAK,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,KAAK,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC9C,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,qBAAqB,CAAC,KAAK,CAAC,MAAM,EAC/C,YAAY,EAAE,KAAK,GAAG,CAAC,EACvB,aAAa,EAAE,qBAAqB,CAAC,aAAa,IAC9C,WAAW,EACf,CACH,CAAC;QACJ,CAAC,CAAC;QACD,UAAU,CAAC,CAAC,CAAC,CACZ,4BAAI,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,MAAM,CAAC,aAAa,CAAC,IAC/C,UAAU,CACR,CACN,CAAC,CAAC,CAAC,IAAI,CACI,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport OptionsList from '../internal/components/options-list';\n\nimport AutosuggestOption from './autosuggest-option';\nimport { getOptionProps, ListProps } from './plain-list';\nimport styles from './styles.css.js';\nimport { useVirtual } from '../internal/hooks/use-virtual';\nimport { useContainerQuery } from '@cloudscape-design/component-toolkit';\n\nconst VirtualList = ({\n autosuggestItemsState,\n handleLoadMore,\n menuProps,\n enteredTextLabel,\n highlightedA11yProps,\n hasDropdownStatus,\n highlightText,\n listBottom,\n screenReaderContent,\n}: ListProps) => {\n const scrollRef = useRef<HTMLUListElement>(null);\n // update component, when it gets wider or narrower to reposition items\n const [width, strutRef] = useContainerQuery(rect => rect.contentBoxWidth, []);\n useImperativeHandle(strutRef, () => scrollRef.current);\n\n const rowVirtualizer = useVirtual({\n items: autosuggestItemsState.items,\n parentRef: scrollRef,\n // estimateSize is a dependency of measurements memo. We update it to force full recalculation\n // when the height of any option could have changed:\n // 1: because the component got resized (width property got updated)\n // 2: because the option changed its content (highlightText property controls the highlight and the visibility of hidden tags)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n estimateSize: useCallback(() => 31, [width, highlightText]),\n });\n\n useEffect(() => {\n if (autosuggestItemsState.highlightType === 'keyboard') {\n rowVirtualizer.scrollToIndex(autosuggestItemsState.highlightedIndex);\n }\n }, [autosuggestItemsState.highlightType, autosuggestItemsState.highlightedIndex, rowVirtualizer]);\n\n return (\n <OptionsList\n {...menuProps}\n onLoadMore={handleLoadMore}\n ref={scrollRef}\n open={true}\n // to prevent closing the list when clicking the scrollbar on IE11\n nativeAttributes={{ unselectable: 'on' }}\n >\n <div\n aria-hidden=\"true\"\n key=\"total-size\"\n className={styles['layout-strut']}\n style={{ height: rowVirtualizer.totalSize + (autosuggestItemsState.items.length === 1 ? 1 : 0) }}\n />\n {rowVirtualizer.virtualItems.map(virtualRow => {\n const { index, start, measureRef } = virtualRow;\n const item = autosuggestItemsState.items[index];\n const optionProps = getOptionProps(\n index,\n item,\n autosuggestItemsState.items,\n highlightedA11yProps,\n autosuggestItemsState.highlightedOption,\n hasDropdownStatus\n );\n\n return (\n <AutosuggestOption\n key={index}\n ref={measureRef}\n highlightText={highlightText}\n option={item}\n highlighted={item === autosuggestItemsState.highlightedOption}\n current={item.value === highlightText}\n data-mouse-target={index}\n enteredTextLabel={enteredTextLabel}\n virtualPosition={start + (index === 0 ? 1 : 0)}\n screenReaderContent={screenReaderContent}\n ariaSetsize={autosuggestItemsState.items.length}\n ariaPosinset={index + 1}\n highlightType={autosuggestItemsState.highlightType}\n {...optionProps}\n />\n );\n })}\n {listBottom ? (\n <li role=\"option\" className={styles['list-bottom']}>\n {listBottom}\n </li>\n ) : null}\n </OptionsList>\n );\n};\n\nexport default VirtualList;\n"]}
|
package/badge/styles.css.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"badge": "
|
|
5
|
-
"badge-color-grey": "awsui_badge-color-
|
|
6
|
-
"badge-color-green": "awsui_badge-color-
|
|
7
|
-
"badge-color-blue": "awsui_badge-color-
|
|
8
|
-
"badge-color-red": "awsui_badge-color-
|
|
4
|
+
"badge": "awsui_badge_1yjyg_5sn15_93",
|
|
5
|
+
"badge-color-grey": "awsui_badge-color-grey_1yjyg_5sn15_113",
|
|
6
|
+
"badge-color-green": "awsui_badge-color-green_1yjyg_5sn15_116",
|
|
7
|
+
"badge-color-blue": "awsui_badge-color-blue_1yjyg_5sn15_119",
|
|
8
|
+
"badge-color-red": "awsui_badge-color-red_1yjyg_5sn15_122"
|
|
9
9
|
};
|
|
10
10
|
|
package/badge/styles.scoped.css
CHANGED
|
@@ -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_badge_1yjyg_5sn15_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -121,7 +121,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
121
121
|
word-spacing: normal;
|
|
122
122
|
box-sizing: border-box;
|
|
123
123
|
font-size: var(--font-body-m-size-7dign1, 14px);
|
|
124
|
-
line-height: var(--font-body-m-line-height-
|
|
124
|
+
line-height: var(--font-body-m-line-height-ghizru, 20px);
|
|
125
125
|
color: var(--color-text-body-default-su7kuo, #000716);
|
|
126
126
|
font-weight: 400;
|
|
127
127
|
font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
@@ -130,21 +130,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
font-size: var(--font-body-s-size-6jmxer, 12px);
|
|
131
131
|
line-height: var(--font-body-s-line-height-ga8tt7, 16px);
|
|
132
132
|
letter-spacing: var(--font-body-s-letter-spacing-v8bwhi, 0.005em);
|
|
133
|
-
line-height: var(--font-body-m-line-height-
|
|
133
|
+
line-height: var(--font-body-m-line-height-ghizru, 20px);
|
|
134
134
|
display: inline-block;
|
|
135
135
|
border-radius: var(--border-radius-badge-tm5gnf, 4px);
|
|
136
136
|
padding: 0 var(--space-xs-edba2s, 8px);
|
|
137
137
|
color: var(--color-text-notification-default-4icnky, #fbfbfb);
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
.awsui_badge_1yjyg_5sn15_93.awsui_badge-color-grey_1yjyg_5sn15_113:not(#\9) {
|
|
140
140
|
background-color: var(--color-background-notification-grey-rdt69h, #414d5c);
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
.awsui_badge_1yjyg_5sn15_93.awsui_badge-color-green_1yjyg_5sn15_116:not(#\9) {
|
|
143
143
|
background-color: var(--color-background-notification-green-dvafxg, #037f0c);
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
.awsui_badge_1yjyg_5sn15_93.awsui_badge-color-blue_1yjyg_5sn15_119:not(#\9) {
|
|
146
146
|
background-color: var(--color-background-notification-blue-xqhf8m, #0972d3);
|
|
147
147
|
}
|
|
148
|
-
.
|
|
148
|
+
.awsui_badge_1yjyg_5sn15_93.awsui_badge-color-red_1yjyg_5sn15_122:not(#\9) {
|
|
149
149
|
background-color: var(--color-background-notification-red-sul351, #d91515);
|
|
150
150
|
}
|
|
@@ -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
|
-
"badge": "
|
|
6
|
-
"badge-color-grey": "awsui_badge-color-
|
|
7
|
-
"badge-color-green": "awsui_badge-color-
|
|
8
|
-
"badge-color-blue": "awsui_badge-color-
|
|
9
|
-
"badge-color-red": "awsui_badge-color-
|
|
5
|
+
"badge": "awsui_badge_1yjyg_5sn15_93",
|
|
6
|
+
"badge-color-grey": "awsui_badge-color-grey_1yjyg_5sn15_113",
|
|
7
|
+
"badge-color-green": "awsui_badge-color-green_1yjyg_5sn15_116",
|
|
8
|
+
"badge-color-blue": "awsui_badge-color-blue_1yjyg_5sn15_119",
|
|
9
|
+
"badge-color-red": "awsui_badge-color-red_1yjyg_5sn15_122"
|
|
10
10
|
};
|
|
11
11
|
|