@cloudscape-design/components-themeable 3.0.461 → 3.0.463
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/alert/styles.scss +21 -14
- package/lib/internal/scss/anchor-navigation/styles.scss +21 -12
- package/lib/internal/scss/annotation-context/annotation/arrow.scss +20 -15
- package/lib/internal/scss/annotation-context/annotation/styles.scss +7 -6
- package/lib/internal/scss/app-layout/constants.scss +2 -3
- package/lib/internal/scss/app-layout/content-wrapper/styles.scss +7 -7
- package/lib/internal/scss/app-layout/drawer/styles.scss +9 -10
- package/lib/internal/scss/app-layout/mobile-toolbar/styles.scss +10 -9
- package/lib/internal/scss/app-layout/notifications/styles.scss +1 -1
- package/lib/internal/scss/app-layout/split-panel/styles.scss +1 -1
- package/lib/internal/scss/app-layout/styles.scss +7 -7
- package/lib/internal/scss/app-layout/toggles/styles.scss +4 -3
- package/lib/internal/scss/app-layout/visual-refresh/background.scss +3 -3
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +20 -19
- package/lib/internal/scss/app-layout/visual-refresh/layout.scss +2 -2
- package/lib/internal/scss/app-layout/visual-refresh/main.scss +4 -3
- package/lib/internal/scss/app-layout/visual-refresh/mobile-toolbar.scss +7 -6
- package/lib/internal/scss/app-layout/visual-refresh/navigation.scss +14 -13
- package/lib/internal/scss/app-layout/visual-refresh/notifications.scss +1 -1
- package/lib/internal/scss/app-layout/visual-refresh/split-panel.scss +9 -9
- package/lib/internal/scss/app-layout/visual-refresh/tools.scss +15 -14
- package/lib/internal/scss/app-layout/visual-refresh/trigger-button.scss +20 -12
- package/lib/internal/scss/area-chart/styles.scss +3 -2
- package/lib/internal/scss/attribute-editor/styles.scss +6 -5
- package/lib/internal/scss/autosuggest/styles.scss +2 -2
- package/lib/internal/scss/button/styles.scss +2 -1
- package/lib/internal/template/alert/styles.css.js +25 -25
- package/lib/internal/template/alert/styles.scoped.css +59 -53
- package/lib/internal/template/alert/styles.selectors.js +25 -25
- package/lib/internal/template/anchor-navigation/styles.css.js +8 -8
- package/lib/internal/template/anchor-navigation/styles.scoped.css +39 -30
- package/lib/internal/template/anchor-navigation/styles.selectors.js +8 -8
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +55 -48
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/content-wrapper/styles.css.js +3 -3
- package/lib/internal/template/app-layout/content-wrapper/styles.scoped.css +15 -15
- package/lib/internal/template/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/drawer/styles.css.js +12 -12
- package/lib/internal/template/app-layout/drawer/styles.scoped.css +29 -30
- package/lib/internal/template/app-layout/drawer/styles.selectors.js +12 -12
- package/lib/internal/template/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/lib/internal/template/app-layout/mobile-toolbar/styles.scoped.css +18 -17
- package/lib/internal/template/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +6 -6
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/split-panel/styles.css.js +2 -2
- package/lib/internal/template/app-layout/split-panel/styles.scoped.css +3 -3
- package/lib/internal/template/app-layout/split-panel/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/styles.css.js +16 -16
- package/lib/internal/template/app-layout/styles.scoped.css +26 -26
- package/lib/internal/template/app-layout/styles.selectors.js +16 -16
- package/lib/internal/template/app-layout/toggles/styles.css.js +2 -2
- package/lib/internal/template/app-layout/toggles/styles.scoped.css +10 -9
- package/lib/internal/template/app-layout/toggles/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +80 -80
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +268 -251
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +80 -80
- package/lib/internal/template/area-chart/styles.css.js +6 -6
- package/lib/internal/template/area-chart/styles.scoped.css +12 -11
- package/lib/internal/template/area-chart/styles.selectors.js +6 -6
- package/lib/internal/template/attribute-editor/styles.css.js +14 -14
- package/lib/internal/template/attribute-editor/styles.scoped.css +30 -29
- package/lib/internal/template/attribute-editor/styles.selectors.js +14 -14
- package/lib/internal/template/autosuggest/styles.css.js +3 -3
- package/lib/internal/template/autosuggest/styles.scoped.css +5 -5
- package/lib/internal/template/autosuggest/styles.selectors.js +3 -3
- package/lib/internal/template/button/interfaces.d.ts +3 -2
- package/lib/internal/template/button/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button/interfaces.js.map +1 -1
- package/lib/internal/template/button/internal.d.ts.map +1 -1
- package/lib/internal/template/button/internal.js +9 -0
- package/lib/internal/template/button/internal.js.map +1 -1
- package/lib/internal/template/button/styles.css.js +20 -20
- package/lib/internal/template/button/styles.scoped.css +155 -153
- package/lib/internal/template/button/styles.selectors.js +20 -20
- package/lib/internal/template/button-dropdown/interfaces.d.ts +1 -1
- package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
- package/lib/internal/template/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
- package/lib/internal/template/internal/analytics/components/analytics-funnel.js +11 -2
- package/lib/internal/template/internal/analytics/components/analytics-funnel.js.map +1 -1
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/hooks/use-performance-marks.d.ts +3 -0
- package/lib/internal/template/internal/hooks/use-performance-marks.d.ts.map +1 -0
- package/lib/internal/template/internal/hooks/use-performance-marks.js +41 -0
- package/lib/internal/template/internal/hooks/use-performance-marks.js.map +1 -0
- package/lib/internal/template/popover/interfaces.d.ts +2 -1
- package/lib/internal/template/popover/interfaces.d.ts.map +1 -1
- package/lib/internal/template/popover/interfaces.js.map +1 -1
- package/lib/internal/template/select/interfaces.d.ts +1 -0
- package/lib/internal/template/select/interfaces.d.ts.map +1 -1
- package/lib/internal/template/select/interfaces.js.map +1 -1
- package/lib/internal/template/select/parts/multiselect-item.d.ts +3 -16
- package/lib/internal/template/select/parts/multiselect-item.d.ts.map +1 -1
- package/lib/internal/template/select/parts/multiselect-item.js +1 -1
- package/lib/internal/template/select/parts/multiselect-item.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +10 -0
- package/lib/internal/template/table/internal.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
.container {
|
|
11
11
|
grid-area: main;
|
|
12
|
-
padding-
|
|
12
|
+
padding-block-end: awsui.$space-layout-content-bottom;
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
If the split panel is in the bottom position additional padding will need to be
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
sticky position of the split panel.
|
|
19
19
|
*/
|
|
20
20
|
&.has-split-panel.split-panel-position-bottom {
|
|
21
|
-
padding-
|
|
21
|
+
padding-block-end: calc(var(#{custom-props.$splitPanelHeight}) + #{awsui.$space-layout-content-bottom});
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/*
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
*/
|
|
31
31
|
&.disable-content-paddings {
|
|
32
32
|
grid-column: 1 / 6;
|
|
33
|
-
padding: 0;
|
|
33
|
+
padding-block: 0;
|
|
34
|
+
padding-inline: 0;
|
|
34
35
|
|
|
35
36
|
@include styles.media-breakpoint-up(styles.$breakpoint-x-small) {
|
|
36
37
|
&.is-navigation-open {
|
|
@@ -10,22 +10,23 @@
|
|
|
10
10
|
section.mobile-toolbar {
|
|
11
11
|
align-items: center;
|
|
12
12
|
background-color: awsui.$color-background-home-header;
|
|
13
|
-
border-
|
|
13
|
+
border-block-end: 1px solid awsui.$color-border-divider-default;
|
|
14
14
|
box-shadow: awsui.$shadow-panel-toggle;
|
|
15
15
|
box-sizing: border-box;
|
|
16
|
-
|
|
16
|
+
block-size: var(#{custom-props.$mobileBarHeight});
|
|
17
17
|
display: grid;
|
|
18
18
|
grid-area: mobileToolbar;
|
|
19
19
|
grid-column: 1 / span 5;
|
|
20
20
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
21
|
-
padding: 0
|
|
21
|
+
padding-block: 0;
|
|
22
|
+
padding-inline: awsui.$space-m;
|
|
22
23
|
position: sticky;
|
|
23
|
-
|
|
24
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
24
25
|
z-index: 1000;
|
|
25
26
|
|
|
26
27
|
> .mobile-toolbar-nav {
|
|
27
28
|
grid-column: 1;
|
|
28
|
-
margin-
|
|
29
|
+
margin-inline-end: awsui.$space-m;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
> .mobile-toolbar-breadcrumbs {
|
|
@@ -35,6 +36,6 @@ section.mobile-toolbar {
|
|
|
35
36
|
|
|
36
37
|
> .mobile-toolbar-tools {
|
|
37
38
|
grid-column: 3;
|
|
38
|
-
margin-
|
|
39
|
+
margin-inline-start: awsui.$space-m;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
display: flex;
|
|
13
13
|
grid-column: 1;
|
|
14
14
|
grid-row: 1 / span 10;
|
|
15
|
-
|
|
15
|
+
block-size: var(#{custom-props.$contentHeight});
|
|
16
16
|
position: sticky;
|
|
17
|
-
|
|
17
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
18
18
|
z-index: 830;
|
|
19
19
|
|
|
20
20
|
/*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@include styles.media-breakpoint-down(styles.$breakpoint-x-small) {
|
|
37
|
-
|
|
37
|
+
inset-inline-start: 0;
|
|
38
38
|
position: fixed;
|
|
39
39
|
z-index: 1001;
|
|
40
40
|
|
|
@@ -46,13 +46,14 @@
|
|
|
46
46
|
relative to the body.
|
|
47
47
|
*/
|
|
48
48
|
&.disable-body-scroll {
|
|
49
|
-
|
|
49
|
+
inset-block-start: var(#{custom-props.$headerHeight});
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
nav.show-navigation {
|
|
55
|
-
padding: awsui.$space-scaled-s
|
|
55
|
+
padding-block: awsui.$space-scaled-s;
|
|
56
|
+
padding-inline: awsui.$space-layout-toggle-padding;
|
|
56
57
|
|
|
57
58
|
// Animation for the buttons when they are added to the DOM
|
|
58
59
|
@keyframes showButtons {
|
|
@@ -88,8 +89,8 @@ nav.show-navigation {
|
|
|
88
89
|
nav.navigation {
|
|
89
90
|
background-color: awsui.$color-background-container-content;
|
|
90
91
|
box-shadow: awsui.$shadow-panel;
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
inset-block-end: 0;
|
|
93
|
+
block-size: 100%;
|
|
93
94
|
overflow-x: hidden;
|
|
94
95
|
overflow-y: auto;
|
|
95
96
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
@@ -102,18 +103,18 @@ nav.navigation {
|
|
|
102
103
|
@keyframes openNavigation {
|
|
103
104
|
from {
|
|
104
105
|
opacity: 0;
|
|
105
|
-
|
|
106
|
+
inline-size: calc(#{awsui.$space-layout-toggle-padding} * 2 + #{awsui.$space-layout-toggle-diameter});
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
to {
|
|
109
110
|
opacity: 1;
|
|
110
|
-
|
|
111
|
+
inline-size: var(#{custom-props.$navigationWidth});
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
// All content is hidden by the overflow-x property
|
|
115
116
|
&:not(.is-navigation-open) {
|
|
116
|
-
|
|
117
|
+
inline-size: 0;
|
|
117
118
|
// We need to hide the closed panel to make containing focusable elements not focusable anymore.
|
|
118
119
|
display: none;
|
|
119
120
|
}
|
|
@@ -133,7 +134,7 @@ nav.navigation {
|
|
|
133
134
|
prevent unwanted text wrapping.
|
|
134
135
|
*/
|
|
135
136
|
> .animated-content {
|
|
136
|
-
|
|
137
|
+
inline-size: var(#{custom-props.$navigationWidth});
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
// The Navigation drawer will take up the entire viewport on mobile
|
|
@@ -144,6 +145,6 @@ nav.navigation {
|
|
|
144
145
|
|
|
145
146
|
.hide-navigation {
|
|
146
147
|
position: absolute;
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
inset-inline-end: awsui.$space-m;
|
|
149
|
+
inset-block-start: awsui.$size-vertical-panel-icon-offset;
|
|
149
150
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
&.sticky-notifications {
|
|
17
17
|
#{custom-props.$flashbarStickyBottomMargin}: #{awsui.$space-xxl};
|
|
18
18
|
position: sticky;
|
|
19
|
-
|
|
19
|
+
inset-block-start: calc(var(#{custom-props.$offsetTop}) + #{awsui.$space-xs});
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -19,11 +19,11 @@ section.split-panel-bottom {
|
|
|
19
19
|
This could be off the viewport if the content area has enough content to be scrollable.
|
|
20
20
|
*/
|
|
21
21
|
align-self: end;
|
|
22
|
-
|
|
22
|
+
inset-block-end: var(#{custom-props.$footerHeight});
|
|
23
23
|
display: none;
|
|
24
24
|
grid-column: 1 / 6;
|
|
25
25
|
grid-row: 10;
|
|
26
|
-
|
|
26
|
+
block-size: auto;
|
|
27
27
|
overflow-y: hidden;
|
|
28
28
|
|
|
29
29
|
/*
|
|
@@ -37,17 +37,17 @@ section.split-panel-bottom {
|
|
|
37
37
|
// Animation for the height when opening the split panel
|
|
38
38
|
@keyframes openSplitPanelBottom {
|
|
39
39
|
from {
|
|
40
|
-
|
|
40
|
+
block-size: var(#{custom-props.$splitPanelReportedHeaderSize}, 0);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
to {
|
|
44
|
-
|
|
44
|
+
block-size: var(#{custom-props.$splitPanelReportedSize});
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
// If the Layout is the scrollable element then the footer height is not relevant
|
|
49
49
|
&.disable-body-scroll {
|
|
50
|
-
|
|
50
|
+
inset-block-end: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&.is-navigation-open.position-bottom {
|
|
@@ -93,13 +93,13 @@ section.split-panel-bottom {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
section.split-panel-side {
|
|
96
|
-
|
|
96
|
+
block-size: 100%;
|
|
97
97
|
overflow-x: hidden;
|
|
98
98
|
pointer-events: auto;
|
|
99
99
|
|
|
100
100
|
&:not(.is-split-panel-open),
|
|
101
101
|
&.position-bottom {
|
|
102
|
-
|
|
102
|
+
inline-size: 0;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/*
|
|
@@ -109,7 +109,7 @@ section.split-panel-side {
|
|
|
109
109
|
*/
|
|
110
110
|
&.is-split-panel-open.position-side {
|
|
111
111
|
box-shadow: awsui.$shadow-panel;
|
|
112
|
-
max-
|
|
113
|
-
min-
|
|
112
|
+
max-inline-size: var(#{custom-props.$splitPanelMaxWidth}, 280px);
|
|
113
|
+
min-inline-size: var(#{custom-props.$splitPanelMinWidth}, 280px);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -27,10 +27,10 @@ viewport size and state of the Tools drawer.
|
|
|
27
27
|
display: flex;
|
|
28
28
|
grid-column: 5;
|
|
29
29
|
grid-row: 1 / span 10;
|
|
30
|
-
|
|
31
|
-
max-
|
|
30
|
+
block-size: var(#{custom-props.$contentHeight});
|
|
31
|
+
max-inline-size: var(#{custom-props.$toolsMaxWidth});
|
|
32
32
|
position: sticky;
|
|
33
|
-
|
|
33
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
34
34
|
z-index: 830;
|
|
35
35
|
|
|
36
36
|
pointer-events: none;
|
|
@@ -43,7 +43,7 @@ viewport size and state of the Tools drawer.
|
|
|
43
43
|
#{custom-props.$toolsMaxWidth}: none;
|
|
44
44
|
#{custom-props.$toolsWidth}: auto;
|
|
45
45
|
position: fixed;
|
|
46
|
-
|
|
46
|
+
inset-inline-end: 0;
|
|
47
47
|
z-index: 1001;
|
|
48
48
|
|
|
49
49
|
/*
|
|
@@ -54,7 +54,7 @@ viewport size and state of the Tools drawer.
|
|
|
54
54
|
relative to the body.
|
|
55
55
|
*/
|
|
56
56
|
&.disable-body-scroll {
|
|
57
|
-
|
|
57
|
+
inset-block-start: var(#{custom-props.$headerHeight});
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -63,7 +63,7 @@ viewport size and state of the Tools drawer.
|
|
|
63
63
|
background-color: awsui.$color-background-container-content;
|
|
64
64
|
box-shadow: awsui.$shadow-panel;
|
|
65
65
|
flex-shrink: 0;
|
|
66
|
-
|
|
66
|
+
block-size: 100%;
|
|
67
67
|
overflow-y: auto;
|
|
68
68
|
overflow-x: hidden;
|
|
69
69
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
@@ -76,17 +76,17 @@ viewport size and state of the Tools drawer.
|
|
|
76
76
|
@keyframes openTools {
|
|
77
77
|
from {
|
|
78
78
|
opacity: var(#{custom-props.$toolsAnimationStartingOpacity}, 0);
|
|
79
|
-
|
|
79
|
+
inline-size: calc(#{awsui.$space-layout-toggle-padding} * 2 + #{awsui.$space-layout-toggle-diameter});
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
to {
|
|
83
83
|
opacity: 1;
|
|
84
|
-
|
|
84
|
+
inline-size: var(#{custom-props.$toolsWidth});
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
&:not(.is-tools-open) {
|
|
89
|
-
|
|
89
|
+
inline-size: 0;
|
|
90
90
|
// We need to hide the closed panel to make containing focusable elements not focusable anymore.
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
|
@@ -106,7 +106,7 @@ viewport size and state of the Tools drawer.
|
|
|
106
106
|
prevent unwanted text wrapping.
|
|
107
107
|
*/
|
|
108
108
|
> .animated-content {
|
|
109
|
-
|
|
109
|
+
inline-size: var(#{custom-props.$toolsWidth});
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/*
|
|
@@ -117,7 +117,7 @@ viewport size and state of the Tools drawer.
|
|
|
117
117
|
*/
|
|
118
118
|
@include styles.media-breakpoint-up(styles.$breakpoint-x-small) {
|
|
119
119
|
&.is-tools-open.has-tools-form-persistence {
|
|
120
|
-
border-
|
|
120
|
+
border-inline-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -129,8 +129,8 @@ viewport size and state of the Tools drawer.
|
|
|
129
129
|
|
|
130
130
|
.hide-tools {
|
|
131
131
|
position: absolute;
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
inset-inline-end: awsui.$space-m;
|
|
133
|
+
inset-block-start: awsui.$size-vertical-panel-icon-offset;
|
|
134
134
|
z-index: 1;
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -142,7 +142,8 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
142
142
|
.show-tools {
|
|
143
143
|
@include styles.styles-reset;
|
|
144
144
|
box-sizing: border-box;
|
|
145
|
-
padding: awsui.$space-scaled-s
|
|
145
|
+
padding-block: awsui.$space-scaled-s;
|
|
146
|
+
padding-inline: awsui.$space-layout-toggle-padding;
|
|
146
147
|
|
|
147
148
|
// Animation for the buttons when they are added to the DOM
|
|
148
149
|
@keyframes showButtons {
|
|
@@ -21,9 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
@mixin trigger-button-styles {
|
|
23
23
|
background: awsui.$color-background-layout-toggle-default;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
border-start-start-radius: 50%;
|
|
25
|
+
border-start-end-radius: 50%;
|
|
26
|
+
border-end-start-radius: 50%;
|
|
27
|
+
border-end-end-radius: 50%;
|
|
28
|
+
block-size: awsui.$space-layout-toggle-diameter;
|
|
29
|
+
inline-size: awsui.$space-layout-toggle-diameter;
|
|
27
30
|
|
|
28
31
|
&:hover {
|
|
29
32
|
background: awsui.$color-background-layout-toggle-hover;
|
|
@@ -38,8 +41,8 @@
|
|
|
38
41
|
@include trigger-button-styles();
|
|
39
42
|
|
|
40
43
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
inset-block-start: 0;
|
|
45
|
+
inset-inline-start: 0;
|
|
43
46
|
display: flex;
|
|
44
47
|
justify-content: center;
|
|
45
48
|
align-items: center;
|
|
@@ -56,7 +59,6 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
56
59
|
*/
|
|
57
60
|
.trigger {
|
|
58
61
|
@include trigger-button-styles();
|
|
59
|
-
|
|
60
62
|
border: none;
|
|
61
63
|
color: awsui.$color-text-layout-toggle;
|
|
62
64
|
cursor: pointer;
|
|
@@ -89,15 +91,21 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
89
91
|
.trigger-wrapper {
|
|
90
92
|
position: relative;
|
|
91
93
|
box-shadow: awsui.$shadow-panel-toggle;
|
|
92
|
-
border-radius: 50%;
|
|
94
|
+
border-start-start-radius: 50%;
|
|
95
|
+
border-start-end-radius: 50%;
|
|
96
|
+
border-end-start-radius: 50%;
|
|
97
|
+
border-end-end-radius: 50%;
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
.dot {
|
|
96
101
|
position: absolute;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
border-radius: 8px;
|
|
102
|
+
inline-size: 9px;
|
|
103
|
+
block-size: 9px;
|
|
104
|
+
border-start-start-radius: 8px;
|
|
105
|
+
border-start-end-radius: 8px;
|
|
106
|
+
border-end-start-radius: 8px;
|
|
107
|
+
border-end-end-radius: 8px;
|
|
100
108
|
background-color: awsui.$color-background-badge-icon;
|
|
101
|
-
|
|
102
|
-
|
|
109
|
+
inset-block-start: 0;
|
|
110
|
+
inset-inline-end: 0;
|
|
103
111
|
}
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.popover-divider {
|
|
35
|
-
margin: awsui.$space-xs
|
|
36
|
-
|
|
35
|
+
margin-block: awsui.$space-xs;
|
|
36
|
+
margin-inline: 0;
|
|
37
|
+
border-block-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
37
38
|
}
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
// The value is calculated as follows:
|
|
43
43
|
// padding-top = awsui-form-field-controls: 4px +
|
|
44
44
|
// line height (also applies to icon size) awsui-form-field-label: 22px
|
|
45
|
-
padding-
|
|
45
|
+
padding-block-start: calc(#{awsui.$space-xxs} + #{awsui.$line-height-body-m});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.button-container-nolabel {
|
|
49
|
-
padding-
|
|
49
|
+
padding-block-start: #{awsui.$space-xxs};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.divider {
|
|
53
|
-
border-
|
|
53
|
+
border-block-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.additional-info {
|
|
57
57
|
@include styles.form-control-description;
|
|
58
58
|
display: block;
|
|
59
59
|
word-wrap: break-word;
|
|
60
|
-
margin-
|
|
60
|
+
margin-block-start: awsui.$space-xxs;
|
|
61
61
|
|
|
62
62
|
/* stylelint-disable-next-line selector-max-type */
|
|
63
63
|
> a {
|
|
@@ -66,5 +66,6 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.right-align {
|
|
69
|
-
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: flex-end;
|
|
70
71
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.root {
|
|
7
|
-
|
|
7
|
+
inline-size: 100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.layout-strut {
|
|
11
|
-
|
|
11
|
+
inline-size: 100%;
|
|
12
12
|
position: relative;
|
|
13
13
|
// Prevent incorrect layer ordering in Safari by making sure
|
|
14
14
|
// this element is also offloaded to the GPU along with the virtual items
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
background: map.get($variant, 'default-background');
|
|
14
14
|
color: map.get($variant, 'default-color');
|
|
15
15
|
border-color: map.get($variant, 'default-border-color');
|
|
16
|
-
border-width: map.get($variant, 'border-width');
|
|
16
|
+
border-block-width: map.get($variant, 'border-width');
|
|
17
|
+
border-inline-width: map.get($variant, 'border-width');
|
|
17
18
|
position: relative;
|
|
18
19
|
text-decoration: none;
|
|
19
20
|
padding-block: map.get($variant, 'padding');
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"alert": "
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"hidden": "
|
|
8
|
-
"with-dismiss": "awsui_with-
|
|
9
|
-
"with-action": "awsui_with-
|
|
10
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
11
|
-
"header": "
|
|
12
|
-
"action": "
|
|
13
|
-
"action-slot": "awsui_action-
|
|
14
|
-
"action-button": "awsui_action-
|
|
15
|
-
"alert-focus-wrapper": "awsui_alert-focus-
|
|
16
|
-
"text": "
|
|
17
|
-
"icon": "
|
|
18
|
-
"message": "
|
|
19
|
-
"icon-size-medium": "awsui_icon-size-
|
|
20
|
-
"icon-size-big": "awsui_icon-size-
|
|
21
|
-
"icon-size-normal": "awsui_icon-size-
|
|
22
|
-
"content": "
|
|
23
|
-
"dismiss": "
|
|
24
|
-
"dismiss-button": "awsui_dismiss-
|
|
25
|
-
"type-error": "awsui_type-
|
|
26
|
-
"type-warning": "awsui_type-
|
|
27
|
-
"type-success": "awsui_type-
|
|
28
|
-
"type-info": "awsui_type-
|
|
4
|
+
"alert": "awsui_alert_mx3cw_k5ogv_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_k5ogv_1",
|
|
6
|
+
"root": "awsui_root_mx3cw_k5ogv_119",
|
|
7
|
+
"hidden": "awsui_hidden_mx3cw_k5ogv_135",
|
|
8
|
+
"with-dismiss": "awsui_with-dismiss_mx3cw_k5ogv_162",
|
|
9
|
+
"with-action": "awsui_with-action_mx3cw_k5ogv_162",
|
|
10
|
+
"breakpoint-default": "awsui_breakpoint-default_mx3cw_k5ogv_168",
|
|
11
|
+
"header": "awsui_header_mx3cw_k5ogv_175",
|
|
12
|
+
"action": "awsui_action_mx3cw_k5ogv_179",
|
|
13
|
+
"action-slot": "awsui_action-slot_mx3cw_k5ogv_184",
|
|
14
|
+
"action-button": "awsui_action-button_mx3cw_k5ogv_185",
|
|
15
|
+
"alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_k5ogv_189",
|
|
16
|
+
"text": "awsui_text_mx3cw_k5ogv_215",
|
|
17
|
+
"icon": "awsui_icon_mx3cw_k5ogv_222",
|
|
18
|
+
"message": "awsui_message_mx3cw_k5ogv_225",
|
|
19
|
+
"icon-size-medium": "awsui_icon-size-medium_mx3cw_k5ogv_233",
|
|
20
|
+
"icon-size-big": "awsui_icon-size-big_mx3cw_k5ogv_236",
|
|
21
|
+
"icon-size-normal": "awsui_icon-size-normal_mx3cw_k5ogv_239",
|
|
22
|
+
"content": "awsui_content_mx3cw_k5ogv_243",
|
|
23
|
+
"dismiss": "awsui_dismiss_mx3cw_k5ogv_247",
|
|
24
|
+
"dismiss-button": "awsui_dismiss-button_mx3cw_k5ogv_252",
|
|
25
|
+
"type-error": "awsui_type-error_mx3cw_k5ogv_256",
|
|
26
|
+
"type-warning": "awsui_type-warning_mx3cw_k5ogv_264",
|
|
27
|
+
"type-success": "awsui_type-success_mx3cw_k5ogv_272",
|
|
28
|
+
"type-info": "awsui_type-info_mx3cw_k5ogv_280"
|
|
29
29
|
};
|
|
30
30
|
|