@cloudscape-design/components-themeable 3.0.848 → 3.0.850

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.
Files changed (93) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/container/styles.scss +7 -4
  3. package/lib/internal/scss/container/test-classes/styles.scss +8 -0
  4. package/lib/internal/template/app-layout/utils/use-drawers.d.ts.map +1 -1
  5. package/lib/internal/template/app-layout/utils/use-drawers.js +40 -51
  6. package/lib/internal/template/app-layout/utils/use-drawers.js.map +1 -1
  7. package/lib/internal/template/cards/index.d.ts.map +1 -1
  8. package/lib/internal/template/cards/index.js +1 -0
  9. package/lib/internal/template/cards/index.js.map +1 -1
  10. package/lib/internal/template/collection-preferences/index.d.ts.map +1 -1
  11. package/lib/internal/template/collection-preferences/index.js +2 -1
  12. package/lib/internal/template/collection-preferences/index.js.map +1 -1
  13. package/lib/internal/template/collection-preferences/interfaces.d.ts +15 -8
  14. package/lib/internal/template/collection-preferences/interfaces.d.ts.map +1 -1
  15. package/lib/internal/template/collection-preferences/interfaces.js.map +1 -1
  16. package/lib/internal/template/container/internal.d.ts.map +1 -1
  17. package/lib/internal/template/container/internal.js +6 -3
  18. package/lib/internal/template/container/internal.js.map +1 -1
  19. package/lib/internal/template/container/styles.css.js +31 -30
  20. package/lib/internal/template/container/styles.scoped.css +59 -56
  21. package/lib/internal/template/container/styles.selectors.js +31 -30
  22. package/lib/internal/template/container/test-classes/styles.css.js +6 -0
  23. package/lib/internal/template/container/test-classes/styles.scoped.css +7 -0
  24. package/lib/internal/template/container/test-classes/styles.selectors.js +7 -0
  25. package/lib/internal/template/date-range-picker/index.d.ts.map +1 -1
  26. package/lib/internal/template/date-range-picker/index.js +23 -17
  27. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  28. package/lib/internal/template/internal/environment.js +1 -1
  29. package/lib/internal/template/internal/environment.json +1 -1
  30. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.d.ts +9 -0
  31. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -0
  32. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.js +17 -0
  33. package/lib/internal/template/internal/utils/date-time/format-date-time-with-offset.js.map +1 -0
  34. package/lib/internal/template/internal/utils/date-time/index.d.ts +1 -1
  35. package/lib/internal/template/internal/utils/date-time/index.d.ts.map +1 -1
  36. package/lib/internal/template/internal/utils/date-time/index.js +1 -1
  37. package/lib/internal/template/internal/utils/date-time/index.js.map +1 -1
  38. package/lib/internal/template/table/body-cell/disabled-inline-editor.d.ts +1 -1
  39. package/lib/internal/template/table/body-cell/disabled-inline-editor.d.ts.map +1 -1
  40. package/lib/internal/template/table/body-cell/disabled-inline-editor.js +2 -2
  41. package/lib/internal/template/table/body-cell/disabled-inline-editor.js.map +1 -1
  42. package/lib/internal/template/table/body-cell/index.d.ts +1 -5
  43. package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
  44. package/lib/internal/template/table/body-cell/index.js +11 -13
  45. package/lib/internal/template/table/body-cell/index.js.map +1 -1
  46. package/lib/internal/template/table/body-cell/td-element.d.ts +6 -2
  47. package/lib/internal/template/table/body-cell/td-element.d.ts.map +1 -1
  48. package/lib/internal/template/table/body-cell/td-element.js +5 -2
  49. package/lib/internal/template/table/body-cell/td-element.js.map +1 -1
  50. package/lib/internal/template/table/header-cell/index.d.ts +5 -2
  51. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  52. package/lib/internal/template/table/header-cell/index.js +2 -2
  53. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  54. package/lib/internal/template/table/header-cell/th-element.d.ts +8 -4
  55. package/lib/internal/template/table/header-cell/th-element.d.ts.map +1 -1
  56. package/lib/internal/template/table/header-cell/th-element.js +5 -2
  57. package/lib/internal/template/table/header-cell/th-element.js.map +1 -1
  58. package/lib/internal/template/table/index.d.ts.map +1 -1
  59. package/lib/internal/template/table/index.js +2 -0
  60. package/lib/internal/template/table/index.js.map +1 -1
  61. package/lib/internal/template/table/internal.d.ts.map +1 -1
  62. package/lib/internal/template/table/internal.js +6 -8
  63. package/lib/internal/template/table/internal.js.map +1 -1
  64. package/lib/internal/template/table/progressive-loading/items-loader.d.ts +1 -2
  65. package/lib/internal/template/table/progressive-loading/items-loader.d.ts.map +1 -1
  66. package/lib/internal/template/table/progressive-loading/items-loader.js.map +1 -1
  67. package/lib/internal/template/table/progressive-loading/loader-cell.d.ts +7 -0
  68. package/lib/internal/template/table/progressive-loading/loader-cell.d.ts.map +1 -0
  69. package/lib/internal/template/table/progressive-loading/loader-cell.js +11 -0
  70. package/lib/internal/template/table/progressive-loading/loader-cell.js.map +1 -0
  71. package/lib/internal/template/table/selection/selection-cell.d.ts +18 -0
  72. package/lib/internal/template/table/selection/selection-cell.d.ts.map +1 -0
  73. package/lib/internal/template/table/selection/selection-cell.js +23 -0
  74. package/lib/internal/template/table/selection/selection-cell.js.map +1 -0
  75. package/lib/internal/template/table/thead.d.ts.map +1 -1
  76. package/lib/internal/template/table/thead.js +16 -18
  77. package/lib/internal/template/table/thead.js.map +1 -1
  78. package/lib/internal/template/test-utils/dom/expandable-section/index.js +11 -10
  79. package/lib/internal/template/test-utils/dom/expandable-section/index.js.map +1 -1
  80. package/lib/internal/template/test-utils/dom/index.d.ts +1343 -0
  81. package/lib/internal/template/test-utils/dom/index.js +237 -0
  82. package/lib/internal/template/test-utils/dom/index.js.map +1 -1
  83. package/lib/internal/template/test-utils/selectors/expandable-section/index.js +11 -10
  84. package/lib/internal/template/test-utils/selectors/expandable-section/index.js.map +1 -1
  85. package/lib/internal/template/test-utils/selectors/index.d.ts +1185 -0
  86. package/lib/internal/template/test-utils/selectors/index.js +237 -0
  87. package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
  88. package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
  89. package/package.json +1 -1
  90. package/lib/internal/template/internal/utils/date-time/format-date-range.d.ts +0 -13
  91. package/lib/internal/template/internal/utils/date-time/format-date-range.d.ts.map +0 -1
  92. package/lib/internal/template/internal/utils/date-time/format-date-range.js +0 -36
  93. package/lib/internal/template/internal/utils/date-time/format-date-range.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/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';\nimport { BaseModalProps } from '../modal/interfaces';\n\nexport interface CollectionPreferencesProps<CustomPreferenceType = any> extends BaseComponentProps, BaseModalProps {\n /**\n * Specifies the title of the preferences modal dialog. It is also used as an `aria-label` for the trigger button.\n * @i18n\n */\n title?: string;\n /**\n * Label of the confirm button in the modal footer.\n * @i18n\n */\n confirmLabel?: string;\n /**\n * Label of the cancel button in the modal footer.\n * @i18n\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 * @i18n\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 * @i18n\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 * @i18n\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 * @i18n\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 * Cannot be used together with `visibleContentPreference`.\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 * @i18n\n */\n contentDisplayPreference?: CollectionPreferencesProps.ContentDisplayPreference;\n /**\n * Configures the built-in \"visible content selection\" preference (for example, visible sections in cards).\n *\n * If you set it, the component displays this preference in the modal.\n * Cannot be used together with `contentDisplayPreference`.\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 * **Deprecated** in table, replaced by `contentDisplayPreference`.\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 * - `contentDensity` (boolean) - (Optional) The current content density preference value. Available only if you specify the `contentDensityPreference` property.\n * - `contentDisplay` (ReadonlyArray<ContentDisplayItem>) - (Optional) The ordered list of table columns and their visibility. Available only if you specify the `contentDisplayPreference` property.\n * - `custom` (CustomPreferenceType) - (Optional) The selected value for your custom preference.\n * - `pageSize` (number) - (Optional) The selected page size value. Available only if you specify the `pageSizePreference` property.\n * - `stickyColumns` (CollectionPreferencesProps.StickyColumns) - (Optional) The current sticky columns preference value. Available only if you specify the `stickyColumnsPreference` property.\n * - `stripedRows` (boolean) - (Optional) The current striped rows preference value. Available only if you specify the `stripedRowsPreference` property.\n * - `visibleContent` (ReadonlyArray<string>) - (Optional) The list of selected content `id`s. Available only if you specify the `visibleContentPreference` property.\n * - `wrapLines` (boolean) - (Optional) The current line wrapping preference value. Available only if you specify the `wrapLinesPreference` property.\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 enableColumnFiltering?: boolean;\n i18nStrings?: ContentDisplayPreferenceI18nStrings;\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 export interface ContentDisplayPreferenceI18nStrings {\n /**\n * Specifies a `placeholder` for the filtering input.\n * @i18n\n */\n columnFilteringPlaceholder?: string;\n\n /**\n * Specifies an `aria-label` for the filtering input.\n * @i18n\n */\n columnFilteringAriaLabel?: string;\n\n /**\n * Specifies the `count text` for the filtering input to reflect matches found.\n * @i18n\n */\n columnFilteringCountText?: (count: number) => string;\n\n /**\n * Specifies the `no match` text for when there are no matching options in the filtering.\n * @i18n\n */\n columnFilteringNoMatchText?: string;\n\n /**\n * Specifies both an `aria-label` for the clear filtering input action and the `clear filter button` text for the no match button.\n * @i18n\n */\n columnFilteringClearFilterText?: string;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/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';\nimport { BaseModalProps } from '../modal/interfaces';\n\nexport interface CollectionPreferencesProps<CustomPreferenceType = any> extends BaseComponentProps, BaseModalProps {\n /**\n * Specifies the title of the preferences modal dialog. It is also used as an `aria-label` for the trigger button.\n * @i18n\n */\n title?: string;\n /**\n * Label of the confirm button in the modal footer.\n * @i18n\n */\n confirmLabel?: string;\n /**\n * Label of the cancel button in the modal footer.\n * @i18n\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 * @i18n\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 * @i18n\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 * @i18n\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 * @i18n\n */\n contentDensityPreference?: CollectionPreferencesProps.ContentDensityPreference;\n /**\n * Configures the sticky columns preference that can be set for both left and right columns.\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 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 the table columns.\n *\n * Recommended for table and not applicable for cards.\n *\n * Cannot be used together with `visibleContentPreference`.\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 * - `description` (string) - Specifies the description displayed below the title.\n * - `options` - Specifies an array of options for reordering and visible content selection.\n * - `enableColumnFiltering` (boolean) - Adds a columns filter.\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 *\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 * @i18n\n */\n contentDisplayPreference?: CollectionPreferencesProps.ContentDisplayPreference;\n /**\n * Configures the built-in visible sections preference for cards or visible columns for table.\n *\n * Recommended for cards. For table use `contentDisplayPreference` instead.\n *\n * Cannot be used together with `contentDisplayPreference`.\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 array 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 * **Deprecated** in table, replaced by `contentDisplayPreference`.\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 * - `contentDensity` (boolean) - (Optional) The current content density preference value. Available only if you specify the `contentDensityPreference` property.\n * - `contentDisplay` (ReadonlyArray<ContentDisplayItem>) - (Optional) The ordered list of table columns and their visibility. Available only if you specify the `contentDisplayPreference` property.\n * - `custom` (CustomPreferenceType) - (Optional) The selected value for your custom preference.\n * - `pageSize` (number) - (Optional) The selected page size value. Available only if you specify the `pageSizePreference` property.\n * - `stickyColumns` (CollectionPreferencesProps.StickyColumns) - (Optional) The current sticky columns preference value. Available only if you specify the `stickyColumnsPreference` property.\n * - `stripedRows` (boolean) - (Optional) The current striped rows preference value. Available only if you specify the `stripedRowsPreference` property.\n * - `visibleContent` (ReadonlyArray<string>) - (Optional) The list of selected content `id`s. Available only if you specify the `visibleContentPreference` property.\n * - `wrapLines` (boolean) - (Optional) The current line wrapping preference value. Available only if you specify the `wrapLinesPreference` property.\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 enableColumnFiltering?: boolean;\n i18nStrings?: ContentDisplayPreferenceI18nStrings;\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 export interface ContentDisplayPreferenceI18nStrings {\n /**\n * Specifies a `placeholder` for the filtering input.\n * @i18n\n */\n columnFilteringPlaceholder?: string;\n\n /**\n * Specifies an `aria-label` for the filtering input.\n * @i18n\n */\n columnFilteringAriaLabel?: string;\n\n /**\n * Specifies the `count text` for the filtering input to reflect matches found.\n * @i18n\n */\n columnFilteringCountText?: (count: number) => string;\n\n /**\n * Specifies the `no match` text for when there are no matching options in the filtering.\n * @i18n\n */\n columnFilteringNoMatchText?: string;\n\n /**\n * Specifies both an `aria-label` for the clear filtering input action and the `clear filter button` text for the no match button.\n * @i18n\n */\n columnFilteringClearFilterText?: string;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAKlF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAAE,0BAA0B;IACzG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,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-mode';
15
15
  import { StickyHeaderContext, useStickyHeader } from './use-sticky-header';
16
16
  import analyticsSelectors from './analytics-metadata/styles.css.js';
17
17
  import styles from './styles.css.js';
18
+ import testStyles from './test-classes/styles.css.js';
18
19
  export function InternalContainerAsSubstep(props) {
19
20
  const { subStepRef, funnelSubStepProps } = useFunnelSubStep();
20
21
  const modalContext = useModalContext();
@@ -55,9 +56,11 @@ export default function InternalContainer(_a) {
55
56
  }) }, stickyStyles, { ref: headerMergedRef }),
56
57
  isStuck && !isMobile && isRefresh && __fullPage && React.createElement("div", { className: styles['header-cover'] }),
57
58
  header)))),
58
- React.createElement("div", { className: clsx(styles.content, fitHeight && styles['content-fit-height'], {
59
- [styles['with-paddings']]: !disableContentPaddings,
60
- }) }, children),
59
+ React.createElement("div", { className: clsx(styles.content, fitHeight && styles['content-fit-height']) },
60
+ React.createElement("div", { className: clsx(styles['content-inner'], testStyles['content-inner'], {
61
+ [styles['with-paddings']]: !disableContentPaddings,
62
+ [styles['with-header']]: !!header,
63
+ }) }, children)),
61
64
  footer && (React.createElement("div", { className: clsx(styles.footer, {
62
65
  [styles['with-divider']]: !__disableFooterDivider,
63
66
  [styles['with-paddings']]: !__disableFooterPaddings,
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kEAAkE,CAAC;AAE9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,OA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CACG,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { getAnalyticsLabelAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';\nimport { getBaseProps } from '../internal/base-component';\nimport { ContainerHeaderContextProvider } from '../internal/context/container-header';\nimport { useModalContext } from '../internal/context/modal-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { ContainerProps } from './interfaces';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __mobileStickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __hiddenContent?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\n __fullPage?: boolean;\n __disableStickyMobile?: boolean;\n /**\n * Additional internal variant:\n * * `embedded` - Use this variant within a parent container (such as a modal,\n * expandable section, container or split panel).\n * * `full-page` – Only for internal use in table, cards and other components\n */\n variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';\n\n __funnelSubStepProps?: ReturnType<typeof useFunnelSubStep>['funnelSubStepProps'];\n __subStepRef?: ReturnType<typeof useFunnelSubStep>['subStepRef'];\n}\n\nexport function InternalContainerAsSubstep(props: InternalContainerProps) {\n const { subStepRef, funnelSubStepProps } = useFunnelSubStep();\n const modalContext = useModalContext();\n\n return (\n <InternalContainer\n {...props}\n __subStepRef={modalContext?.isInModal ? { current: null } : subStepRef}\n __funnelSubStepProps={modalContext?.isInModal ? {} : funnelSubStepProps}\n />\n );\n}\n\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n fitHeight,\n media,\n __stickyOffset,\n __mobileStickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __hiddenContent = false,\n __headerRef,\n __fullPage = false,\n __disableStickyMobile = true,\n __funnelSubStepProps,\n __subStepRef,\n ...restProps\n}: InternalContainerProps) {\n const isMobile = useMobile();\n const isRefresh = useVisualRefresh();\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(\n rootRef,\n headerRef,\n __stickyHeader,\n __stickyOffset,\n __mobileStickyOffset,\n __disableStickyMobile,\n __fullPage && isRefresh && !isMobile\n );\n const contentId = useUniqueId();\n\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, __headerRef);\n\n // The container is only sticky on mobile if it is the header for the table.\n // In this case we don't want the container to have sticky styles, as only the table header row will show as stuck on scroll.\n const shouldHaveStickyStyles = isSticky && !isMobile;\n\n const hasMedia = !!media?.content;\n const mediaPosition = media?.position ?? 'top';\n return (\n <div\n {...baseProps}\n {...__funnelSubStepProps}\n className={clsx(\n baseProps.className,\n styles.root,\n styles[`variant-${variant}`],\n fitHeight && styles['fit-height'],\n hasMedia && (mediaPosition === 'side' ? styles['with-side-media'] : styles['with-top-media']),\n shouldHaveStickyStyles && [styles['sticky-enabled']],\n isRefresh && styles.refresh\n )}\n ref={mergedRef}\n {...getAnalyticsLabelAttribute(\n `.${analyticsSelectors.header} h1, .${analyticsSelectors.header} h2, .${analyticsSelectors.header} h3`\n )}\n >\n {hasMedia && (\n <div\n className={clsx(styles[`media-${mediaPosition === 'side' ? 'side' : 'top'}`], styles.media)}\n style={mediaPosition === 'top' ? { height: media?.height || '' } : { width: media?.width || '' }}\n >\n {media.content}\n </div>\n )}\n <div\n id={contentId}\n ref={__subStepRef}\n className={clsx(styles['content-wrapper'], fitHeight && styles['content-wrapper-fit-height'])}\n >\n {header && (\n <ContainerHeaderContextProvider>\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(\n isRefresh && styles.refresh,\n styles.header,\n analyticsSelectors.header,\n styles[`header-variant-${variant}`],\n {\n [styles['header-sticky-disabled']]: __stickyHeader && !isSticky,\n [styles['header-sticky-enabled']]: isSticky,\n [styles['header-dynamic-height']]: hasDynamicHeight,\n [styles['header-stuck']]: isStuck,\n [styles['with-paddings']]: !disableHeaderPaddings,\n [styles['with-hidden-content']]: !children || __hiddenContent,\n [styles['header-with-media']]: hasMedia,\n [styles['header-full-page']]: __fullPage && isRefresh,\n }\n )}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {isStuck && !isMobile && isRefresh && __fullPage && <div className={styles['header-cover']}></div>}\n {header}\n </div>\n </StickyHeaderContext.Provider>\n </ContainerHeaderContextProvider>\n )}\n <div\n className={clsx(styles.content, fitHeight && styles['content-fit-height'], {\n [styles['with-paddings']]: !disableContentPaddings,\n })}\n >\n {children}\n </div>\n {footer && (\n <div\n className={clsx(styles.footer, {\n [styles['with-divider']]: !__disableFooterDivider,\n [styles['with-paddings']]: !__disableFooterPaddings,\n })}\n >\n {footer}\n </div>\n )}\n </div>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,0BAA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M,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE;wBACpE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,sBAAsB;wBAClD,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM;qBAClC,CAAC,IAED,QAAQ,CACL,CACF;YACL,MAAM,IAAI,CACT,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;oBAC7B,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,sBAAsB;oBACjD,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,uBAAuB;iBACpD,CAAC,IAED,MAAM,CACH,CACP,CACG,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { getAnalyticsLabelAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';\nimport { getBaseProps } from '../internal/base-component';\nimport { ContainerHeaderContextProvider } from '../internal/context/container-header';\nimport { useModalContext } from '../internal/context/modal-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { ContainerProps } from './interfaces';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\nimport testStyles from './test-classes/styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __mobileStickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __hiddenContent?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\n __fullPage?: boolean;\n __disableStickyMobile?: boolean;\n /**\n * Additional internal variant:\n * * `embedded` - Use this variant within a parent container (such as a modal,\n * expandable section, container or split panel).\n * * `full-page` – Only for internal use in table, cards and other components\n */\n variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';\n\n __funnelSubStepProps?: ReturnType<typeof useFunnelSubStep>['funnelSubStepProps'];\n __subStepRef?: ReturnType<typeof useFunnelSubStep>['subStepRef'];\n}\n\nexport function InternalContainerAsSubstep(props: InternalContainerProps) {\n const { subStepRef, funnelSubStepProps } = useFunnelSubStep();\n const modalContext = useModalContext();\n\n return (\n <InternalContainer\n {...props}\n __subStepRef={modalContext?.isInModal ? { current: null } : subStepRef}\n __funnelSubStepProps={modalContext?.isInModal ? {} : funnelSubStepProps}\n />\n );\n}\n\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n fitHeight,\n media,\n __stickyOffset,\n __mobileStickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __hiddenContent = false,\n __headerRef,\n __fullPage = false,\n __disableStickyMobile = true,\n __funnelSubStepProps,\n __subStepRef,\n ...restProps\n}: InternalContainerProps) {\n const isMobile = useMobile();\n const isRefresh = useVisualRefresh();\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(\n rootRef,\n headerRef,\n __stickyHeader,\n __stickyOffset,\n __mobileStickyOffset,\n __disableStickyMobile,\n __fullPage && isRefresh && !isMobile\n );\n const contentId = useUniqueId();\n\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, __headerRef);\n\n // The container is only sticky on mobile if it is the header for the table.\n // In this case we don't want the container to have sticky styles, as only the table header row will show as stuck on scroll.\n const shouldHaveStickyStyles = isSticky && !isMobile;\n\n const hasMedia = !!media?.content;\n const mediaPosition = media?.position ?? 'top';\n return (\n <div\n {...baseProps}\n {...__funnelSubStepProps}\n className={clsx(\n baseProps.className,\n styles.root,\n styles[`variant-${variant}`],\n fitHeight && styles['fit-height'],\n hasMedia && (mediaPosition === 'side' ? styles['with-side-media'] : styles['with-top-media']),\n shouldHaveStickyStyles && [styles['sticky-enabled']],\n isRefresh && styles.refresh\n )}\n ref={mergedRef}\n {...getAnalyticsLabelAttribute(\n `.${analyticsSelectors.header} h1, .${analyticsSelectors.header} h2, .${analyticsSelectors.header} h3`\n )}\n >\n {hasMedia && (\n <div\n className={clsx(styles[`media-${mediaPosition === 'side' ? 'side' : 'top'}`], styles.media)}\n style={mediaPosition === 'top' ? { height: media?.height || '' } : { width: media?.width || '' }}\n >\n {media.content}\n </div>\n )}\n <div\n id={contentId}\n ref={__subStepRef}\n className={clsx(styles['content-wrapper'], fitHeight && styles['content-wrapper-fit-height'])}\n >\n {header && (\n <ContainerHeaderContextProvider>\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(\n isRefresh && styles.refresh,\n styles.header,\n analyticsSelectors.header,\n styles[`header-variant-${variant}`],\n {\n [styles['header-sticky-disabled']]: __stickyHeader && !isSticky,\n [styles['header-sticky-enabled']]: isSticky,\n [styles['header-dynamic-height']]: hasDynamicHeight,\n [styles['header-stuck']]: isStuck,\n [styles['with-paddings']]: !disableHeaderPaddings,\n [styles['with-hidden-content']]: !children || __hiddenContent,\n [styles['header-with-media']]: hasMedia,\n [styles['header-full-page']]: __fullPage && isRefresh,\n }\n )}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {isStuck && !isMobile && isRefresh && __fullPage && <div className={styles['header-cover']}></div>}\n {header}\n </div>\n </StickyHeaderContext.Provider>\n </ContainerHeaderContextProvider>\n )}\n <div className={clsx(styles.content, fitHeight && styles['content-fit-height'])}>\n <div\n className={clsx(styles['content-inner'], testStyles['content-inner'], {\n [styles['with-paddings']]: !disableContentPaddings,\n [styles['with-header']]: !!header,\n })}\n >\n {children}\n </div>\n </div>\n {footer && (\n <div\n className={clsx(styles.footer, {\n [styles['with-divider']]: !__disableFooterDivider,\n [styles['with-paddings']]: !__disableFooterPaddings,\n })}\n >\n {footer}\n </div>\n )}\n </div>\n </div>\n );\n}\n"]}
@@ -1,35 +1,36 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_14iqq_1y1ct_185",
5
- "fit-height": "awsui_fit-height_14iqq_1y1ct_221",
6
- "with-side-media": "awsui_with-side-media_14iqq_1y1ct_226",
7
- "variant-default": "awsui_variant-default_14iqq_1y1ct_229",
8
- "variant-stacked": "awsui_variant-stacked_14iqq_1y1ct_229",
9
- "refresh": "awsui_refresh_14iqq_1y1ct_237",
10
- "sticky-enabled": "awsui_sticky-enabled_14iqq_1y1ct_287",
11
- "with-top-media": "awsui_with-top-media_14iqq_1y1ct_299",
12
- "content-wrapper": "awsui_content-wrapper_14iqq_1y1ct_304",
13
- "content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_1y1ct_309",
14
- "media": "awsui_media_14iqq_1y1ct_316",
15
- "media-top": "awsui_media-top_14iqq_1y1ct_334",
16
- "media-side": "awsui_media-side_14iqq_1y1ct_339",
17
- "header": "awsui_header_14iqq_1y1ct_345",
18
- "header-full-page": "awsui_header-full-page_14iqq_1y1ct_350",
19
- "header-with-media": "awsui_header-with-media_14iqq_1y1ct_353",
20
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_1y1ct_359",
21
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_1y1ct_363",
22
- "header-stuck": "awsui_header-stuck_14iqq_1y1ct_369",
23
- "header-variant-cards": "awsui_header-variant-cards_14iqq_1y1ct_379",
24
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_1y1ct_382",
25
- "with-paddings": "awsui_with-paddings_14iqq_1y1ct_388",
26
- "with-hidden-content": "awsui_with-hidden-content_14iqq_1y1ct_397",
27
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_1y1ct_455",
28
- "header-cover": "awsui_header-cover_14iqq_1y1ct_458",
29
- "content": "awsui_content_14iqq_1y1ct_304",
30
- "content-fit-height": "awsui_content-fit-height_14iqq_1y1ct_486",
31
- "content-with-media": "awsui_content-with-media_14iqq_1y1ct_496",
32
- "footer": "awsui_footer_14iqq_1y1ct_500",
33
- "with-divider": "awsui_with-divider_14iqq_1y1ct_504"
4
+ "root": "awsui_root_14iqq_1br00_185",
5
+ "fit-height": "awsui_fit-height_14iqq_1br00_221",
6
+ "with-side-media": "awsui_with-side-media_14iqq_1br00_226",
7
+ "variant-default": "awsui_variant-default_14iqq_1br00_229",
8
+ "variant-stacked": "awsui_variant-stacked_14iqq_1br00_229",
9
+ "refresh": "awsui_refresh_14iqq_1br00_237",
10
+ "sticky-enabled": "awsui_sticky-enabled_14iqq_1br00_287",
11
+ "with-top-media": "awsui_with-top-media_14iqq_1br00_299",
12
+ "content-wrapper": "awsui_content-wrapper_14iqq_1br00_304",
13
+ "content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_1br00_309",
14
+ "media": "awsui_media_14iqq_1br00_316",
15
+ "media-top": "awsui_media-top_14iqq_1br00_334",
16
+ "media-side": "awsui_media-side_14iqq_1br00_339",
17
+ "header": "awsui_header_14iqq_1br00_345",
18
+ "header-full-page": "awsui_header-full-page_14iqq_1br00_350",
19
+ "header-with-media": "awsui_header-with-media_14iqq_1br00_353",
20
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_1br00_359",
21
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_1br00_363",
22
+ "header-stuck": "awsui_header-stuck_14iqq_1br00_369",
23
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_1br00_379",
24
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_1br00_382",
25
+ "with-paddings": "awsui_with-paddings_14iqq_1br00_388",
26
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_1br00_397",
27
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_1br00_455",
28
+ "header-cover": "awsui_header-cover_14iqq_1br00_458",
29
+ "content": "awsui_content_14iqq_1br00_304",
30
+ "content-fit-height": "awsui_content-fit-height_14iqq_1br00_486",
31
+ "content-inner": "awsui_content-inner_14iqq_1br00_492",
32
+ "with-header": "awsui_with-header_14iqq_1br00_499",
33
+ "footer": "awsui_footer_14iqq_1br00_503",
34
+ "with-divider": "awsui_with-divider_14iqq_1br00_507"
34
35
  };
35
36
 
@@ -182,7 +182,7 @@ 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_root_14iqq_1y1ct_185:not(#\9) {
185
+ .awsui_root_14iqq_1br00_185:not(#\9) {
186
186
  border-collapse: separate;
187
187
  border-spacing: 0;
188
188
  box-sizing: border-box;
@@ -219,15 +219,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
219
219
  word-wrap: break-word;
220
220
  position: relative;
221
221
  }
222
- .awsui_root_14iqq_1y1ct_185.awsui_fit-height_14iqq_1y1ct_221:not(#\9) {
222
+ .awsui_root_14iqq_1br00_185.awsui_fit-height_14iqq_1br00_221:not(#\9) {
223
223
  display: flex;
224
224
  flex-direction: column;
225
225
  block-size: 100%;
226
226
  }
227
- .awsui_root_14iqq_1y1ct_185.awsui_fit-height_14iqq_1y1ct_221.awsui_with-side-media_14iqq_1y1ct_226:not(#\9) {
227
+ .awsui_root_14iqq_1br00_185.awsui_fit-height_14iqq_1br00_221.awsui_with-side-media_14iqq_1br00_226:not(#\9) {
228
228
  flex-direction: row;
229
229
  }
230
- .awsui_root_14iqq_1y1ct_185.awsui_variant-default_14iqq_1y1ct_229:not(#\9), .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9) {
230
+ .awsui_root_14iqq_1br00_185.awsui_variant-default_14iqq_1br00_229:not(#\9), .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9) {
231
231
  background-color: var(--color-background-container-content-myy7cn, #ffffff);
232
232
  border-start-start-radius: var(--border-radius-container-3o3ats, 0px);
233
233
  border-start-end-radius: var(--border-radius-container-3o3ats, 0px);
@@ -235,11 +235,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
235
235
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
236
236
  box-sizing: border-box;
237
237
  }
238
- .awsui_root_14iqq_1y1ct_185.awsui_variant-default_14iqq_1y1ct_229.awsui_refresh_14iqq_1y1ct_237:not(#\9), .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229.awsui_refresh_14iqq_1y1ct_237:not(#\9) {
238
+ .awsui_root_14iqq_1br00_185.awsui_variant-default_14iqq_1br00_229.awsui_refresh_14iqq_1br00_237:not(#\9), .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229.awsui_refresh_14iqq_1br00_237:not(#\9) {
239
239
  border-block: solid var(--border-divider-section-width-iueskx, 1px) var(--color-border-divider-default-u5ytia, #eaeded);
240
240
  border-inline: solid var(--border-divider-section-width-iueskx, 1px) var(--color-border-divider-default-u5ytia, #eaeded);
241
241
  }
242
- .awsui_root_14iqq_1y1ct_185.awsui_variant-default_14iqq_1y1ct_229:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::before, .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::before {
242
+ .awsui_root_14iqq_1br00_185.awsui_variant-default_14iqq_1br00_229:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::before, .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::before {
243
243
  content: "";
244
244
  position: absolute;
245
245
  inset-inline-start: 0px;
@@ -257,7 +257,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
257
257
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
258
258
  z-index: 1;
259
259
  }
260
- .awsui_root_14iqq_1y1ct_185.awsui_variant-default_14iqq_1y1ct_229:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::after, .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::after {
260
+ .awsui_root_14iqq_1br00_185.awsui_variant-default_14iqq_1br00_229:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::after, .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::after {
261
261
  content: "";
262
262
  position: absolute;
263
263
  inset-inline-start: 0px;
@@ -273,144 +273,144 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
273
273
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
274
274
  box-shadow: var(--shadow-container-8g76zh, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
275
275
  }
276
- .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(:last-child), .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(:last-child)::before, .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(:last-child)::after {
276
+ .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(:last-child), .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(:last-child)::before, .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(:last-child)::after {
277
277
  border-end-end-radius: 0;
278
278
  border-end-start-radius: 0;
279
279
  border-block-end-width: 0;
280
280
  }
281
- .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229 + .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9), .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229 + .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9)::before, .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229 + .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9)::after {
281
+ .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229 + .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9), .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229 + .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9)::before, .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229 + .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9)::after {
282
282
  border-start-start-radius: 0;
283
283
  border-start-end-radius: 0;
284
284
  }
285
- .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229 + .awsui_root_14iqq_1y1ct_185.awsui_variant-stacked_14iqq_1y1ct_229:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::before {
285
+ .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229 + .awsui_root_14iqq_1br00_185.awsui_variant-stacked_14iqq_1br00_229:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::before {
286
286
  border-block-start: var(--border-divider-section-width-iueskx, 1px) solid var(--color-border-divider-default-u5ytia, #eaeded);
287
287
  }
288
- .awsui_root_14iqq_1y1ct_185.awsui_sticky-enabled_14iqq_1y1ct_287:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::before {
288
+ .awsui_root_14iqq_1br00_185.awsui_sticky-enabled_14iqq_1br00_287:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::before {
289
289
  inset-block-start: calc(-1 * var(--border-container-top-width-197qfn, 1px));
290
290
  }
291
- .awsui_root_14iqq_1y1ct_185.awsui_sticky-enabled_14iqq_1y1ct_287:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237).awsui_variant-stacked_14iqq_1y1ct_229::before {
291
+ .awsui_root_14iqq_1br00_185.awsui_sticky-enabled_14iqq_1br00_287:not(#\9):not(.awsui_refresh_14iqq_1br00_237).awsui_variant-stacked_14iqq_1br00_229::before {
292
292
  inset-block-start: calc(-1 * var(--border-divider-section-width-iueskx, 1px));
293
293
  }
294
294
 
295
- .awsui_with-side-media_14iqq_1y1ct_226:not(#\9) {
295
+ .awsui_with-side-media_14iqq_1br00_226:not(#\9) {
296
296
  display: flex;
297
297
  flex-direction: row;
298
298
  }
299
299
 
300
- .awsui_with-top-media_14iqq_1y1ct_299:not(#\9) {
300
+ .awsui_with-top-media_14iqq_1br00_299:not(#\9) {
301
301
  display: flex;
302
302
  flex-direction: column;
303
303
  }
304
304
 
305
- .awsui_content-wrapper_14iqq_1y1ct_304:not(#\9) {
305
+ .awsui_content-wrapper_14iqq_1br00_304:not(#\9) {
306
306
  display: flex;
307
307
  flex-direction: column;
308
308
  inline-size: 100%;
309
309
  }
310
- .awsui_content-wrapper-fit-height_14iqq_1y1ct_309:not(#\9) {
310
+ .awsui_content-wrapper-fit-height_14iqq_1br00_309:not(#\9) {
311
311
  block-size: 100%;
312
312
  overflow: hidden;
313
313
  border-end-start-radius: var(--border-radius-container-3o3ats, 0px);
314
314
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
315
315
  }
316
316
 
317
- .awsui_media_14iqq_1y1ct_316:not(#\9) {
317
+ .awsui_media_14iqq_1br00_316:not(#\9) {
318
318
  overflow: hidden;
319
319
  flex-shrink: 0;
320
320
  }
321
- .awsui_media_14iqq_1y1ct_316 img:not(#\9),
322
- .awsui_media_14iqq_1y1ct_316 video:not(#\9),
323
- .awsui_media_14iqq_1y1ct_316 picture:not(#\9) {
321
+ .awsui_media_14iqq_1br00_316 img:not(#\9),
322
+ .awsui_media_14iqq_1br00_316 video:not(#\9),
323
+ .awsui_media_14iqq_1br00_316 picture:not(#\9) {
324
324
  inline-size: 100%;
325
325
  block-size: 100%;
326
326
  object-fit: cover;
327
327
  object-position: center;
328
328
  }
329
- .awsui_media_14iqq_1y1ct_316 iframe:not(#\9) {
329
+ .awsui_media_14iqq_1br00_316 iframe:not(#\9) {
330
330
  inline-size: 100%;
331
331
  block-size: 100%;
332
332
  border-block: 0;
333
333
  border-inline: 0;
334
334
  }
335
- .awsui_media-top_14iqq_1y1ct_334:not(#\9) {
335
+ .awsui_media-top_14iqq_1br00_334:not(#\9) {
336
336
  max-block-size: 66%;
337
337
  border-start-start-radius: calc(var(--border-radius-container-3o3ats, 0px) - 1px);
338
338
  border-start-end-radius: calc(var(--border-radius-container-3o3ats, 0px) - 1px);
339
339
  }
340
- .awsui_media-side_14iqq_1y1ct_339:not(#\9) {
340
+ .awsui_media-side_14iqq_1br00_339:not(#\9) {
341
341
  max-inline-size: 66%;
342
342
  border-start-start-radius: calc(var(--border-radius-container-3o3ats, 0px) - 1px);
343
343
  border-end-start-radius: calc(var(--border-radius-container-3o3ats, 0px) - 1px);
344
344
  }
345
345
 
346
- .awsui_header_14iqq_1y1ct_345:not(#\9) {
346
+ .awsui_header_14iqq_1br00_345:not(#\9) {
347
347
  background-color: var(--color-background-container-header-9jxtzb, #fafafa);
348
348
  border-start-start-radius: var(--border-radius-container-3o3ats, 0px);
349
349
  border-start-end-radius: var(--border-radius-container-3o3ats, 0px);
350
350
  }
351
- .awsui_header_14iqq_1y1ct_345.awsui_header-full-page_14iqq_1y1ct_350:not(#\9) {
351
+ .awsui_header_14iqq_1br00_345.awsui_header-full-page_14iqq_1br00_350:not(#\9) {
352
352
  background-color: var(--color-background-layout-main-f96353, #f2f3f3);
353
353
  }
354
- .awsui_header_14iqq_1y1ct_345.awsui_header-with-media_14iqq_1y1ct_353:not(#\9) {
354
+ .awsui_header_14iqq_1br00_345.awsui_header-with-media_14iqq_1br00_353:not(#\9) {
355
355
  background: none;
356
356
  }
357
- .awsui_header_14iqq_1y1ct_345.awsui_header-with-media_14iqq_1y1ct_353:not(#\9):not(:empty) {
357
+ .awsui_header_14iqq_1br00_345.awsui_header-with-media_14iqq_1br00_353:not(#\9):not(:empty) {
358
358
  border-block-end: none;
359
359
  }
360
- .awsui_header-sticky-disabled_14iqq_1y1ct_359:not(#\9) {
360
+ .awsui_header-sticky-disabled_14iqq_1br00_359:not(#\9) {
361
361
  position: relative;
362
362
  z-index: 1;
363
363
  }
364
- .awsui_header-sticky-enabled_14iqq_1y1ct_363:not(#\9) {
364
+ .awsui_header-sticky-enabled_14iqq_1br00_363:not(#\9) {
365
365
  inset-block-start: 0;
366
366
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
367
367
  position: sticky;
368
368
  z-index: 800;
369
369
  }
370
- .awsui_header-stuck_14iqq_1y1ct_369:not(#\9) {
370
+ .awsui_header-stuck_14iqq_1br00_369:not(#\9) {
371
371
  border-start-start-radius: 0;
372
372
  border-start-end-radius: 0;
373
373
  border-end-start-radius: 0;
374
374
  border-end-end-radius: 0;
375
375
  }
376
- .awsui_header-stuck_14iqq_1y1ct_369:not(#\9)::before {
376
+ .awsui_header-stuck_14iqq_1br00_369:not(#\9)::before {
377
377
  border-block: 0;
378
378
  border-inline: 0;
379
379
  }
380
- .awsui_header-stuck_14iqq_1y1ct_369:not(#\9):not(.awsui_header-variant-cards_14iqq_1y1ct_379) {
380
+ .awsui_header-stuck_14iqq_1br00_369:not(#\9):not(.awsui_header-variant-cards_14iqq_1br00_379) {
381
381
  box-shadow: var(--shadow-sticky-embedded-bxmsxm, 0px 1px 4px -2px rgba(0, 28, 36, 0.5));
382
382
  }
383
- .awsui_header-dynamic-height_14iqq_1y1ct_382.awsui_header-stuck_14iqq_1y1ct_369:not(#\9) {
383
+ .awsui_header-dynamic-height_14iqq_1br00_382.awsui_header-stuck_14iqq_1br00_369:not(#\9) {
384
384
  margin-block-end: calc(var(--line-height-heading-xl-66u22x, 36px) - var(--line-height-heading-l-643aq3, 22px));
385
385
  }
386
- .awsui_header_14iqq_1y1ct_345:not(#\9):not(:empty) {
386
+ .awsui_header_14iqq_1br00_345:not(#\9):not(:empty) {
387
387
  border-block-end: var(--border-container-sticky-width-lhedby, 1px) solid var(--color-border-container-divider-xr1vlc, #eaeded);
388
388
  }
389
- .awsui_header_14iqq_1y1ct_345.awsui_with-paddings_14iqq_1y1ct_388:not(#\9) {
389
+ .awsui_header_14iqq_1br00_345.awsui_with-paddings_14iqq_1br00_388:not(#\9) {
390
390
  padding-block-start: var(--space-container-header-top-2yfg3x, 12px);
391
391
  padding-block-end: var(--space-container-header-bottom-p6av5y, 12px);
392
392
  padding-inline: var(--space-container-horizontal-v3575u, 20px);
393
393
  }
394
- .awsui_header_14iqq_1y1ct_345.awsui_with-paddings_14iqq_1y1ct_388.awsui_header-variant-cards_14iqq_1y1ct_379:not(#\9) {
394
+ .awsui_header_14iqq_1br00_345.awsui_with-paddings_14iqq_1br00_388.awsui_header-variant-cards_14iqq_1br00_379:not(#\9) {
395
395
  padding-block: var(--space-container-header-top-2yfg3x, 12px);
396
396
  padding-inline: var(--space-container-horizontal-v3575u, 20px);
397
397
  }
398
- .awsui_header_14iqq_1y1ct_345.awsui_with-hidden-content_14iqq_1y1ct_397:not(#\9) {
398
+ .awsui_header_14iqq_1br00_345.awsui_with-hidden-content_14iqq_1br00_397:not(#\9) {
399
399
  border-end-start-radius: var(--border-radius-container-3o3ats, 0px);
400
400
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
401
401
  }
402
- .awsui_header-variant-cards_14iqq_1y1ct_379:not(#\9) {
402
+ .awsui_header-variant-cards_14iqq_1br00_379:not(#\9) {
403
403
  border-start-start-radius: var(--border-radius-container-3o3ats, 0px);
404
404
  border-start-end-radius: var(--border-radius-container-3o3ats, 0px);
405
405
  border-end-start-radius: var(--border-radius-container-3o3ats, 0px);
406
406
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
407
407
  box-sizing: border-box;
408
408
  }
409
- .awsui_header-variant-cards_14iqq_1y1ct_379.awsui_refresh_14iqq_1y1ct_237:not(#\9) {
409
+ .awsui_header-variant-cards_14iqq_1br00_379.awsui_refresh_14iqq_1br00_237:not(#\9) {
410
410
  border-block: solid var(--border-divider-section-width-iueskx, 1px) var(--color-border-divider-default-u5ytia, #eaeded);
411
411
  border-inline: solid var(--border-divider-section-width-iueskx, 1px) var(--color-border-divider-default-u5ytia, #eaeded);
412
412
  }
413
- .awsui_header-variant-cards_14iqq_1y1ct_379:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::before {
413
+ .awsui_header-variant-cards_14iqq_1br00_379:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::before {
414
414
  content: "";
415
415
  position: absolute;
416
416
  inset-inline-start: 0px;
@@ -428,7 +428,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
428
428
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
429
429
  z-index: 1;
430
430
  }
431
- .awsui_header-variant-cards_14iqq_1y1ct_379:not(#\9):not(.awsui_refresh_14iqq_1y1ct_237)::after {
431
+ .awsui_header-variant-cards_14iqq_1br00_379:not(#\9):not(.awsui_refresh_14iqq_1br00_237)::after {
432
432
  content: "";
433
433
  position: absolute;
434
434
  inset-inline-start: 0px;
@@ -444,26 +444,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
444
444
  border-end-end-radius: var(--border-radius-container-3o3ats, 0px);
445
445
  box-shadow: var(--shadow-container-8g76zh, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
446
446
  }
447
- .awsui_header-variant-cards_14iqq_1y1ct_379:not(#\9):not(.awsui_header-sticky-enabled_14iqq_1y1ct_363) {
447
+ .awsui_header-variant-cards_14iqq_1br00_379:not(#\9):not(.awsui_header-sticky-enabled_14iqq_1br00_363) {
448
448
  position: relative;
449
449
  }
450
- .awsui_header-variant-cards_14iqq_1y1ct_379.awsui_header-stuck_14iqq_1y1ct_369:not(#\9)::after, .awsui_header-variant-cards_14iqq_1y1ct_379.awsui_header-stuck_14iqq_1y1ct_369:not(#\9)::before {
450
+ .awsui_header-variant-cards_14iqq_1br00_379.awsui_header-stuck_14iqq_1br00_369:not(#\9)::after, .awsui_header-variant-cards_14iqq_1br00_379.awsui_header-stuck_14iqq_1br00_369:not(#\9)::before {
451
451
  border-block: 0;
452
452
  border-inline: 0;
453
453
  border-start-start-radius: 0;
454
454
  border-start-end-radius: 0;
455
455
  }
456
- .awsui_header-variant-full-page_14iqq_1y1ct_455.awsui_header-stuck_14iqq_1y1ct_369:not(#\9) {
456
+ .awsui_header-variant-full-page_14iqq_1br00_455.awsui_header-stuck_14iqq_1br00_369:not(#\9) {
457
457
  box-shadow: none;
458
458
  }
459
- .awsui_header-variant-full-page_14iqq_1y1ct_455.awsui_header-stuck_14iqq_1y1ct_369 > .awsui_header-cover_14iqq_1y1ct_458:not(#\9) {
459
+ .awsui_header-variant-full-page_14iqq_1br00_455.awsui_header-stuck_14iqq_1br00_369 > .awsui_header-cover_14iqq_1br00_458:not(#\9) {
460
460
  background-color: var(--color-background-layout-main-f96353, #f2f3f3);
461
461
  inline-size: 100%;
462
462
  position: absolute;
463
463
  block-size: var(--space-scaled-s-8j7izy, 12px);
464
464
  inset-block-start: calc(-1 * var(--space-scaled-s-8j7izy, 12px));
465
465
  }
466
- .awsui_header-variant-full-page_14iqq_1y1ct_455.awsui_header-stuck_14iqq_1y1ct_369:not(#\9)::before {
466
+ .awsui_header-variant-full-page_14iqq_1br00_455.awsui_header-stuck_14iqq_1br00_369:not(#\9)::before {
467
467
  content: "";
468
468
  position: absolute;
469
469
  pointer-events: none;
@@ -473,7 +473,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
473
473
  inset-block-start: 0;
474
474
  border-block-end: solid var(--border-divider-section-width-iueskx, 1px) var(--color-border-divider-default-u5ytia, #eaeded);
475
475
  }
476
- .awsui_header-variant-full-page_14iqq_1y1ct_455.awsui_header-stuck_14iqq_1y1ct_369:not(#\9)::after {
476
+ .awsui_header-variant-full-page_14iqq_1br00_455.awsui_header-stuck_14iqq_1br00_369:not(#\9)::after {
477
477
  content: "";
478
478
  position: absolute;
479
479
  inset: 0;
@@ -481,27 +481,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
481
481
  clip-path: polygon(-999% 100%, 999% 100%, 999% 999%, -999% 999%);
482
482
  }
483
483
 
484
- .awsui_content_14iqq_1y1ct_304:not(#\9) {
484
+ .awsui_content_14iqq_1br00_304:not(#\9) {
485
485
  flex: 1;
486
486
  }
487
- .awsui_content-fit-height_14iqq_1y1ct_486:not(#\9) {
487
+ .awsui_content-fit-height_14iqq_1br00_486:not(#\9) {
488
488
  overflow: auto;
489
+ display: flex;
490
+ flex-direction: column;
491
+ }
492
+
493
+ .awsui_content-inner_14iqq_1br00_492:not(#\9) {
494
+ flex: 1;
489
495
  }
490
- .awsui_content_14iqq_1y1ct_304.awsui_with-paddings_14iqq_1y1ct_388:not(#\9) {
496
+ .awsui_content-inner_14iqq_1br00_492.awsui_with-paddings_14iqq_1br00_388:not(#\9) {
491
497
  padding-block: var(--space-scaled-l-7e51pg, 20px);
492
498
  padding-inline: var(--space-container-horizontal-v3575u, 20px);
493
499
  }
494
- .awsui_header_14iqq_1y1ct_345 + .awsui_content_14iqq_1y1ct_304.awsui_with-paddings_14iqq_1y1ct_388:not(#\9) {
500
+ .awsui_content-inner_14iqq_1br00_492.awsui_with-paddings_14iqq_1br00_388.awsui_with-header_14iqq_1br00_499:not(#\9) {
495
501
  padding-block-start: var(--space-container-content-top-pvv221, 16px);
496
502
  }
497
- .awsui_header_14iqq_1y1ct_345 + .awsui_content_14iqq_1y1ct_304.awsui_with-paddings_14iqq_1y1ct_388.awsui_content-with-media_14iqq_1y1ct_496:not(#\9) {
498
- padding-block-start: 0;
499
- }
500
503
 
501
- .awsui_footer_14iqq_1y1ct_500.awsui_with-paddings_14iqq_1y1ct_388:not(#\9) {
504
+ .awsui_footer_14iqq_1br00_503.awsui_with-paddings_14iqq_1br00_388:not(#\9) {
502
505
  padding-block: var(--space-scaled-s-8j7izy, 12px);
503
506
  padding-inline: var(--space-container-horizontal-v3575u, 20px);
504
507
  }
505
- .awsui_footer_14iqq_1y1ct_500.awsui_with-divider_14iqq_1y1ct_504:not(#\9) {
508
+ .awsui_footer_14iqq_1br00_503.awsui_with-divider_14iqq_1br00_507:not(#\9) {
506
509
  border-block-start: var(--border-divider-section-width-iueskx, 1px) solid var(--color-border-divider-default-u5ytia, #eaeded);
507
510
  }