@cloudscape-design/components-themeable 3.0.1022 → 3.0.1024
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/collection-preferences/content-display/content-display-option.scss +2 -14
- package/lib/internal/scss/flashbar/collapsible.scss +20 -8
- package/lib/internal/scss/internal/components/drag-handle/styles.scss +2 -6
- package/lib/internal/scss/internal/components/sortable-area/styles.scss +1 -0
- package/lib/internal/scss/internal/components/structured-item/styles.scss +46 -0
- package/lib/internal/scss/internal/components/structured-item/test-classes/styles.scss +11 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/list/styles.scss +39 -0
- package/lib/internal/scss/list/test-classes/styles.scss +9 -0
- package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts +0 -2
- package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/content-display/content-display-option.js +1 -4
- package/lib/internal/template/collection-preferences/content-display/content-display-option.js.map +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.js +17 -24
- package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -1
- package/lib/internal/template/collection-preferences/interfaces.d.ts +2 -7
- package/lib/internal/template/collection-preferences/interfaces.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/interfaces.js.map +1 -1
- package/lib/internal/template/collection-preferences/styles.css.js +36 -38
- package/lib/internal/template/collection-preferences/styles.scoped.css +39 -51
- package/lib/internal/template/collection-preferences/styles.selectors.js +36 -38
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts +0 -8
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.js +3 -50
- package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
- package/lib/internal/template/flashbar/flash.js +5 -27
- package/lib/internal/template/flashbar/flash.js.map +1 -1
- package/lib/internal/template/flashbar/interfaces.d.ts +51 -9
- package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
- package/lib/internal/template/flashbar/interfaces.js.map +1 -1
- package/lib/internal/template/flashbar/style.d.ts +36 -0
- package/lib/internal/template/flashbar/style.d.ts.map +1 -0
- package/lib/internal/template/flashbar/style.js +105 -0
- package/lib/internal/template/flashbar/style.js.map +1 -0
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +153 -152
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.ar.js +1 -1
- package/lib/internal/template/i18n/messages/all.ar.json +1 -1
- package/lib/internal/template/i18n/messages/all.de.js +1 -1
- package/lib/internal/template/i18n/messages/all.de.json +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.es.js +1 -1
- package/lib/internal/template/i18n/messages/all.es.json +1 -1
- package/lib/internal/template/i18n/messages/all.fr.js +1 -1
- package/lib/internal/template/i18n/messages/all.fr.json +1 -1
- package/lib/internal/template/i18n/messages/all.id.js +1 -1
- package/lib/internal/template/i18n/messages/all.id.json +1 -1
- package/lib/internal/template/i18n/messages/all.it.js +1 -1
- package/lib/internal/template/i18n/messages/all.it.json +1 -1
- package/lib/internal/template/i18n/messages/all.ja.js +1 -1
- package/lib/internal/template/i18n/messages/all.ja.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
- package/lib/internal/template/i18n/messages/all.th.js +1 -1
- package/lib/internal/template/i18n/messages/all.th.json +1 -1
- package/lib/internal/template/i18n/messages/all.tr.js +1 -1
- package/lib/internal/template/i18n/messages/all.tr.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
- package/lib/internal/template/i18n/messages-types.d.ts +20 -0
- package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
- package/lib/internal/template/i18n/messages-types.js.map +1 -1
- package/lib/internal/template/index.d.ts +1 -0
- package/lib/internal/template/index.d.ts.map +1 -1
- package/lib/internal/template/index.js +1 -0
- package/lib/internal/template/index.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js +2 -2
- package/lib/internal/template/internal/components/drag-handle/button.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/index.js +2 -2
- package/lib/internal/template/internal/components/drag-handle/index.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/interfaces.d.ts +1 -0
- package/lib/internal/template/internal/components/drag-handle/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/interfaces.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/styles.css.js +13 -12
- package/lib/internal/template/internal/components/drag-handle/styles.scoped.css +18 -21
- package/lib/internal/template/internal/components/drag-handle/styles.selectors.js +13 -12
- package/lib/internal/template/internal/components/sortable-area/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.js +5 -1
- package/lib/internal/template/internal/components/sortable-area/index.js.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/interfaces.d.ts +1 -0
- package/lib/internal/template/internal/components/sortable-area/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/interfaces.js.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/styles.css.js +8 -8
- package/lib/internal/template/internal/components/sortable-area/styles.scoped.css +18 -17
- package/lib/internal/template/internal/components/sortable-area/styles.selectors.js +8 -8
- package/lib/internal/template/internal/components/sortable-area/use-live-announcements.d.ts +5 -0
- package/lib/internal/template/internal/components/sortable-area/use-live-announcements.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/use-live-announcements.js +8 -0
- package/lib/internal/template/internal/components/sortable-area/use-live-announcements.js.map +1 -1
- package/lib/internal/template/internal/components/structured-item/index.d.ts +5 -0
- package/lib/internal/template/internal/components/structured-item/index.d.ts.map +1 -0
- package/lib/internal/template/internal/components/structured-item/index.js +16 -0
- package/lib/internal/template/internal/components/structured-item/index.js.map +1 -0
- package/lib/internal/template/internal/components/structured-item/interfaces.d.ts +9 -0
- package/lib/internal/template/internal/components/structured-item/interfaces.d.ts.map +1 -0
- package/lib/internal/template/internal/components/structured-item/interfaces.js +4 -0
- package/lib/internal/template/internal/components/structured-item/interfaces.js.map +1 -0
- package/lib/internal/template/internal/components/structured-item/styles.css.js +11 -0
- package/lib/internal/template/internal/components/structured-item/styles.scoped.css +212 -0
- package/lib/internal/template/internal/components/structured-item/styles.selectors.js +12 -0
- package/lib/internal/template/internal/components/structured-item/test-classes/styles.css.js +9 -0
- package/lib/internal/template/internal/components/structured-item/test-classes/styles.scoped.css +10 -0
- package/lib/internal/template/internal/components/structured-item/test-classes/styles.selectors.js +10 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/list/index.d.ts +5 -0
- package/lib/internal/template/list/index.d.ts.map +1 -0
- package/lib/internal/template/list/index.js +12 -0
- package/lib/internal/template/list/index.js.map +1 -0
- package/lib/internal/template/list/interfaces.d.ts +83 -0
- package/lib/internal/template/list/interfaces.d.ts.map +1 -0
- package/lib/internal/template/list/interfaces.js +4 -0
- package/lib/internal/template/list/interfaces.js.map +1 -0
- package/lib/internal/template/list/internal.d.ts +7 -0
- package/lib/internal/template/list/internal.d.ts.map +1 -0
- package/lib/internal/template/list/internal.js +62 -0
- package/lib/internal/template/list/internal.js.map +1 -0
- package/lib/internal/template/list/styles.css.js +10 -0
- package/lib/internal/template/list/styles.scoped.css +202 -0
- package/lib/internal/template/list/styles.selectors.js +11 -0
- package/lib/internal/template/list/test-classes/styles.css.js +7 -0
- package/lib/internal/template/list/test-classes/styles.scoped.css +8 -0
- package/lib/internal/template/list/test-classes/styles.selectors.js +8 -0
- package/lib/internal/template/package.json +1 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.d.ts +2 -0
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js +17 -6
- package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -1
- package/lib/internal/template/test-utils/dom/index.d.ts +20 -0
- package/lib/internal/template/test-utils/dom/index.js +13 -2
- package/lib/internal/template/test-utils/dom/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/internal/structured-item.d.ts +8 -0
- package/lib/internal/template/test-utils/dom/internal/structured-item.js +23 -0
- package/lib/internal/template/test-utils/dom/internal/structured-item.js.map +1 -0
- package/lib/internal/template/test-utils/dom/list/index.d.ts +23 -0
- package/lib/internal/template/test-utils/dom/list/index.js +41 -0
- package/lib/internal/template/test-utils/dom/list/index.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.d.ts +2 -0
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js +13 -6
- package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
- package/lib/internal/template/test-utils/selectors/index.js +13 -2
- package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/internal/structured-item.d.ts +8 -0
- package/lib/internal/template/test-utils/selectors/internal/structured-item.js +23 -0
- package/lib/internal/template/test-utils/selectors/internal/structured-item.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/list/index.d.ts +23 -0
- package/lib/internal/template/test-utils/selectors/list/index.js +41 -0
- package/lib/internal/template/test-utils/selectors/list/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"visible-content": "awsui_visible-
|
|
5
|
-
"visible-content-toggle": "awsui_visible-content-
|
|
6
|
-
"visible-content-groups": "awsui_visible-content-
|
|
7
|
-
"visible-content-group": "awsui_visible-content-
|
|
8
|
-
"visible-content-title": "awsui_visible-content-
|
|
9
|
-
"visible-content-group-label": "awsui_visible-content-group-
|
|
10
|
-
"visible-content-option": "awsui_visible-content-
|
|
11
|
-
"visible-content-option-label": "awsui_visible-content-option-
|
|
12
|
-
"content-display-option-toggle": "awsui_content-display-option-
|
|
13
|
-
"content-display-option-content": "awsui_content-display-option-
|
|
14
|
-
"content-display-option": "awsui_content-display-
|
|
15
|
-
"content-display
|
|
16
|
-
"
|
|
17
|
-
"content-display": "awsui_content-
|
|
18
|
-
"content-display-
|
|
19
|
-
"content-display-
|
|
20
|
-
"content-display-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"page-size": "awsui_page-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"sticky-columns": "awsui_sticky-
|
|
38
|
-
"sticky-columns-
|
|
39
|
-
"sticky-columns-
|
|
40
|
-
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_1a1pn_328",
|
|
41
|
-
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_1a1pn_329"
|
|
4
|
+
"visible-content": "awsui_visible-content_tc96w_slxf2_153",
|
|
5
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_slxf2_154",
|
|
6
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_slxf2_155",
|
|
7
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_slxf2_155",
|
|
8
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_slxf2_160",
|
|
9
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_slxf2_170",
|
|
10
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_slxf2_176",
|
|
11
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_slxf2_189",
|
|
12
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_slxf2_212",
|
|
13
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_slxf2_216",
|
|
14
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_slxf2_256",
|
|
15
|
+
"content-display": "awsui_content-display_tc96w_slxf2_212",
|
|
16
|
+
"content-display-text-filter": "awsui_content-display-text-filter_tc96w_slxf2_264",
|
|
17
|
+
"content-display-no-match": "awsui_content-display-no-match_tc96w_slxf2_265",
|
|
18
|
+
"content-display-title": "awsui_content-display-title_tc96w_slxf2_269",
|
|
19
|
+
"content-display-description": "awsui_content-display-description_tc96w_slxf2_278",
|
|
20
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_slxf2_286",
|
|
21
|
+
"root": "awsui_root_tc96w_slxf2_293",
|
|
22
|
+
"modal-root": "awsui_modal-root_tc96w_slxf2_294",
|
|
23
|
+
"trigger-button": "awsui_trigger-button_tc96w_slxf2_295",
|
|
24
|
+
"cancel-button": "awsui_cancel-button_tc96w_slxf2_296",
|
|
25
|
+
"confirm-button": "awsui_confirm-button_tc96w_slxf2_297",
|
|
26
|
+
"custom": "awsui_custom_tc96w_slxf2_298",
|
|
27
|
+
"content-before": "awsui_content-before_tc96w_slxf2_299",
|
|
28
|
+
"second-column-small": "awsui_second-column-small_tc96w_slxf2_303",
|
|
29
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_slxf2_307",
|
|
30
|
+
"striped-rows": "awsui_striped-rows_tc96w_slxf2_308",
|
|
31
|
+
"content-density": "awsui_content-density_tc96w_slxf2_309",
|
|
32
|
+
"page-size": "awsui_page-size_tc96w_slxf2_310",
|
|
33
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_slxf2_311",
|
|
34
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_slxf2_312",
|
|
35
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_slxf2_313",
|
|
36
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_slxf2_314",
|
|
37
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_slxf2_315",
|
|
38
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_slxf2_316",
|
|
39
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_slxf2_317"
|
|
42
40
|
};
|
|
43
41
|
|
|
@@ -150,14 +150,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.awsui_visible-
|
|
154
|
-
.awsui_visible-content-
|
|
155
|
-
.awsui_visible-content-
|
|
156
|
-
.awsui_visible-content-
|
|
153
|
+
.awsui_visible-content_tc96w_slxf2_153:not(#\9),
|
|
154
|
+
.awsui_visible-content-toggle_tc96w_slxf2_154:not(#\9),
|
|
155
|
+
.awsui_visible-content-groups_tc96w_slxf2_155:not(#\9),
|
|
156
|
+
.awsui_visible-content-group_tc96w_slxf2_155:not(#\9) {
|
|
157
157
|
/* used in test-utils */
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.awsui_visible-content-
|
|
160
|
+
.awsui_visible-content-title_tc96w_slxf2_160:not(#\9) {
|
|
161
161
|
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
162
162
|
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
163
163
|
font-weight: var(--font-display-label-weight-ise9n2, 400);
|
|
@@ -167,13 +167,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
167
167
|
margin-inline: 0;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.awsui_visible-content-group-
|
|
170
|
+
.awsui_visible-content-group-label_tc96w_slxf2_170:not(#\9) {
|
|
171
171
|
color: var(--color-text-group-label-md03vz, #545b64);
|
|
172
172
|
padding-block-end: var(--space-xs-kw7k3v, 8px);
|
|
173
173
|
border-block-end: var(--border-divider-list-width-8ggz94, 1px) solid var(--color-border-divider-secondary-4wvr5g, #eaeded);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.awsui_visible-content-
|
|
176
|
+
.awsui_visible-content-option_tc96w_slxf2_176:not(#\9) {
|
|
177
177
|
display: flex;
|
|
178
178
|
flex-wrap: nowrap;
|
|
179
179
|
justify-content: space-between;
|
|
@@ -182,11 +182,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
padding-inline-end: 0px;
|
|
183
183
|
border-block-end: var(--border-divider-list-width-8ggz94, 1px) solid var(--color-border-divider-secondary-4wvr5g, #eaeded);
|
|
184
184
|
}
|
|
185
|
-
.awsui_visible-content-
|
|
185
|
+
.awsui_visible-content-option_tc96w_slxf2_176:not(#\9):last-child {
|
|
186
186
|
border-block-end: none;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.awsui_visible-content-option-
|
|
189
|
+
.awsui_visible-content-option-label_tc96w_slxf2_189:not(#\9) {
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
text-overflow: ellipsis;
|
|
192
192
|
padding-inline-end: var(--space-l-3cws6j, 20px);
|
|
@@ -209,11 +209,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
209
209
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
210
210
|
SPDX-License-Identifier: Apache-2.0
|
|
211
211
|
*/
|
|
212
|
-
.awsui_content-display-option-
|
|
212
|
+
.awsui_content-display-option-toggle_tc96w_slxf2_212:not(#\9) {
|
|
213
213
|
/* used in test-utils */
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.awsui_content-display-option-
|
|
216
|
+
.awsui_content-display-option-content_tc96w_slxf2_216:not(#\9) {
|
|
217
217
|
border-collapse: separate;
|
|
218
218
|
border-spacing: 0;
|
|
219
219
|
box-sizing: border-box;
|
|
@@ -245,40 +245,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
245
245
|
-moz-osx-font-smoothing: auto;
|
|
246
246
|
display: flex;
|
|
247
247
|
align-items: flex-start;
|
|
248
|
-
padding-block: var(--space-xs-
|
|
249
|
-
padding-inline-
|
|
250
|
-
padding-inline-end: var(--space-scaled-xs-sppte9, 8px);
|
|
251
|
-
background-color: var(--color-background-container-content-aemn43, #ffffff);
|
|
248
|
+
padding-block: var(--space-scaled-xs-sppte9, 8px);
|
|
249
|
+
padding-inline-end: var(--space-xs-kw7k3v, 8px);
|
|
252
250
|
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
253
251
|
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
254
252
|
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
255
253
|
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
256
254
|
}
|
|
257
255
|
|
|
258
|
-
.awsui_content-display-
|
|
259
|
-
list-style: none;
|
|
260
|
-
position: relative;
|
|
261
|
-
border-block-start: var(--border-divider-list-width-8ggz94, 1px) solid var(--color-border-divider-secondary-4wvr5g, #eaeded);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.awsui_content-display-option-label_tc96w_1a1pn_264:not(#\9) {
|
|
256
|
+
.awsui_content-display-option-label_tc96w_slxf2_256:not(#\9) {
|
|
265
257
|
flex-grow: 1;
|
|
266
258
|
min-inline-size: 0;
|
|
267
259
|
word-break: break-word;
|
|
268
260
|
padding-inline-end: var(--space-l-3cws6j, 20px);
|
|
269
261
|
}
|
|
270
262
|
|
|
271
|
-
.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
.awsui_content-display_tc96w_1a1pn_212:not(#\9),
|
|
276
|
-
.awsui_content-display-text-filter_tc96w_1a1pn_276:not(#\9),
|
|
277
|
-
.awsui_content-display-no-match_tc96w_1a1pn_277:not(#\9) {
|
|
263
|
+
.awsui_content-display_tc96w_slxf2_212:not(#\9),
|
|
264
|
+
.awsui_content-display-text-filter_tc96w_slxf2_264:not(#\9),
|
|
265
|
+
.awsui_content-display-no-match_tc96w_slxf2_265:not(#\9) {
|
|
278
266
|
/* used in test-utils */
|
|
279
267
|
}
|
|
280
268
|
|
|
281
|
-
.awsui_content-display-
|
|
269
|
+
.awsui_content-display-title_tc96w_slxf2_269:not(#\9) {
|
|
282
270
|
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
283
271
|
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
284
272
|
font-weight: var(--font-display-label-weight-ise9n2, 400);
|
|
@@ -287,7 +275,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
287
275
|
margin-inline: 0;
|
|
288
276
|
}
|
|
289
277
|
|
|
290
|
-
.awsui_content-display-
|
|
278
|
+
.awsui_content-display-description_tc96w_slxf2_278:not(#\9) {
|
|
291
279
|
color: var(--color-text-form-secondary-4sp9un, #687078);
|
|
292
280
|
font-size: var(--font-size-body-s-psgqn2, 12px);
|
|
293
281
|
line-height: var(--line-height-body-s-otgtsr, 16px);
|
|
@@ -295,37 +283,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
295
283
|
margin-block-start: var(--space-scaled-xxxs-prgw5k, 2px);
|
|
296
284
|
}
|
|
297
285
|
|
|
298
|
-
.awsui_content-display-option-
|
|
286
|
+
.awsui_content-display-option-list_tc96w_slxf2_286:not(#\9) {
|
|
299
287
|
position: relative;
|
|
300
288
|
list-style: none;
|
|
301
289
|
padding-block: 0;
|
|
302
290
|
padding-inline: 0;
|
|
303
291
|
}
|
|
304
292
|
|
|
305
|
-
.
|
|
306
|
-
.awsui_modal-
|
|
307
|
-
.awsui_trigger-
|
|
308
|
-
.awsui_cancel-
|
|
309
|
-
.awsui_confirm-
|
|
310
|
-
.
|
|
311
|
-
.awsui_content-
|
|
293
|
+
.awsui_root_tc96w_slxf2_293:not(#\9),
|
|
294
|
+
.awsui_modal-root_tc96w_slxf2_294:not(#\9),
|
|
295
|
+
.awsui_trigger-button_tc96w_slxf2_295:not(#\9),
|
|
296
|
+
.awsui_cancel-button_tc96w_slxf2_296:not(#\9),
|
|
297
|
+
.awsui_confirm-button_tc96w_slxf2_297:not(#\9),
|
|
298
|
+
.awsui_custom_tc96w_slxf2_298:not(#\9),
|
|
299
|
+
.awsui_content-before_tc96w_slxf2_299:not(#\9) {
|
|
312
300
|
/* used in test-utils */
|
|
313
301
|
}
|
|
314
302
|
|
|
315
|
-
.awsui_second-column-
|
|
303
|
+
.awsui_second-column-small_tc96w_slxf2_303:not(#\9) {
|
|
316
304
|
padding-block-start: calc(2 * var(--space-scaled-l-66n9sr, 20px));
|
|
317
305
|
}
|
|
318
306
|
|
|
319
|
-
.awsui_wrap-
|
|
320
|
-
.awsui_striped-
|
|
321
|
-
.awsui_content-
|
|
322
|
-
.awsui_page-
|
|
323
|
-
.awsui_page-size-form-
|
|
324
|
-
.awsui_page-size-radio-
|
|
325
|
-
.awsui_sticky-
|
|
326
|
-
.awsui_sticky-columns-form-
|
|
327
|
-
.awsui_sticky-columns-radio-
|
|
328
|
-
.awsui_sticky-columns-
|
|
329
|
-
.awsui_sticky-columns-
|
|
307
|
+
.awsui_wrap-lines_tc96w_slxf2_307:not(#\9),
|
|
308
|
+
.awsui_striped-rows_tc96w_slxf2_308:not(#\9),
|
|
309
|
+
.awsui_content-density_tc96w_slxf2_309:not(#\9),
|
|
310
|
+
.awsui_page-size_tc96w_slxf2_310:not(#\9),
|
|
311
|
+
.awsui_page-size-form-field_tc96w_slxf2_311:not(#\9),
|
|
312
|
+
.awsui_page-size-radio-group_tc96w_slxf2_312:not(#\9),
|
|
313
|
+
.awsui_sticky-columns_tc96w_slxf2_313:not(#\9),
|
|
314
|
+
.awsui_sticky-columns-form-field_tc96w_slxf2_314:not(#\9),
|
|
315
|
+
.awsui_sticky-columns-radio-group_tc96w_slxf2_315:not(#\9),
|
|
316
|
+
.awsui_sticky-columns-first_tc96w_slxf2_316:not(#\9),
|
|
317
|
+
.awsui_sticky-columns-last_tc96w_slxf2_317:not(#\9) {
|
|
330
318
|
/* used in test-utils */
|
|
331
319
|
}
|
|
@@ -2,43 +2,41 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"visible-content": "awsui_visible-
|
|
6
|
-
"visible-content-toggle": "awsui_visible-content-
|
|
7
|
-
"visible-content-groups": "awsui_visible-content-
|
|
8
|
-
"visible-content-group": "awsui_visible-content-
|
|
9
|
-
"visible-content-title": "awsui_visible-content-
|
|
10
|
-
"visible-content-group-label": "awsui_visible-content-group-
|
|
11
|
-
"visible-content-option": "awsui_visible-content-
|
|
12
|
-
"visible-content-option-label": "awsui_visible-content-option-
|
|
13
|
-
"content-display-option-toggle": "awsui_content-display-option-
|
|
14
|
-
"content-display-option-content": "awsui_content-display-option-
|
|
15
|
-
"content-display-option": "awsui_content-display-
|
|
16
|
-
"content-display
|
|
17
|
-
"
|
|
18
|
-
"content-display": "awsui_content-
|
|
19
|
-
"content-display-
|
|
20
|
-
"content-display-
|
|
21
|
-
"content-display-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"page-size": "awsui_page-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"sticky-columns": "awsui_sticky-
|
|
39
|
-
"sticky-columns-
|
|
40
|
-
"sticky-columns-
|
|
41
|
-
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_1a1pn_328",
|
|
42
|
-
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_1a1pn_329"
|
|
5
|
+
"visible-content": "awsui_visible-content_tc96w_slxf2_153",
|
|
6
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_slxf2_154",
|
|
7
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_slxf2_155",
|
|
8
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_slxf2_155",
|
|
9
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_slxf2_160",
|
|
10
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_slxf2_170",
|
|
11
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_slxf2_176",
|
|
12
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_slxf2_189",
|
|
13
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_slxf2_212",
|
|
14
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_slxf2_216",
|
|
15
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_slxf2_256",
|
|
16
|
+
"content-display": "awsui_content-display_tc96w_slxf2_212",
|
|
17
|
+
"content-display-text-filter": "awsui_content-display-text-filter_tc96w_slxf2_264",
|
|
18
|
+
"content-display-no-match": "awsui_content-display-no-match_tc96w_slxf2_265",
|
|
19
|
+
"content-display-title": "awsui_content-display-title_tc96w_slxf2_269",
|
|
20
|
+
"content-display-description": "awsui_content-display-description_tc96w_slxf2_278",
|
|
21
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_slxf2_286",
|
|
22
|
+
"root": "awsui_root_tc96w_slxf2_293",
|
|
23
|
+
"modal-root": "awsui_modal-root_tc96w_slxf2_294",
|
|
24
|
+
"trigger-button": "awsui_trigger-button_tc96w_slxf2_295",
|
|
25
|
+
"cancel-button": "awsui_cancel-button_tc96w_slxf2_296",
|
|
26
|
+
"confirm-button": "awsui_confirm-button_tc96w_slxf2_297",
|
|
27
|
+
"custom": "awsui_custom_tc96w_slxf2_298",
|
|
28
|
+
"content-before": "awsui_content-before_tc96w_slxf2_299",
|
|
29
|
+
"second-column-small": "awsui_second-column-small_tc96w_slxf2_303",
|
|
30
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_slxf2_307",
|
|
31
|
+
"striped-rows": "awsui_striped-rows_tc96w_slxf2_308",
|
|
32
|
+
"content-density": "awsui_content-density_tc96w_slxf2_309",
|
|
33
|
+
"page-size": "awsui_page-size_tc96w_slxf2_310",
|
|
34
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_slxf2_311",
|
|
35
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_slxf2_312",
|
|
36
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_slxf2_313",
|
|
37
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_slxf2_314",
|
|
38
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_slxf2_315",
|
|
39
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_slxf2_316",
|
|
40
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_slxf2_317"
|
|
43
41
|
};
|
|
44
42
|
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlashbarProps } from './interfaces';
|
|
3
3
|
export default function CollapsibleFlashbar({ items, style, ...restProps }: FlashbarProps): JSX.Element;
|
|
4
|
-
export declare const getItemStyles: (style: FlashbarProps.Style, type?: string) => {
|
|
5
|
-
background: string | undefined;
|
|
6
|
-
borderColor: string | undefined;
|
|
7
|
-
borderRadius: string | undefined;
|
|
8
|
-
borderStyle: string | undefined;
|
|
9
|
-
borderWidth: string | undefined;
|
|
10
|
-
color: string | undefined;
|
|
11
|
-
};
|
|
12
4
|
//# sourceMappingURL=collapsible-flashbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible-flashbar.d.ts","sourceRoot":"","sources":["../../../src/flashbar/collapsible-flashbar.tsx"],"names":[],"mappings":";AA2BA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"collapsible-flashbar.d.ts","sourceRoot":"","sources":["../../../src/flashbar/collapsible-flashbar.tsx"],"names":[],"mappings":";AA2BA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAY7C,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,EAAE,aAAa,eAqUxF"}
|
|
@@ -19,6 +19,7 @@ import { throttle } from '../internal/utils/throttle';
|
|
|
19
19
|
import { getComponentsAnalyticsMetadata, getItemAnalyticsMetadata } from './analytics-metadata/utils';
|
|
20
20
|
import { useFlashbar } from './common';
|
|
21
21
|
import { Flash, focusFlashById } from './flash';
|
|
22
|
+
import { getCollapsibleFlashStyles, getNotificationBarStyles } from './style';
|
|
22
23
|
import { counterTypes, getFlashTypeCount, getItemColor, getVisibleCollapsedItems } from './utils';
|
|
23
24
|
import styles from './styles.css.js';
|
|
24
25
|
// If the number of items is equal or less than this value,
|
|
@@ -158,28 +159,6 @@ export default function CollapsibleFlashbar(_a) {
|
|
|
158
159
|
const showInnerContent = (item) => isFlashbarStackExpanded || hasLeft(item) || ('expandedIndex' in item && item.expandedIndex === 0);
|
|
159
160
|
const shouldUseStandardAnimation = (item, index) => index === 0 && hasEnteredOrLeft(item);
|
|
160
161
|
const getAnimationElementId = (item) => `flash-${getItemId(item)}`;
|
|
161
|
-
const getNotificationBarStyles = () => {
|
|
162
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
|
163
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ borderRadius: (_a = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _a === void 0 ? void 0 : _a.root.borderRadius, borderWidth: (_b = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _b === void 0 ? void 0 : _b.root.borderWidth }, (((_e = (_d = (_c = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _c === void 0 ? void 0 : _c.root) === null || _d === void 0 ? void 0 : _d.background) === null || _e === void 0 ? void 0 : _e.active) && {
|
|
164
|
-
[customCssProps.styleBackgroundActive]: style.notificationBar.root.background.active,
|
|
165
|
-
})), (((_h = (_g = (_f = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _f === void 0 ? void 0 : _f.root) === null || _g === void 0 ? void 0 : _g.background) === null || _h === void 0 ? void 0 : _h.default) && {
|
|
166
|
-
[customCssProps.styleBackgroundDefault]: style.notificationBar.root.background.default,
|
|
167
|
-
})), (((_l = (_k = (_j = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _j === void 0 ? void 0 : _j.root) === null || _k === void 0 ? void 0 : _k.background) === null || _l === void 0 ? void 0 : _l.hover) && {
|
|
168
|
-
[customCssProps.styleBackgroundHover]: style.notificationBar.root.background.hover,
|
|
169
|
-
})), (((_p = (_o = (_m = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _m === void 0 ? void 0 : _m.root) === null || _o === void 0 ? void 0 : _o.borderColor) === null || _p === void 0 ? void 0 : _p.active) && {
|
|
170
|
-
[customCssProps.styleBorderColorActive]: style.notificationBar.root.borderColor.active,
|
|
171
|
-
})), (((_s = (_r = (_q = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _q === void 0 ? void 0 : _q.root) === null || _r === void 0 ? void 0 : _r.borderColor) === null || _s === void 0 ? void 0 : _s.default) && {
|
|
172
|
-
[customCssProps.styleBorderColorDefault]: style.notificationBar.root.borderColor.default,
|
|
173
|
-
})), (((_v = (_u = (_t = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _t === void 0 ? void 0 : _t.root) === null || _u === void 0 ? void 0 : _u.borderColor) === null || _v === void 0 ? void 0 : _v.hover) && {
|
|
174
|
-
[customCssProps.styleBorderColorHover]: style.notificationBar.root.borderColor.hover,
|
|
175
|
-
})), (((_y = (_x = (_w = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _w === void 0 ? void 0 : _w.root) === null || _x === void 0 ? void 0 : _x.color) === null || _y === void 0 ? void 0 : _y.active) && {
|
|
176
|
-
[customCssProps.styleColorActive]: style.notificationBar.root.color.active,
|
|
177
|
-
})), (((_1 = (_0 = (_z = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _z === void 0 ? void 0 : _z.root) === null || _0 === void 0 ? void 0 : _0.color) === null || _1 === void 0 ? void 0 : _1.default) && {
|
|
178
|
-
[customCssProps.styleColorDefault]: style.notificationBar.root.color.default,
|
|
179
|
-
})), (((_4 = (_3 = (_2 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _2 === void 0 ? void 0 : _2.root) === null || _3 === void 0 ? void 0 : _3.color) === null || _4 === void 0 ? void 0 : _4.hover) && {
|
|
180
|
-
[customCssProps.styleColorHover]: style.notificationBar.root.color.hover,
|
|
181
|
-
}));
|
|
182
|
-
};
|
|
183
162
|
const renderList = () => (React.createElement("ul", { ref: listElementRef, className: clsx(styles['flash-list'], isFlashbarStackExpanded ? styles.expanded : styles.collapsed, transitioning && styles['animation-running'], initialAnimationState && styles['animation-ready'], isVisualRefresh && styles['visual-refresh']), id: flashbarElementId, "aria-label": ariaLabel, "aria-describedby": isCollapsible ? itemCountElementId : undefined, style: !isFlashbarStackExpanded || transitioning
|
|
184
163
|
? {
|
|
185
164
|
[customCssProps.flashbarStackDepth]: stackDepth,
|
|
@@ -203,7 +182,7 @@ export default function CollapsibleFlashbar(_a) {
|
|
|
203
182
|
else {
|
|
204
183
|
collapsedItemRefs.current[getAnimationElementId(item)] = element;
|
|
205
184
|
}
|
|
206
|
-
}, style: Object.assign(Object.assign({}, (index > 0 && !isFlashbarStackExpanded && style &&
|
|
185
|
+
}, style: Object.assign(Object.assign({}, (index > 0 && !isFlashbarStackExpanded && style && getCollapsibleFlashStyles(style, item.type))), ((!isFlashbarStackExpanded || transitioning) && {
|
|
207
186
|
[customCssProps.flashbarStackIndex]: (_c = (_b = item.collapsedIndex) !== null && _b !== void 0 ? _b : item.expandedIndex) !== null && _c !== void 0 ? _c : index,
|
|
208
187
|
})), key: getItemId(item) }, getAnalyticsMetadataAttribute(getItemAnalyticsMetadata(index + 1, item.type || 'info', item.id))), showInnerContent(item) && (React.createElement(Flash
|
|
209
188
|
// eslint-disable-next-line react/forbid-component-props
|
|
@@ -214,7 +193,7 @@ export default function CollapsibleFlashbar(_a) {
|
|
|
214
193
|
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles.flashbar, styles.stack, isCollapsible && styles.collapsible, items.length === 2 && styles['short-list'], isFlashbarStackExpanded && styles.expanded, isVisualRefresh && styles['visual-refresh']), ref: mergedRef }, getAnalyticsMetadataAttribute(getComponentsAnalyticsMetadata(items.length, true, isFlashbarStackExpanded))),
|
|
215
194
|
isFlashbarStackExpanded && renderList(),
|
|
216
195
|
isCollapsible && (React.createElement("div", Object.assign({ className: clsx(styles['notification-bar'], isVisualRefresh && styles['visual-refresh'], isFlashbarStackExpanded ? styles.expanded : styles.collapsed, transitioning && styles['animation-running'], items.length === 2 && styles['short-list'], getVisualContextClassname('flashbar') // Visual context is needed for focus ring to be white
|
|
217
|
-
), onClick: toggleCollapseExpand, ref: notificationBarRef, style: Object.assign({}, getNotificationBarStyles()) }, getAnalyticsMetadataAttribute({
|
|
196
|
+
), onClick: toggleCollapseExpand, ref: notificationBarRef, style: Object.assign({}, (style && getNotificationBarStyles(style))) }, getAnalyticsMetadataAttribute({
|
|
218
197
|
action: !isFlashbarStackExpanded ? 'expand' : 'collapse',
|
|
219
198
|
detail: {
|
|
220
199
|
label: 'h2',
|
|
@@ -227,32 +206,6 @@ export default function CollapsibleFlashbar(_a) {
|
|
|
227
206
|
React.createElement(InternalIcon, { className: styles.icon, size: "normal", name: "angle-down" })))),
|
|
228
207
|
!isFlashbarStackExpanded && renderList()));
|
|
229
208
|
}
|
|
230
|
-
export const getItemStyles = (style, type = 'info') => {
|
|
231
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
232
|
-
const background = ((_b = (_a = style === null || style === void 0 ? void 0 : style.item) === null || _a === void 0 ? void 0 : _a.root) === null || _b === void 0 ? void 0 : _b.background) &&
|
|
233
|
-
(type === 'in-progress'
|
|
234
|
-
? (_d = (_c = style === null || style === void 0 ? void 0 : style.item) === null || _c === void 0 ? void 0 : _c.root) === null || _d === void 0 ? void 0 : _d.background.inProgress
|
|
235
|
-
: (_f = (_e = style === null || style === void 0 ? void 0 : style.item) === null || _e === void 0 ? void 0 : _e.root) === null || _f === void 0 ? void 0 : _f.background[type]);
|
|
236
|
-
const borderColor = ((_h = (_g = style === null || style === void 0 ? void 0 : style.item) === null || _g === void 0 ? void 0 : _g.root) === null || _h === void 0 ? void 0 : _h.borderColor) &&
|
|
237
|
-
(type === 'in-progress'
|
|
238
|
-
? (_k = (_j = style === null || style === void 0 ? void 0 : style.item) === null || _j === void 0 ? void 0 : _j.root) === null || _k === void 0 ? void 0 : _k.borderColor.inProgress
|
|
239
|
-
: (_m = (_l = style === null || style === void 0 ? void 0 : style.item) === null || _l === void 0 ? void 0 : _l.root) === null || _m === void 0 ? void 0 : _m.borderColor[type]);
|
|
240
|
-
const borderRadius = (_p = (_o = style === null || style === void 0 ? void 0 : style.item) === null || _o === void 0 ? void 0 : _o.root) === null || _p === void 0 ? void 0 : _p.borderRadius;
|
|
241
|
-
const borderWidth = (_r = (_q = style === null || style === void 0 ? void 0 : style.item) === null || _q === void 0 ? void 0 : _q.root) === null || _r === void 0 ? void 0 : _r.borderWidth;
|
|
242
|
-
const borderStyle = ((_t = (_s = style === null || style === void 0 ? void 0 : style.item) === null || _s === void 0 ? void 0 : _s.root) === null || _t === void 0 ? void 0 : _t.borderWidth) && 'solid';
|
|
243
|
-
const color = ((_v = (_u = style === null || style === void 0 ? void 0 : style.item) === null || _u === void 0 ? void 0 : _u.root) === null || _v === void 0 ? void 0 : _v.color) &&
|
|
244
|
-
(type === 'in-progress'
|
|
245
|
-
? (_x = (_w = style === null || style === void 0 ? void 0 : style.item) === null || _w === void 0 ? void 0 : _w.root) === null || _x === void 0 ? void 0 : _x.color.inProgress
|
|
246
|
-
: (_z = (_y = style === null || style === void 0 ? void 0 : style.item) === null || _y === void 0 ? void 0 : _y.root) === null || _z === void 0 ? void 0 : _z.color[type]);
|
|
247
|
-
return {
|
|
248
|
-
background,
|
|
249
|
-
borderColor,
|
|
250
|
-
borderRadius,
|
|
251
|
-
borderStyle,
|
|
252
|
-
borderWidth,
|
|
253
|
-
color,
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
209
|
const NotificationTypeCount = ({ iconName, label, count, }) => {
|
|
257
210
|
return (React.createElement("span", { className: styles['type-count'] },
|
|
258
211
|
React.createElement("span", { title: label },
|