@cloudscape-design/components 3.0.278 → 3.0.280
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/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +1 -1
- package/autosuggest/internal.js.map +1 -1
- package/autosuggest/options-list.d.ts +2 -1
- package/autosuggest/options-list.d.ts.map +1 -1
- package/autosuggest/options-list.js +2 -1
- package/autosuggest/options-list.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +1 -1
- package/button-dropdown/internal.js.map +1 -1
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +17 -18
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/index.d.ts +1 -1
- package/collection-preferences/index.d.ts.map +1 -1
- package/collection-preferences/index.js +6 -4
- package/collection-preferences/index.js.map +1 -1
- package/collection-preferences/interfaces.d.ts +42 -12
- package/collection-preferences/interfaces.d.ts.map +1 -1
- package/collection-preferences/interfaces.js.map +1 -1
- package/collection-preferences/styles.css.js +37 -32
- package/collection-preferences/styles.scoped.css +44 -40
- package/collection-preferences/styles.selectors.js +37 -32
- package/collection-preferences/utils.d.ts +12 -1
- package/collection-preferences/utils.d.ts.map +1 -1
- package/collection-preferences/utils.js +15 -1
- package/collection-preferences/utils.js.map +1 -1
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +48 -45
- package/date-range-picker/styles.selectors.js +38 -38
- package/internal/base-component/styles.scoped.css +8 -0
- package/internal/components/options-list/index.d.ts +2 -0
- package/internal/components/options-list/index.d.ts.map +1 -1
- package/internal/components/options-list/index.js +4 -5
- package/internal/components/options-list/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +1 -0
- package/multiselect/internal.js.map +1 -1
- package/package.json +1 -1
- package/property-filter/property-filter-autosuggest.d.ts.map +1 -1
- package/property-filter/property-filter-autosuggest.js +1 -1
- package/property-filter/property-filter-autosuggest.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +1 -0
- package/select/internal.js.map +1 -1
- package/select/utils/use-select.d.ts +3 -1
- package/select/utils/use-select.d.ts.map +1 -1
- package/select/utils/use-select.js +2 -1
- package/select/utils/use-select.js.map +1 -1
- package/table/body-cell/styles.css.js +28 -23
- package/table/body-cell/styles.scoped.css +111 -55
- package/table/body-cell/styles.selectors.js +28 -23
- package/table/body-cell/td-element.d.ts +3 -0
- package/table/body-cell/td-element.d.ts.map +1 -1
- package/table/body-cell/td-element.js +16 -2
- package/table/body-cell/td-element.js.map +1 -1
- package/table/header-cell/index.d.ts +4 -1
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +9 -2
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +24 -19
- package/table/header-cell/styles.scoped.css +67 -32
- package/table/header-cell/styles.selectors.js +24 -19
- package/table/interfaces.d.ts +14 -0
- 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 +19 -6
- package/table/internal.js.map +1 -1
- package/table/thead.d.ts +2 -0
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +12 -4
- package/table/thead.js.map +1 -1
- package/table/use-sticky-columns.d.ts.map +1 -1
- package/table/use-sticky-columns.js +5 -1
- package/table/use-sticky-columns.js.map +1 -1
- package/table/utils.d.ts +4 -0
- package/table/utils.d.ts.map +1 -1
- package/table/utils.js +8 -0
- package/table/utils.js.map +1 -1
- package/test-utils/dom/collection-preferences/index.d.ts +2 -0
- package/test-utils/dom/collection-preferences/index.js +6 -1
- package/test-utils/dom/collection-preferences/index.js.map +1 -1
- package/test-utils/dom/collection-preferences/sticky-columns-preference.d.ts +9 -0
- package/test-utils/dom/collection-preferences/sticky-columns-preference.js +23 -0
- package/test-utils/dom/collection-preferences/sticky-columns-preference.js.map +1 -0
- package/test-utils/selectors/collection-preferences/index.d.ts +2 -0
- package/test-utils/selectors/collection-preferences/index.js +6 -1
- package/test-utils/selectors/collection-preferences/index.js.map +1 -1
- package/test-utils/selectors/collection-preferences/sticky-columns-preference.d.ts +9 -0
- package/test-utils/selectors/collection-preferences/sticky-columns-preference.js +23 -0
- package/test-utils/selectors/collection-preferences/sticky-columns-preference.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -68,6 +68,18 @@ export interface CollectionPreferencesProps<CustomPreferenceType = any> extends
|
|
|
68
68
|
* You must set the current value in the `preferences.contentDensity` property.
|
|
69
69
|
*/
|
|
70
70
|
contentDensityPreference?: CollectionPreferencesProps.ContentDensityPreference;
|
|
71
|
+
/**
|
|
72
|
+
* Configures the sticky columns preference.
|
|
73
|
+
*
|
|
74
|
+
* You can set it for both left and right columns.
|
|
75
|
+
*
|
|
76
|
+
* It contains the following:
|
|
77
|
+
* - `label` (string) - Specifies the label for each radio group.
|
|
78
|
+
* - `description` (string) - Specifies the text displayed below each radio group label.
|
|
79
|
+
*
|
|
80
|
+
* You must set the current value in the `preferences.stickyColumns` property.
|
|
81
|
+
*/
|
|
82
|
+
stickyColumnsPreference?: CollectionPreferencesProps.StickyColumnsPreference;
|
|
71
83
|
/**
|
|
72
84
|
* Configures the built-in content display preference for order and visibility of columns in a table.
|
|
73
85
|
*
|
|
@@ -162,16 +174,17 @@ export interface CollectionPreferencesProps<CustomPreferenceType = any> extends
|
|
|
162
174
|
onConfirm?: NonCancelableEventHandler<CollectionPreferencesProps.Preferences<CustomPreferenceType>>;
|
|
163
175
|
}
|
|
164
176
|
export declare namespace CollectionPreferencesProps {
|
|
165
|
-
interface Preferences<CustomPreferenceType = any> {
|
|
177
|
+
export interface Preferences<CustomPreferenceType = any> {
|
|
166
178
|
pageSize?: number;
|
|
167
179
|
wrapLines?: boolean;
|
|
168
180
|
stripedRows?: boolean;
|
|
169
181
|
contentDensity?: 'comfortable' | 'compact';
|
|
170
182
|
visibleContent?: ReadonlyArray<string>;
|
|
183
|
+
stickyColumns?: StickyColumns;
|
|
171
184
|
contentDisplay?: ReadonlyArray<ContentDisplayItem>;
|
|
172
185
|
custom?: CustomPreferenceType;
|
|
173
186
|
}
|
|
174
|
-
interface ContentDisplayPreference {
|
|
187
|
+
export interface ContentDisplayPreference {
|
|
175
188
|
title: string;
|
|
176
189
|
description?: string;
|
|
177
190
|
options: ReadonlyArray<CollectionPreferencesProps.ContentDisplayOption>;
|
|
@@ -182,47 +195,64 @@ export declare namespace CollectionPreferencesProps {
|
|
|
182
195
|
dragHandleAriaLabel?: string;
|
|
183
196
|
dragHandleAriaDescription?: string;
|
|
184
197
|
}
|
|
185
|
-
interface ContentDisplayOption {
|
|
198
|
+
export interface ContentDisplayOption {
|
|
186
199
|
id: string;
|
|
187
200
|
label: string;
|
|
188
201
|
alwaysVisible?: boolean;
|
|
189
202
|
}
|
|
190
|
-
interface ContentDisplayItem {
|
|
203
|
+
export interface ContentDisplayItem {
|
|
191
204
|
id: string;
|
|
192
205
|
visible: boolean;
|
|
193
206
|
}
|
|
194
|
-
interface VisibleContentPreference {
|
|
207
|
+
export interface VisibleContentPreference {
|
|
195
208
|
title: string;
|
|
196
209
|
options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOptionsGroup>;
|
|
197
210
|
}
|
|
198
|
-
interface VisibleContentOptionsGroup {
|
|
211
|
+
export interface VisibleContentOptionsGroup {
|
|
199
212
|
label: string;
|
|
200
213
|
options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOption>;
|
|
201
214
|
}
|
|
202
|
-
interface VisibleContentOption {
|
|
215
|
+
export interface VisibleContentOption {
|
|
203
216
|
id: string;
|
|
204
217
|
label: string;
|
|
205
218
|
editable?: boolean;
|
|
206
219
|
}
|
|
207
|
-
interface PageSizePreference {
|
|
220
|
+
export interface PageSizePreference {
|
|
208
221
|
title: string;
|
|
209
222
|
options: ReadonlyArray<PageSizeOption>;
|
|
210
223
|
}
|
|
211
|
-
interface PageSizeOption {
|
|
224
|
+
export interface PageSizeOption {
|
|
212
225
|
value: number;
|
|
213
226
|
label: string;
|
|
214
227
|
}
|
|
215
|
-
interface WrapLinesPreference {
|
|
228
|
+
export interface WrapLinesPreference {
|
|
216
229
|
label: string;
|
|
217
230
|
description: string;
|
|
218
231
|
}
|
|
219
|
-
interface StripedRowsPreference {
|
|
232
|
+
export interface StripedRowsPreference {
|
|
220
233
|
label: string;
|
|
221
234
|
description: string;
|
|
222
235
|
}
|
|
223
|
-
interface ContentDensityPreference {
|
|
236
|
+
export interface ContentDensityPreference {
|
|
224
237
|
label: string;
|
|
225
238
|
description: string;
|
|
226
239
|
}
|
|
240
|
+
interface StickyColumns {
|
|
241
|
+
first?: number;
|
|
242
|
+
last?: number;
|
|
243
|
+
}
|
|
244
|
+
interface StickyColumnPreference {
|
|
245
|
+
title: string;
|
|
246
|
+
description: string;
|
|
247
|
+
options: ReadonlyArray<{
|
|
248
|
+
label: string;
|
|
249
|
+
value: number;
|
|
250
|
+
}>;
|
|
251
|
+
}
|
|
252
|
+
export interface StickyColumnsPreference {
|
|
253
|
+
firstColumns?: StickyColumnPreference;
|
|
254
|
+
lastColumns?: StickyColumnPreference;
|
|
255
|
+
}
|
|
256
|
+
export {};
|
|
227
257
|
}
|
|
228
258
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["collection-preferences/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,MAAM,WAAW,0BAA0B,CAAC,oBAAoB,GAAG,GAAG,CAAE,SAAQ,kBAAkB;IAChG;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,MAAM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B;QACtC,YAAY,CAAC,EAAE,sBAAsB,CAAC;QACtC,WAAW,CAAC,EAAE,sBAAsB,CAAC;KACtC;;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["collection-preferences/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface CollectionPreferencesProps<CustomPreferenceType = any> extends BaseComponentProps {\n /**\n * Specifies the title of the preferences modal dialog. It is also used as an `aria-label` for the trigger button.\n */\n title: string;\n /**\n * Label of the confirm button in the modal footer.\n */\n confirmLabel: string;\n /**\n * Label of the cancel button in the modal footer.\n */\n cancelLabel: string;\n /**\n * Determines whether the preferences trigger button is disabled.\n */\n disabled?: boolean;\n /**\n * Configures the built-in \"page size selection\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `options` - Specifies an array of options for page size selection. Each entry contains:\n * - `value` (number) - The value for the radio button (that is, the number of items per page).\n * - `label` (string) - A label for the radio button (for example, \"10 resources\").\n *\n * You must set the current value in the `preferences.pageSize` property.\n */\n pageSizePreference?: CollectionPreferencesProps.PageSizePreference;\n /**\n * Configures the built-in \"wrap lines\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.wrapLines` property.\n */\n wrapLinesPreference?: CollectionPreferencesProps.WrapLinesPreference;\n /**\n * Configures the built-in \"striped rows\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.stripedRows` property.\n */\n stripedRowsPreference?: CollectionPreferencesProps.StripedRowsPreference;\n /**\n * Configures the content density preference (Comfortable / Compact).\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.contentDensity` property.\n */\n contentDensityPreference?: CollectionPreferencesProps.ContentDensityPreference;\n /**\n * Configures the built-in content display preference for order and visibility of columns in a table.\n *\n * Once set, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `description` (string) - Specifies the description displayed below the title.\n * - `liveAnnouncementDndStarted` ((position: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an option is picked.\n * - `liveAnnouncementDndDiscarded` (string) - (Optional) Adds a message to be announced by screen readers when a reordering action is canceled.\n * - `liveAnnouncementDndItemReordered` ((initialPosition: number, currentPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an item is being moved.\n * - `liveAnnouncementDndItemCommitted` ((initialPosition: number, finalPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when a reordering action is committed.\n * - `dragHandleAriaDescription` (string) - (Optional) Adds an ARIA description for the drag handle.\n * - `dragHandleAriaLabel` (string) - (Optional) Adds an ARIA label for the drag handle.\n * - `options` - Specifies an array of options for reordering and visible content selection.\n *\n * Each option contains the following:\n * - `id` (string) - Corresponds to a table column `id`.\n * - `label` (string) - Specifies a short description of the content.\n * - `alwaysVisible` (boolean) - (Optional) Determines whether the visibility is always on and therefore cannot be toggled. This is set to `false` by default.\n *\n * You must provide an ordered list of the items to display in the `preferences.contentDisplay` property.\n */\n contentDisplayPreference?: CollectionPreferencesProps.ContentDisplayPreference;\n /**\n * Configures the built-in \"visible content selection\" preference (for example, visible columns in a table).\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `options` - Specifies an array of groups of options for visible content selection.\n *\n * Each group of options contains the following:\n * - `label` (string) - The text to display as a title for the options group.\n * - `options` - Specifies an aray of options in the group. Each option contains the following:\n * - `id` (string) - Corresponds to a column `id` for tables or to a section `id` for cards.\n * - `label` (string) - Specifies a short description of the content.\n * - `editable` (boolean) - (Optional) Determines whether the user is able to toggle its visibility. This is `true` by default.\n *\n * You must set the current list of visible content `id`s in the `preferences.visibleContent` property.\n */\n visibleContentPreference?: CollectionPreferencesProps.VisibleContentPreference;\n /**\n * Specifies the current preference values. This includes both built-in and custom preferences.\n *\n * It contains the following:\n * - `pageSize` (number) - (Optional)\n * - `wrapLines` (boolean) - (Optional)\n * - `contentDisplay` (ReadonlyArray<ContentDisplayItem>) - (Optional) Specifies the list of content and their visibility. The order of the elements influences the display.\n * - `visibleContent` (ReadonlyArray<string>) - Specifies the list of visible content `id`s. The order of the `id`s does not influence the display. If the `contentDisplay` property is set, this property is ignored.\n * - `custom` (CustomPreferenceType) - Specifies the value for your custom preference.\n */\n preferences?: CollectionPreferencesProps.Preferences<CustomPreferenceType>;\n /**\n * Configures custom preferences. The function receives two parameters:\n *\n * - `customValue` (CustomPreferenceType) - Current value for your custom preference. It is initialized using the value you provide in `preferences.custom`.\n * - `setCustomValue` - A function that is called to notify a state update.\n *\n * It should return the content of your custom preference, for example:\n * ```\n * (customValue, setCustomValue) => (\n * <Checkbox checked={customValue} onChange={({ detail }) => setCustomValue(detail.checked)} />\n * )\n * ```\n *\n * When the user confirms the changes, the new value is passed in the `detail.custom` property of the `onConfirm` listener.\n * When the user cancels the changes, the `customValue` is reset to the one present in `preferences.custom` property.\n *\n * **Display**\n * - If any of the built-in preferences (`pageSizePreference`, `wrapLinesPreference`, or `visibleContentPreference`) are displayed,\n * the custom content is displayed at the bottom of the left column within the modal.\n * - If no built-in preference is displayed, the custom content occupies the whole modal.\n */\n customPreference?: (\n customValue: CustomPreferenceType,\n setCustomValue: React.Dispatch<CustomPreferenceType>\n ) => React.ReactNode;\n /**\n * Called when the user cancels a preference change using the cancel button in the modal footer or by dismissing the modal.\n */\n onCancel?: NonCancelableEventHandler;\n /**\n * Called when the user confirms a preference change using the confirm button in the modal footer.\n *\n * The event `detail` contains the following:\n * - `pageSize` (number) - (Optional) The selected page size value. Available only if you specify the `pageSizePreference` property.\n * - `wrapLines` (boolean) - (Optional) The current line wrapping preference value. Available only if you specify the `wrapLinesPreference` property.\n * - `visibleContent` (ReadonlyArray<string>) - (Optional) The list of selected content `id`s. Available only if you specify the `visibleContentPreference` property.\n * - `custom` (CustomPreferenceType) - (Optional) The selected value for your custom preference.\n *\n * The values for all configured preferences are present even if the user didn't change their values.\n */\n onConfirm?: NonCancelableEventHandler<CollectionPreferencesProps.Preferences<CustomPreferenceType>>;\n}\n\nexport namespace CollectionPreferencesProps {\n export interface Preferences<CustomPreferenceType = any> {\n pageSize?: number;\n wrapLines?: boolean;\n stripedRows?: boolean;\n contentDensity?: 'comfortable' | 'compact';\n visibleContent?: ReadonlyArray<string>;\n contentDisplay?: ReadonlyArray<ContentDisplayItem>;\n custom?: CustomPreferenceType;\n }\n\n export interface ContentDisplayPreference {\n title: string;\n description?: string;\n options: ReadonlyArray<CollectionPreferencesProps.ContentDisplayOption>;\n liveAnnouncementDndStarted?: (position: number, total: number) => string;\n liveAnnouncementDndItemReordered?: (initialPosition: number, currentPosition: number, total: number) => string;\n liveAnnouncementDndItemCommitted?: (initialPosition: number, finalPosition: number, total: number) => string;\n liveAnnouncementDndDiscarded?: string;\n dragHandleAriaLabel?: string;\n dragHandleAriaDescription?: string;\n }\n\n export interface ContentDisplayOption {\n id: string;\n label: string;\n alwaysVisible?: boolean;\n }\n\n export interface ContentDisplayItem {\n id: string;\n visible: boolean;\n }\n\n export interface VisibleContentPreference {\n title: string;\n options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOptionsGroup>;\n }\n\n export interface VisibleContentOptionsGroup {\n label: string;\n options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOption>;\n }\n\n export interface VisibleContentOption {\n id: string;\n label: string;\n editable?: boolean;\n }\n\n export interface PageSizePreference {\n title: string;\n options: ReadonlyArray<PageSizeOption>;\n }\n\n export interface PageSizeOption {\n value: number;\n label: string;\n }\n\n export interface WrapLinesPreference {\n label: string;\n description: string;\n }\n\n export interface StripedRowsPreference {\n label: string;\n description: string;\n }\n\n export interface ContentDensityPreference {\n label: string;\n description: string;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["collection-preferences/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface CollectionPreferencesProps<CustomPreferenceType = any> extends BaseComponentProps {\n /**\n * Specifies the title of the preferences modal dialog. It is also used as an `aria-label` for the trigger button.\n */\n title: string;\n /**\n * Label of the confirm button in the modal footer.\n */\n confirmLabel: string;\n /**\n * Label of the cancel button in the modal footer.\n */\n cancelLabel: string;\n /**\n * Determines whether the preferences trigger button is disabled.\n */\n disabled?: boolean;\n /**\n * Configures the built-in \"page size selection\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `options` - Specifies an array of options for page size selection. Each entry contains:\n * - `value` (number) - The value for the radio button (that is, the number of items per page).\n * - `label` (string) - A label for the radio button (for example, \"10 resources\").\n *\n * You must set the current value in the `preferences.pageSize` property.\n */\n pageSizePreference?: CollectionPreferencesProps.PageSizePreference;\n /**\n * Configures the built-in \"wrap lines\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.wrapLines` property.\n */\n wrapLinesPreference?: CollectionPreferencesProps.WrapLinesPreference;\n /**\n * Configures the built-in \"striped rows\" preference.\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.stripedRows` property.\n */\n stripedRowsPreference?: CollectionPreferencesProps.StripedRowsPreference;\n /**\n * Configures the content density preference (Comfortable / Compact).\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for the option checkbox.\n * - `description` (string) - Specifies the text displayed below the checkbox label.\n *\n * You must set the current value in the `preferences.contentDensity` property.\n */\n contentDensityPreference?: CollectionPreferencesProps.ContentDensityPreference;\n /**\n * Configures the sticky columns preference.\n *\n * You can set it for both left and right columns.\n *\n * It contains the following:\n * - `label` (string) - Specifies the label for each radio group.\n * - `description` (string) - Specifies the text displayed below each radio group label.\n *\n * You must set the current value in the `preferences.stickyColumns` property.\n */\n stickyColumnsPreference?: CollectionPreferencesProps.StickyColumnsPreference;\n /**\n * Configures the built-in content display preference for order and visibility of columns in a table.\n *\n * Once set, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `description` (string) - Specifies the description displayed below the title.\n * - `liveAnnouncementDndStarted` ((position: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an option is picked.\n * - `liveAnnouncementDndDiscarded` (string) - (Optional) Adds a message to be announced by screen readers when a reordering action is canceled.\n * - `liveAnnouncementDndItemReordered` ((initialPosition: number, currentPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an item is being moved.\n * - `liveAnnouncementDndItemCommitted` ((initialPosition: number, finalPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when a reordering action is committed.\n * - `dragHandleAriaDescription` (string) - (Optional) Adds an ARIA description for the drag handle.\n * - `dragHandleAriaLabel` (string) - (Optional) Adds an ARIA label for the drag handle.\n * - `options` - Specifies an array of options for reordering and visible content selection.\n *\n * Each option contains the following:\n * - `id` (string) - Corresponds to a table column `id`.\n * - `label` (string) - Specifies a short description of the content.\n * - `alwaysVisible` (boolean) - (Optional) Determines whether the visibility is always on and therefore cannot be toggled. This is set to `false` by default.\n *\n * You must provide an ordered list of the items to display in the `preferences.contentDisplay` property.\n */\n contentDisplayPreference?: CollectionPreferencesProps.ContentDisplayPreference;\n /**\n * Configures the built-in \"visible content selection\" preference (for example, visible columns in a table).\n *\n * If you set it, the component displays this preference in the modal.\n *\n * It contains the following:\n * - `title` (string) - Specifies the text displayed at the top of the preference.\n * - `options` - Specifies an array of groups of options for visible content selection.\n *\n * Each group of options contains the following:\n * - `label` (string) - The text to display as a title for the options group.\n * - `options` - Specifies an aray of options in the group. Each option contains the following:\n * - `id` (string) - Corresponds to a column `id` for tables or to a section `id` for cards.\n * - `label` (string) - Specifies a short description of the content.\n * - `editable` (boolean) - (Optional) Determines whether the user is able to toggle its visibility. This is `true` by default.\n *\n * You must set the current list of visible content `id`s in the `preferences.visibleContent` property.\n */\n visibleContentPreference?: CollectionPreferencesProps.VisibleContentPreference;\n /**\n * Specifies the current preference values. This includes both built-in and custom preferences.\n *\n * It contains the following:\n * - `pageSize` (number) - (Optional)\n * - `wrapLines` (boolean) - (Optional)\n * - `contentDisplay` (ReadonlyArray<ContentDisplayItem>) - (Optional) Specifies the list of content and their visibility. The order of the elements influences the display.\n * - `visibleContent` (ReadonlyArray<string>) - Specifies the list of visible content `id`s. The order of the `id`s does not influence the display. If the `contentDisplay` property is set, this property is ignored.\n * - `custom` (CustomPreferenceType) - Specifies the value for your custom preference.\n */\n preferences?: CollectionPreferencesProps.Preferences<CustomPreferenceType>;\n /**\n * Configures custom preferences. The function receives two parameters:\n *\n * - `customValue` (CustomPreferenceType) - Current value for your custom preference. It is initialized using the value you provide in `preferences.custom`.\n * - `setCustomValue` - A function that is called to notify a state update.\n *\n * It should return the content of your custom preference, for example:\n * ```\n * (customValue, setCustomValue) => (\n * <Checkbox checked={customValue} onChange={({ detail }) => setCustomValue(detail.checked)} />\n * )\n * ```\n *\n * When the user confirms the changes, the new value is passed in the `detail.custom` property of the `onConfirm` listener.\n * When the user cancels the changes, the `customValue` is reset to the one present in `preferences.custom` property.\n *\n * **Display**\n * - If any of the built-in preferences (`pageSizePreference`, `wrapLinesPreference`, or `visibleContentPreference`) are displayed,\n * the custom content is displayed at the bottom of the left column within the modal.\n * - If no built-in preference is displayed, the custom content occupies the whole modal.\n */\n customPreference?: (\n customValue: CustomPreferenceType,\n setCustomValue: React.Dispatch<CustomPreferenceType>\n ) => React.ReactNode;\n /**\n * Called when the user cancels a preference change using the cancel button in the modal footer or by dismissing the modal.\n */\n onCancel?: NonCancelableEventHandler;\n /**\n * Called when the user confirms a preference change using the confirm button in the modal footer.\n *\n * The event `detail` contains the following:\n * - `pageSize` (number) - (Optional) The selected page size value. Available only if you specify the `pageSizePreference` property.\n * - `wrapLines` (boolean) - (Optional) The current line wrapping preference value. Available only if you specify the `wrapLinesPreference` property.\n * - `visibleContent` (ReadonlyArray<string>) - (Optional) The list of selected content `id`s. Available only if you specify the `visibleContentPreference` property.\n * - `custom` (CustomPreferenceType) - (Optional) The selected value for your custom preference.\n *\n * The values for all configured preferences are present even if the user didn't change their values.\n */\n onConfirm?: NonCancelableEventHandler<CollectionPreferencesProps.Preferences<CustomPreferenceType>>;\n}\n\nexport namespace CollectionPreferencesProps {\n export interface Preferences<CustomPreferenceType = any> {\n pageSize?: number;\n wrapLines?: boolean;\n stripedRows?: boolean;\n contentDensity?: 'comfortable' | 'compact';\n visibleContent?: ReadonlyArray<string>;\n stickyColumns?: StickyColumns;\n contentDisplay?: ReadonlyArray<ContentDisplayItem>;\n custom?: CustomPreferenceType;\n }\n\n export interface ContentDisplayPreference {\n title: string;\n description?: string;\n options: ReadonlyArray<CollectionPreferencesProps.ContentDisplayOption>;\n liveAnnouncementDndStarted?: (position: number, total: number) => string;\n liveAnnouncementDndItemReordered?: (initialPosition: number, currentPosition: number, total: number) => string;\n liveAnnouncementDndItemCommitted?: (initialPosition: number, finalPosition: number, total: number) => string;\n liveAnnouncementDndDiscarded?: string;\n dragHandleAriaLabel?: string;\n dragHandleAriaDescription?: string;\n }\n\n export interface ContentDisplayOption {\n id: string;\n label: string;\n alwaysVisible?: boolean;\n }\n\n export interface ContentDisplayItem {\n id: string;\n visible: boolean;\n }\n\n export interface VisibleContentPreference {\n title: string;\n options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOptionsGroup>;\n }\n\n export interface VisibleContentOptionsGroup {\n label: string;\n options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOption>;\n }\n\n export interface VisibleContentOption {\n id: string;\n label: string;\n editable?: boolean;\n }\n\n export interface PageSizePreference {\n title: string;\n options: ReadonlyArray<PageSizeOption>;\n }\n\n export interface PageSizeOption {\n value: number;\n label: string;\n }\n\n export interface WrapLinesPreference {\n label: string;\n description: string;\n }\n\n export interface StripedRowsPreference {\n label: string;\n description: string;\n }\n\n export interface ContentDensityPreference {\n label: string;\n description: string;\n }\n\n interface StickyColumns {\n first?: number;\n last?: number;\n }\n\n interface StickyColumnPreference {\n title: string;\n description: string;\n options: ReadonlyArray<{\n label: string;\n value: number;\n }>;\n }\n export interface StickyColumnsPreference {\n firstColumns?: StickyColumnPreference;\n lastColumns?: StickyColumnPreference;\n }\n}\n"]}
|
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"visible-content": "awsui_visible-
|
|
5
|
-
"visible-content-toggle": "awsui_visible-content-
|
|
6
|
-
"visible-content-groups": "awsui_visible-content-
|
|
7
|
-
"visible-content-group": "awsui_visible-content-
|
|
8
|
-
"visible-content-title": "awsui_visible-content-
|
|
9
|
-
"visible-content-group-label": "awsui_visible-content-group-
|
|
10
|
-
"visible-content-option": "awsui_visible-content-
|
|
11
|
-
"visible-content-option-label": "awsui_visible-content-option-
|
|
12
|
-
"content-display-option-toggle": "awsui_content-display-option-
|
|
13
|
-
"content-display-option-content": "awsui_content-display-option-
|
|
14
|
-
"content-display-option": "awsui_content-display-
|
|
15
|
-
"placeholder": "
|
|
16
|
-
"sorting": "
|
|
17
|
-
"content-display-option-label": "awsui_content-display-option-
|
|
18
|
-
"drag-overlay": "awsui_drag-
|
|
19
|
-
"content-display": "awsui_content-
|
|
20
|
-
"content-display-title": "awsui_content-display-
|
|
21
|
-
"content-display-description": "awsui_content-display-
|
|
22
|
-
"content-display-option-list": "awsui_content-display-option-
|
|
23
|
-
"root": "
|
|
24
|
-
"modal-root": "awsui_modal-
|
|
25
|
-
"trigger-button": "awsui_trigger-
|
|
26
|
-
"cancel-button": "awsui_cancel-
|
|
27
|
-
"confirm-button": "awsui_confirm-
|
|
28
|
-
"custom": "
|
|
29
|
-
"second-column-small": "awsui_second-column-
|
|
30
|
-
"wrap-lines": "awsui_wrap-
|
|
31
|
-
"striped-rows": "awsui_striped-
|
|
32
|
-
"content-density": "awsui_content-
|
|
33
|
-
"page-size": "awsui_page-
|
|
34
|
-
"page-size-form-field": "awsui_page-size-form-
|
|
35
|
-
"page-size-radio-group": "awsui_page-size-radio-
|
|
4
|
+
"visible-content": "awsui_visible-content_tc96w_1rnmc_185",
|
|
5
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_1rnmc_186",
|
|
6
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_1rnmc_187",
|
|
7
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_1rnmc_187",
|
|
8
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_1rnmc_192",
|
|
9
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_1rnmc_201",
|
|
10
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_1rnmc_207",
|
|
11
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_1rnmc_218",
|
|
12
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_1rnmc_409",
|
|
13
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_1rnmc_413",
|
|
14
|
+
"content-display-option": "awsui_content-display-option_tc96w_1rnmc_409",
|
|
15
|
+
"placeholder": "awsui_placeholder_tc96w_1rnmc_436",
|
|
16
|
+
"sorting": "awsui_sorting_tc96w_1rnmc_436",
|
|
17
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_1rnmc_463",
|
|
18
|
+
"drag-overlay": "awsui_drag-overlay_tc96w_1rnmc_471",
|
|
19
|
+
"content-display": "awsui_content-display_tc96w_1rnmc_409",
|
|
20
|
+
"content-display-title": "awsui_content-display-title_tc96w_1rnmc_498",
|
|
21
|
+
"content-display-description": "awsui_content-display-description_tc96w_1rnmc_506",
|
|
22
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_1rnmc_514",
|
|
23
|
+
"root": "awsui_root_tc96w_1rnmc_520",
|
|
24
|
+
"modal-root": "awsui_modal-root_tc96w_1rnmc_521",
|
|
25
|
+
"trigger-button": "awsui_trigger-button_tc96w_1rnmc_522",
|
|
26
|
+
"cancel-button": "awsui_cancel-button_tc96w_1rnmc_523",
|
|
27
|
+
"confirm-button": "awsui_confirm-button_tc96w_1rnmc_524",
|
|
28
|
+
"custom": "awsui_custom_tc96w_1rnmc_525",
|
|
29
|
+
"second-column-small": "awsui_second-column-small_tc96w_1rnmc_529",
|
|
30
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_1rnmc_533",
|
|
31
|
+
"striped-rows": "awsui_striped-rows_tc96w_1rnmc_534",
|
|
32
|
+
"content-density": "awsui_content-density_tc96w_1rnmc_535",
|
|
33
|
+
"page-size": "awsui_page-size_tc96w_1rnmc_536",
|
|
34
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_1rnmc_537",
|
|
35
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_1rnmc_538",
|
|
36
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_1rnmc_539",
|
|
37
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_1rnmc_540",
|
|
38
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_1rnmc_541",
|
|
39
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_1rnmc_542",
|
|
40
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_1rnmc_543"
|
|
36
41
|
};
|
|
37
42
|
|
|
@@ -182,14 +182,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
183
183
|
SPDX-License-Identifier: Apache-2.0
|
|
184
184
|
*/
|
|
185
|
-
.awsui_visible-
|
|
186
|
-
.awsui_visible-content-
|
|
187
|
-
.awsui_visible-content-
|
|
188
|
-
.awsui_visible-content-
|
|
185
|
+
.awsui_visible-content_tc96w_1rnmc_185:not(#\9),
|
|
186
|
+
.awsui_visible-content-toggle_tc96w_1rnmc_186:not(#\9),
|
|
187
|
+
.awsui_visible-content-groups_tc96w_1rnmc_187:not(#\9),
|
|
188
|
+
.awsui_visible-content-group_tc96w_1rnmc_187:not(#\9) {
|
|
189
189
|
/* used in test-utils */
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.awsui_visible-content-
|
|
192
|
+
.awsui_visible-content-title_tc96w_1rnmc_192:not(#\9) {
|
|
193
193
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
194
194
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
195
195
|
font-weight: var(--font-display-label-weight-m18hjh, 700);
|
|
@@ -198,24 +198,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
198
198
|
margin-bottom: var(--space-scaled-l-t03y3z, 20px);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.awsui_visible-content-group-
|
|
201
|
+
.awsui_visible-content-group-label_tc96w_1rnmc_201:not(#\9) {
|
|
202
202
|
color: var(--color-text-group-label-w9to2i, #414d5c);
|
|
203
203
|
padding-bottom: var(--space-xs-rsr2qu, 8px);
|
|
204
204
|
border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.awsui_visible-content-
|
|
207
|
+
.awsui_visible-content-option_tc96w_1rnmc_207:not(#\9) {
|
|
208
208
|
display: flex;
|
|
209
209
|
flex-wrap: nowrap;
|
|
210
210
|
justify-content: space-between;
|
|
211
211
|
padding: var(--space-xs-rsr2qu, 8px) 0px var(--space-xs-rsr2qu, 8px) var(--space-scaled-l-t03y3z, 20px);
|
|
212
212
|
border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
213
213
|
}
|
|
214
|
-
.awsui_visible-content-
|
|
214
|
+
.awsui_visible-content-option_tc96w_1rnmc_207:not(#\9):last-child {
|
|
215
215
|
border-bottom: none;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.awsui_visible-content-option-
|
|
218
|
+
.awsui_visible-content-option-label_tc96w_1rnmc_218:not(#\9) {
|
|
219
219
|
overflow: hidden;
|
|
220
220
|
text-overflow: ellipsis;
|
|
221
221
|
padding-right: var(--space-l-4vl6xu, 20px);
|
|
@@ -406,11 +406,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
406
406
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
407
407
|
SPDX-License-Identifier: Apache-2.0
|
|
408
408
|
*/
|
|
409
|
-
.awsui_content-display-option-
|
|
409
|
+
.awsui_content-display-option-toggle_tc96w_1rnmc_409:not(#\9) {
|
|
410
410
|
/* used in test-utils */
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
.awsui_content-display-option-
|
|
413
|
+
.awsui_content-display-option-content_tc96w_1rnmc_413:not(#\9) {
|
|
414
414
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
415
415
|
border-collapse: separate;
|
|
416
416
|
border-spacing: 0;
|
|
@@ -454,29 +454,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
454
454
|
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
.awsui_content-display-
|
|
457
|
+
.awsui_content-display-option_tc96w_1rnmc_409:not(#\9) {
|
|
458
458
|
list-style: none;
|
|
459
459
|
position: relative;
|
|
460
460
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
461
461
|
}
|
|
462
|
-
.awsui_content-display-
|
|
462
|
+
.awsui_content-display-option_tc96w_1rnmc_409:not(#\9):not(.awsui_placeholder_tc96w_1rnmc_436).awsui_sorting_tc96w_1rnmc_436 {
|
|
463
463
|
transition: transform var(--motion-duration-transition-quick-x85tae, 90ms) var(--motion-easing-transition-quick-lukbd8, linear);
|
|
464
|
-
z-index: 1;
|
|
465
464
|
}
|
|
466
465
|
@media (prefers-reduced-motion: reduce) {
|
|
467
|
-
.awsui_content-display-
|
|
466
|
+
.awsui_content-display-option_tc96w_1rnmc_409:not(#\9):not(.awsui_placeholder_tc96w_1rnmc_436).awsui_sorting_tc96w_1rnmc_436 {
|
|
468
467
|
animation: none;
|
|
469
468
|
transition: none;
|
|
470
469
|
}
|
|
471
470
|
}
|
|
472
|
-
.awsui-motion-disabled .awsui_content-display-
|
|
471
|
+
.awsui-motion-disabled .awsui_content-display-option_tc96w_1rnmc_409:not(#\9):not(.awsui_placeholder_tc96w_1rnmc_436).awsui_sorting_tc96w_1rnmc_436, .awsui-mode-entering .awsui_content-display-option_tc96w_1rnmc_409:not(#\9):not(.awsui_placeholder_tc96w_1rnmc_436).awsui_sorting_tc96w_1rnmc_436 {
|
|
473
472
|
animation: none;
|
|
474
473
|
transition: none;
|
|
475
474
|
}
|
|
476
|
-
.awsui_content-display-
|
|
475
|
+
.awsui_content-display-option_tc96w_1rnmc_409.awsui_placeholder_tc96w_1rnmc_436 > .awsui_content-display-option-content_tc96w_1rnmc_413:not(#\9) {
|
|
477
476
|
position: relative;
|
|
478
477
|
}
|
|
479
|
-
.awsui_content-display-
|
|
478
|
+
.awsui_content-display-option_tc96w_1rnmc_409.awsui_placeholder_tc96w_1rnmc_436 > .awsui_content-display-option-content_tc96w_1rnmc_413:not(#\9):after {
|
|
480
479
|
content: " ";
|
|
481
480
|
position: absolute;
|
|
482
481
|
top: 0;
|
|
@@ -487,7 +486,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
487
486
|
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
488
487
|
}
|
|
489
488
|
|
|
490
|
-
.awsui_content-display-option-
|
|
489
|
+
.awsui_content-display-option-label_tc96w_1rnmc_463:not(#\9) {
|
|
491
490
|
flex-grow: 1;
|
|
492
491
|
min-width: 0;
|
|
493
492
|
-ms-word-break: break-all;
|
|
@@ -495,18 +494,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
495
494
|
padding-right: var(--space-l-4vl6xu, 20px);
|
|
496
495
|
}
|
|
497
496
|
|
|
498
|
-
.awsui_drag-
|
|
497
|
+
.awsui_drag-overlay_tc96w_1rnmc_471:not(#\9) {
|
|
499
498
|
box-shadow: var(--shadow-container-active-l4kuxc, 0px 1px 1px 1px #e9ebed, 0px 6px 36px rgba(0, 7, 22, 0.1019607843));
|
|
500
499
|
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
501
500
|
}
|
|
502
|
-
body[data-awsui-focus-visible=true] .awsui_drag-
|
|
501
|
+
body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_1rnmc_471:not(#\9) {
|
|
503
502
|
position: relative;
|
|
504
503
|
}
|
|
505
|
-
body[data-awsui-focus-visible=true] .awsui_drag-
|
|
504
|
+
body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_1rnmc_471:not(#\9) {
|
|
506
505
|
outline: 2px dotted transparent;
|
|
507
506
|
outline-offset: calc(0px - 1px);
|
|
508
507
|
}
|
|
509
|
-
body[data-awsui-focus-visible=true] .awsui_drag-
|
|
508
|
+
body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_1rnmc_471:not(#\9)::before {
|
|
510
509
|
content: " ";
|
|
511
510
|
display: block;
|
|
512
511
|
position: absolute;
|
|
@@ -518,11 +517,11 @@ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_rxrhz_472:not(#\9)
|
|
|
518
517
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
519
518
|
}
|
|
520
519
|
|
|
521
|
-
.awsui_content-
|
|
520
|
+
.awsui_content-display_tc96w_1rnmc_409:not(#\9) {
|
|
522
521
|
/* used in test-utils */
|
|
523
522
|
}
|
|
524
523
|
|
|
525
|
-
.awsui_content-display-
|
|
524
|
+
.awsui_content-display-title_tc96w_1rnmc_498:not(#\9) {
|
|
526
525
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
527
526
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
528
527
|
font-weight: var(--font-display-label-weight-m18hjh, 700);
|
|
@@ -530,7 +529,7 @@ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_rxrhz_472:not(#\9)
|
|
|
530
529
|
margin: 0;
|
|
531
530
|
}
|
|
532
531
|
|
|
533
|
-
.awsui_content-display-
|
|
532
|
+
.awsui_content-display-description_tc96w_1rnmc_506:not(#\9) {
|
|
534
533
|
color: var(--color-text-form-secondary-ih9x7l, #5f6b7a);
|
|
535
534
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
536
535
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
@@ -538,30 +537,35 @@ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_rxrhz_472:not(#\9)
|
|
|
538
537
|
margin-top: var(--space-scaled-xxxs-lo883m, 2px);
|
|
539
538
|
}
|
|
540
539
|
|
|
541
|
-
.awsui_content-display-option-
|
|
540
|
+
.awsui_content-display-option-list_tc96w_1rnmc_514:not(#\9) {
|
|
542
541
|
position: relative;
|
|
543
542
|
list-style: none;
|
|
544
543
|
padding: 0;
|
|
545
544
|
}
|
|
546
545
|
|
|
547
|
-
.
|
|
548
|
-
.awsui_modal-
|
|
549
|
-
.awsui_trigger-
|
|
550
|
-
.awsui_cancel-
|
|
551
|
-
.awsui_confirm-
|
|
552
|
-
.
|
|
546
|
+
.awsui_root_tc96w_1rnmc_520:not(#\9),
|
|
547
|
+
.awsui_modal-root_tc96w_1rnmc_521:not(#\9),
|
|
548
|
+
.awsui_trigger-button_tc96w_1rnmc_522:not(#\9),
|
|
549
|
+
.awsui_cancel-button_tc96w_1rnmc_523:not(#\9),
|
|
550
|
+
.awsui_confirm-button_tc96w_1rnmc_524:not(#\9),
|
|
551
|
+
.awsui_custom_tc96w_1rnmc_525:not(#\9) {
|
|
553
552
|
/* used in test-utils */
|
|
554
553
|
}
|
|
555
554
|
|
|
556
|
-
.awsui_second-column-
|
|
555
|
+
.awsui_second-column-small_tc96w_1rnmc_529:not(#\9) {
|
|
557
556
|
padding-top: calc(2 * var(--space-scaled-l-t03y3z, 20px));
|
|
558
557
|
}
|
|
559
558
|
|
|
560
|
-
.awsui_wrap-
|
|
561
|
-
.awsui_striped-
|
|
562
|
-
.awsui_content-
|
|
563
|
-
.awsui_page-
|
|
564
|
-
.awsui_page-size-form-
|
|
565
|
-
.awsui_page-size-radio-
|
|
559
|
+
.awsui_wrap-lines_tc96w_1rnmc_533:not(#\9),
|
|
560
|
+
.awsui_striped-rows_tc96w_1rnmc_534:not(#\9),
|
|
561
|
+
.awsui_content-density_tc96w_1rnmc_535:not(#\9),
|
|
562
|
+
.awsui_page-size_tc96w_1rnmc_536:not(#\9),
|
|
563
|
+
.awsui_page-size-form-field_tc96w_1rnmc_537:not(#\9),
|
|
564
|
+
.awsui_page-size-radio-group_tc96w_1rnmc_538:not(#\9),
|
|
565
|
+
.awsui_sticky-columns_tc96w_1rnmc_539:not(#\9),
|
|
566
|
+
.awsui_sticky-columns-form-field_tc96w_1rnmc_540:not(#\9),
|
|
567
|
+
.awsui_sticky-columns-radio-group_tc96w_1rnmc_541:not(#\9),
|
|
568
|
+
.awsui_sticky-columns-first_tc96w_1rnmc_542:not(#\9),
|
|
569
|
+
.awsui_sticky-columns-last_tc96w_1rnmc_543:not(#\9) {
|
|
566
570
|
/* used in test-utils */
|
|
567
571
|
}
|
|
@@ -2,37 +2,42 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"visible-content": "awsui_visible-
|
|
6
|
-
"visible-content-toggle": "awsui_visible-content-
|
|
7
|
-
"visible-content-groups": "awsui_visible-content-
|
|
8
|
-
"visible-content-group": "awsui_visible-content-
|
|
9
|
-
"visible-content-title": "awsui_visible-content-
|
|
10
|
-
"visible-content-group-label": "awsui_visible-content-group-
|
|
11
|
-
"visible-content-option": "awsui_visible-content-
|
|
12
|
-
"visible-content-option-label": "awsui_visible-content-option-
|
|
13
|
-
"content-display-option-toggle": "awsui_content-display-option-
|
|
14
|
-
"content-display-option-content": "awsui_content-display-option-
|
|
15
|
-
"content-display-option": "awsui_content-display-
|
|
16
|
-
"placeholder": "
|
|
17
|
-
"sorting": "
|
|
18
|
-
"content-display-option-label": "awsui_content-display-option-
|
|
19
|
-
"drag-overlay": "awsui_drag-
|
|
20
|
-
"content-display": "awsui_content-
|
|
21
|
-
"content-display-title": "awsui_content-display-
|
|
22
|
-
"content-display-description": "awsui_content-display-
|
|
23
|
-
"content-display-option-list": "awsui_content-display-option-
|
|
24
|
-
"root": "
|
|
25
|
-
"modal-root": "awsui_modal-
|
|
26
|
-
"trigger-button": "awsui_trigger-
|
|
27
|
-
"cancel-button": "awsui_cancel-
|
|
28
|
-
"confirm-button": "awsui_confirm-
|
|
29
|
-
"custom": "
|
|
30
|
-
"second-column-small": "awsui_second-column-
|
|
31
|
-
"wrap-lines": "awsui_wrap-
|
|
32
|
-
"striped-rows": "awsui_striped-
|
|
33
|
-
"content-density": "awsui_content-
|
|
34
|
-
"page-size": "awsui_page-
|
|
35
|
-
"page-size-form-field": "awsui_page-size-form-
|
|
36
|
-
"page-size-radio-group": "awsui_page-size-radio-
|
|
5
|
+
"visible-content": "awsui_visible-content_tc96w_1rnmc_185",
|
|
6
|
+
"visible-content-toggle": "awsui_visible-content-toggle_tc96w_1rnmc_186",
|
|
7
|
+
"visible-content-groups": "awsui_visible-content-groups_tc96w_1rnmc_187",
|
|
8
|
+
"visible-content-group": "awsui_visible-content-group_tc96w_1rnmc_187",
|
|
9
|
+
"visible-content-title": "awsui_visible-content-title_tc96w_1rnmc_192",
|
|
10
|
+
"visible-content-group-label": "awsui_visible-content-group-label_tc96w_1rnmc_201",
|
|
11
|
+
"visible-content-option": "awsui_visible-content-option_tc96w_1rnmc_207",
|
|
12
|
+
"visible-content-option-label": "awsui_visible-content-option-label_tc96w_1rnmc_218",
|
|
13
|
+
"content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_1rnmc_409",
|
|
14
|
+
"content-display-option-content": "awsui_content-display-option-content_tc96w_1rnmc_413",
|
|
15
|
+
"content-display-option": "awsui_content-display-option_tc96w_1rnmc_409",
|
|
16
|
+
"placeholder": "awsui_placeholder_tc96w_1rnmc_436",
|
|
17
|
+
"sorting": "awsui_sorting_tc96w_1rnmc_436",
|
|
18
|
+
"content-display-option-label": "awsui_content-display-option-label_tc96w_1rnmc_463",
|
|
19
|
+
"drag-overlay": "awsui_drag-overlay_tc96w_1rnmc_471",
|
|
20
|
+
"content-display": "awsui_content-display_tc96w_1rnmc_409",
|
|
21
|
+
"content-display-title": "awsui_content-display-title_tc96w_1rnmc_498",
|
|
22
|
+
"content-display-description": "awsui_content-display-description_tc96w_1rnmc_506",
|
|
23
|
+
"content-display-option-list": "awsui_content-display-option-list_tc96w_1rnmc_514",
|
|
24
|
+
"root": "awsui_root_tc96w_1rnmc_520",
|
|
25
|
+
"modal-root": "awsui_modal-root_tc96w_1rnmc_521",
|
|
26
|
+
"trigger-button": "awsui_trigger-button_tc96w_1rnmc_522",
|
|
27
|
+
"cancel-button": "awsui_cancel-button_tc96w_1rnmc_523",
|
|
28
|
+
"confirm-button": "awsui_confirm-button_tc96w_1rnmc_524",
|
|
29
|
+
"custom": "awsui_custom_tc96w_1rnmc_525",
|
|
30
|
+
"second-column-small": "awsui_second-column-small_tc96w_1rnmc_529",
|
|
31
|
+
"wrap-lines": "awsui_wrap-lines_tc96w_1rnmc_533",
|
|
32
|
+
"striped-rows": "awsui_striped-rows_tc96w_1rnmc_534",
|
|
33
|
+
"content-density": "awsui_content-density_tc96w_1rnmc_535",
|
|
34
|
+
"page-size": "awsui_page-size_tc96w_1rnmc_536",
|
|
35
|
+
"page-size-form-field": "awsui_page-size-form-field_tc96w_1rnmc_537",
|
|
36
|
+
"page-size-radio-group": "awsui_page-size-radio-group_tc96w_1rnmc_538",
|
|
37
|
+
"sticky-columns": "awsui_sticky-columns_tc96w_1rnmc_539",
|
|
38
|
+
"sticky-columns-form-field": "awsui_sticky-columns-form-field_tc96w_1rnmc_540",
|
|
39
|
+
"sticky-columns-radio-group": "awsui_sticky-columns-radio-group_tc96w_1rnmc_541",
|
|
40
|
+
"sticky-columns-first": "awsui_sticky-columns-first_tc96w_1rnmc_542",
|
|
41
|
+
"sticky-columns-last": "awsui_sticky-columns-last_tc96w_1rnmc_543"
|
|
37
42
|
};
|
|
38
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CollectionPreferencesProps } from './interfaces';
|
|
3
|
-
export declare const copyPreferences: ({ pageSize, wrapLines, stripedRows, contentDensity, visibleContent, contentDisplay, custom, }: CollectionPreferencesProps.Preferences) => CollectionPreferencesProps.Preferences;
|
|
3
|
+
export declare const copyPreferences: ({ pageSize, wrapLines, stripedRows, contentDensity, visibleContent, contentDisplay, stickyColumns, custom, }: CollectionPreferencesProps.Preferences) => CollectionPreferencesProps.Preferences;
|
|
4
4
|
export declare const mergePreferences: (newPref: CollectionPreferencesProps.Preferences, oldPref: CollectionPreferencesProps.Preferences) => CollectionPreferencesProps.Preferences;
|
|
5
5
|
interface ModalContentLayoutProps {
|
|
6
6
|
left: React.ReactNode;
|
|
@@ -27,6 +27,17 @@ interface ContentDensityPreferenceProps extends CollectionPreferencesProps.Conte
|
|
|
27
27
|
value?: 'comfortable' | 'compact';
|
|
28
28
|
}
|
|
29
29
|
export declare const ContentDensityPreference: ({ label, description, value, onChange }: ContentDensityPreferenceProps) => JSX.Element;
|
|
30
|
+
interface StickyColumnsPreferenceProps extends CollectionPreferencesProps.StickyColumnsPreference {
|
|
31
|
+
onChange: (value?: {
|
|
32
|
+
first?: number;
|
|
33
|
+
last?: number;
|
|
34
|
+
}) => void;
|
|
35
|
+
value?: {
|
|
36
|
+
first?: number;
|
|
37
|
+
last?: number;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare const StickyColumnsPreference: ({ firstColumns, lastColumns, onChange, value, }: StickyColumnsPreferenceProps) => JSX.Element;
|
|
30
41
|
interface CustomPreferenceProps<T = any> extends Pick<CollectionPreferencesProps<T>, 'customPreference'> {
|
|
31
42
|
onChange: (value: T) => void;
|
|
32
43
|
value: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"lib/default/","sources":["collection-preferences/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"lib/default/","sources":["collection-preferences/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAG1D,eAAO,MAAM,eAAe,iHASz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