@cloudscape-design/components-themeable 3.0.1129 → 3.0.1131
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/visual-refresh-toolbar/drawer/styles.scss +1 -1
- package/lib/internal/scss/input/styles.scss +16 -16
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/steps/styles.scss +63 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +27 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +78 -78
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -27
- package/lib/internal/template/input/styles.css.js +13 -13
- package/lib/internal/template/input/styles.scoped.css +34 -34
- package/lib/internal/template/input/styles.selectors.js +13 -13
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/status-indicator/internal.d.ts +7 -0
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +6 -3
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/lib/internal/template/steps/interfaces.d.ts +22 -0
- package/lib/internal/template/steps/interfaces.d.ts.map +1 -1
- package/lib/internal/template/steps/interfaces.js.map +1 -1
- package/lib/internal/template/steps/internal.d.ts +1 -1
- package/lib/internal/template/steps/internal.d.ts.map +1 -1
- package/lib/internal/template/steps/internal.js +31 -7
- package/lib/internal/template/steps/internal.js.map +1 -1
- package/lib/internal/template/steps/styles.css.js +9 -6
- package/lib/internal/template/steps/styles.scoped.css +58 -7
- package/lib/internal/template/steps/styles.selectors.js +9 -6
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ $ai-drawer-heider-height: 41px;
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@include desktop-only {
|
|
53
|
-
&:not(.legacy):not(.ai-drawer) {
|
|
53
|
+
&:not(.legacy):not(.ai-drawer):not(.bottom-drawer) {
|
|
54
54
|
border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -55,6 +55,22 @@
|
|
|
55
55
|
@include styles.font-body-m;
|
|
56
56
|
block-size: awsui.$size-vertical-input;
|
|
57
57
|
|
|
58
|
+
&:hover {
|
|
59
|
+
border-color: var(
|
|
60
|
+
#{custom-props.$styleBorderColorHover},
|
|
61
|
+
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default)
|
|
62
|
+
);
|
|
63
|
+
color: var(
|
|
64
|
+
#{custom-props.$styleColorHover},
|
|
65
|
+
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-text-body-default)
|
|
66
|
+
);
|
|
67
|
+
background-color: var(
|
|
68
|
+
#{custom-props.$styleBackgroundHover},
|
|
69
|
+
var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
|
|
70
|
+
);
|
|
71
|
+
box-shadow: var(#{custom-props.$styleBoxShadowHover}, #{custom-props.$styleBoxShadowDefault});
|
|
72
|
+
}
|
|
73
|
+
|
|
58
74
|
&.input-readonly {
|
|
59
75
|
@include styles.form-readonly-element(
|
|
60
76
|
$background-color: var(
|
|
@@ -109,22 +125,6 @@
|
|
|
109
125
|
box-shadow: none;
|
|
110
126
|
}
|
|
111
127
|
|
|
112
|
-
&:hover:not(:focus):not(:disabled):not(.input-readonly) {
|
|
113
|
-
border-color: var(
|
|
114
|
-
#{custom-props.$styleBorderColorHover},
|
|
115
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default)
|
|
116
|
-
);
|
|
117
|
-
color: var(
|
|
118
|
-
#{custom-props.$styleColorHover},
|
|
119
|
-
var(#{custom-props.$styleBorderColorDefault}, awsui.$color-text-body-default)
|
|
120
|
-
);
|
|
121
|
-
background-color: var(
|
|
122
|
-
#{custom-props.$styleBackgroundHover},
|
|
123
|
-
var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
|
|
124
|
-
);
|
|
125
|
-
box-shadow: var(#{custom-props.$styleBoxShadowHover}, #{custom-props.$styleBoxShadowDefault});
|
|
126
|
-
}
|
|
127
|
-
|
|
128
128
|
&.input-invalid {
|
|
129
129
|
@include styles.form-invalid-control();
|
|
130
130
|
&.input-has-icon-left {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.root {
|
|
10
10
|
@include styles.styles-reset;
|
|
11
|
+
@include styles.text-wrapping;
|
|
11
12
|
|
|
12
13
|
> .list {
|
|
13
14
|
list-style: none;
|
|
@@ -20,6 +21,8 @@
|
|
|
20
21
|
grid-template-rows: minmax(awsui.$space-static-l, auto);
|
|
21
22
|
|
|
22
23
|
> .header {
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: awsui.$space-xxs;
|
|
23
26
|
grid-row: 1;
|
|
24
27
|
grid-column: 1 / span 2;
|
|
25
28
|
}
|
|
@@ -49,5 +52,65 @@
|
|
|
49
52
|
> :last-of-type > .connector {
|
|
50
53
|
display: none;
|
|
51
54
|
}
|
|
55
|
+
|
|
56
|
+
&.custom > .details {
|
|
57
|
+
// Remove built-in margins for custom rendering for maximum flexibility
|
|
58
|
+
margin-block-end: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.horizontal {
|
|
64
|
+
> .list {
|
|
65
|
+
display: grid;
|
|
66
|
+
align-items: flex-start;
|
|
67
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
68
|
+
grid-auto-flow: column;
|
|
69
|
+
|
|
70
|
+
> .container {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-template-columns: awsui.$space-static-l 1fr;
|
|
73
|
+
grid-template-rows: minmax(awsui.$space-static-l, auto);
|
|
74
|
+
align-items: center;
|
|
75
|
+
|
|
76
|
+
> .header {
|
|
77
|
+
display: flex;
|
|
78
|
+
grid-row: 1;
|
|
79
|
+
grid-column: 1 / span 2;
|
|
80
|
+
align-items: center;
|
|
81
|
+
|
|
82
|
+
> .connector {
|
|
83
|
+
display: block;
|
|
84
|
+
flex: 1;
|
|
85
|
+
background-color: awsui.$color-border-divider-default;
|
|
86
|
+
margin-block: 0;
|
|
87
|
+
border-block: 0;
|
|
88
|
+
border-inline: 0;
|
|
89
|
+
min-block-size: 0;
|
|
90
|
+
inset-inline-end: 0;
|
|
91
|
+
|
|
92
|
+
block-size: awsui.$border-divider-list-width;
|
|
93
|
+
inline-size: auto;
|
|
94
|
+
min-inline-size: awsui.$space-static-xs;
|
|
95
|
+
margin-inline-end: awsui.$space-static-xxs;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> .horizontal-header {
|
|
100
|
+
grid-row: 2;
|
|
101
|
+
grid-column: 1 / span 3;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
> .details {
|
|
105
|
+
grid-row: 3;
|
|
106
|
+
grid-column: 1 / span 3;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
> .container:last-child {
|
|
111
|
+
> .header > .connector {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
52
115
|
}
|
|
53
116
|
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"drawer": "
|
|
5
|
-
"with-expanded-motion": "awsui_with-expanded-
|
|
6
|
-
"legacy": "
|
|
7
|
-
"ai-drawer": "awsui_ai-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"drawer-
|
|
11
|
-
"drawer-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"drawer-
|
|
15
|
-
"drawer-
|
|
16
|
-
"drawer-
|
|
17
|
-
"drawer-
|
|
18
|
-
"drawer-
|
|
19
|
-
"drawer-content
|
|
20
|
-
"drawer-
|
|
21
|
-
"drawer-
|
|
22
|
-
"
|
|
23
|
-
"drawer-
|
|
24
|
-
"drawer-content-header
|
|
25
|
-
"drawer-
|
|
26
|
-
"drawer-back-to-console-
|
|
27
|
-
"drawer-back-to-console-button": "awsui_drawer-back-to-console-
|
|
28
|
-
"drawer-back-to-console-
|
|
29
|
-
"drawer-
|
|
30
|
-
"
|
|
4
|
+
"drawer": "awsui_drawer_12i0j_1k77u_193",
|
|
5
|
+
"with-expanded-motion": "awsui_with-expanded-motion_12i0j_1k77u_207",
|
|
6
|
+
"legacy": "awsui_legacy_12i0j_1k77u_221",
|
|
7
|
+
"ai-drawer": "awsui_ai-drawer_12i0j_1k77u_221",
|
|
8
|
+
"bottom-drawer": "awsui_bottom-drawer_12i0j_1k77u_221",
|
|
9
|
+
"last-opened": "awsui_last-opened_12i0j_1k77u_229",
|
|
10
|
+
"drawer-global": "awsui_drawer-global_12i0j_1k77u_233",
|
|
11
|
+
"drawer-expanded": "awsui_drawer-expanded_12i0j_1k77u_242",
|
|
12
|
+
"drawer-hidden": "awsui_drawer-hidden_12i0j_1k77u_246",
|
|
13
|
+
"has-next-siblings": "awsui_has-next-siblings_12i0j_1k77u_256",
|
|
14
|
+
"global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_1k77u_256",
|
|
15
|
+
"drawer-content-container": "awsui_drawer-content-container_12i0j_1k77u_270",
|
|
16
|
+
"drawer-gap": "awsui_drawer-gap_12i0j_1k77u_273",
|
|
17
|
+
"drawer-close-button": "awsui_drawer-close-button_12i0j_1k77u_291",
|
|
18
|
+
"drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_1k77u_297",
|
|
19
|
+
"drawer-content": "awsui_drawer-content_12i0j_1k77u_270",
|
|
20
|
+
"drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_1k77u_309",
|
|
21
|
+
"drawer-slider": "awsui_drawer-slider_12i0j_1k77u_312",
|
|
22
|
+
"drawer-actions": "awsui_drawer-actions_12i0j_1k77u_362",
|
|
23
|
+
"ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_1k77u_418",
|
|
24
|
+
"drawer-content-header": "awsui_drawer-content-header_12i0j_1k77u_437",
|
|
25
|
+
"drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_1k77u_450",
|
|
26
|
+
"drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_1k77u_467",
|
|
27
|
+
"drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_1k77u_506",
|
|
28
|
+
"drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_1k77u_506",
|
|
29
|
+
"drawer-back-to-console-custom-button": "awsui_drawer-back-to-console-custom-button_12i0j_1k77u_579",
|
|
30
|
+
"drawer-content-content": "awsui_drawer-content-content_12i0j_1k77u_585"
|
|
31
31
|
};
|
|
32
32
|
|