@cloudscape-design/components 3.0.648 → 3.0.650
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/styles.css.js +25 -25
- package/alert/styles.scoped.css +39 -41
- package/alert/styles.selectors.js +25 -25
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +18 -20
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -32
- 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 +6 -8
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/index.js +2 -2
- package/app-layout/drawer/index.js.map +1 -1
- package/app-layout/drawer/styles.css.js +13 -13
- package/app-layout/drawer/styles.scoped.css +21 -23
- package/app-layout/drawer/styles.selectors.js +13 -13
- package/app-layout/mobile-toolbar/index.js +1 -1
- package/app-layout/mobile-toolbar/index.js.map +1 -1
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +8 -10
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/skeleton/styles.css.js +11 -11
- package/app-layout/skeleton/styles.scoped.css +20 -22
- package/app-layout/skeleton/styles.selectors.js +11 -11
- package/app-layout/split-panel/styles.css.js +2 -2
- package/app-layout/split-panel/styles.scoped.css +2 -4
- package/app-layout/split-panel/styles.selectors.js +2 -2
- package/app-layout/styles.css.js +16 -16
- package/app-layout/styles.scoped.css +19 -21
- package/app-layout/styles.selectors.js +16 -16
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +6 -8
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/utils/sticky-offsets.d.ts +1 -1
- package/app-layout/utils/sticky-offsets.d.ts.map +1 -1
- package/app-layout/utils/sticky-offsets.js +2 -2
- package/app-layout/utils/sticky-offsets.js.map +1 -1
- package/app-layout/visual-refresh/background.d.ts.map +1 -1
- package/app-layout/visual-refresh/background.js +2 -5
- package/app-layout/visual-refresh/background.js.map +1 -1
- package/app-layout/visual-refresh/breadcrumbs.d.ts.map +1 -1
- package/app-layout/visual-refresh/breadcrumbs.js +1 -2
- package/app-layout/visual-refresh/breadcrumbs.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts +0 -2
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +2 -7
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/drawers.js +2 -2
- package/app-layout/visual-refresh/drawers.js.map +1 -1
- package/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/app-layout/visual-refresh/layout.js +1 -3
- package/app-layout/visual-refresh/layout.js.map +1 -1
- package/app-layout/visual-refresh/main.d.ts.map +1 -1
- package/app-layout/visual-refresh/main.js +2 -4
- package/app-layout/visual-refresh/main.js.map +1 -1
- package/app-layout/visual-refresh/navigation.js +2 -2
- package/app-layout/visual-refresh/navigation.js.map +1 -1
- package/app-layout/visual-refresh/notifications.d.ts.map +1 -1
- package/app-layout/visual-refresh/notifications.js +3 -1
- package/app-layout/visual-refresh/notifications.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +82 -83
- package/app-layout/visual-refresh/styles.scoped.css +169 -196
- package/app-layout/visual-refresh/styles.selectors.js +82 -83
- package/app-layout/visual-refresh/tools.js +2 -2
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +1 -1
- package/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/app-layout/visual-refresh/use-background-overlap.d.ts +0 -6
- package/app-layout/visual-refresh/use-background-overlap.d.ts.map +1 -1
- package/app-layout/visual-refresh/use-background-overlap.js +0 -6
- package/app-layout/visual-refresh/use-background-overlap.js.map +1 -1
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +9 -11
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +24 -26
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +5 -7
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +191 -191
- package/box/styles.scoped.css +248 -446
- package/box/styles.selectors.js +191 -191
- package/breadcrumb-group/item/styles.css.js +8 -8
- package/breadcrumb-group/item/styles.scoped.css +16 -18
- package/breadcrumb-group/item/styles.selectors.js +8 -8
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +12 -14
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/styles.css.js +19 -19
- package/button/styles.scoped.css +153 -155
- package/button/styles.selectors.js +19 -19
- package/button-dropdown/category-elements/category-element.js +1 -1
- package/button-dropdown/category-elements/category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/styles.css.js +14 -14
- package/button-dropdown/category-elements/styles.scoped.css +24 -25
- package/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/button-dropdown/item-element/styles.css.js +11 -11
- package/button-dropdown/item-element/styles.scoped.css +16 -17
- package/button-dropdown/item-element/styles.selectors.js +11 -11
- package/button-dropdown/mobile-expandable-group/mobile-expandable-group.js +1 -1
- package/button-dropdown/mobile-expandable-group/mobile-expandable-group.js.map +1 -1
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +5 -7
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +15 -15
- package/button-dropdown/styles.scoped.css +22 -24
- package/button-dropdown/styles.selectors.js +15 -15
- package/calendar/styles.css.js +20 -20
- package/calendar/styles.scoped.css +42 -44
- package/calendar/styles.selectors.js +20 -20
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +50 -52
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +5 -7
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +5 -6
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +129 -147
- 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 +17 -21
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +44 -52
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +43 -45
- package/column-layout/styles.selectors.js +13 -13
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +7 -25
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +30 -29
- package/container/styles.scoped.css +60 -55
- package/container/styles.selectors.js +30 -29
- package/container/use-sticky-header.d.ts +3 -2
- package/container/use-sticky-header.d.ts.map +1 -1
- package/container/use-sticky-header.js +5 -3
- package/container/use-sticky-header.js.map +1 -1
- package/content-layout/internal.js +2 -2
- package/content-layout/internal.js.map +1 -1
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +16 -18
- package/content-layout/styles.selectors.js +14 -14
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +9 -11
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +27 -27
- package/date-range-picker/calendar/grids/styles.scoped.css +42 -44
- package/date-range-picker/calendar/grids/styles.selectors.js +27 -27
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +13 -15
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +39 -39
- package/date-range-picker/styles.scoped.css +48 -50
- package/date-range-picker/styles.selectors.js +39 -39
- package/drawer/implementation.js +2 -2
- package/drawer/implementation.js.map +1 -1
- package/drawer/styles.css.js +3 -3
- package/drawer/styles.scoped.css +10 -11
- package/drawer/styles.selectors.js +3 -3
- package/expandable-section/styles.css.js +32 -32
- package/expandable-section/styles.scoped.css +65 -66
- package/expandable-section/styles.selectors.js +32 -32
- package/file-upload/dropzone/styles.css.js +2 -2
- package/file-upload/dropzone/styles.scoped.css +2 -4
- 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 +7 -9
- package/file-upload/file-input/styles.selectors.js +4 -4
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +146 -154
- package/flashbar/styles.selectors.js +47 -47
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +8 -10
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +38 -40
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +54 -56
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +50 -52
- package/header/styles.selectors.js +34 -34
- package/help-panel/implementation.js +2 -2
- package/help-panel/implementation.js.map +1 -1
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +78 -68
- package/help-panel/styles.selectors.js +4 -4
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +7 -9
- package/hotspot/styles.selectors.js +7 -7
- package/icon/icons.js +1 -1
- package/icon/interfaces.d.ts +1 -1
- package/icon/interfaces.d.ts.map +1 -1
- package/icon/interfaces.js.map +1 -1
- package/icon/styles.css.js +37 -37
- package/icon/styles.scoped.css +84 -67
- package/icon/styles.selectors.js +37 -37
- package/input/styles.css.js +13 -13
- package/input/styles.scoped.css +34 -36
- package/input/styles.selectors.js +13 -13
- package/internal/analytics/index.d.ts +7 -1
- package/internal/analytics/index.d.ts.map +1 -1
- package/internal/analytics/index.js +10 -0
- package/internal/analytics/index.js.map +1 -1
- package/internal/analytics/interfaces.d.ts +12 -0
- package/internal/analytics/interfaces.d.ts.map +1 -1
- package/internal/analytics/interfaces.js.map +1 -1
- package/internal/base-component/index.d.ts +5 -3
- package/internal/base-component/index.d.ts.map +1 -1
- package/internal/base-component/index.js.map +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +23 -26
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +26 -28
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/cartesian-chart/inline-start-labels.js +1 -1
- package/internal/components/cartesian-chart/inline-start-labels.js.map +1 -1
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +3 -5
- 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 +15 -17
- 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 +5 -7
- 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 +3 -5
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-popover-footer/styles.css.js +1 -1
- package/internal/components/chart-popover-footer/styles.scoped.css +3 -3
- package/internal/components/chart-popover-footer/styles.selectors.js +1 -1
- package/internal/components/chart-series-details/styles.css.js +20 -20
- package/internal/components/chart-series-details/styles.scoped.css +33 -35
- package/internal/components/chart-series-details/styles.selectors.js +20 -20
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +7 -9
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +9 -11
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +8 -10
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- 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 +3 -5
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +2 -4
- 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 +13 -15
- 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 +6 -8
- 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 +13 -15
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/highlight-match.d.ts.map +1 -1
- package/internal/components/option/highlight-match.js +1 -2
- package/internal/components/option/highlight-match.js.map +1 -1
- package/internal/components/option/index.js +2 -2
- 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 +29 -31
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +2 -4
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/panel-resize-handle/styles.css.js +5 -5
- package/internal/components/panel-resize-handle/styles.scoped.css +10 -12
- package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +1 -3
- package/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +29 -31
- 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 +20 -23
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/context/reset-contexts-for-modal.d.ts.map +1 -1
- package/internal/context/reset-contexts-for-modal.js +6 -8
- package/internal/context/reset-contexts-for-modal.js.map +1 -1
- package/internal/context/single-tab-stop-navigation-context.d.ts +16 -2
- package/internal/context/single-tab-stop-navigation-context.d.ts.map +1 -1
- package/internal/context/single-tab-stop-navigation-context.js +51 -1
- package/internal/context/single-tab-stop-navigation-context.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/hooks/use-table-interaction-metrics/index.d.ts +10 -0
- package/internal/hooks/use-table-interaction-metrics/index.d.ts.map +1 -0
- package/internal/hooks/use-table-interaction-metrics/index.js +47 -0
- package/internal/hooks/use-table-interaction-metrics/index.js.map +1 -0
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +71 -73
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +17 -19
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +38 -40
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +2 -2
- package/multiselect/styles.scoped.css +2 -4
- package/multiselect/styles.selectors.js +2 -2
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +23 -25
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +48 -50
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/index.d.ts +1 -1
- package/popover/index.d.ts.map +1 -1
- package/popover/index.js +2 -2
- package/popover/index.js.map +1 -1
- package/popover/interfaces.d.ts +5 -0
- package/popover/interfaces.d.ts.map +1 -1
- package/popover/interfaces.js.map +1 -1
- package/popover/internal.js +2 -2
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +50 -49
- package/popover/styles.scoped.css +78 -78
- package/popover/styles.selectors.js +50 -49
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +33 -37
- package/progress-bar/styles.selectors.js +19 -19
- package/property-filter/styles.css.js +32 -32
- package/property-filter/styles.scoped.css +34 -36
- package/property-filter/styles.selectors.js +32 -32
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +15 -17
- package/radio-group/styles.selectors.js +9 -9
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +9 -9
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +33 -35
- package/segmented-control/styles.selectors.js +14 -14
- package/select/parts/styles.css.js +16 -16
- package/select/parts/styles.scoped.css +18 -19
- package/select/parts/styles.selectors.js +16 -16
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +1 -3
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +28 -28
- package/side-navigation/styles.scoped.css +38 -40
- package/side-navigation/styles.selectors.js +28 -28
- package/slider/internal.js +1 -1
- package/slider/internal.js.map +1 -1
- package/slider/slider-labels.js +1 -1
- package/slider/slider-labels.js.map +1 -1
- package/slider/styles.css.js +25 -25
- package/slider/styles.scoped.css +62 -64
- package/slider/styles.selectors.js +25 -25
- package/slider/tick-marks.js +2 -2
- package/slider/tick-marks.js.map +1 -1
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +24 -26
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +20 -21
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +28 -24
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/side.js +3 -3
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +26 -26
- package/split-panel/styles.scoped.css +41 -46
- package/split-panel/styles.selectors.js +26 -26
- package/status-indicator/styles.css.js +23 -23
- package/status-indicator/styles.scoped.css +29 -31
- package/status-indicator/styles.selectors.js +23 -23
- package/table/body-cell/styles.css.js +45 -45
- package/table/body-cell/styles.scoped.css +175 -174
- package/table/body-cell/styles.selectors.js +45 -45
- package/table/expandable-rows/styles.css.js +3 -3
- package/table/expandable-rows/styles.scoped.css +15 -15
- package/table/expandable-rows/styles.selectors.js +3 -3
- package/table/header-cell/styles.css.js +26 -26
- package/table/header-cell/styles.scoped.css +54 -54
- package/table/header-cell/styles.selectors.js +26 -26
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +23 -17
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +8 -8
- package/table/resizer/styles.scoped.css +14 -16
- package/table/resizer/styles.selectors.js +8 -8
- package/table/selection/selection-control.js +1 -1
- package/table/selection/selection-control.js.map +1 -1
- package/table/selection/styles.css.js +3 -3
- package/table/selection/styles.scoped.css +3 -5
- package/table/selection/styles.selectors.js +3 -3
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +7 -9
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +39 -43
- package/table/styles.selectors.js +34 -34
- package/table/table-role/grid-navigation.d.ts.map +1 -1
- package/table/table-role/grid-navigation.js +40 -67
- package/table/table-role/grid-navigation.js.map +1 -1
- package/table/thead.d.ts +1 -0
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +5 -2
- package/table/thead.js.map +1 -1
- package/table/tools-header.d.ts +2 -1
- package/table/tools-header.d.ts.map +1 -1
- package/table/tools-header.js +4 -4
- package/table/tools-header.js.map +1 -1
- package/tabs/styles.css.js +22 -22
- package/tabs/styles.scoped.css +42 -46
- package/tabs/styles.selectors.js +22 -22
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +19 -47
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +10 -12
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +60 -62
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +3 -5
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.scoped.css +15 -17
- package/textarea/styles.selectors.js +5 -5
- package/tiles/styles.css.js +29 -29
- package/tiles/styles.scoped.css +70 -72
- package/tiles/styles.selectors.js +29 -29
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -16
- package/toggle/styles.selectors.js +8 -8
- package/token-group/dismiss-button.d.ts.map +1 -1
- package/token-group/dismiss-button.js +1 -2
- package/token-group/dismiss-button.js.map +1 -1
- package/token-group/styles.css.js +9 -9
- package/token-group/styles.scoped.css +19 -22
- package/token-group/styles.selectors.js +9 -9
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +42 -44
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +66 -68
- 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 +21 -23
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +27 -30
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +1 -3
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +62 -61
- package/wizard/styles.selectors.js +30 -30
- package/wizard/wizard-form-header.js +1 -1
- package/wizard/wizard-form-header.js.map +1 -1
- package/wizard/wizard-form.js +1 -1
- package/wizard/wizard-form.js.map +1 -1
- package/wizard/wizard-navigation.js +3 -3
- package/wizard/wizard-navigation.js.map +1 -1
- package/internal/context/app-layout-context.d.ts +0 -8
- package/internal/context/app-layout-context.d.ts.map +0 -1
- package/internal/context/app-layout-context.js +0 -9
- package/internal/context/app-layout-context.js.map +0 -1
|
@@ -2,8 +2,6 @@
|
|
|
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 plugin/no-unsupported-browser-features */
|
|
6
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
5
|
/*
|
|
8
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
7
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
95
|
SPDX-License-Identifier: Apache-2.0
|
|
98
96
|
*/
|
|
99
|
-
.
|
|
97
|
+
.awsui_root_fvjdu_ki6j9_97:not(#\9) {
|
|
100
98
|
border-collapse: separate;
|
|
101
99
|
border-spacing: 0;
|
|
102
100
|
box-sizing: border-box;
|
|
@@ -140,14 +138,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
140
138
|
list-style: none;
|
|
141
139
|
}
|
|
142
140
|
|
|
143
|
-
.
|
|
144
|
-
.
|
|
141
|
+
.awsui_button_fvjdu_ki6j9_140:not(#\9),
|
|
142
|
+
.awsui_dots_fvjdu_ki6j9_141:not(#\9) {
|
|
145
143
|
min-inline-size: var(--space-l-t419sm, 20px);
|
|
146
144
|
border-block: var(--border-field-width-09w7vk, 2px) solid transparent;
|
|
147
145
|
border-inline: var(--border-field-width-09w7vk, 2px) solid transparent;
|
|
148
146
|
}
|
|
149
147
|
|
|
150
|
-
.
|
|
148
|
+
.awsui_button_fvjdu_ki6j9_140:not(#\9) {
|
|
151
149
|
cursor: pointer;
|
|
152
150
|
text-align: center;
|
|
153
151
|
box-sizing: border-box;
|
|
@@ -156,10 +154,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
156
154
|
padding-block: 0;
|
|
157
155
|
padding-inline: 0;
|
|
158
156
|
}
|
|
159
|
-
.
|
|
157
|
+
.awsui_button_fvjdu_ki6j9_140:not(#\9):focus {
|
|
160
158
|
outline: none;
|
|
161
159
|
}
|
|
162
|
-
body[data-awsui-focus-visible=true] .
|
|
160
|
+
body[data-awsui-focus-visible=true] .awsui_button_fvjdu_ki6j9_140:not(#\9):focus {
|
|
163
161
|
outline: 2px dotted transparent;
|
|
164
162
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
165
163
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
@@ -169,46 +167,46 @@ body[data-awsui-focus-visible=true] .awsui_button_fvjdu_1lqdy_142:not(#\9):focus
|
|
|
169
167
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
170
168
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
171
169
|
}
|
|
172
|
-
.awsui_button-
|
|
170
|
+
.awsui_button-disabled_fvjdu_ki6j9_169:not(#\9) {
|
|
173
171
|
cursor: default;
|
|
174
172
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
175
173
|
}
|
|
176
174
|
|
|
177
|
-
.
|
|
175
|
+
.awsui_arrow_fvjdu_ki6j9_174:not(#\9) {
|
|
178
176
|
color: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
179
177
|
}
|
|
180
|
-
.
|
|
178
|
+
.awsui_arrow_fvjdu_ki6j9_174:not(#\9):not(.awsui_button-disabled_fvjdu_ki6j9_169):hover {
|
|
181
179
|
color: var(--color-text-interactive-hover-mj8add, #000716);
|
|
182
180
|
}
|
|
183
|
-
.
|
|
181
|
+
.awsui_arrow_fvjdu_ki6j9_174.awsui_button-disabled_fvjdu_ki6j9_169:not(#\9) {
|
|
184
182
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
185
183
|
}
|
|
186
184
|
|
|
187
|
-
.awsui_page-
|
|
185
|
+
.awsui_page-number_fvjdu_ki6j9_184:not(#\9) {
|
|
188
186
|
color: var(--color-text-pagination-page-number-default-i8se09, #414d5c);
|
|
189
187
|
}
|
|
190
|
-
.awsui_page-
|
|
188
|
+
.awsui_page-number_fvjdu_ki6j9_184:not(#\9):not(.awsui_button-disabled_fvjdu_ki6j9_169):hover {
|
|
191
189
|
color: var(--color-text-interactive-hover-mj8add, #000716);
|
|
192
190
|
}
|
|
193
|
-
.awsui_page-
|
|
191
|
+
.awsui_page-number_fvjdu_ki6j9_184.awsui_button-current_fvjdu_ki6j9_190:not(#\9) {
|
|
194
192
|
font-weight: var(--font-wayfinding-link-active-weight-rbmzei, 700);
|
|
195
193
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
196
194
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
197
195
|
color: var(--color-text-interactive-active-ox3ozh, #000716);
|
|
198
196
|
}
|
|
199
|
-
.awsui_page-
|
|
197
|
+
.awsui_page-number_fvjdu_ki6j9_184.awsui_button-current_fvjdu_ki6j9_190.awsui_button-disabled_fvjdu_ki6j9_169:not(#\9) {
|
|
200
198
|
color: var(--color-text-pagination-page-number-active-disabled-pnozll, #9ba7b6);
|
|
201
199
|
}
|
|
202
|
-
.awsui_page-
|
|
200
|
+
.awsui_page-number_fvjdu_ki6j9_184.awsui_button-disabled_fvjdu_ki6j9_169:not(#\9) {
|
|
203
201
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
204
202
|
}
|
|
205
203
|
|
|
206
|
-
.
|
|
204
|
+
.awsui_dots_fvjdu_ki6j9_141:not(#\9) {
|
|
207
205
|
color: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
208
206
|
}
|
|
209
207
|
|
|
210
|
-
.awsui_page-
|
|
211
|
-
.
|
|
208
|
+
.awsui_page-item_fvjdu_ki6j9_207:not(#\9),
|
|
209
|
+
.awsui_dots_fvjdu_ki6j9_141:not(#\9) {
|
|
212
210
|
margin-block: var(--space-scaled-xxs-7597g1, 4px);
|
|
213
211
|
margin-inline: var(--space-xxs-p8yyaw, 4px);
|
|
214
212
|
text-align: center;
|
|
@@ -216,15 +214,15 @@ body[data-awsui-focus-visible=true] .awsui_button_fvjdu_1lqdy_142:not(#\9):focus
|
|
|
216
214
|
padding-block: 0;
|
|
217
215
|
padding-inline: 0;
|
|
218
216
|
}
|
|
219
|
-
.awsui_page-
|
|
220
|
-
.
|
|
217
|
+
.awsui_page-item_fvjdu_ki6j9_207:not(#\9):first-child,
|
|
218
|
+
.awsui_dots_fvjdu_ki6j9_141:not(#\9):first-child {
|
|
221
219
|
margin-inline-start: 0;
|
|
222
220
|
}
|
|
223
|
-
.awsui_page-
|
|
224
|
-
.
|
|
221
|
+
.awsui_page-item_fvjdu_ki6j9_207:not(#\9):last-child,
|
|
222
|
+
.awsui_dots_fvjdu_ki6j9_141:not(#\9):last-child {
|
|
225
223
|
margin-inline-end: 0;
|
|
226
224
|
}
|
|
227
225
|
|
|
228
|
-
.awsui_root-
|
|
226
|
+
.awsui_root-disabled_fvjdu_ki6j9_225 > .awsui_dots_fvjdu_ki6j9_141:not(#\9) {
|
|
229
227
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
230
228
|
}
|
|
@@ -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
|
-
"root": "
|
|
6
|
-
"button": "
|
|
7
|
-
"dots": "
|
|
8
|
-
"button-disabled": "awsui_button-
|
|
9
|
-
"arrow": "
|
|
10
|
-
"page-number": "awsui_page-
|
|
11
|
-
"button-current": "awsui_button-
|
|
12
|
-
"page-item": "awsui_page-
|
|
13
|
-
"root-disabled": "awsui_root-
|
|
5
|
+
"root": "awsui_root_fvjdu_ki6j9_97",
|
|
6
|
+
"button": "awsui_button_fvjdu_ki6j9_140",
|
|
7
|
+
"dots": "awsui_dots_fvjdu_ki6j9_141",
|
|
8
|
+
"button-disabled": "awsui_button-disabled_fvjdu_ki6j9_169",
|
|
9
|
+
"arrow": "awsui_arrow_fvjdu_ki6j9_174",
|
|
10
|
+
"page-number": "awsui_page-number_fvjdu_ki6j9_184",
|
|
11
|
+
"button-current": "awsui_button-current_fvjdu_ki6j9_190",
|
|
12
|
+
"page-item": "awsui_page-item_fvjdu_ki6j9_207",
|
|
13
|
+
"root-disabled": "awsui_root-disabled_fvjdu_ki6j9_225"
|
|
14
14
|
};
|
|
15
15
|
|
package/pie-chart/styles.css.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"segment__path": "
|
|
5
|
-
"segment": "
|
|
6
|
-
"segment__hover": "
|
|
7
|
-
"label": "
|
|
8
|
-
"root": "
|
|
9
|
-
"content": "
|
|
10
|
-
"content--small": "awsui_content--
|
|
11
|
-
"content--fit-height": "awsui_content--fit-
|
|
12
|
-
"content--without-labels": "awsui_content--without-
|
|
13
|
-
"content--medium": "awsui_content--
|
|
14
|
-
"content--large": "awsui_content--
|
|
15
|
-
"status-container": "awsui_status-
|
|
16
|
-
"chart-container": "awsui_chart-
|
|
17
|
-
"chart-container--fit-height": "awsui_chart-container--fit-
|
|
18
|
-
"chart-container-chart-plot": "awsui_chart-container-chart-
|
|
19
|
-
"chart-container-chart-plot--fit-height": "awsui_chart-container-chart-plot--fit-
|
|
20
|
-
"inner-content": "awsui_inner-
|
|
21
|
-
"segment__highlight": "
|
|
22
|
-
"segment--dimmed": "awsui_segment--
|
|
23
|
-
"segment--highlighted": "awsui_segment--
|
|
24
|
-
"label--dimmed": "awsui_label--
|
|
25
|
-
"label--align-right": "awsui_label--align-
|
|
26
|
-
"label-text": "awsui_label-
|
|
27
|
-
"label__description": "
|
|
28
|
-
"label-line": "awsui_label-
|
|
29
|
-
"label--highlighted": "awsui_label--
|
|
30
|
-
"popover-header": "awsui_popover-
|
|
4
|
+
"segment__path": "awsui_segment__path_1edmh_14ng5_101",
|
|
5
|
+
"segment": "awsui_segment_1edmh_14ng5_101",
|
|
6
|
+
"segment__hover": "awsui_segment__hover_1edmh_14ng5_128",
|
|
7
|
+
"label": "awsui_label_1edmh_14ng5_142",
|
|
8
|
+
"root": "awsui_root_1edmh_14ng5_160",
|
|
9
|
+
"content": "awsui_content_1edmh_14ng5_164",
|
|
10
|
+
"content--small": "awsui_content--small_1edmh_14ng5_164",
|
|
11
|
+
"content--fit-height": "awsui_content--fit-height_1edmh_14ng5_167",
|
|
12
|
+
"content--without-labels": "awsui_content--without-labels_1edmh_14ng5_170",
|
|
13
|
+
"content--medium": "awsui_content--medium_1edmh_14ng5_176",
|
|
14
|
+
"content--large": "awsui_content--large_1edmh_14ng5_188",
|
|
15
|
+
"status-container": "awsui_status-container_1edmh_14ng5_205",
|
|
16
|
+
"chart-container": "awsui_chart-container_1edmh_14ng5_209",
|
|
17
|
+
"chart-container--fit-height": "awsui_chart-container--fit-height_1edmh_14ng5_213",
|
|
18
|
+
"chart-container-chart-plot": "awsui_chart-container-chart-plot_1edmh_14ng5_218",
|
|
19
|
+
"chart-container-chart-plot--fit-height": "awsui_chart-container-chart-plot--fit-height_1edmh_14ng5_221",
|
|
20
|
+
"inner-content": "awsui_inner-content_1edmh_14ng5_227",
|
|
21
|
+
"segment__highlight": "awsui_segment__highlight_1edmh_14ng5_238",
|
|
22
|
+
"segment--dimmed": "awsui_segment--dimmed_1edmh_14ng5_253",
|
|
23
|
+
"segment--highlighted": "awsui_segment--highlighted_1edmh_14ng5_256",
|
|
24
|
+
"label--dimmed": "awsui_label--dimmed_1edmh_14ng5_273",
|
|
25
|
+
"label--align-right": "awsui_label--align-right_1edmh_14ng5_276",
|
|
26
|
+
"label-text": "awsui_label-text_1edmh_14ng5_284",
|
|
27
|
+
"label__description": "awsui_label__description_1edmh_14ng5_292",
|
|
28
|
+
"label-line": "awsui_label-line_1edmh_14ng5_299",
|
|
29
|
+
"label--highlighted": "awsui_label--highlighted_1edmh_14ng5_303",
|
|
30
|
+
"popover-header": "awsui_popover-header_1edmh_14ng5_307"
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -2,8 +2,6 @@
|
|
|
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 plugin/no-unsupported-browser-features */
|
|
6
|
-
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
5
|
/*
|
|
8
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
7
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -100,57 +98,57 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
100
98
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
101
99
|
SPDX-License-Identifier: Apache-2.0
|
|
102
100
|
*/
|
|
103
|
-
.
|
|
101
|
+
.awsui_segment__path_1edmh_14ng5_101:not(#\9) {
|
|
104
102
|
transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
105
103
|
}
|
|
106
104
|
@media (prefers-reduced-motion: reduce) {
|
|
107
|
-
.
|
|
105
|
+
.awsui_segment__path_1edmh_14ng5_101:not(#\9) {
|
|
108
106
|
animation: none;
|
|
109
107
|
transition: none;
|
|
110
108
|
}
|
|
111
109
|
}
|
|
112
|
-
.awsui-motion-disabled .
|
|
110
|
+
.awsui-motion-disabled .awsui_segment__path_1edmh_14ng5_101:not(#\9), .awsui-mode-entering .awsui_segment__path_1edmh_14ng5_101:not(#\9) {
|
|
113
111
|
animation: none;
|
|
114
112
|
transition: none;
|
|
115
113
|
}
|
|
116
114
|
|
|
117
|
-
.
|
|
115
|
+
.awsui_segment_1edmh_14ng5_101:not(#\9) {
|
|
118
116
|
transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
119
117
|
}
|
|
120
118
|
@media (prefers-reduced-motion: reduce) {
|
|
121
|
-
.
|
|
119
|
+
.awsui_segment_1edmh_14ng5_101:not(#\9) {
|
|
122
120
|
animation: none;
|
|
123
121
|
transition: none;
|
|
124
122
|
}
|
|
125
123
|
}
|
|
126
|
-
.awsui-motion-disabled .
|
|
124
|
+
.awsui-motion-disabled .awsui_segment_1edmh_14ng5_101:not(#\9), .awsui-mode-entering .awsui_segment_1edmh_14ng5_101:not(#\9) {
|
|
127
125
|
animation: none;
|
|
128
126
|
transition: none;
|
|
129
127
|
}
|
|
130
|
-
.
|
|
128
|
+
.awsui_segment_1edmh_14ng5_101 > .awsui_segment__hover_1edmh_14ng5_128:not(#\9) {
|
|
131
129
|
transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
132
130
|
}
|
|
133
131
|
@media (prefers-reduced-motion: reduce) {
|
|
134
|
-
.
|
|
132
|
+
.awsui_segment_1edmh_14ng5_101 > .awsui_segment__hover_1edmh_14ng5_128:not(#\9) {
|
|
135
133
|
animation: none;
|
|
136
134
|
transition: none;
|
|
137
135
|
}
|
|
138
136
|
}
|
|
139
|
-
.awsui-motion-disabled .
|
|
137
|
+
.awsui-motion-disabled .awsui_segment_1edmh_14ng5_101 > .awsui_segment__hover_1edmh_14ng5_128:not(#\9), .awsui-mode-entering .awsui_segment_1edmh_14ng5_101 > .awsui_segment__hover_1edmh_14ng5_128:not(#\9) {
|
|
140
138
|
animation: none;
|
|
141
139
|
transition: none;
|
|
142
140
|
}
|
|
143
141
|
|
|
144
|
-
.
|
|
142
|
+
.awsui_label_1edmh_14ng5_142:not(#\9) {
|
|
145
143
|
transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
146
144
|
}
|
|
147
145
|
@media (prefers-reduced-motion: reduce) {
|
|
148
|
-
.
|
|
146
|
+
.awsui_label_1edmh_14ng5_142:not(#\9) {
|
|
149
147
|
animation: none;
|
|
150
148
|
transition: none;
|
|
151
149
|
}
|
|
152
150
|
}
|
|
153
|
-
.awsui-motion-disabled .
|
|
151
|
+
.awsui-motion-disabled .awsui_label_1edmh_14ng5_142:not(#\9), .awsui-mode-entering .awsui_label_1edmh_14ng5_142:not(#\9) {
|
|
154
152
|
animation: none;
|
|
155
153
|
transition: none;
|
|
156
154
|
}
|
|
@@ -159,74 +157,74 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
157
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
160
158
|
SPDX-License-Identifier: Apache-2.0
|
|
161
159
|
*/
|
|
162
|
-
.
|
|
160
|
+
.awsui_root_1edmh_14ng5_160:not(#\9) {
|
|
163
161
|
/* used in test-utils */
|
|
164
162
|
}
|
|
165
163
|
|
|
166
|
-
.
|
|
164
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--small_1edmh_14ng5_164:not(#\9) {
|
|
167
165
|
min-block-size: calc(2 * (50px + var(--space-xs-zb16t3, 8px) + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
168
166
|
}
|
|
169
|
-
.
|
|
167
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--small_1edmh_14ng5_164.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
170
168
|
min-block-size: calc(2 * (30px + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
171
169
|
}
|
|
172
|
-
.
|
|
170
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--small_1edmh_14ng5_164.awsui_content--without-labels_1edmh_14ng5_170:not(#\9) {
|
|
173
171
|
min-block-size: calc(2 * (50px + var(--space-xs-zb16t3, 8px)));
|
|
174
172
|
}
|
|
175
|
-
.
|
|
173
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--small_1edmh_14ng5_164.awsui_content--without-labels_1edmh_14ng5_170.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
176
174
|
min-block-size: calc(2 * (30px));
|
|
177
175
|
}
|
|
178
|
-
.
|
|
176
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--medium_1edmh_14ng5_176:not(#\9) {
|
|
179
177
|
min-block-size: calc(2 * (100px + var(--space-s-34lx8l, 12px) + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
180
178
|
}
|
|
181
|
-
.
|
|
179
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--medium_1edmh_14ng5_176.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
182
180
|
min-block-size: calc(2 * (100px + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
183
181
|
}
|
|
184
|
-
.
|
|
182
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--medium_1edmh_14ng5_176.awsui_content--without-labels_1edmh_14ng5_170:not(#\9) {
|
|
185
183
|
min-block-size: calc(2 * (100px + var(--space-s-34lx8l, 12px)));
|
|
186
184
|
}
|
|
187
|
-
.
|
|
185
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--medium_1edmh_14ng5_176.awsui_content--without-labels_1edmh_14ng5_170.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
188
186
|
min-block-size: calc(2 * (100px));
|
|
189
187
|
}
|
|
190
|
-
.
|
|
188
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--large_1edmh_14ng5_188:not(#\9) {
|
|
191
189
|
min-block-size: calc(2 * (140px + var(--space-s-34lx8l, 12px) + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
192
190
|
}
|
|
193
|
-
.
|
|
191
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--large_1edmh_14ng5_188.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
194
192
|
min-block-size: calc(2 * (140px + calc(2 * var(--line-height-body-m-30ar75, 20px))));
|
|
195
193
|
}
|
|
196
|
-
.
|
|
194
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--large_1edmh_14ng5_188.awsui_content--without-labels_1edmh_14ng5_170:not(#\9) {
|
|
197
195
|
min-block-size: calc(2 * (140px + var(--space-s-34lx8l, 12px)));
|
|
198
196
|
}
|
|
199
|
-
.
|
|
197
|
+
.awsui_content_1edmh_14ng5_164.awsui_content--large_1edmh_14ng5_188.awsui_content--without-labels_1edmh_14ng5_170.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
200
198
|
min-block-size: calc(2 * (140px));
|
|
201
199
|
}
|
|
202
200
|
|
|
203
|
-
.awsui_content--fit-
|
|
201
|
+
.awsui_content--fit-height_1edmh_14ng5_167:not(#\9) {
|
|
204
202
|
flex: 1;
|
|
205
203
|
}
|
|
206
204
|
|
|
207
|
-
.awsui_status-
|
|
205
|
+
.awsui_status-container_1edmh_14ng5_205:not(#\9) {
|
|
208
206
|
/* used in test utils */
|
|
209
207
|
}
|
|
210
208
|
|
|
211
|
-
.awsui_chart-
|
|
209
|
+
.awsui_chart-container_1edmh_14ng5_209:not(#\9) {
|
|
212
210
|
display: flex;
|
|
213
211
|
flex: 1;
|
|
214
212
|
}
|
|
215
|
-
.awsui_chart-container--fit-
|
|
213
|
+
.awsui_chart-container--fit-height_1edmh_14ng5_213:not(#\9) {
|
|
216
214
|
block-size: 100%;
|
|
217
215
|
min-block-size: inherit;
|
|
218
216
|
}
|
|
219
217
|
|
|
220
|
-
.awsui_chart-container-chart-
|
|
218
|
+
.awsui_chart-container-chart-plot_1edmh_14ng5_218:not(#\9) {
|
|
221
219
|
display: contents;
|
|
222
220
|
}
|
|
223
|
-
.awsui_chart-container-chart-plot--fit-
|
|
221
|
+
.awsui_chart-container-chart-plot--fit-height_1edmh_14ng5_221:not(#\9) {
|
|
224
222
|
display: block;
|
|
225
223
|
position: absolute;
|
|
226
224
|
inset: 0;
|
|
227
225
|
}
|
|
228
226
|
|
|
229
|
-
.awsui_inner-
|
|
227
|
+
.awsui_inner-content_1edmh_14ng5_227:not(#\9) {
|
|
230
228
|
display: flex;
|
|
231
229
|
position: absolute;
|
|
232
230
|
flex-direction: column;
|
|
@@ -237,53 +235,53 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
237
235
|
pointer-events: none;
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
.
|
|
238
|
+
.awsui_segment__highlight_1edmh_14ng5_238:not(#\9) {
|
|
241
239
|
stroke: none;
|
|
242
240
|
opacity: 0;
|
|
243
241
|
}
|
|
244
242
|
|
|
245
|
-
.
|
|
243
|
+
.awsui_segment_1edmh_14ng5_101:not(#\9) {
|
|
246
244
|
stroke: var(--color-background-container-content-4un1ap, #ffffff);
|
|
247
245
|
stroke-width: 2px;
|
|
248
246
|
stroke-linejoin: round;
|
|
249
247
|
opacity: 1;
|
|
250
248
|
cursor: pointer;
|
|
251
249
|
}
|
|
252
|
-
.
|
|
250
|
+
.awsui_segment_1edmh_14ng5_101:not(#\9):focus {
|
|
253
251
|
outline: none;
|
|
254
252
|
}
|
|
255
|
-
.
|
|
253
|
+
.awsui_segment_1edmh_14ng5_101.awsui_segment--dimmed_1edmh_14ng5_253:not(#\9) {
|
|
256
254
|
opacity: 0.35;
|
|
257
255
|
}
|
|
258
|
-
.
|
|
256
|
+
.awsui_segment_1edmh_14ng5_101.awsui_segment--highlighted_1edmh_14ng5_256 > .awsui_segment__highlight_1edmh_14ng5_238:not(#\9), .awsui_segment_1edmh_14ng5_101:not(#\9):hover:not(.awsui_segment--dimmed_1edmh_14ng5_253) > .awsui_segment__highlight_1edmh_14ng5_238 {
|
|
259
257
|
opacity: 1;
|
|
260
258
|
}
|
|
261
259
|
|
|
262
|
-
.
|
|
260
|
+
.awsui_label_1edmh_14ng5_142:not(#\9) {
|
|
263
261
|
color: var(--color-text-heading-default-lstrpn, #000716);
|
|
264
262
|
opacity: 1;
|
|
265
263
|
/* stylelint-disable-next-line selector-max-type */
|
|
266
264
|
/* stylelint-disable-next-line selector-max-type */
|
|
267
265
|
}
|
|
268
|
-
.
|
|
266
|
+
.awsui_label_1edmh_14ng5_142 > line:not(#\9) {
|
|
269
267
|
stroke: var(--color-stroke-chart-line-ppq5nh, #7d8998);
|
|
270
268
|
stroke-width: var(--border-divider-section-width-1061zr, 1px);
|
|
271
269
|
}
|
|
272
|
-
.
|
|
270
|
+
.awsui_label_1edmh_14ng5_142 > div:not(#\9) {
|
|
273
271
|
margin-block-start: -0.75em;
|
|
274
272
|
}
|
|
275
|
-
.
|
|
273
|
+
.awsui_label_1edmh_14ng5_142.awsui_label--dimmed_1edmh_14ng5_273:not(#\9) {
|
|
276
274
|
opacity: 0.35;
|
|
277
275
|
}
|
|
278
|
-
.
|
|
276
|
+
.awsui_label_1edmh_14ng5_142.awsui_label--align-right_1edmh_14ng5_276:not(#\9) {
|
|
279
277
|
/* stylelint-disable-next-line selector-max-type */
|
|
280
278
|
}
|
|
281
|
-
.
|
|
279
|
+
.awsui_label_1edmh_14ng5_142.awsui_label--align-right_1edmh_14ng5_276 > div:not(#\9) {
|
|
282
280
|
text-align: end;
|
|
283
281
|
}
|
|
284
282
|
|
|
285
283
|
/* stylelint-disable-next-line selector-max-type */
|
|
286
|
-
.awsui_label-
|
|
284
|
+
.awsui_label-text_1edmh_14ng5_284 > text:not(#\9) {
|
|
287
285
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
288
286
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
289
287
|
font-weight: var(--font-display-label-weight-815ja9, 700);
|
|
@@ -291,22 +289,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
291
289
|
dominant-baseline: middle;
|
|
292
290
|
}
|
|
293
291
|
|
|
294
|
-
text.
|
|
292
|
+
text.awsui_label__description_1edmh_14ng5_292:not(#\9) {
|
|
295
293
|
font-size: var(--font-chart-detail-size-1n389u, 12px);
|
|
296
294
|
font-weight: 400;
|
|
297
295
|
color: var(--color-text-group-label-jpw8sm, #414d5c);
|
|
298
296
|
fill: var(--color-text-group-label-jpw8sm, #414d5c);
|
|
299
297
|
}
|
|
300
298
|
|
|
301
|
-
.awsui_label-
|
|
299
|
+
.awsui_label-line_1edmh_14ng5_299:not(#\9) {
|
|
302
300
|
/* used in component code */
|
|
303
301
|
}
|
|
304
302
|
|
|
305
|
-
.awsui_label--
|
|
303
|
+
.awsui_label--highlighted_1edmh_14ng5_303:not(#\9) {
|
|
306
304
|
/* used in test-utils */
|
|
307
305
|
}
|
|
308
306
|
|
|
309
|
-
.awsui_popover-
|
|
307
|
+
.awsui_popover-header_1edmh_14ng5_307:not(#\9) {
|
|
310
308
|
display: inline-flex;
|
|
311
309
|
align-items: flex-start;
|
|
312
310
|
}
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"segment__path": "
|
|
6
|
-
"segment": "
|
|
7
|
-
"segment__hover": "
|
|
8
|
-
"label": "
|
|
9
|
-
"root": "
|
|
10
|
-
"content": "
|
|
11
|
-
"content--small": "awsui_content--
|
|
12
|
-
"content--fit-height": "awsui_content--fit-
|
|
13
|
-
"content--without-labels": "awsui_content--without-
|
|
14
|
-
"content--medium": "awsui_content--
|
|
15
|
-
"content--large": "awsui_content--
|
|
16
|
-
"status-container": "awsui_status-
|
|
17
|
-
"chart-container": "awsui_chart-
|
|
18
|
-
"chart-container--fit-height": "awsui_chart-container--fit-
|
|
19
|
-
"chart-container-chart-plot": "awsui_chart-container-chart-
|
|
20
|
-
"chart-container-chart-plot--fit-height": "awsui_chart-container-chart-plot--fit-
|
|
21
|
-
"inner-content": "awsui_inner-
|
|
22
|
-
"segment__highlight": "
|
|
23
|
-
"segment--dimmed": "awsui_segment--
|
|
24
|
-
"segment--highlighted": "awsui_segment--
|
|
25
|
-
"label--dimmed": "awsui_label--
|
|
26
|
-
"label--align-right": "awsui_label--align-
|
|
27
|
-
"label-text": "awsui_label-
|
|
28
|
-
"label__description": "
|
|
29
|
-
"label-line": "awsui_label-
|
|
30
|
-
"label--highlighted": "awsui_label--
|
|
31
|
-
"popover-header": "awsui_popover-
|
|
5
|
+
"segment__path": "awsui_segment__path_1edmh_14ng5_101",
|
|
6
|
+
"segment": "awsui_segment_1edmh_14ng5_101",
|
|
7
|
+
"segment__hover": "awsui_segment__hover_1edmh_14ng5_128",
|
|
8
|
+
"label": "awsui_label_1edmh_14ng5_142",
|
|
9
|
+
"root": "awsui_root_1edmh_14ng5_160",
|
|
10
|
+
"content": "awsui_content_1edmh_14ng5_164",
|
|
11
|
+
"content--small": "awsui_content--small_1edmh_14ng5_164",
|
|
12
|
+
"content--fit-height": "awsui_content--fit-height_1edmh_14ng5_167",
|
|
13
|
+
"content--without-labels": "awsui_content--without-labels_1edmh_14ng5_170",
|
|
14
|
+
"content--medium": "awsui_content--medium_1edmh_14ng5_176",
|
|
15
|
+
"content--large": "awsui_content--large_1edmh_14ng5_188",
|
|
16
|
+
"status-container": "awsui_status-container_1edmh_14ng5_205",
|
|
17
|
+
"chart-container": "awsui_chart-container_1edmh_14ng5_209",
|
|
18
|
+
"chart-container--fit-height": "awsui_chart-container--fit-height_1edmh_14ng5_213",
|
|
19
|
+
"chart-container-chart-plot": "awsui_chart-container-chart-plot_1edmh_14ng5_218",
|
|
20
|
+
"chart-container-chart-plot--fit-height": "awsui_chart-container-chart-plot--fit-height_1edmh_14ng5_221",
|
|
21
|
+
"inner-content": "awsui_inner-content_1edmh_14ng5_227",
|
|
22
|
+
"segment__highlight": "awsui_segment__highlight_1edmh_14ng5_238",
|
|
23
|
+
"segment--dimmed": "awsui_segment--dimmed_1edmh_14ng5_253",
|
|
24
|
+
"segment--highlighted": "awsui_segment--highlighted_1edmh_14ng5_256",
|
|
25
|
+
"label--dimmed": "awsui_label--dimmed_1edmh_14ng5_273",
|
|
26
|
+
"label--align-right": "awsui_label--align-right_1edmh_14ng5_276",
|
|
27
|
+
"label-text": "awsui_label-text_1edmh_14ng5_284",
|
|
28
|
+
"label__description": "awsui_label__description_1edmh_14ng5_292",
|
|
29
|
+
"label-line": "awsui_label-line_1edmh_14ng5_299",
|
|
30
|
+
"label--highlighted": "awsui_label--highlighted_1edmh_14ng5_303",
|
|
31
|
+
"popover-header": "awsui_popover-header_1edmh_14ng5_307"
|
|
32
32
|
};
|
|
33
33
|
|
package/popover/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PopoverProps } from './interfaces';
|
|
3
3
|
export { PopoverProps };
|
|
4
|
-
export default function Popover({ position, size, fixedWidth, triggerType, dismissButton, renderWithPortal, header, ...rest }: PopoverProps): JSX.Element;
|
|
4
|
+
export default function Popover({ position, size, fixedWidth, triggerType, dismissButton, renderWithPortal, wrapTriggerText, header, ...rest }: PopoverProps): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/popover/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/popover/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,QAAkB,EAClB,IAAe,EACf,UAAkB,EAClB,WAAoB,EACpB,aAAoB,EACpB,gBAAwB,EACxB,MAAM,EACN,GAAG,IAAI,EACR,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/popover/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,QAAkB,EAClB,IAAe,EACf,UAAkB,EAClB,WAAoB,EACpB,aAAoB,EACpB,gBAAwB,EACxB,eAAsB,EACtB,MAAM,EACN,GAAG,IAAI,EACR,EAAE,YAAY,eAyBd"}
|
package/popover/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import useBaseComponent from '../internal/hooks/use-base-component';
|
|
|
9
9
|
import { isDevelopment } from '../internal/is-development';
|
|
10
10
|
import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
|
|
11
11
|
export default function Popover(_a) {
|
|
12
|
-
var { position = 'right', size = 'medium', fixedWidth = false, triggerType = 'text', dismissButton = true, renderWithPortal = false, header } = _a, rest = __rest(_a, ["position", "size", "fixedWidth", "triggerType", "dismissButton", "renderWithPortal", "header"]);
|
|
12
|
+
var { position = 'right', size = 'medium', fixedWidth = false, triggerType = 'text', dismissButton = true, renderWithPortal = false, wrapTriggerText = true, header } = _a, rest = __rest(_a, ["position", "size", "fixedWidth", "triggerType", "dismissButton", "renderWithPortal", "wrapTriggerText", "header"]);
|
|
13
13
|
if (isDevelopment) {
|
|
14
14
|
if (dismissButton && !header) {
|
|
15
15
|
warnOnce('Popover', `You should provide a \`header\` when \`dismissButton\` is true.`);
|
|
@@ -19,7 +19,7 @@ export default function Popover(_a) {
|
|
|
19
19
|
props: { dismissButton, fixedWidth, position, renderWithPortal, size, triggerType },
|
|
20
20
|
});
|
|
21
21
|
const externalProps = getExternalProps(rest);
|
|
22
|
-
return (React.createElement(InternalPopover, Object.assign({ header: header, position: position, size: size, fixedWidth: fixedWidth, triggerType: triggerType, dismissButton: dismissButton, renderWithPortal: renderWithPortal }, externalProps, baseComponentProps)));
|
|
22
|
+
return (React.createElement(InternalPopover, Object.assign({ header: header, position: position, size: size, fixedWidth: fixedWidth, triggerType: triggerType, dismissButton: dismissButton, renderWithPortal: renderWithPortal, wrapTriggerText: wrapTriggerText }, externalProps, baseComponentProps)));
|
|
23
23
|
}
|
|
24
24
|
applyDisplayName(Popover, 'Popover');
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/popover/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/popover/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAKzE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/popover/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAKzE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAUjB;QAViB,EAC9B,QAAQ,GAAG,OAAO,EAClB,IAAI,GAAG,QAAQ,EACf,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,MAAM,EACpB,aAAa,GAAG,IAAI,EACpB,gBAAgB,GAAG,KAAK,EACxB,eAAe,GAAG,IAAI,EACtB,MAAM,OAEO,EADV,IAAI,cATuB,mHAU/B,CADQ;IAEP,IAAI,aAAa,EAAE;QACjB,IAAI,aAAa,IAAI,CAAC,MAAM,EAAE;YAC5B,QAAQ,CAAC,SAAS,EAAE,iEAAiE,CAAC,CAAC;SACxF;KACF;IAED,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,SAAS,EAAE;QACrD,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,EAAE;KACpF,CAAC,CAAC;IACH,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,CACL,oBAAC,eAAe,kBACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAC5B,aAAa,EACb,kBAAkB,EACtB,CACH,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport InternalPopover from './internal';\nimport { getExternalProps } from '../internal/utils/external-props';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { isDevelopment } from '../internal/is-development';\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { PopoverProps } from './interfaces';\n\nexport { PopoverProps };\n\nexport default function Popover({\n position = 'right',\n size = 'medium',\n fixedWidth = false,\n triggerType = 'text',\n dismissButton = true,\n renderWithPortal = false,\n wrapTriggerText = true,\n header,\n ...rest\n}: PopoverProps) {\n if (isDevelopment) {\n if (dismissButton && !header) {\n warnOnce('Popover', `You should provide a \\`header\\` when \\`dismissButton\\` is true.`);\n }\n }\n\n const baseComponentProps = useBaseComponent('Popover', {\n props: { dismissButton, fixedWidth, position, renderWithPortal, size, triggerType },\n });\n const externalProps = getExternalProps(rest);\n return (\n <InternalPopover\n header={header}\n position={position}\n size={size}\n fixedWidth={fixedWidth}\n triggerType={triggerType}\n dismissButton={dismissButton}\n renderWithPortal={renderWithPortal}\n wrapTriggerText={wrapTriggerText}\n {...externalProps}\n {...baseComponentProps}\n />\n );\n}\n\napplyDisplayName(Popover, 'Popover');\n"]}
|
package/popover/interfaces.d.ts
CHANGED
|
@@ -27,6 +27,11 @@ export interface PopoverProps extends BaseComponentProps {
|
|
|
27
27
|
* that don't have visible text, and to distinguish between multiple triggers with identical visible text.
|
|
28
28
|
*/
|
|
29
29
|
triggerAriaLabel?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies if the text trigger content should wrap. If you set it to false, it prevents the text from
|
|
32
|
+
* wrapping and truncates it with an ellipsis.
|
|
33
|
+
*/
|
|
34
|
+
wrapTriggerText?: boolean;
|
|
30
35
|
/**
|
|
31
36
|
* Element that triggers the popover when selected by the user.
|
|
32
37
|
* @displayname trigger
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/popover/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC;IAEjC;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC;IAEvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,cAAc,GACd,UAAU,GACV,aAAa,GACb,YAAY,GACZ,WAAW,GACX,UAAU,GACV,eAAe,GACf,cAAc,GACd,aAAa,CAAC;AAElB,MAAM,WAAW,MAAM;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9C,yBAAiB,YAAY,CAAC;IAC5B,KAAY,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3D,KAAY,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAChD,KAAY,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C"}
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/popover/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC;IAEjC;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC;IAEvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,cAAc,GACd,UAAU,GACV,aAAa,GACb,YAAY,GACZ,WAAW,GACX,UAAU,GACV,eAAe,GACf,cAAc,GACd,aAAa,CAAC;AAElB,MAAM,WAAW,MAAM;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9C,yBAAiB,YAAY,CAAC;IAC5B,KAAY,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3D,KAAY,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAChD,KAAY,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C"}
|