@cloudscape-design/components-themeable 3.0.252 → 3.0.253
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/app-layout/constants.scss +5 -0
- package/lib/internal/scss/app-layout/drawer/styles.scss +45 -5
- package/lib/internal/scss/app-layout/mobile-toolbar/styles.scss +6 -1
- package/lib/internal/scss/app-layout/test-classes/styles.scss +15 -0
- package/lib/internal/scss/app-layout/visual-refresh/app-bar.scss +6 -3
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +151 -0
- package/lib/internal/scss/app-layout/visual-refresh/split-panel.scss +1 -1
- package/lib/internal/scss/app-layout/visual-refresh/styles.scss +1 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +31 -30
- package/lib/internal/scss/space-between/styles.scss +5 -17
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/drawer/index.d.ts +3 -21
- package/lib/internal/template/app-layout/drawer/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/drawer/index.js +25 -5
- package/lib/internal/template/app-layout/drawer/index.js.map +1 -1
- package/lib/internal/template/app-layout/drawer/interfaces.d.ts +84 -0
- package/lib/internal/template/app-layout/drawer/interfaces.d.ts.map +1 -0
- package/lib/internal/template/app-layout/drawer/interfaces.js +2 -0
- package/lib/internal/template/app-layout/drawer/interfaces.js.map +1 -0
- package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts +4 -0
- package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts.map +1 -0
- package/lib/internal/template/app-layout/drawer/resizable-drawer.js +51 -0
- package/lib/internal/template/app-layout/drawer/resizable-drawer.js.map +1 -0
- package/lib/internal/template/app-layout/drawer/styles.css.js +10 -5
- package/lib/internal/template/app-layout/drawer/styles.scoped.css +46 -10
- package/lib/internal/template/app-layout/drawer/styles.selectors.js +10 -5
- package/lib/internal/template/app-layout/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/index.js +142 -17
- package/lib/internal/template/app-layout/index.js.map +1 -1
- package/lib/internal/template/app-layout/mobile-toolbar/index.d.ts +10 -1
- package/lib/internal/template/app-layout/mobile-toolbar/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/mobile-toolbar/index.js +3 -2
- package/lib/internal/template/app-layout/mobile-toolbar/index.js.map +1 -1
- package/lib/internal/template/app-layout/mobile-toolbar/styles.css.js +5 -4
- package/lib/internal/template/app-layout/mobile-toolbar/styles.scoped.css +11 -7
- package/lib/internal/template/app-layout/mobile-toolbar/styles.selectors.js +5 -4
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/test-classes/styles.css.js +18 -13
- package/lib/internal/template/app-layout/test-classes/styles.scoped.css +33 -13
- package/lib/internal/template/app-layout/test-classes/styles.selectors.js +18 -13
- package/lib/internal/template/app-layout/toggles/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/toggles/index.js +2 -2
- package/lib/internal/template/app-layout/toggles/index.js.map +1 -1
- package/lib/internal/template/app-layout/toggles/interfaces.d.ts +3 -1
- package/lib/internal/template/app-layout/toggles/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/toggles/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.d.ts +21 -0
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.d.ts.map +1 -0
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js +65 -0
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh/app-bar.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/app-bar.js +8 -6
- package/lib/internal/template/app-layout/visual-refresh/app-bar.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts +13 -5
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.js +104 -49
- package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts +47 -0
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh/drawers.js +127 -0
- package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh/header.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/header.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/index.js +3 -1
- package/lib/internal/template/app-layout/visual-refresh/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/layout.js +5 -42
- package/lib/internal/template/app-layout/visual-refresh/layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/main.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/main.js +2 -3
- package/lib/internal/template/app-layout/visual-refresh/main.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/navigation.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/navigation.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/notifications.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/notifications.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/notifications.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/split-panel.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/split-panel.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +71 -61
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +437 -229
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +71 -61
- package/lib/internal/template/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js +7 -3
- package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts +4 -3
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js +5 -4
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/lib/internal/template/area-chart/internal.js +1 -1
- package/lib/internal/template/area-chart/internal.js.map +1 -1
- package/lib/internal/template/flashbar/styles.css.js +45 -45
- package/lib/internal/template/flashbar/styles.scoped.css +169 -169
- package/lib/internal/template/flashbar/styles.selectors.js +45 -45
- package/lib/internal/template/internal/base-component/styles.scoped.css +53 -0
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +31 -30
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +2 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +2 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +140 -0
- package/lib/internal/template/internal/generated/theming/index.js +140 -0
- package/lib/internal/template/mixed-line-bar-chart/internal.js +1 -1
- package/lib/internal/template/mixed-line-bar-chart/internal.js.map +1 -1
- package/lib/internal/template/pie-chart/index.js +1 -1
- package/lib/internal/template/pie-chart/index.js.map +1 -1
- package/lib/internal/template/space-between/internal.js +1 -1
- package/lib/internal/template/space-between/internal.js.map +1 -1
- package/lib/internal/template/space-between/styles.css.js +20 -28
- package/lib/internal/template/space-between/styles.scoped.css +37 -101
- package/lib/internal/template/space-between/styles.selectors.js +20 -28
- package/package.json +1 -1
|
@@ -12,6 +12,11 @@ $toggle-padding-horizontal: 0.7 * styles.$base-size;
|
|
|
12
12
|
$toggle-padding-vertical: awsui.$space-xxs;
|
|
13
13
|
$toggle-padding: $toggle-padding-vertical $toggle-padding-horizontal;
|
|
14
14
|
|
|
15
|
+
// New styles for when there are drawers
|
|
16
|
+
$drawers-padding-horizontal: 0.6 * styles.$base-size;
|
|
17
|
+
$drawers-padding-vertical: awsui.$space-scaled-xs;
|
|
18
|
+
$drawers-padding: $drawers-padding-vertical $drawers-padding-horizontal;
|
|
19
|
+
|
|
15
20
|
$sidebar-size-closed: 4 * styles.$base-size;
|
|
16
21
|
|
|
17
22
|
$adaptive-content-widths: (
|
|
@@ -15,12 +15,15 @@ $drawer-z-index-mobile: 1001;
|
|
|
15
15
|
padding: constants.$toggle-padding;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
.drawer-triggers {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
18
22
|
.drawer {
|
|
19
23
|
flex-shrink: 0;
|
|
20
24
|
position: relative;
|
|
21
25
|
word-wrap: break-word;
|
|
22
26
|
box-shadow: awsui.$shadow-panel;
|
|
23
|
-
|
|
24
27
|
&:not(.drawer-mobile) {
|
|
25
28
|
z-index: $drawer-z-index;
|
|
26
29
|
}
|
|
@@ -32,12 +35,10 @@ $drawer-z-index-mobile: 1001;
|
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
|
-
|
|
36
38
|
.drawer-content {
|
|
37
39
|
position: fixed;
|
|
38
40
|
overflow: auto;
|
|
39
41
|
background-color: awsui.$color-background-layout-panel-content;
|
|
40
|
-
|
|
41
42
|
.drawer-mobile > & {
|
|
42
43
|
z-index: $drawer-z-index-mobile;
|
|
43
44
|
top: 0;
|
|
@@ -45,15 +46,54 @@ $drawer-z-index-mobile: 1001;
|
|
|
45
46
|
left: 0;
|
|
46
47
|
right: 0;
|
|
47
48
|
}
|
|
48
|
-
|
|
49
49
|
.drawer-closed > & {
|
|
50
50
|
width: constants.$sidebar-size-closed;
|
|
51
51
|
&:hover {
|
|
52
52
|
background: awsui.$color-background-layout-panel-hover;
|
|
53
53
|
}
|
|
54
|
+
&.non-interactive {
|
|
55
|
+
&:hover {
|
|
56
|
+
background: awsui.$color-background-layout-panel-content;
|
|
57
|
+
cursor: default;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
54
60
|
}
|
|
55
|
-
|
|
56
61
|
& > [aria-hidden='true'] {
|
|
57
62
|
display: none;
|
|
58
63
|
}
|
|
59
64
|
}
|
|
65
|
+
|
|
66
|
+
.trigger {
|
|
67
|
+
.drawer-triggers > & {
|
|
68
|
+
padding: constants.$drawers-padding;
|
|
69
|
+
margin: 1px constants.$drawers-padding-horizontal;
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
border: 0;
|
|
72
|
+
|
|
73
|
+
&:not(:last-child) {
|
|
74
|
+
box-shadow: 0px 1px awsui.$color-shadow-layout-panel-trigger;
|
|
75
|
+
}
|
|
76
|
+
&-drawer {
|
|
77
|
+
&:hover:not(.selected) {
|
|
78
|
+
color: awsui.$color-text-layout-panel-trigger-hover;
|
|
79
|
+
&:not(:last-child) {
|
|
80
|
+
box-shadow: 0px 1px awsui.$color-shadow-layout-panel-trigger;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.selected {
|
|
86
|
+
padding: constants.$drawers-padding-vertical awsui.$space-s;
|
|
87
|
+
margin: 0;
|
|
88
|
+
border-top: 1px solid awsui.$color-background-layout-panel-trigger-active;
|
|
89
|
+
border-bottom: 1px solid awsui.$color-background-layout-panel-trigger-active;
|
|
90
|
+
|
|
91
|
+
background-color: awsui.$color-background-layout-panel-trigger-active;
|
|
92
|
+
color: awsui.$color-text-layout-panel-trigger-active;
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
&:hover {
|
|
95
|
+
cursor: default;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -44,7 +44,12 @@
|
|
|
44
44
|
&:last-child {
|
|
45
45
|
border-left: 1px solid awsui.$color-border-layout;
|
|
46
46
|
}
|
|
47
|
-
&:hover {
|
|
47
|
+
&:hover:not(.mobile-toggle-with-drawers) {
|
|
48
48
|
background: awsui.$color-background-layout-panel-hover;
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
&-with-drawers {
|
|
52
|
+
display: flex;
|
|
53
|
+
width: auto;
|
|
54
|
+
}
|
|
50
55
|
}
|
|
@@ -42,3 +42,18 @@
|
|
|
42
42
|
.disable-body-scroll-root {
|
|
43
43
|
/* used in tests */
|
|
44
44
|
}
|
|
45
|
+
.drawers-desktop-triggers-container {
|
|
46
|
+
/* used in tests */
|
|
47
|
+
}
|
|
48
|
+
.drawers-mobile-triggers-container {
|
|
49
|
+
/* used in tests */
|
|
50
|
+
}
|
|
51
|
+
.drawers-trigger {
|
|
52
|
+
/* used in tests */
|
|
53
|
+
}
|
|
54
|
+
.active-drawer {
|
|
55
|
+
/* used in tests */
|
|
56
|
+
}
|
|
57
|
+
.active-drawer-close-button {
|
|
58
|
+
/* used in tests */
|
|
59
|
+
}
|
|
@@ -29,7 +29,8 @@ section.appbar {
|
|
|
29
29
|
background-color: awsui.$color-background-layout-main;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
> .appbar-tools
|
|
32
|
+
> .appbar-tools,
|
|
33
|
+
> .drawers-mobile-triggers-container {
|
|
33
34
|
grid-column: 3;
|
|
34
35
|
margin-left: awsui.$space-m;
|
|
35
36
|
}
|
|
@@ -53,7 +54,8 @@ section.appbar {
|
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
> .appbar-nav,
|
|
56
|
-
> .appbar-tools
|
|
57
|
+
> .appbar-tools,
|
|
58
|
+
> .drawers-mobile-triggers-container {
|
|
57
59
|
display: none;
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -127,7 +129,8 @@ section.appbar {
|
|
|
127
129
|
|
|
128
130
|
// the Navigation and Tools buttons resume their grid column position
|
|
129
131
|
> .appbar-nav,
|
|
130
|
-
> .appbar-tools
|
|
132
|
+
> .appbar-tools,
|
|
133
|
+
> .drawers-mobile-triggers-container {
|
|
131
134
|
display: block;
|
|
132
135
|
}
|
|
133
136
|
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
@use '../../internal/styles/tokens' as awsui;
|
|
6
|
+
@use '../../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
7
|
+
@use '../../internal/styles' as styles;
|
|
8
|
+
|
|
9
|
+
.drawers-container {
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
display: flex;
|
|
12
|
+
grid-column: 5;
|
|
13
|
+
grid-row: 1 / span 5;
|
|
14
|
+
height: var(#{custom-props.$contentHeight});
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
position: sticky;
|
|
17
|
+
top: var(#{custom-props.$offsetTop});
|
|
18
|
+
z-index: 830;
|
|
19
|
+
|
|
20
|
+
&.has-open-drawer {
|
|
21
|
+
background-color: awsui.$color-background-container-content;
|
|
22
|
+
box-shadow: awsui.$shadow-panel;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include styles.with-motion {
|
|
26
|
+
transition: background-color awsui.$motion-duration-refresh-only-fast;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include styles.media-breakpoint-up(styles.$breakpoint-x-small) {
|
|
30
|
+
/* stylelint-disable scss/operator-no-newline-after */
|
|
31
|
+
max-width: calc(
|
|
32
|
+
var(#{custom-props.$layoutWidth}) - var(#{custom-props.$mainOffsetLeft}) -
|
|
33
|
+
var(#{custom-props.$defaultMinContentWidth}) - var(#{custom-props.$contentGapRight})
|
|
34
|
+
);
|
|
35
|
+
/* stylelint-enable scss/operator-no-newline-after */
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include styles.media-breakpoint-down(styles.$breakpoint-x-small) {
|
|
39
|
+
position: fixed;
|
|
40
|
+
right: 0;
|
|
41
|
+
top: var(#{custom-props.$offsetTop});
|
|
42
|
+
z-index: 1001;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.drawers-desktop-triggers-container {
|
|
47
|
+
@include styles.styles-reset;
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
height: 100%;
|
|
51
|
+
overflow-y: hidden;
|
|
52
|
+
overflow-x: hidden;
|
|
53
|
+
overscroll-behavior-y: contain;
|
|
54
|
+
|
|
55
|
+
&:not(.has-multiple-triggers).has-open-drawer {
|
|
56
|
+
width: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.has-multiple-triggers.has-open-drawer {
|
|
60
|
+
background-color: awsui.$color-background-container-content;
|
|
61
|
+
|
|
62
|
+
@include styles.with-motion {
|
|
63
|
+
transition: background-color awsui.$motion-duration-refresh-only-fast;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not(.has-multiple-triggers):not(.has-open-drawer) {
|
|
68
|
+
width: calc((awsui.$space-layout-toggle-padding * 2) + awsui.$space-layout-toggle-diameter);
|
|
69
|
+
|
|
70
|
+
@include styles.with-motion {
|
|
71
|
+
transition: width awsui.$motion-duration-refresh-only-fast;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.drawers-trigger-content {
|
|
77
|
+
align-items: center;
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
gap: awsui.$space-xs;
|
|
81
|
+
padding-top: awsui.$space-scaled-s;
|
|
82
|
+
width: calc((awsui.$space-layout-toggle-padding * 2) + awsui.$space-layout-toggle-diameter);
|
|
83
|
+
|
|
84
|
+
&:not(.has-multiple-triggers).has-open-drawer {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:not(.has-multiple-triggers):not(.has-open-drawer) {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
|
|
91
|
+
@include styles.with-motion {
|
|
92
|
+
transition: opacity awsui.$motion-duration-refresh-only-medium;
|
|
93
|
+
transition-delay: calc(awsui.$motion-duration-refresh-only-fast / 1.5);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.drawer {
|
|
99
|
+
#{custom-props.$activeDrawerWidth}: 290px;
|
|
100
|
+
background-color: awsui.$color-background-container-content;
|
|
101
|
+
border-color: transparent;
|
|
102
|
+
display: grid;
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
grid-template-columns: 1fr auto awsui.$space-m;
|
|
105
|
+
grid-template-rows: awsui.$size-vertical-panel-icon-offset auto 1fr;
|
|
106
|
+
height: 100%;
|
|
107
|
+
overflow-y: auto;
|
|
108
|
+
overflow-x: hidden;
|
|
109
|
+
overscroll-behavior-y: contain;
|
|
110
|
+
pointer-events: auto;
|
|
111
|
+
word-wrap: break-word;
|
|
112
|
+
|
|
113
|
+
> .drawer-close-button {
|
|
114
|
+
grid-column: 2;
|
|
115
|
+
grid-row: 2;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
> .drawer-content {
|
|
119
|
+
grid-column: 1 / span 3;
|
|
120
|
+
grid-row: 1 / span 3;
|
|
121
|
+
width: var(#{custom-props.$activeDrawerWidth});
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:not(.is-drawer-open) {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
width: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.is-drawer-open {
|
|
130
|
+
border-right: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
131
|
+
opacity: 1;
|
|
132
|
+
width: var(#{custom-props.$activeDrawerWidth});
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@include styles.with-motion {
|
|
136
|
+
transition: awsui.$motion-duration-refresh-only-fast;
|
|
137
|
+
transition-property: border-color, opacity, width;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@include styles.media-breakpoint-up(styles.$breakpoint-xx-large) {
|
|
141
|
+
&.is-drawer-open {
|
|
142
|
+
#{custom-props.$activeDrawerWidth}: 320px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@include styles.media-breakpoint-down(styles.$breakpoint-x-small) {
|
|
147
|
+
&.is-drawer-open {
|
|
148
|
+
#{custom-props.$activeDrawerWidth}: 100vw;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
|
|
2
|
-
$
|
|
3
|
-
$
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$
|
|
13
|
-
$
|
|
14
|
-
$
|
|
15
|
-
$
|
|
16
|
-
$
|
|
17
|
-
$
|
|
18
|
-
$
|
|
19
|
-
$
|
|
20
|
-
$
|
|
21
|
-
$
|
|
22
|
-
$
|
|
23
|
-
$
|
|
24
|
-
$
|
|
25
|
-
$
|
|
26
|
-
$
|
|
27
|
-
$
|
|
28
|
-
$
|
|
29
|
-
$
|
|
30
|
-
$
|
|
31
|
-
$
|
|
2
|
+
$activeDrawerWidth: --awsui-active-drawer-width-3j0evk;
|
|
3
|
+
$offsetTop: --awsui-offset-top-3j0evk;
|
|
4
|
+
$offsetTopWithNotifications: --awsui-offset-top-with-notifications-3j0evk;
|
|
5
|
+
$contentGapLeft: --awsui-content-gap-left-3j0evk;
|
|
6
|
+
$contentGapRight: --awsui-content-gap-right-3j0evk;
|
|
7
|
+
$contentHeight: --awsui-content-height-3j0evk;
|
|
8
|
+
$defaultMaxContentWidth: --awsui-default-max-content-width-3j0evk;
|
|
9
|
+
$defaultMinContentWidth: --awsui-default-min-content-width-3j0evk;
|
|
10
|
+
$footerHeight: --awsui-footer-height-3j0evk;
|
|
11
|
+
$headerHeight: --awsui-header-height-3j0evk;
|
|
12
|
+
$layoutWidth: --awsui-layout-width-3j0evk;
|
|
13
|
+
$mainOffsetLeft: --awsui-main-offset-left-3j0evk;
|
|
14
|
+
$maxContentWidth: --awsui-max-content-width-3j0evk;
|
|
15
|
+
$minContentWidth: --awsui-min-content-width-3j0evk;
|
|
16
|
+
$notificationsHeight: --awsui-notifications-height-3j0evk;
|
|
17
|
+
$overlapHeight: --awsui-overlap-height-3j0evk;
|
|
18
|
+
$navigationWidth: --awsui-navigation-width-3j0evk;
|
|
19
|
+
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-3j0evk;
|
|
20
|
+
$splitPanelReportedSize: --awsui-split-panel-reported-size-3j0evk;
|
|
21
|
+
$splitPanelHeight: --awsui-split-panel-height-3j0evk;
|
|
22
|
+
$splitPanelMinWidth: --awsui-split-panel-min-width-3j0evk;
|
|
23
|
+
$splitPanelMaxWidth: --awsui-split-panel-max-width-3j0evk;
|
|
24
|
+
$toolsMaxWidth: --awsui-tools-max-width-3j0evk;
|
|
25
|
+
$toolsWidth: --awsui-tools-width-3j0evk;
|
|
26
|
+
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-3j0evk;
|
|
27
|
+
$contentScrollMargin: --awsui-content-scroll-margin-3j0evk;
|
|
28
|
+
$flashbarStackDepth: --awsui-flashbar-stack-depth-3j0evk;
|
|
29
|
+
$flashbarStackIndex: --awsui-flashbar-stack-index-3j0evk;
|
|
30
|
+
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-3j0evk;
|
|
31
|
+
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-3j0evk;
|
|
32
|
+
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-3j0evk;
|
|
32
33
|
|
|
@@ -50,33 +50,21 @@ $sizes-vertical: (
|
|
|
50
50
|
|
|
51
51
|
@each $name, $size in $sizes-horizontal {
|
|
52
52
|
&-#{$name} {
|
|
53
|
-
|
|
54
|
-
margin-left: calc(-1 * #{$size});
|
|
55
|
-
margin-bottom: calc(-1 * #{$size});
|
|
53
|
+
gap: $size;
|
|
56
54
|
}
|
|
57
55
|
}
|
|
58
56
|
}
|
|
59
57
|
|
|
60
|
-
@each $name, $size in $sizes-horizontal {
|
|
61
|
-
.child-horizontal-#{$name} {
|
|
62
|
-
margin-left: $size;
|
|
63
|
-
margin-bottom: $size;
|
|
64
|
-
|
|
65
|
-
// This is a fix for IE11. It prevents the content from overflowing.
|
|
66
|
-
min-width: 1px;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
58
|
/*
|
|
71
59
|
* Vertical variant
|
|
72
60
|
*/
|
|
73
61
|
|
|
74
62
|
.vertical {
|
|
75
63
|
flex-direction: column;
|
|
76
|
-
}
|
|
77
64
|
|
|
78
|
-
@each $name, $size in $sizes-vertical {
|
|
79
|
-
|
|
80
|
-
|
|
65
|
+
@each $name, $size in $sizes-vertical {
|
|
66
|
+
&-#{$name} {
|
|
67
|
+
row-gap: $size;
|
|
68
|
+
}
|
|
81
69
|
}
|
|
82
70
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
14
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
15
|
-
"annotation": "
|
|
16
|
-
"next-button": "awsui_next-
|
|
17
|
-
"previous-button": "awsui_previous-
|
|
18
|
-
"finish-button": "awsui_finish-
|
|
19
|
-
"header": "
|
|
20
|
-
"step-counter-content": "awsui_step-counter-
|
|
21
|
-
"content": "
|
|
22
|
-
"description": "
|
|
23
|
-
"actionBar": "
|
|
24
|
-
"stepCounter": "
|
|
25
|
-
"divider": "
|
|
26
|
-
"hotspot": "
|
|
27
|
-
"icon": "
|
|
4
|
+
"arrow": "awsui_arrow_1hpp3_1umef_93",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_1umef_97",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_1umef_97",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1umef_128",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1umef_128",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1umef_131",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1umef_131",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1umef_134",
|
|
12
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1umef_134",
|
|
13
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1umef_137",
|
|
14
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1umef_137",
|
|
15
|
+
"annotation": "awsui_annotation_1hpp3_1umef_145",
|
|
16
|
+
"next-button": "awsui_next-button_1hpp3_1umef_146",
|
|
17
|
+
"previous-button": "awsui_previous-button_1hpp3_1umef_147",
|
|
18
|
+
"finish-button": "awsui_finish-button_1hpp3_1umef_148",
|
|
19
|
+
"header": "awsui_header_1hpp3_1umef_149",
|
|
20
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_1umef_150",
|
|
21
|
+
"content": "awsui_content_1hpp3_1umef_151",
|
|
22
|
+
"description": "awsui_description_1hpp3_1umef_155",
|
|
23
|
+
"actionBar": "awsui_actionBar_1hpp3_1umef_160",
|
|
24
|
+
"stepCounter": "awsui_stepCounter_1hpp3_1umef_167",
|
|
25
|
+
"divider": "awsui_divider_1hpp3_1umef_171",
|
|
26
|
+
"hotspot": "awsui_hotspot_1hpp3_1umef_175",
|
|
27
|
+
"icon": "awsui_icon_1hpp3_1umef_215"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_arrow_1hpp3_1umef_93:not(#\9) {
|
|
94
94
|
width: 20px;
|
|
95
95
|
height: 10px;
|
|
96
96
|
}
|
|
97
|
-
.awsui_arrow-
|
|
97
|
+
.awsui_arrow-outer_1hpp3_1umef_97:not(#\9), .awsui_arrow-inner_1hpp3_1umef_97:not(#\9) {
|
|
98
98
|
position: absolute;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
width: 20px;
|
|
@@ -102,7 +102,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
top: 0;
|
|
103
103
|
left: 0;
|
|
104
104
|
}
|
|
105
|
-
.awsui_arrow-
|
|
105
|
+
.awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_1umef_97:not(#\9)::after {
|
|
106
106
|
content: "";
|
|
107
107
|
box-sizing: border-box;
|
|
108
108
|
display: inline-block;
|
|
@@ -115,26 +115,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
115
115
|
transform: rotate(45deg);
|
|
116
116
|
transform-origin: 0 100%;
|
|
117
117
|
}
|
|
118
|
-
.awsui_arrow-
|
|
118
|
+
.awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after {
|
|
119
119
|
background-color: var(--color-border-status-info-0iedcr, #0073bb);
|
|
120
120
|
}
|
|
121
|
-
.awsui_arrow-
|
|
121
|
+
.awsui_arrow-inner_1hpp3_1umef_97:not(#\9) {
|
|
122
122
|
top: 2px;
|
|
123
123
|
}
|
|
124
|
-
.awsui_arrow-
|
|
124
|
+
.awsui_arrow-inner_1hpp3_1umef_97:not(#\9)::after {
|
|
125
125
|
border-radius: 1px 0 0 0;
|
|
126
126
|
background-color: var(--color-background-status-info-yq3r41, #f1faff);
|
|
127
127
|
}
|
|
128
|
-
.awsui_arrow-position-right-
|
|
128
|
+
.awsui_arrow-position-right-top_1hpp3_1umef_128 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1umef_128 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after {
|
|
129
129
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
130
130
|
}
|
|
131
|
-
.awsui_arrow-position-left-
|
|
131
|
+
.awsui_arrow-position-left-top_1hpp3_1umef_131 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1umef_131 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after {
|
|
132
132
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
133
133
|
}
|
|
134
|
-
.awsui_arrow-position-top-
|
|
134
|
+
.awsui_arrow-position-top-center_1hpp3_1umef_134 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1umef_134 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after {
|
|
135
135
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
136
136
|
}
|
|
137
|
-
.awsui_arrow-position-bottom-
|
|
137
|
+
.awsui_arrow-position-bottom-center_1hpp3_1umef_137 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1umef_137 > .awsui_arrow-outer_1hpp3_1umef_97:not(#\9)::after {
|
|
138
138
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -142,37 +142,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
142
142
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
143
143
|
SPDX-License-Identifier: Apache-2.0
|
|
144
144
|
*/
|
|
145
|
-
.
|
|
146
|
-
.awsui_next-
|
|
147
|
-
.awsui_previous-
|
|
148
|
-
.awsui_finish-
|
|
149
|
-
.
|
|
150
|
-
.awsui_step-counter-
|
|
151
|
-
.
|
|
145
|
+
.awsui_annotation_1hpp3_1umef_145:not(#\9),
|
|
146
|
+
.awsui_next-button_1hpp3_1umef_146:not(#\9),
|
|
147
|
+
.awsui_previous-button_1hpp3_1umef_147:not(#\9),
|
|
148
|
+
.awsui_finish-button_1hpp3_1umef_148:not(#\9),
|
|
149
|
+
.awsui_header_1hpp3_1umef_149:not(#\9),
|
|
150
|
+
.awsui_step-counter-content_1hpp3_1umef_150:not(#\9),
|
|
151
|
+
.awsui_content_1hpp3_1umef_151:not(#\9) {
|
|
152
152
|
/* used in test-utils */
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
155
|
+
.awsui_description_1hpp3_1umef_155:not(#\9) {
|
|
156
156
|
overflow: hidden;
|
|
157
157
|
margin-top: var(--space-xxs-ynfts5, 4px);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.awsui_actionBar_1hpp3_1umef_160:not(#\9) {
|
|
161
161
|
display: flex;
|
|
162
162
|
justify-content: space-between;
|
|
163
163
|
align-items: center;
|
|
164
164
|
position: relative;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
.awsui_stepCounter_1hpp3_1umef_167:not(#\9) {
|
|
168
168
|
margin-right: 20px;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
.awsui_divider_1hpp3_1umef_171:not(#\9) {
|
|
172
172
|
border-bottom: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.awsui_hotspot_1hpp3_1umef_175:not(#\9) {
|
|
176
176
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
177
177
|
border-collapse: separate;
|
|
178
178
|
border-spacing: 0;
|
|
@@ -213,21 +213,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
213
213
|
border: none;
|
|
214
214
|
padding: 0;
|
|
215
215
|
cursor: pointer;
|
|
216
|
-
scroll-margin: var(--awsui-content-scroll-margin-
|
|
216
|
+
scroll-margin: var(--awsui-content-scroll-margin-3j0evk, 40px 0 0 0);
|
|
217
217
|
width: 16px;
|
|
218
218
|
height: 16px;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.awsui_hotspot_1hpp3_1umef_175:not(#\9):focus {
|
|
221
221
|
outline: none;
|
|
222
222
|
}
|
|
223
|
-
body[data-awsui-focus-visible=true] .
|
|
223
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1umef_175:not(#\9):focus {
|
|
224
224
|
position: relative;
|
|
225
225
|
}
|
|
226
|
-
body[data-awsui-focus-visible=true] .
|
|
226
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1umef_175:not(#\9):focus {
|
|
227
227
|
outline: 2px dotted transparent;
|
|
228
228
|
outline-offset: calc(2px - 1px);
|
|
229
229
|
}
|
|
230
|
-
body[data-awsui-focus-visible=true] .
|
|
230
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1umef_175:not(#\9):focus::before {
|
|
231
231
|
content: " ";
|
|
232
232
|
display: block;
|
|
233
233
|
position: absolute;
|
|
@@ -238,13 +238,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1t5h4_175:not(#\9):focu
|
|
|
238
238
|
border-radius: var(--border-radius-control-circular-focus-ring-l88ib6, 50%);
|
|
239
239
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
.awsui_hotspot_1hpp3_1umef_175 > .awsui_icon_1hpp3_1umef_215:not(#\9) {
|
|
242
242
|
position: relative;
|
|
243
243
|
stroke: var(--color-text-link-default-753y4e, #0073bb);
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.awsui_hotspot_1hpp3_1umef_175:not(#\9):hover > .awsui_icon_1hpp3_1umef_215 {
|
|
246
246
|
stroke: var(--color-text-link-hover-ok01xk, #0073bb);
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.awsui_hotspot_1hpp3_1umef_175:not(#\9):active > .awsui_icon_1hpp3_1umef_215 {
|
|
249
249
|
stroke: var(--color-text-link-default-753y4e, #0073bb);
|
|
250
250
|
}
|