@cloudscape-design/components 3.0.685 → 3.0.687
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 +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- 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/visual-refresh/styles.css.js +82 -82
- package/app-layout/visual-refresh/styles.scoped.css +255 -255
- package/app-layout/visual-refresh/styles.selectors.js +82 -82
- package/app-layout/visual-refresh-toolbar/drawer/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.js +2 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +37 -37
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/app-layout/visual-refresh-toolbar/toolbar/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/button/interfaces.d.ts +1 -1
- package/button/interfaces.js.map +1 -1
- package/button-dropdown/item-element/index.js +1 -1
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +12 -11
- package/button-dropdown/item-element/styles.scoped.css +14 -14
- package/button-dropdown/item-element/styles.selectors.js +12 -11
- package/button-dropdown/tooltip.d.ts +2 -1
- package/button-dropdown/tooltip.d.ts.map +1 -1
- package/button-dropdown/tooltip.js +2 -2
- package/button-dropdown/tooltip.js.map +1 -1
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +0 -3
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +30 -31
- package/container/styles.scoped.css +54 -57
- package/container/styles.selectors.js +30 -31
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/icon/styles.css.js +38 -37
- package/icon/styles.scoped.css +82 -80
- package/icon/styles.selectors.js +38 -37
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +40 -40
- 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 +2 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +57 -55
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/key-value-pairs/index.d.ts +1 -1
- package/key-value-pairs/index.d.ts.map +1 -1
- package/key-value-pairs/index.js +2 -2
- package/key-value-pairs/index.js.map +1 -1
- package/key-value-pairs/interfaces.d.ts +11 -0
- package/key-value-pairs/interfaces.d.ts.map +1 -1
- package/key-value-pairs/interfaces.js.map +1 -1
- package/key-value-pairs/internal.d.ts.map +1 -1
- package/key-value-pairs/internal.js +2 -2
- package/key-value-pairs/internal.js.map +1 -1
- package/package.json +2 -1
- package/prompt-input/index.d.ts +6 -0
- package/prompt-input/index.d.ts.map +1 -0
- package/prompt-input/index.js +27 -0
- package/prompt-input/index.js.map +1 -0
- package/prompt-input/interfaces.d.ts +82 -0
- package/prompt-input/interfaces.d.ts.map +1 -0
- package/prompt-input/interfaces.js +2 -0
- package/prompt-input/interfaces.js.map +1 -0
- package/prompt-input/internal.d.ts +8 -0
- package/prompt-input/internal.d.ts.map +1 -0
- package/prompt-input/internal.js +109 -0
- package/prompt-input/internal.js.map +1 -0
- package/prompt-input/styles.css.js +13 -0
- package/prompt-input/styles.scoped.css +248 -0
- package/prompt-input/styles.selectors.js +14 -0
- package/prompt-input/test-classes/styles.css.js +8 -0
- package/prompt-input/test-classes/styles.scoped.css +15 -0
- package/prompt-input/test-classes/styles.selectors.js +9 -0
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +86 -86
- package/slider/styles.selectors.js +26 -26
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/bottom.d.ts.map +1 -1
- package/split-panel/bottom.js +3 -0
- package/split-panel/bottom.js.map +1 -1
- package/split-panel/styles.css.js +27 -26
- package/split-panel/styles.scoped.css +44 -41
- package/split-panel/styles.selectors.js +27 -26
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +10 -2
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/prompt-input/index.d.ts +18 -0
- package/test-utils/dom/prompt-input/index.js +49 -0
- package/test-utils/dom/prompt-input/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -2
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/prompt-input/index.d.ts +6 -0
- package/test-utils/selectors/prompt-input/index.js +15 -0
- package/test-utils/selectors/prompt-input/index.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -2,87 +2,87 @@
|
|
|
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
|
-
"breadcrumbs": "
|
|
8
|
-
"drawers-container": "awsui_drawers-
|
|
9
|
-
"has-open-drawer": "awsui_has-open-
|
|
10
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
11
|
-
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-
|
|
12
|
-
"has-multiple-triggers": "awsui_has-multiple-
|
|
13
|
-
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-
|
|
14
|
-
"drawers-trigger-content": "awsui_drawers-trigger-
|
|
15
|
-
"drawers-trigger-overflow": "awsui_drawers-trigger-
|
|
16
|
-
"drawers-trigger": "awsui_drawers-
|
|
17
|
-
"drawer": "
|
|
18
|
-
"drawer-content-container": "awsui_drawer-content-
|
|
19
|
-
"drawer-close-button": "awsui_drawer-close-
|
|
20
|
-
"drawer-content": "awsui_drawer-
|
|
21
|
-
"drawer-content-hidden": "awsui_drawer-content-
|
|
22
|
-
"drawer-slider": "awsui_drawer-
|
|
23
|
-
"is-drawer-open": "awsui_is-drawer-
|
|
24
|
-
"content": "
|
|
25
|
-
"layout": "
|
|
26
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
27
|
-
"content-type-dashboard": "awsui_content-type-
|
|
28
|
-
"content-type-table": "awsui_content-type-
|
|
29
|
-
"content-type-cards": "awsui_content-type-
|
|
30
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
31
|
-
"is-hide-mobile-toolbar": "awsui_is-hide-mobile-
|
|
32
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
33
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
34
|
-
"has-breadcrumbs": "awsui_has-
|
|
35
|
-
"content-first-child-header": "awsui_content-first-child-
|
|
36
|
-
"content-first-child-notifications": "awsui_content-first-child-
|
|
37
|
-
"has-header": "awsui_has-
|
|
38
|
-
"content-first-child-main": "awsui_content-first-child-
|
|
39
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
40
|
-
"has-left-toggles-gutter": "awsui_has-left-toggles-
|
|
41
|
-
"has-right-toggles-gutter": "awsui_has-right-toggles-
|
|
42
|
-
"has-split-panel": "awsui_has-split-
|
|
43
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
44
|
-
"block-body-scroll": "awsui_block-body-
|
|
45
|
-
"unfocusable": "
|
|
46
|
-
"container": "
|
|
47
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
48
|
-
"is-tools-open": "awsui_is-tools-
|
|
49
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
50
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
51
|
-
"has-active-drawer": "awsui_has-active-
|
|
52
|
-
"mobile-toolbar": "awsui_mobile-
|
|
53
|
-
"remove-high-contrast-header": "awsui_remove-high-contrast-
|
|
54
|
-
"mobile-toolbar-nav": "awsui_mobile-toolbar-
|
|
55
|
-
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-
|
|
56
|
-
"mobile-toolbar-tools": "awsui_mobile-toolbar-
|
|
57
|
-
"navigation-container": "awsui_navigation-
|
|
58
|
-
"show-navigation": "awsui_show-
|
|
59
|
-
"animating": "
|
|
60
|
-
"showButtons": "
|
|
61
|
-
"navigation": "
|
|
62
|
-
"openNavigation": "
|
|
63
|
-
"animated-content": "awsui_animated-
|
|
64
|
-
"hide-navigation": "awsui_hide-
|
|
65
|
-
"notifications": "
|
|
66
|
-
"has-notification-content": "awsui_has-notification-
|
|
67
|
-
"sticky-notifications": "awsui_sticky-
|
|
68
|
-
"high-contrast": "awsui_high-
|
|
69
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
70
|
-
"position-bottom": "awsui_position-
|
|
71
|
-
"openSplitPanelBottom": "
|
|
72
|
-
"split-panel-side": "awsui_split-panel-
|
|
73
|
-
"position-side": "awsui_position-
|
|
74
|
-
"tools-container": "awsui_tools-
|
|
75
|
-
"tools": "
|
|
76
|
-
"openTools": "
|
|
77
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
78
|
-
"hide-tools": "awsui_hide-
|
|
79
|
-
"show-tools": "awsui_show-
|
|
80
|
-
"has-tools-form": "awsui_has-tools-
|
|
81
|
-
"trigger-badge-wrapper": "awsui_trigger-badge-
|
|
82
|
-
"trigger": "
|
|
83
|
-
"selected": "
|
|
84
|
-
"badge": "
|
|
85
|
-
"trigger-wrapper": "awsui_trigger-
|
|
86
|
-
"dot": "
|
|
5
|
+
"background": "awsui_background_hyvsj_fae1z_97",
|
|
6
|
+
"scrolling-background": "awsui_scrolling-background_hyvsj_fae1z_100",
|
|
7
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_fae1z_111",
|
|
8
|
+
"drawers-container": "awsui_drawers-container_hyvsj_fae1z_124",
|
|
9
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_fae1z_135",
|
|
10
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_fae1z_156",
|
|
11
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_fae1z_161",
|
|
12
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_fae1z_202",
|
|
13
|
+
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_fae1z_212",
|
|
14
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_fae1z_217",
|
|
15
|
+
"drawers-trigger-overflow": "awsui_drawers-trigger-overflow_hyvsj_fae1z_231",
|
|
16
|
+
"drawers-trigger": "awsui_drawers-trigger_hyvsj_fae1z_217",
|
|
17
|
+
"drawer": "awsui_drawer_hyvsj_fae1z_124",
|
|
18
|
+
"drawer-content-container": "awsui_drawer-content-container_hyvsj_fae1z_262",
|
|
19
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_fae1z_271",
|
|
20
|
+
"drawer-content": "awsui_drawer-content_hyvsj_fae1z_262",
|
|
21
|
+
"drawer-content-hidden": "awsui_drawer-content-hidden_hyvsj_fae1z_279",
|
|
22
|
+
"drawer-slider": "awsui_drawer-slider_hyvsj_fae1z_282",
|
|
23
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_fae1z_289",
|
|
24
|
+
"content": "awsui_content_hyvsj_fae1z_315",
|
|
25
|
+
"layout": "awsui_layout_hyvsj_fae1z_336",
|
|
26
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_fae1z_408",
|
|
27
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_fae1z_423",
|
|
28
|
+
"content-type-table": "awsui_content-type-table_hyvsj_fae1z_437",
|
|
29
|
+
"content-type-cards": "awsui_content-type-cards_hyvsj_fae1z_437",
|
|
30
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_fae1z_443",
|
|
31
|
+
"is-hide-mobile-toolbar": "awsui_is-hide-mobile-toolbar_hyvsj_fae1z_446",
|
|
32
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_fae1z_460",
|
|
33
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_fae1z_463",
|
|
34
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_fae1z_473",
|
|
35
|
+
"content-first-child-header": "awsui_content-first-child-header_hyvsj_fae1z_476",
|
|
36
|
+
"content-first-child-notifications": "awsui_content-first-child-notifications_hyvsj_fae1z_476",
|
|
37
|
+
"has-header": "awsui_has-header_hyvsj_fae1z_476",
|
|
38
|
+
"content-first-child-main": "awsui_content-first-child-main_hyvsj_fae1z_491",
|
|
39
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_fae1z_491",
|
|
40
|
+
"has-left-toggles-gutter": "awsui_has-left-toggles-gutter_hyvsj_fae1z_511",
|
|
41
|
+
"has-right-toggles-gutter": "awsui_has-right-toggles-gutter_hyvsj_fae1z_514",
|
|
42
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_fae1z_534",
|
|
43
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_fae1z_534",
|
|
44
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_fae1z_542",
|
|
45
|
+
"unfocusable": "awsui_unfocusable_hyvsj_fae1z_547",
|
|
46
|
+
"container": "awsui_container_hyvsj_fae1z_557",
|
|
47
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_fae1z_583",
|
|
48
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_fae1z_586",
|
|
49
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_fae1z_586",
|
|
50
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_fae1z_586",
|
|
51
|
+
"has-active-drawer": "awsui_has-active-drawer_hyvsj_fae1z_586",
|
|
52
|
+
"mobile-toolbar": "awsui_mobile-toolbar_hyvsj_fae1z_595",
|
|
53
|
+
"remove-high-contrast-header": "awsui_remove-high-contrast-header_hyvsj_fae1z_612",
|
|
54
|
+
"mobile-toolbar-nav": "awsui_mobile-toolbar-nav_hyvsj_fae1z_616",
|
|
55
|
+
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-breadcrumbs_hyvsj_fae1z_620",
|
|
56
|
+
"mobile-toolbar-tools": "awsui_mobile-toolbar-tools_hyvsj_fae1z_624",
|
|
57
|
+
"navigation-container": "awsui_navigation-container_hyvsj_fae1z_633",
|
|
58
|
+
"show-navigation": "awsui_show-navigation_hyvsj_fae1z_671",
|
|
59
|
+
"animating": "awsui_animating_hyvsj_fae1z_694",
|
|
60
|
+
"showButtons": "awsui_showButtons_hyvsj_fae1z_1",
|
|
61
|
+
"navigation": "awsui_navigation_hyvsj_fae1z_633",
|
|
62
|
+
"openNavigation": "awsui_openNavigation_hyvsj_fae1z_1",
|
|
63
|
+
"animated-content": "awsui_animated-content_hyvsj_fae1z_756",
|
|
64
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_fae1z_765",
|
|
65
|
+
"notifications": "awsui_notifications_hyvsj_fae1z_775",
|
|
66
|
+
"has-notification-content": "awsui_has-notification-content_hyvsj_fae1z_780",
|
|
67
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_fae1z_784",
|
|
68
|
+
"high-contrast": "awsui_high-contrast_hyvsj_fae1z_789",
|
|
69
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_fae1z_807",
|
|
70
|
+
"position-bottom": "awsui_position-bottom_hyvsj_fae1z_854",
|
|
71
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_fae1z_1",
|
|
72
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_fae1z_883",
|
|
73
|
+
"position-side": "awsui_position-side_hyvsj_fae1z_896",
|
|
74
|
+
"tools-container": "awsui_tools-container_hyvsj_fae1z_918",
|
|
75
|
+
"tools": "awsui_tools_hyvsj_fae1z_918",
|
|
76
|
+
"openTools": "awsui_openTools_hyvsj_fae1z_1",
|
|
77
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_fae1z_1007",
|
|
78
|
+
"hide-tools": "awsui_hide-tools_hyvsj_fae1z_1017",
|
|
79
|
+
"show-tools": "awsui_show-tools_hyvsj_fae1z_1029",
|
|
80
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_fae1z_1007",
|
|
81
|
+
"trigger-badge-wrapper": "awsui_trigger-badge-wrapper_hyvsj_fae1z_1112",
|
|
82
|
+
"trigger": "awsui_trigger_hyvsj_fae1z_1112",
|
|
83
|
+
"selected": "awsui_selected_hyvsj_fae1z_1190",
|
|
84
|
+
"badge": "awsui_badge_hyvsj_fae1z_1210",
|
|
85
|
+
"trigger-wrapper": "awsui_trigger-wrapper_hyvsj_fae1z_1214",
|
|
86
|
+
"dot": "awsui_dot_hyvsj_fae1z_1225"
|
|
87
87
|
};
|
|
88
88
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/drawer/index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGnD,UAAU,kCAAkC;IAC1C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,wBAAgB,6BAA6B,CAAC,EAAE,kBAAkB,EAAE,EAAE,kCAAkC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/drawer/index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGnD,UAAU,kCAAkC;IAC1C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,wBAAgB,6BAA6B,CAAC,EAAE,kBAAkB,EAAE,EAAE,kCAAkC,eAgGvG;AAED,eAAO,MAAM,+BAA+B,qGAA2D,CAAC"}
|
|
@@ -41,7 +41,8 @@ export function AppLayoutDrawerImplementation({ appLayoutInternals }) {
|
|
|
41
41
|
blockSize: `calc(100vh - ${placement.insetBlockStart}px - ${placement.insetBlockEnd}px)`,
|
|
42
42
|
insetBlockStart: placement.insetBlockStart,
|
|
43
43
|
} },
|
|
44
|
-
!isMobile && (activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.resizable) && (React.createElement(
|
|
44
|
+
!isMobile && (activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.resizable) && (React.createElement("div", { className: styles['drawer-slider'] },
|
|
45
|
+
React.createElement(PanelResizeHandle, { ref: drawersFocusControl.refs.slider, position: "side", className: testutilStyles['drawers-slider'], ariaLabel: (_d = activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.ariaLabels) === null || _d === void 0 ? void 0 : _d.resizeHandle, ariaValuenow: resizeProps.relativeSize, onKeyDown: resizeProps.onKeyDown, onPointerDown: resizeProps.onPointerDown }))),
|
|
45
46
|
React.createElement("div", { className: styles['drawer-content-container'] },
|
|
46
47
|
React.createElement("div", { className: clsx(styles['drawer-close-button']) },
|
|
47
48
|
React.createElement(InternalButton, { ariaLabel: computedAriaLabels.closeButton, className: clsx({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/drawer/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAs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,cAAc,IACb,SAAS,EAAE,kBAAkB,CAAC,WAAW,EACzC,SAAS,EAAE,IAAI,CAAC;wBACd,CAAC,cAAc,CAAC,4BAA4B,CAAC,CAAC,EAAE,CAAC,aAAa,IAAI,cAAc;wBAChF,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,EAAE,aAAa;qBAC/C,CAAC,EACF,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,EAC5C,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,EACzC,GAAG,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,EACnC,OAAO,EAAC,MAAM,GACd,CACE;YACL,YAAY,IAAI,CACf,6BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,gBAAgB,CAAC,EACxB,cAAc,KAAK,eAAe,IAAI,MAAM,CAAC,uBAAuB,CAAC,CACtE,IAEA,YAAY,CACT,CACP;YACA,cAAc,KAAK,eAAe,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,IAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,CAAO,CAC1G,CACA,CACT,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,+BAA+B,GAAG,yBAAyB,CAAC,6BAA6B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../../../button/internal';\nimport styles from './styles.css.js';\nimport sharedStyles from '../../styles.css.js';\nimport testutilStyles from '../../test-classes/styles.css.js';\nimport { TOOLS_DRAWER_ID } from '../../utils/use-drawers';\nimport PanelResizeHandle from '../../../internal/components/panel-resize-handle';\nimport { createWidgetizedComponent } from '../../../internal/widgets';\nimport { AppLayoutInternals } from '../interfaces';\nimport { useResize } from './use-resize';\n\ninterface AppLayoutDrawerImplementationProps {\n appLayoutInternals: AppLayoutInternals;\n}\n\nexport function AppLayoutDrawerImplementation({ appLayoutInternals }: AppLayoutDrawerImplementationProps) {\n const {\n activeDrawer,\n minDrawerSize,\n activeDrawerSize,\n maxDrawerSize,\n ariaLabels,\n drawers,\n drawersFocusControl,\n isMobile,\n placement,\n onActiveDrawerChange,\n onActiveDrawerResize,\n } = appLayoutInternals;\n const drawerRef = useRef<HTMLDivElement>(null);\n const activeDrawerId = activeDrawer?.id;\n\n const computedAriaLabels = {\n closeButton: activeDrawer ? activeDrawer.ariaLabels?.closeButton : ariaLabels?.toolsClose,\n content: activeDrawer ? activeDrawer.ariaLabels?.drawerName : ariaLabels?.tools,\n };\n\n const isToolsDrawer = activeDrawer?.id === TOOLS_DRAWER_ID;\n const toolsOnlyMode = drawers.length === 1 && drawers[0].id === TOOLS_DRAWER_ID;\n const toolsContent = drawers?.find(drawer => drawer.id === TOOLS_DRAWER_ID)?.content;\n const resizeProps = useResize({\n currentWidth: activeDrawerSize,\n minWidth: minDrawerSize,\n maxWidth: maxDrawerSize,\n panelRef: drawerRef,\n handleRef: drawersFocusControl.refs.slider,\n onResize: size => onActiveDrawerResize({ id: activeDrawerId!, size }),\n });\n\n return (\n <aside\n id={activeDrawerId}\n aria-hidden={!activeDrawer}\n aria-label={computedAriaLabels.content}\n className={clsx(styles.drawer, sharedStyles['with-motion'], {\n [testutilStyles['active-drawer']]: !toolsOnlyMode && activeDrawerId,\n [testutilStyles.tools]: isToolsDrawer,\n })}\n ref={drawerRef}\n onBlur={e => {\n if (!e.relatedTarget || !e.currentTarget.contains(e.relatedTarget)) {\n drawersFocusControl.loseFocus();\n }\n }}\n style={{\n blockSize: `calc(100vh - ${placement.insetBlockStart}px - ${placement.insetBlockEnd}px)`,\n insetBlockStart: placement.insetBlockStart,\n }}\n >\n {!isMobile && activeDrawer?.resizable && (\n <div className={styles['drawer-slider']}>\n <PanelResizeHandle\n ref={drawersFocusControl.refs.slider}\n position=\"side\"\n className={testutilStyles['drawers-slider']}\n ariaLabel={activeDrawer?.ariaLabels?.resizeHandle}\n ariaValuenow={resizeProps.relativeSize}\n onKeyDown={resizeProps.onKeyDown}\n onPointerDown={resizeProps.onPointerDown}\n />\n </div>\n )}\n <div className={styles['drawer-content-container']}>\n <div className={clsx(styles['drawer-close-button'])}>\n <InternalButton\n ariaLabel={computedAriaLabels.closeButton}\n className={clsx({\n [testutilStyles['active-drawer-close-button']]: !isToolsDrawer && activeDrawerId,\n [testutilStyles['tools-close']]: isToolsDrawer,\n })}\n formAction=\"none\"\n iconName={isMobile ? 'close' : 'angle-right'}\n onClick={() => onActiveDrawerChange(null)}\n ref={drawersFocusControl.refs.close}\n variant=\"icon\"\n />\n </div>\n {toolsContent && (\n <div\n className={clsx(\n styles['drawer-content'],\n activeDrawerId !== TOOLS_DRAWER_ID && styles['drawer-content-hidden']\n )}\n >\n {toolsContent}\n </div>\n )}\n {activeDrawerId !== TOOLS_DRAWER_ID && <div className={styles['drawer-content']}>{activeDrawer?.content}</div>}\n </div>\n </aside>\n );\n}\n\nexport const createWidgetizedAppLayoutDrawer = createWidgetizedComponent(AppLayoutDrawerImplementation);\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"navigation": "
|
|
5
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
6
|
-
"animating": "
|
|
7
|
-
"openNavigation": "
|
|
8
|
-
"animated-content": "awsui_animated-
|
|
9
|
-
"hide-navigation": "awsui_hide-
|
|
4
|
+
"navigation": "awsui_navigation_2p2ab_23w7n_97",
|
|
5
|
+
"is-navigation-open": "awsui_is-navigation-open_2p2ab_23w7n_125",
|
|
6
|
+
"animating": "awsui_animating_2p2ab_23w7n_129",
|
|
7
|
+
"openNavigation": "awsui_openNavigation_2p2ab_23w7n_1",
|
|
8
|
+
"animated-content": "awsui_animated-content_2p2ab_23w7n_142",
|
|
9
|
+
"hide-navigation": "awsui_hide-navigation_2p2ab_23w7n_151"
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_navigation_2p2ab_23w7n_97:not(#\9) {
|
|
98
98
|
position: sticky;
|
|
99
99
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
100
100
|
inset-block-end: 0;
|
|
@@ -112,43 +112,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
112
112
|
prevent unwanted text wrapping.
|
|
113
113
|
*/
|
|
114
114
|
}
|
|
115
|
-
@keyframes
|
|
115
|
+
@keyframes awsui_openNavigation_2p2ab_23w7n_1 {
|
|
116
116
|
from {
|
|
117
117
|
opacity: 0;
|
|
118
118
|
inline-size: calc(var(--space-layout-toggle-padding-lcu6qi, 12px) * 2 + var(--space-layout-toggle-diameter-hb85rk, 36px));
|
|
119
119
|
}
|
|
120
120
|
to {
|
|
121
121
|
opacity: 1;
|
|
122
|
-
inline-size: var(--awsui-navigation-width-
|
|
122
|
+
inline-size: var(--awsui-navigation-width-g964ok);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
.
|
|
125
|
+
.awsui_navigation_2p2ab_23w7n_97:not(#\9):not(.awsui_is-navigation-open_2p2ab_23w7n_125) {
|
|
126
126
|
inline-size: 0;
|
|
127
127
|
display: none;
|
|
128
128
|
}
|
|
129
|
-
.
|
|
130
|
-
animation:
|
|
129
|
+
.awsui_navigation_2p2ab_23w7n_97.awsui_is-navigation-open_2p2ab_23w7n_125.awsui_animating_2p2ab_23w7n_129:not(#\9) {
|
|
130
|
+
animation: awsui_openNavigation_2p2ab_23w7n_1 var(--motion-duration-refresh-only-fast-4jn2d7, 115ms);
|
|
131
131
|
}
|
|
132
132
|
@media (prefers-reduced-motion: reduce) {
|
|
133
|
-
.
|
|
133
|
+
.awsui_navigation_2p2ab_23w7n_97.awsui_is-navigation-open_2p2ab_23w7n_125.awsui_animating_2p2ab_23w7n_129:not(#\9) {
|
|
134
134
|
animation: none;
|
|
135
135
|
transition: none;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.awsui-motion-disabled .
|
|
138
|
+
.awsui-motion-disabled .awsui_navigation_2p2ab_23w7n_97.awsui_is-navigation-open_2p2ab_23w7n_125.awsui_animating_2p2ab_23w7n_129:not(#\9), .awsui-mode-entering .awsui_navigation_2p2ab_23w7n_97.awsui_is-navigation-open_2p2ab_23w7n_125.awsui_animating_2p2ab_23w7n_129:not(#\9) {
|
|
139
139
|
animation: none;
|
|
140
140
|
transition: none;
|
|
141
141
|
}
|
|
142
|
-
.
|
|
143
|
-
inline-size: var(--awsui-navigation-width-
|
|
142
|
+
.awsui_navigation_2p2ab_23w7n_97 > .awsui_animated-content_2p2ab_23w7n_142:not(#\9) {
|
|
143
|
+
inline-size: var(--awsui-navigation-width-g964ok);
|
|
144
144
|
}
|
|
145
145
|
@media (max-width: 688px) {
|
|
146
|
-
.
|
|
147
|
-
--awsui-navigation-width-
|
|
146
|
+
.awsui_navigation_2p2ab_23w7n_97:not(#\9) {
|
|
147
|
+
--awsui-navigation-width-g964ok: 100vw;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.awsui_hide-
|
|
151
|
+
.awsui_hide-navigation_2p2ab_23w7n_151:not(#\9) {
|
|
152
152
|
position: absolute;
|
|
153
153
|
inset-inline-end: var(--space-m-udix3p, 16px);
|
|
154
154
|
inset-block-start: var(--size-vertical-panel-icon-offset-wy8j08, 15px);
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"navigation": "
|
|
6
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
7
|
-
"animating": "
|
|
8
|
-
"openNavigation": "
|
|
9
|
-
"animated-content": "awsui_animated-
|
|
10
|
-
"hide-navigation": "awsui_hide-
|
|
5
|
+
"navigation": "awsui_navigation_2p2ab_23w7n_97",
|
|
6
|
+
"is-navigation-open": "awsui_is-navigation-open_2p2ab_23w7n_125",
|
|
7
|
+
"animating": "awsui_animating_2p2ab_23w7n_129",
|
|
8
|
+
"openNavigation": "awsui_openNavigation_2p2ab_23w7n_1",
|
|
9
|
+
"animated-content": "awsui_animated-content_2p2ab_23w7n_142",
|
|
10
|
+
"hide-navigation": "awsui_hide-navigation_2p2ab_23w7n_151"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
6
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
7
|
-
"navigation": "
|
|
8
|
-
"tools": "
|
|
9
|
-
"split-panel-side": "awsui_split-panel-
|
|
10
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
11
|
-
"panel-hidden": "awsui_panel-
|
|
12
|
-
"toolbar-container": "awsui_toolbar-
|
|
13
|
-
"notifications-container": "awsui_notifications-
|
|
14
|
-
"main-landmark": "awsui_main-
|
|
15
|
-
"main": "
|
|
16
|
-
"main-disable-paddings": "awsui_main-disable-
|
|
17
|
-
"content-header": "awsui_content-
|
|
18
|
-
"content": "
|
|
19
|
-
"unfocusable-mobile": "awsui_unfocusable-
|
|
4
|
+
"root": "awsui_root_7nfqu_1qo46_101",
|
|
5
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_1qo46_150",
|
|
6
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_1qo46_165",
|
|
7
|
+
"navigation": "awsui_navigation_7nfqu_1qo46_180",
|
|
8
|
+
"tools": "awsui_tools_7nfqu_1qo46_181",
|
|
9
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_1qo46_205",
|
|
10
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_1qo46_211",
|
|
11
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_1qo46_224",
|
|
12
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_1qo46_228",
|
|
13
|
+
"notifications-container": "awsui_notifications-container_7nfqu_1qo46_234",
|
|
14
|
+
"main-landmark": "awsui_main-landmark_7nfqu_1qo46_241",
|
|
15
|
+
"main": "awsui_main_7nfqu_1qo46_241",
|
|
16
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_1qo46_250",
|
|
17
|
+
"content-header": "awsui_content-header_7nfqu_1qo46_260",
|
|
18
|
+
"content": "awsui_content_7nfqu_1qo46_260",
|
|
19
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_1qo46_269"
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -98,7 +98,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
98
98
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
99
|
SPDX-License-Identifier: Apache-2.0
|
|
100
100
|
*/
|
|
101
|
-
.
|
|
101
|
+
.awsui_root_7nfqu_1qo46_101:not(#\9) {
|
|
102
102
|
border-collapse: separate;
|
|
103
103
|
border-spacing: 0;
|
|
104
104
|
box-sizing: border-box;
|
|
@@ -134,52 +134,52 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
134
134
|
-moz-osx-font-smoothing: auto;
|
|
135
135
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
136
136
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
137
|
-
--awsui-max-content-width-
|
|
137
|
+
--awsui-max-content-width-g964ok: 100%;
|
|
138
138
|
display: grid;
|
|
139
139
|
grid-template-areas: "topBar topBar topBar" ". notifications ." ". main .";
|
|
140
140
|
grid-template-columns: var(--space-layout-content-horizontal-7l52k3, 24px) 1fr var(--space-layout-content-horizontal-7l52k3, 24px);
|
|
141
141
|
grid-template-rows: min-content min-content 1fr;
|
|
142
142
|
}
|
|
143
143
|
@media (min-width: 689px) {
|
|
144
|
-
.
|
|
144
|
+
.awsui_root_7nfqu_1qo46_101:not(#\9) {
|
|
145
145
|
grid-template-areas: "navigation toolbar toolbar toolbar toolbar tools" "navigation . notifications . sideSplitPanel tools" "navigation . main . sideSplitPanel tools";
|
|
146
|
-
grid-template-columns: min-content minmax(var(--space-layout-content-horizontal-7l52k3, 24px), 1fr) minmax(0, var(--awsui-max-content-width-
|
|
146
|
+
grid-template-columns: min-content minmax(var(--space-layout-content-horizontal-7l52k3, 24px), 1fr) minmax(0, var(--awsui-max-content-width-g964ok)) minmax(var(--space-layout-content-horizontal-7l52k3, 24px), 1fr) min-content min-content;
|
|
147
147
|
grid-template-rows: min-content min-content 1fr min-content;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
@media (min-width: 689px) and (min-width: 1401px) {
|
|
151
|
-
.
|
|
152
|
-
--awsui-max-content-width-
|
|
151
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-default_7nfqu_1qo46_150:not(#\9) {
|
|
152
|
+
--awsui-max-content-width-g964ok: 1280px;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
@media (min-width: 689px) and (min-width: 1921px) {
|
|
156
|
-
.
|
|
157
|
-
--awsui-max-content-width-
|
|
156
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-default_7nfqu_1qo46_150:not(#\9) {
|
|
157
|
+
--awsui-max-content-width-g964ok: 1440px;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
@media (min-width: 689px) and (min-width: 2541px) {
|
|
161
|
-
.
|
|
162
|
-
--awsui-max-content-width-
|
|
161
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-default_7nfqu_1qo46_150:not(#\9) {
|
|
162
|
+
--awsui-max-content-width-g964ok: 1620px;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
@media (min-width: 689px) and (min-width: 1401px) {
|
|
166
|
-
.
|
|
167
|
-
--awsui-max-content-width-
|
|
166
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-dashboard_7nfqu_1qo46_165:not(#\9) {
|
|
167
|
+
--awsui-max-content-width-g964ok: 1280px;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
@media (min-width: 689px) and (min-width: 1921px) {
|
|
171
|
-
.
|
|
172
|
-
--awsui-max-content-width-
|
|
171
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-dashboard_7nfqu_1qo46_165:not(#\9) {
|
|
172
|
+
--awsui-max-content-width-g964ok: 1620px;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
@media (min-width: 689px) and (min-width: 2541px) {
|
|
176
|
-
.
|
|
177
|
-
--awsui-max-content-width-
|
|
176
|
+
.awsui_root_7nfqu_1qo46_101.awsui_has-adaptive-widths-dashboard_7nfqu_1qo46_165:not(#\9) {
|
|
177
|
+
--awsui-max-content-width-g964ok: 2160px;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.
|
|
182
|
-
.
|
|
181
|
+
.awsui_navigation_7nfqu_1qo46_180:not(#\9),
|
|
182
|
+
.awsui_tools_7nfqu_1qo46_181:not(#\9) {
|
|
183
183
|
grid-row: 1/-1;
|
|
184
184
|
grid-column: 1/-1;
|
|
185
185
|
background: var(--color-background-container-content-4un1ap, #ffffff);
|
|
@@ -187,29 +187,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
@media (min-width: 689px) {
|
|
190
|
-
.
|
|
190
|
+
.awsui_navigation_7nfqu_1qo46_180:not(#\9) {
|
|
191
191
|
grid-area: navigation;
|
|
192
|
-
inline-size: var(--awsui-navigation-width-
|
|
192
|
+
inline-size: var(--awsui-navigation-width-g964ok);
|
|
193
193
|
border-inline-end: 1px solid var(--color-border-divider-panel-side-93n0qu, #b6bec9);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
@media (min-width: 689px) {
|
|
198
|
-
.
|
|
198
|
+
.awsui_tools_7nfqu_1qo46_181:not(#\9) {
|
|
199
199
|
grid-area: tools;
|
|
200
|
-
inline-size: var(--awsui-tools-width-
|
|
200
|
+
inline-size: var(--awsui-tools-width-g964ok);
|
|
201
201
|
border-inline-start: 1px solid var(--color-border-divider-panel-side-93n0qu, #b6bec9);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
@media (min-width: 689px) {
|
|
206
|
-
.awsui_split-panel-
|
|
206
|
+
.awsui_split-panel-side_7nfqu_1qo46_205:not(#\9) {
|
|
207
207
|
grid-area: sideSplitPanel;
|
|
208
208
|
border-inline-start: 1px solid var(--color-border-divider-panel-side-93n0qu, #b6bec9);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.awsui_split-panel-
|
|
212
|
+
.awsui_split-panel-bottom_7nfqu_1qo46_211:not(#\9) {
|
|
213
213
|
position: sticky;
|
|
214
214
|
z-index: 840;
|
|
215
215
|
align-self: end;
|
|
@@ -217,61 +217,61 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
217
217
|
grid-column: 1/-1;
|
|
218
218
|
}
|
|
219
219
|
@media (min-width: 689px) {
|
|
220
|
-
.awsui_split-panel-
|
|
220
|
+
.awsui_split-panel-bottom_7nfqu_1qo46_211:not(#\9) {
|
|
221
221
|
grid-column: 2/span 3;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
.awsui_panel-
|
|
225
|
+
.awsui_panel-hidden_7nfqu_1qo46_224:not(#\9) {
|
|
226
226
|
display: none;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.awsui_toolbar-
|
|
229
|
+
.awsui_toolbar-container_7nfqu_1qo46_228:not(#\9) {
|
|
230
230
|
grid-area: toolbar;
|
|
231
231
|
block-size: 48px;
|
|
232
232
|
border-block-end: 1px solid var(--color-border-divider-panel-bottom-dwyqvg, #b6bec9);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.awsui_notifications-
|
|
235
|
+
.awsui_notifications-container_7nfqu_1qo46_234:not(#\9) {
|
|
236
236
|
grid-area: notifications;
|
|
237
237
|
}
|
|
238
|
-
.awsui_notifications-
|
|
238
|
+
.awsui_notifications-container_7nfqu_1qo46_234:not(#\9):not(:empty) {
|
|
239
239
|
padding-block-start: var(--space-scaled-xs-26e2du, 8px);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
.awsui_main-
|
|
242
|
+
.awsui_main-landmark_7nfqu_1qo46_241:not(#\9) {
|
|
243
243
|
display: contents;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.
|
|
246
|
+
.awsui_main_7nfqu_1qo46_241:not(#\9) {
|
|
247
247
|
grid-area: main;
|
|
248
248
|
margin-block-start: var(--space-scaled-s-aqzyko, 12px);
|
|
249
249
|
margin-block-end: var(--space-layout-content-bottom-noqzmw, 40px);
|
|
250
250
|
}
|
|
251
|
-
.awsui_main-disable-
|
|
251
|
+
.awsui_main-disable-paddings_7nfqu_1qo46_250:not(#\9) {
|
|
252
252
|
grid-column: 1/-1;
|
|
253
253
|
margin-block: 0;
|
|
254
254
|
}
|
|
255
255
|
@media (min-width: 689px) {
|
|
256
|
-
.awsui_main-disable-
|
|
256
|
+
.awsui_main-disable-paddings_7nfqu_1qo46_250:not(#\9) {
|
|
257
257
|
grid-column: 2/span 3;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.awsui_content-
|
|
261
|
+
.awsui_content-header_7nfqu_1qo46_260:not(#\9) {
|
|
262
262
|
margin-block-end: var(--space-content-header-padding-bottom-y2enua, 16px);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
.
|
|
265
|
+
.awsui_content_7nfqu_1qo46_260:not(#\9) {
|
|
266
266
|
display: contents;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
|
|
270
|
-
.awsui_unfocusable-
|
|
270
|
+
.awsui_unfocusable-mobile_7nfqu_1qo46_269 *:not(#\9) {
|
|
271
271
|
visibility: hidden;
|
|
272
272
|
}
|
|
273
273
|
@media (min-width: 689px) {
|
|
274
|
-
.awsui_unfocusable-
|
|
274
|
+
.awsui_unfocusable-mobile_7nfqu_1qo46_269 *:not(#\9) {
|
|
275
275
|
visibility: visible;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
@@ -2,21 +2,21 @@
|
|
|
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
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
7
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
8
|
-
"navigation": "
|
|
9
|
-
"tools": "
|
|
10
|
-
"split-panel-side": "awsui_split-panel-
|
|
11
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
12
|
-
"panel-hidden": "awsui_panel-
|
|
13
|
-
"toolbar-container": "awsui_toolbar-
|
|
14
|
-
"notifications-container": "awsui_notifications-
|
|
15
|
-
"main-landmark": "awsui_main-
|
|
16
|
-
"main": "
|
|
17
|
-
"main-disable-paddings": "awsui_main-disable-
|
|
18
|
-
"content-header": "awsui_content-
|
|
19
|
-
"content": "
|
|
20
|
-
"unfocusable-mobile": "awsui_unfocusable-
|
|
5
|
+
"root": "awsui_root_7nfqu_1qo46_101",
|
|
6
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_1qo46_150",
|
|
7
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_1qo46_165",
|
|
8
|
+
"navigation": "awsui_navigation_7nfqu_1qo46_180",
|
|
9
|
+
"tools": "awsui_tools_7nfqu_1qo46_181",
|
|
10
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_1qo46_205",
|
|
11
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_1qo46_211",
|
|
12
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_1qo46_224",
|
|
13
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_1qo46_228",
|
|
14
|
+
"notifications-container": "awsui_notifications-container_7nfqu_1qo46_234",
|
|
15
|
+
"main-landmark": "awsui_main-landmark_7nfqu_1qo46_241",
|
|
16
|
+
"main": "awsui_main_7nfqu_1qo46_241",
|
|
17
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_1qo46_250",
|
|
18
|
+
"content-header": "awsui_content-header_7nfqu_1qo46_260",
|
|
19
|
+
"content": "awsui_content_7nfqu_1qo46_260",
|
|
20
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_1qo46_269"
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -14,7 +14,7 @@ export function AppLayoutToolbarImplementation({ appLayoutInternals }) {
|
|
|
14
14
|
var _a, _b;
|
|
15
15
|
const { ariaLabels, breadcrumbs, discoveredBreadcrumbs, activeDrawer, drawers, drawersFocusControl, setToolbarHeight, verticalOffsets, onNavigationToggle, isMobile, toolbarState, setToolbarState, navigationOpen, navigation, navigationFocusControl, splitPanelControlId, splitPanelPosition, splitPanelToggleConfig, splitPanelFocusControl, onSplitPanelToggle, splitPanelOpen, onActiveDrawerChange, } = appLayoutInternals;
|
|
16
16
|
// TODO: expose configuration property
|
|
17
|
-
const pinnedToolbar =
|
|
17
|
+
const pinnedToolbar = true;
|
|
18
18
|
const ref = useRef(null);
|
|
19
19
|
useResizeObserver(ref, entry => setToolbarHeight(entry.borderBoxHeight));
|
|
20
20
|
useEffect(() => {
|