@cloudscape-design/components 3.0.1307 → 3.0.1309
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/app-layout/visual-refresh-toolbar/drawer/global-ai-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-ai-drawer.js +4 -2
- package/app-layout/visual-refresh-toolbar/drawer/global-ai-drawer.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js +4 -2
- package/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.js +3 -2
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +2 -2
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/interfaces.d.ts +1 -0
- package/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +12 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +29 -16
- package/badge/styles.selectors.js +10 -10
- package/collection-preferences/content-display/content-display-option.js +1 -1
- package/collection-preferences/content-display/content-display-option.js.map +1 -1
- package/collection-preferences/content-display/index.d.ts +3 -7
- package/collection-preferences/content-display/index.d.ts.map +1 -1
- package/collection-preferences/content-display/index.js +63 -27
- package/collection-preferences/content-display/index.js.map +1 -1
- package/collection-preferences/content-display/utils.d.ts +41 -2
- package/collection-preferences/content-display/utils.d.ts.map +1 -1
- package/collection-preferences/content-display/utils.js +107 -13
- package/collection-preferences/content-display/utils.js.map +1 -1
- package/collection-preferences/index.d.ts.map +1 -1
- package/collection-preferences/index.js +2 -2
- package/collection-preferences/index.js.map +1 -1
- package/collection-preferences/interfaces.d.ts +30 -2
- package/collection-preferences/interfaces.d.ts.map +1 -1
- package/collection-preferences/interfaces.js.map +1 -1
- package/collection-preferences/styles.css.js +38 -36
- package/collection-preferences/styles.scoped.css +81 -37
- package/collection-preferences/styles.selectors.js +38 -36
- package/collection-preferences/utils.d.ts +1 -0
- package/collection-preferences/utils.d.ts.map +1 -1
- package/collection-preferences/utils.js +14 -0
- package/collection-preferences/utils.js.map +1 -1
- package/expandable-section/styles.css.js +35 -35
- package/expandable-section/styles.scoped.css +68 -68
- package/expandable-section/styles.selectors.js +35 -35
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages-types.d.ts +4 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +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.js +2 -2
- package/icon/internal.js.map +1 -1
- package/icon/styles.css.js +41 -39
- package/icon/styles.scoped.css +104 -85
- package/icon/styles.selectors.js +41 -39
- package/internal/base-component/styles.scoped.css +35 -3
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +23 -1
- package/internal/generated/styles/tokens.js +23 -1
- package/internal/generated/theming/index.cjs +476 -4
- package/internal/generated/theming/index.cjs.d.ts +216 -0
- package/internal/generated/theming/index.d.ts +216 -0
- package/internal/generated/theming/index.js +476 -4
- package/internal/hooks/use-width-change/index.d.ts +12 -0
- package/internal/hooks/use-width-change/index.d.ts.map +1 -0
- package/internal/hooks/use-width-change/index.js +33 -0
- package/internal/hooks/use-width-change/index.js.map +1 -0
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +4 -1
- package/pagination/internal.js.map +1 -1
- package/prompt-input/internal.d.ts.map +1 -1
- package/prompt-input/internal.js +9 -2
- package/prompt-input/internal.js.map +1 -1
- package/prompt-input/tokens/use-token-mode.d.ts.map +1 -1
- package/prompt-input/tokens/use-token-mode.js +0 -9
- package/prompt-input/tokens/use-token-mode.js.map +1 -1
- package/table/column-groups/col-group.d.ts +12 -0
- package/table/column-groups/col-group.d.ts.map +1 -0
- package/table/column-groups/col-group.js +24 -0
- package/table/column-groups/col-group.js.map +1 -0
- package/table/column-groups/split-utils.d.ts +31 -0
- package/table/column-groups/split-utils.d.ts.map +1 -0
- package/table/column-groups/split-utils.js +43 -0
- package/table/column-groups/split-utils.js.map +1 -0
- package/table/column-groups/use-column-groups.d.ts +7 -0
- package/table/column-groups/use-column-groups.d.ts.map +1 -0
- package/table/column-groups/use-column-groups.js +23 -0
- package/table/column-groups/use-column-groups.js.map +1 -0
- package/table/column-groups/utils.d.ts +54 -0
- package/table/column-groups/utils.d.ts.map +1 -0
- package/table/column-groups/utils.js +204 -0
- package/table/column-groups/utils.js.map +1 -0
- package/table/header-cell/common-props.d.ts +23 -0
- package/table/header-cell/common-props.d.ts.map +1 -0
- package/table/header-cell/common-props.js +4 -0
- package/table/header-cell/common-props.js.map +1 -0
- package/table/header-cell/group-header-cell.d.ts +45 -0
- package/table/header-cell/group-header-cell.d.ts.map +1 -0
- package/table/header-cell/group-header-cell.js +44 -0
- package/table/header-cell/group-header-cell.js.map +1 -0
- package/table/header-cell/index.d.ts +12 -22
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +3 -3
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +33 -30
- package/table/header-cell/styles.scoped.css +92 -68
- package/table/header-cell/styles.selectors.js +33 -30
- package/table/header-cell/th-element.d.ts +16 -0
- package/table/header-cell/th-element.d.ts.map +1 -1
- package/table/header-cell/th-element.js +6 -4
- package/table/header-cell/th-element.js.map +1 -1
- package/table/index.d.ts.map +1 -1
- package/table/index.js +5 -2
- package/table/index.js.map +1 -1
- package/table/interfaces.d.ts +37 -1
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +17 -5
- package/table/internal.js.map +1 -1
- package/table/resizer/index.d.ts +9 -2
- package/table/resizer/index.d.ts.map +1 -1
- package/table/resizer/index.js +5 -5
- package/table/resizer/index.js.map +1 -1
- package/table/resizer/styles.css.js +16 -13
- package/table/resizer/styles.scoped.css +36 -26
- package/table/resizer/styles.selectors.js +16 -13
- package/table/sticky-header.d.ts +3 -0
- package/table/sticky-header.d.ts.map +1 -1
- package/table/sticky-header.js +7 -2
- package/table/sticky-header.js.map +1 -1
- package/table/sticky-scrolling.d.ts.map +1 -1
- package/table/sticky-scrolling.js +6 -1
- package/table/sticky-scrolling.js.map +1 -1
- package/table/styles.css.js +35 -34
- package/table/styles.scoped.css +47 -41
- package/table/styles.selectors.js +35 -34
- package/table/table-role/grid-navigation.d.ts.map +1 -1
- package/table/table-role/grid-navigation.js +5 -7
- package/table/table-role/grid-navigation.js.map +1 -1
- package/table/table-role/table-role-helper.d.ts +3 -0
- package/table/table-role/table-role-helper.d.ts.map +1 -1
- package/table/table-role/table-role-helper.js +9 -4
- package/table/table-role/table-role-helper.js.map +1 -1
- package/table/table-role/utils.d.ts +19 -0
- package/table/table-role/utils.d.ts.map +1 -1
- package/table/table-role/utils.js +86 -7
- package/table/table-role/utils.js.map +1 -1
- package/table/thead.d.ts +5 -0
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +145 -18
- package/table/thead.js.map +1 -1
- package/table/use-column-widths.d.ts +4 -0
- package/table/use-column-widths.d.ts.map +1 -1
- package/table/use-column-widths.js +68 -18
- package/table/use-column-widths.js.map +1 -1
- package/table/use-sticky-header.d.ts.map +1 -1
- package/table/use-sticky-header.js +4 -1
- package/table/use-sticky-header.js.map +1 -1
- package/table/utils.d.ts.map +1 -1
- package/table/utils.js +14 -4
- package/table/utils.js.map +1 -1
- package/test-utils/dom/collection-preferences/content-display-preference.d.ts +28 -2
- package/test-utils/dom/collection-preferences/content-display-preference.js +60 -2
- package/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -1
- package/test-utils/dom/table/index.d.ts +18 -1
- package/test-utils/dom/table/index.js +22 -3
- package/test-utils/dom/table/index.js.map +1 -1
- package/test-utils/selectors/collection-preferences/content-display-preference.d.ts +28 -2
- package/test-utils/selectors/collection-preferences/content-display-preference.js +52 -2
- package/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -1
- package/test-utils/selectors/table/index.d.ts +18 -1
- package/test-utils/selectors/table/index.js +22 -3
- package/test-utils/selectors/table/index.js.map +1 -1
- package/wizard/wizard-step-list.js +4 -4
- package/wizard/wizard-step-list.js.map +1 -1
|
@@ -1,41 +1,43 @@
|
|
|
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-label": "awsui_content-display-option-
|
|
15
|
-
"content-display": "awsui_content-
|
|
16
|
-
"content-display
|
|
17
|
-
"content-display-
|
|
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
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"sticky-columns
|
|
38
|
-
"sticky-columns-
|
|
39
|
-
"sticky-columns-
|
|
4
|
+
"visible-content": "awsui_visible-content_tc96w_d8g1a_153",
|
|
5
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_d8g1a_154",
|
|
6
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_d8g1a_155",
|
|
7
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_d8g1a_155",
|
|
8
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_d8g1a_160",
|
|
9
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_d8g1a_170",
|
|
10
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_d8g1a_176",
|
|
11
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_d8g1a_189",
|
|
12
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_d8g1a_212",
|
|
13
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_d8g1a_216",
|
|
14
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_d8g1a_256",
|
|
15
|
+
"content-display-group-header": "awsui_content-display-group-header_tc96w_d8g1a_263",
|
|
16
|
+
"content-display": "awsui_content-display_tc96w_d8g1a_212",
|
|
17
|
+
"content-display-text-filter": "awsui_content-display-text-filter_tc96w_d8g1a_304",
|
|
18
|
+
"content-display-no-match": "awsui_content-display-no-match_tc96w_d8g1a_305",
|
|
19
|
+
"content-display-title": "awsui_content-display-title_tc96w_d8g1a_309",
|
|
20
|
+
"content-display-description": "awsui_content-display-description_tc96w_d8g1a_318",
|
|
21
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_d8g1a_326",
|
|
22
|
+
"content-display-group-children": "awsui_content-display-group-children_tc96w_d8g1a_333",
|
|
23
|
+
"root": "awsui_root_tc96w_d8g1a_337",
|
|
24
|
+
"modal-root": "awsui_modal-root_tc96w_d8g1a_338",
|
|
25
|
+
"trigger-button": "awsui_trigger-button_tc96w_d8g1a_339",
|
|
26
|
+
"cancel-button": "awsui_cancel-button_tc96w_d8g1a_340",
|
|
27
|
+
"confirm-button": "awsui_confirm-button_tc96w_d8g1a_341",
|
|
28
|
+
"custom": "awsui_custom_tc96w_d8g1a_342",
|
|
29
|
+
"content-before": "awsui_content-before_tc96w_d8g1a_343",
|
|
30
|
+
"second-column-small": "awsui_second-column-small_tc96w_d8g1a_347",
|
|
31
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_d8g1a_351",
|
|
32
|
+
"striped-rows": "awsui_striped-rows_tc96w_d8g1a_352",
|
|
33
|
+
"content-density": "awsui_content-density_tc96w_d8g1a_353",
|
|
34
|
+
"page-size": "awsui_page-size_tc96w_d8g1a_354",
|
|
35
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_d8g1a_355",
|
|
36
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_d8g1a_356",
|
|
37
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_d8g1a_357",
|
|
38
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_d8g1a_358",
|
|
39
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_d8g1a_359",
|
|
40
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_d8g1a_360",
|
|
41
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_d8g1a_361"
|
|
40
42
|
};
|
|
41
43
|
|
|
@@ -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_d8g1a_153:not(#\9),
|
|
154
|
+
.awsui_visible-content-toggle_tc96w_d8g1a_154:not(#\9),
|
|
155
|
+
.awsui_visible-content-groups_tc96w_d8g1a_155:not(#\9),
|
|
156
|
+
.awsui_visible-content-group_tc96w_d8g1a_155:not(#\9) {
|
|
157
157
|
/* used in test-utils */
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.awsui_visible-content-
|
|
160
|
+
.awsui_visible-content-title_tc96w_d8g1a_160:not(#\9) {
|
|
161
161
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
162
162
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
163
163
|
font-weight: var(--font-display-label-weight-zavpeo, 700);
|
|
@@ -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_d8g1a_170:not(#\9) {
|
|
171
171
|
color: var(--color-text-group-label-a2qc05, #424650);
|
|
172
172
|
padding-block-end: var(--space-xs-ymlm0b, 8px);
|
|
173
173
|
border-block-end: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.awsui_visible-content-
|
|
176
|
+
.awsui_visible-content-option_tc96w_d8g1a_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-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
184
184
|
}
|
|
185
|
-
.awsui_visible-content-
|
|
185
|
+
.awsui_visible-content-option_tc96w_d8g1a_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_d8g1a_189:not(#\9) {
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
text-overflow: ellipsis;
|
|
192
192
|
padding-inline-end: var(--space-l-2ud1p3, 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_d8g1a_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_d8g1a_216:not(#\9) {
|
|
217
217
|
border-collapse: separate;
|
|
218
218
|
border-spacing: 0;
|
|
219
219
|
box-sizing: border-box;
|
|
@@ -253,20 +253,60 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
253
253
|
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.awsui_content-display-option-
|
|
256
|
+
.awsui_content-display-option-label_tc96w_d8g1a_256:not(#\9) {
|
|
257
257
|
flex-grow: 1;
|
|
258
258
|
min-inline-size: 0;
|
|
259
259
|
word-break: break-word;
|
|
260
260
|
padding-inline-end: var(--space-l-2ud1p3, 20px);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.awsui_content-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
.awsui_content-display-group-header_tc96w_d8g1a_263:not(#\9) {
|
|
264
|
+
border-collapse: separate;
|
|
265
|
+
border-spacing: 0;
|
|
266
|
+
box-sizing: border-box;
|
|
267
|
+
caption-side: top;
|
|
268
|
+
cursor: auto;
|
|
269
|
+
direction: inherit;
|
|
270
|
+
empty-cells: show;
|
|
271
|
+
font-family: serif;
|
|
272
|
+
font-style: normal;
|
|
273
|
+
font-variant: normal;
|
|
274
|
+
font-stretch: normal;
|
|
275
|
+
hyphens: none;
|
|
276
|
+
letter-spacing: normal;
|
|
277
|
+
list-style: disc outside none;
|
|
278
|
+
tab-size: 8;
|
|
279
|
+
text-align: start;
|
|
280
|
+
text-indent: 0;
|
|
281
|
+
text-shadow: none;
|
|
282
|
+
text-transform: none;
|
|
283
|
+
visibility: visible;
|
|
284
|
+
white-space: normal;
|
|
285
|
+
word-spacing: normal;
|
|
286
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
287
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
288
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
289
|
+
font-weight: var(--font-weight-normal-cxw1m3, 400);
|
|
290
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
291
|
+
-webkit-font-smoothing: auto;
|
|
292
|
+
-moz-osx-font-smoothing: auto;
|
|
293
|
+
display: flex;
|
|
294
|
+
align-items: flex-start;
|
|
295
|
+
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
296
|
+
padding-inline-end: var(--space-xs-ymlm0b, 8px);
|
|
297
|
+
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
298
|
+
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
299
|
+
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
300
|
+
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.awsui_content-display_tc96w_d8g1a_212:not(#\9),
|
|
304
|
+
.awsui_content-display-text-filter_tc96w_d8g1a_304:not(#\9),
|
|
305
|
+
.awsui_content-display-no-match_tc96w_d8g1a_305:not(#\9) {
|
|
266
306
|
/* used in test-utils */
|
|
267
307
|
}
|
|
268
308
|
|
|
269
|
-
.awsui_content-display-
|
|
309
|
+
.awsui_content-display-title_tc96w_d8g1a_309:not(#\9) {
|
|
270
310
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
271
311
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
272
312
|
font-weight: var(--font-display-label-weight-zavpeo, 700);
|
|
@@ -275,7 +315,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
275
315
|
margin-inline: 0;
|
|
276
316
|
}
|
|
277
317
|
|
|
278
|
-
.awsui_content-display-
|
|
318
|
+
.awsui_content-display-description_tc96w_d8g1a_318:not(#\9) {
|
|
279
319
|
color: var(--color-text-form-secondary-1nm780, #656871);
|
|
280
320
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
281
321
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
@@ -283,37 +323,41 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
283
323
|
margin-block-start: var(--space-scaled-xxxs-oo06c7, 2px);
|
|
284
324
|
}
|
|
285
325
|
|
|
286
|
-
.awsui_content-display-option-
|
|
326
|
+
.awsui_content-display-option-list_tc96w_d8g1a_326:not(#\9) {
|
|
287
327
|
position: relative;
|
|
288
328
|
list-style: none;
|
|
289
329
|
padding-block: 0;
|
|
290
330
|
padding-inline: 0;
|
|
291
331
|
}
|
|
292
332
|
|
|
293
|
-
.
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
.
|
|
298
|
-
.
|
|
299
|
-
.
|
|
333
|
+
.awsui_content-display-group-children_tc96w_d8g1a_333:not(#\9) {
|
|
334
|
+
padding-inline-start: calc(28px - var(--size-icon-normal-levt08, 16px) - 2 * var(--space-scaled-xxxs-oo06c7, 2px));
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.awsui_root_tc96w_d8g1a_337:not(#\9),
|
|
338
|
+
.awsui_modal-root_tc96w_d8g1a_338:not(#\9),
|
|
339
|
+
.awsui_trigger-button_tc96w_d8g1a_339:not(#\9),
|
|
340
|
+
.awsui_cancel-button_tc96w_d8g1a_340:not(#\9),
|
|
341
|
+
.awsui_confirm-button_tc96w_d8g1a_341:not(#\9),
|
|
342
|
+
.awsui_custom_tc96w_d8g1a_342:not(#\9),
|
|
343
|
+
.awsui_content-before_tc96w_d8g1a_343:not(#\9) {
|
|
300
344
|
/* used in test-utils */
|
|
301
345
|
}
|
|
302
346
|
|
|
303
|
-
.awsui_second-column-
|
|
347
|
+
.awsui_second-column-small_tc96w_d8g1a_347:not(#\9) {
|
|
304
348
|
padding-block-start: calc(2 * var(--space-scaled-l-sej05l, 20px));
|
|
305
349
|
}
|
|
306
350
|
|
|
307
|
-
.awsui_wrap-
|
|
308
|
-
.awsui_striped-
|
|
309
|
-
.awsui_content-
|
|
310
|
-
.awsui_page-
|
|
311
|
-
.awsui_page-size-form-
|
|
312
|
-
.awsui_page-size-radio-
|
|
313
|
-
.awsui_sticky-
|
|
314
|
-
.awsui_sticky-columns-form-
|
|
315
|
-
.awsui_sticky-columns-radio-
|
|
316
|
-
.awsui_sticky-columns-
|
|
317
|
-
.awsui_sticky-columns-
|
|
351
|
+
.awsui_wrap-lines_tc96w_d8g1a_351:not(#\9),
|
|
352
|
+
.awsui_striped-rows_tc96w_d8g1a_352:not(#\9),
|
|
353
|
+
.awsui_content-density_tc96w_d8g1a_353:not(#\9),
|
|
354
|
+
.awsui_page-size_tc96w_d8g1a_354:not(#\9),
|
|
355
|
+
.awsui_page-size-form-field_tc96w_d8g1a_355:not(#\9),
|
|
356
|
+
.awsui_page-size-radio-group_tc96w_d8g1a_356:not(#\9),
|
|
357
|
+
.awsui_sticky-columns_tc96w_d8g1a_357:not(#\9),
|
|
358
|
+
.awsui_sticky-columns-form-field_tc96w_d8g1a_358:not(#\9),
|
|
359
|
+
.awsui_sticky-columns-radio-group_tc96w_d8g1a_359:not(#\9),
|
|
360
|
+
.awsui_sticky-columns-first_tc96w_d8g1a_360:not(#\9),
|
|
361
|
+
.awsui_sticky-columns-last_tc96w_d8g1a_361:not(#\9) {
|
|
318
362
|
/* used in test-utils */
|
|
319
363
|
}
|
|
@@ -2,41 +2,43 @@
|
|
|
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-label": "awsui_content-display-option-
|
|
16
|
-
"content-display": "awsui_content-
|
|
17
|
-
"content-display
|
|
18
|
-
"content-display-
|
|
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
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"sticky-columns
|
|
39
|
-
"sticky-columns-
|
|
40
|
-
"sticky-columns-
|
|
5
|
+
"visible-content": "awsui_visible-content_tc96w_d8g1a_153",
|
|
6
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_d8g1a_154",
|
|
7
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_d8g1a_155",
|
|
8
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_d8g1a_155",
|
|
9
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_d8g1a_160",
|
|
10
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_d8g1a_170",
|
|
11
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_d8g1a_176",
|
|
12
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_d8g1a_189",
|
|
13
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_d8g1a_212",
|
|
14
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_d8g1a_216",
|
|
15
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_d8g1a_256",
|
|
16
|
+
"content-display-group-header": "awsui_content-display-group-header_tc96w_d8g1a_263",
|
|
17
|
+
"content-display": "awsui_content-display_tc96w_d8g1a_212",
|
|
18
|
+
"content-display-text-filter": "awsui_content-display-text-filter_tc96w_d8g1a_304",
|
|
19
|
+
"content-display-no-match": "awsui_content-display-no-match_tc96w_d8g1a_305",
|
|
20
|
+
"content-display-title": "awsui_content-display-title_tc96w_d8g1a_309",
|
|
21
|
+
"content-display-description": "awsui_content-display-description_tc96w_d8g1a_318",
|
|
22
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_d8g1a_326",
|
|
23
|
+
"content-display-group-children": "awsui_content-display-group-children_tc96w_d8g1a_333",
|
|
24
|
+
"root": "awsui_root_tc96w_d8g1a_337",
|
|
25
|
+
"modal-root": "awsui_modal-root_tc96w_d8g1a_338",
|
|
26
|
+
"trigger-button": "awsui_trigger-button_tc96w_d8g1a_339",
|
|
27
|
+
"cancel-button": "awsui_cancel-button_tc96w_d8g1a_340",
|
|
28
|
+
"confirm-button": "awsui_confirm-button_tc96w_d8g1a_341",
|
|
29
|
+
"custom": "awsui_custom_tc96w_d8g1a_342",
|
|
30
|
+
"content-before": "awsui_content-before_tc96w_d8g1a_343",
|
|
31
|
+
"second-column-small": "awsui_second-column-small_tc96w_d8g1a_347",
|
|
32
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_d8g1a_351",
|
|
33
|
+
"striped-rows": "awsui_striped-rows_tc96w_d8g1a_352",
|
|
34
|
+
"content-density": "awsui_content-density_tc96w_d8g1a_353",
|
|
35
|
+
"page-size": "awsui_page-size_tc96w_d8g1a_354",
|
|
36
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_d8g1a_355",
|
|
37
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_d8g1a_356",
|
|
38
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_d8g1a_357",
|
|
39
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_d8g1a_358",
|
|
40
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_d8g1a_359",
|
|
41
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_d8g1a_360",
|
|
42
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_d8g1a_361"
|
|
41
43
|
};
|
|
42
44
|
|
|
@@ -75,6 +75,7 @@ export declare const StickyColumnsPreference: ({
|
|
|
75
75
|
onChange,
|
|
76
76
|
value
|
|
77
77
|
}: StickyColumnsPreferenceProps) => JSX.Element;
|
|
78
|
+
export declare const collectVisibleIds: (items: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>, ancestorVisible: boolean) => string[];
|
|
78
79
|
interface CustomPreferenceProps<T = any> extends Pick<CollectionPreferencesProps<T>, 'customPreference'> {
|
|
79
80
|
onChange: (value: T) => void;
|
|
80
81
|
value: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/collection-preferences/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAI1D,eAAO,MAAM,eAAe,GAAI,8GAS7B,0BAA0B,CAAC,WAAW,KAAG,0BAA0B,CAAC,WASrE,CAAC;AAIH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,0BAA0B,CAAC,WAAW,EAC/C,SAAS,0BAA0B,CAAC,WAAW,KAC9C,0BAA0B,CAAC,WAkB7B,CAAC;AAEF,UAAU,uBAAuB;IAC/B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,GAAI,iBAAiB,uBAAuB,gBAa1E,CAAC;AAEF,UAAU,uBAAwB,SAAQ,0BAA0B,CAAC,kBAAkB;IACrF,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,kBAAkB,GAAI,qCAAqC,uBAAuB,gBAkB9F,CAAC;AAEF,UAAU,wBAAyB,SAAQ,0BAA0B,CAAC,mBAAmB;IACvF,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,GAAI,yCAAyC,wBAAwB,gBAcpG,CAAC;AAEF,UAAU,0BAA2B,SAAQ,0BAA0B,CAAC,qBAAqB;IAC3F,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,I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aAAa,GAAG,SAAS,CAAC;CACnC;AAED,eAAO,MAAM,wBAAwB,GAAI,yCAAyC,6BAA6B,gBAc9G,CAAC;AAEF,UAAU,4BAA6B,SAAQ,0BAA0B,CAAC,uBAAuB;IAC/F,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C;AA+BD,eAAO,MAAM,uBAAuB,GAAI,iDAKrC,4BAA4B,gBAqB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,OAAO,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,EACnE,iBAAiB,OAAO,KACvB,MAAM,EAYR,CAAC;AAEF,UAAU,qBAAqB,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC;IACtG,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,KAAK,EAAE,CAAC,CAAC;CACV;AACD,eAAO,MAAM,gBAAgB,GAAI,uCAAuC,qBAAqB,uBAc5F,CAAC"}
|
|
@@ -81,6 +81,20 @@ export const StickyColumnsPreference = ({ firstColumns, lastColumns, onChange, v
|
|
|
81
81
|
firstColumns && (React.createElement(StickyPreference, { firstOrLast: "first", preference: firstColumns, value: value === null || value === void 0 ? void 0 : value.first, onChange: newValue => onChange({ ...value, first: newValue }) })),
|
|
82
82
|
lastColumns && (React.createElement(StickyPreference, { firstOrLast: "last", preference: lastColumns, value: value === null || value === void 0 ? void 0 : value.last, onChange: newValue => onChange({ ...value, last: newValue }) }))));
|
|
83
83
|
};
|
|
84
|
+
export const collectVisibleIds = (items, ancestorVisible) => {
|
|
85
|
+
const result = [];
|
|
86
|
+
for (const item of items) {
|
|
87
|
+
if (item.type === 'group') {
|
|
88
|
+
if (ancestorVisible && item.visible) {
|
|
89
|
+
result.push(...collectVisibleIds(item.children, true));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
else if (ancestorVisible && item.visible) {
|
|
93
|
+
result.push(item.id);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return result;
|
|
97
|
+
};
|
|
84
98
|
export const CustomPreference = ({ value, customPreference, onChange }) => {
|
|
85
99
|
const [customState, setCustomState] = useState(value);
|
|
86
100
|
if (customPreference) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/collection-preferences/utils.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAG/E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,MAAM,GACiC,EAA0C,EAAE,CAAC,CAAC;IACrF,QAAQ;IACR,SAAS;IACT,WAAW;IACX,cAA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AAI,EAAC,GAAG;QAChE,YAAY,IAAI,CACf,oBAAC,gBAAgB,IACf,WAAW,EAAC,OAAO,EACnB,UAAU,EAAE,YAAY,EACxB,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EACnB,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAC7D,CACH;QACA,WAAW,IAAI,CACd,oBAAC,gBAAgB,IACf,WAAW,EAAC,MAAM,EAClB,UAAU,EAAE,WAAW,EACvB,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAClB,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,GAC5D,CACH,CACoB,CACxB,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAyB,EAAE,EAAE;IAC/F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,KAAM,iCAAiC,CAAC,QAAQ,CAAC,IAC3E,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE;YACrC,uDAAuD;YACvD,cAAc,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;YAC5B,QAAQ,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC,CAAC,CACE,CACP,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useState } from 'react';\nimport clsx from 'clsx';\n\nimport InternalCheckbox from '../checkbox/internal';\nimport InternalColumnLayout from '../column-layout/internal';\nimport InternalFormField from '../form-field/internal';\nimport { useInternalI18n } from '../i18n/context';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport InternalRadioGroup from '../radio-group/internal';\nimport InternalSpaceBetween from '../space-between/internal';\nimport { getAnalyticsInnerContextAttribute } from './analytics-metadata/utils';\nimport { CollectionPreferencesProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport const copyPreferences = ({\n pageSize,\n wrapLines,\n stripedRows,\n contentDensity,\n visibleContent,\n contentDisplay,\n stickyColumns,\n custom,\n}: CollectionPreferencesProps.Preferences): CollectionPreferencesProps.Preferences => ({\n pageSize,\n wrapLines,\n stripedRows,\n contentDensity,\n visibleContent,\n contentDisplay,\n stickyColumns,\n custom,\n});\n\ntype CopyPreferenceName = keyof CollectionPreferencesProps.Preferences;\n\nexport const mergePreferences = (\n newPref: CollectionPreferencesProps.Preferences,\n oldPref: CollectionPreferencesProps.Preferences\n): CollectionPreferencesProps.Preferences => {\n const newObj = { ...oldPref };\n const prefNames: CopyPreferenceName[] = [\n 'pageSize',\n 'wrapLines',\n 'stripedRows',\n 'contentDensity',\n 'visibleContent',\n 'custom',\n 'contentDisplay',\n 'stickyColumns',\n ];\n for (const prefName of prefNames) {\n if (newPref[prefName] !== undefined) {\n newObj[prefName] = newPref[prefName];\n }\n }\n return newObj;\n};\n\ninterface ModalContentLayoutProps {\n left: React.ReactNode;\n right: React.ReactNode;\n}\n\nexport const ModalContentLayout = ({ left, right }: ModalContentLayoutProps) => {\n const [breakpoint, ref] = useContainerBreakpoints(['xs']);\n const smallContainer = breakpoint === 'default';\n\n const columns = left && right ? 2 : 1;\n return (\n <div ref={ref}>\n <InternalColumnLayout columns={smallContainer ? 1 : columns} variant=\"text-grid\">\n {left && <div>{left}</div>}\n {right && <div className={clsx(left && smallContainer && styles['second-column-small'])}>{right}</div>}\n </InternalColumnLayout>\n </div>\n );\n};\n\ninterface PageSizePreferenceProps extends CollectionPreferencesProps.PageSizePreference {\n onChange: (value: number) => void;\n value?: number;\n}\n\nexport const PageSizePreference = ({ title, options, value, onChange }: PageSizePreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div className={styles['page-size']} {...getAnalyticsInnerContextAttribute('pageSize')}>\n <InternalFormField\n label={i18n('pageSizePreference.title', title)}\n stretch={true}\n className={styles['page-size-form-field']}\n >\n <InternalRadioGroup\n className={styles['page-size-radio-group']}\n value={`${value}`}\n items={options.map(({ label, value }) => ({ label, value: `${value}` }))}\n onChange={({ detail }) => onChange(parseInt(detail.value, 10))}\n />\n </InternalFormField>\n </div>\n );\n};\n\ninterface WrapLinesPreferenceProps extends CollectionPreferencesProps.WrapLinesPreference {\n onChange: (value: boolean) => void;\n value?: boolean;\n}\n\nexport const WrapLinesPreference = ({ label, description, value, onChange }: WrapLinesPreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('wrapLines')}>\n <InternalCheckbox\n checked={!!value}\n description={i18n('wrapLinesPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked)}\n className={styles['wrap-lines']}\n >\n {i18n('wrapLinesPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n};\n\ninterface StripedRowsPreferenceProps extends CollectionPreferencesProps.StripedRowsPreference {\n onChange: (value: boolean) => void;\n value?: boolean;\n}\n\nexport function StripedRowsPreference({ label, description, value, onChange }: StripedRowsPreferenceProps) {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('stripedRows')}>\n <InternalCheckbox\n checked={!!value}\n description={i18n('stripedRowsPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked)}\n className={styles['striped-rows']}\n >\n {i18n('stripedRowsPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n}\n\ninterface ContentDensityPreferenceProps extends CollectionPreferencesProps.ContentDensityPreference {\n onChange: (value: 'comfortable' | 'compact') => void;\n value?: 'comfortable' | 'compact';\n}\n\nexport const ContentDensityPreference = ({ label, description, value, onChange }: ContentDensityPreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('contentDensity')}>\n <InternalCheckbox\n checked={value === 'compact'}\n description={i18n('contentDensityPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked ? 'compact' : 'comfortable')}\n className={styles['content-density']}\n >\n {i18n('contentDensityPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n};\n\ninterface StickyColumnsPreferenceProps extends CollectionPreferencesProps.StickyColumnsPreference {\n onChange: (value?: { first?: number; last?: number }) => void;\n value?: { first?: number; last?: number };\n}\ninterface StickyPreference extends CollectionPreferencesProps.StickyColumnsPreference {\n onChange: (value: number) => void;\n preference: {\n title: string;\n description: string;\n options: ReadonlyArray<{\n label: string;\n value: number;\n }>;\n };\n value?: number;\n firstOrLast: 'first' | 'last';\n}\n\nconst StickyPreference = ({ firstOrLast, preference, value, onChange }: StickyPreference) => {\n const { title, description, options } = preference;\n return (\n <div className={styles[`sticky-columns-${firstOrLast}`]} {...getAnalyticsInnerContextAttribute('stickyColumns')}>\n <InternalFormField className={styles['sticky-columns-form-field']} label={title} description={description}>\n <InternalRadioGroup\n className={styles['sticky-columns-radio-group']}\n value={typeof value !== 'undefined' ? `${value}` : null}\n items={options.map(({ label, value }) => ({ label, value: `${value}` }))}\n onChange={({ detail }) => onChange(Number(detail.value))}\n />\n </InternalFormField>\n </div>\n );\n};\n\nexport const StickyColumnsPreference = ({\n firstColumns,\n lastColumns,\n onChange,\n value,\n}: StickyColumnsPreferenceProps) => {\n return (\n <InternalSpaceBetween className={styles['sticky-columns']} size=\"l\">\n {firstColumns && (\n <StickyPreference\n firstOrLast=\"first\"\n preference={firstColumns}\n value={value?.first}\n onChange={newValue => onChange({ ...value, first: newValue })}\n />\n )}\n {lastColumns && (\n <StickyPreference\n firstOrLast=\"last\"\n preference={lastColumns}\n value={value?.last}\n onChange={newValue => onChange({ ...value, last: newValue })}\n />\n )}\n </InternalSpaceBetween>\n );\n};\n\ninterface CustomPreferenceProps<T = any> extends Pick<CollectionPreferencesProps<T>, 'customPreference'> {\n onChange: (value: T) => void;\n value: T;\n}\nexport const CustomPreference = ({ value, customPreference, onChange }: CustomPreferenceProps) => {\n const [customState, setCustomState] = useState(value);\n if (customPreference) {\n return (\n <div className={styles.custom} {...getAnalyticsInnerContextAttribute('custom')}>\n {customPreference(customState, value => {\n // prevent value to be treated as a functional callback\n setCustomState(() => value);\n onChange(value);\n })}\n </div>\n );\n }\n return null;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/collection-preferences/utils.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAG/E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,MAAM,GACiC,EAA0C,EAAE,CAAC,CAAC;IACrF,QAAQ;IACR,SAAS;IACT,WAAW;IACX,cAAc;IACd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gB,EAAE,QAAQ,EAAyB,EAAE,EAAE;IAC/F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,KAAM,iCAAiC,CAAC,QAAQ,CAAC,IAC3E,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE;YACrC,uDAAuD;YACvD,cAAc,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;YAC5B,QAAQ,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC,CAAC,CACE,CACP,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useState } from 'react';\nimport clsx from 'clsx';\n\nimport InternalCheckbox from '../checkbox/internal';\nimport InternalColumnLayout from '../column-layout/internal';\nimport InternalFormField from '../form-field/internal';\nimport { useInternalI18n } from '../i18n/context';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport InternalRadioGroup from '../radio-group/internal';\nimport InternalSpaceBetween from '../space-between/internal';\nimport { getAnalyticsInnerContextAttribute } from './analytics-metadata/utils';\nimport { CollectionPreferencesProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport const copyPreferences = ({\n pageSize,\n wrapLines,\n stripedRows,\n contentDensity,\n visibleContent,\n contentDisplay,\n stickyColumns,\n custom,\n}: CollectionPreferencesProps.Preferences): CollectionPreferencesProps.Preferences => ({\n pageSize,\n wrapLines,\n stripedRows,\n contentDensity,\n visibleContent,\n contentDisplay,\n stickyColumns,\n custom,\n});\n\ntype CopyPreferenceName = keyof CollectionPreferencesProps.Preferences;\n\nexport const mergePreferences = (\n newPref: CollectionPreferencesProps.Preferences,\n oldPref: CollectionPreferencesProps.Preferences\n): CollectionPreferencesProps.Preferences => {\n const newObj = { ...oldPref };\n const prefNames: CopyPreferenceName[] = [\n 'pageSize',\n 'wrapLines',\n 'stripedRows',\n 'contentDensity',\n 'visibleContent',\n 'custom',\n 'contentDisplay',\n 'stickyColumns',\n ];\n for (const prefName of prefNames) {\n if (newPref[prefName] !== undefined) {\n newObj[prefName] = newPref[prefName];\n }\n }\n return newObj;\n};\n\ninterface ModalContentLayoutProps {\n left: React.ReactNode;\n right: React.ReactNode;\n}\n\nexport const ModalContentLayout = ({ left, right }: ModalContentLayoutProps) => {\n const [breakpoint, ref] = useContainerBreakpoints(['xs']);\n const smallContainer = breakpoint === 'default';\n\n const columns = left && right ? 2 : 1;\n return (\n <div ref={ref}>\n <InternalColumnLayout columns={smallContainer ? 1 : columns} variant=\"text-grid\">\n {left && <div>{left}</div>}\n {right && <div className={clsx(left && smallContainer && styles['second-column-small'])}>{right}</div>}\n </InternalColumnLayout>\n </div>\n );\n};\n\ninterface PageSizePreferenceProps extends CollectionPreferencesProps.PageSizePreference {\n onChange: (value: number) => void;\n value?: number;\n}\n\nexport const PageSizePreference = ({ title, options, value, onChange }: PageSizePreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div className={styles['page-size']} {...getAnalyticsInnerContextAttribute('pageSize')}>\n <InternalFormField\n label={i18n('pageSizePreference.title', title)}\n stretch={true}\n className={styles['page-size-form-field']}\n >\n <InternalRadioGroup\n className={styles['page-size-radio-group']}\n value={`${value}`}\n items={options.map(({ label, value }) => ({ label, value: `${value}` }))}\n onChange={({ detail }) => onChange(parseInt(detail.value, 10))}\n />\n </InternalFormField>\n </div>\n );\n};\n\ninterface WrapLinesPreferenceProps extends CollectionPreferencesProps.WrapLinesPreference {\n onChange: (value: boolean) => void;\n value?: boolean;\n}\n\nexport const WrapLinesPreference = ({ label, description, value, onChange }: WrapLinesPreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('wrapLines')}>\n <InternalCheckbox\n checked={!!value}\n description={i18n('wrapLinesPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked)}\n className={styles['wrap-lines']}\n >\n {i18n('wrapLinesPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n};\n\ninterface StripedRowsPreferenceProps extends CollectionPreferencesProps.StripedRowsPreference {\n onChange: (value: boolean) => void;\n value?: boolean;\n}\n\nexport function StripedRowsPreference({ label, description, value, onChange }: StripedRowsPreferenceProps) {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('stripedRows')}>\n <InternalCheckbox\n checked={!!value}\n description={i18n('stripedRowsPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked)}\n className={styles['striped-rows']}\n >\n {i18n('stripedRowsPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n}\n\ninterface ContentDensityPreferenceProps extends CollectionPreferencesProps.ContentDensityPreference {\n onChange: (value: 'comfortable' | 'compact') => void;\n value?: 'comfortable' | 'compact';\n}\n\nexport const ContentDensityPreference = ({ label, description, value, onChange }: ContentDensityPreferenceProps) => {\n const i18n = useInternalI18n('collection-preferences');\n return (\n <div {...getAnalyticsInnerContextAttribute('contentDensity')}>\n <InternalCheckbox\n checked={value === 'compact'}\n description={i18n('contentDensityPreference.description', description)}\n onChange={({ detail }) => onChange(detail.checked ? 'compact' : 'comfortable')}\n className={styles['content-density']}\n >\n {i18n('contentDensityPreference.label', label)}\n </InternalCheckbox>\n </div>\n );\n};\n\ninterface StickyColumnsPreferenceProps extends CollectionPreferencesProps.StickyColumnsPreference {\n onChange: (value?: { first?: number; last?: number }) => void;\n value?: { first?: number; last?: number };\n}\ninterface StickyPreference extends CollectionPreferencesProps.StickyColumnsPreference {\n onChange: (value: number) => void;\n preference: {\n title: string;\n description: string;\n options: ReadonlyArray<{\n label: string;\n value: number;\n }>;\n };\n value?: number;\n firstOrLast: 'first' | 'last';\n}\n\nconst StickyPreference = ({ firstOrLast, preference, value, onChange }: StickyPreference) => {\n const { title, description, options } = preference;\n return (\n <div className={styles[`sticky-columns-${firstOrLast}`]} {...getAnalyticsInnerContextAttribute('stickyColumns')}>\n <InternalFormField className={styles['sticky-columns-form-field']} label={title} description={description}>\n <InternalRadioGroup\n className={styles['sticky-columns-radio-group']}\n value={typeof value !== 'undefined' ? `${value}` : null}\n items={options.map(({ label, value }) => ({ label, value: `${value}` }))}\n onChange={({ detail }) => onChange(Number(detail.value))}\n />\n </InternalFormField>\n </div>\n );\n};\n\nexport const StickyColumnsPreference = ({\n firstColumns,\n lastColumns,\n onChange,\n value,\n}: StickyColumnsPreferenceProps) => {\n return (\n <InternalSpaceBetween className={styles['sticky-columns']} size=\"l\">\n {firstColumns && (\n <StickyPreference\n firstOrLast=\"first\"\n preference={firstColumns}\n value={value?.first}\n onChange={newValue => onChange({ ...value, first: newValue })}\n />\n )}\n {lastColumns && (\n <StickyPreference\n firstOrLast=\"last\"\n preference={lastColumns}\n value={value?.last}\n onChange={newValue => onChange({ ...value, last: newValue })}\n />\n )}\n </InternalSpaceBetween>\n );\n};\n\nexport const collectVisibleIds = (\n items: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>,\n ancestorVisible: boolean\n): string[] => {\n const result: string[] = [];\n for (const item of items) {\n if (item.type === 'group') {\n if (ancestorVisible && item.visible) {\n result.push(...collectVisibleIds(item.children, true));\n }\n } else if (ancestorVisible && item.visible) {\n result.push(item.id);\n }\n }\n return result;\n};\n\ninterface CustomPreferenceProps<T = any> extends Pick<CollectionPreferencesProps<T>, 'customPreference'> {\n onChange: (value: T) => void;\n value: T;\n}\nexport const CustomPreference = ({ value, customPreference, onChange }: CustomPreferenceProps) => {\n const [customState, setCustomState] = useState(value);\n if (customPreference) {\n return (\n <div className={styles.custom} {...getAnalyticsInnerContextAttribute('custom')}>\n {customPreference(customState, value => {\n // prevent value to be treated as a functional callback\n setCustomState(() => value);\n onChange(value);\n })}\n </div>\n );\n }\n return null;\n};\n"]}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content-enter": "awsui_content-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"trigger-expanded": "awsui_trigger-
|
|
7
|
-
"icon": "
|
|
8
|
-
"root": "
|
|
9
|
-
"expand-button": "awsui_expand-
|
|
10
|
-
"expanded": "
|
|
11
|
-
"icon-container": "awsui_icon-
|
|
12
|
-
"icon-container-container": "awsui_icon-container-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"wrapper-default": "awsui_wrapper-
|
|
15
|
-
"wrapper-inline": "awsui_wrapper-
|
|
16
|
-
"wrapper-footer": "awsui_wrapper-
|
|
17
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
18
|
-
"wrapper-container": "awsui_wrapper-
|
|
19
|
-
"wrapper-compact": "awsui_wrapper-
|
|
20
|
-
"header-deprecated": "awsui_header-
|
|
21
|
-
"wrapper-expanded": "awsui_wrapper-
|
|
22
|
-
"wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-
|
|
23
|
-
"header": "
|
|
24
|
-
"header-wrapper": "awsui_header-
|
|
25
|
-
"header-actions-wrapper": "awsui_header-actions-
|
|
26
|
-
"header-button": "awsui_header-
|
|
27
|
-
"header-container-button": "awsui_header-container-
|
|
28
|
-
"header-container": "awsui_header-
|
|
29
|
-
"header-navigation": "awsui_header-
|
|
30
|
-
"header-text": "awsui_header-
|
|
31
|
-
"content": "
|
|
32
|
-
"content-default": "awsui_content-
|
|
33
|
-
"content-inline": "awsui_content-
|
|
34
|
-
"content-footer": "awsui_content-
|
|
35
|
-
"content-expanded": "awsui_content-
|
|
36
|
-
"content-compact": "awsui_content-
|
|
37
|
-
"focusable": "
|
|
38
|
-
"click-target": "awsui_click-
|
|
4
|
+
"content-enter": "awsui_content-enter_gwq0h_1sjri_161",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_1sjri_1",
|
|
6
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_1sjri_183",
|
|
7
|
+
"icon": "awsui_icon_gwq0h_1sjri_197",
|
|
8
|
+
"root": "awsui_root_gwq0h_1sjri_211",
|
|
9
|
+
"expand-button": "awsui_expand-button_gwq0h_1sjri_246",
|
|
10
|
+
"expanded": "awsui_expanded_gwq0h_1sjri_254",
|
|
11
|
+
"icon-container": "awsui_icon-container_gwq0h_1sjri_264",
|
|
12
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_1sjri_268",
|
|
13
|
+
"wrapper": "awsui_wrapper_gwq0h_1sjri_272",
|
|
14
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_1sjri_280",
|
|
15
|
+
"wrapper-inline": "awsui_wrapper-inline_gwq0h_1sjri_280",
|
|
16
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_1sjri_280",
|
|
17
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_1sjri_284",
|
|
18
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_1sjri_287",
|
|
19
|
+
"wrapper-compact": "awsui_wrapper-compact_gwq0h_1sjri_291",
|
|
20
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_1sjri_304",
|
|
21
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_1sjri_310",
|
|
22
|
+
"wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_1sjri_333",
|
|
23
|
+
"header": "awsui_header_gwq0h_1sjri_304",
|
|
24
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_1sjri_350",
|
|
25
|
+
"header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_1sjri_362",
|
|
26
|
+
"header-button": "awsui_header-button_gwq0h_1sjri_368",
|
|
27
|
+
"header-container-button": "awsui_header-container-button_gwq0h_1sjri_368",
|
|
28
|
+
"header-container": "awsui_header-container_gwq0h_1sjri_368",
|
|
29
|
+
"header-navigation": "awsui_header-navigation_gwq0h_1sjri_403",
|
|
30
|
+
"header-text": "awsui_header-text_gwq0h_1sjri_440",
|
|
31
|
+
"content": "awsui_content_gwq0h_1sjri_161",
|
|
32
|
+
"content-default": "awsui_content-default_gwq0h_1sjri_453",
|
|
33
|
+
"content-inline": "awsui_content-inline_gwq0h_1sjri_453",
|
|
34
|
+
"content-footer": "awsui_content-footer_gwq0h_1sjri_457",
|
|
35
|
+
"content-expanded": "awsui_content-expanded_gwq0h_1sjri_461",
|
|
36
|
+
"content-compact": "awsui_content-compact_gwq0h_1sjri_464",
|
|
37
|
+
"focusable": "awsui_focusable_gwq0h_1sjri_468",
|
|
38
|
+
"click-target": "awsui_click-target_gwq0h_1sjri_483"
|
|
39
39
|
};
|
|
40
40
|
|