@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content": "
|
|
5
|
-
"description": "
|
|
6
|
-
"label": "
|
|
7
|
-
"outline": "
|
|
8
|
-
"show-outline": "awsui_show-
|
|
9
|
-
"native-input": "awsui_native-
|
|
10
|
-
"wrapper": "
|
|
11
|
-
"label-wrapper": "awsui_label-
|
|
12
|
-
"empty-content": "awsui_empty-
|
|
13
|
-
"description-bottom-padding": "awsui_description-bottom-
|
|
14
|
-
"label-disabled": "awsui_label-
|
|
15
|
-
"description-disabled": "awsui_description-
|
|
16
|
-
"control": "
|
|
4
|
+
"content": "awsui_content_1wepg_1ahh8_93",
|
|
5
|
+
"description": "awsui_description_1wepg_1ahh8_94",
|
|
6
|
+
"label": "awsui_label_1wepg_1ahh8_95",
|
|
7
|
+
"outline": "awsui_outline_1wepg_1ahh8_99",
|
|
8
|
+
"show-outline": "awsui_show-outline_1wepg_1ahh8_102",
|
|
9
|
+
"native-input": "awsui_native-input_1wepg_1ahh8_106",
|
|
10
|
+
"wrapper": "awsui_wrapper_1wepg_1ahh8_110",
|
|
11
|
+
"label-wrapper": "awsui_label-wrapper_1wepg_1ahh8_117",
|
|
12
|
+
"empty-content": "awsui_empty-content_1wepg_1ahh8_129",
|
|
13
|
+
"description-bottom-padding": "awsui_description-bottom-padding_1wepg_1ahh8_139",
|
|
14
|
+
"label-disabled": "awsui_label-disabled_1wepg_1ahh8_147",
|
|
15
|
+
"description-disabled": "awsui_description-disabled_1wepg_1ahh8_148",
|
|
16
|
+
"control": "awsui_control_1wepg_1ahh8_153"
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -90,77 +90,77 @@ 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
|
-
.
|
|
95
|
-
.
|
|
93
|
+
.awsui_content_1wepg_1ahh8_93:not(#\9),
|
|
94
|
+
.awsui_description_1wepg_1ahh8_94:not(#\9),
|
|
95
|
+
.awsui_label_1wepg_1ahh8_95:not(#\9) {
|
|
96
96
|
display: block;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.
|
|
99
|
+
.awsui_outline_1wepg_1ahh8_99:not(#\9) {
|
|
100
100
|
display: none;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.awsui_outline_1wepg_1ahh8_99.awsui_show-outline_1wepg_1ahh8_102:not(#\9) {
|
|
103
103
|
display: block;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
body[data-awsui-focus-visible=true] .awsui_native-
|
|
106
|
+
body[data-awsui-focus-visible=true] .awsui_native-input_1wepg_1ahh8_106:not(#\9):focus + .awsui_outline_1wepg_1ahh8_99 {
|
|
107
107
|
display: block;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.
|
|
110
|
+
.awsui_wrapper_1wepg_1ahh8_110:not(#\9) {
|
|
111
111
|
min-width: 0;
|
|
112
112
|
-ms-word-break: break-all;
|
|
113
113
|
word-break: break-word;
|
|
114
114
|
display: flex;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.awsui_label-
|
|
117
|
+
.awsui_label-wrapper_1wepg_1ahh8_117:not(#\9) {
|
|
118
118
|
position: relative;
|
|
119
119
|
display: flex;
|
|
120
120
|
cursor: default;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.awsui_content_1wepg_1ahh8_93:not(#\9) {
|
|
124
124
|
min-width: 0;
|
|
125
125
|
-ms-word-break: break-all;
|
|
126
126
|
word-break: break-word;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.awsui_empty-
|
|
129
|
+
.awsui_empty-content_1wepg_1ahh8_129:not(#\9) {
|
|
130
130
|
width: 0px;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
134
|
-
color: var(--color-text-form-secondary-
|
|
135
|
-
font-size: var(--font-body-s-size-
|
|
136
|
-
line-height: var(--font-body-s-line-height-
|
|
137
|
-
letter-spacing: var(--font-body-s-letter-spacing-
|
|
133
|
+
.awsui_description_1wepg_1ahh8_94:not(#\9) {
|
|
134
|
+
color: var(--color-text-form-secondary-88dttc, #5f6b7a);
|
|
135
|
+
font-size: var(--font-body-s-size-6jmxer, 12px);
|
|
136
|
+
line-height: var(--font-body-s-line-height-ga8tt7, 16px);
|
|
137
|
+
letter-spacing: var(--font-body-s-letter-spacing-v8bwhi, 0.005em);
|
|
138
138
|
}
|
|
139
|
-
.awsui_description-bottom-
|
|
140
|
-
padding-bottom: var(--space-scaled-xxs-
|
|
139
|
+
.awsui_description-bottom-padding_1wepg_1ahh8_139:not(#\9) {
|
|
140
|
+
padding-bottom: var(--space-scaled-xxs-t2t62i, 4px);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
144
|
-
.
|
|
145
|
-
padding-left: var(--space-xs-
|
|
143
|
+
.awsui_label_1wepg_1ahh8_95:not(#\9),
|
|
144
|
+
.awsui_description_1wepg_1ahh8_94:not(#\9) {
|
|
145
|
+
padding-left: var(--space-xs-edba2s, 8px);
|
|
146
146
|
}
|
|
147
|
-
.awsui_label-
|
|
148
|
-
.awsui_description-
|
|
149
|
-
color: var(--color-text-control-disabled-
|
|
147
|
+
.awsui_label-disabled_1wepg_1ahh8_147:not(#\9),
|
|
148
|
+
.awsui_description-disabled_1wepg_1ahh8_148:not(#\9) {
|
|
149
|
+
color: var(--color-text-control-disabled-boqzde, #9ba7b6);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/* stylelint-disable selector-max-type */
|
|
153
|
-
.
|
|
153
|
+
.awsui_control_1wepg_1ahh8_153:not(#\9) {
|
|
154
154
|
position: relative;
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
.awsui_control_1wepg_1ahh8_153 > input:not(#\9), .awsui_control_1wepg_1ahh8_153 > svg:not(#\9), .awsui_control_1wepg_1ahh8_153 > .awsui_outline_1wepg_1ahh8_99:not(#\9) {
|
|
157
157
|
position: absolute;
|
|
158
158
|
width: 100%;
|
|
159
159
|
height: 100%;
|
|
160
160
|
top: 0;
|
|
161
161
|
left: 0;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.awsui_control_1wepg_1ahh8_153 > input:not(#\9) {
|
|
164
164
|
opacity: 0;
|
|
165
165
|
z-index: 1;
|
|
166
166
|
-webkit-user-select: none;
|
|
@@ -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
|
-
"content": "
|
|
6
|
-
"description": "
|
|
7
|
-
"label": "
|
|
8
|
-
"outline": "
|
|
9
|
-
"show-outline": "awsui_show-
|
|
10
|
-
"native-input": "awsui_native-
|
|
11
|
-
"wrapper": "
|
|
12
|
-
"label-wrapper": "awsui_label-
|
|
13
|
-
"empty-content": "awsui_empty-
|
|
14
|
-
"description-bottom-padding": "awsui_description-bottom-
|
|
15
|
-
"label-disabled": "awsui_label-
|
|
16
|
-
"description-disabled": "awsui_description-
|
|
17
|
-
"control": "
|
|
5
|
+
"content": "awsui_content_1wepg_1ahh8_93",
|
|
6
|
+
"description": "awsui_description_1wepg_1ahh8_94",
|
|
7
|
+
"label": "awsui_label_1wepg_1ahh8_95",
|
|
8
|
+
"outline": "awsui_outline_1wepg_1ahh8_99",
|
|
9
|
+
"show-outline": "awsui_show-outline_1wepg_1ahh8_102",
|
|
10
|
+
"native-input": "awsui_native-input_1wepg_1ahh8_106",
|
|
11
|
+
"wrapper": "awsui_wrapper_1wepg_1ahh8_110",
|
|
12
|
+
"label-wrapper": "awsui_label-wrapper_1wepg_1ahh8_117",
|
|
13
|
+
"empty-content": "awsui_empty-content_1wepg_1ahh8_129",
|
|
14
|
+
"description-bottom-padding": "awsui_description-bottom-padding_1wepg_1ahh8_139",
|
|
15
|
+
"label-disabled": "awsui_label-disabled_1wepg_1ahh8_147",
|
|
16
|
+
"description-disabled": "awsui_description-disabled_1wepg_1ahh8_148",
|
|
17
|
+
"control": "awsui_control_1wepg_1ahh8_153"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"button-trigger": "awsui_button-
|
|
5
|
-
"arrow": "
|
|
6
|
-
"has-caret": "awsui_has-
|
|
7
|
-
"placeholder": "
|
|
8
|
-
"pressed": "
|
|
9
|
-
"disabled": "
|
|
10
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
11
|
-
"read-only": "awsui_read-
|
|
12
|
-
"invalid": "
|
|
4
|
+
"button-trigger": "awsui_button-trigger_18eso_1gi75_97",
|
|
5
|
+
"arrow": "awsui_arrow_18eso_1gi75_97",
|
|
6
|
+
"has-caret": "awsui_has-caret_18eso_1gi75_137",
|
|
7
|
+
"placeholder": "awsui_placeholder_18eso_1gi75_140",
|
|
8
|
+
"pressed": "awsui_pressed_18eso_1gi75_153",
|
|
9
|
+
"disabled": "awsui_disabled_18eso_1gi75_156",
|
|
10
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_1gi75_165",
|
|
11
|
+
"read-only": "awsui_read-only_18eso_1gi75_171",
|
|
12
|
+
"invalid": "awsui_invalid_18eso_1gi75_188"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -94,16 +94,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.awsui_button-
|
|
98
|
-
transition: transform var(--motion-duration-rotate-180-
|
|
97
|
+
.awsui_button-trigger_18eso_1gi75_97 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
98
|
+
transition: transform var(--motion-duration-rotate-180-m9g4a9, 135ms) var(--motion-easing-rotate-180-h4cyjx, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
99
99
|
}
|
|
100
100
|
@media (prefers-reduced-motion: reduce) {
|
|
101
|
-
.awsui_button-
|
|
101
|
+
.awsui_button-trigger_18eso_1gi75_97 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
102
102
|
animation: none;
|
|
103
103
|
transition: none;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
.awsui-motion-disabled .awsui_button-
|
|
106
|
+
.awsui-motion-disabled .awsui_button-trigger_18eso_1gi75_97 > .awsui_arrow_18eso_1gi75_97:not(#\9), .awsui-mode-entering .awsui_button-trigger_18eso_1gi75_97 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
107
107
|
animation: none;
|
|
108
108
|
transition: none;
|
|
109
109
|
}
|
|
@@ -112,7 +112,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
112
112
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
113
113
|
SPDX-License-Identifier: Apache-2.0
|
|
114
114
|
*/
|
|
115
|
-
.awsui_button-
|
|
115
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9) {
|
|
116
116
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
117
117
|
border-collapse: separate;
|
|
118
118
|
border-spacing: 0;
|
|
@@ -142,11 +142,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
142
142
|
widows: 2;
|
|
143
143
|
word-spacing: normal;
|
|
144
144
|
box-sizing: border-box;
|
|
145
|
-
font-size: var(--font-body-m-size-
|
|
146
|
-
line-height: var(--font-body-m-line-height-
|
|
147
|
-
color: var(--color-text-body-default-
|
|
145
|
+
font-size: var(--font-body-m-size-7dign1, 14px);
|
|
146
|
+
line-height: var(--font-body-m-line-height-rfgrp9, 22px);
|
|
147
|
+
color: var(--color-text-body-default-mmvcvg, #000716);
|
|
148
148
|
font-weight: 400;
|
|
149
|
-
font-family: var(--font-family-base-
|
|
149
|
+
font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
150
150
|
-webkit-font-smoothing: auto;
|
|
151
151
|
-moz-osx-font-smoothing: auto;
|
|
152
152
|
position: relative;
|
|
@@ -154,95 +154,95 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
154
154
|
width: 100%;
|
|
155
155
|
justify-content: space-between;
|
|
156
156
|
align-items: center;
|
|
157
|
-
padding: var(--space-scaled-xxs-
|
|
158
|
-
background-color: var(--color-background-input-default-
|
|
159
|
-
border-radius: var(--border-radius-input-
|
|
160
|
-
border: var(--border-field-width-
|
|
161
|
-
min-height: var(--size-vertical-input-
|
|
157
|
+
padding: var(--space-scaled-xxs-t2t62i, 4px) var(--space-field-horizontal-8qo3uw, 12px);
|
|
158
|
+
background-color: var(--color-background-input-default-y2omd4, #ffffff);
|
|
159
|
+
border-radius: var(--border-radius-input-g1eef0, 8px);
|
|
160
|
+
border: var(--border-field-width-riro62, 2px) solid var(--color-border-input-default-zb6g42, #7d8998);
|
|
161
|
+
min-height: var(--size-vertical-input-u93i5u, 34px);
|
|
162
162
|
}
|
|
163
|
-
.awsui_button-
|
|
164
|
-
padding-right: var(--space-field-icon-offset-
|
|
163
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_has-caret_18eso_1gi75_137:not(#\9) {
|
|
164
|
+
padding-right: var(--space-field-icon-offset-o8qwwh, 36px);
|
|
165
165
|
}
|
|
166
|
-
.awsui_button-
|
|
167
|
-
color: var(--color-text-input-placeholder-
|
|
166
|
+
.awsui_button-trigger_18eso_1gi75_97 > .awsui_placeholder_18eso_1gi75_140:not(#\9) {
|
|
167
|
+
color: var(--color-text-input-placeholder-3y98yw, #5f6b7a);
|
|
168
168
|
font-style: italic;
|
|
169
169
|
}
|
|
170
|
-
.awsui_button-
|
|
170
|
+
.awsui_button-trigger_18eso_1gi75_97 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
171
171
|
position: absolute;
|
|
172
|
-
right: var(--space-field-horizontal-
|
|
173
|
-
top: calc(50% - var(--font-body-m-line-height-
|
|
174
|
-
color: var(--color-text-button-inline-icon-default-
|
|
172
|
+
right: var(--space-field-horizontal-8qo3uw, 12px);
|
|
173
|
+
top: calc(50% - var(--font-body-m-line-height-rfgrp9, 22px) / 2);
|
|
174
|
+
color: var(--color-text-button-inline-icon-default-6co2zx, #0972d3);
|
|
175
175
|
}
|
|
176
|
-
.awsui_button-
|
|
177
|
-
color: var(--color-text-button-inline-icon-hover-
|
|
176
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9):hover > .awsui_arrow_18eso_1gi75_97 {
|
|
177
|
+
color: var(--color-text-button-inline-icon-hover-4bo7j3, #033160);
|
|
178
178
|
}
|
|
179
|
-
.awsui_button-
|
|
179
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_pressed_18eso_1gi75_153 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
180
180
|
transform: rotate(-180deg);
|
|
181
181
|
}
|
|
182
|
-
.awsui_button-
|
|
183
|
-
background-color: var(--color-background-input-disabled-
|
|
184
|
-
border: var(--border-field-width-
|
|
185
|
-
color: var(--color-text-input-disabled-
|
|
182
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_disabled_18eso_1gi75_156:not(#\9) {
|
|
183
|
+
background-color: var(--color-background-input-disabled-nvrgh4, #e9ebed);
|
|
184
|
+
border: var(--border-field-width-riro62, 2px) solid var(--color-border-input-disabled-06dcc0, #e9ebed);
|
|
185
|
+
color: var(--color-text-input-disabled-dmotcr, #9ba7b6);
|
|
186
186
|
cursor: auto;
|
|
187
187
|
}
|
|
188
|
-
.awsui_button-
|
|
189
|
-
color: var(--color-text-button-inline-icon-disabled-
|
|
188
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_disabled_18eso_1gi75_156 > .awsui_arrow_18eso_1gi75_97:not(#\9) {
|
|
189
|
+
color: var(--color-text-button-inline-icon-disabled-ffek69, #9ba7b6);
|
|
190
190
|
}
|
|
191
|
-
.awsui_button-
|
|
192
|
-
border-color: var(--color-border-control-disabled-
|
|
191
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_disabled_18eso_1gi75_156.awsui_in-filtering-token_18eso_1gi75_165:not(#\9) {
|
|
192
|
+
border-color: var(--color-border-control-disabled-pixk7g, #d1d5db);
|
|
193
193
|
}
|
|
194
|
-
.awsui_button-
|
|
195
|
-
color: var(--color-text-input-placeholder-disabled-
|
|
194
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_disabled_18eso_1gi75_156 > .awsui_placeholder_18eso_1gi75_140:not(#\9) {
|
|
195
|
+
color: var(--color-text-input-placeholder-disabled-kxks79, #9ba7b6);
|
|
196
196
|
}
|
|
197
|
-
.awsui_button-
|
|
198
|
-
background-color: var(--color-background-input-default-
|
|
199
|
-
border: var(--border-field-width-
|
|
197
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_read-only_18eso_1gi75_171:not(#\9) {
|
|
198
|
+
background-color: var(--color-background-input-default-y2omd4, #ffffff);
|
|
199
|
+
border: var(--border-field-width-riro62, 2px) solid var(--color-border-input-disabled-06dcc0, #e9ebed);
|
|
200
200
|
}
|
|
201
|
-
.awsui_button-
|
|
201
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9):focus {
|
|
202
202
|
outline: none;
|
|
203
203
|
text-decoration: none;
|
|
204
204
|
}
|
|
205
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
205
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165):focus {
|
|
206
206
|
outline: 2px dotted transparent;
|
|
207
|
-
border: var(--border-field-width-
|
|
208
|
-
border-radius: var(--border-radius-input-
|
|
209
|
-
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-
|
|
207
|
+
border: var(--border-field-width-riro62, 2px) solid var(--color-border-item-focused-4t19h5, #0972d3);
|
|
208
|
+
border-radius: var(--border-radius-input-g1eef0, 8px);
|
|
209
|
+
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-cwek11, 0px) var(--color-border-item-focused-4t19h5, #0972d3);
|
|
210
210
|
}
|
|
211
|
-
.awsui_button-
|
|
211
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165):invalid {
|
|
212
212
|
box-shadow: none;
|
|
213
213
|
}
|
|
214
|
-
.awsui_button-
|
|
215
|
-
color: var(--color-text-status-error-
|
|
216
|
-
border-color: var(--color-text-status-error-
|
|
214
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165).awsui_invalid_18eso_1gi75_188, .awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165).awsui_invalid_18eso_1gi75_188:focus {
|
|
215
|
+
color: var(--color-text-status-error-p6dh5n, #d91515);
|
|
216
|
+
border-color: var(--color-text-status-error-p6dh5n, #d91515);
|
|
217
217
|
padding-left: calc(
|
|
218
|
-
var(--space-field-horizontal-
|
|
218
|
+
var(--space-field-horizontal-8qo3uw, 12px) - (var(--border-invalid-width-u1caet, 8px) - var(--border-field-width-riro62, 2px))
|
|
219
219
|
);
|
|
220
|
-
border-left-width: var(--border-invalid-width-
|
|
220
|
+
border-left-width: var(--border-invalid-width-u1caet, 8px);
|
|
221
221
|
}
|
|
222
|
-
.awsui_button-
|
|
223
|
-
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-
|
|
222
|
+
.awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165).awsui_invalid_18eso_1gi75_188:focus, .awsui_button-trigger_18eso_1gi75_97:not(#\9):not(.awsui_in-filtering-token_18eso_1gi75_165).awsui_invalid_18eso_1gi75_188:focus:focus {
|
|
223
|
+
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-yfz0fs, 2px) var(--color-border-item-focused-4t19h5, #0972d3);
|
|
224
224
|
}
|
|
225
|
-
.awsui_button-
|
|
226
|
-
border-color: var(--color-border-item-selected-
|
|
225
|
+
.awsui_button-trigger_18eso_1gi75_97.awsui_in-filtering-token_18eso_1gi75_165:not(#\9) {
|
|
226
|
+
border-color: var(--color-border-item-selected-xoo46x, #0972d3);
|
|
227
227
|
border-top-right-radius: 0;
|
|
228
228
|
border-bottom-right-radius: 0;
|
|
229
229
|
height: 100%;
|
|
230
230
|
}
|
|
231
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
231
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1gi75_97.awsui_in-filtering-token_18eso_1gi75_165:not(#\9):focus {
|
|
232
232
|
position: relative;
|
|
233
233
|
}
|
|
234
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
234
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1gi75_97.awsui_in-filtering-token_18eso_1gi75_165:not(#\9):focus {
|
|
235
235
|
outline: 2px dotted transparent;
|
|
236
|
-
outline-offset: calc(var(--space-filtering-token-operation-select-focus-outline-gutter-
|
|
236
|
+
outline-offset: calc(var(--space-filtering-token-operation-select-focus-outline-gutter-oe98c5, -5px) - 1px);
|
|
237
237
|
}
|
|
238
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
238
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1gi75_97.awsui_in-filtering-token_18eso_1gi75_165:not(#\9):focus::before {
|
|
239
239
|
content: " ";
|
|
240
240
|
display: block;
|
|
241
241
|
position: absolute;
|
|
242
|
-
left: calc(-1 * var(--space-filtering-token-operation-select-focus-outline-gutter-
|
|
243
|
-
top: calc(-1 * var(--space-filtering-token-operation-select-focus-outline-gutter-
|
|
244
|
-
width: calc(100% + 2 * var(--space-filtering-token-operation-select-focus-outline-gutter-
|
|
245
|
-
height: calc(100% + 2 * var(--space-filtering-token-operation-select-focus-outline-gutter-
|
|
246
|
-
border-radius: var(--border-radius-control-default-focus-ring-
|
|
247
|
-
box-shadow: 0 0 0 2px var(--color-border-item-focused-
|
|
242
|
+
left: calc(-1 * var(--space-filtering-token-operation-select-focus-outline-gutter-oe98c5, -5px));
|
|
243
|
+
top: calc(-1 * var(--space-filtering-token-operation-select-focus-outline-gutter-oe98c5, -5px));
|
|
244
|
+
width: calc(100% + 2 * var(--space-filtering-token-operation-select-focus-outline-gutter-oe98c5, -5px));
|
|
245
|
+
height: calc(100% + 2 * var(--space-filtering-token-operation-select-focus-outline-gutter-oe98c5, -5px));
|
|
246
|
+
border-radius: var(--border-radius-control-default-focus-ring-muizvi, 4px);
|
|
247
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-4t19h5, #0972d3);
|
|
248
248
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button-trigger": "awsui_button-
|
|
6
|
-
"arrow": "
|
|
7
|
-
"has-caret": "awsui_has-
|
|
8
|
-
"placeholder": "
|
|
9
|
-
"pressed": "
|
|
10
|
-
"disabled": "
|
|
11
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
12
|
-
"read-only": "awsui_read-
|
|
13
|
-
"invalid": "
|
|
5
|
+
"button-trigger": "awsui_button-trigger_18eso_1gi75_97",
|
|
6
|
+
"arrow": "awsui_arrow_18eso_1gi75_97",
|
|
7
|
+
"has-caret": "awsui_has-caret_18eso_1gi75_137",
|
|
8
|
+
"placeholder": "awsui_placeholder_18eso_1gi75_140",
|
|
9
|
+
"pressed": "awsui_pressed_18eso_1gi75_153",
|
|
10
|
+
"disabled": "awsui_disabled_18eso_1gi75_156",
|
|
11
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_1gi75_165",
|
|
12
|
+
"read-only": "awsui_read-only_18eso_1gi75_171",
|
|
13
|
+
"invalid": "awsui_invalid_18eso_1gi75_188"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -57,6 +57,7 @@ export interface CartesianChartProps<T extends ChartDataTypes, Series> extends B
|
|
|
57
57
|
ariaDescription?: string;
|
|
58
58
|
/**
|
|
59
59
|
* An object containing all the necessary localized strings required by the component.
|
|
60
|
+
* @i18n
|
|
60
61
|
*/
|
|
61
62
|
i18nStrings?: CartesianChartProps.I18nStrings<T>;
|
|
62
63
|
/**
|
|
@@ -114,14 +115,17 @@ export interface CartesianChartProps<T extends ChartDataTypes, Series> extends B
|
|
|
114
115
|
noMatch?: React.ReactNode;
|
|
115
116
|
/**
|
|
116
117
|
* Text that is displayed when the chart is loading, i.e. when `statusType` is set to `"loading"`.
|
|
118
|
+
* @i18n
|
|
117
119
|
*/
|
|
118
120
|
loadingText?: string;
|
|
119
121
|
/**
|
|
120
122
|
* Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `"error"`.
|
|
123
|
+
* @i18n
|
|
121
124
|
*/
|
|
122
125
|
errorText?: string;
|
|
123
126
|
/**
|
|
124
127
|
* Text for the recovery button that is displayed next to the error text.
|
|
128
|
+
* @i18n
|
|
125
129
|
**/
|
|
126
130
|
recoveryText?: string;
|
|
127
131
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,EAAE,MAAM,CAAE,SAAQ,kBAAkB;IAC/F;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAE9B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,CAAC,SAAS,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;IAElE;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n */\n i18nStrings?: CartesianChartProps.I18nStrings<T>;\n\n /**\n * An optional pixel value number that fixes the height of the chart area.\n * If not set explicitly, the component will use a default height that is defined internally.\n */\n height?: number;\n\n /**\n * Determines the maximum width the detail popover will be limited to.\n */\n detailPopoverSize?: 'small' | 'medium' | 'large';\n\n /**\n * When set to `true`, the legend beneath the chart is not displayed.\n * It is highly recommended to keep this set to `false`.\n */\n hideLegend?: boolean;\n\n /**\n * When set to `true`, the default filtering dropdown is not displayed.\n * It is still possible to render additional filters with the `additionalFilters` slot.\n */\n hideFilter?: boolean;\n\n /**\n * Additional filters that are added above the chart component.\n * Make sure to update the `data` property when any of your custom filters change the data to be displayed.\n */\n additionalFilters?: React.ReactNode;\n\n /**\n * The currently highlighted data series, usually through hovering over a series or the legend.\n * A value of `null` means no series is highlighted.\n *\n * - If you do not set this property, series are highlighted automatically when hovering over one of the triggers (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onHighlightChange` listener to update this property when a series should be highlighted (controlled behavior).\n */\n highlightedSeries?: Series | null;\n\n /**\n * An array of series objects that determines which of the data series are currently displayed, i.e. not filtered out.\n * - If you do not set this property, series are shown and hidden automatically when using the default filter component (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onFilterChange` listener to update this property when the visible series should change, or when one of your custom filters changes the number of visible series (controlled behavior).\n */\n visibleSeries?: ReadonlyArray<Series>;\n\n /**\n * Specifies the current status of loading data.\n * * `loading`: data fetching is in progress.\n * * `finished`: data has loaded successfully.\n * * `error`: an error occurred during fetch. You should provide user an option to recover.\n **/\n statusType?: 'loading' | 'finished' | 'error';\n\n /**\n * Content that is displayed when the data passed to the component is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Content that is displayed when there is no data to display due to the built-in filtering.\n */\n noMatch?: React.ReactNode;\n\n /**\n * Text that is displayed when the chart is loading, i.e. when `statusType` is set to `\"loading\"`.\n */\n loadingText?: string;\n\n /**\n * Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `\"error\"`.\n */\n errorText?: string;\n\n /**\n * Text for the recovery button that is displayed next to the error text.\n **/\n recoveryText?: string;\n\n /**\n * Called when the user clicks the recovery button that appears when there is an error state.\n * Use this to enable the user to retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n\n /**\n * Called when the values of the internal filter component changed.\n * This will **not** be called for any custom filter components you have defined in `additionalFilters`.\n */\n onFilterChange?: NonCancelableEventHandler<CartesianChartProps.FilterChangeDetail<Series>>;\n\n /**\n * Called when the highlighted series has changed because of user interaction.\n */\n onHighlightChange?: NonCancelableEventHandler<CartesianChartProps.HighlightChangeDetail<Series>>;\n}\n\nexport namespace CartesianChartProps {\n export interface FilterChangeDetail<Series> {\n visibleSeries: ReadonlyArray<Series>;\n }\n\n export interface HighlightChangeDetail<Series> {\n highlightedSeries: Series | null;\n }\n\n export interface TickFormatter<T> {\n (value: T): string;\n }\n\n export interface ValueFormatter<YType, XType = null> {\n (yValue: YType, xValue: XType): string;\n }\n\n export interface I18nStrings<T> {\n /** Visible label of the default filter */\n filterLabel?: string;\n\n /** Placeholder text of the default filter */\n filterPlaceholder?: string;\n\n /** ARIA label for the default filter which is appended to any option that is selected */\n filterSelectedAriaLabel?: string;\n\n /** ARIA label that is associated with the legend in case there is no visible `legendTitle` defined */\n legendAriaLabel?: string;\n\n /** ARIA label for details popover dismiss button */\n detailPopoverDismissAriaLabel?: string;\n\n /** Name of the ARIA role description of the chart, e.g. \"line chart\" */\n chartAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the x axis, e.g. \"x axis\" */\n xAxisAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the y axis, e.g. \"y axis\" */\n yAxisAriaRoleDescription?: string;\n\n /** Function to format the displayed label of an x axis tick. */\n xTickFormatter?: TickFormatter<T>;\n\n /** Function to format the displayed label of a y axis tick. */\n yTickFormatter?: TickFormatter<number>;\n }\n}\n\nexport type ChartDataTypes = number | string | Date;\n\nexport type ScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type XScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type YScaleType = 'linear' | 'log';\nexport type ScaleRange = [number, number];\n\nexport type ChartDomain<T extends ChartDataTypes> = T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\nexport type XDomain<T extends ChartDataTypes> = ChartDomain<T>;\nexport type YDomain = ChartDomain<number>;\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: CartesianChartProps.I18nStrings<T>;\n\n /**\n * An optional pixel value number that fixes the height of the chart area.\n * If not set explicitly, the component will use a default height that is defined internally.\n */\n height?: number;\n\n /**\n * Determines the maximum width the detail popover will be limited to.\n */\n detailPopoverSize?: 'small' | 'medium' | 'large';\n\n /**\n * When set to `true`, the legend beneath the chart is not displayed.\n * It is highly recommended to keep this set to `false`.\n */\n hideLegend?: boolean;\n\n /**\n * When set to `true`, the default filtering dropdown is not displayed.\n * It is still possible to render additional filters with the `additionalFilters` slot.\n */\n hideFilter?: boolean;\n\n /**\n * Additional filters that are added above the chart component.\n * Make sure to update the `data` property when any of your custom filters change the data to be displayed.\n */\n additionalFilters?: React.ReactNode;\n\n /**\n * The currently highlighted data series, usually through hovering over a series or the legend.\n * A value of `null` means no series is highlighted.\n *\n * - If you do not set this property, series are highlighted automatically when hovering over one of the triggers (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onHighlightChange` listener to update this property when a series should be highlighted (controlled behavior).\n */\n highlightedSeries?: Series | null;\n\n /**\n * An array of series objects that determines which of the data series are currently displayed, i.e. not filtered out.\n * - If you do not set this property, series are shown and hidden automatically when using the default filter component (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onFilterChange` listener to update this property when the visible series should change, or when one of your custom filters changes the number of visible series (controlled behavior).\n */\n visibleSeries?: ReadonlyArray<Series>;\n\n /**\n * Specifies the current status of loading data.\n * * `loading`: data fetching is in progress.\n * * `finished`: data has loaded successfully.\n * * `error`: an error occurred during fetch. You should provide user an option to recover.\n **/\n statusType?: 'loading' | 'finished' | 'error';\n\n /**\n * Content that is displayed when the data passed to the component is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Content that is displayed when there is no data to display due to the built-in filtering.\n */\n noMatch?: React.ReactNode;\n\n /**\n * Text that is displayed when the chart is loading, i.e. when `statusType` is set to `\"loading\"`.\n * @i18n\n */\n loadingText?: string;\n\n /**\n * Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `\"error\"`.\n * @i18n\n */\n errorText?: string;\n\n /**\n * Text for the recovery button that is displayed next to the error text.\n * @i18n\n **/\n recoveryText?: string;\n\n /**\n * Called when the user clicks the recovery button that appears when there is an error state.\n * Use this to enable the user to retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n\n /**\n * Called when the values of the internal filter component changed.\n * This will **not** be called for any custom filter components you have defined in `additionalFilters`.\n */\n onFilterChange?: NonCancelableEventHandler<CartesianChartProps.FilterChangeDetail<Series>>;\n\n /**\n * Called when the highlighted series has changed because of user interaction.\n */\n onHighlightChange?: NonCancelableEventHandler<CartesianChartProps.HighlightChangeDetail<Series>>;\n}\n\nexport namespace CartesianChartProps {\n export interface FilterChangeDetail<Series> {\n visibleSeries: ReadonlyArray<Series>;\n }\n\n export interface HighlightChangeDetail<Series> {\n highlightedSeries: Series | null;\n }\n\n export interface TickFormatter<T> {\n (value: T): string;\n }\n\n export interface ValueFormatter<YType, XType = null> {\n (yValue: YType, xValue: XType): string;\n }\n\n export interface I18nStrings<T> {\n /** Visible label of the default filter */\n filterLabel?: string;\n\n /** Placeholder text of the default filter */\n filterPlaceholder?: string;\n\n /** ARIA label for the default filter which is appended to any option that is selected */\n filterSelectedAriaLabel?: string;\n\n /** ARIA label that is associated with the legend in case there is no visible `legendTitle` defined */\n legendAriaLabel?: string;\n\n /** ARIA label for details popover dismiss button */\n detailPopoverDismissAriaLabel?: string;\n\n /** Name of the ARIA role description of the chart, e.g. \"line chart\" */\n chartAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the x axis, e.g. \"x axis\" */\n xAxisAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the y axis, e.g. \"y axis\" */\n yAxisAriaRoleDescription?: string;\n\n /** Function to format the displayed label of an x axis tick. */\n xTickFormatter?: TickFormatter<T>;\n\n /** Function to format the displayed label of a y axis tick. */\n yTickFormatter?: TickFormatter<number>;\n }\n}\n\nexport type ChartDataTypes = number | string | Date;\n\nexport type ScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type XScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type YScaleType = 'linear' | 'log';\nexport type ScaleRange = [number, number];\n\nexport type ChartDomain<T extends ChartDataTypes> = T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\nexport type XDomain<T extends ChartDataTypes> = ChartDomain<T>;\nexport type YDomain = ChartDomain<number>;\n"]}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"axis": "
|
|
5
|
-
"vertical-marker": "awsui_vertical-
|
|
6
|
-
"axis--emphasized": "awsui_axis--
|
|
7
|
-
"axis-label": "awsui_axis-
|
|
8
|
-
"axis-label--x": "awsui_axis-label--
|
|
9
|
-
"axis-label--y": "awsui_axis-label--
|
|
10
|
-
"grid": "
|
|
11
|
-
"ticks__line": "
|
|
12
|
-
"ticks__text": "
|
|
13
|
-
"ticks--y": "awsui_ticks--
|
|
14
|
-
"ticks--x": "awsui_ticks--
|
|
15
|
-
"ticks--bottom": "awsui_ticks--
|
|
16
|
-
"labels-left": "awsui_labels-
|
|
17
|
-
"ticks": "
|
|
18
|
-
"labels-left__label": "awsui_labels-
|
|
19
|
-
"labels-left--hidden": "awsui_labels-left--
|
|
20
|
-
"labels-bottom": "awsui_labels-
|
|
21
|
-
"vertical-marker-circle": "awsui_vertical-marker-
|
|
22
|
-
"vertical-marker-circle-active": "awsui_vertical-marker-circle-
|
|
23
|
-
"focus-outline": "awsui_focus-
|
|
24
|
-
"filter-container": "awsui_filter-
|
|
4
|
+
"axis": "awsui_axis_f0fot_1ucml_9",
|
|
5
|
+
"vertical-marker": "awsui_vertical-marker_f0fot_1ucml_10",
|
|
6
|
+
"axis--emphasized": "awsui_axis--emphasized_f0fot_1ucml_15",
|
|
7
|
+
"axis-label": "awsui_axis-label_f0fot_1ucml_19",
|
|
8
|
+
"axis-label--x": "awsui_axis-label--x_f0fot_1ucml_24",
|
|
9
|
+
"axis-label--y": "awsui_axis-label--y_f0fot_1ucml_25",
|
|
10
|
+
"grid": "awsui_grid_f0fot_1ucml_29",
|
|
11
|
+
"ticks__line": "awsui_ticks__line_f0fot_1ucml_34",
|
|
12
|
+
"ticks__text": "awsui_ticks__text_f0fot_1ucml_39",
|
|
13
|
+
"ticks--y": "awsui_ticks--y_f0fot_1ucml_44",
|
|
14
|
+
"ticks--x": "awsui_ticks--x_f0fot_1ucml_45",
|
|
15
|
+
"ticks--bottom": "awsui_ticks--bottom_f0fot_1ucml_49",
|
|
16
|
+
"labels-left": "awsui_labels-left_f0fot_1ucml_54",
|
|
17
|
+
"ticks": "awsui_ticks_f0fot_1ucml_34",
|
|
18
|
+
"labels-left__label": "awsui_labels-left__label_f0fot_1ucml_69",
|
|
19
|
+
"labels-left--hidden": "awsui_labels-left--hidden_f0fot_1ucml_73",
|
|
20
|
+
"labels-bottom": "awsui_labels-bottom_f0fot_1ucml_81",
|
|
21
|
+
"vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_1ucml_92",
|
|
22
|
+
"vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_1ucml_98",
|
|
23
|
+
"focus-outline": "awsui_focus-outline_f0fot_1ucml_103",
|
|
24
|
+
"filter-container": "awsui_filter-container_f0fot_1ucml_111"
|
|
25
25
|
};
|
|
26
26
|
|