@cloudscape-design/components-themeable 3.0.1200 → 3.0.1201
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/cards/styles.scss +12 -68
- package/lib/internal/scss/{cards → internal/components/card}/motion.scss +4 -4
- package/lib/internal/scss/internal/components/card/styles.scss +112 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/template/cards/index.d.ts.map +1 -1
- package/lib/internal/template/cards/index.js +8 -10
- package/lib/internal/template/cards/index.js.map +1 -1
- package/lib/internal/template/cards/styles.css.js +38 -39
- package/lib/internal/template/cards/styles.scoped.css +43 -158
- package/lib/internal/template/cards/styles.selectors.js +38 -39
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/card/index.d.ts +3 -0
- package/lib/internal/template/internal/components/card/index.d.ts.map +1 -0
- package/lib/internal/template/internal/components/card/index.js +16 -0
- package/lib/internal/template/internal/components/card/index.js.map +1 -0
- package/lib/internal/template/internal/components/card/interfaces.d.ts +45 -0
- package/lib/internal/template/internal/components/card/interfaces.d.ts.map +1 -0
- package/lib/internal/template/internal/components/card/interfaces.js +2 -0
- package/lib/internal/template/internal/components/card/interfaces.js.map +1 -0
- package/lib/internal/template/internal/components/card/styles.css.js +16 -0
- package/lib/internal/template/internal/components/card/styles.scoped.css +316 -0
- package/lib/internal/template/internal/components/card/styles.selectors.js +17 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/test-utils/dom/cards/index.d.ts +0 -5
- package/lib/internal/template/test-utils/dom/cards/index.js +0 -5
- package/lib/internal/template/test-utils/dom/cards/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/cards/index.d.ts +0 -5
- package/lib/internal/template/test-utils/selectors/cards/index.js +0 -5
- package/lib/internal/template/test-utils/selectors/cards/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/*
|
|
6
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
|
+
SPDX-License-Identifier: Apache-2.0
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
|
+
SPDX-License-Identifier: Apache-2.0
|
|
12
|
+
*/
|
|
13
|
+
/*
|
|
14
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
|
+
SPDX-License-Identifier: Apache-2.0
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
19
|
+
SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
*/
|
|
21
|
+
/*
|
|
22
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
23
|
+
SPDX-License-Identifier: Apache-2.0
|
|
24
|
+
*/
|
|
25
|
+
/*
|
|
26
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
27
|
+
SPDX-License-Identifier: Apache-2.0
|
|
28
|
+
*/
|
|
29
|
+
/*
|
|
30
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
31
|
+
SPDX-License-Identifier: Apache-2.0
|
|
32
|
+
*/
|
|
33
|
+
/*
|
|
34
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
35
|
+
SPDX-License-Identifier: Apache-2.0
|
|
36
|
+
*/
|
|
37
|
+
/*
|
|
38
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
39
|
+
SPDX-License-Identifier: Apache-2.0
|
|
40
|
+
*/
|
|
41
|
+
/*
|
|
42
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
43
|
+
SPDX-License-Identifier: Apache-2.0
|
|
44
|
+
*/
|
|
45
|
+
/*
|
|
46
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
47
|
+
SPDX-License-Identifier: Apache-2.0
|
|
48
|
+
*/
|
|
49
|
+
/*
|
|
50
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
|
+
SPDX-License-Identifier: Apache-2.0
|
|
52
|
+
*/
|
|
53
|
+
/*
|
|
54
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
55
|
+
SPDX-License-Identifier: Apache-2.0
|
|
56
|
+
*/
|
|
57
|
+
/*
|
|
58
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
59
|
+
SPDX-License-Identifier: Apache-2.0
|
|
60
|
+
*/
|
|
61
|
+
/*
|
|
62
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
63
|
+
SPDX-License-Identifier: Apache-2.0
|
|
64
|
+
*/
|
|
65
|
+
/*
|
|
66
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
67
|
+
SPDX-License-Identifier: Apache-2.0
|
|
68
|
+
*/
|
|
69
|
+
/*
|
|
70
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
71
|
+
SPDX-License-Identifier: Apache-2.0
|
|
72
|
+
*/
|
|
73
|
+
/*
|
|
74
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
75
|
+
SPDX-License-Identifier: Apache-2.0
|
|
76
|
+
*/
|
|
77
|
+
/*
|
|
78
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
79
|
+
SPDX-License-Identifier: Apache-2.0
|
|
80
|
+
*/
|
|
81
|
+
/*
|
|
82
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
83
|
+
SPDX-License-Identifier: Apache-2.0
|
|
84
|
+
*/
|
|
85
|
+
/*
|
|
86
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
87
|
+
SPDX-License-Identifier: Apache-2.0
|
|
88
|
+
*/
|
|
89
|
+
/*
|
|
90
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
|
+
SPDX-License-Identifier: Apache-2.0
|
|
92
|
+
*/
|
|
93
|
+
/*
|
|
94
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
|
+
SPDX-License-Identifier: Apache-2.0
|
|
96
|
+
*/
|
|
97
|
+
/*
|
|
98
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
|
+
SPDX-License-Identifier: Apache-2.0
|
|
100
|
+
*/
|
|
101
|
+
/*
|
|
102
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
103
|
+
SPDX-License-Identifier: Apache-2.0
|
|
104
|
+
*/
|
|
105
|
+
/*
|
|
106
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
107
|
+
SPDX-License-Identifier: Apache-2.0
|
|
108
|
+
*/
|
|
109
|
+
/*
|
|
110
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
111
|
+
SPDX-License-Identifier: Apache-2.0
|
|
112
|
+
*/
|
|
113
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
114
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
115
|
+
/*
|
|
116
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
|
+
SPDX-License-Identifier: Apache-2.0
|
|
118
|
+
*/
|
|
119
|
+
/*
|
|
120
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
121
|
+
SPDX-License-Identifier: Apache-2.0
|
|
122
|
+
*/
|
|
123
|
+
/*
|
|
124
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
125
|
+
SPDX-License-Identifier: Apache-2.0
|
|
126
|
+
*/
|
|
127
|
+
/*
|
|
128
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
129
|
+
SPDX-License-Identifier: Apache-2.0
|
|
130
|
+
*/
|
|
131
|
+
/*
|
|
132
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
133
|
+
SPDX-License-Identifier: Apache-2.0
|
|
134
|
+
*/
|
|
135
|
+
/*
|
|
136
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
137
|
+
SPDX-License-Identifier: Apache-2.0
|
|
138
|
+
*/
|
|
139
|
+
/*
|
|
140
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
|
+
SPDX-License-Identifier: Apache-2.0
|
|
142
|
+
*/
|
|
143
|
+
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
|
+
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
+
/*
|
|
146
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
|
+
SPDX-License-Identifier: Apache-2.0
|
|
148
|
+
*/
|
|
149
|
+
/*
|
|
150
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
|
+
SPDX-License-Identifier: Apache-2.0
|
|
152
|
+
*/
|
|
153
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9) {
|
|
154
|
+
transition-property: background-color;
|
|
155
|
+
transition-duration: var(--motion-duration-transition-show-paced-0w35xp, 180ms);
|
|
156
|
+
transition-timing-function: var(--motion-easing-transition-show-paced-ufdgkj, ease-out);
|
|
157
|
+
}
|
|
158
|
+
@media (prefers-reduced-motion: reduce) {
|
|
159
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9) {
|
|
160
|
+
animation: none;
|
|
161
|
+
transition: none;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.awsui-motion-disabled .awsui_root_1xxz5_1fmrq_153:not(#\9), .awsui-mode-entering .awsui_root_1xxz5_1fmrq_153:not(#\9) {
|
|
165
|
+
animation: none;
|
|
166
|
+
transition: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9)::before {
|
|
170
|
+
transition-property: border-top-color, border-right-color, border-bottom-color, border-left-color;
|
|
171
|
+
transition-duration: var(--motion-duration-transition-show-paced-0w35xp, 180ms);
|
|
172
|
+
transition-timing-function: var(--motion-easing-transition-show-paced-ufdgkj, ease-out);
|
|
173
|
+
}
|
|
174
|
+
@media (prefers-reduced-motion: reduce) {
|
|
175
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9)::before {
|
|
176
|
+
animation: none;
|
|
177
|
+
transition: none;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
.awsui-motion-disabled .awsui_root_1xxz5_1fmrq_153:not(#\9)::before, .awsui-mode-entering .awsui_root_1xxz5_1fmrq_153:not(#\9)::before {
|
|
181
|
+
animation: none;
|
|
182
|
+
transition: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9) {
|
|
186
|
+
border-collapse: separate;
|
|
187
|
+
border-spacing: 0;
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
caption-side: top;
|
|
190
|
+
cursor: auto;
|
|
191
|
+
direction: inherit;
|
|
192
|
+
empty-cells: show;
|
|
193
|
+
font-family: serif;
|
|
194
|
+
font-style: normal;
|
|
195
|
+
font-variant: normal;
|
|
196
|
+
font-stretch: normal;
|
|
197
|
+
hyphens: none;
|
|
198
|
+
letter-spacing: normal;
|
|
199
|
+
list-style: disc outside none;
|
|
200
|
+
tab-size: 8;
|
|
201
|
+
text-align: start;
|
|
202
|
+
text-indent: 0;
|
|
203
|
+
text-shadow: none;
|
|
204
|
+
text-transform: none;
|
|
205
|
+
visibility: visible;
|
|
206
|
+
white-space: normal;
|
|
207
|
+
word-spacing: normal;
|
|
208
|
+
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
209
|
+
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
210
|
+
color: var(--color-text-body-default-5qid0u, #16191f);
|
|
211
|
+
font-weight: 400;
|
|
212
|
+
font-family: var(--font-family-base-8x5ngf, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
213
|
+
-webkit-font-smoothing: auto;
|
|
214
|
+
-moz-osx-font-smoothing: auto;
|
|
215
|
+
box-sizing: border-box;
|
|
216
|
+
position: relative;
|
|
217
|
+
background-color: var(--color-background-container-content-aemn43, #ffffff);
|
|
218
|
+
min-inline-size: 0;
|
|
219
|
+
border-start-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
220
|
+
border-start-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
221
|
+
border-end-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
222
|
+
border-end-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
223
|
+
box-sizing: border-box;
|
|
224
|
+
}
|
|
225
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9)::before {
|
|
226
|
+
content: "";
|
|
227
|
+
position: absolute;
|
|
228
|
+
inset-inline-start: 0px;
|
|
229
|
+
inset-block-start: 0px;
|
|
230
|
+
inline-size: 100%;
|
|
231
|
+
block-size: 100%;
|
|
232
|
+
pointer-events: none;
|
|
233
|
+
background: transparent;
|
|
234
|
+
box-sizing: border-box;
|
|
235
|
+
border-color: transparent;
|
|
236
|
+
border-block-start: var(--border-container-top-width-w3qnoe, 1px) solid var(--color-border-container-top-svitxz, #eaeded);
|
|
237
|
+
border-start-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
238
|
+
border-start-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
239
|
+
border-end-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
240
|
+
border-end-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
241
|
+
z-index: 1;
|
|
242
|
+
}
|
|
243
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9)::after {
|
|
244
|
+
content: "";
|
|
245
|
+
position: absolute;
|
|
246
|
+
inset-inline-start: 0px;
|
|
247
|
+
inset-block-start: 0px;
|
|
248
|
+
inline-size: 100%;
|
|
249
|
+
block-size: 100%;
|
|
250
|
+
pointer-events: none;
|
|
251
|
+
background: transparent;
|
|
252
|
+
box-sizing: border-box;
|
|
253
|
+
border-start-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
254
|
+
border-start-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
255
|
+
border-end-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
256
|
+
border-end-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
257
|
+
}
|
|
258
|
+
.awsui_root_1xxz5_1fmrq_153:not(#\9):not(.awsui_refresh_1xxz5_1fmrq_258)::after {
|
|
259
|
+
box-shadow: var(--shadow-container-3fh0j3, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
|
|
260
|
+
}
|
|
261
|
+
.awsui_root_1xxz5_1fmrq_153.awsui_refresh_1xxz5_1fmrq_258:not(#\9)::after {
|
|
262
|
+
border-block: solid var(--border-divider-section-width-sznrdy, 1px) var(--color-border-divider-default-ipvpev, #eaeded);
|
|
263
|
+
border-inline: solid var(--border-divider-section-width-sznrdy, 1px) var(--color-border-divider-default-ipvpev, #eaeded);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.awsui_header_1xxz5_1fmrq_266:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266) {
|
|
267
|
+
padding-block-end: var(--space-xxs-jnczic, 4px);
|
|
268
|
+
padding-inline-start: var(--space-card-horizontal-0tbxbt, 20px);
|
|
269
|
+
}
|
|
270
|
+
.awsui_header_1xxz5_1fmrq_266:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266):not(.awsui_with-actions_1xxz5_1fmrq_270) {
|
|
271
|
+
padding-block-start: calc(var(--space-card-vertical-nzlc5t, 20px) - var(--space-scaled-xxs-jatbiv, 4px));
|
|
272
|
+
padding-inline-end: var(--space-card-horizontal-0tbxbt, 20px);
|
|
273
|
+
}
|
|
274
|
+
.awsui_header_1xxz5_1fmrq_266:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266).awsui_with-actions_1xxz5_1fmrq_270 {
|
|
275
|
+
padding-block-start: calc(var(--space-card-vertical-nzlc5t, 20px) - var(--space-scaled-xxs-jatbiv, 4px) - var(--space-scaled-xxs-jatbiv, 4px));
|
|
276
|
+
padding-inline-end: calc(var(--space-card-horizontal-0tbxbt, 20px) - var(--space-xxs-jnczic, 4px));
|
|
277
|
+
}
|
|
278
|
+
.awsui_header-inner_1xxz5_1fmrq_278:not(#\9) {
|
|
279
|
+
font-size: var(--font-size-heading-s-yde02v, 16px);
|
|
280
|
+
line-height: var(--line-height-heading-s-j2axh8, 20px);
|
|
281
|
+
letter-spacing: var(--letter-spacing-heading-s-696sxe, normal);
|
|
282
|
+
font-weight: var(--font-weight-heading-s-qxvrar, 700);
|
|
283
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
|
|
284
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.awsui_body_1xxz5_1fmrq_287:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266) {
|
|
288
|
+
padding-block-start: var(--space-xxs-jnczic, 4px);
|
|
289
|
+
padding-block-end: var(--space-card-vertical-nzlc5t, 20px);
|
|
290
|
+
padding-inline: var(--space-card-horizontal-0tbxbt, 20px);
|
|
291
|
+
}
|
|
292
|
+
.awsui_body_1xxz5_1fmrq_287.awsui_no-padding_1xxz5_1fmrq_266:not(#\9) {
|
|
293
|
+
border-end-start-radius: var(--border-radius-container-l30zxy, 0px);
|
|
294
|
+
border-end-end-radius: var(--border-radius-container-l30zxy, 0px);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.awsui_no-header_1xxz5_1fmrq_297 > .awsui_header_1xxz5_1fmrq_266:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266),
|
|
298
|
+
.awsui_no-content_1xxz5_1fmrq_298 > .awsui_header_1xxz5_1fmrq_266:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266) {
|
|
299
|
+
padding-block-end: 0;
|
|
300
|
+
}
|
|
301
|
+
.awsui_no-header_1xxz5_1fmrq_297 > .awsui_body_1xxz5_1fmrq_287:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266),
|
|
302
|
+
.awsui_no-content_1xxz5_1fmrq_298 > .awsui_body_1xxz5_1fmrq_287:not(#\9):not(.awsui_no-padding_1xxz5_1fmrq_266) {
|
|
303
|
+
padding-block-start: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.awsui_selected_1xxz5_1fmrq_306:not(#\9) {
|
|
307
|
+
background-color: var(--color-background-item-selected-v20q4r, #f1faff);
|
|
308
|
+
}
|
|
309
|
+
.awsui_selected_1xxz5_1fmrq_306:not(#\9)::before {
|
|
310
|
+
border-block: var(--border-item-width-acvlhx, 1px) solid var(--color-border-item-selected-vq6ddf, #0073bb);
|
|
311
|
+
border-inline: var(--border-item-width-acvlhx, 1px) solid var(--color-border-item-selected-vq6ddf, #0073bb);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.awsui_description_1xxz5_1fmrq_314:not(#\9) {
|
|
315
|
+
color: var(--color-text-heading-secondary-26seqv, #545b64);
|
|
316
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
// es-module interop with Babel and Typescript
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
module.exports.default = {
|
|
5
|
+
"root": "awsui_root_1xxz5_1fmrq_153",
|
|
6
|
+
"refresh": "awsui_refresh_1xxz5_1fmrq_258",
|
|
7
|
+
"header": "awsui_header_1xxz5_1fmrq_266",
|
|
8
|
+
"no-padding": "awsui_no-padding_1xxz5_1fmrq_266",
|
|
9
|
+
"with-actions": "awsui_with-actions_1xxz5_1fmrq_270",
|
|
10
|
+
"header-inner": "awsui_header-inner_1xxz5_1fmrq_278",
|
|
11
|
+
"body": "awsui_body_1xxz5_1fmrq_287",
|
|
12
|
+
"no-header": "awsui_no-header_1xxz5_1fmrq_297",
|
|
13
|
+
"no-content": "awsui_no-content_1xxz5_1fmrq_298",
|
|
14
|
+
"selected": "awsui_selected_1xxz5_1fmrq_306",
|
|
15
|
+
"description": "awsui_description_1xxz5_1fmrq_314"
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (62efe831)";
|
|
3
|
+
export var GIT_SHA = "62efe831";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var SYSTEM = "core";
|
|
6
6
|
export var ALWAYS_VISUAL_REFRESH = true;
|
|
@@ -7,11 +7,6 @@ declare class CardSectionWrapper extends ComponentWrapper {
|
|
|
7
7
|
findContent(): ElementWrapper | null;
|
|
8
8
|
}
|
|
9
9
|
declare class CardWrapper extends ComponentWrapper {
|
|
10
|
-
/**
|
|
11
|
-
* Note: for integration/selector-based tests you should add `1` to the expected section index,
|
|
12
|
-
* for example, `.findSections().get(sectionIndex+1)`. The `get` call in this context
|
|
13
|
-
* is '2-indexed', that is, the first section in a card has an index of `2`.
|
|
14
|
-
*/
|
|
15
10
|
findSections(): Array<CardSectionWrapper>;
|
|
16
11
|
findCardHeader(): ElementWrapper | null;
|
|
17
12
|
findSelectionArea(): ElementWrapper | null;
|
|
@@ -18,11 +18,6 @@ class CardSectionWrapper extends dom_1.ComponentWrapper {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
class CardWrapper extends dom_1.ComponentWrapper {
|
|
21
|
-
/**
|
|
22
|
-
* Note: for integration/selector-based tests you should add `1` to the expected section index,
|
|
23
|
-
* for example, `.findSections().get(sectionIndex+1)`. The `get` call in this context
|
|
24
|
-
* is '2-indexed', that is, the first section in a card has an index of `2`.
|
|
25
|
-
*/
|
|
26
21
|
findSections() {
|
|
27
22
|
return this.findAllByClassName(styles_selectors_js_1.default.section).map(c => new CardSectionWrapper(c.getElement()));
|
|
28
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/cards/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAE1F,sEAAqE;AACrE,4CAA4C;AAC5C,8CAA8C;AAC9C,gDAA+C;AAE/C,4EAAwD;AACxD,4EAA6D;AAE7D,MAAM,kBAAmB,SAAQ,sBAAgB;IAC/C,iBAAiB;QACf,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxD,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACzD,CAAC;CACF;AAED,MAAM,WAAY,SAAQ,sBAAgB;IACxC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/cards/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAE1F,sEAAqE;AACrE,4CAA4C;AAC5C,8CAA8C;AAC9C,gDAA+C;AAE/C,4EAAw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ACR,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9B,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAW,CAAC,iBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,CAAC;IACrF,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAW,CAAC,kBAAkB,CAAC,EAAE,EAAE,oBAAiB,CAAC,CAAC;IACtF,CAAC;IAED,yBAAyB;QACvB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAW,CAAC,mBAAmB,CAAC,EAAE,EAAE,gCAA4B,CAAC,CAAC;IAClG,CAAC;;AAlDM,yBAAY,GAAW,6BAAM,CAAC,IAAI,AAAtB,CAAuB;kBADvB,YAAY"}
|
|
@@ -7,11 +7,6 @@ declare class CardSectionWrapper extends ComponentWrapper {
|
|
|
7
7
|
findContent(): ElementWrapper;
|
|
8
8
|
}
|
|
9
9
|
declare class CardWrapper extends ComponentWrapper {
|
|
10
|
-
/**
|
|
11
|
-
* Note: for integration/selector-based tests you should add `1` to the expected section index,
|
|
12
|
-
* for example, `.findSections().get(sectionIndex+1)`. The `get` call in this context
|
|
13
|
-
* is '2-indexed', that is, the first section in a card has an index of `2`.
|
|
14
|
-
*/
|
|
15
10
|
findSections(): import("@cloudscape-design/test-utils-core/selectors").MultiElementWrapper<CardSectionWrapper>;
|
|
16
11
|
findCardHeader(): ElementWrapper;
|
|
17
12
|
findSelectionArea(): ElementWrapper;
|
|
@@ -18,11 +18,6 @@ class CardSectionWrapper extends selectors_1.ComponentWrapper {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
class CardWrapper extends selectors_1.ComponentWrapper {
|
|
21
|
-
/**
|
|
22
|
-
* Note: for integration/selector-based tests you should add `1` to the expected section index,
|
|
23
|
-
* for example, `.findSections().get(sectionIndex+1)`. The `get` call in this context
|
|
24
|
-
* is '2-indexed', that is, the first section in a card has an index of `2`.
|
|
25
|
-
*/
|
|
26
21
|
findSections() {
|
|
27
22
|
return this.findAllByClassName(styles_selectors_js_1.default.section).map(c => new CardSectionWrapper(c.getElement()));
|
|
28
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/cards/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,sEAAqE;AACrE,4CAA4C;AAC5C,8CAA8C;AAC9C,gDAA+C;AAC/C,4EAAwD;AACxD,4EAA6D;AAC7D,MAAM,kBAAmB,SAAQ,4BAAgB;IAC/C,iBAAiB;QACf,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxD,CAAC;IACD,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACzD,CAAC;CACF;AACD,MAAM,WAAY,SAAQ,4BAAgB;IACxC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/cards/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,sEAAqE;AACrE,4CAA4C;AAC5C,8CAA8C;AAC9C,gDAA+C;AAC/C,4EAAwD;AACxD,4EAA6D;AAC7D,M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