@cloudscape-design/components 3.0.1401 → 3.0.1403
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/action-card/styles.css.js +17 -17
- package/action-card/styles.scoped.css +267 -267
- package/action-card/styles.selectors.js +17 -17
- package/alert/actions-wrapper/styles.css.js +1 -1
- package/alert/actions-wrapper/styles.scoped.css +3 -3
- package/alert/actions-wrapper/styles.selectors.js +1 -1
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +97 -97
- package/alert/styles.selectors.js +27 -27
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +64 -64
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +13 -13
- package/annotation-context/annotation/styles.scoped.css +36 -36
- package/annotation-context/annotation/styles.selectors.js +13 -13
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +10 -10
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +14 -14
- package/app-layout/drawer/styles.scoped.css +34 -34
- package/app-layout/drawer/styles.selectors.js +14 -14
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +18 -18
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/resize/styles.css.js +5 -5
- package/app-layout/resize/styles.scoped.css +14 -14
- package/app-layout/resize/styles.selectors.js +5 -5
- package/app-layout/styles.css.js +12 -12
- package/app-layout/styles.scoped.css +21 -21
- package/app-layout/styles.selectors.js +12 -12
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +20 -20
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +265 -265
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +144 -144
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +14 -14
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/notifications/styles.css.js +3 -3
- package/app-layout/visual-refresh-toolbar/notifications/styles.scoped.css +5 -5
- package/app-layout/visual-refresh-toolbar/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +87 -87
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +15 -15
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +62 -62
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +15 -15
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +34 -34
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +16 -16
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +49 -49
- package/attribute-editor/styles.selectors.js +15 -15
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +62 -62
- package/badge/styles.selectors.js +10 -10
- package/box/styles.css.js +214 -214
- package/box/styles.scoped.css +542 -542
- package/box/styles.selectors.js +214 -214
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +44 -44
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/breadcrumb-group/styles.css.js +14 -14
- package/breadcrumb-group/styles.scoped.css +59 -59
- package/breadcrumb-group/styles.selectors.js +14 -14
- package/button/interfaces.d.ts +3 -1
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/styles.css.js +24 -24
- package/button/styles.scoped.css +227 -227
- package/button/styles.selectors.js +24 -24
- package/button-dropdown/category-elements/styles.css.js +18 -18
- package/button-dropdown/category-elements/styles.scoped.css +61 -61
- package/button-dropdown/category-elements/styles.selectors.js +18 -18
- package/button-dropdown/interfaces.d.ts +6 -3
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +86 -86
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +11 -11
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +23 -23
- package/button-dropdown/styles.scoped.css +45 -45
- package/button-dropdown/styles.selectors.js +23 -23
- package/button-group/interfaces.d.ts +22 -13
- package/button-group/interfaces.d.ts.map +1 -1
- package/button-group/interfaces.js.map +1 -1
- package/button-group/styles.css.js +4 -4
- package/button-group/styles.scoped.css +13 -13
- package/button-group/styles.selectors.js +4 -4
- package/calendar/grid/index.js.map +1 -1
- package/calendar/interfaces.d.ts +3 -1
- package/calendar/interfaces.d.ts.map +1 -1
- package/calendar/interfaces.js.map +1 -1
- package/calendar/styles.css.js +21 -21
- package/calendar/styles.scoped.css +133 -133
- package/calendar/styles.selectors.js +21 -21
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +70 -70
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +20 -20
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +4 -4
- package/code-editor/resizable-box/styles.scoped.css +9 -9
- package/code-editor/resizable-box/styles.selectors.js +4 -4
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +262 -262
- package/code-editor/styles.selectors.js +33 -33
- package/collection-preferences/styles.css.js +38 -38
- package/collection-preferences/styles.scoped.css +85 -85
- package/collection-preferences/styles.selectors.js +38 -38
- package/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/column-layout/flexible-column-layout/styles.scoped.css +13 -13
- package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +59 -59
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +34 -34
- package/container/styles.scoped.css +136 -136
- package/container/styles.selectors.js +34 -34
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/copy-to-clipboard/interfaces.d.ts +3 -1
- package/copy-to-clipboard/interfaces.d.ts.map +1 -1
- package/copy-to-clipboard/interfaces.js.map +1 -1
- package/copy-to-clipboard/styles.css.js +5 -5
- package/copy-to-clipboard/styles.scoped.css +7 -7
- package/copy-to-clipboard/styles.selectors.js +5 -5
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +20 -20
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/grid-cell.d.ts +1 -1
- package/date-range-picker/calendar/grids/grid-cell.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid-cell.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +30 -30
- package/date-range-picker/calendar/grids/styles.scoped.css +127 -127
- package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/date-range-picker/interfaces.d.ts +3 -1
- package/date-range-picker/interfaces.d.ts.map +1 -1
- package/date-range-picker/interfaces.js.map +1 -1
- package/date-range-picker/relative-range/styles.css.js +6 -6
- package/date-range-picker/relative-range/styles.scoped.css +13 -13
- package/date-range-picker/relative-range/styles.selectors.js +6 -6
- package/date-range-picker/styles.css.js +23 -23
- package/date-range-picker/styles.scoped.css +72 -72
- package/date-range-picker/styles.selectors.js +23 -23
- package/dialog/styles.css.js +8 -8
- package/dialog/styles.scoped.css +46 -46
- package/dialog/styles.selectors.js +8 -8
- package/divider/styles.css.js +6 -6
- package/divider/styles.scoped.css +16 -16
- package/divider/styles.selectors.js +6 -6
- package/drawer/interfaces.d.ts +3 -1
- package/drawer/interfaces.d.ts.map +1 -1
- package/drawer/interfaces.js.map +1 -1
- package/drawer/styles.css.js +29 -29
- package/drawer/styles.scoped.css +79 -79
- package/drawer/styles.selectors.js +29 -29
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +66 -66
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/styles.css.js +44 -44
- package/expandable-section/styles.scoped.css +172 -172
- package/expandable-section/styles.selectors.js +44 -44
- package/file-dropzone/styles.css.js +3 -3
- package/file-dropzone/styles.scoped.css +19 -19
- package/file-dropzone/styles.selectors.js +3 -3
- package/file-input/styles.css.js +5 -5
- package/file-input/styles.scoped.css +28 -28
- package/file-input/styles.selectors.js +5 -5
- package/file-token-group/styles.css.js +23 -23
- package/file-token-group/styles.scoped.css +84 -84
- package/file-token-group/styles.selectors.js +23 -23
- package/file-upload/styles.css.js +2 -2
- package/file-upload/styles.scoped.css +4 -4
- package/file-upload/styles.selectors.js +2 -2
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +263 -263
- package/flashbar/styles.selectors.js +50 -50
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +21 -21
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +69 -69
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +63 -63
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +35 -35
- package/header/styles.scoped.css +146 -146
- package/header/styles.selectors.js +35 -35
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +192 -192
- package/help-panel/styles.selectors.js +6 -6
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +10 -10
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +43 -43
- package/icon/styles.scoped.css +174 -174
- package/icon/styles.selectors.js +43 -43
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +14 -18
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +37 -38
- package/input/styles.scoped.css +220 -296
- package/input/styles.selectors.js +37 -38
- package/internal/base-component/styles.scoped.css +2 -2
- package/internal/base-theme/styles.scoped.css +2578 -2578
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +28 -28
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +5 -2
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/autosuggest-input/styles.css.js +27 -27
- package/internal/components/autosuggest-input/styles.scoped.css +79 -79
- package/internal/components/autosuggest-input/styles.selectors.js +27 -27
- package/internal/components/button-trigger/styles.css.js +23 -23
- package/internal/components/button-trigger/styles.scoped.css +131 -131
- package/internal/components/button-trigger/styles.selectors.js +23 -23
- package/internal/components/cartesian-chart/styles.css.js +28 -28
- package/internal/components/cartesian-chart/styles.scoped.css +44 -44
- package/internal/components/cartesian-chart/styles.selectors.js +28 -28
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +8 -8
- 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 +26 -26
- 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 +6 -6
- 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 +12 -12
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +19 -19
- package/internal/components/chart-series-details/styles.scoped.css +58 -58
- package/internal/components/chart-series-details/styles.selectors.js +19 -19
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +15 -15
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-status-container/styles.css.js +2 -2
- package/internal/components/chart-status-container/styles.scoped.css +3 -3
- package/internal/components/chart-status-container/styles.selectors.js +2 -2
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +16 -16
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +9 -9
- package/internal/components/checkbox-icon/styles.scoped.css +20 -20
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/control-group/styles.css.js +16 -16
- package/internal/components/control-group/styles.scoped.css +34 -34
- package/internal/components/control-group/styles.selectors.js +16 -16
- package/internal/components/drag-handle/styles.css.js +14 -14
- package/internal/components/drag-handle/styles.scoped.css +32 -32
- package/internal/components/drag-handle/styles.selectors.js +14 -14
- package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/internal/components/drag-handle-wrapper/styles.scoped.css +80 -80
- package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +10 -10
- 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 +11 -11
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/expand-toggle-button/styles.css.js +4 -4
- package/internal/components/expand-toggle-button/styles.scoped.css +34 -34
- package/internal/components/expand-toggle-button/styles.selectors.js +4 -4
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +35 -35
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/interfaces.d.ts +1 -1
- package/internal/components/option/interfaces.d.ts.map +1 -1
- package/internal/components/option/interfaces.js.map +1 -1
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +50 -50
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +3 -3
- package/internal/components/options-list/styles.scoped.css +12 -12
- package/internal/components/options-list/styles.selectors.js +3 -3
- package/internal/components/panel-resize-handle/styles.css.js +3 -3
- package/internal/components/panel-resize-handle/styles.scoped.css +12 -12
- package/internal/components/panel-resize-handle/styles.selectors.js +3 -3
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +33 -33
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/components/selectable-item/styles.css.js +22 -22
- package/internal/components/selectable-item/styles.scoped.css +118 -118
- package/internal/components/selectable-item/styles.selectors.js +22 -22
- package/internal/components/sortable-area/styles.css.js +8 -8
- package/internal/components/sortable-area/styles.scoped.css +50 -50
- package/internal/components/sortable-area/styles.selectors.js +8 -8
- package/internal/components/structured-item/styles.css.js +7 -7
- package/internal/components/structured-item/styles.scoped.css +16 -16
- package/internal/components/structured-item/styles.selectors.js +7 -7
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +55 -55
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.js +1167 -1167
- package/internal/generated/theming/index.cjs +1167 -1167
- package/internal/generated/theming/index.js +1167 -1167
- package/internal/hooks/use-hidden-description/index.d.ts +2 -1
- package/internal/hooks/use-hidden-description/index.d.ts.map +1 -1
- package/internal/hooks/use-hidden-description/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +114 -114
- package/item-card/styles.selectors.js +14 -14
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +32 -32
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +187 -187
- package/link/styles.selectors.js +21 -21
- package/list/styles.css.js +5 -5
- package/list/styles.scoped.css +15 -15
- package/list/styles.selectors.js +5 -5
- package/manifest.json +2 -2
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +22 -22
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +32 -32
- package/modal/styles.scoped.css +90 -90
- package/modal/styles.selectors.js +32 -32
- package/multiselect/styles.css.js +5 -5
- package/multiselect/styles.scoped.css +16 -16
- package/multiselect/styles.selectors.js +5 -5
- package/package.json +1 -1
- package/pagination/styles.css.js +12 -12
- package/pagination/styles.scoped.css +67 -67
- package/pagination/styles.selectors.js +12 -12
- package/panel-layout/styles.css.js +7 -7
- package/panel-layout/styles.scoped.css +25 -25
- package/panel-layout/styles.selectors.js +7 -7
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +73 -73
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +58 -58
- package/popover/styles.scoped.css +171 -171
- package/popover/styles.selectors.js +58 -58
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +58 -58
- package/progress-bar/styles.selectors.js +19 -19
- package/prompt-input/styles.css.js +26 -26
- package/prompt-input/styles.scoped.css +167 -167
- package/prompt-input/styles.selectors.js +26 -26
- package/property-filter/filtering-token/styles.css.js +18 -18
- package/property-filter/filtering-token/styles.scoped.css +85 -85
- package/property-filter/filtering-token/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +39 -39
- package/property-filter/styles.scoped.css +109 -109
- package/property-filter/styles.selectors.js +39 -39
- package/radio-button/styles.css.js +1 -1
- package/radio-button/styles.scoped.css +6 -6
- package/radio-button/styles.selectors.js +1 -1
- package/radio-group/styles.css.js +5 -5
- package/radio-group/styles.scoped.css +15 -15
- package/radio-group/styles.selectors.js +5 -5
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +14 -14
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/s3-resource-selector/s3-modal/styles.css.js +3 -3
- package/s3-resource-selector/s3-modal/styles.scoped.css +7 -7
- package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
- package/segmented-control/interfaces.d.ts +2 -2
- package/segmented-control/interfaces.d.ts.map +1 -1
- package/segmented-control/interfaces.js.map +1 -1
- package/segmented-control/styles.css.js +27 -27
- package/segmented-control/styles.scoped.css +109 -109
- package/segmented-control/styles.selectors.js +27 -27
- package/select/interfaces.d.ts +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/parts/styles.css.js +21 -21
- package/select/parts/styles.scoped.css +46 -46
- package/select/parts/styles.selectors.js +21 -21
- package/select/styles.css.js +3 -3
- package/select/styles.scoped.css +8 -8
- package/select/styles.selectors.js +3 -3
- package/side-navigation/styles.css.js +64 -64
- package/side-navigation/styles.scoped.css +237 -237
- package/side-navigation/styles.selectors.js +64 -64
- package/skeleton/styles.css.js +15 -15
- package/skeleton/styles.scoped.css +47 -47
- package/skeleton/styles.selectors.js +15 -15
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +201 -201
- package/slider/styles.selectors.js +26 -26
- package/space-between/styles.css.js +24 -24
- package/space-between/styles.scoped.css +41 -41
- package/space-between/styles.selectors.js +24 -24
- package/spinner/styles.css.js +14 -14
- package/spinner/styles.scoped.css +42 -42
- package/spinner/styles.selectors.js +14 -14
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +47 -47
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +38 -38
- package/split-panel/styles.scoped.css +109 -109
- package/split-panel/styles.selectors.js +38 -38
- package/status-indicator/styles.css.js +26 -26
- package/status-indicator/styles.scoped.css +90 -90
- package/status-indicator/styles.selectors.js +26 -26
- package/steps/styles.css.js +17 -17
- package/steps/styles.scoped.css +60 -60
- package/steps/styles.selectors.js +17 -17
- package/table/body-cell/disabled-inline-editor.d.ts +2 -1
- package/table/body-cell/disabled-inline-editor.d.ts.map +1 -1
- package/table/body-cell/disabled-inline-editor.js.map +1 -1
- package/table/body-cell/styles.css.js +47 -47
- package/table/body-cell/styles.scoped.css +886 -886
- package/table/body-cell/styles.selectors.js +47 -47
- package/table/header-cell/styles.css.js +39 -39
- package/table/header-cell/styles.scoped.css +225 -225
- package/table/header-cell/styles.selectors.js +39 -39
- package/table/interfaces.d.ts +5 -3
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/resizer/styles.css.js +17 -17
- package/table/resizer/styles.scoped.css +54 -54
- package/table/resizer/styles.selectors.js +17 -17
- package/table/selection/styles.css.js +4 -4
- package/table/selection/styles.scoped.css +6 -6
- package/table/selection/styles.selectors.js +4 -4
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +12 -12
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +37 -37
- package/table/styles.scoped.css +93 -93
- package/table/styles.selectors.js +37 -37
- package/table-body-cell/styles.css.js +2 -2
- package/table-body-cell/styles.scoped.css +12 -12
- package/table-body-cell/styles.selectors.js +2 -2
- package/table-header-cell/styles.css.js +6 -6
- package/table-header-cell/styles.scoped.css +14 -14
- package/table-header-cell/styles.selectors.js +6 -6
- package/table-root/styles.css.js +5 -5
- package/table-root/styles.scoped.css +17 -17
- package/table-root/styles.selectors.js +5 -5
- package/table-row/styles.css.js +2 -2
- package/table-row/styles.scoped.css +13 -13
- package/table-row/styles.selectors.js +2 -2
- package/tabs/interfaces.d.ts +4 -2
- package/tabs/interfaces.d.ts.map +1 -1
- package/tabs/interfaces.js.map +1 -1
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +123 -123
- package/tabs/styles.selectors.js +30 -30
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +29 -29
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +149 -149
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +11 -11
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +9 -9
- package/textarea/styles.scoped.css +62 -62
- package/textarea/styles.selectors.js +9 -9
- package/tiles/styles.css.js +30 -30
- package/tiles/styles.scoped.css +165 -165
- package/tiles/styles.selectors.js +30 -30
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +38 -38
- package/toggle/styles.selectors.js +10 -10
- package/toggle-button/interfaces.d.ts +3 -1
- package/toggle-button/interfaces.d.ts.map +1 -1
- package/toggle-button/interfaces.js.map +1 -1
- package/toggle-button/styles.css.js +4 -4
- package/toggle-button/styles.scoped.css +12 -12
- package/toggle-button/styles.selectors.js +4 -4
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +80 -80
- package/token/styles.selectors.js +14 -14
- package/token-group/styles.css.js +5 -5
- package/token-group/styles.scoped.css +10 -10
- package/token-group/styles.selectors.js +5 -5
- package/tooltip/styles.css.js +2 -2
- package/tooltip/styles.scoped.css +5 -5
- package/tooltip/styles.selectors.js +2 -2
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +168 -168
- package/top-navigation/styles.selectors.js +47 -47
- package/tree-view/styles.css.js +2 -2
- package/tree-view/styles.scoped.css +12 -12
- package/tree-view/styles.selectors.js +2 -2
- package/tree-view/tree-item/styles.css.js +10 -10
- package/tree-view/tree-item/styles.scoped.css +20 -20
- package/tree-view/tree-item/styles.selectors.js +10 -10
- package/tree-view/vertical-connector/styles.css.js +3 -3
- package/tree-view/vertical-connector/styles.scoped.css +8 -8
- package/tree-view/vertical-connector/styles.selectors.js +3 -3
- package/truncated-text/styles.css.js +1 -1
- package/truncated-text/styles.scoped.css +10 -10
- package/truncated-text/styles.selectors.js +1 -1
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +45 -45
- 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 +63 -63
- 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 +17 -17
- package/tutorial-panel/styles.selectors.js +1 -1
- package/types/option.d.ts +1 -1
- package/types/option.d.ts.map +1 -1
- package/types/option.js.map +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +122 -122
- package/wizard/styles.selectors.js +30 -30
package/divider/styles.css.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"divider": "
|
|
5
|
-
"divider-horizontal": "awsui_divider-
|
|
6
|
-
"divider-has-label": "awsui_divider-has-
|
|
7
|
-
"divider-line": "awsui_divider-
|
|
8
|
-
"divider-label": "awsui_divider-
|
|
9
|
-
"divider-vertical": "awsui_divider-
|
|
4
|
+
"divider": "awsui_divider_1noo2_1fb54_9",
|
|
5
|
+
"divider-horizontal": "awsui_divider-horizontal_1noo2_1fb54_45",
|
|
6
|
+
"divider-has-label": "awsui_divider-has-label_1noo2_1fb54_52",
|
|
7
|
+
"divider-line": "awsui_divider-line_1noo2_1fb54_61",
|
|
8
|
+
"divider-label": "awsui_divider-label_1noo2_1fb54_68",
|
|
9
|
+
"divider-vertical": "awsui_divider-vertical_1noo2_1fb54_74"
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.
|
|
9
|
+
.awsui_divider_1noo2_1fb54_9:not(#\9) {
|
|
10
10
|
border-collapse: separate;
|
|
11
11
|
border-spacing: 0;
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -29,11 +29,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
29
29
|
visibility: visible;
|
|
30
30
|
white-space: normal;
|
|
31
31
|
word-spacing: normal;
|
|
32
|
-
font-size: var(--font-size-body-m-
|
|
33
|
-
line-height: var(--line-height-body-m-
|
|
34
|
-
color: var(--color-text-body-default-
|
|
35
|
-
font-weight: var(--font-weight-normal-
|
|
36
|
-
font-family: var(--font-family-base-
|
|
32
|
+
font-size: var(--font-size-body-m-diae7s, 14px);
|
|
33
|
+
line-height: var(--line-height-body-m-18p63n, 20px);
|
|
34
|
+
color: var(--color-text-body-default-9im48h, #0f141a);
|
|
35
|
+
font-weight: var(--font-weight-normal-jditlz, 400);
|
|
36
|
+
font-family: var(--font-family-base-khplu5, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
37
37
|
-webkit-font-smoothing: auto;
|
|
38
38
|
-moz-osx-font-smoothing: auto;
|
|
39
39
|
border-block: none;
|
|
@@ -42,38 +42,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
42
42
|
margin-inline: 0;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.awsui_divider-
|
|
45
|
+
.awsui_divider-horizontal_1noo2_1fb54_45:not(#\9) {
|
|
46
46
|
display: block;
|
|
47
|
-
border-block-start: var(--border-divider-section-width-
|
|
47
|
+
border-block-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
|
|
48
48
|
inline-size: 100%;
|
|
49
49
|
block-size: 0;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.awsui_divider-has-
|
|
52
|
+
.awsui_divider-has-label_1noo2_1fb54_52:not(#\9) {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
|
-
gap: var(--space-xs-
|
|
55
|
+
gap: var(--space-xs-3yjatw, 8px);
|
|
56
56
|
border-block: none;
|
|
57
57
|
border-inline: none;
|
|
58
58
|
block-size: auto;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.awsui_divider-
|
|
61
|
+
.awsui_divider-line_1noo2_1fb54_61:not(#\9) {
|
|
62
62
|
flex: 1;
|
|
63
63
|
block-size: 0;
|
|
64
|
-
min-inline-size: var(--space-m-
|
|
65
|
-
border-block-start: var(--border-divider-section-width-
|
|
64
|
+
min-inline-size: var(--space-m-txio36, 16px);
|
|
65
|
+
border-block-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.awsui_divider-
|
|
68
|
+
.awsui_divider-label_1noo2_1fb54_68:not(#\9) {
|
|
69
69
|
flex: 0 1 auto;
|
|
70
70
|
min-inline-size: 0;
|
|
71
71
|
word-break: break-word;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.awsui_divider-
|
|
74
|
+
.awsui_divider-vertical_1noo2_1fb54_74:not(#\9) {
|
|
75
75
|
display: inline-block;
|
|
76
|
-
border-inline-start: var(--border-divider-section-width-
|
|
76
|
+
border-inline-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
|
|
77
77
|
inline-size: 0;
|
|
78
78
|
block-size: 100%;
|
|
79
79
|
align-self: stretch;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"divider": "
|
|
6
|
-
"divider-horizontal": "awsui_divider-
|
|
7
|
-
"divider-has-label": "awsui_divider-has-
|
|
8
|
-
"divider-line": "awsui_divider-
|
|
9
|
-
"divider-label": "awsui_divider-
|
|
10
|
-
"divider-vertical": "awsui_divider-
|
|
5
|
+
"divider": "awsui_divider_1noo2_1fb54_9",
|
|
6
|
+
"divider-horizontal": "awsui_divider-horizontal_1noo2_1fb54_45",
|
|
7
|
+
"divider-has-label": "awsui_divider-has-label_1noo2_1fb54_52",
|
|
8
|
+
"divider-line": "awsui_divider-line_1noo2_1fb54_61",
|
|
9
|
+
"divider-label": "awsui_divider-label_1noo2_1fb54_68",
|
|
10
|
+
"divider-vertical": "awsui_divider-vertical_1noo2_1fb54_74"
|
|
11
11
|
};
|
|
12
12
|
|
package/drawer/interfaces.d.ts
CHANGED
|
@@ -119,6 +119,8 @@ export interface DrawerProps extends BaseComponentProps {
|
|
|
119
119
|
* The close button fires the `onClose` event with method `'close-action'` when
|
|
120
120
|
* clicked.
|
|
121
121
|
*
|
|
122
|
+
* Do not place interactive elements like links or buttons in `disabledReason`.
|
|
123
|
+
*
|
|
122
124
|
* Do not use this property when using drawers inside app layout.
|
|
123
125
|
*/
|
|
124
126
|
closeAction?: DrawerProps.CloseActionProps;
|
|
@@ -197,7 +199,7 @@ export declare namespace DrawerProps {
|
|
|
197
199
|
interface CloseActionProps {
|
|
198
200
|
ariaLabel?: string;
|
|
199
201
|
disabled?: boolean;
|
|
200
|
-
disabledReason?:
|
|
202
|
+
disabledReason?: React.ReactNode;
|
|
201
203
|
iconName?: IconProps.Name;
|
|
202
204
|
iconUrl?: string;
|
|
203
205
|
iconSvg?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/drawer/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEhC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;IAEjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC;IAEhC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC;IAElC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAE5B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC;IAExC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/drawer/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEhC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;IAEjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC;IAEhC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC;IAElC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAE5B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC;IAExC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC;IAE3C;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAE7D;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;;;;;;;;OAgBG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC;CAC3C;AAED,yBAAiB,WAAW,CAAC;IAC3B,UAAiB,WAAW;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,KAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAElE,KAAY,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAE3D,UAAiB,MAAM;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,YAAY;QAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,gBAAgB;QAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACjC,QAAQ,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;QAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IAED,UAAiB,WAAW;QAC1B,MAAM,EAAE,cAAc,GAAG,gBAAgB,GAAG,QAAQ,CAAC;KACtD;IAED,UAAiB,aAAa;QAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;KAC1B;IAED,UAAiB,GAAG;QAClB;;;;WAIG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;CACF"}
|
package/drawer/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/drawer/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\n\nexport interface DrawerProps extends BaseComponentProps {\n /**\n * Header of the drawer.\n *\n * It should contain the only `h2` used in the drawer.\n */\n header?: React.ReactNode;\n\n /**\n * Main content of the drawer.\n */\n children?: React.ReactNode;\n\n /**\n * Renders the drawer in a loading state. We recommend that you also set a `i18nStrings.loadingText`.\n */\n loading?: boolean;\n\n /**\n * Determines whether the drawer content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * - `loadingText` - The text that's displayed when the drawer is in a loading state.\n * @i18n\n */\n i18nStrings?: DrawerProps.I18nStrings;\n\n /**\n * Actions for the header. Available only if you specify the `header` property.\n */\n headerActions?: React.ReactNode;\n\n /**\n * Sticky footer content that remains visible at the bottom during scroll.\n *\n * Automatically becomes non-sticky when scrollable content area is too small\n * to ensure content remains accessible (not covered by the footer).\n */\n footer?: React.ReactNode;\n\n /**\n * Sets the ARIA role of the drawer.\n * - `\"region\"` (default for non-`static` positions) — exposes the drawer as a\n * landmark region. The drawer receives focus when opened.\n * - `\"presentation\"` (default for `position=\"static\"`) — removes landmark semantics\n * from the drawer body. Use this when the containing element already provides the\n * appropriate semantic role (e.g. a wrapping `<nav>` or `<aside>`). The drawer does not\n * receive focus when opened.\n */\n role?: 'region' | 'presentation';\n\n /**\n * Sets the `aria-label` on the drawer body.\n * By default the body is labelled by the drawer's `header` content. Use this when you need a different\n * or more specific label (e.g. to include additional context or exclude parts of the header).\n * Does not apply when `role=\"presentation\"`. Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets the `aria-labelledby` on the drawer body.\n * By default the body is labelled by the drawer's `header` content. Use this when you need a different\n * or more specific label (e.g. to include additional context or exclude parts of the header).\n * Does not apply when `role=\"presentation\"`. Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * Specifies the CSS positioning mode of the drawer, and supports the following options:\n * * `static` (default) - The drawer is positioned in the normal document flow.\n * * `sticky` - The drawer sticks to its nearest scrolling ancestor. Only meaningful with `placement=\"top\"` or `placement=\"bottom\"`.\n * Using `sticky` with `placement=\"start\"` or `placement=\"end\"` falls back to `static`.\n * * `absolute` - The drawer is positioned relative to its nearest positioned ancestor.\n * * `fixed` - The drawer is positioned relative to the viewport.\n *\n * Do not use this property when using drawers inside app layout.\n */\n position?: DrawerProps.Position;\n\n /**\n * Specifies which edge of its container the drawer is anchored to, and supports these options:\n * * `start` - Anchored to the inline-start edge.\n * * `end` - (default) Anchored to the inline-end edge.\n * * `top` - Anchored to the top edge.\n * * `bottom` - Anchored to the bottom edge.\n *\n * Do not use this property when using drawers inside app layout.\n */\n placement?: DrawerProps.Placement;\n\n /**\n * Specifies the distance in pixels between the drawer and the edges of its container.\n * Applicable when using `position=\"absolute\"` or `position=\"fixed\"`.\n * Supported properties:\n * * `start` - Distance from the inline-start edge. Not applicable when `placement` is `\"end\"`.\n * * `end` - Distance from the inline-end edge. Not applicable when `placement` is `\"start\"`.\n * * `top` - Distance from the top edge. Not applicable when `placement` is `\"bottom\"`.\n * * `bottom` - Distance from the bottom edge. Not applicable when `placement` is `\"top\"`.\n *\n * Do not use this property when using drawers inside app layout.\n */\n offset?: DrawerProps.Offset;\n\n /**\n * Specifies the distance in pixels from the top or bottom edge of the scrolling container\n * at which the drawer sticks. Applicable only when using `position=\"sticky\"` with `placement=\"top\"` or `placement=\"bottom\"`.\n * * Supported properties:\n * * `top` - Distance from the top of the scrolling container.\n * * `bottom` - Distance from the bottom of the scrolling container.\n *\n * Do not use this property when using drawers inside app layout.\n */\n stickyOffset?: DrawerProps.StickyOffset;\n\n /**\n * Sets the CSS `z-index` of the drawer. Use this to control stacking order when the drawer\n * overlaps other positioned elements on the page.\n *\n * Applicable when using `position=\"sticky\"`, `position=\"absolute\"`, or `position=\"fixed\"`. Defaults to 830.\n *\n * Do not use this property when using drawers inside app layout.\n */\n zIndex?: number;\n\n /**\n * When defined, renders a close button in the header with the provided configuration.\n * The close button fires the `onClose` event with method `'close-action'` when\n * clicked.\n *\n * Do not use this property when using drawers inside app layout.\n */\n closeAction?: DrawerProps.CloseActionProps;\n\n /**\n * Hides the close action slot next to the header actions, which is present even\n * when close action is not set. Use it when a close action is not needed, or a\n * custom close action implementation is used.\n *\n * Do not use this property when using drawers inside app layout.\n */\n hideCloseAction?: boolean;\n\n /**\n * Called when the user performs a close action. The `event.detail.method` indicates the trigger:\n * * `'close-action'` - The close button was clicked.\n * * `'backdrop-click'` - The backdrop was clicked (only when `backdrop=true`).\n * * `'escape'` - The Escape key was pressed (only when `backdrop=true`).\n *\n * Do not use this property when using drawers inside app layout.\n */\n onClose?: NonCancelableEventHandler<DrawerProps.CloseDetail>;\n\n /**\n * Drawer open state. Set to `true` to show the drawer, `false` to hide it.\n * Handle the `onClose` event to update this value when the user requests to close the drawer.\n *\n * When the property is unset - the drawer is always visible, and the built-in focus in/out behaviors are disabled.\n *\n * Do not use this property when using drawers inside app layout.\n */\n open?: boolean;\n\n /**\n * Shows a semi-transparent backdrop behind the drawer when open. Used with `absolute`\n * and `fixed` positions.\n *\n * When a backdrop is set, the keyboard focus is trapped inside the drawer by default\n * to prevent it from moving to elements covered by the backdrop. This can be overridden\n * with `focusBehavior.trapFocus`.\n *\n * Do not use this property when using drawers inside app layout.\n */\n backdrop?: boolean;\n\n /**\n * Customizes focus-related behavior:\n *\n * - `autoFocus` - Whether focus moves into the drawer when `open` changes from `false` to `true`,\n * and captures the previously focused element for default return-focus on close.\n * Defaults to `true`. Set to `false` to manage focus-in manually via `ref.current.focus()`.\n *\n * - `trapFocus` - Whether keyboard focus is constrained to elements inside the drawer.\n * Defaults to `true` when `backdrop` is set, `false` otherwise.\n *\n * - `returnFocus` - Called instead of the default return-focus behavior when the drawer closes.\n * Use this to override where focus lands on close (e.g. a specific trigger element).\n * If omitted, focus returns to the element that was focused when the drawer opened.\n * If that element is no longer in the DOM, the behavior silently no-ops.\n *\n * Do not use this property when using drawers inside app layout.\n */\n focusBehavior?: DrawerProps.FocusBehavior;\n}\n\nexport namespace DrawerProps {\n export interface I18nStrings {\n loadingText?: string;\n }\n\n export type Position = 'static' | 'sticky' | 'absolute' | 'fixed';\n\n export type Placement = 'start' | 'end' | 'top' | 'bottom';\n\n export interface Offset {\n start?: number;\n end?: number;\n top?: number;\n bottom?: number;\n }\n\n export interface StickyOffset {\n top?: number;\n bottom?: number;\n }\n\n export interface CloseActionProps {\n ariaLabel?: string;\n disabled?: boolean;\n disabledReason?: string;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n iconAlt?: string;\n }\n\n export interface CloseDetail {\n method: 'close-action' | 'backdrop-click' | 'escape';\n }\n\n export interface FocusBehavior {\n autoFocus?: boolean;\n trapFocus?: boolean;\n returnFocus?: () => void;\n }\n\n export interface Ref {\n /**\n * Moves focus to the drawer element. Use when `focusBehavior.autoFocus`\n * is disabled and you need to manage focus manually, or to focus a drawer, initially rendered\n * with `open=true`. The drawer with `role=\"presentation\"` cannot be focused.\n */\n focus(): void;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/drawer/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\n\nexport interface DrawerProps extends BaseComponentProps {\n /**\n * Header of the drawer.\n *\n * It should contain the only `h2` used in the drawer.\n */\n header?: React.ReactNode;\n\n /**\n * Main content of the drawer.\n */\n children?: React.ReactNode;\n\n /**\n * Renders the drawer in a loading state. We recommend that you also set a `i18nStrings.loadingText`.\n */\n loading?: boolean;\n\n /**\n * Determines whether the drawer content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * - `loadingText` - The text that's displayed when the drawer is in a loading state.\n * @i18n\n */\n i18nStrings?: DrawerProps.I18nStrings;\n\n /**\n * Actions for the header. Available only if you specify the `header` property.\n */\n headerActions?: React.ReactNode;\n\n /**\n * Sticky footer content that remains visible at the bottom during scroll.\n *\n * Automatically becomes non-sticky when scrollable content area is too small\n * to ensure content remains accessible (not covered by the footer).\n */\n footer?: React.ReactNode;\n\n /**\n * Sets the ARIA role of the drawer.\n * - `\"region\"` (default for non-`static` positions) — exposes the drawer as a\n * landmark region. The drawer receives focus when opened.\n * - `\"presentation\"` (default for `position=\"static\"`) — removes landmark semantics\n * from the drawer body. Use this when the containing element already provides the\n * appropriate semantic role (e.g. a wrapping `<nav>` or `<aside>`). The drawer does not\n * receive focus when opened.\n */\n role?: 'region' | 'presentation';\n\n /**\n * Sets the `aria-label` on the drawer body.\n * By default the body is labelled by the drawer's `header` content. Use this when you need a different\n * or more specific label (e.g. to include additional context or exclude parts of the header).\n * Does not apply when `role=\"presentation\"`. Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets the `aria-labelledby` on the drawer body.\n * By default the body is labelled by the drawer's `header` content. Use this when you need a different\n * or more specific label (e.g. to include additional context or exclude parts of the header).\n * Does not apply when `role=\"presentation\"`. Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * Specifies the CSS positioning mode of the drawer, and supports the following options:\n * * `static` (default) - The drawer is positioned in the normal document flow.\n * * `sticky` - The drawer sticks to its nearest scrolling ancestor. Only meaningful with `placement=\"top\"` or `placement=\"bottom\"`.\n * Using `sticky` with `placement=\"start\"` or `placement=\"end\"` falls back to `static`.\n * * `absolute` - The drawer is positioned relative to its nearest positioned ancestor.\n * * `fixed` - The drawer is positioned relative to the viewport.\n *\n * Do not use this property when using drawers inside app layout.\n */\n position?: DrawerProps.Position;\n\n /**\n * Specifies which edge of its container the drawer is anchored to, and supports these options:\n * * `start` - Anchored to the inline-start edge.\n * * `end` - (default) Anchored to the inline-end edge.\n * * `top` - Anchored to the top edge.\n * * `bottom` - Anchored to the bottom edge.\n *\n * Do not use this property when using drawers inside app layout.\n */\n placement?: DrawerProps.Placement;\n\n /**\n * Specifies the distance in pixels between the drawer and the edges of its container.\n * Applicable when using `position=\"absolute\"` or `position=\"fixed\"`.\n * Supported properties:\n * * `start` - Distance from the inline-start edge. Not applicable when `placement` is `\"end\"`.\n * * `end` - Distance from the inline-end edge. Not applicable when `placement` is `\"start\"`.\n * * `top` - Distance from the top edge. Not applicable when `placement` is `\"bottom\"`.\n * * `bottom` - Distance from the bottom edge. Not applicable when `placement` is `\"top\"`.\n *\n * Do not use this property when using drawers inside app layout.\n */\n offset?: DrawerProps.Offset;\n\n /**\n * Specifies the distance in pixels from the top or bottom edge of the scrolling container\n * at which the drawer sticks. Applicable only when using `position=\"sticky\"` with `placement=\"top\"` or `placement=\"bottom\"`.\n * * Supported properties:\n * * `top` - Distance from the top of the scrolling container.\n * * `bottom` - Distance from the bottom of the scrolling container.\n *\n * Do not use this property when using drawers inside app layout.\n */\n stickyOffset?: DrawerProps.StickyOffset;\n\n /**\n * Sets the CSS `z-index` of the drawer. Use this to control stacking order when the drawer\n * overlaps other positioned elements on the page.\n *\n * Applicable when using `position=\"sticky\"`, `position=\"absolute\"`, or `position=\"fixed\"`. Defaults to 830.\n *\n * Do not use this property when using drawers inside app layout.\n */\n zIndex?: number;\n\n /**\n * When defined, renders a close button in the header with the provided configuration.\n * The close button fires the `onClose` event with method `'close-action'` when\n * clicked.\n *\n * Do not place interactive elements like links or buttons in `disabledReason`.\n *\n * Do not use this property when using drawers inside app layout.\n */\n closeAction?: DrawerProps.CloseActionProps;\n\n /**\n * Hides the close action slot next to the header actions, which is present even\n * when close action is not set. Use it when a close action is not needed, or a\n * custom close action implementation is used.\n *\n * Do not use this property when using drawers inside app layout.\n */\n hideCloseAction?: boolean;\n\n /**\n * Called when the user performs a close action. The `event.detail.method` indicates the trigger:\n * * `'close-action'` - The close button was clicked.\n * * `'backdrop-click'` - The backdrop was clicked (only when `backdrop=true`).\n * * `'escape'` - The Escape key was pressed (only when `backdrop=true`).\n *\n * Do not use this property when using drawers inside app layout.\n */\n onClose?: NonCancelableEventHandler<DrawerProps.CloseDetail>;\n\n /**\n * Drawer open state. Set to `true` to show the drawer, `false` to hide it.\n * Handle the `onClose` event to update this value when the user requests to close the drawer.\n *\n * When the property is unset - the drawer is always visible, and the built-in focus in/out behaviors are disabled.\n *\n * Do not use this property when using drawers inside app layout.\n */\n open?: boolean;\n\n /**\n * Shows a semi-transparent backdrop behind the drawer when open. Used with `absolute`\n * and `fixed` positions.\n *\n * When a backdrop is set, the keyboard focus is trapped inside the drawer by default\n * to prevent it from moving to elements covered by the backdrop. This can be overridden\n * with `focusBehavior.trapFocus`.\n *\n * Do not use this property when using drawers inside app layout.\n */\n backdrop?: boolean;\n\n /**\n * Customizes focus-related behavior:\n *\n * - `autoFocus` - Whether focus moves into the drawer when `open` changes from `false` to `true`,\n * and captures the previously focused element for default return-focus on close.\n * Defaults to `true`. Set to `false` to manage focus-in manually via `ref.current.focus()`.\n *\n * - `trapFocus` - Whether keyboard focus is constrained to elements inside the drawer.\n * Defaults to `true` when `backdrop` is set, `false` otherwise.\n *\n * - `returnFocus` - Called instead of the default return-focus behavior when the drawer closes.\n * Use this to override where focus lands on close (e.g. a specific trigger element).\n * If omitted, focus returns to the element that was focused when the drawer opened.\n * If that element is no longer in the DOM, the behavior silently no-ops.\n *\n * Do not use this property when using drawers inside app layout.\n */\n focusBehavior?: DrawerProps.FocusBehavior;\n}\n\nexport namespace DrawerProps {\n export interface I18nStrings {\n loadingText?: string;\n }\n\n export type Position = 'static' | 'sticky' | 'absolute' | 'fixed';\n\n export type Placement = 'start' | 'end' | 'top' | 'bottom';\n\n export interface Offset {\n start?: number;\n end?: number;\n top?: number;\n bottom?: number;\n }\n\n export interface StickyOffset {\n top?: number;\n bottom?: number;\n }\n\n export interface CloseActionProps {\n ariaLabel?: string;\n disabled?: boolean;\n disabledReason?: React.ReactNode;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n iconAlt?: string;\n }\n\n export interface CloseDetail {\n method: 'close-action' | 'backdrop-click' | 'escape';\n }\n\n export interface FocusBehavior {\n autoFocus?: boolean;\n trapFocus?: boolean;\n returnFocus?: () => void;\n }\n\n export interface Ref {\n /**\n * Moves focus to the drawer element. Use when `focusBehavior.autoFocus`\n * is disabled and you need to manage focus manually, or to focus a drawer, initially rendered\n * with `open=true`. The drawer with `role=\"presentation\"` cannot be focused.\n */\n focus(): void;\n }\n}\n"]}
|
package/drawer/styles.css.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"drawer": "
|
|
6
|
-
"has-close-action": "awsui_has-close-
|
|
7
|
-
"position-absolute": "awsui_position-
|
|
8
|
-
"placement-end": "awsui_placement-
|
|
9
|
-
"position-sticky": "awsui_position-
|
|
10
|
-
"position-fixed": "awsui_position-
|
|
11
|
-
"placement-start": "awsui_placement-
|
|
12
|
-
"placement-top": "awsui_placement-
|
|
13
|
-
"placement-bottom": "awsui_placement-
|
|
14
|
-
"with-footer": "awsui_with-
|
|
15
|
-
"position-static": "awsui_position-
|
|
16
|
-
"content": "
|
|
17
|
-
"header": "
|
|
18
|
-
"hide-close-action": "awsui_hide-close-
|
|
19
|
-
"with-additional-action": "awsui_with-additional-
|
|
20
|
-
"with-runtime-context": "awsui_with-runtime-
|
|
21
|
-
"with-toolbar": "awsui_with-
|
|
22
|
-
"header-actions": "awsui_header-
|
|
23
|
-
"close-action": "awsui_close-
|
|
24
|
-
"content-with-paddings": "awsui_content-with-
|
|
25
|
-
"footer": "
|
|
26
|
-
"is-sticky": "awsui_is-
|
|
27
|
-
"test-utils-drawer-content": "awsui_test-utils-drawer-
|
|
28
|
-
"hidden": "
|
|
29
|
-
"focus-trap": "awsui_focus-
|
|
30
|
-
"backdrop": "
|
|
31
|
-
"backdrop-fixed": "awsui_backdrop-
|
|
32
|
-
"backdrop-absolute": "awsui_backdrop-
|
|
4
|
+
"root": "awsui_root_1sxt8_15caf_13",
|
|
5
|
+
"drawer": "awsui_drawer_1sxt8_15caf_17",
|
|
6
|
+
"has-close-action": "awsui_has-close-action_1sxt8_15caf_50",
|
|
7
|
+
"position-absolute": "awsui_position-absolute_1sxt8_15caf_53",
|
|
8
|
+
"placement-end": "awsui_placement-end_1sxt8_15caf_53",
|
|
9
|
+
"position-sticky": "awsui_position-sticky_1sxt8_15caf_53",
|
|
10
|
+
"position-fixed": "awsui_position-fixed_1sxt8_15caf_53",
|
|
11
|
+
"placement-start": "awsui_placement-start_1sxt8_15caf_56",
|
|
12
|
+
"placement-top": "awsui_placement-top_1sxt8_15caf_59",
|
|
13
|
+
"placement-bottom": "awsui_placement-bottom_1sxt8_15caf_62",
|
|
14
|
+
"with-footer": "awsui_with-footer_1sxt8_15caf_65",
|
|
15
|
+
"position-static": "awsui_position-static_1sxt8_15caf_69",
|
|
16
|
+
"content": "awsui_content_1sxt8_15caf_72",
|
|
17
|
+
"header": "awsui_header_1sxt8_15caf_100",
|
|
18
|
+
"hide-close-action": "awsui_hide-close-action_1sxt8_15caf_116",
|
|
19
|
+
"with-additional-action": "awsui_with-additional-action_1sxt8_15caf_120",
|
|
20
|
+
"with-runtime-context": "awsui_with-runtime-context_1sxt8_15caf_128",
|
|
21
|
+
"with-toolbar": "awsui_with-toolbar_1sxt8_15caf_131",
|
|
22
|
+
"header-actions": "awsui_header-actions_1sxt8_15caf_150",
|
|
23
|
+
"close-action": "awsui_close-action_1sxt8_15caf_156",
|
|
24
|
+
"content-with-paddings": "awsui_content-with-paddings_1sxt8_15caf_162",
|
|
25
|
+
"footer": "awsui_footer_1sxt8_15caf_169",
|
|
26
|
+
"is-sticky": "awsui_is-sticky_1sxt8_15caf_175",
|
|
27
|
+
"test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_15caf_183",
|
|
28
|
+
"hidden": "awsui_hidden_1sxt8_15caf_187",
|
|
29
|
+
"focus-trap": "awsui_focus-trap_1sxt8_15caf_191",
|
|
30
|
+
"backdrop": "awsui_backdrop_1sxt8_15caf_195",
|
|
31
|
+
"backdrop-fixed": "awsui_backdrop-fixed_1sxt8_15caf_199",
|
|
32
|
+
"backdrop-absolute": "awsui_backdrop-absolute_1sxt8_15caf_202"
|
|
33
33
|
};
|
|
34
34
|
|
package/drawer/styles.scoped.css
CHANGED
|
@@ -10,11 +10,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
10
10
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
11
|
SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
*/
|
|
13
|
-
.
|
|
13
|
+
.awsui_root_1sxt8_15caf_13:not(#\9) {
|
|
14
14
|
display: contents;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.awsui_drawer_1sxt8_15caf_17:not(#\9) {
|
|
18
18
|
border-collapse: separate;
|
|
19
19
|
border-spacing: 0;
|
|
20
20
|
box-sizing: border-box;
|
|
@@ -37,52 +37,52 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
37
37
|
visibility: visible;
|
|
38
38
|
white-space: normal;
|
|
39
39
|
word-spacing: normal;
|
|
40
|
-
font-size: var(--font-size-body-m-
|
|
41
|
-
line-height: var(--line-height-body-m-
|
|
42
|
-
color: var(--color-text-body-default-
|
|
43
|
-
font-weight: var(--font-weight-normal-
|
|
44
|
-
font-family: var(--font-family-base-
|
|
40
|
+
font-size: var(--font-size-body-m-diae7s, 14px);
|
|
41
|
+
line-height: var(--line-height-body-m-18p63n, 20px);
|
|
42
|
+
color: var(--color-text-body-default-9im48h, #0f141a);
|
|
43
|
+
font-weight: var(--font-weight-normal-jditlz, 400);
|
|
44
|
+
font-family: var(--font-family-base-khplu5, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
45
45
|
-webkit-font-smoothing: auto;
|
|
46
46
|
-moz-osx-font-smoothing: auto;
|
|
47
47
|
word-wrap: break-word;
|
|
48
|
-
background-color: var(--color-background-drawer-
|
|
48
|
+
background-color: var(--color-background-drawer-hws28l, #ffffff);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_has-close-action_1sxt8_15caf_50:not(#\9) {
|
|
51
51
|
position: relative;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
54
|
-
border-inline-start: var(--border-divider-section-width-
|
|
53
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_position-absolute_1sxt8_15caf_53.awsui_placement-end_1sxt8_15caf_53:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-sticky_1sxt8_15caf_53.awsui_placement-end_1sxt8_15caf_53:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-fixed_1sxt8_15caf_53.awsui_placement-end_1sxt8_15caf_53:not(#\9) {
|
|
54
|
+
border-inline-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
57
|
-
border-inline-end: var(--border-divider-section-width-
|
|
56
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_position-absolute_1sxt8_15caf_53.awsui_placement-start_1sxt8_15caf_56:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-sticky_1sxt8_15caf_53.awsui_placement-start_1sxt8_15caf_56:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-fixed_1sxt8_15caf_53.awsui_placement-start_1sxt8_15caf_56:not(#\9) {
|
|
57
|
+
border-inline-end: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
border-block-end: var(--border-divider-section-width-
|
|
59
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_position-absolute_1sxt8_15caf_53.awsui_placement-top_1sxt8_15caf_59:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-sticky_1sxt8_15caf_53.awsui_placement-top_1sxt8_15caf_59:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-fixed_1sxt8_15caf_53.awsui_placement-top_1sxt8_15caf_59:not(#\9) {
|
|
60
|
+
border-block-end: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
63
|
-
border-block-start: var(--border-divider-section-width-
|
|
62
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_position-absolute_1sxt8_15caf_53.awsui_placement-bottom_1sxt8_15caf_62:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-sticky_1sxt8_15caf_53.awsui_placement-bottom_1sxt8_15caf_62:not(#\9), .awsui_drawer_1sxt8_15caf_17.awsui_position-fixed_1sxt8_15caf_53.awsui_placement-bottom_1sxt8_15caf_62:not(#\9) {
|
|
63
|
+
border-block-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_with-footer_1sxt8_15caf_65:not(#\9) {
|
|
66
66
|
display: flex;
|
|
67
67
|
flex-direction: column;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_with-footer_1sxt8_15caf_65.awsui_position-static_1sxt8_15caf_69:not(#\9) {
|
|
70
70
|
min-block-size: 100%;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.awsui_drawer_1sxt8_15caf_17.awsui_with-footer_1sxt8_15caf_65 > .awsui_content_1sxt8_15caf_72:not(#\9) {
|
|
73
73
|
flex: 1;
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.awsui_drawer_1sxt8_15caf_17:not(#\9):focus {
|
|
76
76
|
outline: none;
|
|
77
77
|
}
|
|
78
|
-
body[data-awsui-focus-visible=true] .
|
|
78
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_15caf_17:not(#\9):focus {
|
|
79
79
|
position: relative;
|
|
80
80
|
}
|
|
81
|
-
body[data-awsui-focus-visible=true] .
|
|
81
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_15caf_17:not(#\9):focus {
|
|
82
82
|
outline: 2px dotted transparent;
|
|
83
83
|
outline-offset: calc(-2px - 1px);
|
|
84
84
|
}
|
|
85
|
-
body[data-awsui-focus-visible=true] .
|
|
85
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_15caf_17:not(#\9):focus::before {
|
|
86
86
|
content: " ";
|
|
87
87
|
display: block;
|
|
88
88
|
position: absolute;
|
|
@@ -90,89 +90,89 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1tqmb_17:not(#\9):focus:
|
|
|
90
90
|
inset-block-start: calc(-1 * -2px);
|
|
91
91
|
inline-size: calc(100% + -2px + -2px);
|
|
92
92
|
block-size: calc(100% + -2px + -2px);
|
|
93
|
-
border-start-start-radius: var(--border-radius-control-default-focus-ring-
|
|
94
|
-
border-start-end-radius: var(--border-radius-control-default-focus-ring-
|
|
95
|
-
border-end-start-radius: var(--border-radius-control-default-focus-ring-
|
|
96
|
-
border-end-end-radius: var(--border-radius-control-default-focus-ring-
|
|
97
|
-
box-shadow: 0 0 0 2px var(--color-border-item-focused-
|
|
93
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
94
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
95
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
96
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-hkazgq, 4px);
|
|
97
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
101
|
-
font-size: var(--font-panel-header-size-
|
|
102
|
-
letter-spacing: var(--letter-spacing-heading-m-
|
|
103
|
-
line-height: var(--font-panel-header-line-height-
|
|
104
|
-
font-weight: var(--font-weight-heading-l-
|
|
105
|
-
-webkit-font-smoothing: var(--font-smoothing-webkit-
|
|
106
|
-
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-
|
|
100
|
+
.awsui_header_1sxt8_15caf_100:not(#\9) {
|
|
101
|
+
font-size: var(--font-panel-header-size-qah1aa, 18px);
|
|
102
|
+
letter-spacing: var(--letter-spacing-heading-m-0amzmw, -0.01em);
|
|
103
|
+
line-height: var(--font-panel-header-line-height-mdt23e, 22px);
|
|
104
|
+
font-weight: var(--font-weight-heading-l-fhfvdl, 700);
|
|
105
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-noqmev, antialiased);
|
|
106
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-1ua98z, grayscale);
|
|
107
107
|
display: flex;
|
|
108
108
|
justify-content: space-between;
|
|
109
|
-
color: var(--color-text-heading-default-
|
|
110
|
-
padding-block: var(--space-panel-header-vertical-
|
|
111
|
-
border-block-end: var(--border-divider-section-width-
|
|
112
|
-
padding-inline: var(--space-panel-side-left-
|
|
109
|
+
color: var(--color-text-heading-default-runmms, #0f141a);
|
|
110
|
+
padding-block: var(--space-panel-header-vertical-6ftfkl, 20px);
|
|
111
|
+
border-block-end: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
112
|
+
padding-inline: var(--space-panel-side-left-bblna5, 28px) calc(var(--space-l-e5i7qp, 20px) + var(--space-scaled-xxl-pn6ur6, 32px));
|
|
113
113
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
114
114
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
115
115
|
}
|
|
116
|
-
.
|
|
117
|
-
padding-inline: var(--space-panel-side-left-
|
|
116
|
+
.awsui_header_1sxt8_15caf_100.awsui_hide-close-action_1sxt8_15caf_116:not(#\9) {
|
|
117
|
+
padding-inline: var(--space-panel-side-left-bblna5, 28px) var(--space-panel-side-right-ns9dbx, 24px);
|
|
118
118
|
}
|
|
119
119
|
@media (min-width: 689px) {
|
|
120
|
-
.
|
|
120
|
+
.awsui_header_1sxt8_15caf_100.awsui_with-additional-action_1sxt8_15caf_120:not(#\9) {
|
|
121
121
|
/*
|
|
122
122
|
this padding is needed when the drawer renders inside a runtime drawer and the runtime drawer has an additional action
|
|
123
123
|
on the right (or left in rtl). in this case this padding ensures that the drawer's content does not overlap with runtime actions
|
|
124
124
|
*/
|
|
125
|
-
padding-inline: var(--space-panel-side-left-
|
|
125
|
+
padding-inline: var(--space-panel-side-left-bblna5, 28px) calc(var(--space-xxxl-0rzsa3, 40px) + var(--space-scaled-xxl-pn6ur6, 32px));
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
.awsui_header_1sxt8_15caf_100.awsui_with-runtime-context_1sxt8_15caf_128:not(#\9) {
|
|
129
129
|
padding-block: 14px;
|
|
130
130
|
}
|
|
131
|
-
.awsui_with-
|
|
131
|
+
.awsui_with-toolbar_1sxt8_15caf_131 > .awsui_header_1sxt8_15caf_100:not(#\9) {
|
|
132
132
|
border-color: transparent;
|
|
133
133
|
margin-block-end: 0px;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
136
|
-
.
|
|
137
|
-
.
|
|
138
|
-
.
|
|
139
|
-
.
|
|
140
|
-
font-size: var(--font-panel-header-size-
|
|
141
|
-
letter-spacing: var(--letter-spacing-heading-m-
|
|
142
|
-
line-height: var(--font-panel-header-line-height-
|
|
143
|
-
font-weight: var(--font-weight-heading-l-
|
|
144
|
-
-webkit-font-smoothing: var(--font-smoothing-webkit-
|
|
145
|
-
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-
|
|
135
|
+
.awsui_header_1sxt8_15caf_100 h2:not(#\9),
|
|
136
|
+
.awsui_header_1sxt8_15caf_100 h3:not(#\9),
|
|
137
|
+
.awsui_header_1sxt8_15caf_100 h4:not(#\9),
|
|
138
|
+
.awsui_header_1sxt8_15caf_100 h5:not(#\9),
|
|
139
|
+
.awsui_header_1sxt8_15caf_100 h6:not(#\9) {
|
|
140
|
+
font-size: var(--font-panel-header-size-qah1aa, 18px);
|
|
141
|
+
letter-spacing: var(--letter-spacing-heading-m-0amzmw, -0.01em);
|
|
142
|
+
line-height: var(--font-panel-header-line-height-mdt23e, 22px);
|
|
143
|
+
font-weight: var(--font-weight-heading-l-fhfvdl, 700);
|
|
144
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-noqmev, antialiased);
|
|
145
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-1ua98z, grayscale);
|
|
146
146
|
padding-block: 0;
|
|
147
147
|
margin-block: 0;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.awsui_header-
|
|
150
|
+
.awsui_header-actions_1sxt8_15caf_150:not(#\9) {
|
|
151
151
|
display: inline-flex;
|
|
152
152
|
align-items: flex-start;
|
|
153
153
|
z-index: 1;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.awsui_close-
|
|
156
|
+
.awsui_close-action_1sxt8_15caf_156:not(#\9) {
|
|
157
157
|
position: absolute;
|
|
158
|
-
inset-block-start: var(--space-static-m-
|
|
159
|
-
inset-inline-end: var(--space-scaled-l-
|
|
158
|
+
inset-block-start: var(--space-static-m-pf6pc8, 16px);
|
|
159
|
+
inset-inline-end: var(--space-scaled-l-kalwlg, 20px);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.awsui_content-with-
|
|
163
|
-
padding-block-start: var(--space-panel-content-top-
|
|
164
|
-
padding-inline-start: var(--space-panel-side-left-
|
|
165
|
-
padding-inline-end: var(--space-panel-side-right-
|
|
166
|
-
padding-block-end: var(--space-panel-content-bottom-
|
|
162
|
+
.awsui_content-with-paddings_1sxt8_15caf_162:not(#\9):not(:empty) {
|
|
163
|
+
padding-block-start: var(--space-panel-content-top-na7k3a, 20px);
|
|
164
|
+
padding-inline-start: var(--space-panel-side-left-bblna5, 28px);
|
|
165
|
+
padding-inline-end: var(--space-panel-side-right-ns9dbx, 24px);
|
|
166
|
+
padding-block-end: var(--space-panel-content-bottom-86jcxf, 40px);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.
|
|
170
|
-
background-color: var(--color-background-container-content-
|
|
171
|
-
border-block-start: var(--border-divider-section-width-
|
|
172
|
-
padding-block: var(--space-panel-content-top-
|
|
173
|
-
padding-inline: var(--space-panel-side-left-
|
|
169
|
+
.awsui_footer_1sxt8_15caf_169:not(#\9) {
|
|
170
|
+
background-color: var(--color-background-container-content-0odjoo, #ffffff);
|
|
171
|
+
border-block-start: var(--border-divider-section-width-ljhehl, 1px) solid var(--color-border-panel-header-gdu5e2, #c6c6cd);
|
|
172
|
+
padding-block: var(--space-panel-content-top-na7k3a, 20px);
|
|
173
|
+
padding-inline: var(--space-panel-side-left-bblna5, 28px) var(--space-panel-side-right-ns9dbx, 24px);
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
.awsui_footer_1sxt8_15caf_169.awsui_is-sticky_1sxt8_15caf_175:not(#\9) {
|
|
176
176
|
position: sticky;
|
|
177
177
|
inset-block-end: 0;
|
|
178
178
|
inset-inline-start: 0;
|
|
@@ -180,25 +180,25 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1tqmb_17:not(#\9):focus:
|
|
|
180
180
|
z-index: 810;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.awsui_test-utils-drawer-
|
|
183
|
+
.awsui_test-utils-drawer-content_1sxt8_15caf_183:not(#\9) {
|
|
184
184
|
/* used in test-utils */
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.awsui_hidden_1sxt8_15caf_187:not(#\9) {
|
|
188
188
|
display: none;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
.awsui_focus-
|
|
191
|
+
.awsui_focus-trap_1sxt8_15caf_191:not(#\9) {
|
|
192
192
|
display: contents;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.
|
|
195
|
+
.awsui_backdrop_1sxt8_15caf_195:not(#\9) {
|
|
196
196
|
inset: 0;
|
|
197
|
-
background-color: var(--color-background-drawer-backdrop-
|
|
197
|
+
background-color: var(--color-background-drawer-backdrop-pc0ux2, rgba(35, 43, 55, 0.7));
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.awsui_backdrop_1sxt8_15caf_195.awsui_backdrop-fixed_1sxt8_15caf_199:not(#\9) {
|
|
200
200
|
position: fixed;
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
.awsui_backdrop_1sxt8_15caf_195.awsui_backdrop-absolute_1sxt8_15caf_202:not(#\9) {
|
|
203
203
|
position: absolute;
|
|
204
204
|
}
|
|
@@ -2,34 +2,34 @@
|
|
|
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
|
-
"drawer": "
|
|
7
|
-
"has-close-action": "awsui_has-close-
|
|
8
|
-
"position-absolute": "awsui_position-
|
|
9
|
-
"placement-end": "awsui_placement-
|
|
10
|
-
"position-sticky": "awsui_position-
|
|
11
|
-
"position-fixed": "awsui_position-
|
|
12
|
-
"placement-start": "awsui_placement-
|
|
13
|
-
"placement-top": "awsui_placement-
|
|
14
|
-
"placement-bottom": "awsui_placement-
|
|
15
|
-
"with-footer": "awsui_with-
|
|
16
|
-
"position-static": "awsui_position-
|
|
17
|
-
"content": "
|
|
18
|
-
"header": "
|
|
19
|
-
"hide-close-action": "awsui_hide-close-
|
|
20
|
-
"with-additional-action": "awsui_with-additional-
|
|
21
|
-
"with-runtime-context": "awsui_with-runtime-
|
|
22
|
-
"with-toolbar": "awsui_with-
|
|
23
|
-
"header-actions": "awsui_header-
|
|
24
|
-
"close-action": "awsui_close-
|
|
25
|
-
"content-with-paddings": "awsui_content-with-
|
|
26
|
-
"footer": "
|
|
27
|
-
"is-sticky": "awsui_is-
|
|
28
|
-
"test-utils-drawer-content": "awsui_test-utils-drawer-
|
|
29
|
-
"hidden": "
|
|
30
|
-
"focus-trap": "awsui_focus-
|
|
31
|
-
"backdrop": "
|
|
32
|
-
"backdrop-fixed": "awsui_backdrop-
|
|
33
|
-
"backdrop-absolute": "awsui_backdrop-
|
|
5
|
+
"root": "awsui_root_1sxt8_15caf_13",
|
|
6
|
+
"drawer": "awsui_drawer_1sxt8_15caf_17",
|
|
7
|
+
"has-close-action": "awsui_has-close-action_1sxt8_15caf_50",
|
|
8
|
+
"position-absolute": "awsui_position-absolute_1sxt8_15caf_53",
|
|
9
|
+
"placement-end": "awsui_placement-end_1sxt8_15caf_53",
|
|
10
|
+
"position-sticky": "awsui_position-sticky_1sxt8_15caf_53",
|
|
11
|
+
"position-fixed": "awsui_position-fixed_1sxt8_15caf_53",
|
|
12
|
+
"placement-start": "awsui_placement-start_1sxt8_15caf_56",
|
|
13
|
+
"placement-top": "awsui_placement-top_1sxt8_15caf_59",
|
|
14
|
+
"placement-bottom": "awsui_placement-bottom_1sxt8_15caf_62",
|
|
15
|
+
"with-footer": "awsui_with-footer_1sxt8_15caf_65",
|
|
16
|
+
"position-static": "awsui_position-static_1sxt8_15caf_69",
|
|
17
|
+
"content": "awsui_content_1sxt8_15caf_72",
|
|
18
|
+
"header": "awsui_header_1sxt8_15caf_100",
|
|
19
|
+
"hide-close-action": "awsui_hide-close-action_1sxt8_15caf_116",
|
|
20
|
+
"with-additional-action": "awsui_with-additional-action_1sxt8_15caf_120",
|
|
21
|
+
"with-runtime-context": "awsui_with-runtime-context_1sxt8_15caf_128",
|
|
22
|
+
"with-toolbar": "awsui_with-toolbar_1sxt8_15caf_131",
|
|
23
|
+
"header-actions": "awsui_header-actions_1sxt8_15caf_150",
|
|
24
|
+
"close-action": "awsui_close-action_1sxt8_15caf_156",
|
|
25
|
+
"content-with-paddings": "awsui_content-with-paddings_1sxt8_15caf_162",
|
|
26
|
+
"footer": "awsui_footer_1sxt8_15caf_169",
|
|
27
|
+
"is-sticky": "awsui_is-sticky_1sxt8_15caf_175",
|
|
28
|
+
"test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_15caf_183",
|
|
29
|
+
"hidden": "awsui_hidden_1sxt8_15caf_187",
|
|
30
|
+
"focus-trap": "awsui_focus-trap_1sxt8_15caf_191",
|
|
31
|
+
"backdrop": "awsui_backdrop_1sxt8_15caf_195",
|
|
32
|
+
"backdrop-fixed": "awsui_backdrop-fixed_1sxt8_15caf_199",
|
|
33
|
+
"backdrop-absolute": "awsui_backdrop-absolute_1sxt8_15caf_202"
|
|
34
34
|
};
|
|
35
35
|
|