@cloudscape-design/components-themeable 3.0.321 → 3.0.322
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/container/styles.scss +62 -2
- package/lib/internal/scss/help-panel/styles.scss +14 -6
- package/lib/internal/scss/internal/styles/utils/theming.scss +6 -4
- package/lib/internal/scss/text-content/styles.scss +1 -1
- package/lib/internal/template/code-editor/resizable-box/styles.css.js +3 -3
- package/lib/internal/template/code-editor/resizable-box/styles.scoped.css +18 -14
- package/lib/internal/template/code-editor/resizable-box/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/styles.css.js +32 -32
- package/lib/internal/template/code-editor/styles.scoped.css +317 -253
- package/lib/internal/template/code-editor/styles.selectors.js +32 -32
- package/lib/internal/template/container/interfaces.d.ts +50 -0
- package/lib/internal/template/container/interfaces.d.ts.map +1 -1
- package/lib/internal/template/container/interfaces.js.map +1 -1
- package/lib/internal/template/container/internal.d.ts +1 -1
- package/lib/internal/template/container/internal.d.ts.map +1 -1
- package/lib/internal/template/container/internal.js +24 -18
- package/lib/internal/template/container/internal.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +28 -18
- package/lib/internal/template/container/styles.scoped.css +93 -36
- package/lib/internal/template/container/styles.selectors.js +28 -18
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts +2 -1
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +6 -16
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/internal.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/internal.js +3 -2
- package/lib/internal/template/expandable-section/internal.js.map +1 -1
- package/lib/internal/template/help-panel/styles.css.js +4 -4
- package/lib/internal/template/help-panel/styles.scoped.css +135 -95
- package/lib/internal/template/help-panel/styles.selectors.js +4 -4
- package/lib/internal/template/i18n/provider.d.ts.map +1 -1
- package/lib/internal/template/i18n/provider.js +2 -0
- package/lib/internal/template/i18n/provider.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +592 -586
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +2 -1
- package/lib/internal/template/internal/generated/theming/index.js +2 -1
- package/lib/internal/template/internal/hooks/use-visual-mode/index.d.ts.map +1 -1
- package/lib/internal/template/internal/hooks/use-visual-mode/index.js +3 -0
- package/lib/internal/template/internal/hooks/use-visual-mode/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/container/index.d.ts +1 -0
- package/lib/internal/template/test-utils/dom/container/index.js +3 -0
- package/lib/internal/template/test-utils/dom/container/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/expandable-section/index.js +1 -1
- package/lib/internal/template/test-utils/dom/expandable-section/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/container/index.d.ts +1 -0
- package/lib/internal/template/test-utils/selectors/container/index.js +3 -0
- package/lib/internal/template/test-utils/selectors/container/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/expandable-section/index.js +1 -1
- package/lib/internal/template/test-utils/selectors/expandable-section/index.js.map +1 -1
- package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +65 -64
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
height: 100%;
|
|
19
|
+
&.with-side-media {
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
&.variant {
|
|
@@ -61,11 +64,65 @@
|
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
66
|
|
|
67
|
+
.with-side-media {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: row;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.with-top-media {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.content-wrapper {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
width: 100%;
|
|
81
|
+
&-fit-height {
|
|
82
|
+
height: 100%;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.media {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
|
|
91
|
+
// stylelint-disable-next-line @cloudscape-design/no-implicit-descendant, selector-max-type
|
|
92
|
+
img,
|
|
93
|
+
video,
|
|
94
|
+
picture {
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
object-fit: cover;
|
|
98
|
+
object-position: center;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-top {
|
|
102
|
+
max-height: 66%;
|
|
103
|
+
border-top-left-radius: awsui.$border-radius-container;
|
|
104
|
+
border-top-right-radius: awsui.$border-radius-container;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&-side {
|
|
108
|
+
max-width: 66%;
|
|
109
|
+
border-top-left-radius: awsui.$border-radius-container;
|
|
110
|
+
border-bottom-left-radius: awsui.$border-radius-container;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
64
114
|
.header {
|
|
65
115
|
background-color: awsui.$color-background-container-header;
|
|
66
116
|
border-top-left-radius: awsui.$border-radius-container;
|
|
67
117
|
border-top-right-radius: awsui.$border-radius-container;
|
|
68
118
|
|
|
119
|
+
&.header-with-media {
|
|
120
|
+
background: none;
|
|
121
|
+
&:not(:empty) {
|
|
122
|
+
border-bottom: none;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
69
126
|
// sticky positioning may be disabled (on mobile or if browser does not support it),
|
|
70
127
|
// but some markup still requires a new stacking context
|
|
71
128
|
&-sticky-disabled {
|
|
@@ -151,8 +208,8 @@ the default white background of the container component.
|
|
|
151
208
|
}
|
|
152
209
|
|
|
153
210
|
.content {
|
|
154
|
-
|
|
155
|
-
|
|
211
|
+
flex: 1;
|
|
212
|
+
&-fit-height {
|
|
156
213
|
overflow: auto;
|
|
157
214
|
}
|
|
158
215
|
&.with-paddings {
|
|
@@ -160,6 +217,9 @@ the default white background of the container component.
|
|
|
160
217
|
|
|
161
218
|
.header + & {
|
|
162
219
|
padding-top: awsui.$space-container-content-top;
|
|
220
|
+
&.content-with-media {
|
|
221
|
+
padding-top: 0;
|
|
222
|
+
}
|
|
163
223
|
}
|
|
164
224
|
}
|
|
165
225
|
}
|
|
@@ -102,12 +102,6 @@
|
|
|
102
102
|
strong {
|
|
103
103
|
font-weight: styles.$font-weight-bold;
|
|
104
104
|
}
|
|
105
|
-
a {
|
|
106
|
-
@include styles.link-default;
|
|
107
|
-
&:focus {
|
|
108
|
-
@include styles.link-focus;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
105
|
|
|
112
106
|
.header {
|
|
113
107
|
@include styles.font-panel-header;
|
|
@@ -144,6 +138,10 @@
|
|
|
144
138
|
h6:first-child {
|
|
145
139
|
margin-top: 0;
|
|
146
140
|
}
|
|
141
|
+
|
|
142
|
+
a {
|
|
143
|
+
@include styles.link-inline;
|
|
144
|
+
}
|
|
147
145
|
}
|
|
148
146
|
|
|
149
147
|
.footer {
|
|
@@ -158,4 +156,14 @@
|
|
|
158
156
|
list-style: none;
|
|
159
157
|
padding-left: 0;
|
|
160
158
|
}
|
|
159
|
+
a {
|
|
160
|
+
@include styles.link-default;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.content,
|
|
165
|
+
.footer {
|
|
166
|
+
a:focus {
|
|
167
|
+
@include styles.link-focus;
|
|
168
|
+
}
|
|
161
169
|
}
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
@mixin dark-mode-only($selector: '') {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@media not print {
|
|
7
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
8
|
+
:global(#{$selector}.awsui-polaris-dark-mode) &,
|
|
9
|
+
:global(#{$selector}.awsui-dark-mode) & {
|
|
10
|
+
@content;
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"resizable-box": "awsui_resizable-
|
|
5
|
-
"resizable-box-handle": "awsui_resizable-box-
|
|
6
|
-
"resize-active": "awsui_resize-
|
|
4
|
+
"resizable-box": "awsui_resizable-box_cufu9_1cxge_17",
|
|
5
|
+
"resizable-box-handle": "awsui_resizable-box-handle_cufu9_1cxge_22",
|
|
6
|
+
"resize-active": "awsui_resize-active_cufu9_1cxge_63"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
15
|
SPDX-License-Identifier: Apache-2.0
|
|
16
16
|
*/
|
|
17
|
-
.awsui_resizable-
|
|
17
|
+
.awsui_resizable-box_cufu9_1cxge_17:not(#\9) {
|
|
18
18
|
position: relative;
|
|
19
19
|
width: 100%;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.awsui_resizable-box-
|
|
22
|
+
.awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
23
23
|
position: absolute;
|
|
24
24
|
right: 0;
|
|
25
25
|
bottom: 0;
|
|
@@ -37,26 +37,30 @@
|
|
|
37
37
|
cursor: ns-resize;
|
|
38
38
|
}
|
|
39
39
|
@supports (--css-variable-support-check: #000) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
@media not print {
|
|
41
|
+
.awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
42
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
43
|
+
}
|
|
44
|
+
.awsui-polaris-dark-mode .awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9), .awsui-dark-mode .awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
45
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23687078' fill-opacity='0' stroke-width='1'%3E %3Cpath d='M 8 13 L 13 8 M 13 11 L 11 13 M 5 13 L 13 5'/%3E %3C/svg%3E");
|
|
46
|
+
}
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
@supports (--css-variable-support-check: #000) {
|
|
48
|
-
.awsui_resizable-box-
|
|
49
|
-
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
50
|
-
}
|
|
51
|
-
.awsui-visual-refresh .awsui_resizable-box-handle_cufu9_wgr8z_22:not(#\9) {
|
|
50
|
+
.awsui-visual-refresh .awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
52
51
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23414d5c' fill-opacity='0' stroke-width='1'%3E %3Cpath d='M 8 13 L 13 8 M 13 11 L 11 13 M 5 13 L 13 5'/%3E %3C/svg%3E");
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
@media not print {
|
|
54
|
+
.awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
55
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
56
|
+
}
|
|
57
|
+
.awsui-visual-refresh.awsui-polaris-dark-mode .awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9), .awsui-visual-refresh.awsui-dark-mode .awsui_resizable-box-handle_cufu9_1cxge_22:not(#\9) {
|
|
58
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill-opacity='0' stroke-width='1'%3E %3Cpath d='M 8 13 L 13 8 M 13 11 L 11 13 M 5 13 L 13 5'/%3E %3C/svg%3E");
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
|
|
59
|
-
.awsui_resize-
|
|
63
|
+
.awsui_resize-active_cufu9_1cxge_63:not(#\9) {
|
|
60
64
|
-webkit-user-select: none;
|
|
61
65
|
user-select: none;
|
|
62
66
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"resizable-box": "awsui_resizable-
|
|
6
|
-
"resizable-box-handle": "awsui_resizable-box-
|
|
7
|
-
"resize-active": "awsui_resize-
|
|
5
|
+
"resizable-box": "awsui_resizable-box_cufu9_1cxge_17",
|
|
6
|
+
"resizable-box-handle": "awsui_resizable-box-handle_cufu9_1cxge_22",
|
|
7
|
+
"resize-active": "awsui_resize-active_cufu9_1cxge_63"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"code-editor": "awsui_code-
|
|
5
|
-
"code-editor-refresh": "awsui_code-editor-
|
|
6
|
-
"pane": "
|
|
7
|
-
"pane__close-container": "awsui_pane__close-
|
|
8
|
-
"pane__list": "
|
|
9
|
-
"pane__table": "
|
|
10
|
-
"pane__item": "
|
|
11
|
-
"pane__cell": "
|
|
12
|
-
"pane__item--highlighted": "awsui_pane__item--
|
|
13
|
-
"pane__location": "
|
|
14
|
-
"pane__description": "
|
|
15
|
-
"focus-lock": "awsui_focus-
|
|
16
|
-
"editor": "
|
|
17
|
-
"editor-refresh": "awsui_editor-
|
|
18
|
-
"status-bar": "awsui_status-
|
|
19
|
-
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-
|
|
20
|
-
"status-bar__left": "awsui_status-
|
|
21
|
-
"status-bar__left-virtual": "awsui_status-bar__left-
|
|
22
|
-
"status-bar__right": "awsui_status-
|
|
23
|
-
"status-bar__language-mode": "awsui_status-bar__language-
|
|
24
|
-
"status-bar__cursor-position": "awsui_status-bar__cursor-
|
|
25
|
-
"status-bar__cog-button": "awsui_status-bar__cog-
|
|
26
|
-
"status-bar-virtual": "awsui_status-bar-
|
|
27
|
-
"tab-button": "awsui_tab-
|
|
28
|
-
"tab-button--refresh": "awsui_tab-button--
|
|
29
|
-
"tab-button--active": "awsui_tab-button--
|
|
30
|
-
"tab-button--disabled": "awsui_tab-button--
|
|
31
|
-
"tab-button--divider": "awsui_tab-button--
|
|
32
|
-
"tab-button--errors": "awsui_tab-button--
|
|
33
|
-
"tab-button--warnings": "awsui_tab-button--
|
|
34
|
-
"loading-screen": "awsui_loading-
|
|
35
|
-
"error-screen": "awsui_error-
|
|
4
|
+
"code-editor": "awsui_code-editor_1gl9c_1nu8d_98",
|
|
5
|
+
"code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1nu8d_598",
|
|
6
|
+
"pane": "awsui_pane_1gl9c_1nu8d_610",
|
|
7
|
+
"pane__close-container": "awsui_pane__close-container_1gl9c_1nu8d_621",
|
|
8
|
+
"pane__list": "awsui_pane__list_1gl9c_1nu8d_626",
|
|
9
|
+
"pane__table": "awsui_pane__table_1gl9c_1nu8d_633",
|
|
10
|
+
"pane__item": "awsui_pane__item_1gl9c_1nu8d_638",
|
|
11
|
+
"pane__cell": "awsui_pane__cell_1gl9c_1nu8d_638",
|
|
12
|
+
"pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1nu8d_652",
|
|
13
|
+
"pane__location": "awsui_pane__location_1gl9c_1nu8d_673",
|
|
14
|
+
"pane__description": "awsui_pane__description_1gl9c_1nu8d_673",
|
|
15
|
+
"focus-lock": "awsui_focus-lock_1gl9c_1nu8d_688",
|
|
16
|
+
"editor": "awsui_editor_1gl9c_1nu8d_713",
|
|
17
|
+
"editor-refresh": "awsui_editor-refresh_1gl9c_1nu8d_741",
|
|
18
|
+
"status-bar": "awsui_status-bar_1gl9c_1nu8d_746",
|
|
19
|
+
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1nu8d_755",
|
|
20
|
+
"status-bar__left": "awsui_status-bar__left_1gl9c_1nu8d_759",
|
|
21
|
+
"status-bar__left-virtual": "awsui_status-bar__left-virtual_1gl9c_1nu8d_766",
|
|
22
|
+
"status-bar__right": "awsui_status-bar__right_1gl9c_1nu8d_770",
|
|
23
|
+
"status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1nu8d_774",
|
|
24
|
+
"status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1nu8d_774",
|
|
25
|
+
"status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1nu8d_779",
|
|
26
|
+
"status-bar-virtual": "awsui_status-bar-virtual_1gl9c_1nu8d_783",
|
|
27
|
+
"tab-button": "awsui_tab-button_1gl9c_1nu8d_789",
|
|
28
|
+
"tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1nu8d_802",
|
|
29
|
+
"tab-button--active": "awsui_tab-button--active_1gl9c_1nu8d_816",
|
|
30
|
+
"tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1nu8d_836",
|
|
31
|
+
"tab-button--divider": "awsui_tab-button--divider_1gl9c_1nu8d_866",
|
|
32
|
+
"tab-button--errors": "awsui_tab-button--errors_1gl9c_1nu8d_873",
|
|
33
|
+
"tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1nu8d_873",
|
|
34
|
+
"loading-screen": "awsui_loading-screen_1gl9c_1nu8d_877",
|
|
35
|
+
"error-screen": "awsui_error-screen_1gl9c_1nu8d_878"
|
|
36
36
|
};
|
|
37
37
|
|