@cloudscape-design/components-themeable 3.0.1313 → 3.0.1315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/action-card/styles.scss +4 -0
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +4 -3
- package/lib/internal/scss/app-layout/visual-refresh/tools.scss +2 -1
- package/lib/internal/scss/breadcrumb-group/item/styles.scss +7 -0
- package/lib/internal/scss/breadcrumb-group/styles.scss +7 -0
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +2 -1
- package/lib/internal/scss/button-dropdown/styles.scss +16 -15
- package/lib/internal/scss/expandable-section/styles.scss +3 -2
- package/lib/internal/scss/internal/components/button-trigger/styles.scss +3 -2
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/status-indicator/styles.scss +13 -4
- package/lib/internal/scss/tree-view/tree-item/styles.scss +2 -1
- package/lib/internal/template/action-card/styles.css.js +17 -17
- package/lib/internal/template/action-card/styles.scoped.css +94 -91
- package/lib/internal/template/action-card/styles.selectors.js +17 -17
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.js +0 -3
- package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -87
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +167 -167
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -87
- package/lib/internal/template/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js +0 -2
- package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +29 -25
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/breadcrumb-group/styles.css.js +14 -14
- package/lib/internal/template/breadcrumb-group/styles.scoped.css +27 -24
- package/lib/internal/template/breadcrumb-group/styles.selectors.js +14 -14
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +1 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +18 -19
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +29 -29
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +18 -19
- package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal.js +2 -2
- package/lib/internal/template/button-dropdown/internal.js.map +1 -1
- package/lib/internal/template/button-dropdown/styles.css.js +22 -23
- package/lib/internal/template/button-dropdown/styles.scoped.css +36 -36
- package/lib/internal/template/button-dropdown/styles.selectors.js +22 -23
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +3 -3
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/styles.css.js +35 -36
- package/lib/internal/template/expandable-section/styles.scoped.css +70 -70
- package/lib/internal/template/expandable-section/styles.selectors.js +35 -36
- package/lib/internal/template/internal/base-component/styles.scoped.css +6 -1
- package/lib/internal/template/internal/components/button-trigger/index.js +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +14 -15
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +31 -31
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +14 -15
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +33 -0
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +9 -0
- package/lib/internal/template/internal/generated/theming/index.d.ts +9 -0
- package/lib/internal/template/internal/generated/theming/index.js +33 -0
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +2 -2
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/lib/internal/template/status-indicator/styles.css.js +24 -25
- package/lib/internal/template/status-indicator/styles.scoped.css +55 -50
- package/lib/internal/template/status-indicator/styles.selectors.js +24 -25
- package/lib/internal/template/tree-view/tree-item/index.d.ts.map +1 -1
- package/lib/internal/template/tree-view/tree-item/index.js +1 -2
- package/lib/internal/template/tree-view/tree-item/index.js.map +1 -1
- package/lib/internal/template/tree-view/tree-item/styles.css.js +9 -10
- package/lib/internal/template/tree-view/tree-item/styles.scoped.css +18 -14
- package/lib/internal/template/tree-view/tree-item/styles.selectors.js +9 -10
- package/package.json +1 -1
|
@@ -2,92 +2,91 @@
|
|
|
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
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"drawers-
|
|
15
|
-
"drawers-trigger-
|
|
16
|
-
"drawers-trigger
|
|
17
|
-
"
|
|
18
|
-
"drawer": "
|
|
19
|
-
"drawer-
|
|
20
|
-
"drawer-
|
|
21
|
-
"drawer-content": "awsui_drawer-
|
|
22
|
-
"drawer-
|
|
23
|
-
"drawer-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"content-type-
|
|
29
|
-
"content-type-
|
|
30
|
-
"
|
|
31
|
-
"is-
|
|
32
|
-
"
|
|
33
|
-
"has-content-gap-
|
|
34
|
-
"has-
|
|
35
|
-
"
|
|
36
|
-
"content-first-child-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"content-
|
|
40
|
-
"
|
|
41
|
-
"has-
|
|
42
|
-
"has-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"is-
|
|
49
|
-
"is-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"mobile-toolbar-
|
|
56
|
-
"mobile-toolbar-
|
|
57
|
-
"
|
|
58
|
-
"navigation
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"tools
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"trigger-
|
|
84
|
-
"trigger
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"trigger-wrapper": "awsui_trigger-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"trigger-tooltip": "awsui_trigger-tooltip_hyvsj_7dhc2_1305"
|
|
5
|
+
"background": "awsui_background_hyvsj_gfdg1_149",
|
|
6
|
+
"scrolling-background": "awsui_scrolling-background_hyvsj_gfdg1_152",
|
|
7
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_gfdg1_163",
|
|
8
|
+
"drawers-container": "awsui_drawers-container_hyvsj_gfdg1_176",
|
|
9
|
+
"has-open-drawer": "awsui_has-open-drawer_hyvsj_gfdg1_187",
|
|
10
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_gfdg1_211",
|
|
11
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_gfdg1_216",
|
|
12
|
+
"has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_gfdg1_254",
|
|
13
|
+
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_gfdg1_267",
|
|
14
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_gfdg1_272",
|
|
15
|
+
"drawers-trigger-overflow": "awsui_drawers-trigger-overflow_hyvsj_gfdg1_286",
|
|
16
|
+
"drawers-trigger": "awsui_drawers-trigger_hyvsj_gfdg1_272",
|
|
17
|
+
"drawer": "awsui_drawer_hyvsj_gfdg1_176",
|
|
18
|
+
"drawer-content-container": "awsui_drawer-content-container_hyvsj_gfdg1_320",
|
|
19
|
+
"drawer-close-button": "awsui_drawer-close-button_hyvsj_gfdg1_329",
|
|
20
|
+
"drawer-content": "awsui_drawer-content_hyvsj_gfdg1_320",
|
|
21
|
+
"drawer-content-hidden": "awsui_drawer-content-hidden_hyvsj_gfdg1_338",
|
|
22
|
+
"drawer-slider": "awsui_drawer-slider_hyvsj_gfdg1_341",
|
|
23
|
+
"is-drawer-open": "awsui_is-drawer-open_hyvsj_gfdg1_349",
|
|
24
|
+
"content": "awsui_content_hyvsj_gfdg1_375",
|
|
25
|
+
"layout": "awsui_layout_hyvsj_gfdg1_400",
|
|
26
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_gfdg1_472",
|
|
27
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_gfdg1_487",
|
|
28
|
+
"content-type-table": "awsui_content-type-table_hyvsj_gfdg1_501",
|
|
29
|
+
"content-type-cards": "awsui_content-type-cards_hyvsj_gfdg1_501",
|
|
30
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_gfdg1_507",
|
|
31
|
+
"is-hide-mobile-toolbar": "awsui_is-hide-mobile-toolbar_hyvsj_gfdg1_510",
|
|
32
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_gfdg1_524",
|
|
33
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_gfdg1_527",
|
|
34
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_gfdg1_537",
|
|
35
|
+
"content-first-child-header": "awsui_content-first-child-header_hyvsj_gfdg1_540",
|
|
36
|
+
"content-first-child-notifications": "awsui_content-first-child-notifications_hyvsj_gfdg1_540",
|
|
37
|
+
"has-header": "awsui_has-header_hyvsj_gfdg1_540",
|
|
38
|
+
"content-first-child-main": "awsui_content-first-child-main_hyvsj_gfdg1_555",
|
|
39
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_gfdg1_555",
|
|
40
|
+
"has-left-toggles-gutter": "awsui_has-left-toggles-gutter_hyvsj_gfdg1_575",
|
|
41
|
+
"has-right-toggles-gutter": "awsui_has-right-toggles-gutter_hyvsj_gfdg1_578",
|
|
42
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_gfdg1_598",
|
|
43
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_gfdg1_598",
|
|
44
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_gfdg1_606",
|
|
45
|
+
"unfocusable": "awsui_unfocusable_hyvsj_gfdg1_611",
|
|
46
|
+
"container": "awsui_container_hyvsj_gfdg1_621",
|
|
47
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_gfdg1_647",
|
|
48
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_gfdg1_650",
|
|
49
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_gfdg1_650",
|
|
50
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_gfdg1_650",
|
|
51
|
+
"has-active-drawer": "awsui_has-active-drawer_hyvsj_gfdg1_650",
|
|
52
|
+
"mobile-toolbar": "awsui_mobile-toolbar_hyvsj_gfdg1_663",
|
|
53
|
+
"remove-high-contrast-header": "awsui_remove-high-contrast-header_hyvsj_gfdg1_680",
|
|
54
|
+
"mobile-toolbar-nav": "awsui_mobile-toolbar-nav_hyvsj_gfdg1_684",
|
|
55
|
+
"mobile-toolbar-breadcrumbs": "awsui_mobile-toolbar-breadcrumbs_hyvsj_gfdg1_688",
|
|
56
|
+
"mobile-toolbar-tools": "awsui_mobile-toolbar-tools_hyvsj_gfdg1_692",
|
|
57
|
+
"navigation-container": "awsui_navigation-container_hyvsj_gfdg1_701",
|
|
58
|
+
"show-navigation": "awsui_show-navigation_hyvsj_gfdg1_739",
|
|
59
|
+
"animating": "awsui_animating_hyvsj_gfdg1_762",
|
|
60
|
+
"showButtons": "awsui_showButtons_hyvsj_gfdg1_1",
|
|
61
|
+
"navigation": "awsui_navigation_hyvsj_gfdg1_701",
|
|
62
|
+
"openNavigation": "awsui_openNavigation_hyvsj_gfdg1_1",
|
|
63
|
+
"animated-content": "awsui_animated-content_hyvsj_gfdg1_826",
|
|
64
|
+
"content-container": "awsui_content-container_hyvsj_gfdg1_829",
|
|
65
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_gfdg1_838",
|
|
66
|
+
"notifications": "awsui_notifications_hyvsj_gfdg1_848",
|
|
67
|
+
"has-notification-content": "awsui_has-notification-content_hyvsj_gfdg1_853",
|
|
68
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_gfdg1_857",
|
|
69
|
+
"high-contrast": "awsui_high-contrast_hyvsj_gfdg1_862",
|
|
70
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_gfdg1_880",
|
|
71
|
+
"position-bottom": "awsui_position-bottom_hyvsj_gfdg1_927",
|
|
72
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_gfdg1_1",
|
|
73
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_gfdg1_956",
|
|
74
|
+
"position-side": "awsui_position-side_hyvsj_gfdg1_969",
|
|
75
|
+
"tools-container": "awsui_tools-container_hyvsj_gfdg1_991",
|
|
76
|
+
"tools": "awsui_tools_hyvsj_gfdg1_991",
|
|
77
|
+
"openTools": "awsui_openTools_hyvsj_gfdg1_1",
|
|
78
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_gfdg1_1083",
|
|
79
|
+
"hide-tools": "awsui_hide-tools_hyvsj_gfdg1_1093",
|
|
80
|
+
"show-tools": "awsui_show-tools_hyvsj_gfdg1_1105",
|
|
81
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_gfdg1_1083",
|
|
82
|
+
"trigger-button-styles": "awsui_trigger-button-styles_hyvsj_gfdg1_1185",
|
|
83
|
+
"trigger-badge-wrapper": "awsui_trigger-badge-wrapper_hyvsj_gfdg1_1201",
|
|
84
|
+
"trigger": "awsui_trigger_hyvsj_gfdg1_1185",
|
|
85
|
+
"selected": "awsui_selected_hyvsj_gfdg1_1253",
|
|
86
|
+
"badge": "awsui_badge_hyvsj_gfdg1_1273",
|
|
87
|
+
"trigger-wrapper": "awsui_trigger-wrapper_hyvsj_gfdg1_1277",
|
|
88
|
+
"trigger-wrapper-tooltip-visible": "awsui_trigger-wrapper-tooltip-visible_hyvsj_gfdg1_1288",
|
|
89
|
+
"dot": "awsui_dot_hyvsj_gfdg1_1292",
|
|
90
|
+
"trigger-tooltip": "awsui_trigger-tooltip_hyvsj_gfdg1_1305"
|
|
92
91
|
};
|
|
93
92
|
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/tools.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,sBAiJrD"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import { isThemeActive, Theme } from '@cloudscape-design/component-toolkit/internal';
|
|
6
5
|
import { InternalButton } from '../../button/internal';
|
|
7
6
|
import { Transition } from '../../internal/components/transition';
|
|
8
7
|
import customCssProps from '../../internal/generated/custom-css-properties';
|
|
@@ -50,7 +49,6 @@ export default function Tools({ children }) {
|
|
|
50
49
|
[styles.animating]: state === 'entering',
|
|
51
50
|
[styles['has-tools-form-persistence']]: hasToolsFormPersistence,
|
|
52
51
|
[styles['is-tools-open']]: isToolsOpen,
|
|
53
|
-
[styles['one-theme']]: isThemeActive(Theme.OneTheme),
|
|
54
52
|
[testutilStyles['drawer-closed']]: !isToolsOpen,
|
|
55
53
|
}, testutilStyles.tools), ref: state !== 'exiting' ? transitionEventsRef : undefined },
|
|
56
54
|
React.createElement("div", { className: styles['animated-content'] },
|
|
@@ -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;AAExB,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MA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B;QAC7B,IAAI,CAAC,aAAa,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,EAAE,CAAC;YACjD,YAAY,GAAG,IAAI,CAAC;QACtB,CAAC;IACH,CAAC;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,CAAC;QACrE,uBAAuB,GAAG,IAAI,CAAC;IACjC,CAAC;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';\n\nimport { isThemeActive, Theme } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalButton } from '../../button/internal';\nimport { Transition } from '../../internal/components/transition';\nimport customCssProps from '../../internal/generated/custom-css-properties';\nimport { useAppLayoutInternals } from './context';\nimport TriggerButton from './trigger-button';\n\nimport splitPanelTestUtilStyles from '../../split-panel/test-classes/styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\nimport styles from './styles.css.js';\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 headerVariant,\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 })}\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 [styles['one-theme']]: isThemeActive(Theme.OneTheme),\n [testutilStyles['drawer-closed']]: !isToolsOpen,\n },\n testutilStyles.tools\n )}\n ref={state !== 'exiting' ? transitionEventsRef : undefined}\n >\n <div className={styles['animated-content']}>\n <div className={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 highContrastHeader={headerVariant === 'high-contrast'}\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={splitPanelTestUtilStyles['open-button']}\n ref={splitPanelRefs.toggle}\n highContrastHeader={headerVariant === 'high-contrast'}\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
|
+
{"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;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,cAAc,MAAM,gDAAgD,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,OAAO,wBAAwB,MAAM,8CAA8C,CAAC;AACpF,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAMrC;;;;;;;GAOG;AACH,M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W,CAAC,EAAE,CAAC;QACrE,uBAAuB,GAAG,IAAI,CAAC;IACjC,CAAC;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';\n\nimport { InternalButton } from '../../button/internal';\nimport { Transition } from '../../internal/components/transition';\nimport customCssProps from '../../internal/generated/custom-css-properties';\nimport { useAppLayoutInternals } from './context';\nimport TriggerButton from './trigger-button';\n\nimport splitPanelTestUtilStyles from '../../split-panel/test-classes/styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\nimport styles from './styles.css.js';\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 headerVariant,\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 })}\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 [testutilStyles['drawer-closed']]: !isToolsOpen,\n },\n testutilStyles.tools\n )}\n ref={state !== 'exiting' ? transitionEventsRef : undefined}\n >\n <div className={styles['animated-content']}>\n <div className={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 highContrastHeader={headerVariant === 'high-contrast'}\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={splitPanelTestUtilStyles['open-button']}\n ref={splitPanelRefs.toggle}\n highContrastHeader={headerVariant === 'high-contrast'}\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
|
-
"link": "
|
|
5
|
-
"breadcrumb": "
|
|
6
|
-
"ghost-breadcrumb": "awsui_ghost-
|
|
7
|
-
"icon": "
|
|
8
|
-
"anchor": "
|
|
9
|
-
"text": "
|
|
10
|
-
"last": "
|
|
4
|
+
"link": "awsui_link_1kosq_1xz86_145",
|
|
5
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_1xz86_149",
|
|
6
|
+
"ghost-breadcrumb": "awsui_ghost-breadcrumb_1kosq_1xz86_150",
|
|
7
|
+
"icon": "awsui_icon_1kosq_1xz86_153",
|
|
8
|
+
"anchor": "awsui_anchor_1kosq_1xz86_163",
|
|
9
|
+
"text": "awsui_text_1kosq_1xz86_211",
|
|
10
|
+
"last": "awsui_last_1kosq_1xz86_230"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -142,22 +142,26 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
145
|
+
.awsui_link_1kosq_1xz86_145:not(#\9):after {
|
|
146
146
|
display: none;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
150
|
-
.awsui_ghost-
|
|
149
|
+
.awsui_breadcrumb_1kosq_1xz86_149:not(#\9),
|
|
150
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150:not(#\9) {
|
|
151
151
|
display: flex;
|
|
152
152
|
}
|
|
153
|
-
.
|
|
154
|
-
.awsui_ghost-
|
|
153
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_icon_1kosq_1xz86_153:not(#\9),
|
|
154
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_icon_1kosq_1xz86_153:not(#\9) {
|
|
155
155
|
margin-block: 0;
|
|
156
156
|
margin-inline: var(--space-xs-kw7k3v, 8px);
|
|
157
157
|
color: var(--color-text-breadcrumb-icon-c379ty, #687078);
|
|
158
158
|
}
|
|
159
|
-
.
|
|
160
|
-
.awsui_ghost-
|
|
159
|
+
.awsui-one-theme .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_icon_1kosq_1xz86_153:not(#\9),
|
|
160
|
+
.awsui-one-theme .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_icon_1kosq_1xz86_153:not(#\9) {
|
|
161
|
+
margin-inline: var(--space-xxs-jnczic, 4px);
|
|
162
|
+
}
|
|
163
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9),
|
|
164
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9) {
|
|
161
165
|
min-inline-size: 0;
|
|
162
166
|
overflow: hidden;
|
|
163
167
|
text-underline-offset: 0.25em;
|
|
@@ -174,42 +178,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
174
178
|
transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
|
|
175
179
|
}
|
|
176
180
|
@media (prefers-reduced-motion: reduce) {
|
|
177
|
-
.
|
|
178
|
-
.awsui_ghost-
|
|
181
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9),
|
|
182
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9) {
|
|
179
183
|
animation: none;
|
|
180
184
|
transition: none;
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
|
-
.awsui-motion-disabled .
|
|
187
|
+
.awsui-motion-disabled .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9), .awsui-mode-entering .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9), .awsui-motion-disabled .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9), .awsui-mode-entering .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9) {
|
|
184
188
|
animation: none;
|
|
185
189
|
transition: none;
|
|
186
190
|
}
|
|
187
|
-
.
|
|
188
|
-
.awsui_ghost-
|
|
191
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):hover,
|
|
192
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):hover {
|
|
189
193
|
cursor: pointer;
|
|
190
194
|
color: var(--awsui-style-color-hover-6b9ypa, var(--color-text-link-hover-pqxtsy, #0a4a74));
|
|
191
195
|
}
|
|
192
|
-
.
|
|
193
|
-
.awsui_ghost-
|
|
196
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus,
|
|
197
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus {
|
|
194
198
|
outline: none;
|
|
195
199
|
}
|
|
196
|
-
.
|
|
197
|
-
.awsui_ghost-
|
|
200
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):active,
|
|
201
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):active {
|
|
198
202
|
color: var(--awsui-style-color-active-6b9ypa, var(--color-text-link-hover-pqxtsy, #0a4a74));
|
|
199
203
|
}
|
|
200
|
-
.
|
|
204
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):active, .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus, .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):hover, .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):active, .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus, .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):hover {
|
|
201
205
|
text-decoration-line: underline;
|
|
202
206
|
text-decoration-color: var(--color-text-link-decoration-hover-jnu2g9, currentColor);
|
|
203
207
|
}
|
|
204
|
-
.
|
|
205
|
-
.awsui_ghost-
|
|
208
|
+
.awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163 > .awsui_text_1kosq_1xz86_211:not(#\9),
|
|
209
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163 > .awsui_text_1kosq_1xz86_211:not(#\9) {
|
|
206
210
|
overflow: hidden;
|
|
207
211
|
text-overflow: ellipsis;
|
|
208
212
|
white-space: nowrap;
|
|
209
213
|
display: block;
|
|
210
214
|
}
|
|
211
|
-
body[data-awsui-focus-visible=true] .
|
|
212
|
-
body[data-awsui-focus-visible=true] .awsui_ghost-
|
|
215
|
+
body[data-awsui-focus-visible=true] .awsui_breadcrumb_1kosq_1xz86_149 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus,
|
|
216
|
+
body[data-awsui-focus-visible=true] .awsui_ghost-breadcrumb_1kosq_1xz86_150 > .awsui_anchor_1kosq_1xz86_163:not(#\9):focus {
|
|
213
217
|
outline: thin dotted;
|
|
214
218
|
outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
|
|
215
219
|
outline-offset: 2px;
|
|
@@ -220,12 +224,12 @@ body[data-awsui-focus-visible=true] .awsui_ghost-breadcrumb_1kosq_yqyzz_150 > .a
|
|
|
220
224
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
|
|
221
225
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-woh62o, 0px) var(--color-border-item-focused-r5f6xl, #0073bb);
|
|
222
226
|
}
|
|
223
|
-
.
|
|
224
|
-
.awsui_ghost-
|
|
227
|
+
.awsui_breadcrumb_1kosq_1xz86_149.awsui_last_1kosq_1xz86_230 > .awsui_icon_1kosq_1xz86_153:not(#\9),
|
|
228
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150.awsui_last_1kosq_1xz86_230 > .awsui_icon_1kosq_1xz86_153:not(#\9) {
|
|
225
229
|
display: none;
|
|
226
230
|
}
|
|
227
|
-
.
|
|
228
|
-
.awsui_ghost-
|
|
231
|
+
.awsui_breadcrumb_1kosq_1xz86_149.awsui_last_1kosq_1xz86_230 > .awsui_anchor_1kosq_1xz86_163:not(#\9),
|
|
232
|
+
.awsui_ghost-breadcrumb_1kosq_1xz86_150.awsui_last_1kosq_1xz86_230 > .awsui_anchor_1kosq_1xz86_163:not(#\9) {
|
|
229
233
|
color: var(--color-text-breadcrumb-current-hwvp31, #687078);
|
|
230
234
|
font-weight: var(--font-weight-breadcrumb-current-p7evnu, 700);
|
|
231
235
|
text-decoration: none;
|
|
@@ -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
|
-
"link": "
|
|
6
|
-
"breadcrumb": "
|
|
7
|
-
"ghost-breadcrumb": "awsui_ghost-
|
|
8
|
-
"icon": "
|
|
9
|
-
"anchor": "
|
|
10
|
-
"text": "
|
|
11
|
-
"last": "
|
|
5
|
+
"link": "awsui_link_1kosq_1xz86_145",
|
|
6
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_1xz86_149",
|
|
7
|
+
"ghost-breadcrumb": "awsui_ghost-breadcrumb_1kosq_1xz86_150",
|
|
8
|
+
"icon": "awsui_icon_1kosq_1xz86_153",
|
|
9
|
+
"anchor": "awsui_anchor_1kosq_1xz86_163",
|
|
10
|
+
"text": "awsui_text_1kosq_1xz86_211",
|
|
11
|
+
"last": "awsui_last_1kosq_1xz86_230"
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"breadcrumb-group": "awsui_breadcrumb-
|
|
5
|
-
"breadcrumb-group-list": "awsui_breadcrumb-group-
|
|
6
|
-
"ghost": "
|
|
7
|
-
"item": "
|
|
8
|
-
"ghost-item": "awsui_ghost-
|
|
9
|
-
"ellipsis": "
|
|
10
|
-
"hide": "
|
|
11
|
-
"visible": "
|
|
12
|
-
"icon": "
|
|
13
|
-
"breadcrumbs-skeleton": "awsui_breadcrumbs-
|
|
14
|
-
"collapsed-button": "awsui_collapsed-
|
|
15
|
-
"button-icon": "awsui_button-
|
|
16
|
-
"button-icon-open": "awsui_button-icon-
|
|
17
|
-
"hidden": "
|
|
4
|
+
"breadcrumb-group": "awsui_breadcrumb-group_d19fg_157hx_145",
|
|
5
|
+
"breadcrumb-group-list": "awsui_breadcrumb-group-list_d19fg_157hx_180",
|
|
6
|
+
"ghost": "awsui_ghost_d19fg_157hx_191",
|
|
7
|
+
"item": "awsui_item_d19fg_157hx_196",
|
|
8
|
+
"ghost-item": "awsui_ghost-item_d19fg_157hx_197",
|
|
9
|
+
"ellipsis": "awsui_ellipsis_d19fg_157hx_198",
|
|
10
|
+
"hide": "awsui_hide_d19fg_157hx_209",
|
|
11
|
+
"visible": "awsui_visible_d19fg_157hx_215",
|
|
12
|
+
"icon": "awsui_icon_d19fg_157hx_219",
|
|
13
|
+
"breadcrumbs-skeleton": "awsui_breadcrumbs-skeleton_d19fg_157hx_228",
|
|
14
|
+
"collapsed-button": "awsui_collapsed-button_d19fg_157hx_232",
|
|
15
|
+
"button-icon": "awsui_button-icon_d19fg_157hx_314",
|
|
16
|
+
"button-icon-open": "awsui_button-icon-open_d19fg_157hx_328",
|
|
17
|
+
"hidden": "awsui_hidden_d19fg_157hx_332"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.awsui_breadcrumb-
|
|
145
|
+
.awsui_breadcrumb-group_d19fg_157hx_145:not(#\9) {
|
|
146
146
|
border-collapse: separate;
|
|
147
147
|
border-spacing: 0;
|
|
148
148
|
box-sizing: border-box;
|
|
@@ -177,7 +177,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
177
177
|
padding-block: var(--space-xxs-jnczic, 4px);
|
|
178
178
|
padding-inline: 0;
|
|
179
179
|
}
|
|
180
|
-
.awsui_breadcrumb-
|
|
180
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180:not(#\9) {
|
|
181
181
|
display: flex;
|
|
182
182
|
align-items: center;
|
|
183
183
|
padding-block: 0;
|
|
@@ -188,45 +188,48 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
188
188
|
inline-size: 100%;
|
|
189
189
|
flex-wrap: nowrap;
|
|
190
190
|
}
|
|
191
|
-
.awsui_breadcrumb-
|
|
191
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180.awsui_ghost_d19fg_157hx_191:not(#\9) {
|
|
192
192
|
flex-wrap: wrap;
|
|
193
193
|
position: absolute;
|
|
194
194
|
inset-inline-start: -9000px;
|
|
195
195
|
}
|
|
196
|
-
.awsui_breadcrumb-
|
|
197
|
-
.awsui_breadcrumb-
|
|
198
|
-
.awsui_breadcrumb-
|
|
196
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_item_d19fg_157hx_196:not(#\9),
|
|
197
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ghost-item_d19fg_157hx_197:not(#\9),
|
|
198
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ellipsis_d19fg_157hx_198:not(#\9) {
|
|
199
199
|
display: inline-block;
|
|
200
200
|
padding-block: 0;
|
|
201
201
|
padding-inline: 0;
|
|
202
202
|
margin-block: 0;
|
|
203
203
|
margin-inline: 0;
|
|
204
204
|
}
|
|
205
|
-
.awsui_breadcrumb-
|
|
205
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_item_d19fg_157hx_196:not(#\9):last-child {
|
|
206
206
|
flex-shrink: 1;
|
|
207
207
|
min-inline-size: 0;
|
|
208
208
|
}
|
|
209
|
-
.awsui_breadcrumb-
|
|
209
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_item_d19fg_157hx_196.awsui_hide_d19fg_157hx_209:not(#\9) {
|
|
210
210
|
display: none;
|
|
211
211
|
}
|
|
212
|
-
.awsui_breadcrumb-
|
|
212
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ellipsis_d19fg_157hx_198:not(#\9) {
|
|
213
213
|
display: none;
|
|
214
214
|
}
|
|
215
|
-
.awsui_breadcrumb-
|
|
215
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ellipsis_d19fg_157hx_198.awsui_visible_d19fg_157hx_215:not(#\9) {
|
|
216
216
|
display: flex;
|
|
217
217
|
flex-shrink: 0;
|
|
218
218
|
}
|
|
219
|
-
.awsui_breadcrumb-
|
|
219
|
+
.awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ellipsis_d19fg_157hx_198 > .awsui_icon_d19fg_157hx_219:not(#\9) {
|
|
220
220
|
margin-block: 0;
|
|
221
221
|
margin-inline: 10px;
|
|
222
222
|
color: var(--color-text-breadcrumb-icon-c379ty, #687078);
|
|
223
223
|
}
|
|
224
|
+
.awsui-one-theme .awsui_breadcrumb-group_d19fg_157hx_145 > .awsui_breadcrumb-group-list_d19fg_157hx_180 > .awsui_ellipsis_d19fg_157hx_198 > .awsui_icon_d19fg_157hx_219:not(#\9) {
|
|
225
|
+
margin-inline: var(--space-xxs-jnczic, 4px);
|
|
226
|
+
}
|
|
224
227
|
|
|
225
|
-
.awsui_breadcrumbs-
|
|
228
|
+
.awsui_breadcrumbs-skeleton_d19fg_157hx_228:not(#\9) {
|
|
226
229
|
display: none;
|
|
227
230
|
}
|
|
228
231
|
|
|
229
|
-
.awsui_collapsed-
|
|
232
|
+
.awsui_collapsed-button_d19fg_157hx_232:not(#\9) {
|
|
230
233
|
border-collapse: separate;
|
|
231
234
|
border-spacing: 0;
|
|
232
235
|
box-sizing: border-box;
|
|
@@ -273,14 +276,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
273
276
|
gap: var(--space-xxs-jnczic, 4px);
|
|
274
277
|
max-inline-size: 100%;
|
|
275
278
|
}
|
|
276
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
279
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_157hx_232:not(#\9):focus {
|
|
277
280
|
position: relative;
|
|
278
281
|
}
|
|
279
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
282
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_157hx_232:not(#\9):focus {
|
|
280
283
|
outline: 2px dotted transparent;
|
|
281
284
|
outline-offset: calc(var(--space-button-focus-outline-gutter-vsdlzg, 3px) - 1px);
|
|
282
285
|
}
|
|
283
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
286
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_157hx_232:not(#\9):focus::before {
|
|
284
287
|
content: " ";
|
|
285
288
|
display: block;
|
|
286
289
|
position: absolute;
|
|
@@ -294,38 +297,38 @@ body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_aqb44_229:not(
|
|
|
294
297
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
|
|
295
298
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
|
|
296
299
|
}
|
|
297
|
-
.awsui_collapsed-
|
|
300
|
+
.awsui_collapsed-button_d19fg_157hx_232:not(#\9):hover {
|
|
298
301
|
color: var(--color-text-interactive-hover-bu4gls, #16191f);
|
|
299
302
|
}
|
|
300
|
-
.awsui_collapsed-
|
|
303
|
+
.awsui_collapsed-button_d19fg_157hx_232 > :not(#\9):last-child {
|
|
301
304
|
color: var(--color-text-breadcrumb-current-hwvp31, #687078);
|
|
302
305
|
font-weight: var(--font-weight-breadcrumb-current-p7evnu, 700);
|
|
303
306
|
white-space: nowrap;
|
|
304
307
|
overflow: hidden;
|
|
305
308
|
text-overflow: ellipsis;
|
|
306
309
|
}
|
|
307
|
-
.awsui_collapsed-
|
|
310
|
+
.awsui_collapsed-button_d19fg_157hx_232 > :not(#\9):last-child:hover {
|
|
308
311
|
color: var(--color-text-interactive-hover-bu4gls, #16191f);
|
|
309
312
|
}
|
|
310
313
|
|
|
311
|
-
.awsui_button-
|
|
314
|
+
.awsui_button-icon_d19fg_157hx_314:not(#\9) {
|
|
312
315
|
transform: rotate(0deg);
|
|
313
316
|
transition: transform var(--motion-duration-rotate-180-4er9qu, 135ms) var(--motion-easing-rotate-180-xlspcm, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
314
317
|
}
|
|
315
318
|
@media (prefers-reduced-motion: reduce) {
|
|
316
|
-
.awsui_button-
|
|
319
|
+
.awsui_button-icon_d19fg_157hx_314:not(#\9) {
|
|
317
320
|
animation: none;
|
|
318
321
|
transition: none;
|
|
319
322
|
}
|
|
320
323
|
}
|
|
321
|
-
.awsui-motion-disabled .awsui_button-
|
|
324
|
+
.awsui-motion-disabled .awsui_button-icon_d19fg_157hx_314:not(#\9), .awsui-mode-entering .awsui_button-icon_d19fg_157hx_314:not(#\9) {
|
|
322
325
|
animation: none;
|
|
323
326
|
transition: none;
|
|
324
327
|
}
|
|
325
|
-
.awsui_button-icon-
|
|
328
|
+
.awsui_button-icon-open_d19fg_157hx_328:not(#\9) {
|
|
326
329
|
transform: rotate(-180deg);
|
|
327
330
|
}
|
|
328
331
|
|
|
329
|
-
.
|
|
332
|
+
.awsui_hidden_d19fg_157hx_332:not(#\9) {
|
|
330
333
|
display: none;
|
|
331
334
|
}
|