@cloudscape-design/components-themeable 3.0.739 → 3.0.740
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/lib/internal/manifest.json +1 -1
- package/lib/internal/template/alert/styles.css.js +25 -25
- package/lib/internal/template/alert/styles.scoped.css +131 -43
- package/lib/internal/template/alert/styles.selectors.js +25 -25
- package/lib/internal/template/anchor-navigation/styles.css.js +8 -8
- package/lib/internal/template/anchor-navigation/styles.scoped.css +106 -18
- package/lib/internal/template/anchor-navigation/styles.selectors.js +8 -8
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +122 -34
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/content-wrapper/styles.css.js +3 -3
- package/lib/internal/template/app-layout/content-wrapper/styles.scoped.css +56 -8
- package/lib/internal/template/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/drawer/styles.css.js +13 -13
- package/lib/internal/template/app-layout/drawer/styles.scoped.css +109 -21
- package/lib/internal/template/app-layout/drawer/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/lib/internal/template/app-layout/mobile-toolbar/styles.scoped.css +58 -10
- package/lib/internal/template/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/lib/internal/template/app-layout/split-panel/styles.css.js +2 -2
- package/lib/internal/template/app-layout/split-panel/styles.scoped.css +50 -6
- package/lib/internal/template/app-layout/split-panel/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/styles.css.js +16 -16
- package/lib/internal/template/app-layout/styles.scoped.css +69 -21
- package/lib/internal/template/app-layout/styles.selectors.js +16 -16
- package/lib/internal/template/app-layout/toggles/styles.css.js +2 -2
- package/lib/internal/template/app-layout/toggles/styles.scoped.css +92 -8
- package/lib/internal/template/app-layout/toggles/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +82 -82
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +216 -171
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +82 -82
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +92 -8
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +60 -12
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +76 -28
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +47 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +61 -17
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +66 -22
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
- package/lib/internal/template/area-chart/styles.css.js +6 -6
- package/lib/internal/template/area-chart/styles.scoped.css +99 -15
- package/lib/internal/template/area-chart/styles.selectors.js +6 -6
- package/lib/internal/template/attribute-editor/styles.css.js +14 -14
- package/lib/internal/template/attribute-editor/styles.scoped.css +76 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +14 -14
- package/lib/internal/template/badge/styles.css.js +5 -5
- package/lib/internal/template/badge/styles.scoped.css +51 -7
- package/lib/internal/template/badge/styles.selectors.js +5 -5
- package/lib/internal/template/box/styles.css.js +191 -191
- package/lib/internal/template/box/styles.scoped.css +306 -241
- package/lib/internal/template/box/styles.selectors.js +191 -191
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +63 -19
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
- package/lib/internal/template/breadcrumb-group/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/styles.scoped.css +58 -14
- package/lib/internal/template/breadcrumb-group/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +20 -20
- package/lib/internal/template/button/styles.scoped.css +204 -156
- package/lib/internal/template/button/styles.selectors.js +20 -20
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +14 -14
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +70 -28
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +12 -12
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +60 -16
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +12 -12
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.scoped.css +51 -7
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/lib/internal/template/button-dropdown/styles.css.js +16 -16
- package/lib/internal/template/button-dropdown/styles.scoped.css +70 -26
- package/lib/internal/template/button-dropdown/styles.selectors.js +16 -16
- package/lib/internal/template/button-group/styles.css.js +4 -4
- package/lib/internal/template/button-group/styles.scoped.css +86 -6
- package/lib/internal/template/button-group/styles.selectors.js +4 -4
- package/lib/internal/template/calendar/styles.css.js +21 -21
- package/lib/internal/template/calendar/styles.scoped.css +95 -47
- package/lib/internal/template/calendar/styles.selectors.js +21 -21
- package/lib/internal/template/cards/styles.css.js +39 -39
- package/lib/internal/template/cards/styles.scoped.css +108 -58
- package/lib/internal/template/cards/styles.selectors.js +39 -39
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +51 -7
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/resizable-box/styles.css.js +3 -3
- package/lib/internal/template/code-editor/resizable-box/styles.scoped.css +55 -11
- package/lib/internal/template/code-editor/resizable-box/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/styles.css.js +33 -33
- package/lib/internal/template/code-editor/styles.scoped.css +239 -187
- package/lib/internal/template/code-editor/styles.selectors.js +33 -33
- package/lib/internal/template/collection-preferences/content-display/styles.css.js +11 -11
- package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +107 -19
- package/lib/internal/template/collection-preferences/content-display/styles.selectors.js +11 -11
- package/lib/internal/template/collection-preferences/styles.css.js +37 -37
- package/lib/internal/template/collection-preferences/styles.scoped.css +224 -48
- package/lib/internal/template/collection-preferences/styles.selectors.js +37 -37
- package/lib/internal/template/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/lib/internal/template/column-layout/flexible-column-layout/styles.scoped.css +87 -7
- package/lib/internal/template/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/lib/internal/template/column-layout/styles.css.js +13 -13
- package/lib/internal/template/column-layout/styles.scoped.css +125 -45
- package/lib/internal/template/column-layout/styles.selectors.js +13 -13
- package/lib/internal/template/container/styles.css.js +30 -30
- package/lib/internal/template/container/styles.scoped.css +140 -56
- package/lib/internal/template/container/styles.selectors.js +30 -30
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +62 -18
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/date-picker/styles.css.js +7 -7
- package/lib/internal/template/date-picker/styles.scoped.css +55 -11
- package/lib/internal/template/date-picker/styles.selectors.js +7 -7
- package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +28 -28
- package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +89 -45
- package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +28 -28
- package/lib/internal/template/date-range-picker/relative-range/styles.css.js +9 -9
- package/lib/internal/template/date-range-picker/relative-range/styles.scoped.css +59 -15
- package/lib/internal/template/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/lib/internal/template/date-range-picker/styles.css.js +39 -39
- package/lib/internal/template/date-range-picker/styles.scoped.css +100 -52
- package/lib/internal/template/date-range-picker/styles.selectors.js +39 -39
- package/lib/internal/template/drawer/styles.css.js +4 -4
- package/lib/internal/template/drawer/styles.scoped.css +92 -12
- package/lib/internal/template/drawer/styles.selectors.js +4 -4
- package/lib/internal/template/expandable-section/styles.css.js +32 -32
- package/lib/internal/template/expandable-section/styles.scoped.css +121 -69
- package/lib/internal/template/expandable-section/styles.selectors.js +32 -32
- package/lib/internal/template/file-upload/dropzone/styles.css.js +2 -2
- package/lib/internal/template/file-upload/dropzone/styles.scoped.css +84 -4
- package/lib/internal/template/file-upload/dropzone/styles.selectors.js +2 -2
- package/lib/internal/template/file-upload/file-input/styles.css.js +4 -4
- package/lib/internal/template/file-upload/file-input/styles.scoped.css +93 -9
- package/lib/internal/template/file-upload/file-input/styles.selectors.js +4 -4
- package/lib/internal/template/flashbar/styles.css.js +47 -47
- package/lib/internal/template/flashbar/styles.scoped.css +240 -244
- package/lib/internal/template/flashbar/styles.selectors.js +47 -47
- package/lib/internal/template/form/styles.css.js +8 -8
- package/lib/internal/template/form/styles.scoped.css +54 -10
- package/lib/internal/template/form/styles.selectors.js +8 -8
- package/lib/internal/template/form-field/styles.css.js +24 -24
- package/lib/internal/template/form-field/styles.scoped.css +84 -40
- package/lib/internal/template/form-field/styles.selectors.js +24 -24
- package/lib/internal/template/grid/styles.css.js +53 -53
- package/lib/internal/template/grid/styles.scoped.css +100 -56
- package/lib/internal/template/grid/styles.selectors.js +53 -53
- package/lib/internal/template/header/styles.css.js +34 -34
- package/lib/internal/template/header/styles.scoped.css +132 -52
- package/lib/internal/template/header/styles.selectors.js +34 -34
- package/lib/internal/template/help-panel/styles.css.js +5 -5
- package/lib/internal/template/help-panel/styles.scoped.css +149 -69
- package/lib/internal/template/help-panel/styles.selectors.js +5 -5
- package/lib/internal/template/hotspot/styles.css.js +7 -7
- package/lib/internal/template/hotspot/styles.scoped.css +89 -9
- package/lib/internal/template/hotspot/styles.selectors.js +7 -7
- package/lib/internal/template/i18n/messages-types.d.ts +5 -0
- package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
- package/lib/internal/template/i18n/messages-types.js.map +1 -1
- package/lib/internal/template/icon/styles.css.js +38 -38
- package/lib/internal/template/icon/styles.scoped.css +168 -84
- package/lib/internal/template/icon/styles.selectors.js +38 -38
- package/lib/internal/template/input/styles.css.js +13 -13
- package/lib/internal/template/input/styles.scoped.css +82 -46
- package/lib/internal/template/input/styles.selectors.js +13 -13
- package/lib/internal/template/internal/base-component/styles.scoped.css +9 -9
- package/lib/internal/template/internal/components/abstract-switch/styles.css.js +13 -13
- package/lib/internal/template/internal/components/abstract-switch/styles.scoped.css +66 -22
- package/lib/internal/template/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +11 -11
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +84 -36
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +11 -11
- package/lib/internal/template/internal/components/chart-filter/styles.css.js +3 -3
- package/lib/internal/template/internal/components/chart-filter/styles.scoped.css +49 -5
- package/lib/internal/template/internal/components/chart-filter/styles.selectors.js +3 -3
- package/lib/internal/template/internal/components/chart-legend/styles.css.js +6 -6
- package/lib/internal/template/internal/components/chart-legend/styles.scoped.css +67 -19
- package/lib/internal/template/internal/components/chart-legend/styles.selectors.js +6 -6
- package/lib/internal/template/internal/components/chart-plot/styles.css.js +5 -5
- package/lib/internal/template/internal/components/chart-plot/styles.scoped.css +51 -7
- package/lib/internal/template/internal/components/chart-plot/styles.selectors.js +5 -5
- package/lib/internal/template/internal/components/chart-popover/styles.css.js +3 -3
- package/lib/internal/template/internal/components/chart-popover/styles.scoped.css +49 -5
- package/lib/internal/template/internal/components/chart-popover/styles.selectors.js +3 -3
- package/lib/internal/template/internal/components/chart-series-details/styles.css.js +20 -20
- package/lib/internal/template/internal/components/chart-series-details/styles.scoped.css +89 -37
- package/lib/internal/template/internal/components/chart-series-details/styles.selectors.js +20 -20
- package/lib/internal/template/internal/components/chart-series-marker/styles.css.js +5 -5
- package/lib/internal/template/internal/components/chart-series-marker/styles.scoped.css +53 -9
- package/lib/internal/template/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/lib/internal/template/internal/components/chart-wrapper/styles.css.js +9 -9
- package/lib/internal/template/internal/components/chart-wrapper/styles.scoped.css +91 -11
- package/lib/internal/template/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/lib/internal/template/internal/components/checkbox-icon/styles.css.js +9 -9
- package/lib/internal/template/internal/components/checkbox-icon/styles.scoped.css +55 -11
- package/lib/internal/template/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
- package/lib/internal/template/internal/components/dropdown/styles.scoped.css +89 -41
- package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/internal/components/dropdown-footer/styles.css.js +3 -3
- package/lib/internal/template/internal/components/dropdown-footer/styles.scoped.css +49 -5
- package/lib/internal/template/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/lib/internal/template/internal/components/dropdown-status/styles.css.js +2 -2
- package/lib/internal/template/internal/components/dropdown-status/styles.scoped.css +48 -4
- package/lib/internal/template/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/lib/internal/template/internal/components/handle/styles.css.js +2 -2
- package/lib/internal/template/internal/components/handle/styles.scoped.css +52 -8
- package/lib/internal/template/internal/components/handle/styles.selectors.js +2 -2
- package/lib/internal/template/internal/components/menu-dropdown/styles.css.js +7 -7
- package/lib/internal/template/internal/components/menu-dropdown/styles.scoped.css +59 -15
- package/lib/internal/template/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/option/styles.css.js +17 -17
- package/lib/internal/template/internal/components/option/styles.scoped.css +79 -31
- package/lib/internal/template/internal/components/option/styles.selectors.js +17 -17
- package/lib/internal/template/internal/components/options-list/styles.css.js +2 -2
- package/lib/internal/template/internal/components/options-list/styles.scoped.css +48 -4
- package/lib/internal/template/internal/components/options-list/styles.selectors.js +2 -2
- package/lib/internal/template/internal/components/panel-resize-handle/styles.css.js +5 -5
- package/lib/internal/template/internal/components/panel-resize-handle/styles.scoped.css +56 -12
- package/lib/internal/template/internal/components/panel-resize-handle/styles.selectors.js +5 -5
- package/lib/internal/template/internal/components/screenreader-only/styles.css.js +1 -1
- package/lib/internal/template/internal/components/screenreader-only/styles.scoped.css +47 -3
- package/lib/internal/template/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +16 -16
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +78 -40
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +16 -16
- package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +106 -22
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/key-value-pairs/styles.css.js +8 -8
- package/lib/internal/template/key-value-pairs/styles.scoped.css +55 -11
- package/lib/internal/template/key-value-pairs/styles.selectors.js +8 -8
- package/lib/internal/template/link/styles.css.js +20 -20
- package/lib/internal/template/link/styles.scoped.css +117 -73
- package/lib/internal/template/link/styles.selectors.js +20 -20
- package/lib/internal/template/mixed-line-bar-chart/styles.css.js +11 -11
- package/lib/internal/template/mixed-line-bar-chart/styles.scoped.css +107 -23
- package/lib/internal/template/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/lib/internal/template/modal/styles.css.js +23 -23
- package/lib/internal/template/modal/styles.scoped.css +95 -43
- package/lib/internal/template/modal/styles.selectors.js +23 -23
- package/lib/internal/template/multiselect/styles.css.js +2 -2
- package/lib/internal/template/multiselect/styles.scoped.css +48 -4
- package/lib/internal/template/multiselect/styles.selectors.js +2 -2
- package/lib/internal/template/pagination/styles.css.js +9 -9
- package/lib/internal/template/pagination/styles.scoped.css +69 -25
- package/lib/internal/template/pagination/styles.selectors.js +9 -9
- package/lib/internal/template/pie-chart/styles.css.js +27 -27
- package/lib/internal/template/pie-chart/styles.scoped.css +104 -52
- package/lib/internal/template/pie-chart/styles.selectors.js +27 -27
- package/lib/internal/template/popover/styles.css.js +52 -52
- package/lib/internal/template/popover/styles.scoped.css +297 -77
- package/lib/internal/template/popover/styles.selectors.js +52 -52
- package/lib/internal/template/progress-bar/styles.css.js +19 -19
- package/lib/internal/template/progress-bar/styles.scoped.css +195 -35
- package/lib/internal/template/progress-bar/styles.selectors.js +19 -19
- package/lib/internal/template/prompt-input/styles.css.js +8 -8
- package/lib/internal/template/prompt-input/styles.scoped.css +70 -30
- package/lib/internal/template/prompt-input/styles.selectors.js +8 -8
- package/lib/internal/template/property-filter/filtering-token/styles.css.js +18 -18
- package/lib/internal/template/property-filter/filtering-token/styles.scoped.css +89 -41
- package/lib/internal/template/property-filter/filtering-token/styles.selectors.js +18 -18
- package/lib/internal/template/property-filter/i18n-utils.d.ts +8 -3
- package/lib/internal/template/property-filter/i18n-utils.d.ts.map +1 -1
- package/lib/internal/template/property-filter/i18n-utils.js +10 -2
- package/lib/internal/template/property-filter/i18n-utils.js.map +1 -1
- package/lib/internal/template/property-filter/interfaces.d.ts +1 -0
- package/lib/internal/template/property-filter/interfaces.d.ts.map +1 -1
- package/lib/internal/template/property-filter/interfaces.js.map +1 -1
- package/lib/internal/template/property-filter/internal.d.ts.map +1 -1
- package/lib/internal/template/property-filter/internal.js +4 -2
- package/lib/internal/template/property-filter/internal.js.map +1 -1
- package/lib/internal/template/property-filter/styles.css.js +38 -38
- package/lib/internal/template/property-filter/styles.scoped.css +84 -40
- package/lib/internal/template/property-filter/styles.selectors.js +38 -38
- package/lib/internal/template/property-filter/token.js +1 -1
- package/lib/internal/template/property-filter/token.js.map +1 -1
- package/lib/internal/template/radio-group/styles.css.js +10 -10
- package/lib/internal/template/radio-group/styles.scoped.css +62 -18
- package/lib/internal/template/radio-group/styles.selectors.js +10 -10
- package/lib/internal/template/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/lib/internal/template/s3-resource-selector/s3-in-context/styles.scoped.css +9 -11
- package/lib/internal/template/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/lib/internal/template/s3-resource-selector/s3-modal/styles.css.js +3 -3
- package/lib/internal/template/s3-resource-selector/s3-modal/styles.scoped.css +85 -5
- package/lib/internal/template/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
- package/lib/internal/template/segmented-control/styles.css.js +15 -15
- package/lib/internal/template/segmented-control/styles.scoped.css +90 -38
- package/lib/internal/template/segmented-control/styles.selectors.js +15 -15
- package/lib/internal/template/select/parts/styles.css.js +21 -21
- package/lib/internal/template/select/parts/styles.scoped.css +68 -24
- package/lib/internal/template/select/parts/styles.selectors.js +21 -21
- package/lib/internal/template/select/styles.css.js +1 -1
- package/lib/internal/template/select/styles.scoped.css +47 -3
- package/lib/internal/template/select/styles.selectors.js +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +29 -29
- package/lib/internal/template/side-navigation/styles.scoped.css +87 -43
- package/lib/internal/template/side-navigation/styles.selectors.js +29 -29
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +126 -78
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/space-between/styles.css.js +23 -23
- package/lib/internal/template/space-between/styles.scoped.css +70 -26
- package/lib/internal/template/space-between/styles.selectors.js +23 -23
- package/lib/internal/template/spinner/styles.css.js +13 -13
- package/lib/internal/template/spinner/styles.scoped.css +69 -21
- package/lib/internal/template/spinner/styles.selectors.js +13 -13
- package/lib/internal/template/split-panel/icons/styles.css.js +22 -22
- package/lib/internal/template/split-panel/icons/styles.scoped.css +70 -26
- package/lib/internal/template/split-panel/icons/styles.selectors.js +22 -22
- package/lib/internal/template/split-panel/styles.css.js +27 -27
- package/lib/internal/template/split-panel/styles.scoped.css +142 -50
- package/lib/internal/template/split-panel/styles.selectors.js +27 -27
- package/lib/internal/template/status-indicator/styles.css.js +23 -23
- package/lib/internal/template/status-indicator/styles.scoped.css +75 -31
- package/lib/internal/template/status-indicator/styles.selectors.js +23 -23
- package/lib/internal/template/table/body-cell/styles.css.js +47 -47
- package/lib/internal/template/table/body-cell/styles.scoped.css +398 -360
- package/lib/internal/template/table/body-cell/styles.selectors.js +47 -47
- package/lib/internal/template/table/expandable-rows/styles.css.js +3 -3
- package/lib/internal/template/table/expandable-rows/styles.scoped.css +65 -17
- package/lib/internal/template/table/expandable-rows/styles.selectors.js +3 -3
- package/lib/internal/template/table/header-cell/styles.css.js +26 -26
- package/lib/internal/template/table/header-cell/styles.scoped.css +115 -67
- package/lib/internal/template/table/header-cell/styles.selectors.js +26 -26
- package/lib/internal/template/table/resizer/styles.css.js +8 -8
- package/lib/internal/template/table/resizer/styles.scoped.css +60 -16
- package/lib/internal/template/table/resizer/styles.selectors.js +8 -8
- package/lib/internal/template/table/selection/styles.css.js +3 -3
- package/lib/internal/template/table/selection/styles.scoped.css +49 -5
- package/lib/internal/template/table/selection/styles.selectors.js +3 -3
- package/lib/internal/template/table/sticky-scrollbar/styles.css.js +6 -6
- package/lib/internal/template/table/sticky-scrollbar/styles.scoped.css +89 -9
- package/lib/internal/template/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/lib/internal/template/table/styles.css.js +34 -34
- package/lib/internal/template/table/styles.scoped.css +91 -43
- package/lib/internal/template/table/styles.selectors.js +34 -34
- package/lib/internal/template/tabs/styles.css.js +28 -28
- package/lib/internal/template/tabs/styles.scoped.css +139 -51
- package/lib/internal/template/tabs/styles.selectors.js +28 -28
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +56 -12
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +107 -63
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/text-filter/styles.css.js +3 -3
- package/lib/internal/template/text-filter/styles.scoped.css +49 -5
- package/lib/internal/template/text-filter/styles.selectors.js +3 -3
- package/lib/internal/template/textarea/styles.css.js +5 -5
- package/lib/internal/template/textarea/styles.scoped.css +62 -22
- package/lib/internal/template/textarea/styles.selectors.js +5 -5
- package/lib/internal/template/tiles/styles.css.js +30 -30
- package/lib/internal/template/tiles/styles.scoped.css +159 -75
- package/lib/internal/template/tiles/styles.selectors.js +30 -30
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +63 -19
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/token-group/styles.css.js +10 -10
- package/lib/internal/template/token-group/styles.scoped.css +72 -24
- package/lib/internal/template/token-group/styles.selectors.js +10 -10
- package/lib/internal/template/top-navigation/1.0-beta/styles.css.js +25 -25
- package/lib/internal/template/top-navigation/1.0-beta/styles.scoped.css +88 -44
- package/lib/internal/template/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/lib/internal/template/top-navigation/styles.css.js +47 -47
- package/lib/internal/template/top-navigation/styles.scoped.css +118 -70
- package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +103 -23
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +119 -31
- package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/lib/internal/template/tutorial-panel/styles.css.js +1 -1
- package/lib/internal/template/tutorial-panel/styles.scoped.css +83 -3
- package/lib/internal/template/tutorial-panel/styles.selectors.js +1 -1
- package/lib/internal/template/wizard/styles.css.js +30 -30
- package/lib/internal/template/wizard/styles.scoped.css +104 -60
- package/lib/internal/template/wizard/styles.selectors.js +30 -30
- package/package.json +1 -1
|
@@ -2,6 +2,51 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
+
/* stylelint-disable */
|
|
6
|
+
/*
|
|
7
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
8
|
+
SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
*/
|
|
10
|
+
/*
|
|
11
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
12
|
+
SPDX-License-Identifier: Apache-2.0
|
|
13
|
+
*/
|
|
14
|
+
/*
|
|
15
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
16
|
+
SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
*/
|
|
18
|
+
/*
|
|
19
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
20
|
+
SPDX-License-Identifier: Apache-2.0
|
|
21
|
+
*/
|
|
22
|
+
/*
|
|
23
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
24
|
+
SPDX-License-Identifier: Apache-2.0
|
|
25
|
+
*/
|
|
26
|
+
/*
|
|
27
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
28
|
+
SPDX-License-Identifier: Apache-2.0
|
|
29
|
+
*/
|
|
30
|
+
/*
|
|
31
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
32
|
+
SPDX-License-Identifier: Apache-2.0
|
|
33
|
+
*/
|
|
34
|
+
/*
|
|
35
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
36
|
+
SPDX-License-Identifier: Apache-2.0
|
|
37
|
+
*/
|
|
38
|
+
/*
|
|
39
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
40
|
+
SPDX-License-Identifier: Apache-2.0
|
|
41
|
+
*/
|
|
42
|
+
/*
|
|
43
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
44
|
+
SPDX-License-Identifier: Apache-2.0
|
|
45
|
+
*/
|
|
46
|
+
/*
|
|
47
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
48
|
+
SPDX-License-Identifier: Apache-2.0
|
|
49
|
+
*/
|
|
5
50
|
/*
|
|
6
51
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
52
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -84,8 +129,6 @@
|
|
|
84
129
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
85
130
|
SPDX-License-Identifier: Apache-2.0
|
|
86
131
|
*/
|
|
87
|
-
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
88
|
-
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
89
132
|
/*
|
|
90
133
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
134
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -94,30 +137,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
137
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
138
|
SPDX-License-Identifier: Apache-2.0
|
|
96
139
|
*/
|
|
97
|
-
/*
|
|
98
|
-
.
|
|
140
|
+
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
141
|
+
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
142
|
+
.awsui_root_55fkh_c80t8_142:not(#\9) {
|
|
99
143
|
position: relative;
|
|
100
144
|
}
|
|
101
|
-
.
|
|
145
|
+
.awsui_root_55fkh_c80t8_142 > .awsui_button_55fkh_c80t8_145:not(#\9) {
|
|
102
146
|
position: absolute;
|
|
103
147
|
inset-inline-end: var(--space-static-xxs-z6w5bq, 4px);
|
|
104
148
|
inset-block-end: 0;
|
|
105
149
|
}
|
|
106
|
-
body[data-awsui-focus-visible=true] .
|
|
150
|
+
body[data-awsui-focus-visible=true] .awsui_root_55fkh_c80t8_142 > .awsui_button_55fkh_c80t8_145 > .awsui_action-button_55fkh_c80t8_150:not(#\9):focus {
|
|
107
151
|
position: relative;
|
|
108
152
|
}
|
|
109
|
-
body[data-awsui-focus-visible=true] .
|
|
153
|
+
body[data-awsui-focus-visible=true] .awsui_root_55fkh_c80t8_142 > .awsui_button_55fkh_c80t8_145 > .awsui_action-button_55fkh_c80t8_150:not(#\9):focus {
|
|
110
154
|
outline: 2px dotted transparent;
|
|
111
155
|
outline-offset: calc(calc((var(--space-xxxs-z28114, 2px)) - 1px) - 1px);
|
|
112
156
|
}
|
|
113
|
-
body[data-awsui-focus-visible=true] .
|
|
157
|
+
body[data-awsui-focus-visible=true] .awsui_root_55fkh_c80t8_142 > .awsui_button_55fkh_c80t8_145 > .awsui_action-button_55fkh_c80t8_150:not(#\9):focus::before {
|
|
114
158
|
content: " ";
|
|
115
159
|
display: block;
|
|
116
160
|
position: absolute;
|
|
117
161
|
inset-inline-start: calc(-1 * calc((var(--space-xxxs-z28114, 2px)) - 1px));
|
|
118
|
-
inset-block-start: calc(-1 * calc(
|
|
162
|
+
inset-block-start: calc(-1 * calc(-1 * var(--space-xxxs-z28114, 2px) - 1px));
|
|
119
163
|
inline-size: calc(100% + calc((var(--space-xxxs-z28114, 2px)) - 1px) + calc((var(--space-xxxs-z28114, 2px)) - 1px));
|
|
120
|
-
block-size: calc(100% + calc(
|
|
164
|
+
block-size: calc(100% + calc(-1 * var(--space-xxxs-z28114, 2px) - 1px) + calc(-1 * var(--space-xxxs-z28114, 2px) - 1px));
|
|
121
165
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-a78bgq, 2px);
|
|
122
166
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-a78bgq, 2px);
|
|
123
167
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-a78bgq, 2px);
|
|
@@ -125,7 +169,7 @@ body[data-awsui-focus-visible=true] .awsui_root_55fkh_1ndnv_98 > .awsui_button_5
|
|
|
125
169
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
126
170
|
}
|
|
127
171
|
|
|
128
|
-
.
|
|
172
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9) {
|
|
129
173
|
border-collapse: separate;
|
|
130
174
|
border-spacing: 0;
|
|
131
175
|
box-sizing: border-box;
|
|
@@ -179,21 +223,21 @@ body[data-awsui-focus-visible=true] .awsui_root_55fkh_1ndnv_98 > .awsui_button_5
|
|
|
179
223
|
font-size: var(--font-size-body-m-pa3mqb, 14px);
|
|
180
224
|
line-height: var(--line-height-body-m-2zx78l, 22px);
|
|
181
225
|
}
|
|
182
|
-
.
|
|
226
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-readonly_55fkh_c80t8_225:not(#\9) {
|
|
183
227
|
background-color: var(--color-background-input-default-w7mbz6, #ffffff);
|
|
184
228
|
border-block: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-disabled-v8bsvq, #eaeded);
|
|
185
229
|
border-inline: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-disabled-v8bsvq, #eaeded);
|
|
186
230
|
}
|
|
187
|
-
.
|
|
231
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9)::placeholder {
|
|
188
232
|
color: var(--color-text-input-placeholder-epedqe, #687078);
|
|
189
233
|
font-style: italic;
|
|
190
234
|
opacity: 1;
|
|
191
235
|
}
|
|
192
|
-
.
|
|
236
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):-ms-input-placeholder {
|
|
193
237
|
color: var(--color-text-input-placeholder-epedqe, #687078);
|
|
194
238
|
font-style: italic;
|
|
195
239
|
}
|
|
196
|
-
.
|
|
240
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):focus {
|
|
197
241
|
outline: 2px dotted transparent;
|
|
198
242
|
border-block: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-focused-v6z9fd, #0073bb);
|
|
199
243
|
border-inline: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-focused-v6z9fd, #0073bb);
|
|
@@ -203,10 +247,10 @@ body[data-awsui-focus-visible=true] .awsui_root_55fkh_1ndnv_98 > .awsui_button_5
|
|
|
203
247
|
border-end-end-radius: var(--border-radius-input-hy50dp, 2px);
|
|
204
248
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0k725q, 1px) var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
205
249
|
}
|
|
206
|
-
.
|
|
250
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):invalid {
|
|
207
251
|
box-shadow: none;
|
|
208
252
|
}
|
|
209
|
-
.
|
|
253
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):disabled {
|
|
210
254
|
background-color: var(--color-background-input-disabled-zfoobi, #eaeded);
|
|
211
255
|
border-block: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-disabled-v8bsvq, #eaeded);
|
|
212
256
|
border-inline: var(--border-field-width-yoy972, 1px) solid var(--color-border-input-disabled-v8bsvq, #eaeded);
|
|
@@ -214,35 +258,31 @@ body[data-awsui-focus-visible=true] .awsui_root_55fkh_1ndnv_98 > .awsui_button_5
|
|
|
214
258
|
cursor: auto;
|
|
215
259
|
cursor: default;
|
|
216
260
|
}
|
|
217
|
-
.
|
|
261
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):disabled::placeholder {
|
|
218
262
|
color: var(--color-text-input-placeholder-disabled-ovndcz, #687078);
|
|
219
263
|
opacity: 1;
|
|
220
264
|
}
|
|
221
|
-
.
|
|
265
|
+
.awsui_textarea_55fkh_c80t8_172:not(#\9):disabled:-ms-input-placeholder {
|
|
222
266
|
color: var(--color-text-input-placeholder-disabled-ovndcz, #687078);
|
|
223
267
|
}
|
|
224
|
-
.
|
|
268
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-invalid_55fkh_c80t8_267:not(#\9) {
|
|
225
269
|
color: var(--color-text-status-error-ofc4yr, #d13212);
|
|
226
270
|
border-color: var(--color-text-status-error-ofc4yr, #d13212);
|
|
227
|
-
padding-inline-start: calc(
|
|
228
|
-
var(--space-field-horizontal-cy5q05, 8px) - (var(--border-invalid-width-hp6noi, 4px) - var(--border-field-width-yoy972, 1px))
|
|
229
|
-
);
|
|
271
|
+
padding-inline-start: calc(var(--space-field-horizontal-cy5q05, 8px) - (var(--border-invalid-width-hp6noi, 4px) - var(--border-field-width-yoy972, 1px)));
|
|
230
272
|
border-inline-start-width: var(--border-invalid-width-hp6noi, 4px);
|
|
231
273
|
}
|
|
232
|
-
.
|
|
274
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-invalid_55fkh_c80t8_267:not(#\9):focus {
|
|
233
275
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-v3635w, 1px) var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
234
276
|
}
|
|
235
|
-
.
|
|
277
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-warning_55fkh_c80t8_276:not(#\9) {
|
|
236
278
|
color: var(--color-text-status-warning-azn00c, #906806);
|
|
237
279
|
border-color: var(--color-text-status-warning-azn00c, #906806);
|
|
238
|
-
padding-inline-start: calc(
|
|
239
|
-
var(--space-field-horizontal-cy5q05, 8px) - (var(--border-invalid-width-hp6noi, 4px) - var(--border-field-width-yoy972, 1px))
|
|
240
|
-
);
|
|
280
|
+
padding-inline-start: calc(var(--space-field-horizontal-cy5q05, 8px) - (var(--border-invalid-width-hp6noi, 4px) - var(--border-field-width-yoy972, 1px)));
|
|
241
281
|
border-inline-start-width: var(--border-invalid-width-hp6noi, 4px);
|
|
242
282
|
}
|
|
243
|
-
.
|
|
283
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-warning_55fkh_c80t8_276:not(#\9):focus {
|
|
244
284
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-v3635w, 1px) var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
245
285
|
}
|
|
246
|
-
.
|
|
286
|
+
.awsui_textarea_55fkh_c80t8_172.awsui_textarea-with-button_55fkh_c80t8_285:not(#\9) {
|
|
247
287
|
padding-inline-end: calc(var(--space-field-horizontal-cy5q05, 8px) + var(--space-static-xxs-z6w5bq, 4px) + var(--size-icon-normal-wflv4k, 16px));
|
|
248
288
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"button": "
|
|
7
|
-
"action-button": "awsui_action-
|
|
8
|
-
"textarea": "
|
|
9
|
-
"textarea-readonly": "awsui_textarea-
|
|
10
|
-
"textarea-invalid": "awsui_textarea-
|
|
11
|
-
"textarea-warning": "awsui_textarea-
|
|
12
|
-
"textarea-with-button": "awsui_textarea-with-
|
|
5
|
+
"root": "awsui_root_55fkh_c80t8_142",
|
|
6
|
+
"button": "awsui_button_55fkh_c80t8_145",
|
|
7
|
+
"action-button": "awsui_action-button_55fkh_c80t8_150",
|
|
8
|
+
"textarea": "awsui_textarea_55fkh_c80t8_172",
|
|
9
|
+
"textarea-readonly": "awsui_textarea-readonly_55fkh_c80t8_225",
|
|
10
|
+
"textarea-invalid": "awsui_textarea-invalid_55fkh_c80t8_267",
|
|
11
|
+
"textarea-warning": "awsui_textarea-warning_55fkh_c80t8_276",
|
|
12
|
+
"textarea-with-button": "awsui_textarea-with-button_55fkh_c80t8_285"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"inner-root": "awsui_inner-
|
|
6
|
-
"has-groups": "awsui_has-
|
|
7
|
-
"compact-mode": "awsui_compact-
|
|
8
|
-
"token": "
|
|
9
|
-
"inner-token": "awsui_inner-
|
|
10
|
-
"grouped": "
|
|
11
|
-
"list": "
|
|
12
|
-
"show-operation": "awsui_show-
|
|
13
|
-
"select": "
|
|
14
|
-
"inner-select": "awsui_inner-
|
|
15
|
-
"token-content": "awsui_token-
|
|
16
|
-
"token-content-grouped": "awsui_token-content-
|
|
17
|
-
"inner-token-content": "awsui_inner-token-
|
|
18
|
-
"edit-button": "awsui_edit-
|
|
19
|
-
"dismiss-button": "awsui_dismiss-
|
|
20
|
-
"inner-dismiss-button": "awsui_inner-dismiss-
|
|
21
|
-
"token-disabled": "awsui_token-
|
|
4
|
+
"root": "awsui_root_19bso_8ah63_149",
|
|
5
|
+
"inner-root": "awsui_inner-root_19bso_8ah63_150",
|
|
6
|
+
"has-groups": "awsui_has-groups_19bso_8ah63_186",
|
|
7
|
+
"compact-mode": "awsui_compact-mode_19bso_8ah63_190",
|
|
8
|
+
"token": "awsui_token_19bso_8ah63_195",
|
|
9
|
+
"inner-token": "awsui_inner-token_19bso_8ah63_196",
|
|
10
|
+
"grouped": "awsui_grouped_19bso_8ah63_209",
|
|
11
|
+
"list": "awsui_list_19bso_8ah63_214",
|
|
12
|
+
"show-operation": "awsui_show-operation_19bso_8ah63_225",
|
|
13
|
+
"select": "awsui_select_19bso_8ah63_231",
|
|
14
|
+
"inner-select": "awsui_inner-select_19bso_8ah63_232",
|
|
15
|
+
"token-content": "awsui_token-content_19bso_8ah63_236",
|
|
16
|
+
"token-content-grouped": "awsui_token-content-grouped_19bso_8ah63_242",
|
|
17
|
+
"inner-token-content": "awsui_inner-token-content_19bso_8ah63_247",
|
|
18
|
+
"edit-button": "awsui_edit-button_19bso_8ah63_252",
|
|
19
|
+
"dismiss-button": "awsui_dismiss-button_19bso_8ah63_253",
|
|
20
|
+
"inner-dismiss-button": "awsui_inner-dismiss-button_19bso_8ah63_254",
|
|
21
|
+
"token-disabled": "awsui_token-disabled_19bso_8ah63_312"
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -70,6 +70,50 @@
|
|
|
70
70
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
71
71
|
SPDX-License-Identifier: Apache-2.0
|
|
72
72
|
*/
|
|
73
|
+
/*
|
|
74
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
75
|
+
SPDX-License-Identifier: Apache-2.0
|
|
76
|
+
*/
|
|
77
|
+
/*
|
|
78
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
79
|
+
SPDX-License-Identifier: Apache-2.0
|
|
80
|
+
*/
|
|
81
|
+
/*
|
|
82
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
83
|
+
SPDX-License-Identifier: Apache-2.0
|
|
84
|
+
*/
|
|
85
|
+
/*
|
|
86
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
87
|
+
SPDX-License-Identifier: Apache-2.0
|
|
88
|
+
*/
|
|
89
|
+
/*
|
|
90
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
|
+
SPDX-License-Identifier: Apache-2.0
|
|
92
|
+
*/
|
|
93
|
+
/*
|
|
94
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
|
+
SPDX-License-Identifier: Apache-2.0
|
|
96
|
+
*/
|
|
97
|
+
/*
|
|
98
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
|
+
SPDX-License-Identifier: Apache-2.0
|
|
100
|
+
*/
|
|
101
|
+
/*
|
|
102
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
103
|
+
SPDX-License-Identifier: Apache-2.0
|
|
104
|
+
*/
|
|
105
|
+
/*
|
|
106
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
107
|
+
SPDX-License-Identifier: Apache-2.0
|
|
108
|
+
*/
|
|
109
|
+
/*
|
|
110
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
111
|
+
SPDX-License-Identifier: Apache-2.0
|
|
112
|
+
*/
|
|
113
|
+
/*
|
|
114
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
115
|
+
SPDX-License-Identifier: Apache-2.0
|
|
116
|
+
*/
|
|
73
117
|
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
74
118
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
75
119
|
/*
|
|
@@ -84,8 +128,6 @@
|
|
|
84
128
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
85
129
|
SPDX-License-Identifier: Apache-2.0
|
|
86
130
|
*/
|
|
87
|
-
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
88
|
-
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
89
131
|
/*
|
|
90
132
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
133
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -98,8 +140,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
98
140
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
141
|
SPDX-License-Identifier: Apache-2.0
|
|
100
142
|
*/
|
|
101
|
-
|
|
102
|
-
.
|
|
143
|
+
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
|
+
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
+
/*
|
|
146
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
|
+
SPDX-License-Identifier: Apache-2.0
|
|
148
|
+
*/
|
|
149
|
+
.awsui_root_19bso_8ah63_149:not(#\9),
|
|
150
|
+
.awsui_inner-root_19bso_8ah63_150:not(#\9) {
|
|
103
151
|
border-collapse: separate;
|
|
104
152
|
border-spacing: 0;
|
|
105
153
|
box-sizing: border-box;
|
|
@@ -136,17 +184,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
136
184
|
display: flex;
|
|
137
185
|
align-content: stretch;
|
|
138
186
|
}
|
|
139
|
-
.
|
|
140
|
-
.awsui_inner-
|
|
187
|
+
.awsui_root_19bso_8ah63_149.awsui_has-groups_19bso_8ah63_186:not(#\9),
|
|
188
|
+
.awsui_inner-root_19bso_8ah63_150.awsui_has-groups_19bso_8ah63_186:not(#\9) {
|
|
141
189
|
min-block-size: calc(2px + var(--size-vertical-input-ubbp77, 32px));
|
|
142
190
|
}
|
|
143
|
-
.
|
|
144
|
-
.awsui_inner-
|
|
191
|
+
.awsui_root_19bso_8ah63_149.awsui_has-groups_19bso_8ah63_186.awsui_compact-mode_19bso_8ah63_190:not(#\9),
|
|
192
|
+
.awsui_inner-root_19bso_8ah63_150.awsui_has-groups_19bso_8ah63_186.awsui_compact-mode_19bso_8ah63_190:not(#\9) {
|
|
145
193
|
min-block-size: calc(2px + 2 * var(--border-field-width-yoy972, 1px) + var(--size-vertical-input-ubbp77, 32px));
|
|
146
194
|
}
|
|
147
195
|
|
|
148
|
-
.
|
|
149
|
-
.awsui_inner-
|
|
196
|
+
.awsui_token_19bso_8ah63_195:not(#\9),
|
|
197
|
+
.awsui_inner-token_19bso_8ah63_196:not(#\9) {
|
|
150
198
|
border-block: var(--border-field-width-yoy972, 1px) solid var(--color-border-item-selected-20gejb, #0073bb);
|
|
151
199
|
border-inline: var(--border-field-width-yoy972, 1px) solid var(--color-border-item-selected-20gejb, #0073bb);
|
|
152
200
|
display: flex;
|
|
@@ -159,12 +207,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
207
|
color: var(--color-text-body-default-ffdwgg, #16191f);
|
|
160
208
|
box-sizing: border-box;
|
|
161
209
|
}
|
|
162
|
-
.
|
|
163
|
-
.awsui_inner-
|
|
210
|
+
.awsui_token_19bso_8ah63_195.awsui_grouped_19bso_8ah63_209:not(#\9),
|
|
211
|
+
.awsui_inner-token_19bso_8ah63_196.awsui_grouped_19bso_8ah63_209:not(#\9) {
|
|
164
212
|
justify-content: space-between;
|
|
165
213
|
}
|
|
166
214
|
|
|
167
|
-
.
|
|
215
|
+
.awsui_list_19bso_8ah63_214:not(#\9) {
|
|
168
216
|
list-style: none;
|
|
169
217
|
margin-block: 0;
|
|
170
218
|
margin-inline: 0;
|
|
@@ -175,36 +223,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
175
223
|
gap: var(--space-xs-xf5ch3, 8px);
|
|
176
224
|
}
|
|
177
225
|
|
|
178
|
-
.awsui_show-
|
|
226
|
+
.awsui_show-operation_19bso_8ah63_225:not(#\9) {
|
|
179
227
|
border-inline-start: none;
|
|
180
228
|
border-start-start-radius: 0;
|
|
181
229
|
border-end-start-radius: 0;
|
|
182
230
|
}
|
|
183
231
|
|
|
184
|
-
.
|
|
185
|
-
.awsui_inner-
|
|
232
|
+
.awsui_select_19bso_8ah63_231:not(#\9),
|
|
233
|
+
.awsui_inner-select_19bso_8ah63_232:not(#\9) {
|
|
186
234
|
/* used in test-utils */
|
|
187
235
|
}
|
|
188
236
|
|
|
189
|
-
.awsui_token-
|
|
237
|
+
.awsui_token-content_19bso_8ah63_236:not(#\9) {
|
|
190
238
|
display: flex;
|
|
191
239
|
align-items: center;
|
|
192
240
|
padding-block: var(--space-scaled-xxs-t7ij38, 4px);
|
|
193
241
|
padding-inline: var(--space-field-horizontal-cy5q05, 8px);
|
|
194
242
|
}
|
|
195
|
-
.awsui_token-content-
|
|
243
|
+
.awsui_token-content-grouped_19bso_8ah63_242:not(#\9) {
|
|
196
244
|
padding-block: 2px;
|
|
197
245
|
padding-inline: var(--space-field-horizontal-cy5q05, 8px);
|
|
198
246
|
}
|
|
199
247
|
|
|
200
|
-
.awsui_inner-token-
|
|
248
|
+
.awsui_inner-token-content_19bso_8ah63_247:not(#\9) {
|
|
201
249
|
padding-block: 1px;
|
|
202
250
|
padding-inline: var(--space-field-horizontal-cy5q05, 8px);
|
|
203
251
|
}
|
|
204
252
|
|
|
205
|
-
.awsui_edit-
|
|
206
|
-
.awsui_dismiss-
|
|
207
|
-
.awsui_inner-dismiss-
|
|
253
|
+
.awsui_edit-button_19bso_8ah63_252:not(#\9),
|
|
254
|
+
.awsui_dismiss-button_19bso_8ah63_253:not(#\9),
|
|
255
|
+
.awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9) {
|
|
208
256
|
inline-size: 30px;
|
|
209
257
|
margin-block: 0;
|
|
210
258
|
margin-inline: 0;
|
|
@@ -216,20 +264,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
216
264
|
background-color: transparent;
|
|
217
265
|
border-inline-start: var(--border-field-width-yoy972, 1px) solid var(--color-border-item-selected-20gejb, #0073bb);
|
|
218
266
|
}
|
|
219
|
-
body[data-awsui-focus-visible=true] .awsui_edit-
|
|
220
|
-
body[data-awsui-focus-visible=true] .awsui_dismiss-
|
|
221
|
-
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-
|
|
267
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_8ah63_252:not(#\9):focus,
|
|
268
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_8ah63_253:not(#\9):focus,
|
|
269
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):focus {
|
|
222
270
|
position: relative;
|
|
223
271
|
}
|
|
224
|
-
body[data-awsui-focus-visible=true] .awsui_edit-
|
|
225
|
-
body[data-awsui-focus-visible=true] .awsui_dismiss-
|
|
226
|
-
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-
|
|
272
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_8ah63_252:not(#\9):focus,
|
|
273
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_8ah63_253:not(#\9):focus,
|
|
274
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):focus {
|
|
227
275
|
outline: 2px dotted transparent;
|
|
228
276
|
outline-offset: calc(var(--space-filtering-token-dismiss-button-focus-outline-gutter-wguy2m, 0px) - 1px);
|
|
229
277
|
}
|
|
230
|
-
body[data-awsui-focus-visible=true] .awsui_edit-
|
|
231
|
-
body[data-awsui-focus-visible=true] .awsui_dismiss-
|
|
232
|
-
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-
|
|
278
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_8ah63_252:not(#\9):focus::before,
|
|
279
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_8ah63_253:not(#\9):focus::before,
|
|
280
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):focus::before {
|
|
233
281
|
content: " ";
|
|
234
282
|
display: block;
|
|
235
283
|
position: absolute;
|
|
@@ -243,26 +291,26 @@ body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_1ptku_206:
|
|
|
243
291
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-a78bgq, 2px);
|
|
244
292
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-v8nq2m, #0073bb);
|
|
245
293
|
}
|
|
246
|
-
.awsui_edit-
|
|
247
|
-
.awsui_dismiss-
|
|
248
|
-
.awsui_inner-dismiss-
|
|
294
|
+
.awsui_edit-button_19bso_8ah63_252:not(#\9):focus,
|
|
295
|
+
.awsui_dismiss-button_19bso_8ah63_253:not(#\9):focus,
|
|
296
|
+
.awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):focus {
|
|
249
297
|
outline: none;
|
|
250
298
|
text-decoration: none;
|
|
251
299
|
}
|
|
252
|
-
.awsui_edit-
|
|
253
|
-
.awsui_dismiss-
|
|
254
|
-
.awsui_inner-dismiss-
|
|
300
|
+
.awsui_edit-button_19bso_8ah63_252:not(#\9):hover,
|
|
301
|
+
.awsui_dismiss-button_19bso_8ah63_253:not(#\9):hover,
|
|
302
|
+
.awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):hover {
|
|
255
303
|
cursor: pointer;
|
|
256
304
|
color: var(--color-text-interactive-hover-7who0l, #16191f);
|
|
257
305
|
}
|
|
258
|
-
.awsui_edit-
|
|
259
|
-
.awsui_dismiss-
|
|
260
|
-
.awsui_inner-dismiss-
|
|
306
|
+
.awsui_edit-button_19bso_8ah63_252:not(#\9):disabled,
|
|
307
|
+
.awsui_dismiss-button_19bso_8ah63_253:not(#\9):disabled,
|
|
308
|
+
.awsui_inner-dismiss-button_19bso_8ah63_254:not(#\9):disabled {
|
|
261
309
|
color: var(--color-text-interactive-disabled-e23z4j, #aab7b8);
|
|
262
310
|
border-color: var(--color-border-control-disabled-4hz3mo, #d5dbdb);
|
|
263
311
|
}
|
|
264
312
|
|
|
265
|
-
.awsui_token-
|
|
313
|
+
.awsui_token-disabled_19bso_8ah63_312:not(#\9) {
|
|
266
314
|
border-color: var(--color-border-control-disabled-4hz3mo, #d5dbdb);
|
|
267
315
|
background-color: var(--color-background-container-content-il2pe5, #ffffff);
|
|
268
316
|
color: var(--color-text-disabled-govsss, #aab7b8);
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"inner-root": "awsui_inner-
|
|
7
|
-
"has-groups": "awsui_has-
|
|
8
|
-
"compact-mode": "awsui_compact-
|
|
9
|
-
"token": "
|
|
10
|
-
"inner-token": "awsui_inner-
|
|
11
|
-
"grouped": "
|
|
12
|
-
"list": "
|
|
13
|
-
"show-operation": "awsui_show-
|
|
14
|
-
"select": "
|
|
15
|
-
"inner-select": "awsui_inner-
|
|
16
|
-
"token-content": "awsui_token-
|
|
17
|
-
"token-content-grouped": "awsui_token-content-
|
|
18
|
-
"inner-token-content": "awsui_inner-token-
|
|
19
|
-
"edit-button": "awsui_edit-
|
|
20
|
-
"dismiss-button": "awsui_dismiss-
|
|
21
|
-
"inner-dismiss-button": "awsui_inner-dismiss-
|
|
22
|
-
"token-disabled": "awsui_token-
|
|
5
|
+
"root": "awsui_root_19bso_8ah63_149",
|
|
6
|
+
"inner-root": "awsui_inner-root_19bso_8ah63_150",
|
|
7
|
+
"has-groups": "awsui_has-groups_19bso_8ah63_186",
|
|
8
|
+
"compact-mode": "awsui_compact-mode_19bso_8ah63_190",
|
|
9
|
+
"token": "awsui_token_19bso_8ah63_195",
|
|
10
|
+
"inner-token": "awsui_inner-token_19bso_8ah63_196",
|
|
11
|
+
"grouped": "awsui_grouped_19bso_8ah63_209",
|
|
12
|
+
"list": "awsui_list_19bso_8ah63_214",
|
|
13
|
+
"show-operation": "awsui_show-operation_19bso_8ah63_225",
|
|
14
|
+
"select": "awsui_select_19bso_8ah63_231",
|
|
15
|
+
"inner-select": "awsui_inner-select_19bso_8ah63_232",
|
|
16
|
+
"token-content": "awsui_token-content_19bso_8ah63_236",
|
|
17
|
+
"token-content-grouped": "awsui_token-content-grouped_19bso_8ah63_242",
|
|
18
|
+
"inner-token-content": "awsui_inner-token-content_19bso_8ah63_247",
|
|
19
|
+
"edit-button": "awsui_edit-button_19bso_8ah63_252",
|
|
20
|
+
"dismiss-button": "awsui_dismiss-button_19bso_8ah63_253",
|
|
21
|
+
"inner-dismiss-button": "awsui_inner-dismiss-button_19bso_8ah63_254",
|
|
22
|
+
"token-disabled": "awsui_token-disabled_19bso_8ah63_312"
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { FormattedToken, I18nStrings, InternalToken } from './interfaces';
|
|
2
|
-
export declare function getI18nToken(token: FormattedToken
|
|
3
|
-
|
|
2
|
+
export declare function getI18nToken(token: FormattedToken & {
|
|
3
|
+
formattedTokenText?: string;
|
|
4
|
+
}): {
|
|
4
5
|
token__propertyKey: string;
|
|
5
6
|
token__propertyLabel: string;
|
|
7
|
+
token__operator: string;
|
|
6
8
|
token__value: string;
|
|
9
|
+
token__formattedText?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function getFormattedToken(token: InternalToken, i18nStrings: I18nStrings): FormattedToken & {
|
|
12
|
+
formattedTokenText: string;
|
|
7
13
|
};
|
|
8
|
-
export declare function getFormattedToken(token: InternalToken, i18nStrings: I18nStrings): FormattedToken;
|
|
9
14
|
//# sourceMappingURL=i18n-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-utils.d.ts","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9F,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG;
|
|
1
|
+
{"version":3,"file":"i18n-utils.d.ts","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9F,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG;IAAE,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IACrF,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAQA;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,aAAa,EACpB,WAAW,EAAE,WAAW,GACvB,cAAc,GAAG;IAAE,kBAAkB,EAAE,MAAM,CAAA;CAAE,CAYjD"}
|
|
@@ -7,14 +7,22 @@ export function getI18nToken(token) {
|
|
|
7
7
|
token__propertyLabel: token.propertyLabel,
|
|
8
8
|
token__operator: getOperatorI18nString(token.operator),
|
|
9
9
|
token__value: token.value,
|
|
10
|
+
token__formattedText: token.formattedTokenText,
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
13
|
export function getFormattedToken(token, i18nStrings) {
|
|
13
|
-
var _a, _b, _c;
|
|
14
|
+
var _a, _b, _c, _d;
|
|
14
15
|
const valueFormatter = (_a = token.property) === null || _a === void 0 ? void 0 : _a.getValueFormatter(token.operator);
|
|
15
16
|
const propertyLabel = token.property ? token.property.propertyLabel : (_b = i18nStrings.allPropertiesLabel) !== null && _b !== void 0 ? _b : '';
|
|
16
17
|
const tokenValue = valueFormatter ? valueFormatter(token.value) : token.value;
|
|
17
|
-
|
|
18
|
+
const formatted = {
|
|
19
|
+
propertyKey: (_c = token.property) === null || _c === void 0 ? void 0 : _c.propertyKey,
|
|
20
|
+
propertyLabel,
|
|
21
|
+
operator: token.operator,
|
|
22
|
+
value: tokenValue,
|
|
23
|
+
};
|
|
24
|
+
const getText = (_d = i18nStrings.formatToken) !== null && _d !== void 0 ? _d : (token => `${token.propertyLabel} ${token.operator} ${token.value}`);
|
|
25
|
+
return Object.assign(Object.assign({}, formatted), { formattedTokenText: getText(formatted) });
|
|
18
26
|
}
|
|
19
27
|
function getOperatorI18nString(operator) {
|
|
20
28
|
switch (operator) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-utils.js","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,MAAM,UAAU,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"i18n-utils.js","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,MAAM,UAAU,YAAY,CAAC,KAAuD;;IAOlF,OAAO;QACL,kBAAkB,EAAE,MAAA,KAAK,CAAC,WAAW,mCAAI,EAAE;QAC3C,oBAAoB,EAAE,KAAK,CAAC,aAAa;QACzC,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ,CAAC;QACtD,YAAY,EAAE,KAAK,CAAC,KAAK;QACzB,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;KAC/C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,KAAoB,EACpB,WAAwB;;IAExB,MAAM,cAAc,GAAG,MAAA,KAAK,CAAC,QAAQ,0CAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzE,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAA,WAAW,CAAC,kBAAkB,mCAAI,EAAE,CAAC;IAC3G,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;IAC9E,MAAM,SAAS,GAAG;QAChB,WAAW,EAAE,MAAA,KAAK,CAAC,QAAQ,0CAAE,WAAW;QACxC,aAAa;QACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,UAAU;KAClB,CAAC;IACF,MAAM,OAAO,GAAG,MAAA,WAAW,CAAC,WAAW,mCAAI,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;IAChH,uCAAY,SAAS,KAAE,kBAAkB,EAAE,OAAO,CAAC,SAAS,CAAC,IAAG;AAClE,CAAC;AAED,SAAS,qBAAqB,CAAC,QAA4B;IACzD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,QAAQ,CAAC;QAClB,KAAK,IAAI;YACP,OAAO,YAAY,CAAC;QACtB,KAAK,GAAG;YACN,OAAO,cAAc,CAAC;QACxB,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC;QAC9B,KAAK,GAAG;YACN,OAAO,WAAW,CAAC;QACrB,KAAK,IAAI;YACP,OAAO,iBAAiB,CAAC;QAC3B,KAAK,GAAG;YACN,OAAO,UAAU,CAAC;QACpB,KAAK,IAAI;YACP,OAAO,cAAc,CAAC;QACxB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,IAAI;YACP,OAAO,iBAAiB,CAAC;QAC3B,iEAAiE;QACjE,sFAAsF;QACtF,0BAA0B;QAC1B;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ComparisonOperator, FormattedToken, I18nStrings, InternalToken } from './interfaces';\n\nexport function getI18nToken(token: FormattedToken & { formattedTokenText?: string }): {\n token__propertyKey: string;\n token__propertyLabel: string;\n token__operator: string;\n token__value: string;\n token__formattedText?: string;\n} {\n return {\n token__propertyKey: token.propertyKey ?? '',\n token__propertyLabel: token.propertyLabel,\n token__operator: getOperatorI18nString(token.operator),\n token__value: token.value,\n token__formattedText: token.formattedTokenText,\n };\n}\n\nexport function getFormattedToken(\n token: InternalToken,\n i18nStrings: I18nStrings\n): FormattedToken & { formattedTokenText: string } {\n const valueFormatter = token.property?.getValueFormatter(token.operator);\n const propertyLabel = token.property ? token.property.propertyLabel : i18nStrings.allPropertiesLabel ?? '';\n const tokenValue = valueFormatter ? valueFormatter(token.value) : token.value;\n const formatted = {\n propertyKey: token.property?.propertyKey,\n propertyLabel,\n operator: token.operator,\n value: tokenValue,\n };\n const getText = i18nStrings.formatToken ?? (token => `${token.propertyLabel} ${token.operator} ${token.value}`);\n return { ...formatted, formattedTokenText: getText(formatted) };\n}\n\nfunction getOperatorI18nString(operator: ComparisonOperator): string {\n switch (operator) {\n case '=':\n return 'equals';\n case '!=':\n return 'not_equals';\n case '>':\n return 'greater_than';\n case '>=':\n return 'greater_than_equal';\n case '<':\n return 'less_than';\n case '<=':\n return 'less_than_equal';\n case ':':\n return 'contains';\n case '!:':\n return 'not_contains';\n case '^':\n return 'starts_with';\n case '!^':\n return 'not_starts_with';\n // The line is ignored from coverage because it is not reachable.\n // The purpose of it is to prevent TS errors if ComparisonOperator type gets extended.\n /* istanbul ignore next */\n default:\n return operator;\n }\n}\n"]}
|
|
@@ -248,6 +248,7 @@ export declare namespace PropertyFilterProps {
|
|
|
248
248
|
cancelActionText?: string;
|
|
249
249
|
applyActionText?: string;
|
|
250
250
|
allPropertiesLabel?: string;
|
|
251
|
+
formatToken?: (token: FormattedToken) => string;
|
|
251
252
|
tokenLimitShowMore?: string;
|
|
252
253
|
tokenLimitShowFewer?: string;
|
|
253
254
|
clearFiltersText?: string;
|