@cloudscape-design/components 3.0.607 → 3.0.609
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/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +30 -30
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/classic.d.ts +9 -3
- package/app-layout/classic.d.ts.map +1 -1
- package/app-layout/classic.js +26 -25
- package/app-layout/classic.js.map +1 -1
- package/app-layout/implementation.d.ts +9 -3
- package/app-layout/implementation.d.ts.map +1 -1
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +6 -4
- package/app-layout/index.js.map +1 -1
- package/app-layout/interfaces.d.ts +9 -1
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/internal.d.ts +9 -3
- package/app-layout/internal.d.ts.map +1 -1
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/utils/use-app-layout-placement.d.ts +9 -0
- package/app-layout/utils/use-app-layout-placement.d.ts.map +1 -0
- package/app-layout/utils/use-app-layout-placement.js +29 -0
- package/app-layout/utils/use-app-layout-placement.js.map +1 -0
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +10 -41
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/index.d.ts +9 -3
- package/app-layout/visual-refresh/index.d.ts.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +81 -81
- package/app-layout/visual-refresh/styles.scoped.css +275 -286
- package/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/app-layout/visual-refresh/tools.js +2 -9
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/content-layout/styles.css.js +7 -7
- package/content-layout/styles.scoped.css +13 -15
- package/content-layout/styles.selectors.js +7 -7
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/form-field/internal.d.ts.map +1 -1
- package/form-field/internal.js +10 -6
- package/form-field/internal.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +39 -39
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +44 -46
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/handle-key.d.ts +15 -11
- package/internal/utils/handle-key.d.ts.map +1 -1
- package/internal/utils/handle-key.js +9 -9
- package/internal/utils/handle-key.js.map +1 -1
- package/package.json +1 -1
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/test-utils/dom/app-layout/index.d.ts +1 -0
- package/test-utils/dom/app-layout/index.js +4 -0
- package/test-utils/dom/app-layout/index.js.map +1 -1
- package/test-utils/selectors/app-layout/index.d.ts +1 -0
- package/test-utils/selectors/app-layout/index.js +4 -0
- package/test-utils/selectors/app-layout/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +68 -68
- package/wizard/styles.selectors.js +32 -32
- package/app-layout/utils/use-app-layout-rect.d.ts +0 -8
- package/app-layout/utils/use-app-layout-rect.d.ts.map +0 -1
- package/app-layout/utils/use-app-layout-rect.js +0 -24
- package/app-layout/utils/use-app-layout-rect.js.map +0 -1
- package/app-layout/utils/use-content-height.d.ts +0 -8
- package/app-layout/utils/use-content-height.d.ts.map +0 -1
- package/app-layout/utils/use-content-height.js +0 -25
- package/app-layout/utils/use-content-height.js.map +0 -1
|
@@ -2,86 +2,86 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"background": "
|
|
6
|
-
"scrolling-background": "awsui_scrolling-
|
|
7
|
-
"sticky-background": "awsui_sticky-
|
|
8
|
-
"has-sticky-notifications": "awsui_has-sticky-
|
|
9
|
-
"breadcrumbs": "
|
|
10
|
-
"has-sticky-background": "awsui_has-sticky-
|
|
11
|
-
"drawers-container": "awsui_drawers-
|
|
12
|
-
"has-open-drawer": "awsui_has-open-
|
|
13
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
14
|
-
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-
|
|
15
|
-
"has-multiple-triggers": "awsui_has-multiple-
|
|
16
|
-
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-
|
|
17
|
-
"drawers-trigger-content": "awsui_drawers-trigger-
|
|
18
|
-
"drawers-trigger-overflow": "awsui_drawers-trigger-
|
|
19
|
-
"drawers-trigger": "awsui_drawers-
|
|
20
|
-
"drawer": "
|
|
21
|
-
"drawer-content-container": "awsui_drawer-content-
|
|
22
|
-
"drawer-close-button": "awsui_drawer-close-
|
|
23
|
-
"drawer-content": "awsui_drawer-
|
|
24
|
-
"drawer-content-hidden": "awsui_drawer-content-
|
|
25
|
-
"drawer-slider": "awsui_drawer-
|
|
26
|
-
"is-drawer-open": "awsui_is-drawer-
|
|
27
|
-
"content": "
|
|
28
|
-
"layout": "
|
|
29
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
30
|
-
"content-type-dashboard": "awsui_content-type-
|
|
31
|
-
"content-type-table": "awsui_content-type-
|
|
32
|
-
"content-type-cards": "awsui_content-type-
|
|
33
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
34
|
-
"is-hide-mobile-toolbar": "awsui_is-hide-mobile-
|
|
35
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
36
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
37
|
-
"content-first-child-notifications": "awsui_content-first-child-
|
|
38
|
-
"has-breadcrumbs": "awsui_has-
|
|
39
|
-
"content-first-child-header": "awsui_content-first-child-
|
|
40
|
-
"has-header": "awsui_has-
|
|
41
|
-
"content-first-child-main": "awsui_content-first-child-
|
|
42
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
43
|
-
"has-split-panel": "awsui_has-split-
|
|
44
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
45
|
-
"block-body-scroll": "awsui_block-body-
|
|
46
|
-
"unfocusable": "
|
|
47
|
-
"container": "
|
|
48
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
49
|
-
"is-tools-open": "awsui_is-tools-
|
|
50
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
51
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
52
|
-
"has-active-drawer": "awsui_has-active-
|
|
53
|
-
"mobile-toolbar": "awsui_mobile-
|
|
54
|
-
"remove-high-contrast-header": "awsui_remove-high-contrast-
|
|
55
|
-
"mobile-toolbar-nav": "awsui_mobile-toolbar-
|
|
56
|
-
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-
|
|
57
|
-
"mobile-toolbar-tools": "awsui_mobile-toolbar-
|
|
58
|
-
"navigation-container": "awsui_navigation-
|
|
59
|
-
"show-navigation": "awsui_show-
|
|
60
|
-
"animating": "
|
|
61
|
-
"showButtons": "
|
|
62
|
-
"navigation": "
|
|
63
|
-
"openNavigation": "
|
|
64
|
-
"animated-content": "awsui_animated-
|
|
65
|
-
"hide-navigation": "awsui_hide-
|
|
66
|
-
"notifications": "
|
|
67
|
-
"sticky-notifications": "awsui_sticky-
|
|
68
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
69
|
-
"position-bottom": "awsui_position-
|
|
70
|
-
"openSplitPanelBottom": "
|
|
71
|
-
"split-panel-side": "awsui_split-panel-
|
|
72
|
-
"position-side": "awsui_position-
|
|
73
|
-
"tools-container": "awsui_tools-
|
|
74
|
-
"tools": "
|
|
75
|
-
"openTools": "
|
|
76
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
77
|
-
"hide-tools": "awsui_hide-
|
|
78
|
-
"show-tools": "awsui_show-
|
|
79
|
-
"has-tools-form": "awsui_has-tools-
|
|
80
|
-
"trigger-badge-wrapper": "awsui_trigger-badge-
|
|
81
|
-
"trigger": "
|
|
82
|
-
"selected": "
|
|
83
|
-
"badge": "
|
|
84
|
-
"trigger-wrapper": "awsui_trigger-
|
|
85
|
-
"dot": "
|
|
5
|
+
"background": "awsui_background_hyvsj_1t7qb_99",
|
|
6
|
+
"scrolling-background": "awsui_scrolling-background_hyvsj_1t7qb_102",
|
|
7
|
+
"sticky-background": "awsui_sticky-background_hyvsj_1t7qb_108",
|
|
8
|
+
"has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_1t7qb_116",
|
|
9
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_1t7qb_129",
|
|
10
|
+
"has-sticky-background": "awsui_has-sticky-background_hyvsj_1t7qb_139",
|
|
11
|
+
"drawers-container": "awsui_drawers-container_hyvsj_1t7qb_151",
|
|
12
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_1t7qb_162",
|
|
13
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_1t7qb_185",
|
|
14
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_1t7qb_190",
|
|
15
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_1t7qb_231",
|
|
16
|
+
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_1t7qb_241",
|
|
17
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_1t7qb_245",
|
|
18
|
+
"drawers-trigger-overflow": "awsui_drawers-trigger-overflow_hyvsj_1t7qb_259",
|
|
19
|
+
"drawers-trigger": "awsui_drawers-trigger_hyvsj_1t7qb_245",
|
|
20
|
+
"drawer": "awsui_drawer_hyvsj_1t7qb_151",
|
|
21
|
+
"drawer-content-container": "awsui_drawer-content-container_hyvsj_1t7qb_290",
|
|
22
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_1t7qb_299",
|
|
23
|
+
"drawer-content": "awsui_drawer-content_hyvsj_1t7qb_290",
|
|
24
|
+
"drawer-content-hidden": "awsui_drawer-content-hidden_hyvsj_1t7qb_307",
|
|
25
|
+
"drawer-slider": "awsui_drawer-slider_hyvsj_1t7qb_310",
|
|
26
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_1t7qb_317",
|
|
27
|
+
"content": "awsui_content_hyvsj_1t7qb_343",
|
|
28
|
+
"layout": "awsui_layout_hyvsj_1t7qb_364",
|
|
29
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_1t7qb_445",
|
|
30
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_1t7qb_460",
|
|
31
|
+
"content-type-table": "awsui_content-type-table_hyvsj_1t7qb_474",
|
|
32
|
+
"content-type-cards": "awsui_content-type-cards_hyvsj_1t7qb_474",
|
|
33
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_1t7qb_480",
|
|
34
|
+
"is-hide-mobile-toolbar": "awsui_is-hide-mobile-toolbar_hyvsj_1t7qb_483",
|
|
35
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_1t7qb_515",
|
|
36
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_1t7qb_518",
|
|
37
|
+
"content-first-child-notifications": "awsui_content-first-child-notifications_hyvsj_1t7qb_528",
|
|
38
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_1t7qb_531",
|
|
39
|
+
"content-first-child-header": "awsui_content-first-child-header_hyvsj_1t7qb_534",
|
|
40
|
+
"has-header": "awsui_has-header_hyvsj_1t7qb_534",
|
|
41
|
+
"content-first-child-main": "awsui_content-first-child-main_hyvsj_1t7qb_552",
|
|
42
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_1t7qb_552",
|
|
43
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_1t7qb_589",
|
|
44
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_1t7qb_589",
|
|
45
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_1t7qb_605",
|
|
46
|
+
"unfocusable": "awsui_unfocusable_hyvsj_1t7qb_610",
|
|
47
|
+
"container": "awsui_container_hyvsj_1t7qb_620",
|
|
48
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_1t7qb_646",
|
|
49
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_1t7qb_649",
|
|
50
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_1t7qb_649",
|
|
51
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_1t7qb_649",
|
|
52
|
+
"has-active-drawer": "awsui_has-active-drawer_hyvsj_1t7qb_649",
|
|
53
|
+
"mobile-toolbar": "awsui_mobile-toolbar_hyvsj_1t7qb_658",
|
|
54
|
+
"remove-high-contrast-header": "awsui_remove-high-contrast-header_hyvsj_1t7qb_675",
|
|
55
|
+
"mobile-toolbar-nav": "awsui_mobile-toolbar-nav_hyvsj_1t7qb_679",
|
|
56
|
+
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-breadcrumbs_hyvsj_1t7qb_683",
|
|
57
|
+
"mobile-toolbar-tools": "awsui_mobile-toolbar-tools_hyvsj_1t7qb_687",
|
|
58
|
+
"navigation-container": "awsui_navigation-container_hyvsj_1t7qb_696",
|
|
59
|
+
"show-navigation": "awsui_show-navigation_hyvsj_1t7qb_734",
|
|
60
|
+
"animating": "awsui_animating_hyvsj_1t7qb_757",
|
|
61
|
+
"showButtons": "awsui_showButtons_hyvsj_1t7qb_1",
|
|
62
|
+
"navigation": "awsui_navigation_hyvsj_1t7qb_696",
|
|
63
|
+
"openNavigation": "awsui_openNavigation_hyvsj_1t7qb_1",
|
|
64
|
+
"animated-content": "awsui_animated-content_hyvsj_1t7qb_819",
|
|
65
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_1t7qb_828",
|
|
66
|
+
"notifications": "awsui_notifications_hyvsj_1t7qb_838",
|
|
67
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_1t7qb_844",
|
|
68
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_1t7qb_861",
|
|
69
|
+
"position-bottom": "awsui_position-bottom_hyvsj_1t7qb_908",
|
|
70
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_1t7qb_1",
|
|
71
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_1t7qb_937",
|
|
72
|
+
"position-side": "awsui_position-side_hyvsj_1t7qb_950",
|
|
73
|
+
"tools-container": "awsui_tools-container_hyvsj_1t7qb_972",
|
|
74
|
+
"tools": "awsui_tools_hyvsj_1t7qb_972",
|
|
75
|
+
"openTools": "awsui_openTools_hyvsj_1t7qb_1",
|
|
76
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_1t7qb_1063",
|
|
77
|
+
"hide-tools": "awsui_hide-tools_hyvsj_1t7qb_1073",
|
|
78
|
+
"show-tools": "awsui_show-tools_hyvsj_1t7qb_1085",
|
|
79
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_1t7qb_1063",
|
|
80
|
+
"trigger-badge-wrapper": "awsui_trigger-badge-wrapper_hyvsj_1t7qb_1168",
|
|
81
|
+
"trigger": "awsui_trigger_hyvsj_1t7qb_1168",
|
|
82
|
+
"selected": "awsui_selected_hyvsj_1t7qb_1242",
|
|
83
|
+
"badge": "awsui_badge_hyvsj_1t7qb_1262",
|
|
84
|
+
"trigger-wrapper": "awsui_trigger-wrapper_hyvsj_1t7qb_1266",
|
|
85
|
+
"dot": "awsui_dot_hyvsj_1t7qb_1277"
|
|
86
86
|
};
|
|
87
87
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/tools.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/tools.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,sBA8IrD"}
|
|
@@ -20,8 +20,8 @@ import customCssProps from '../../internal/generated/custom-css-properties';
|
|
|
20
20
|
*/
|
|
21
21
|
export default function Tools({ children }) {
|
|
22
22
|
const { ariaLabels, disableBodyScroll, drawers, handleSplitPanelClick, handleToolsClick, hasDrawerViewportOverlay, isMobile, isSplitPanelOpen, isToolsOpen, loseToolsFocus, splitPanel, splitPanelControlId, splitPanelDisplayed, splitPanelPosition, splitPanelRefs, splitPanelToggle, tools, toolsControlId, toolsHide, toolsRefs, toolsWidth, } = useAppLayoutInternals();
|
|
23
|
-
const hasSplitPanel = !!splitPanel &&
|
|
24
|
-
const hasToolsForm = getToolsFormStatus(hasSplitPanel, isMobile, isSplitPanelOpen, isToolsOpen, toolsHide);
|
|
23
|
+
const hasSplitPanel = !!splitPanel && splitPanelPosition === 'side';
|
|
24
|
+
const hasToolsForm = getToolsFormStatus(hasSplitPanel && splitPanelDisplayed, isMobile, isSplitPanelOpen, isToolsOpen, toolsHide);
|
|
25
25
|
const hasToolsFormPersistence = getToolsFormPersistence(hasSplitPanel, isSplitPanelOpen, isToolsOpen, toolsHide);
|
|
26
26
|
const isUnfocusable = hasDrawerViewportOverlay && !isToolsOpen;
|
|
27
27
|
/**
|
|
@@ -64,13 +64,6 @@ export default function Tools({ children }) {
|
|
|
64
64
|
hasSplitPanel && splitPanelToggle.displayed && (React.createElement(TriggerButton, { ariaLabel: splitPanelToggle.ariaLabel, ariaControls: splitPanelControlId, ariaExpanded: !!isSplitPanelOpen, iconName: "view-vertical", onClick: () => handleSplitPanelClick(), selected: hasSplitPanel && isSplitPanelOpen, className: splitPanelStyles['open-button'], ref: splitPanelRefs.toggle }))))));
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
|
-
/**
|
|
68
|
-
* This simple function returns the presence of the split panel as a child of the
|
|
69
|
-
* Tools component. It must exist and be in side position.
|
|
70
|
-
*/
|
|
71
|
-
function getSplitPanelStatus(splitPanelDisplayed, splitPanelPosition) {
|
|
72
|
-
return splitPanelDisplayed && splitPanelPosition === 'side' ? true : false;
|
|
73
|
-
}
|
|
74
67
|
/**
|
|
75
68
|
* By default the Tools form is styled as display: none; This behavior should
|
|
76
69
|
* be unchanged in mobile viewports where the Tools form is always suppressed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/tools.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,cAAc,MAAM,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,uBAAuB,GAAG,KAAK,CAAC;IAEpC,2DAA2D;IAC3D,IAAI,aAAa,IAAI,CAAC,SAAS,IAAI,CAAC,gBAAgB,IAAI,WAAW,CAAC,EAAE;QACpE,uBAAuB,GAAG,IAAI,CAAC;KAChC;IAED,OAAO,uBAAuB,CAAC;AACjC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../../button/internal';\nimport { useAppLayoutInternals } from './context';\nimport TriggerButton from './trigger-button';\nimport styles from './styles.css.js';\nimport splitPanelStyles from '../../split-panel/styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\nimport { Transition } from '../../internal/components/transition';\nimport customCssProps from '../../internal/generated/custom-css-properties';\n\ninterface ToolsProps {\n children: React.ReactNode;\n}\n\n/**\n * The Tools component consists of the following elements:\n * the container, or root element, that sits as a direct child to the Layout grid definition;\n * the split panel, which exists only if there is a split panel in side position;\n * the tools, or drawer, that contains the hide tools form and the children passed through the API;\n * the show tools form that contains the triggers for both the drawer and the\n * split panel in large viewports;\n */\nexport default function Tools({ children }: ToolsProps) {\n const {\n ariaLabels,\n disableBodyScroll,\n drawers,\n handleSplitPanelClick,\n handleToolsClick,\n hasDrawerViewportOverlay,\n isMobile,\n isSplitPanelOpen,\n isToolsOpen,\n loseToolsFocus,\n splitPanel,\n splitPanelControlId,\n splitPanelDisplayed,\n splitPanelPosition,\n splitPanelRefs,\n splitPanelToggle,\n tools,\n toolsControlId,\n toolsHide,\n toolsRefs,\n toolsWidth,\n } = useAppLayoutInternals();\n\n const hasSplitPanel = !!splitPanel && getSplitPanelStatus(splitPanelDisplayed, splitPanelPosition);\n const hasToolsForm = getToolsFormStatus(hasSplitPanel, isMobile, isSplitPanelOpen, isToolsOpen, toolsHide);\n const hasToolsFormPersistence = getToolsFormPersistence(hasSplitPanel, isSplitPanelOpen, isToolsOpen, toolsHide);\n const isUnfocusable = hasDrawerViewportOverlay && !isToolsOpen;\n\n /**\n * If the drawers property is defined the SplitPanel will be mounted and rendered\n * by the Drawers component.\n */\n if ((toolsHide && !hasSplitPanel) || drawers) {\n return null;\n }\n\n return (\n <Transition in={isToolsOpen ?? false}>\n {(state, transitionEventsRef) => (\n <div\n className={clsx(styles['tools-container'], {\n [styles['disable-body-scroll']]: disableBodyScroll,\n [styles.unfocusable]: isUnfocusable,\n [testutilStyles['drawer-closed']]: !isToolsOpen,\n })}\n style={{\n [customCssProps.toolsAnimationStartingOpacity]: `${hasSplitPanel && isSplitPanelOpen ? 1 : 0}`,\n [customCssProps.toolsWidth]: `${toolsWidth}px`,\n }}\n onBlur={e => {\n if (!e.relatedTarget || !e.currentTarget.contains(e.relatedTarget)) {\n loseToolsFocus();\n }\n }}\n >\n {children}\n\n {!toolsHide && (\n <aside\n id={toolsControlId}\n aria-hidden={!isToolsOpen ? true : false}\n aria-label={ariaLabels?.tools ?? undefined}\n className={clsx(\n styles.tools,\n {\n [styles.animating]: state === 'entering',\n [styles['has-tools-form-persistence']]: hasToolsFormPersistence,\n [styles['is-tools-open']]: isToolsOpen,\n },\n testutilStyles.tools\n )}\n ref={state !== 'exiting' ? transitionEventsRef : undefined}\n >\n <div className={clsx(styles['animated-content'])}>\n <div className={clsx(styles['hide-tools'])}>\n <InternalButton\n ariaLabel={ariaLabels?.toolsClose ?? undefined}\n iconName={isMobile ? 'close' : 'angle-right'}\n onClick={() => handleToolsClick(false)}\n variant=\"icon\"\n formAction=\"none\"\n className={testutilStyles['tools-close']}\n ref={toolsRefs.close}\n />\n </div>\n\n {tools}\n </div>\n </aside>\n )}\n\n {!isMobile && (\n <aside\n aria-hidden={!hasToolsForm ? true : false}\n aria-label={ariaLabels?.tools ?? undefined}\n className={clsx(styles['show-tools'], {\n [styles.animating]: state === 'exiting',\n [styles['has-tools-form']]: hasToolsForm,\n [styles['has-tools-form-persistence']]: hasToolsFormPersistence,\n })}\n ref={state === 'exiting' ? transitionEventsRef : undefined}\n data-testid=\"side-split-panel-drawer\"\n >\n {!toolsHide && (\n <TriggerButton\n ariaLabel={ariaLabels?.toolsToggle}\n ariaControls={toolsControlId}\n ariaExpanded={isToolsOpen}\n iconName=\"status-info\"\n onClick={() => handleToolsClick(!isToolsOpen)}\n selected={hasSplitPanel && isToolsOpen}\n className={testutilStyles['tools-toggle']}\n ref={toolsRefs.toggle}\n />\n )}\n\n {hasSplitPanel && splitPanelToggle.displayed && (\n <TriggerButton\n ariaLabel={splitPanelToggle.ariaLabel}\n ariaControls={splitPanelControlId}\n ariaExpanded={!!isSplitPanelOpen}\n iconName=\"view-vertical\"\n onClick={() => handleSplitPanelClick()}\n selected={hasSplitPanel && isSplitPanelOpen}\n className={splitPanelStyles['open-button']}\n ref={splitPanelRefs.toggle}\n />\n )}\n </aside>\n )}\n </div>\n )}\n </Transition>\n );\n}\n\n/**\n * This simple function returns the presence of the split panel as a child of the\n * Tools component. It must exist and be in side position.\n */\nfunction getSplitPanelStatus(splitPanelDisplayed: boolean, splitPanelPosition: string) {\n return splitPanelDisplayed && splitPanelPosition === 'side' ? true : false;\n}\n\n/**\n * By default the Tools form is styled as display: none; This behavior should\n * be unchanged in mobile viewports where the Tools form is always suppressed.\n * In large viewports, however the Tools form and its corresponding buttons\n * should be present in the UI under the below circumstances.\n */\nfunction getToolsFormStatus(\n hasSplitPanel: boolean,\n isMobile: boolean,\n isSplitPanelOpen?: boolean,\n isToolsOpen?: boolean,\n toolsHide?: boolean\n) {\n let hasToolsForm = false;\n\n if (!isMobile) {\n // Both the Split Panel and Tools button are needed\n if (hasSplitPanel && !toolsHide) {\n hasToolsForm = true;\n }\n\n // The Split Panel button is needed\n if (hasSplitPanel && !isSplitPanelOpen && toolsHide) {\n hasToolsForm = true;\n }\n\n // The Tools button is needed\n if (!hasSplitPanel && !toolsHide && !isToolsOpen) {\n hasToolsForm = true;\n }\n }\n\n return hasToolsForm;\n}\n\n/**\n * Under two scenarios the Tools form that contains the triggers\n * for the Tools content and the Split Panel may be persistent\n * in the UI (as opposed to disappearing when one of the drawers\n * is open). This will also add a white background as opposed to the\n * default transparent background. The buttons will present and in a\n * selected / not selected state.\n */\nfunction getToolsFormPersistence(\n hasSplitPanel: boolean,\n isSplitPanelOpen?: boolean,\n isToolsOpen?: boolean,\n toolsHide?: boolean\n) {\n let hasToolsFormPersistence = false;\n\n // Both Tools and Split Panel exist and one or both is open\n if (hasSplitPanel && !toolsHide && (isSplitPanelOpen || isToolsOpen)) {\n hasToolsFormPersistence = true;\n }\n\n return hasToolsFormPersistence;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/tools.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,cAAc,MAAM,gDAAgD,CAAC;AAM5E;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAc;IACpD,MAAM,EACJ,UAAU,EACV,iBAAiB,EACjB,OAAO,EACP,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,KAAK,EACL,cAAc,E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AC1B,CACH,CACK,CACT,CACG,CACP,CAAA;KAAA,CACU,CACd,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,kBAAkB,CACzB,aAAsB,EACtB,QAAiB,EACjB,gBAA0B,EAC1B,WAAqB,EACrB,SAAmB;IAEnB,IAAI,YAAY,GAAG,KAAK,CAAC;IAEzB,IAAI,CAAC,QAAQ,EAAE;QACb,mDAAmD;QACnD,IAAI,aAAa,IAAI,CAAC,SAAS,EAAE;YAC/B,YAAY,GAAG,IAAI,CAAC;SACrB;QAED,mCAAmC;QACnC,IAAI,aAAa,IAAI,CAAC,gBAAgB,IAAI,SAAS,EAAE;YACnD,YAAY,GAAG,IAAI,CAAC;SACrB;QAED,6BAA6B;QAC7B,IAAI,CAAC,aAAa,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,EAAE;YAChD,YAAY,GAAG,IAAI,CAAC;SACrB;KACF;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,uBAAuB,CAC9B,aAAsB,EACtB,gBAA0B,EAC1B,WAAqB,EACrB,SAAmB;IAEnB,IAAI,uBAAuB,GAAG,KAAK,CAAC;IAEpC,2DAA2D;IAC3D,IAAI,aAAa,IAAI,CAAC,SAAS,IAAI,CAAC,gBAAgB,IAAI,WAAW,CAAC,EAAE;QACpE,uBAAuB,GAAG,IAAI,CAAC;KAChC;IAED,OAAO,uBAAuB,CAAC;AACjC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../../button/internal';\nimport { useAppLayoutInternals } from './context';\nimport TriggerButton from './trigger-button';\nimport styles from './styles.css.js';\nimport splitPanelStyles from '../../split-panel/styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\nimport { Transition } from '../../internal/components/transition';\nimport customCssProps from '../../internal/generated/custom-css-properties';\n\ninterface ToolsProps {\n children: React.ReactNode;\n}\n\n/**\n * The Tools component consists of the following elements:\n * the container, or root element, that sits as a direct child to the Layout grid definition;\n * the split panel, which exists only if there is a split panel in side position;\n * the tools, or drawer, that contains the hide tools form and the children passed through the API;\n * the show tools form that contains the triggers for both the drawer and the\n * split panel in large viewports;\n */\nexport default function Tools({ children }: ToolsProps) {\n const {\n ariaLabels,\n disableBodyScroll,\n drawers,\n handleSplitPanelClick,\n handleToolsClick,\n hasDrawerViewportOverlay,\n isMobile,\n isSplitPanelOpen,\n isToolsOpen,\n loseToolsFocus,\n splitPanel,\n splitPanelControlId,\n splitPanelDisplayed,\n splitPanelPosition,\n splitPanelRefs,\n splitPanelToggle,\n tools,\n toolsControlId,\n toolsHide,\n toolsRefs,\n toolsWidth,\n } = useAppLayoutInternals();\n\n const hasSplitPanel = !!splitPanel && splitPanelPosition === 'side';\n const hasToolsForm = getToolsFormStatus(\n hasSplitPanel && splitPanelDisplayed,\n isMobile,\n isSplitPanelOpen,\n isToolsOpen,\n toolsHide\n );\n const hasToolsFormPersistence = getToolsFormPersistence(hasSplitPanel, isSplitPanelOpen, isToolsOpen, toolsHide);\n const isUnfocusable = hasDrawerViewportOverlay && !isToolsOpen;\n\n /**\n * If the drawers property is defined the SplitPanel will be mounted and rendered\n * by the Drawers component.\n */\n if ((toolsHide && !hasSplitPanel) || drawers) {\n return null;\n }\n\n return (\n <Transition in={isToolsOpen ?? false}>\n {(state, transitionEventsRef) => (\n <div\n className={clsx(styles['tools-container'], {\n [styles['disable-body-scroll']]: disableBodyScroll,\n [styles.unfocusable]: isUnfocusable,\n [testutilStyles['drawer-closed']]: !isToolsOpen,\n })}\n style={{\n [customCssProps.toolsAnimationStartingOpacity]: `${hasSplitPanel && isSplitPanelOpen ? 1 : 0}`,\n [customCssProps.toolsWidth]: `${toolsWidth}px`,\n }}\n onBlur={e => {\n if (!e.relatedTarget || !e.currentTarget.contains(e.relatedTarget)) {\n loseToolsFocus();\n }\n }}\n >\n {children}\n\n {!toolsHide && (\n <aside\n id={toolsControlId}\n aria-hidden={!isToolsOpen ? true : false}\n aria-label={ariaLabels?.tools ?? undefined}\n className={clsx(\n styles.tools,\n {\n [styles.animating]: state === 'entering',\n [styles['has-tools-form-persistence']]: hasToolsFormPersistence,\n [styles['is-tools-open']]: isToolsOpen,\n },\n testutilStyles.tools\n )}\n ref={state !== 'exiting' ? transitionEventsRef : undefined}\n >\n <div className={clsx(styles['animated-content'])}>\n <div className={clsx(styles['hide-tools'])}>\n <InternalButton\n ariaLabel={ariaLabels?.toolsClose ?? undefined}\n iconName={isMobile ? 'close' : 'angle-right'}\n onClick={() => handleToolsClick(false)}\n variant=\"icon\"\n formAction=\"none\"\n className={testutilStyles['tools-close']}\n ref={toolsRefs.close}\n />\n </div>\n\n {tools}\n </div>\n </aside>\n )}\n\n {!isMobile && (\n <aside\n aria-hidden={!hasToolsForm ? true : false}\n aria-label={ariaLabels?.tools ?? undefined}\n className={clsx(styles['show-tools'], {\n [styles.animating]: state === 'exiting',\n [styles['has-tools-form']]: hasToolsForm,\n [styles['has-tools-form-persistence']]: hasToolsFormPersistence,\n })}\n ref={state === 'exiting' ? transitionEventsRef : undefined}\n data-testid=\"side-split-panel-drawer\"\n >\n {!toolsHide && (\n <TriggerButton\n ariaLabel={ariaLabels?.toolsToggle}\n ariaControls={toolsControlId}\n ariaExpanded={isToolsOpen}\n iconName=\"status-info\"\n onClick={() => handleToolsClick(!isToolsOpen)}\n selected={hasSplitPanel && isToolsOpen}\n className={testutilStyles['tools-toggle']}\n ref={toolsRefs.toggle}\n />\n )}\n\n {hasSplitPanel && splitPanelToggle.displayed && (\n <TriggerButton\n ariaLabel={splitPanelToggle.ariaLabel}\n ariaControls={splitPanelControlId}\n ariaExpanded={!!isSplitPanelOpen}\n iconName=\"view-vertical\"\n onClick={() => handleSplitPanelClick()}\n selected={hasSplitPanel && isSplitPanelOpen}\n className={splitPanelStyles['open-button']}\n ref={splitPanelRefs.toggle}\n />\n )}\n </aside>\n )}\n </div>\n )}\n </Transition>\n );\n}\n\n/**\n * By default the Tools form is styled as display: none; This behavior should\n * be unchanged in mobile viewports where the Tools form is always suppressed.\n * In large viewports, however the Tools form and its corresponding buttons\n * should be present in the UI under the below circumstances.\n */\nfunction getToolsFormStatus(\n hasSplitPanel: boolean,\n isMobile: boolean,\n isSplitPanelOpen?: boolean,\n isToolsOpen?: boolean,\n toolsHide?: boolean\n) {\n let hasToolsForm = false;\n\n if (!isMobile) {\n // Both the Split Panel and Tools button are needed\n if (hasSplitPanel && !toolsHide) {\n hasToolsForm = true;\n }\n\n // The Split Panel button is needed\n if (hasSplitPanel && !isSplitPanelOpen && toolsHide) {\n hasToolsForm = true;\n }\n\n // The Tools button is needed\n if (!hasSplitPanel && !toolsHide && !isToolsOpen) {\n hasToolsForm = true;\n }\n }\n\n return hasToolsForm;\n}\n\n/**\n * Under two scenarios the Tools form that contains the triggers\n * for the Tools content and the Split Panel may be persistent\n * in the UI (as opposed to disappearing when one of the drawers\n * is open). This will also add a white background as opposed to the\n * default transparent background. The buttons will present and in a\n * selected / not selected state.\n */\nfunction getToolsFormPersistence(\n hasSplitPanel: boolean,\n isSplitPanelOpen?: boolean,\n isToolsOpen?: boolean,\n toolsHide?: boolean\n) {\n let hasToolsFormPersistence = false;\n\n // Both Tools and Split Panel exist and one or both is open\n if (hasSplitPanel && !toolsHide && (isSplitPanelOpen || isToolsOpen)) {\n hasToolsFormPersistence = true;\n }\n\n return hasToolsFormPersistence;\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"layout": "
|
|
5
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
6
|
-
"background": "
|
|
7
|
-
"header": "
|
|
8
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
9
|
-
"content": "
|
|
10
|
-
"has-header": "awsui_has-
|
|
4
|
+
"layout": "awsui_layout_5gtk3_set91_105",
|
|
5
|
+
"is-visual-refresh": "awsui_is-visual-refresh_5gtk3_set91_105",
|
|
6
|
+
"background": "awsui_background_5gtk3_set91_108",
|
|
7
|
+
"header": "awsui_header_5gtk3_set91_111",
|
|
8
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_5gtk3_set91_127",
|
|
9
|
+
"content": "awsui_content_5gtk3_set91_135",
|
|
10
|
+
"has-header": "awsui_has-header_5gtk3_set91_139"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -102,48 +102,46 @@ visual refresh mode. The padding is still added to the header
|
|
|
102
102
|
in this scenario because otherwise the header and child
|
|
103
103
|
nodes will directly touch with no gap between them.
|
|
104
104
|
*/
|
|
105
|
-
.
|
|
105
|
+
.awsui_layout_5gtk3_set91_105:not(#\9):not(.awsui_is-visual-refresh_5gtk3_set91_105) {
|
|
106
106
|
display: contents;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.awsui_layout_5gtk3_set91_105:not(#\9):not(.awsui_is-visual-refresh_5gtk3_set91_105) > .awsui_background_5gtk3_set91_108 {
|
|
109
109
|
display: none;
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
.awsui_layout_5gtk3_set91_105:not(#\9):not(.awsui_is-visual-refresh_5gtk3_set91_105) > .awsui_header_5gtk3_set91_111 {
|
|
112
112
|
padding-block-end: var(--space-content-header-padding-bottom-y2enua, 16px);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105:not(#\9) {
|
|
116
116
|
display: grid;
|
|
117
117
|
grid-template-columns: minmax(0, 1fr);
|
|
118
118
|
grid-template-rows: auto var(--space-dark-header-overlap-distance-lxpp0s, 36px) 1fr;
|
|
119
119
|
min-block-size: 100%;
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105 > .awsui_background_5gtk3_set91_108:not(#\9) {
|
|
122
122
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
123
123
|
grid-column: 1;
|
|
124
124
|
grid-row: 1/3;
|
|
125
125
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
126
126
|
}
|
|
127
|
-
.
|
|
127
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105 > .awsui_background_5gtk3_set91_108.awsui_is-overlap-disabled_5gtk3_set91_127:not(#\9) {
|
|
128
128
|
grid-row: 1/2;
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105 > .awsui_header_5gtk3_set91_111:not(#\9) {
|
|
131
131
|
grid-column: 1;
|
|
132
132
|
grid-row: 1;
|
|
133
133
|
padding-block-end: var(--space-content-header-padding-bottom-y2enua, 16px);
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105 > .awsui_content_5gtk3_set91_135:not(#\9) {
|
|
136
136
|
grid-column: 1;
|
|
137
137
|
grid-row: 2/4;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
140
|
-
grid-template-rows: auto calc(
|
|
141
|
-
var(--space-dark-header-overlap-distance-lxpp0s, 36px) + var(--awsui-container-first-overlap-extension-iof9y8, 0px) + var(--awsui-container-first-gap-iof9y8, 0px)
|
|
142
|
-
) 1fr;
|
|
139
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105:not(#\9):not(.awsui_has-header_5gtk3_set91_139) {
|
|
140
|
+
grid-template-rows: auto calc(var(--space-dark-header-overlap-distance-lxpp0s, 36px) + var(--space-xs-zb16t3, 8px) + var(--space-scaled-xxs-7597g1, 4px)) 1fr;
|
|
143
141
|
}
|
|
144
|
-
.
|
|
145
|
-
padding-block-start: var(--
|
|
142
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105:not(#\9):not(.awsui_has-header_5gtk3_set91_139) > .awsui_content_5gtk3_set91_135 {
|
|
143
|
+
padding-block-start: calc(var(--space-xs-zb16t3, 8px) + var(--space-scaled-xxs-7597g1, 4px));
|
|
146
144
|
}
|
|
147
|
-
.
|
|
145
|
+
.awsui_layout_5gtk3_set91_105.awsui_is-visual-refresh_5gtk3_set91_105.awsui_is-overlap-disabled_5gtk3_set91_127:not(#\9) {
|
|
148
146
|
grid-template-rows: auto 0 1fr;
|
|
149
147
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"layout": "
|
|
6
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
7
|
-
"background": "
|
|
8
|
-
"header": "
|
|
9
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
10
|
-
"content": "
|
|
11
|
-
"has-header": "awsui_has-
|
|
5
|
+
"layout": "awsui_layout_5gtk3_set91_105",
|
|
6
|
+
"is-visual-refresh": "awsui_is-visual-refresh_5gtk3_set91_105",
|
|
7
|
+
"background": "awsui_background_5gtk3_set91_108",
|
|
8
|
+
"header": "awsui_header_5gtk3_set91_111",
|
|
9
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_5gtk3_set91_127",
|
|
10
|
+
"content": "awsui_content_5gtk3_set91_135",
|
|
11
|
+
"has-header": "awsui_has-header_5gtk3_set91_139"
|
|
12
12
|
};
|
|
13
13
|
|
package/flashbar/styles.css.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"flash-with-motion": "awsui_flash-with-
|
|
5
|
-
"enter": "
|
|
6
|
-
"flash-body": "awsui_flash-
|
|
7
|
-
"flash-message": "awsui_flash-
|
|
8
|
-
"flash-header": "awsui_flash-
|
|
9
|
-
"flash-content": "awsui_flash-
|
|
10
|
-
"action-button-wrapper": "awsui_action-button-
|
|
11
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
12
|
-
"flash-icon": "awsui_flash-
|
|
13
|
-
"entering": "
|
|
14
|
-
"entered": "
|
|
15
|
-
"exiting": "
|
|
16
|
-
"stack": "
|
|
17
|
-
"animation-running": "awsui_animation-
|
|
18
|
-
"item": "
|
|
19
|
-
"flash-list-item": "awsui_flash-list-
|
|
20
|
-
"notification-bar": "awsui_notification-
|
|
21
|
-
"collapsed": "
|
|
22
|
-
"animation-ready": "awsui_animation-
|
|
23
|
-
"expanded-only": "awsui_expanded-
|
|
24
|
-
"expanded": "
|
|
25
|
-
"flash": "
|
|
26
|
-
"collapsible": "
|
|
27
|
-
"short-list": "awsui_short-
|
|
28
|
-
"visual-refresh": "awsui_visual-
|
|
29
|
-
"status": "
|
|
30
|
-
"header": "
|
|
31
|
-
"item-count": "awsui_item-
|
|
32
|
-
"button": "
|
|
33
|
-
"type-count": "awsui_type-
|
|
34
|
-
"count-number": "awsui_count-
|
|
35
|
-
"icon": "
|
|
36
|
-
"floating": "
|
|
37
|
-
"flashbar": "
|
|
38
|
-
"flash-refresh": "awsui_flash-
|
|
39
|
-
"flash-list": "awsui_flash-
|
|
40
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
41
|
-
"flash-text": "awsui_flash-
|
|
42
|
-
"dismiss-button": "awsui_dismiss-
|
|
43
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
44
|
-
"action-button": "awsui_action-
|
|
45
|
-
"action-slot": "awsui_action-
|
|
46
|
-
"flash-type-success": "awsui_flash-type-
|
|
47
|
-
"flash-type-error": "awsui_flash-type-
|
|
48
|
-
"flash-type-info": "awsui_flash-type-
|
|
49
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
50
|
-
"flash-type-warning": "awsui_flash-type-
|
|
4
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_pgrle_99",
|
|
5
|
+
"enter": "awsui_enter_1q84n_pgrle_99",
|
|
6
|
+
"flash-body": "awsui_flash-body_1q84n_pgrle_113",
|
|
7
|
+
"flash-message": "awsui_flash-message_1q84n_pgrle_113",
|
|
8
|
+
"flash-header": "awsui_flash-header_1q84n_pgrle_113",
|
|
9
|
+
"flash-content": "awsui_flash-content_1q84n_pgrle_114",
|
|
10
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_pgrle_115",
|
|
11
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_pgrle_116",
|
|
12
|
+
"flash-icon": "awsui_flash-icon_1q84n_pgrle_139",
|
|
13
|
+
"entering": "awsui_entering_1q84n_pgrle_152",
|
|
14
|
+
"entered": "awsui_entered_1q84n_pgrle_173",
|
|
15
|
+
"exiting": "awsui_exiting_1q84n_pgrle_278",
|
|
16
|
+
"stack": "awsui_stack_1q84n_pgrle_300",
|
|
17
|
+
"animation-running": "awsui_animation-running_1q84n_pgrle_300",
|
|
18
|
+
"item": "awsui_item_1q84n_pgrle_300",
|
|
19
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_pgrle_301",
|
|
20
|
+
"notification-bar": "awsui_notification-bar_1q84n_pgrle_302",
|
|
21
|
+
"collapsed": "awsui_collapsed_1q84n_pgrle_322",
|
|
22
|
+
"animation-ready": "awsui_animation-ready_1q84n_pgrle_322",
|
|
23
|
+
"expanded-only": "awsui_expanded-only_1q84n_pgrle_322",
|
|
24
|
+
"expanded": "awsui_expanded_1q84n_pgrle_322",
|
|
25
|
+
"flash": "awsui_flash_1q84n_pgrle_99",
|
|
26
|
+
"collapsible": "awsui_collapsible_1q84n_pgrle_386",
|
|
27
|
+
"short-list": "awsui_short-list_1q84n_pgrle_392",
|
|
28
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_pgrle_392",
|
|
29
|
+
"status": "awsui_status_1q84n_pgrle_605",
|
|
30
|
+
"header": "awsui_header_1q84n_pgrle_605",
|
|
31
|
+
"item-count": "awsui_item-count_1q84n_pgrle_606",
|
|
32
|
+
"button": "awsui_button_1q84n_pgrle_607",
|
|
33
|
+
"type-count": "awsui_type-count_1q84n_pgrle_640",
|
|
34
|
+
"count-number": "awsui_count-number_1q84n_pgrle_640",
|
|
35
|
+
"icon": "awsui_icon_1q84n_pgrle_674",
|
|
36
|
+
"floating": "awsui_floating_1q84n_pgrle_715",
|
|
37
|
+
"flashbar": "awsui_flashbar_1q84n_pgrle_723",
|
|
38
|
+
"flash-refresh": "awsui_flash-refresh_1q84n_pgrle_798",
|
|
39
|
+
"flash-list": "awsui_flash-list_1q84n_pgrle_301",
|
|
40
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_pgrle_819",
|
|
41
|
+
"flash-text": "awsui_flash-text_1q84n_pgrle_849",
|
|
42
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_pgrle_116",
|
|
43
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_pgrle_891",
|
|
44
|
+
"action-button": "awsui_action-button_1q84n_pgrle_115",
|
|
45
|
+
"action-slot": "awsui_action-slot_1q84n_pgrle_901",
|
|
46
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_pgrle_905",
|
|
47
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_pgrle_909",
|
|
48
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_pgrle_913",
|
|
49
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_pgrle_914",
|
|
50
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_pgrle_918"
|
|
51
51
|
};
|
|
52
52
|
|