@cloudscape-design/components 3.0.301 → 3.0.303
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/interfaces.d.ts +1 -0
- package/alert/interfaces.d.ts.map +1 -1
- package/alert/interfaces.js.map +1 -1
- package/alert/styles.css.js +19 -19
- package/alert/styles.scoped.css +64 -64
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +46 -46
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +10 -10
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +10 -10
- package/app-layout/drawer/styles.scoped.css +31 -31
- package/app-layout/drawer/styles.selectors.js +10 -10
- package/app-layout/interfaces.d.ts +1 -0
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/mobile-toolbar/styles.css.js +6 -6
- package/app-layout/mobile-toolbar/styles.scoped.css +20 -20
- package/app-layout/mobile-toolbar/styles.selectors.js +6 -6
- 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/styles.css.js +13 -13
- package/app-layout/styles.scoped.css +22 -22
- package/app-layout/styles.selectors.js +13 -13
- package/app-layout/toggles/styles.css.js +1 -1
- package/app-layout/toggles/styles.scoped.css +3 -3
- package/app-layout/toggles/styles.selectors.js +1 -1
- package/app-layout/visual-refresh/styles.css.js +68 -68
- package/app-layout/visual-refresh/styles.scoped.css +265 -265
- package/app-layout/visual-refresh/styles.selectors.js +68 -68
- package/area-chart/interfaces.d.ts +1 -0
- package/area-chart/interfaces.d.ts.map +1 -1
- package/area-chart/interfaces.js.map +1 -1
- package/area-chart/styles.css.js +13 -13
- package/area-chart/styles.scoped.css +29 -29
- package/area-chart/styles.selectors.js +13 -13
- package/attribute-editor/interfaces.d.ts +1 -0
- package/attribute-editor/interfaces.d.ts.map +1 -1
- package/attribute-editor/interfaces.js.map +1 -1
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +48 -48
- package/attribute-editor/styles.selectors.js +14 -14
- package/autosuggest/interfaces.d.ts +2 -0
- package/autosuggest/interfaces.d.ts.map +1 -1
- package/autosuggest/interfaces.js.map +1 -1
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +20 -20
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +418 -418
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/interfaces.d.ts +1 -0
- package/breadcrumb-group/interfaces.d.ts.map +1 -1
- package/breadcrumb-group/interfaces.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +22 -22
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/styles.css.js +19 -19
- package/button/styles.scoped.css +412 -412
- package/button/styles.selectors.js +19 -19
- package/button-dropdown/category-elements/styles.css.js +13 -13
- package/button-dropdown/category-elements/styles.scoped.css +50 -50
- package/button-dropdown/category-elements/styles.selectors.js +13 -13
- package/button-dropdown/item-element/styles.css.js +14 -14
- package/button-dropdown/item-element/styles.scoped.css +42 -42
- package/button-dropdown/item-element/styles.selectors.js +14 -14
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +10 -10
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +8 -8
- package/button-dropdown/styles.scoped.css +20 -20
- package/button-dropdown/styles.selectors.js +8 -8
- package/calendar/interfaces.d.ts +3 -0
- package/calendar/interfaces.d.ts.map +1 -1
- package/calendar/interfaces.js.map +1 -1
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +89 -89
- package/calendar/styles.selectors.js +18 -18
- package/cards/interfaces.d.ts +1 -0
- package/cards/interfaces.d.ts.map +1 -1
- package/cards/interfaces.js.map +1 -1
- package/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +100 -100
- package/cards/styles.selectors.js +37 -37
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +16 -16
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/interfaces.d.ts +1 -0
- package/code-editor/interfaces.d.ts.map +1 -1
- package/code-editor/interfaces.js.map +1 -1
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +8 -8
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +194 -194
- 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 +42 -42
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/interfaces.d.ts +9 -0
- package/collection-preferences/interfaces.d.ts.map +1 -1
- package/collection-preferences/interfaces.js.map +1 -1
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +81 -81
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +55 -55
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +18 -18
- package/container/styles.scoped.css +73 -73
- package/container/styles.selectors.js +18 -18
- package/content-layout/styles.css.js +6 -6
- package/content-layout/styles.scoped.css +14 -14
- package/content-layout/styles.selectors.js +6 -6
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +16 -16
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +95 -95
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/interfaces.d.ts +1 -0
- 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 +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +16 -16
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +76 -76
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +24 -24
- package/expandable-section/styles.scoped.css +87 -87
- package/expandable-section/styles.selectors.js +24 -24
- package/file-upload/dropzone/styles.css.js +2 -2
- package/file-upload/dropzone/styles.scoped.css +9 -9
- package/file-upload/dropzone/styles.selectors.js +2 -2
- package/file-upload/file-input/styles.css.js +4 -4
- package/file-upload/file-input/styles.scoped.css +14 -14
- package/file-upload/file-input/styles.selectors.js +4 -4
- package/file-upload/file-option/styles.css.js +7 -7
- package/file-upload/file-option/styles.scoped.css +10 -10
- package/file-upload/file-option/styles.selectors.js +7 -7
- 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/interfaces.d.ts +1 -0
- package/flashbar/interfaces.d.ts.map +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/flashbar/styles.css.js +45 -45
- package/flashbar/styles.scoped.css +246 -246
- package/flashbar/styles.selectors.js +45 -45
- package/form/interfaces.d.ts +1 -0
- package/form/interfaces.d.ts.map +1 -1
- package/form/interfaces.js.map +1 -1
- package/form/styles.css.js +9 -9
- package/form/styles.scoped.css +20 -20
- package/form/styles.selectors.js +9 -9
- package/form-field/interfaces.d.ts +1 -0
- package/form-field/interfaces.d.ts.map +1 -1
- package/form-field/interfaces.js.map +1 -1
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +52 -52
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +60 -60
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +116 -116
- package/header/styles.selectors.js +44 -44
- package/help-panel/interfaces.d.ts +1 -0
- package/help-panel/interfaces.d.ts.map +1 -1
- package/help-panel/interfaces.js.map +1 -1
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +153 -153
- package/help-panel/styles.selectors.js +4 -4
- 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 +21 -21
- package/icon/styles.scoped.css +81 -81
- package/icon/styles.selectors.js +21 -21
- package/input/interfaces.d.ts +1 -0
- package/input/interfaces.d.ts.map +1 -1
- package/input/interfaces.js.map +1 -1
- package/input/styles.css.js +12 -12
- package/input/styles.scoped.css +73 -73
- package/input/styles.selectors.js +12 -12
- package/internal/base-component/styles.scoped.css +1620 -1437
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +26 -26
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +63 -63
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/cartesian-chart/interfaces.d.ts +4 -0
- package/internal/components/cartesian-chart/interfaces.d.ts.map +1 -1
- package/internal/components/cartesian-chart/interfaces.js.map +1 -1
- package/internal/components/cartesian-chart/styles.css.js +21 -21
- package/internal/components/cartesian-chart/styles.scoped.css +34 -34
- package/internal/components/cartesian-chart/styles.selectors.js +21 -21
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +7 -7
- 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 +23 -23
- 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 +9 -9
- 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 +20 -20
- 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 +14 -14
- 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/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +18 -18
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dark-ribbon/styles.css.js +2 -2
- package/internal/components/dark-ribbon/styles.scoped.css +4 -4
- package/internal/components/dark-ribbon/styles.selectors.js +2 -2
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +51 -51
- 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 +9 -9
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/interfaces.d.ts +3 -0
- package/internal/components/dropdown-status/interfaces.d.ts.map +1 -1
- package/internal/components/dropdown-status/interfaces.js.map +1 -1
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +8 -8
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +34 -34
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/handle/styles.css.js +2 -2
- package/internal/components/handle/styles.scoped.css +12 -12
- package/internal/components/handle/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +32 -32
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/index.d.ts.map +1 -1
- package/internal/components/option/index.js +1 -1
- package/internal/components/option/index.js.map +1 -1
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +47 -47
- 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 +7 -7
- 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 +71 -68
- 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 +40 -40
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/generated/styles/tokens.d.ts +4 -0
- package/internal/generated/styles/tokens.js +303 -299
- package/internal/generated/theming/index.cjs +1609 -675
- package/internal/generated/theming/index.cjs.d.ts +206 -0
- package/internal/generated/theming/index.d.ts +206 -0
- package/internal/generated/theming/index.js +1609 -675
- package/internal/manifest.json +1 -1
- package/link/interfaces.d.ts +1 -0
- package/link/interfaces.d.ts.map +1 -1
- package/link/interfaces.js.map +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +163 -163
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +19 -19
- package/mixed-line-bar-chart/styles.scoped.css +38 -38
- package/mixed-line-bar-chart/styles.selectors.js +19 -19
- package/modal/interfaces.d.ts +1 -0
- package/modal/interfaces.d.ts.map +1 -1
- package/modal/interfaces.js.map +1 -1
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +67 -67
- package/modal/styles.selectors.js +23 -23
- package/multiselect/interfaces.d.ts +1 -0
- package/multiselect/interfaces.d.ts.map +1 -1
- package/multiselect/interfaces.js.map +1 -1
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +5 -5
- package/multiselect/styles.selectors.js +1 -1
- package/package.json +1 -1
- package/pagination/interfaces.d.ts +1 -0
- package/pagination/interfaces.d.ts.map +1 -1
- package/pagination/interfaces.js.map +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +47 -47
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/interfaces.d.ts +4 -0
- package/pie-chart/interfaces.d.ts.map +1 -1
- package/pie-chart/interfaces.js.map +1 -1
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +70 -70
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/interfaces.d.ts +1 -0
- package/popover/interfaces.d.ts.map +1 -1
- package/popover/interfaces.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +104 -104
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +58 -58
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/interfaces.d.ts +1 -0
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/styles.css.js +29 -29
- package/property-filter/styles.scoped.css +52 -52
- package/property-filter/styles.selectors.js +29 -29
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +37 -37
- 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 +12 -12
- 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 +78 -78
- package/segmented-control/styles.selectors.js +14 -14
- package/select/interfaces.d.ts +2 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/parts/styles.css.js +9 -9
- package/select/parts/styles.scoped.css +17 -17
- package/select/parts/styles.selectors.js +9 -9
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +5 -5
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +27 -27
- package/side-navigation/styles.scoped.css +89 -89
- package/side-navigation/styles.selectors.js +27 -27
- package/space-between/styles.css.js +20 -20
- package/space-between/styles.scoped.css +37 -37
- package/space-between/styles.selectors.js +20 -20
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +35 -35
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/interfaces.d.ts +1 -0
- package/split-panel/interfaces.d.ts.map +1 -1
- package/split-panel/interfaces.js.map +1 -1
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +150 -150
- package/split-panel/styles.selectors.js +59 -59
- package/status-indicator/styles.css.js +20 -20
- package/status-indicator/styles.scoped.css +44 -44
- package/status-indicator/styles.selectors.js +20 -20
- package/table/body-cell/styles.css.js +28 -28
- package/table/body-cell/styles.scoped.css +144 -144
- package/table/body-cell/styles.selectors.js +28 -28
- package/table/header-cell/styles.css.js +24 -24
- package/table/header-cell/styles.scoped.css +93 -93
- package/table/header-cell/styles.selectors.js +24 -24
- package/table/interfaces.d.ts +1 -0
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +27 -27
- package/table/resizer/styles.selectors.js +6 -6
- package/table/selection-control/styles.css.js +3 -3
- package/table/selection-control/styles.scoped.css +4 -4
- package/table/selection-control/styles.selectors.js +3 -3
- package/table/styles.css.js +36 -36
- package/table/styles.scoped.css +88 -88
- package/table/styles.selectors.js +36 -36
- package/tabs/interfaces.d.ts +1 -0
- package/tabs/interfaces.d.ts.map +1 -1
- package/tabs/interfaces.js.map +1 -1
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +86 -86
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +24 -24
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +125 -125
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +10 -10
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +40 -40
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +124 -124
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +27 -27
- package/toggle/styles.selectors.js +8 -8
- package/token-group/interfaces.d.ts +1 -0
- package/token-group/interfaces.d.ts.map +1 -1
- package/token-group/interfaces.js.map +1 -1
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +42 -42
- 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 +84 -84
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/interfaces.d.ts +1 -0
- package/top-navigation/interfaces.d.ts.map +1 -1
- package/top-navigation/interfaces.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +148 -148
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +43 -43
- 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 +50 -50
- 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 +6 -6
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/interfaces.d.ts +1 -0
- package/wizard/interfaces.d.ts.map +1 -1
- package/wizard/interfaces.js.map +1 -1
- package/wizard/styles.css.js +31 -31
- package/wizard/styles.scoped.css +125 -125
- package/wizard/styles.selectors.js +31 -31
|
@@ -2,73 +2,73 @@
|
|
|
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
|
-
"is-drawer-open": "awsui_is-drawer-
|
|
22
|
-
"content": "
|
|
23
|
-
"layout": "
|
|
24
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
25
|
-
"content-type-dashboard": "awsui_content-type-
|
|
26
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
27
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
28
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
29
|
-
"content-first-child-notifications": "awsui_content-first-child-
|
|
30
|
-
"has-breadcrumbs": "awsui_has-
|
|
31
|
-
"content-first-child-header": "awsui_content-first-child-
|
|
32
|
-
"has-header": "awsui_has-
|
|
33
|
-
"content-first-child-main": "awsui_content-first-child-
|
|
34
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
35
|
-
"has-split-panel": "awsui_has-split-
|
|
36
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
37
|
-
"block-body-scroll": "awsui_block-body-
|
|
38
|
-
"unfocusable": "
|
|
39
|
-
"container": "
|
|
40
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
41
|
-
"is-tools-open": "awsui_is-tools-
|
|
42
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
43
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
44
|
-
"mobile-toolbar": "awsui_mobile-
|
|
45
|
-
"mobile-toolbar-nav": "awsui_mobile-toolbar-
|
|
46
|
-
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-
|
|
47
|
-
"mobile-toolbar-tools": "awsui_mobile-toolbar-
|
|
48
|
-
"navigation-container": "awsui_navigation-
|
|
49
|
-
"show-navigation": "awsui_show-
|
|
50
|
-
"animating": "
|
|
51
|
-
"showButtons": "
|
|
52
|
-
"navigation": "
|
|
53
|
-
"openNavigation": "
|
|
54
|
-
"animated-content": "awsui_animated-
|
|
55
|
-
"hide-navigation": "awsui_hide-
|
|
56
|
-
"notifications": "
|
|
57
|
-
"sticky-notifications": "awsui_sticky-
|
|
58
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
59
|
-
"position-bottom": "awsui_position-
|
|
60
|
-
"openSplitPanelBottom": "
|
|
61
|
-
"split-panel-side": "awsui_split-panel-
|
|
62
|
-
"position-side": "awsui_position-
|
|
63
|
-
"openSplitPanelSide": "
|
|
64
|
-
"tools-container": "awsui_tools-
|
|
65
|
-
"tools": "
|
|
66
|
-
"openTools": "
|
|
67
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
68
|
-
"hide-tools": "awsui_hide-
|
|
69
|
-
"show-tools": "awsui_show-
|
|
70
|
-
"has-tools-form": "awsui_has-tools-
|
|
71
|
-
"trigger": "
|
|
72
|
-
"selected": "
|
|
5
|
+
"background": "awsui_background_hyvsj_dt7gs_93",
|
|
6
|
+
"scrolling-background": "awsui_scrolling-background_hyvsj_dt7gs_96",
|
|
7
|
+
"sticky-background": "awsui_sticky-background_hyvsj_dt7gs_102",
|
|
8
|
+
"has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_dt7gs_110",
|
|
9
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_dt7gs_123",
|
|
10
|
+
"has-sticky-background": "awsui_has-sticky-background_hyvsj_dt7gs_133",
|
|
11
|
+
"drawers-container": "awsui_drawers-container_hyvsj_dt7gs_145",
|
|
12
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_dt7gs_157",
|
|
13
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_dt7gs_191",
|
|
14
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_dt7gs_196",
|
|
15
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_dt7gs_214",
|
|
16
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_dt7gs_246",
|
|
17
|
+
"drawers-trigger": "awsui_drawers-trigger_hyvsj_dt7gs_246",
|
|
18
|
+
"drawer": "awsui_drawer_hyvsj_dt7gs_145",
|
|
19
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_dt7gs_297",
|
|
20
|
+
"drawer-content": "awsui_drawer-content_hyvsj_dt7gs_302",
|
|
21
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_dt7gs_307",
|
|
22
|
+
"content": "awsui_content_hyvsj_dt7gs_341",
|
|
23
|
+
"layout": "awsui_layout_hyvsj_dt7gs_362",
|
|
24
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_dt7gs_443",
|
|
25
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_dt7gs_458",
|
|
26
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_dt7gs_475",
|
|
27
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_dt7gs_507",
|
|
28
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_dt7gs_510",
|
|
29
|
+
"content-first-child-notifications": "awsui_content-first-child-notifications_hyvsj_dt7gs_520",
|
|
30
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_dt7gs_523",
|
|
31
|
+
"content-first-child-header": "awsui_content-first-child-header_hyvsj_dt7gs_526",
|
|
32
|
+
"has-header": "awsui_has-header_hyvsj_dt7gs_526",
|
|
33
|
+
"content-first-child-main": "awsui_content-first-child-main_hyvsj_dt7gs_544",
|
|
34
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_dt7gs_544",
|
|
35
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_dt7gs_581",
|
|
36
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_dt7gs_581",
|
|
37
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_dt7gs_597",
|
|
38
|
+
"unfocusable": "awsui_unfocusable_hyvsj_dt7gs_602",
|
|
39
|
+
"container": "awsui_container_hyvsj_dt7gs_612",
|
|
40
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_dt7gs_637",
|
|
41
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_dt7gs_640",
|
|
42
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_dt7gs_640",
|
|
43
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_dt7gs_640",
|
|
44
|
+
"mobile-toolbar": "awsui_mobile-toolbar_hyvsj_dt7gs_649",
|
|
45
|
+
"mobile-toolbar-nav": "awsui_mobile-toolbar-nav_hyvsj_dt7gs_665",
|
|
46
|
+
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-breadcrumbs_hyvsj_dt7gs_669",
|
|
47
|
+
"mobile-toolbar-tools": "awsui_mobile-toolbar-tools_hyvsj_dt7gs_673",
|
|
48
|
+
"navigation-container": "awsui_navigation-container_hyvsj_dt7gs_682",
|
|
49
|
+
"show-navigation": "awsui_show-navigation_hyvsj_dt7gs_726",
|
|
50
|
+
"animating": "awsui_animating_hyvsj_dt7gs_748",
|
|
51
|
+
"showButtons": "awsui_showButtons_hyvsj_dt7gs_1",
|
|
52
|
+
"navigation": "awsui_navigation_hyvsj_dt7gs_682",
|
|
53
|
+
"openNavigation": "awsui_openNavigation_hyvsj_dt7gs_1",
|
|
54
|
+
"animated-content": "awsui_animated-content_hyvsj_dt7gs_809",
|
|
55
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_dt7gs_818",
|
|
56
|
+
"notifications": "awsui_notifications_hyvsj_dt7gs_828",
|
|
57
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_dt7gs_834",
|
|
58
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_dt7gs_851",
|
|
59
|
+
"position-bottom": "awsui_position-bottom_hyvsj_dt7gs_897",
|
|
60
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_dt7gs_1",
|
|
61
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_dt7gs_926",
|
|
62
|
+
"position-side": "awsui_position-side_hyvsj_dt7gs_954",
|
|
63
|
+
"openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_dt7gs_1",
|
|
64
|
+
"tools-container": "awsui_tools-container_hyvsj_dt7gs_991",
|
|
65
|
+
"tools": "awsui_tools_hyvsj_dt7gs_991",
|
|
66
|
+
"openTools": "awsui_openTools_hyvsj_dt7gs_1",
|
|
67
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_dt7gs_1085",
|
|
68
|
+
"hide-tools": "awsui_hide-tools_hyvsj_dt7gs_1095",
|
|
69
|
+
"show-tools": "awsui_show-tools_hyvsj_dt7gs_1107",
|
|
70
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_dt7gs_1085",
|
|
71
|
+
"trigger": "awsui_trigger_hyvsj_dt7gs_1174",
|
|
72
|
+
"selected": "awsui_selected_hyvsj_dt7gs_1213"
|
|
73
73
|
};
|
|
74
74
|
|
|
@@ -13,6 +13,7 @@ export interface AreaChartProps<T extends AreaChartProps.DataTypes> extends Cart
|
|
|
13
13
|
series: ReadonlyArray<AreaChartProps.Series<T>>;
|
|
14
14
|
/**
|
|
15
15
|
* An object containing all the necessary localized strings required by the component.
|
|
16
|
+
* @i18n
|
|
16
17
|
*/
|
|
17
18
|
i18nStrings?: AreaChartProps.I18nStrings<T>;
|
|
18
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["area-chart/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAExG,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,cAAc,CAAC,SAAS,CAChE,SAAQ,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxD;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhD
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["area-chart/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAExG,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,cAAc,CAAC,SAAS,CAChE,SAAQ,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxD;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhD;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;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Q,mBAAmB,CAAC,WAAW,CAAC,CAAC,CAAC;QACxE,oDAAoD;QACpD,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,qDAAqD;QACrD,oBAAoB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KAC9C;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["area-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { CartesianChartProps, ChartDataTypes } from '../internal/components/cartesian-chart/interfaces';\n\nexport interface AreaChartProps<T extends AreaChartProps.DataTypes>\n extends CartesianChartProps<T, AreaChartProps.Series<T>> {\n /**\n * Array that represents the source of data for the displayed chart.\n * Each element can represent an area series, or a threshold, and can have the following properties:\n *\n * * `title` (string): A human-readable title for this series\n * * `type` (string): Series type (`\"area\"`, or `\"threshold\"`)\n * * `data` (Array): An array of data points, represented as objects with `x` and `y` properties. The `x` values must be consistent across all series\n * * `color` (string): (Optional) A color hex value for this series. When assigned, it takes priority over the automatically assigned color\n * * `valueFormatter` (Function): (Optional) A function that formats data values before rendering in the UI, For example, in the details popover.\n */\n series: ReadonlyArray<AreaChartProps.Series<T>>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n */\n i18nStrings?: AreaChartProps.I18nStrings<T>;\n}\n\nexport namespace AreaChartProps {\n export type DataTypes = ChartDataTypes;\n\n export interface Datum<T> {\n x: T;\n y: number;\n }\n\n export type Series<T> = AreaSeries<T> | ThresholdSeries;\n\n export interface AreaSeries<T> {\n type: 'area';\n title: string;\n color?: string;\n data: T extends unknown ? ReadonlyArray<Datum<T>> : ReadonlyArray<Datum<T>>;\n valueFormatter?: ValueFormatter<number, T>;\n }\n\n export interface ThresholdSeries {\n type: 'threshold';\n title: string;\n color?: string;\n y: number;\n valueFormatter?: TickFormatter<number>;\n }\n\n export type FilterChangeDetail<T> = CartesianChartProps.FilterChangeDetail<Series<T>>;\n\n export type HighlightChangeDetail<T> = CartesianChartProps.HighlightChangeDetail<Series<T>>;\n\n export type TickFormatter<T> = CartesianChartProps.TickFormatter<T>;\n\n export type ValueFormatter<YType, XType = null> = CartesianChartProps.ValueFormatter<YType, XType>;\n\n export interface I18nStrings<T> extends CartesianChartProps.I18nStrings<T> {\n /** The title of the values total in the popover. */\n detailTotalLabel?: string;\n /** Function to format the displayed values total. */\n detailTotalFormatter?: TickFormatter<number>;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["area-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { CartesianChartProps, ChartDataTypes } from '../internal/components/cartesian-chart/interfaces';\n\nexport interface AreaChartProps<T extends AreaChartProps.DataTypes>\n extends CartesianChartProps<T, AreaChartProps.Series<T>> {\n /**\n * Array that represents the source of data for the displayed chart.\n * Each element can represent an area series, or a threshold, and can have the following properties:\n *\n * * `title` (string): A human-readable title for this series\n * * `type` (string): Series type (`\"area\"`, or `\"threshold\"`)\n * * `data` (Array): An array of data points, represented as objects with `x` and `y` properties. The `x` values must be consistent across all series\n * * `color` (string): (Optional) A color hex value for this series. When assigned, it takes priority over the automatically assigned color\n * * `valueFormatter` (Function): (Optional) A function that formats data values before rendering in the UI, For example, in the details popover.\n */\n series: ReadonlyArray<AreaChartProps.Series<T>>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: AreaChartProps.I18nStrings<T>;\n}\n\nexport namespace AreaChartProps {\n export type DataTypes = ChartDataTypes;\n\n export interface Datum<T> {\n x: T;\n y: number;\n }\n\n export type Series<T> = AreaSeries<T> | ThresholdSeries;\n\n export interface AreaSeries<T> {\n type: 'area';\n title: string;\n color?: string;\n data: T extends unknown ? ReadonlyArray<Datum<T>> : ReadonlyArray<Datum<T>>;\n valueFormatter?: ValueFormatter<number, T>;\n }\n\n export interface ThresholdSeries {\n type: 'threshold';\n title: string;\n color?: string;\n y: number;\n valueFormatter?: TickFormatter<number>;\n }\n\n export type FilterChangeDetail<T> = CartesianChartProps.FilterChangeDetail<Series<T>>;\n\n export type HighlightChangeDetail<T> = CartesianChartProps.HighlightChangeDetail<Series<T>>;\n\n export type TickFormatter<T> = CartesianChartProps.TickFormatter<T>;\n\n export type ValueFormatter<YType, XType = null> = CartesianChartProps.ValueFormatter<YType, XType>;\n\n export interface I18nStrings<T> extends CartesianChartProps.I18nStrings<T> {\n /** The title of the values total in the popover. */\n detailTotalLabel?: string;\n /** Function to format the displayed values total. */\n detailTotalFormatter?: TickFormatter<number>;\n }\n}\n"]}
|
package/area-chart/styles.css.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"series": "
|
|
5
|
-
"root": "
|
|
6
|
-
"has-default-filter": "awsui_has-default-
|
|
7
|
-
"chart-container": "awsui_chart-
|
|
8
|
-
"chart-container__vertical": "awsui_chart-
|
|
9
|
-
"chart-container__horizontal": "awsui_chart-
|
|
10
|
-
"content": "
|
|
11
|
-
"content--reserve-filter": "awsui_content--reserve-
|
|
12
|
-
"content--reserve-legend": "awsui_content--reserve-
|
|
13
|
-
"series--highlighted": "awsui_series--
|
|
14
|
-
"series--dimmed": "awsui_series--
|
|
15
|
-
"series--threshold": "awsui_series--
|
|
16
|
-
"popover-divider": "awsui_popover-
|
|
4
|
+
"series": "awsui_series_y1yrh_k4rf9_93",
|
|
5
|
+
"root": "awsui_root_y1yrh_k4rf9_111",
|
|
6
|
+
"has-default-filter": "awsui_has-default-filter_y1yrh_k4rf9_126",
|
|
7
|
+
"chart-container": "awsui_chart-container_y1yrh_k4rf9_130",
|
|
8
|
+
"chart-container__vertical": "awsui_chart-container__vertical_y1yrh_k4rf9_136",
|
|
9
|
+
"chart-container__horizontal": "awsui_chart-container__horizontal_y1yrh_k4rf9_142",
|
|
10
|
+
"content": "awsui_content_y1yrh_k4rf9_146",
|
|
11
|
+
"content--reserve-filter": "awsui_content--reserve-filter_y1yrh_k4rf9_153",
|
|
12
|
+
"content--reserve-legend": "awsui_content--reserve-legend_y1yrh_k4rf9_157",
|
|
13
|
+
"series--highlighted": "awsui_series--highlighted_y1yrh_k4rf9_169",
|
|
14
|
+
"series--dimmed": "awsui_series--dimmed_y1yrh_k4rf9_173",
|
|
15
|
+
"series--threshold": "awsui_series--threshold_y1yrh_k4rf9_177",
|
|
16
|
+
"popover-divider": "awsui_popover-divider_y1yrh_k4rf9_182"
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -90,16 +90,16 @@ 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
|
-
.
|
|
94
|
-
transition: opacity var(--motion-duration-transition-quick-
|
|
93
|
+
.awsui_series_y1yrh_k4rf9_93 > rect:not(#\9) {
|
|
94
|
+
transition: opacity var(--motion-duration-transition-quick-0viajb, 90ms) var(--motion-easing-transition-quick-191occ, linear);
|
|
95
95
|
}
|
|
96
96
|
@media (prefers-reduced-motion: reduce) {
|
|
97
|
-
.
|
|
97
|
+
.awsui_series_y1yrh_k4rf9_93 > rect:not(#\9) {
|
|
98
98
|
animation: none;
|
|
99
99
|
transition: none;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
.awsui-motion-disabled .
|
|
102
|
+
.awsui-motion-disabled .awsui_series_y1yrh_k4rf9_93 > rect:not(#\9), .awsui-mode-entering .awsui_series_y1yrh_k4rf9_93 > rect:not(#\9) {
|
|
103
103
|
animation: none;
|
|
104
104
|
transition: none;
|
|
105
105
|
}
|
|
@@ -108,7 +108,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
108
108
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
109
109
|
SPDX-License-Identifier: Apache-2.0
|
|
110
110
|
*/
|
|
111
|
-
.
|
|
111
|
+
.awsui_root_y1yrh_k4rf9_111:not(#\9) {
|
|
112
112
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
113
113
|
border-collapse: separate;
|
|
114
114
|
border-spacing: 0;
|
|
@@ -138,74 +138,74 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
138
138
|
widows: 2;
|
|
139
139
|
word-spacing: normal;
|
|
140
140
|
box-sizing: border-box;
|
|
141
|
-
font-size: var(--font-body-m-size-
|
|
142
|
-
line-height: var(--font-body-m-line-height-
|
|
143
|
-
color: var(--color-text-body-default-
|
|
141
|
+
font-size: var(--font-body-m-size-7dign1, 14px);
|
|
142
|
+
line-height: var(--font-body-m-line-height-rfgrp9, 22px);
|
|
143
|
+
color: var(--color-text-body-default-mmvcvg, #000716);
|
|
144
144
|
font-weight: 400;
|
|
145
|
-
font-family: var(--font-family-base-
|
|
145
|
+
font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
146
146
|
-webkit-font-smoothing: auto;
|
|
147
147
|
-moz-osx-font-smoothing: auto;
|
|
148
148
|
position: relative;
|
|
149
149
|
display: block;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.awsui_has-default-
|
|
152
|
+
.awsui_has-default-filter_y1yrh_k4rf9_126 > :not(#\9):first-child {
|
|
153
153
|
flex: 280px 0 1;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.awsui_chart-
|
|
156
|
+
.awsui_chart-container_y1yrh_k4rf9_130:not(#\9) {
|
|
157
157
|
display: flex;
|
|
158
158
|
width: 100%;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.awsui_chart-
|
|
162
|
+
.awsui_chart-container__vertical_y1yrh_k4rf9_136:not(#\9) {
|
|
163
163
|
display: flex;
|
|
164
164
|
flex-direction: column;
|
|
165
165
|
width: 100%;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.awsui_chart-
|
|
168
|
+
.awsui_chart-container__horizontal_y1yrh_k4rf9_142:not(#\9) {
|
|
169
169
|
display: flex;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
.awsui_content_y1yrh_k4rf9_146:not(#\9) {
|
|
173
173
|
display: flex;
|
|
174
174
|
position: relative;
|
|
175
175
|
justify-content: center;
|
|
176
176
|
align-items: center;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.awsui_content--reserve-
|
|
180
|
-
margin-top: calc(2 * var(--font-body-m-line-height-
|
|
179
|
+
.awsui_content--reserve-filter_y1yrh_k4rf9_153:not(#\9) {
|
|
180
|
+
margin-top: calc(2 * var(--font-body-m-line-height-rfgrp9, 22px));
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.awsui_content--reserve-
|
|
184
|
-
margin-bottom: calc(2 * var(--font-body-m-line-height-
|
|
183
|
+
.awsui_content--reserve-legend_y1yrh_k4rf9_157:not(#\9) {
|
|
184
|
+
margin-bottom: calc(2 * var(--font-body-m-line-height-rfgrp9, 22px));
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.awsui_series_y1yrh_k4rf9_93:not(#\9) {
|
|
188
188
|
display: block;
|
|
189
|
-
stroke-width: var(--border-line-chart-width-
|
|
189
|
+
stroke-width: var(--border-line-chart-width-qfyiov, 2px);
|
|
190
190
|
fill: none;
|
|
191
191
|
stroke-linecap: round;
|
|
192
|
-
stroke-linejoin: var(--border-line-chart-line-join-
|
|
192
|
+
stroke-linejoin: var(--border-line-chart-line-join-toe9lv, round);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.awsui_series--
|
|
195
|
+
.awsui_series--highlighted_y1yrh_k4rf9_169:not(#\9) {
|
|
196
196
|
/* used in test-utils */
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.awsui_series--
|
|
199
|
+
.awsui_series--dimmed_y1yrh_k4rf9_173:not(#\9) {
|
|
200
200
|
opacity: 0.3;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.awsui_series--
|
|
204
|
-
stroke-dasharray: var(--border-line-chart-dash-array-
|
|
205
|
-
stroke-width: var(--border-line-chart-width-
|
|
203
|
+
.awsui_series--threshold_y1yrh_k4rf9_177:not(#\9) {
|
|
204
|
+
stroke-dasharray: var(--border-line-chart-dash-array-ry3ko4, 3 5);
|
|
205
|
+
stroke-width: var(--border-line-chart-width-qfyiov, 2px);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.awsui_popover-
|
|
209
|
-
margin: var(--space-xxs-
|
|
210
|
-
border-bottom: var(--border-divider-section-width-
|
|
208
|
+
.awsui_popover-divider_y1yrh_k4rf9_182:not(#\9) {
|
|
209
|
+
margin: var(--space-xxs-ja5cp8, 4px) 0;
|
|
210
|
+
border-bottom: var(--border-divider-section-width-orq175, 2px) solid var(--color-border-divider-default-9o8zql, #e9ebed);
|
|
211
211
|
}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"series": "
|
|
6
|
-
"root": "
|
|
7
|
-
"has-default-filter": "awsui_has-default-
|
|
8
|
-
"chart-container": "awsui_chart-
|
|
9
|
-
"chart-container__vertical": "awsui_chart-
|
|
10
|
-
"chart-container__horizontal": "awsui_chart-
|
|
11
|
-
"content": "
|
|
12
|
-
"content--reserve-filter": "awsui_content--reserve-
|
|
13
|
-
"content--reserve-legend": "awsui_content--reserve-
|
|
14
|
-
"series--highlighted": "awsui_series--
|
|
15
|
-
"series--dimmed": "awsui_series--
|
|
16
|
-
"series--threshold": "awsui_series--
|
|
17
|
-
"popover-divider": "awsui_popover-
|
|
5
|
+
"series": "awsui_series_y1yrh_k4rf9_93",
|
|
6
|
+
"root": "awsui_root_y1yrh_k4rf9_111",
|
|
7
|
+
"has-default-filter": "awsui_has-default-filter_y1yrh_k4rf9_126",
|
|
8
|
+
"chart-container": "awsui_chart-container_y1yrh_k4rf9_130",
|
|
9
|
+
"chart-container__vertical": "awsui_chart-container__vertical_y1yrh_k4rf9_136",
|
|
10
|
+
"chart-container__horizontal": "awsui_chart-container__horizontal_y1yrh_k4rf9_142",
|
|
11
|
+
"content": "awsui_content_y1yrh_k4rf9_146",
|
|
12
|
+
"content--reserve-filter": "awsui_content--reserve-filter_y1yrh_k4rf9_153",
|
|
13
|
+
"content--reserve-legend": "awsui_content--reserve-legend_y1yrh_k4rf9_157",
|
|
14
|
+
"series--highlighted": "awsui_series--highlighted_y1yrh_k4rf9_169",
|
|
15
|
+
"series--dimmed": "awsui_series--dimmed_y1yrh_k4rf9_173",
|
|
16
|
+
"series--threshold": "awsui_series--threshold_y1yrh_k4rf9_177",
|
|
17
|
+
"popover-divider": "awsui_popover-divider_y1yrh_k4rf9_182"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -92,6 +92,7 @@ export interface AttributeEditorProps<T> extends BaseComponentProps {
|
|
|
92
92
|
onRemoveButtonClick?: NonCancelableEventHandler<AttributeEditorProps.RemoveButtonClickDetail>;
|
|
93
93
|
/**
|
|
94
94
|
* An object containing all the necessary localized strings required by the component.
|
|
95
|
+
* @i18n
|
|
95
96
|
*/
|
|
96
97
|
i18nStrings?: AttributeEditorProps.I18nStrings<T>;
|
|
97
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["attribute-editor/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,C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AAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAEzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAElE;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAEnE;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAE7C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,yBAAyB,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;IAE9F;;;OAGG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CACnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["attribute-editor/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface AttributeEditorForwardRefType {\n <T>(props: AttributeEditorProps<T> & { ref?: React.Ref<AttributeEditorProps.Ref> }): JSX.Element;\n}\n\nexport namespace AttributeEditorProps {\n export interface IsItemRemovableFunction<T> {\n (item: T): boolean;\n }\n\n export type FieldRenderable<T> = (item: T, itemIndex: number) => React.ReactNode;\n export interface FieldDefinition<T> {\n label?: React.ReactNode;\n info?: React.ReactNode;\n control?: FieldRenderable<T> | React.ReactNode;\n errorText?: FieldRenderable<T> | React.ReactNode;\n constraintText?: FieldRenderable<T> | React.ReactNode;\n }\n\n export interface RemoveButtonClickDetail {\n itemIndex: number;\n }\n\n export interface Ref {\n /**\n * Focuses the 'remove' button for the given row index.\n */\n focusRemoveButton(itemIndex: number): void;\n /**\n * Focuses the 'add' button. Use this, for example, after a user removes the last row.\n */\n focusAddButton(): void;\n }\n\n export interface I18nStrings<T = any> {\n errorIconAriaLabel?: string;\n itemRemovedAriaLive?: string;\n removeButtonAriaLabel?: (item: T) => string;\n }\n}\n\nexport interface AttributeEditorProps<T> extends BaseComponentProps {\n /**\n * Displayed when there are no items to display.\n */\n empty?: React.ReactNode;\n\n /**\n * Displayed below the add button. Use it for additional information related to the attribute editor.\n */\n additionalInfo?: React.ReactNode;\n\n /**\n * Specifies the text that's displayed in the add button.\n */\n addButtonText: string;\n\n /**\n * Specifies the text that's displayed in the remove button.\n */\n removeButtonText?: string;\n\n /**\n * Specifies the items that serve as the data source for all rows.\n * The display of a row is handled by the `definition` property.\n */\n items?: ReadonlyArray<T>;\n\n /**\n * Function that determines whether an item is removable. When this function returns `false`, the remove\n * button is not rendered and the user can't remove the item.\n * By default, all items are removable.\n */\n isItemRemovable?: AttributeEditorProps.IsItemRemovableFunction<T>;\n\n /**\n * Determines whether the add button is disabled.\n */\n disableAddButton?: boolean;\n\n /**\n * Defines the editor configuration. Each object in the array represents one form field in the row.\n * * `label` (ReactNode) - Text label for the form field.\n * * `info` (ReactNode) - Info link for the form field.\n * * `errorText` ((item, itemIndex) => ReactNode) - Error message text to display as a control validation message.\n * It renders the form field as invalid if the returned value is not `null` or `undefined`.\n * * `constraintText` ((item, itemIndex) => ReactNode) - Text to display as a constraint message below the field.\n * * `control` ((item, itemIndex) => ReactNode) - A control to use as the input for the field.\n *\n * A maximum of four fields are supported.\n */\n definition: ReadonlyArray<AttributeEditorProps.FieldDefinition<T>>;\n\n /**\n * Called when add button is clicked.\n */\n onAddButtonClick?: NonCancelableEventHandler;\n\n /**\n * Called when remove button is clicked.\n * The event `detail` contains the index of the corresponding item.\n */\n onRemoveButtonClick?: NonCancelableEventHandler<AttributeEditorProps.RemoveButtonClickDetail>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n */\n i18nStrings?: AttributeEditorProps.I18nStrings<T>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["attribute-editor/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface AttributeEditorForwardRefType {\n <T>(props: AttributeEditorProps<T> & { ref?: React.Ref<AttributeEditorProps.Ref> }): JSX.Element;\n}\n\nexport namespace AttributeEditorProps {\n export interface IsItemRemovableFunction<T> {\n (item: T): boolean;\n }\n\n export type FieldRenderable<T> = (item: T, itemIndex: number) => React.ReactNode;\n export interface FieldDefinition<T> {\n label?: React.ReactNode;\n info?: React.ReactNode;\n control?: FieldRenderable<T> | React.ReactNode;\n errorText?: FieldRenderable<T> | React.ReactNode;\n constraintText?: FieldRenderable<T> | React.ReactNode;\n }\n\n export interface RemoveButtonClickDetail {\n itemIndex: number;\n }\n\n export interface Ref {\n /**\n * Focuses the 'remove' button for the given row index.\n */\n focusRemoveButton(itemIndex: number): void;\n /**\n * Focuses the 'add' button. Use this, for example, after a user removes the last row.\n */\n focusAddButton(): void;\n }\n\n export interface I18nStrings<T = any> {\n errorIconAriaLabel?: string;\n itemRemovedAriaLive?: string;\n removeButtonAriaLabel?: (item: T) => string;\n }\n}\n\nexport interface AttributeEditorProps<T> extends BaseComponentProps {\n /**\n * Displayed when there are no items to display.\n */\n empty?: React.ReactNode;\n\n /**\n * Displayed below the add button. Use it for additional information related to the attribute editor.\n */\n additionalInfo?: React.ReactNode;\n\n /**\n * Specifies the text that's displayed in the add button.\n */\n addButtonText: string;\n\n /**\n * Specifies the text that's displayed in the remove button.\n */\n removeButtonText?: string;\n\n /**\n * Specifies the items that serve as the data source for all rows.\n * The display of a row is handled by the `definition` property.\n */\n items?: ReadonlyArray<T>;\n\n /**\n * Function that determines whether an item is removable. When this function returns `false`, the remove\n * button is not rendered and the user can't remove the item.\n * By default, all items are removable.\n */\n isItemRemovable?: AttributeEditorProps.IsItemRemovableFunction<T>;\n\n /**\n * Determines whether the add button is disabled.\n */\n disableAddButton?: boolean;\n\n /**\n * Defines the editor configuration. Each object in the array represents one form field in the row.\n * * `label` (ReactNode) - Text label for the form field.\n * * `info` (ReactNode) - Info link for the form field.\n * * `errorText` ((item, itemIndex) => ReactNode) - Error message text to display as a control validation message.\n * It renders the form field as invalid if the returned value is not `null` or `undefined`.\n * * `constraintText` ((item, itemIndex) => ReactNode) - Text to display as a constraint message below the field.\n * * `control` ((item, itemIndex) => ReactNode) - A control to use as the input for the field.\n *\n * A maximum of four fields are supported.\n */\n definition: ReadonlyArray<AttributeEditorProps.FieldDefinition<T>>;\n\n /**\n * Called when add button is clicked.\n */\n onAddButtonClick?: NonCancelableEventHandler;\n\n /**\n * Called when remove button is clicked.\n * The event `detail` contains the index of the corresponding item.\n */\n onRemoveButtonClick?: NonCancelableEventHandler<AttributeEditorProps.RemoveButtonClickDetail>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: AttributeEditorProps.I18nStrings<T>;\n}\n"]}
|
|
@@ -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_1mkws_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1mkws_1",
|
|
6
|
+
"root": "awsui_root_n4qlp_1mkws_119",
|
|
7
|
+
"empty": "awsui_empty_n4qlp_1mkws_93",
|
|
8
|
+
"row": "awsui_row_n4qlp_1mkws_139",
|
|
9
|
+
"row-control": "awsui_row-control_n4qlp_1mkws_143",
|
|
10
|
+
"field": "awsui_field_n4qlp_1mkws_147",
|
|
11
|
+
"add-button": "awsui_add-button_n4qlp_1mkws_151",
|
|
12
|
+
"remove-button": "awsui_remove-button_n4qlp_1mkws_155",
|
|
13
|
+
"button-container-haslabel": "awsui_button-container-haslabel_n4qlp_1mkws_159",
|
|
14
|
+
"button-container-nolabel": "awsui_button-container-nolabel_n4qlp_1mkws_163",
|
|
15
|
+
"divider": "awsui_divider_n4qlp_1mkws_167",
|
|
16
|
+
"additional-info": "awsui_additional-info_n4qlp_1mkws_171",
|
|
17
|
+
"right-align": "awsui_right-align_n4qlp_1mkws_217"
|
|
18
18
|
};
|
|
19
19
|
|