@cloudscape-design/components 3.0.1300 → 3.0.1302
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/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +50 -50
- package/alert/styles.selectors.js +27 -27
- package/annotation-context/annotation/styles.css.js +13 -13
- package/annotation-context/annotation/styles.scoped.css +21 -21
- package/annotation-context/annotation/styles.selectors.js +13 -13
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +28 -28
- package/attribute-editor/styles.selectors.js +15 -15
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/button/styles.css.js +22 -22
- package/button/styles.scoped.css +256 -256
- package/button/styles.selectors.js +22 -22
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +37 -37
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +11 -11
- package/checkbox/styles.selectors.js +3 -3
- package/collection-preferences/content-display/index.d.ts.map +1 -1
- package/collection-preferences/content-display/index.js +1 -1
- package/collection-preferences/content-display/index.js.map +1 -1
- package/container/interfaces.d.ts +0 -1
- package/container/interfaces.d.ts.map +1 -1
- package/container/interfaces.js.map +1 -1
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/dropdown/index.d.ts +0 -3
- package/dropdown/index.d.ts.map +1 -1
- package/dropdown/index.js +0 -3
- package/dropdown/index.js.map +1 -1
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +49 -49
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/styles.css.js +35 -35
- package/expandable-section/styles.scoped.css +68 -66
- package/expandable-section/styles.selectors.js +35 -35
- package/file-token-group/styles.css.js +23 -23
- package/file-token-group/styles.scoped.css +36 -36
- package/file-token-group/styles.selectors.js +23 -23
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +187 -187
- package/flashbar/styles.selectors.js +50 -50
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +73 -73
- package/help-panel/styles.selectors.js +6 -6
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/icon/interfaces.d.ts +1 -1
- package/icon/interfaces.d.ts.map +1 -1
- package/icon/interfaces.js.map +1 -1
- package/icon/internal.d.ts.map +1 -1
- package/icon/internal.js +86 -4
- package/icon/internal.js.map +1 -1
- package/icon/styles.css.js +41 -39
- package/icon/styles.scoped.css +135 -110
- package/icon/styles.selectors.js +41 -39
- package/icon-provider/context.d.ts +34 -3
- package/icon-provider/context.d.ts.map +1 -1
- package/icon-provider/context.js +7 -3
- package/icon-provider/context.js.map +1 -1
- package/icon-provider/interfaces.d.ts +52 -0
- package/icon-provider/interfaces.d.ts.map +1 -1
- package/icon-provider/interfaces.js.map +1 -1
- package/icon-provider/internal.d.ts +3 -1
- package/icon-provider/internal.d.ts.map +1 -1
- package/icon-provider/internal.js +13 -4
- package/icon-provider/internal.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/input/styles.css.js +18 -18
- package/input/styles.scoped.css +82 -82
- package/input/styles.selectors.js +18 -18
- package/internal/base-component/styles.scoped.css +31 -22
- package/internal/components/drag-handle/button.d.ts.map +1 -1
- package/internal/components/drag-handle/button.js +1 -1
- package/internal/components/drag-handle/button.js.map +1 -1
- package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +18 -18
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/components/sortable-area/index.d.ts.map +1 -1
- package/internal/components/sortable-area/index.js +1 -0
- package/internal/components/sortable-area/index.js.map +1 -1
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +25 -25
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.d.ts +2 -1
- package/internal/environment.js +4 -3
- package/internal/environment.json +4 -3
- package/internal/generated/custom-css-properties/index.d.ts +3 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +162 -159
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/styles/tokens.d.ts +30 -21
- package/internal/generated/styles/tokens.js +30 -21
- package/internal/generated/theming/index.cjs +278 -88
- package/internal/generated/theming/index.cjs.d.ts +189 -108
- package/internal/generated/theming/index.d.ts +189 -108
- package/internal/generated/theming/index.js +278 -88
- package/internal/manifest.json +1 -1
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +63 -63
- package/item-card/styles.selectors.js +14 -14
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +104 -104
- package/link/styles.selectors.js +21 -21
- package/manifest.json +2 -2
- package/modal/styles.css.js +31 -31
- package/modal/styles.scoped.css +48 -48
- package/modal/styles.selectors.js +31 -31
- package/package.json +2 -1
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +48 -48
- package/progress-bar/styles.selectors.js +18 -18
- package/prompt-input/styles.css.js +26 -26
- package/prompt-input/styles.scoped.css +105 -105
- package/prompt-input/styles.selectors.js +26 -26
- package/radio-button/index.d.ts +0 -3
- package/radio-button/index.d.ts.map +1 -1
- package/radio-button/index.js +0 -3
- package/radio-button/index.js.map +1 -1
- package/segmented-control/styles.css.js +16 -16
- package/segmented-control/styles.scoped.css +46 -46
- package/segmented-control/styles.selectors.js +16 -16
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +165 -165
- package/slider/styles.selectors.js +26 -26
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/status-indicator/styles.css.js +24 -24
- package/status-indicator/styles.scoped.css +64 -30
- package/status-indicator/styles.selectors.js +24 -24
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +76 -76
- package/tabs/styles.selectors.js +30 -30
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +13 -13
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/index.d.ts +28 -0
- package/test-utils/dom/index.js +20 -1
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/truncated-text/index.d.ts +6 -0
- package/test-utils/dom/truncated-text/index.js +17 -0
- package/test-utils/dom/truncated-text/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +18 -0
- package/test-utils/selectors/index.js +15 -1
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/truncated-text/index.d.ts +6 -0
- package/test-utils/selectors/truncated-text/index.js +17 -0
- package/test-utils/selectors/truncated-text/index.js.map +1 -0
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +66 -66
- package/text-content/styles.selectors.js +1 -1
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.scoped.css +45 -45
- package/textarea/styles.selectors.js +5 -5
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +23 -23
- package/toggle/styles.selectors.js +10 -10
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +46 -46
- package/token/styles.selectors.js +14 -14
- package/truncated-text/index.d.ts +7 -0
- package/truncated-text/index.d.ts.map +1 -0
- package/truncated-text/index.js +18 -0
- package/truncated-text/index.js.map +1 -0
- package/truncated-text/interfaces.d.ts +16 -0
- package/truncated-text/interfaces.d.ts.map +1 -0
- package/truncated-text/interfaces.js +2 -0
- package/truncated-text/interfaces.js.map +1 -0
- package/truncated-text/internal.d.ts +10 -0
- package/truncated-text/internal.d.ts.map +1 -0
- package/truncated-text/internal.js +47 -0
- package/truncated-text/internal.js.map +1 -0
- package/truncated-text/styles.css.js +6 -0
- package/truncated-text/styles.scoped.css +177 -0
- package/truncated-text/styles.selectors.js +7 -0
- package/truncated-text/test-classes/styles.css.js +6 -0
- package/truncated-text/test-classes/styles.scoped.css +7 -0
- package/truncated-text/test-classes/styles.selectors.js +7 -0
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"content": "
|
|
6
|
-
"button": "
|
|
7
|
-
"variant-normal": "awsui_variant-
|
|
8
|
-
"disabled": "
|
|
9
|
-
"variant-primary": "awsui_variant-
|
|
10
|
-
"variant-link": "awsui_variant-
|
|
11
|
-
"variant-icon": "awsui_variant-
|
|
12
|
-
"variant-inline-icon": "awsui_variant-inline-
|
|
13
|
-
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-
|
|
14
|
-
"variant-inline-link": "awsui_variant-inline-
|
|
15
|
-
"variant-modal-dismiss": "awsui_variant-modal-
|
|
16
|
-
"variant-flashbar-icon": "awsui_variant-flashbar-
|
|
17
|
-
"variant-breadcrumb-group": "awsui_variant-breadcrumb-
|
|
18
|
-
"variant-menu-trigger": "awsui_variant-menu-
|
|
19
|
-
"button-no-text": "awsui_button-no-
|
|
20
|
-
"button-no-wrap": "awsui_button-no-
|
|
21
|
-
"full-width": "awsui_full-
|
|
22
|
-
"icon-left": "awsui_icon-
|
|
23
|
-
"icon-right": "awsui_icon-
|
|
24
|
-
"icon": "
|
|
25
|
-
"link": "
|
|
26
|
-
"disabled-with-reason": "awsui_disabled-with-
|
|
5
|
+
"content": "awsui_content_vjswe_9xevp_153",
|
|
6
|
+
"button": "awsui_button_vjswe_9xevp_157",
|
|
7
|
+
"variant-normal": "awsui_variant-normal_vjswe_9xevp_206",
|
|
8
|
+
"disabled": "awsui_disabled_vjswe_9xevp_227",
|
|
9
|
+
"variant-primary": "awsui_variant-primary_vjswe_9xevp_235",
|
|
10
|
+
"variant-link": "awsui_variant-link_vjswe_9xevp_264",
|
|
11
|
+
"variant-icon": "awsui_variant-icon_vjswe_9xevp_293",
|
|
12
|
+
"variant-inline-icon": "awsui_variant-inline-icon_vjswe_9xevp_322",
|
|
13
|
+
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-target_vjswe_9xevp_351",
|
|
14
|
+
"variant-inline-link": "awsui_variant-inline-link_vjswe_9xevp_380",
|
|
15
|
+
"variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_9xevp_413",
|
|
16
|
+
"variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_9xevp_442",
|
|
17
|
+
"variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_9xevp_471",
|
|
18
|
+
"variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_9xevp_505",
|
|
19
|
+
"button-no-text": "awsui_button-no-text_vjswe_9xevp_601",
|
|
20
|
+
"button-no-wrap": "awsui_button-no-wrap_vjswe_9xevp_605",
|
|
21
|
+
"full-width": "awsui_full-width_vjswe_9xevp_608",
|
|
22
|
+
"icon-left": "awsui_icon-left_vjswe_9xevp_630",
|
|
23
|
+
"icon-right": "awsui_icon-right_vjswe_9xevp_635",
|
|
24
|
+
"icon": "awsui_icon_vjswe_9xevp_630",
|
|
25
|
+
"link": "awsui_link_vjswe_9xevp_654",
|
|
26
|
+
"disabled-with-reason": "awsui_disabled-with-reason_vjswe_9xevp_654"
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"item-element": "awsui_item-
|
|
5
|
-
"no-content-styling": "awsui_no-content-
|
|
6
|
-
"disabled": "
|
|
7
|
-
"show-divider": "awsui_show-
|
|
8
|
-
"highlighted": "
|
|
9
|
-
"is-focused": "awsui_is-
|
|
10
|
-
"visual-refresh": "awsui_visual-
|
|
11
|
-
"menu-item": "awsui_menu-
|
|
12
|
-
"link-style": "awsui_link-
|
|
13
|
-
"current-breadcrumb": "awsui_current-
|
|
14
|
-
"link-style-highlighted": "awsui_link-style-
|
|
15
|
-
"has-category-header": "awsui_has-category-
|
|
16
|
-
"item-tooltip-wrapper": "awsui_item-tooltip-
|
|
17
|
-
"has-checkmark": "awsui_has-
|
|
18
|
-
"icon": "
|
|
19
|
-
"checkmark": "
|
|
20
|
-
"external-icon": "awsui_external-
|
|
21
|
-
"content-wrapper": "awsui_content-
|
|
22
|
-
"main-row": "awsui_main-
|
|
23
|
-
"label-tag": "awsui_label-
|
|
24
|
-
"secondary-text": "awsui_secondary-
|
|
4
|
+
"item-element": "awsui_item-element_93a1u_1y8h6_145",
|
|
5
|
+
"no-content-styling": "awsui_no-content-styling_93a1u_1y8h6_157",
|
|
6
|
+
"disabled": "awsui_disabled_93a1u_1y8h6_162",
|
|
7
|
+
"show-divider": "awsui_show-divider_93a1u_1y8h6_169",
|
|
8
|
+
"highlighted": "awsui_highlighted_93a1u_1y8h6_172",
|
|
9
|
+
"is-focused": "awsui_is-focused_93a1u_1y8h6_187",
|
|
10
|
+
"visual-refresh": "awsui_visual-refresh_93a1u_1y8h6_190",
|
|
11
|
+
"menu-item": "awsui_menu-item_93a1u_1y8h6_194",
|
|
12
|
+
"link-style": "awsui_link-style_93a1u_1y8h6_211",
|
|
13
|
+
"current-breadcrumb": "awsui_current-breadcrumb_93a1u_1y8h6_248",
|
|
14
|
+
"link-style-highlighted": "awsui_link-style-highlighted_93a1u_1y8h6_256",
|
|
15
|
+
"has-category-header": "awsui_has-category-header_93a1u_1y8h6_262",
|
|
16
|
+
"item-tooltip-wrapper": "awsui_item-tooltip-wrapper_93a1u_1y8h6_262",
|
|
17
|
+
"has-checkmark": "awsui_has-checkmark_93a1u_1y8h6_262",
|
|
18
|
+
"icon": "awsui_icon_93a1u_1y8h6_269",
|
|
19
|
+
"checkmark": "awsui_checkmark_93a1u_1y8h6_273",
|
|
20
|
+
"external-icon": "awsui_external-icon_93a1u_1y8h6_280",
|
|
21
|
+
"content-wrapper": "awsui_content-wrapper_93a1u_1y8h6_284",
|
|
22
|
+
"main-row": "awsui_main-row_93a1u_1y8h6_290",
|
|
23
|
+
"label-tag": "awsui_label-tag_93a1u_1y8h6_297",
|
|
24
|
+
"secondary-text": "awsui_secondary-text_93a1u_1y8h6_304"
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.awsui_item-
|
|
145
|
+
.awsui_item-element_93a1u_1y8h6_145:not(#\9) {
|
|
146
146
|
position: relative;
|
|
147
147
|
z-index: 1;
|
|
148
148
|
border-block: var(--border-item-width-miijiw, 2px) solid transparent;
|
|
@@ -154,22 +154,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
154
154
|
margin-block-start: calc(-1 * var(--border-width-dropdown-youcay, 2px));
|
|
155
155
|
cursor: pointer;
|
|
156
156
|
}
|
|
157
|
-
.awsui_item-
|
|
157
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_no-content-styling_93a1u_1y8h6_157:not(#\9) {
|
|
158
158
|
padding-block: 0;
|
|
159
159
|
padding-inline: 0;
|
|
160
160
|
color: var(--color-text-dropdown-item-default-f1jr9u, #0f141a);
|
|
161
161
|
}
|
|
162
|
-
.awsui_item-
|
|
162
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_disabled_93a1u_1y8h6_162:not(#\9) {
|
|
163
163
|
cursor: default;
|
|
164
164
|
color: var(--color-text-dropdown-item-disabled-8m65hf, #b4b4bb);
|
|
165
165
|
}
|
|
166
|
-
.awsui_item-
|
|
166
|
+
.awsui_item-element_93a1u_1y8h6_145:not(#\9):first-child {
|
|
167
167
|
margin-block-start: 0;
|
|
168
168
|
}
|
|
169
|
-
.awsui_item-
|
|
169
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_show-divider_93a1u_1y8h6_169:not(#\9) {
|
|
170
170
|
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-border-dropdown-group-ylcnh8, #c6c6cd);
|
|
171
171
|
}
|
|
172
|
-
.awsui_item-
|
|
172
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_highlighted_93a1u_1y8h6_172:not(#\9) {
|
|
173
173
|
color: var(--color-text-dropdown-item-highlighted-yr1px8, #0f141a);
|
|
174
174
|
z-index: 2;
|
|
175
175
|
background-color: var(--color-background-dropdown-item-hover-yunepc, #f3f3f7);
|
|
@@ -179,19 +179,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
179
179
|
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
180
180
|
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
181
181
|
}
|
|
182
|
-
.awsui_item-
|
|
182
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_highlighted_93a1u_1y8h6_172.awsui_disabled_93a1u_1y8h6_162:not(#\9) {
|
|
183
183
|
color: var(--color-text-dropdown-item-dimmed-tq8vh3, #b4b4bb);
|
|
184
184
|
border-color: var(--color-border-dropdown-item-dimmed-hover-ga9sch, #8c8c94);
|
|
185
185
|
background-color: var(--color-background-dropdown-item-dimmed-dhho03, transparent);
|
|
186
186
|
}
|
|
187
|
-
.awsui_item-
|
|
187
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_highlighted_93a1u_1y8h6_172.awsui_is-focused_93a1u_1y8h6_187:not(#\9) {
|
|
188
188
|
border-color: var(--color-border-dropdown-item-focused-zacqlp, #424650);
|
|
189
189
|
}
|
|
190
|
-
.awsui_item-
|
|
190
|
+
.awsui_item-element_93a1u_1y8h6_145.awsui_highlighted_93a1u_1y8h6_172.awsui_is-focused_93a1u_1y8h6_187:not(#\9):not(.awsui_visual-refresh_93a1u_1y8h6_190) {
|
|
191
191
|
box-shadow: inset 0 0 0 var(--border-control-focus-ring-shadow-spread-9mjajk, 1px) var(--color-border-item-focused-uk47pl, #006ce0);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.awsui_menu-
|
|
194
|
+
.awsui_menu-item_93a1u_1y8h6_194:not(#\9) {
|
|
195
195
|
min-inline-size: 0;
|
|
196
196
|
word-break: break-word;
|
|
197
197
|
display: flex;
|
|
@@ -203,17 +203,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
203
203
|
/* stylelint-disable selector-max-type */
|
|
204
204
|
/* stylelint-enable selector-max-type */
|
|
205
205
|
}
|
|
206
|
-
.awsui_menu-
|
|
206
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_no-content-styling_93a1u_1y8h6_157:not(#\9) {
|
|
207
207
|
padding-block: 0;
|
|
208
208
|
padding-inline: 0;
|
|
209
209
|
color: var(--color-text-dropdown-item-default-f1jr9u, #0f141a);
|
|
210
210
|
}
|
|
211
|
-
.awsui_menu-
|
|
211
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9) {
|
|
212
212
|
padding-block-end: calc(var(--space-option-padding-vertical-d2srv9, 4px) + var(--space-xxxs-pajhad, 2px));
|
|
213
213
|
text-underline-offset: 0.25em;
|
|
214
214
|
text-decoration-thickness: var(--font-decoration-thickness-link-uesuo7, 1px);
|
|
215
215
|
text-decoration-style: var(--font-decoration-style-link-pk2xmp, solid);
|
|
216
|
-
color: var(--awsui-style-color-default-
|
|
216
|
+
color: var(--awsui-style-color-default-jsjyte, var(--color-text-link-default-hude44, #006ce0));
|
|
217
217
|
font-weight: inherit;
|
|
218
218
|
letter-spacing: normal;
|
|
219
219
|
text-decoration-line: underline;
|
|
@@ -224,30 +224,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
224
224
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
225
225
|
}
|
|
226
226
|
@media (prefers-reduced-motion: reduce) {
|
|
227
|
-
.awsui_menu-
|
|
227
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9) {
|
|
228
228
|
animation: none;
|
|
229
229
|
transition: none;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
.awsui-motion-disabled .awsui_menu-
|
|
232
|
+
.awsui-motion-disabled .awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9), .awsui-mode-entering .awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9) {
|
|
233
233
|
animation: none;
|
|
234
234
|
transition: none;
|
|
235
235
|
}
|
|
236
|
-
.awsui_menu-
|
|
236
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):hover {
|
|
237
237
|
cursor: pointer;
|
|
238
|
-
color: var(--awsui-style-color-hover-
|
|
238
|
+
color: var(--awsui-style-color-hover-jsjyte, var(--color-text-link-hover-2hfec2, #002b66));
|
|
239
239
|
}
|
|
240
|
-
.awsui_menu-
|
|
240
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):focus {
|
|
241
241
|
outline: none;
|
|
242
242
|
}
|
|
243
|
-
.awsui_menu-
|
|
244
|
-
color: var(--awsui-style-color-active-
|
|
243
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):active {
|
|
244
|
+
color: var(--awsui-style-color-active-jsjyte, var(--color-text-link-hover-2hfec2, #002b66));
|
|
245
245
|
}
|
|
246
|
-
.awsui_menu-
|
|
246
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):active, .awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):focus, .awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211:not(#\9):hover {
|
|
247
247
|
text-decoration-line: underline;
|
|
248
248
|
text-decoration-color: var(--color-text-link-decoration-hover-kui2t9, currentColor);
|
|
249
249
|
}
|
|
250
|
-
.awsui_menu-
|
|
250
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211.awsui_current-breadcrumb_93a1u_1y8h6_248:not(#\9) {
|
|
251
251
|
font-weight: var(--font-weight-button-0eg20c, 700);
|
|
252
252
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
253
253
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
@@ -255,63 +255,63 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
255
255
|
font-weight: var(--font-weight-bold-fo1afg, 700);
|
|
256
256
|
text-decoration: none;
|
|
257
257
|
}
|
|
258
|
-
.awsui_menu-
|
|
258
|
+
.awsui_menu-item_93a1u_1y8h6_194.awsui_link-style_93a1u_1y8h6_211.awsui_link-style-highlighted_93a1u_1y8h6_256:not(#\9) {
|
|
259
259
|
color: var(--color-text-link-hover-2hfec2, #002b66);
|
|
260
260
|
}
|
|
261
|
-
.awsui_menu-
|
|
261
|
+
.awsui_menu-item_93a1u_1y8h6_194:not(#\9):focus {
|
|
262
262
|
outline: none;
|
|
263
263
|
}
|
|
264
|
-
.awsui_has-category-
|
|
264
|
+
.awsui_has-category-header_93a1u_1y8h6_262 > .awsui_menu-item_93a1u_1y8h6_194:not(#\9), .awsui_has-category-header_93a1u_1y8h6_262 > .awsui_item-tooltip-wrapper_93a1u_1y8h6_262 > .awsui_menu-item_93a1u_1y8h6_194:not(#\9), .awsui_has-category-header_93a1u_1y8h6_262:not(#\9):not(.awsui_has-checkmark_93a1u_1y8h6_262) > span > .awsui_menu-item_93a1u_1y8h6_194 {
|
|
265
265
|
padding-inline-start: calc(var(--space-xs-ymlm0b, 8px) + var(--space-option-padding-horizontal-4taa4b, 20px));
|
|
266
266
|
}
|
|
267
|
-
.awsui_has-category-
|
|
267
|
+
.awsui_has-category-header_93a1u_1y8h6_262 > .awsui_menu-item_93a1u_1y8h6_194.awsui_no-content-styling_93a1u_1y8h6_157:not(#\9), .awsui_has-category-header_93a1u_1y8h6_262 > .awsui_item-tooltip-wrapper_93a1u_1y8h6_262 > .awsui_menu-item_93a1u_1y8h6_194.awsui_no-content-styling_93a1u_1y8h6_157:not(#\9), .awsui_has-category-header_93a1u_1y8h6_262:not(#\9):not(.awsui_has-checkmark_93a1u_1y8h6_262) > span > .awsui_menu-item_93a1u_1y8h6_194.awsui_no-content-styling_93a1u_1y8h6_157 {
|
|
268
268
|
padding-inline-start: 0;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.
|
|
271
|
+
.awsui_icon_93a1u_1y8h6_269:not(#\9) {
|
|
272
272
|
padding-inline-end: var(--space-xxs-hwfkai, 4px);
|
|
273
273
|
flex-shrink: 0;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
.awsui_icon_93a1u_1y8h6_269.awsui_checkmark_93a1u_1y8h6_273:not(#\9) {
|
|
276
276
|
color: var(--color-item-selected-72rnwy, #006ce0);
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
.awsui_icon_93a1u_1y8h6_269.awsui_disabled_93a1u_1y8h6_162:not(#\9) {
|
|
279
279
|
color: var(--color-text-interactive-disabled-1bqmrl, #b4b4bb);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.awsui_external-
|
|
282
|
+
.awsui_external-icon_93a1u_1y8h6_280:not(#\9) {
|
|
283
283
|
margin-inline-start: var(--space-xxs-hwfkai, 4px);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.awsui_content-
|
|
286
|
+
.awsui_content-wrapper_93a1u_1y8h6_284:not(#\9) {
|
|
287
287
|
flex: 1;
|
|
288
288
|
display: flex;
|
|
289
289
|
flex-direction: column;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
.awsui_main-
|
|
292
|
+
.awsui_main-row_93a1u_1y8h6_290:not(#\9) {
|
|
293
293
|
display: flex;
|
|
294
294
|
justify-content: space-between;
|
|
295
295
|
align-items: center;
|
|
296
296
|
gap: var(--space-s-tvghoh, 12px);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.awsui_label-
|
|
299
|
+
.awsui_label-tag_93a1u_1y8h6_297:not(#\9) {
|
|
300
300
|
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
301
301
|
}
|
|
302
|
-
.awsui_label-
|
|
302
|
+
.awsui_label-tag_93a1u_1y8h6_297.awsui_disabled_93a1u_1y8h6_162:not(#\9) {
|
|
303
303
|
color: var(--color-text-interactive-disabled-1bqmrl, #b4b4bb);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.awsui_secondary-
|
|
306
|
+
.awsui_secondary-text_93a1u_1y8h6_304:not(#\9) {
|
|
307
307
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
308
308
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
309
309
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
310
310
|
color: var(--color-text-dropdown-item-secondary-v12lfh, #656871);
|
|
311
311
|
}
|
|
312
|
-
.awsui_secondary-
|
|
312
|
+
.awsui_secondary-text_93a1u_1y8h6_304.awsui_highlighted_93a1u_1y8h6_172:not(#\9) {
|
|
313
313
|
color: var(--color-text-dropdown-item-highlighted-yr1px8, #0f141a);
|
|
314
314
|
}
|
|
315
|
-
.awsui_secondary-
|
|
315
|
+
.awsui_secondary-text_93a1u_1y8h6_304.awsui_disabled_93a1u_1y8h6_162:not(#\9) {
|
|
316
316
|
color: var(--color-text-interactive-disabled-1bqmrl, #b4b4bb);
|
|
317
317
|
}
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"item-element": "awsui_item-
|
|
6
|
-
"no-content-styling": "awsui_no-content-
|
|
7
|
-
"disabled": "
|
|
8
|
-
"show-divider": "awsui_show-
|
|
9
|
-
"highlighted": "
|
|
10
|
-
"is-focused": "awsui_is-
|
|
11
|
-
"visual-refresh": "awsui_visual-
|
|
12
|
-
"menu-item": "awsui_menu-
|
|
13
|
-
"link-style": "awsui_link-
|
|
14
|
-
"current-breadcrumb": "awsui_current-
|
|
15
|
-
"link-style-highlighted": "awsui_link-style-
|
|
16
|
-
"has-category-header": "awsui_has-category-
|
|
17
|
-
"item-tooltip-wrapper": "awsui_item-tooltip-
|
|
18
|
-
"has-checkmark": "awsui_has-
|
|
19
|
-
"icon": "
|
|
20
|
-
"checkmark": "
|
|
21
|
-
"external-icon": "awsui_external-
|
|
22
|
-
"content-wrapper": "awsui_content-
|
|
23
|
-
"main-row": "awsui_main-
|
|
24
|
-
"label-tag": "awsui_label-
|
|
25
|
-
"secondary-text": "awsui_secondary-
|
|
5
|
+
"item-element": "awsui_item-element_93a1u_1y8h6_145",
|
|
6
|
+
"no-content-styling": "awsui_no-content-styling_93a1u_1y8h6_157",
|
|
7
|
+
"disabled": "awsui_disabled_93a1u_1y8h6_162",
|
|
8
|
+
"show-divider": "awsui_show-divider_93a1u_1y8h6_169",
|
|
9
|
+
"highlighted": "awsui_highlighted_93a1u_1y8h6_172",
|
|
10
|
+
"is-focused": "awsui_is-focused_93a1u_1y8h6_187",
|
|
11
|
+
"visual-refresh": "awsui_visual-refresh_93a1u_1y8h6_190",
|
|
12
|
+
"menu-item": "awsui_menu-item_93a1u_1y8h6_194",
|
|
13
|
+
"link-style": "awsui_link-style_93a1u_1y8h6_211",
|
|
14
|
+
"current-breadcrumb": "awsui_current-breadcrumb_93a1u_1y8h6_248",
|
|
15
|
+
"link-style-highlighted": "awsui_link-style-highlighted_93a1u_1y8h6_256",
|
|
16
|
+
"has-category-header": "awsui_has-category-header_93a1u_1y8h6_262",
|
|
17
|
+
"item-tooltip-wrapper": "awsui_item-tooltip-wrapper_93a1u_1y8h6_262",
|
|
18
|
+
"has-checkmark": "awsui_has-checkmark_93a1u_1y8h6_262",
|
|
19
|
+
"icon": "awsui_icon_93a1u_1y8h6_269",
|
|
20
|
+
"checkmark": "awsui_checkmark_93a1u_1y8h6_273",
|
|
21
|
+
"external-icon": "awsui_external-icon_93a1u_1y8h6_280",
|
|
22
|
+
"content-wrapper": "awsui_content-wrapper_93a1u_1y8h6_284",
|
|
23
|
+
"main-row": "awsui_main-row_93a1u_1y8h6_290",
|
|
24
|
+
"label-tag": "awsui_label-tag_93a1u_1y8h6_297",
|
|
25
|
+
"secondary-text": "awsui_secondary-text_93a1u_1y8h6_304"
|
|
26
26
|
};
|
|
27
27
|
|
package/checkbox/styles.css.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"checkbox-control": "awsui_checkbox-
|
|
6
|
-
"outline": "
|
|
4
|
+
"root": "awsui_root_k2y2q_wekwr_145",
|
|
5
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_wekwr_178",
|
|
6
|
+
"outline": "awsui_outline_k2y2q_wekwr_186"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
145
|
+
.awsui_root_k2y2q_wekwr_145.awsui_root_k2y2q_wekwr_145:not(#\9) {
|
|
146
146
|
border-collapse: separate;
|
|
147
147
|
border-spacing: 0;
|
|
148
148
|
box-sizing: border-box;
|
|
@@ -175,7 +175,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
175
175
|
display: flex;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
.awsui_checkbox-
|
|
178
|
+
.awsui_checkbox-control_k2y2q_wekwr_178:not(#\9) {
|
|
179
179
|
margin-block-start: calc((var(--line-height-body-m-2mh3ke, 20px) - var(--size-control-adm93y, 16px)) / 2);
|
|
180
180
|
min-block-size: var(--size-control-adm93y, 16px);
|
|
181
181
|
min-inline-size: var(--size-control-adm93y, 16px);
|
|
@@ -183,15 +183,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
183
183
|
inline-size: var(--size-control-adm93y, 16px);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.
|
|
187
|
-
--awsui-style-focus-ring-box-shadow-
|
|
186
|
+
.awsui_outline_k2y2q_wekwr_186:not(#\9) {
|
|
187
|
+
--awsui-style-focus-ring-box-shadow-jsjyte: 0 0 0 var(--awsui-style-focus-ring-border-width-jsjyte, 2px) var(--awsui-style-focus-ring-border-color-jsjyte, var(--color-border-item-focused-uk47pl, #006ce0));
|
|
188
188
|
position: relative;
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
.awsui_outline_k2y2q_wekwr_186:not(#\9) {
|
|
191
191
|
outline: 2px dotted transparent;
|
|
192
192
|
outline-offset: calc(2px - 1px);
|
|
193
193
|
}
|
|
194
|
-
.
|
|
194
|
+
.awsui_outline_k2y2q_wekwr_186:not(#\9)::before {
|
|
195
195
|
content: " ";
|
|
196
196
|
display: block;
|
|
197
197
|
position: absolute;
|
|
@@ -199,9 +199,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
199
199
|
inset-block-start: calc(-1 * 2px);
|
|
200
200
|
inline-size: calc(100% + 2px + 2px);
|
|
201
201
|
block-size: calc(100% + 2px + 2px);
|
|
202
|
-
border-start-start-radius: var(--awsui-style-focus-ring-border-radius-
|
|
203
|
-
border-start-end-radius: var(--awsui-style-focus-ring-border-radius-
|
|
204
|
-
border-end-start-radius: var(--awsui-style-focus-ring-border-radius-
|
|
205
|
-
border-end-end-radius: var(--awsui-style-focus-ring-border-radius-
|
|
206
|
-
box-shadow: var(--awsui-style-focus-ring-box-shadow-
|
|
202
|
+
border-start-start-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-default-focus-ring-1uabki, 4px));
|
|
203
|
+
border-start-end-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-default-focus-ring-1uabki, 4px));
|
|
204
|
+
border-end-start-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-default-focus-ring-1uabki, 4px));
|
|
205
|
+
border-end-end-radius: var(--awsui-style-focus-ring-border-radius-jsjyte, var(--border-radius-control-default-focus-ring-1uabki, 4px));
|
|
206
|
+
box-shadow: var(--awsui-style-focus-ring-box-shadow-jsjyte);
|
|
207
207
|
}
|
|
@@ -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
|
-
"root": "
|
|
6
|
-
"checkbox-control": "awsui_checkbox-
|
|
7
|
-
"outline": "
|
|
5
|
+
"root": "awsui_root_k2y2q_wekwr_145",
|
|
6
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_wekwr_178",
|
|
7
|
+
"outline": "awsui_outline_k2y2q_wekwr_186"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAU3D,UAAU,6BAA8B,SAAQ,0BAA0B,CAAC,wBAAwB;IACjG,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxF,KAAK,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACtE;AAED,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAGG,EACH,QAAQ,EACR,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,qBAA6B,EAC7B,WAAW,GACZ,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAU3D,UAAU,6BAA8B,SAAQ,0BAA0B,CAAC,wBAAwB;IACjG,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxF,KAAK,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACtE;AAED,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAGG,EACH,QAAQ,EACR,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,qBAA6B,EAC7B,WAAW,GACZ,EAAE,6BAA6B,eAgI/B"}
|
|
@@ -34,7 +34,7 @@ export default function ContentDisplayPreference({ title, description, options,
|
|
|
34
34
|
// are not in the value yet, so they're added as non-visible after the known ones.
|
|
35
35
|
onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));
|
|
36
36
|
};
|
|
37
|
-
return (React.createElement("div", { className: styles[componentPrefix], ...getAnalyticsInnerContextAttribute('contentDisplay') },
|
|
37
|
+
return (React.createElement("div", { role: "group", "aria-labelledby": titleId, "aria-describedby": descriptionId, className: styles[componentPrefix], ...getAnalyticsInnerContextAttribute('contentDisplay') },
|
|
38
38
|
React.createElement("h3", { className: getClassName('title'), id: titleId }, i18n('contentDisplayPreference.title', title)),
|
|
39
39
|
React.createElement("p", { className: getClassName('description'), id: descriptionId }, i18n('contentDisplayPreference.description', description)),
|
|
40
40
|
enableColumnFiltering && (React.createElement("div", { className: getClassName('text-filter') },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,cAAc,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,gEAAgE,CAAC;AACxE,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAChE,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAEhF,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAwB,MAAM,SAAS,CAAC;AAErF,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,MAAM,eAAe,GAAG,iBAAiB,CAAC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AK,CAAC,CAAC;YAClB,CAAC,EACD,eAAe,EAAE,aAAa,EAC9B,cAAc,EAAE,OAAO,EACvB,WAAW,EAAE;gBACX,0BAA0B,EAAE,IAAI,CAC9B,qDAAqD,EACrD,0BAA0B,EAC1B,gBAAgB,CACjB;gBACD,gCAAgC,EAAE,IAAI,CACpC,2DAA2D,EAC3D,gCAAgC,EAChC,sBAAsB,CACvB;gBACD,gCAAgC,EAAE,IAAI,CACpC,2DAA2D,EAC3D,gCAAgC,EAChC,sBAAsB,CACvB;gBACD,4BAA4B,EAAE,IAAI,CAChC,uDAAuD,EACvD,4BAA4B,CAC7B;gBACD,mBAAmB,EAAE,IAAI,CAAC,8CAA8C,EAAE,mBAAmB,CAAC;gBAC9F,yBAAyB,EAAE,IAAI,CAC7B,oDAAoD,EACpD,yBAAyB,CAC1B;aACF,GACD,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useState } from 'react';\n\nimport { useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalBox from '../../box/internal';\nimport InternalButton from '../../button/internal';\nimport { useInternalI18n } from '../../i18n/context';\nimport {\n formatDndItemCommitted,\n formatDndItemReordered,\n formatDndStarted,\n} from '../../internal/components/sortable-area/use-live-announcements';\nimport InternalList from '../../list/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { getAnalyticsInnerContextAttribute } from '../analytics-metadata/utils';\nimport { CollectionPreferencesProps } from '../interfaces';\nimport ContentDisplayOption from './content-display-option';\nimport { getFilteredOptions, getSortedOptions, OptionWithVisibility } from './utils';\n\nimport styles from '../styles.css.js';\n\nconst componentPrefix = 'content-display';\n\nconst getClassName = (suffix: string) => styles[`${componentPrefix}-${suffix}`];\n\ninterface ContentDisplayPreferenceProps extends CollectionPreferencesProps.ContentDisplayPreference {\n onChange: (value: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>) => void;\n value?: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>;\n}\n\nexport default function ContentDisplayPreference({\n title,\n description,\n options,\n value = options.map(({ id }) => ({\n id,\n visible: true,\n })),\n onChange,\n liveAnnouncementDndStarted,\n liveAnnouncementDndItemReordered,\n liveAnnouncementDndItemCommitted,\n liveAnnouncementDndDiscarded,\n dragHandleAriaDescription,\n dragHandleAriaLabel,\n enableColumnFiltering = false,\n i18nStrings,\n}: ContentDisplayPreferenceProps) {\n const idPrefix = useUniqueId(componentPrefix);\n const i18n = useInternalI18n('collection-preferences');\n const [columnFilteringText, setColumnFilteringText] = useState('');\n\n const titleId = `${idPrefix}-title`;\n const descriptionId = `${idPrefix}-description`;\n\n const [sortedOptions, sortedAndFilteredOptions] = useMemo(() => {\n const sorted = getSortedOptions({ options, contentDisplay: value });\n const filtered = getFilteredOptions(sorted, columnFilteringText);\n return [sorted, filtered];\n }, [columnFilteringText, options, value]);\n\n const onToggle = (option: OptionWithVisibility) => {\n // We use sortedOptions as base and not value because there might be options that\n // are not in the value yet, so they're added as non-visible after the known ones.\n onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));\n };\n\n return (\n <div className={styles[componentPrefix]} {...getAnalyticsInnerContextAttribute('contentDisplay')}>\n <h3 className={getClassName('title')} id={titleId}>\n {i18n('contentDisplayPreference.title', title)}\n </h3>\n <p className={getClassName('description')} id={descriptionId}>\n {i18n('contentDisplayPreference.description', description)}\n </p>\n\n {/* Filter input */}\n {enableColumnFiltering && (\n <div className={getClassName('text-filter')}>\n <InternalTextFilter\n filteringText={columnFilteringText}\n filteringPlaceholder={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringPlaceholder',\n i18nStrings?.columnFilteringPlaceholder\n )}\n filteringAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringAriaLabel',\n i18nStrings?.columnFilteringAriaLabel\n )}\n filteringClearAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n onChange={({ detail }) => setColumnFilteringText(detail.filteringText)}\n countText={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringCountText',\n i18nStrings?.columnFilteringCountText\n ? i18nStrings?.columnFilteringCountText(sortedAndFilteredOptions.length)\n : undefined,\n format => format({ count: sortedAndFilteredOptions.length })\n )}\n />\n </div>\n )}\n\n {/* No match */}\n {sortedAndFilteredOptions.length === 0 && (\n <div className={getClassName('no-match')}>\n <InternalSpaceBetween size=\"s\" alignItems=\"center\">\n <InternalBox margin={{ top: 'm' }}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringNoMatchText',\n i18nStrings?.columnFilteringNoMatchText\n )}\n </InternalBox>\n <InternalButton onClick={() => setColumnFilteringText('')}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n </InternalButton>\n </InternalSpaceBetween>\n </div>\n )}\n\n <InternalList\n items={sortedAndFilteredOptions}\n renderItem={item => ({\n id: item.id,\n content: <ContentDisplayOption option={item} onToggle={onToggle} />,\n announcementLabel: item.label,\n })}\n disableItemPaddings={true}\n sortable={true}\n sortDisabled={columnFilteringText.trim().length > 0}\n onSortingChange={({ detail: { items } }) => {\n onChange(items);\n }}\n ariaDescribedby={descriptionId}\n ariaLabelledby={titleId}\n i18nStrings={{\n liveAnnouncementDndStarted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndStarted',\n liveAnnouncementDndStarted,\n formatDndStarted\n ),\n liveAnnouncementDndItemReordered: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemReordered',\n liveAnnouncementDndItemReordered,\n formatDndItemReordered\n ),\n liveAnnouncementDndItemCommitted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemCommitted',\n liveAnnouncementDndItemCommitted,\n formatDndItemCommitted\n ),\n liveAnnouncementDndDiscarded: i18n(\n 'contentDisplayPreference.liveAnnouncementDndDiscarded',\n liveAnnouncementDndDiscarded\n ),\n dragHandleAriaLabel: i18n('contentDisplayPreference.dragHandleAriaLabel', dragHandleAriaLabel),\n dragHandleAriaDescription: i18n(\n 'contentDisplayPreference.dragHandleAriaDescription',\n dragHandleAriaDescription\n ),\n }}\n />\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,cAAc,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,gEAAgE,CAAC;AACxE,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAChE,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAEhF,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAwB,MAAM,SAAS,CAAC;AAErF,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAM,YAAY,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,eAAe,IAAI,MAAM,EAAE,CAAC,CAAC;AAOhF,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW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AAqD,EACrD,0BAA0B,EAC1B,gBAAgB,CACjB;gBACD,gCAAgC,EAAE,IAAI,CACpC,2DAA2D,EAC3D,gCAAgC,EAChC,sBAAsB,CACvB;gBACD,gCAAgC,EAAE,IAAI,CACpC,2DAA2D,EAC3D,gCAAgC,EAChC,sBAAsB,CACvB;gBACD,4BAA4B,EAAE,IAAI,CAChC,uDAAuD,EACvD,4BAA4B,CAC7B;gBACD,mBAAmB,EAAE,IAAI,CAAC,8CAA8C,EAAE,mBAAmB,CAAC;gBAC9F,yBAAyB,EAAE,IAAI,CAC7B,oDAAoD,EACpD,yBAAyB,CAC1B;aACF,GACD,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useState } from 'react';\n\nimport { useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalBox from '../../box/internal';\nimport InternalButton from '../../button/internal';\nimport { useInternalI18n } from '../../i18n/context';\nimport {\n formatDndItemCommitted,\n formatDndItemReordered,\n formatDndStarted,\n} from '../../internal/components/sortable-area/use-live-announcements';\nimport InternalList from '../../list/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { getAnalyticsInnerContextAttribute } from '../analytics-metadata/utils';\nimport { CollectionPreferencesProps } from '../interfaces';\nimport ContentDisplayOption from './content-display-option';\nimport { getFilteredOptions, getSortedOptions, OptionWithVisibility } from './utils';\n\nimport styles from '../styles.css.js';\n\nconst componentPrefix = 'content-display';\n\nconst getClassName = (suffix: string) => styles[`${componentPrefix}-${suffix}`];\n\ninterface ContentDisplayPreferenceProps extends CollectionPreferencesProps.ContentDisplayPreference {\n onChange: (value: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>) => void;\n value?: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>;\n}\n\nexport default function ContentDisplayPreference({\n title,\n description,\n options,\n value = options.map(({ id }) => ({\n id,\n visible: true,\n })),\n onChange,\n liveAnnouncementDndStarted,\n liveAnnouncementDndItemReordered,\n liveAnnouncementDndItemCommitted,\n liveAnnouncementDndDiscarded,\n dragHandleAriaDescription,\n dragHandleAriaLabel,\n enableColumnFiltering = false,\n i18nStrings,\n}: ContentDisplayPreferenceProps) {\n const idPrefix = useUniqueId(componentPrefix);\n const i18n = useInternalI18n('collection-preferences');\n const [columnFilteringText, setColumnFilteringText] = useState('');\n\n const titleId = `${idPrefix}-title`;\n const descriptionId = `${idPrefix}-description`;\n\n const [sortedOptions, sortedAndFilteredOptions] = useMemo(() => {\n const sorted = getSortedOptions({ options, contentDisplay: value });\n const filtered = getFilteredOptions(sorted, columnFilteringText);\n return [sorted, filtered];\n }, [columnFilteringText, options, value]);\n\n const onToggle = (option: OptionWithVisibility) => {\n // We use sortedOptions as base and not value because there might be options that\n // are not in the value yet, so they're added as non-visible after the known ones.\n onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));\n };\n\n return (\n <div\n role=\"group\"\n aria-labelledby={titleId}\n aria-describedby={descriptionId}\n className={styles[componentPrefix]}\n {...getAnalyticsInnerContextAttribute('contentDisplay')}\n >\n <h3 className={getClassName('title')} id={titleId}>\n {i18n('contentDisplayPreference.title', title)}\n </h3>\n <p className={getClassName('description')} id={descriptionId}>\n {i18n('contentDisplayPreference.description', description)}\n </p>\n\n {/* Filter input */}\n {enableColumnFiltering && (\n <div className={getClassName('text-filter')}>\n <InternalTextFilter\n filteringText={columnFilteringText}\n filteringPlaceholder={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringPlaceholder',\n i18nStrings?.columnFilteringPlaceholder\n )}\n filteringAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringAriaLabel',\n i18nStrings?.columnFilteringAriaLabel\n )}\n filteringClearAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n onChange={({ detail }) => setColumnFilteringText(detail.filteringText)}\n countText={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringCountText',\n i18nStrings?.columnFilteringCountText\n ? i18nStrings?.columnFilteringCountText(sortedAndFilteredOptions.length)\n : undefined,\n format => format({ count: sortedAndFilteredOptions.length })\n )}\n />\n </div>\n )}\n\n {/* No match */}\n {sortedAndFilteredOptions.length === 0 && (\n <div className={getClassName('no-match')}>\n <InternalSpaceBetween size=\"s\" alignItems=\"center\">\n <InternalBox margin={{ top: 'm' }}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringNoMatchText',\n i18nStrings?.columnFilteringNoMatchText\n )}\n </InternalBox>\n <InternalButton onClick={() => setColumnFilteringText('')}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n </InternalButton>\n </InternalSpaceBetween>\n </div>\n )}\n\n <InternalList\n items={sortedAndFilteredOptions}\n renderItem={item => ({\n id: item.id,\n content: <ContentDisplayOption option={item} onToggle={onToggle} />,\n announcementLabel: item.label,\n })}\n disableItemPaddings={true}\n sortable={true}\n sortDisabled={columnFilteringText.trim().length > 0}\n onSortingChange={({ detail: { items } }) => {\n onChange(items);\n }}\n ariaDescribedby={descriptionId}\n ariaLabelledby={titleId}\n i18nStrings={{\n liveAnnouncementDndStarted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndStarted',\n liveAnnouncementDndStarted,\n formatDndStarted\n ),\n liveAnnouncementDndItemReordered: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemReordered',\n liveAnnouncementDndItemReordered,\n formatDndItemReordered\n ),\n liveAnnouncementDndItemCommitted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemCommitted',\n liveAnnouncementDndItemCommitted,\n formatDndItemCommitted\n ),\n liveAnnouncementDndDiscarded: i18n(\n 'contentDisplayPreference.liveAnnouncementDndDiscarded',\n liveAnnouncementDndDiscarded\n ),\n dragHandleAriaLabel: i18n('contentDisplayPreference.dragHandleAriaLabel', dragHandleAriaLabel),\n dragHandleAriaDescription: i18n(\n 'contentDisplayPreference.dragHandleAriaDescription',\n dragHandleAriaDescription\n ),\n }}\n />\n </div>\n );\n}\n"]}
|
|
@@ -57,7 +57,6 @@ export interface ContainerProps extends BaseComponentProps {
|
|
|
57
57
|
footer?: React.ReactNode;
|
|
58
58
|
/**
|
|
59
59
|
* Determines whether the container footer has padding. If `true`, removes the default padding from the footer.
|
|
60
|
-
* @awsuiSystem core
|
|
61
60
|
*/
|
|
62
61
|
disableFooterPaddings?: boolean;
|
|
63
62
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAErD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,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AAC;YACpB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,OAAO,CAAC,EAAE;YACR,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,MAAM,CAAC,EAAE;YACP,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,MAAM,CAAC,EAAE;YACP,IAAI,EAAE;gBACJ,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,aAAa,CAAC,EAAE,MAAM,CAAC;aACxB,CAAC;YACF,OAAO,EAAE;gBACP,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACH,CAAC;KACH;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: ContainerProps.AnalyticsMetadata;\n\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n *\n * Use this slot to render a media element. Supported element types are 'img', 'video', and 'picture'.\n * You can define different positions and sizes for the media element within the container.\n *\n * * `content` - Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n *\n * * `position` - Defines the media slot's position within the container. Defaults to `top`.\n *\n * * `width` - Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it.\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n *\n * * `height` - Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it. * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n *\n */\n media?: ContainerProps.Media;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Enabling this property will make the container to fit into available height. If content is too short, the container\n * will stretch, if too long, the container will shrink and show vertical scrollbar.\n *\n * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch\n * all containers to the height of the longest one, to avoid extra vertical scroll areas.\n */\n fitHeight?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Determines whether the container footer has padding. If `true`, removes the default padding from the footer.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: ContainerProps.AnalyticsMetadata;\n\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n *\n * Use this slot to render a media element. Supported element types are 'img', 'video', and 'picture'.\n * You can define different positions and sizes for the media element within the container.\n *\n * * `content` - Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n *\n * * `position` - Defines the media slot's position within the container. Defaults to `top`.\n *\n * * `width` - Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it.\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n *\n * * `height` - Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it. * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n *\n */\n media?: ContainerProps.Media;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Enabling this property will make the container to fit into available height. If content is too short, the container\n * will stretch, if too long, the container will shrink and show vertical scrollbar.\n *\n * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch\n * all containers to the height of the longest one, to avoid extra vertical scroll areas.\n */\n fitHeight?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Determines whether the container footer has padding. If `true`, removes the default padding from the footer.\n */\n disableFooterPaddings?: boolean;\n\n /**\n * Specify a container variant with one of the following:\n * * `default` - Use this variant in standalone context.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * @visualrefresh `stacked` variant\n */\n variant?: 'default' | 'stacked';\n\n /**\n * An object containing CSS properties to customize the container's visual appearance.\n * Refer to the [style](/components/container/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: ContainerProps.Style;\n}\n\nexport namespace ContainerProps {\n export interface AnalyticsMetadata {\n instanceIdentifier?: string;\n }\n export interface Media {\n /**\n * Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n */\n content: React.ReactNode;\n\n /**\n * Defines the media slot's position within the container. Defaults to `top`.\n */\n position?: 'top' | 'side';\n\n /**\n * Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.\n *\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n */\n width?: string | number;\n\n /**\n * Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.\n *\n * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n */\n height?: string | number;\n }\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n };\n content?: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n header?: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n footer?: {\n root: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n divider: {\n borderColor?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"layout": "
|
|
5
|
-
"background": "
|
|
6
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
7
|
-
"header-background": "awsui_header-
|
|
8
|
-
"notifications": "
|
|
9
|
-
"breadcrumbs": "
|
|
10
|
-
"default-padding": "awsui_default-
|
|
11
|
-
"header-wrapper": "awsui_header-
|
|
12
|
-
"with-divider": "awsui_with-
|
|
13
|
-
"content": "
|
|
14
|
-
"has-header": "awsui_has-
|
|
15
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
16
|
-
"has-default-background": "awsui_has-default-
|
|
17
|
-
"has-notifications": "awsui_has-
|
|
4
|
+
"layout": "awsui_layout_5gtk3_1chi6_145",
|
|
5
|
+
"background": "awsui_background_5gtk3_1chi6_159",
|
|
6
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_5gtk3_1chi6_164",
|
|
7
|
+
"header-background": "awsui_header-background_5gtk3_1chi6_167",
|
|
8
|
+
"notifications": "awsui_notifications_5gtk3_1chi6_171",
|
|
9
|
+
"breadcrumbs": "awsui_breadcrumbs_5gtk3_1chi6_176",
|
|
10
|
+
"default-padding": "awsui_default-padding_5gtk3_1chi6_181",
|
|
11
|
+
"header-wrapper": "awsui_header-wrapper_5gtk3_1chi6_185",
|
|
12
|
+
"with-divider": "awsui_with-divider_5gtk3_1chi6_190",
|
|
13
|
+
"content": "awsui_content_5gtk3_1chi6_193",
|
|
14
|
+
"has-header": "awsui_has-header_5gtk3_1chi6_197",
|
|
15
|
+
"is-visual-refresh": "awsui_is-visual-refresh_5gtk3_1chi6_204",
|
|
16
|
+
"has-default-background": "awsui_has-default-background_5gtk3_1chi6_204",
|
|
17
|
+
"has-notifications": "awsui_has-notifications_5gtk3_1chi6_208"
|
|
18
18
|
};
|
|
19
19
|
|