@cloudscape-design/components 3.0.45 → 3.0.46

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 (48) hide show
  1. package/container/internal.d.ts +2 -1
  2. package/container/internal.d.ts.map +1 -1
  3. package/container/internal.js +3 -2
  4. package/container/internal.js.map +1 -1
  5. package/container/styles.css.js +16 -15
  6. package/container/styles.scoped.css +29 -24
  7. package/container/styles.selectors.js +16 -15
  8. package/date-picker/styles.css.js +24 -24
  9. package/date-picker/styles.scoped.css +41 -41
  10. package/date-picker/styles.selectors.js +24 -24
  11. package/date-range-picker/styles.css.js +41 -41
  12. package/date-range-picker/styles.scoped.css +50 -50
  13. package/date-range-picker/styles.selectors.js +41 -41
  14. package/expandable-section/expandable-section-container.d.ts.map +1 -1
  15. package/expandable-section/expandable-section-container.js +1 -1
  16. package/expandable-section/expandable-section-container.js.map +1 -1
  17. package/internal/environment.js +1 -1
  18. package/internal/generated/styles/tokens.d.ts +17 -0
  19. package/internal/generated/styles/tokens.js +17 -0
  20. package/internal/generated/theming/index.cjs +35 -1
  21. package/internal/generated/theming/index.cjs.d.ts +85 -0
  22. package/internal/generated/theming/index.d.ts +85 -0
  23. package/internal/generated/theming/index.js +35 -1
  24. package/package.json +1 -1
  25. package/property-filter/controller.d.ts +14 -28
  26. package/property-filter/controller.d.ts.map +1 -1
  27. package/property-filter/controller.js +8 -8
  28. package/property-filter/controller.js.map +1 -1
  29. package/property-filter/index.d.ts.map +1 -1
  30. package/property-filter/index.js +6 -7
  31. package/property-filter/index.js.map +1 -1
  32. package/property-filter/interfaces.d.ts +25 -0
  33. package/property-filter/interfaces.d.ts.map +1 -1
  34. package/property-filter/interfaces.js.map +1 -1
  35. package/property-filter/token-editor.d.ts +16 -7
  36. package/property-filter/token-editor.d.ts.map +1 -1
  37. package/property-filter/token-editor.js +1 -2
  38. package/property-filter/token-editor.js.map +1 -1
  39. package/property-filter/token.d.ts +20 -9
  40. package/property-filter/token.d.ts.map +1 -1
  41. package/property-filter/token.js +1 -1
  42. package/property-filter/token.js.map +1 -1
  43. package/property-filter/use-load-items.d.ts +1 -2
  44. package/property-filter/use-load-items.d.ts.map +1 -1
  45. package/property-filter/use-load-items.js.map +1 -1
  46. package/property-filter/utils.d.ts +4 -4
  47. package/property-filter/utils.d.ts.map +1 -1
  48. package/property-filter/utils.js.map +1 -1
@@ -6,6 +6,7 @@ export interface InternalContainerProps extends Omit<ContainerProps, 'variant'>,
6
6
  __stickyOffset?: number;
7
7
  __disableFooterDivider?: boolean;
8
8
  __disableFooterPaddings?: boolean;
9
+ __hiddenContent?: boolean;
9
10
  __headerRef?: React.RefObject<HTMLDivElement>;
10
11
  /**
11
12
  * Additional internal variant:
@@ -15,5 +16,5 @@ export interface InternalContainerProps extends Omit<ContainerProps, 'variant'>,
15
16
  */
16
17
  variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';
17
18
  }
18
- export default function InternalContainer({ header, footer, children, variant, disableHeaderPaddings, disableContentPaddings, __stickyOffset, __stickyHeader, __internalRootRef, __disableFooterDivider, __disableFooterPaddings, __headerRef, ...restProps }: InternalContainerProps): JSX.Element;
19
+ export default function InternalContainer({ header, footer, children, variant, disableHeaderPaddings, disableContentPaddings, __stickyOffset, __stickyHeader, __internalRootRef, __disableFooterDivider, __disableFooterPaddings, __hiddenContent, __headerRef, ...restProps }: InternalContainerProps): JSX.Element;
19
20
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAMlF,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAAE,0BAA0B;IACzG,c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CAC1E;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAmB,EACnB,qBAA6B,EAC7B,sBAA8B,EAC9B,cAAc,EACd,cAAsB,EACtB,iBAAwB,EACxB,sBAA8B,EAC9B,uBAA+B,EAC/B,eAAuB,EACvB,WAAW,EACX,GAAG,SAAS,EACb,EAAE,sBAAsB,eA2DxB"}
@@ -11,11 +11,11 @@ import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
11
11
  import styles from './styles.css.js';
12
12
  export default function InternalContainer(_a) {
13
13
  var _b, _c, _d;
14
- var header = _a.header, footer = _a.footer, children = _a.children, _e = _a.variant, variant = _e === void 0 ? 'default' : _e, _f = _a.disableHeaderPaddings, disableHeaderPaddings = _f === void 0 ? false : _f, _g = _a.disableContentPaddings, disableContentPaddings = _g === void 0 ? false : _g, __stickyOffset = _a.__stickyOffset, _h = _a.__stickyHeader, __stickyHeader = _h === void 0 ? false : _h, _j = _a.__internalRootRef, __internalRootRef = _j === void 0 ? null : _j, _k = _a.__disableFooterDivider, __disableFooterDivider = _k === void 0 ? false : _k, _l = _a.__disableFooterPaddings, __disableFooterPaddings = _l === void 0 ? false : _l, __headerRef = _a.__headerRef, restProps = __rest(_a, ["header", "footer", "children", "variant", "disableHeaderPaddings", "disableContentPaddings", "__stickyOffset", "__stickyHeader", "__internalRootRef", "__disableFooterDivider", "__disableFooterPaddings", "__headerRef"]);
14
+ var header = _a.header, footer = _a.footer, children = _a.children, _e = _a.variant, variant = _e === void 0 ? 'default' : _e, _f = _a.disableHeaderPaddings, disableHeaderPaddings = _f === void 0 ? false : _f, _g = _a.disableContentPaddings, disableContentPaddings = _g === void 0 ? false : _g, __stickyOffset = _a.__stickyOffset, _h = _a.__stickyHeader, __stickyHeader = _h === void 0 ? false : _h, _j = _a.__internalRootRef, __internalRootRef = _j === void 0 ? null : _j, _k = _a.__disableFooterDivider, __disableFooterDivider = _k === void 0 ? false : _k, _l = _a.__disableFooterPaddings, __disableFooterPaddings = _l === void 0 ? false : _l, _m = _a.__hiddenContent, __hiddenContent = _m === void 0 ? false : _m, __headerRef = _a.__headerRef, restProps = __rest(_a, ["header", "footer", "children", "variant", "disableHeaderPaddings", "disableContentPaddings", "__stickyOffset", "__stickyHeader", "__internalRootRef", "__disableFooterDivider", "__disableFooterPaddings", "__hiddenContent", "__headerRef"]);
15
15
  var baseProps = getBaseProps(restProps);
16
16
  var rootRef = useRef(null);
17
17
  var headerRef = useRef(null);
18
- var _m = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset), isSticky = _m.isSticky, isStuck = _m.isStuck, stickyStyles = _m.stickyStyles;
18
+ var _o = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset), isSticky = _o.isSticky, isStuck = _o.isStuck, stickyStyles = _o.stickyStyles;
19
19
  var isRefresh = useVisualRefresh();
20
20
  var hasDynamicHeight = isRefresh && variant === 'full-page';
21
21
  var overlapElement = useDynamicOverlap({ disabled: !hasDynamicHeight });
@@ -29,6 +29,7 @@ export default function InternalContainer(_a) {
29
29
  _b[styles['header-dynamic-height']] = hasDynamicHeight,
30
30
  _b[styles['header-stuck']] = isStuck,
31
31
  _b[styles['with-paddings']] = !disableHeaderPaddings,
32
+ _b[styles['with-hidden-content']] = __hiddenContent,
32
33
  _b)) }, stickyStyles, { ref: headerMergedRef }), hasDynamicHeight ? (React.createElement("div", { className: clsx(styles['dark-header'], 'awsui-context-content-header') }, header)) : (header)))),
33
34
  React.createElement("div", { className: clsx(styles.content, (_c = {},
34
35
  _c[styles['with-paddings']] = !disableContentPaddings,
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE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,IAAG,CAAC,sBAAsB;oBAClD,IAED,QAAQ,CACL;QACL,MAAM,IAAI,CACT,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;gBAC3B,GAAC,MAAM,CAAC,cAAc,CAAC,IAAG,CAAC,sBAAsB;gBACjD,GAAC,MAAM,CAAC,eAAe,CAAC,IAAG,CAAC,uBAAuB;oBACnD,IAED,MAAM,CACH,CACP,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useRef } from 'react';\nimport { useDynamicOverlap } from '../app-layout/visual-refresh/hooks/use-dynamic-overlap';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\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\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n __stickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __headerRef,\n ...restProps\n}: InternalContainerProps) {\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset);\n const isRefresh = useVisualRefresh();\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n const overlapElement = useDynamicOverlap({ disabled: !hasDynamicHeight });\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, overlapElement, __headerRef);\n\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.root, styles[`variant-${variant}`])}\n ref={mergedRef}\n >\n {header && (\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(styles.header, styles[`header-variant-${variant}`], {\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 })}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {hasDynamicHeight ? (\n <div className={clsx(styles['dark-header'], 'awsui-context-content-header')}>{header}</div>\n ) : (\n header\n )}\n </div>\n </StickyHeaderContext.Provider>\n )}\n <div\n className={clsx(styles.content, {\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 );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAE3F,OAAO,EAAE,YAAY,EAAE,MAAM,4BA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AM,CAAC,eAAe,CAAC,IAAG,CAAC,sBAAsB;oBAClD,IAED,QAAQ,CACL;QACL,MAAM,IAAI,CACT,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;gBAC3B,GAAC,MAAM,CAAC,cAAc,CAAC,IAAG,CAAC,sBAAsB;gBACjD,GAAC,MAAM,CAAC,eAAe,CAAC,IAAG,CAAC,uBAAuB;oBACnD,IAED,MAAM,CACH,CACP,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useRef } from 'react';\nimport { useDynamicOverlap } from '../app-layout/visual-refresh/hooks/use-dynamic-overlap';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __hiddenContent?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\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\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n __stickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __hiddenContent = false,\n __headerRef,\n ...restProps\n}: InternalContainerProps) {\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset);\n const isRefresh = useVisualRefresh();\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n const overlapElement = useDynamicOverlap({ disabled: !hasDynamicHeight });\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, overlapElement, __headerRef);\n\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.root, styles[`variant-${variant}`])}\n ref={mergedRef}\n >\n {header && (\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(styles.header, styles[`header-variant-${variant}`], {\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']]: __hiddenContent,\n })}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {hasDynamicHeight ? (\n <div className={clsx(styles['dark-header'], 'awsui-context-content-header')}>{header}</div>\n ) : (\n header\n )}\n </div>\n </StickyHeaderContext.Provider>\n )}\n <div\n className={clsx(styles.content, {\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 );\n}\n"]}
@@ -1,20 +1,21 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_14iqq_v306r_97",
5
- "variant-default": "awsui_variant-default_14iqq_v306r_109",
6
- "variant-stacked": "awsui_variant-stacked_14iqq_v306r_109",
7
- "header": "awsui_header_14iqq_v306r_132",
8
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_v306r_136",
9
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_v306r_140",
10
- "header-stuck": "awsui_header-stuck_14iqq_v306r_146",
11
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_v306r_151",
12
- "with-paddings": "awsui_with-paddings_14iqq_v306r_157",
13
- "header-variant-cards": "awsui_header-variant-cards_14iqq_v306r_160",
14
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_v306r_184",
15
- "dark-header": "awsui_dark-header_14iqq_v306r_192",
16
- "content": "awsui_content_14iqq_v306r_196",
17
- "footer": "awsui_footer_14iqq_v306r_203",
18
- "with-divider": "awsui_with-divider_14iqq_v306r_206"
4
+ "root": "awsui_root_14iqq_nllvs_97",
5
+ "variant-default": "awsui_variant-default_14iqq_nllvs_109",
6
+ "variant-stacked": "awsui_variant-stacked_14iqq_nllvs_109",
7
+ "header": "awsui_header_14iqq_nllvs_132",
8
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_nllvs_137",
9
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_nllvs_141",
10
+ "header-stuck": "awsui_header-stuck_14iqq_nllvs_147",
11
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_nllvs_152",
12
+ "with-paddings": "awsui_with-paddings_14iqq_nllvs_158",
13
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_nllvs_161",
14
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_nllvs_165",
15
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_nllvs_189",
16
+ "dark-header": "awsui_dark-header_14iqq_nllvs_197",
17
+ "content": "awsui_content_14iqq_nllvs_201",
18
+ "footer": "awsui_footer_14iqq_nllvs_208",
19
+ "with-divider": "awsui_with-divider_14iqq_nllvs_211"
19
20
  };
20
21
 
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
94
94
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
95
  SPDX-License-Identifier: Apache-2.0
96
96
  */
97
- .awsui_root_14iqq_v306r_97:not(#\9) {
97
+ .awsui_root_14iqq_nllvs_97:not(#\9) {
98
98
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
99
99
  border-collapse: separate;
100
100
  border-spacing: 0;
@@ -132,7 +132,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
132
132
  display: block;
133
133
  word-wrap: break-word;
134
134
  }
135
- .awsui_root_14iqq_v306r_97.awsui_variant-default_14iqq_v306r_109:not(#\9), .awsui_root_14iqq_v306r_97.awsui_variant-stacked_14iqq_v306r_109:not(#\9) {
135
+ .awsui_root_14iqq_nllvs_97.awsui_variant-default_14iqq_nllvs_109:not(#\9), .awsui_root_14iqq_nllvs_97.awsui_variant-stacked_14iqq_nllvs_109:not(#\9) {
136
136
  box-shadow: var(--shadow-container-7nblnj, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
137
137
  border-top: var(--border-container-top-width-jk6fhm, 0px) solid var(--color-border-container-top-srcvx4, transparent);
138
138
  border-radius: var(--border-radius-container-gh9ysk, 16px);
@@ -140,74 +140,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
140
140
  background-color: var(--color-background-container-content-i8i4a0, #ffffff);
141
141
  }
142
142
  @media screen and (-ms-high-contrast: active) {
143
- .awsui_root_14iqq_v306r_97.awsui_variant-default_14iqq_v306r_109:not(#\9), .awsui_root_14iqq_v306r_97.awsui_variant-stacked_14iqq_v306r_109:not(#\9) {
143
+ .awsui_root_14iqq_nllvs_97.awsui_variant-default_14iqq_nllvs_109:not(#\9), .awsui_root_14iqq_nllvs_97.awsui_variant-stacked_14iqq_nllvs_109:not(#\9) {
144
144
  border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
145
145
  }
146
146
  }
147
- .awsui_root_14iqq_v306r_97.awsui_variant-stacked_14iqq_v306r_109:not(#\9):not(:last-child) {
147
+ .awsui_root_14iqq_nllvs_97.awsui_variant-stacked_14iqq_nllvs_109:not(#\9):not(:last-child) {
148
148
  border-bottom-right-radius: 0;
149
149
  border-bottom-left-radius: 0;
150
150
  }
151
- .awsui_root_14iqq_v306r_97.awsui_variant-stacked_14iqq_v306r_109 + .awsui_root_14iqq_v306r_97.awsui_variant-stacked_14iqq_v306r_109:not(#\9) {
151
+ .awsui_root_14iqq_nllvs_97.awsui_variant-stacked_14iqq_nllvs_109 + .awsui_root_14iqq_nllvs_97.awsui_variant-stacked_14iqq_nllvs_109:not(#\9) {
152
152
  border-top: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
153
153
  border-top-left-radius: 0;
154
154
  border-top-right-radius: 0;
155
155
  box-shadow: var(--shadow-container-stacked-lumzae, -1px 1px 1px 0px #e9ebed, 1px 1px 1px 0px #e9ebed, 0px 9px 8px -7px rgba(0, 7, 22, 0.12), 8px 0px 8px -7px rgba(0, 7, 22, 0.12), -8px 0px 8px -7px rgba(0, 7, 22, 0.12));
156
156
  }
157
157
 
158
- .awsui_header_14iqq_v306r_132:not(#\9) {
158
+ .awsui_header_14iqq_nllvs_132:not(#\9) {
159
159
  background-color: var(--color-background-container-header-4flbq5, #ffffff);
160
- border-radius: var(--border-radius-container-gh9ysk, 16px);
160
+ border-top-left-radius: var(--border-radius-container-gh9ysk, 16px);
161
+ border-top-right-radius: var(--border-radius-container-gh9ysk, 16px);
161
162
  }
162
- .awsui_header-sticky-disabled_14iqq_v306r_136:not(#\9) {
163
+ .awsui_header-sticky-disabled_14iqq_nllvs_137:not(#\9) {
163
164
  position: relative;
164
165
  z-index: 1;
165
166
  }
166
- .awsui_header-sticky-enabled_14iqq_v306r_140:not(#\9) {
167
+ .awsui_header-sticky-enabled_14iqq_nllvs_141:not(#\9) {
167
168
  top: 0;
168
169
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
169
170
  position: sticky;
170
171
  z-index: 800;
171
172
  }
172
- .awsui_header-stuck_14iqq_v306r_146:not(#\9) {
173
+ .awsui_header-stuck_14iqq_nllvs_147:not(#\9) {
173
174
  box-shadow: var(--shadow-sticky-embedded-qit8ba, 0px 2px 0px 0px #e9ebed, 0px 16px 16px -12px rgba(0, 7, 22, 0.1));
174
175
  border: 0;
175
176
  border-radius: 0;
176
177
  }
177
- .awsui_header-dynamic-height_14iqq_v306r_151.awsui_header-stuck_14iqq_v306r_146:not(#\9) {
178
+ .awsui_header-dynamic-height_14iqq_nllvs_152.awsui_header-stuck_14iqq_nllvs_147:not(#\9) {
178
179
  margin-bottom: calc(var(--font-heading-xl-line-height-doxfdj, 40px) - var(--font-heading-l-line-height-gev4n1, 30px));
179
180
  }
180
- .awsui_header_14iqq_v306r_132:not(#\9):not(:empty) {
181
+ .awsui_header_14iqq_nllvs_132:not(#\9):not(:empty) {
181
182
  border-bottom: var(--border-container-sticky-width-i7t7xe, 0px) solid var(--color-border-container-divider-4ade7z, transparent);
182
183
  }
183
- .awsui_header_14iqq_v306r_132.awsui_with-paddings_14iqq_v306r_157:not(#\9) {
184
+ .awsui_header_14iqq_nllvs_132.awsui_with-paddings_14iqq_nllvs_158:not(#\9) {
184
185
  padding: var(--space-container-header-vertical-zsjhel, 12px) var(--space-container-horizontal-ddrezg, 24px);
185
186
  }
186
- .awsui_header-variant-cards_14iqq_v306r_160:not(#\9) {
187
+ .awsui_header_14iqq_nllvs_132.awsui_with-hidden-content_14iqq_nllvs_161:not(#\9) {
188
+ border-bottom-left-radius: var(--border-radius-container-gh9ysk, 16px);
189
+ border-bottom-right-radius: var(--border-radius-container-gh9ysk, 16px);
190
+ }
191
+ .awsui_header-variant-cards_14iqq_nllvs_165:not(#\9) {
187
192
  box-shadow: var(--shadow-container-7nblnj, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
188
193
  border-top: var(--border-container-top-width-jk6fhm, 0px) solid var(--color-border-container-top-srcvx4, transparent);
189
194
  border-radius: var(--border-radius-container-gh9ysk, 16px);
190
195
  box-sizing: border-box;
191
196
  }
192
197
  @media screen and (-ms-high-contrast: active) {
193
- .awsui_header-variant-cards_14iqq_v306r_160:not(#\9) {
198
+ .awsui_header-variant-cards_14iqq_nllvs_165:not(#\9) {
194
199
  border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
195
200
  }
196
201
  }
197
- .awsui_header-variant-cards_14iqq_v306r_160:not(#\9):not(:empty) {
202
+ .awsui_header-variant-cards_14iqq_nllvs_165:not(#\9):not(:empty) {
198
203
  border-bottom: 1px solid #d5dbdb;
199
204
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
200
205
  }
201
206
  @supports (--css-variable-support-check: #000) {
202
- .awsui_header-variant-cards_14iqq_v306r_160:not(#\9):not(:empty) {
207
+ .awsui_header-variant-cards_14iqq_nllvs_165:not(#\9):not(:empty) {
203
208
  border-bottom: 0;
204
209
  }
205
210
  }
206
- .awsui_header-variant-cards_14iqq_v306r_160.awsui_header-stuck_14iqq_v306r_146:not(#\9) {
211
+ .awsui_header-variant-cards_14iqq_nllvs_165.awsui_header-stuck_14iqq_nllvs_147:not(#\9) {
207
212
  border-top-left-radius: 0;
208
213
  border-top-right-radius: 0;
209
214
  }
210
- .awsui_header-variant-full-page_14iqq_v306r_184.awsui_header-stuck_14iqq_v306r_146:not(#\9) {
215
+ .awsui_header-variant-full-page_14iqq_nllvs_189.awsui_header-stuck_14iqq_nllvs_147:not(#\9) {
211
216
  box-shadow: var(--shadow-sticky-aijlo6, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
212
217
  }
213
218
 
@@ -215,20 +220,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
215
220
  The dynamic height dark header needs a background that will cover
216
221
  the default white background of the container component.
217
222
  */
218
- .awsui_dark-header_14iqq_v306r_192:not(#\9) {
223
+ .awsui_dark-header_14iqq_nllvs_197:not(#\9) {
219
224
  background-color: var(--color-background-layout-main-sfhm4y, #ffffff);
220
225
  }
221
226
 
222
- .awsui_content_14iqq_v306r_196.awsui_with-paddings_14iqq_v306r_157:not(#\9) {
227
+ .awsui_content_14iqq_nllvs_201.awsui_with-paddings_14iqq_nllvs_158:not(#\9) {
223
228
  padding: var(--space-scaled-l-t03y3z, 20px) var(--space-container-horizontal-ddrezg, 24px);
224
229
  }
225
- .awsui_header_14iqq_v306r_132 + .awsui_content_14iqq_v306r_196.awsui_with-paddings_14iqq_v306r_157:not(#\9) {
230
+ .awsui_header_14iqq_nllvs_132 + .awsui_content_14iqq_nllvs_201.awsui_with-paddings_14iqq_nllvs_158:not(#\9) {
226
231
  padding-top: var(--space-container-content-top-fsd8nr, 0px);
227
232
  }
228
233
 
229
- .awsui_footer_14iqq_v306r_203.awsui_with-paddings_14iqq_v306r_157:not(#\9) {
234
+ .awsui_footer_14iqq_nllvs_208.awsui_with-paddings_14iqq_nllvs_158:not(#\9) {
230
235
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-ddrezg, 24px);
231
236
  }
232
- .awsui_footer_14iqq_v306r_203.awsui_with-divider_14iqq_v306r_206:not(#\9) {
237
+ .awsui_footer_14iqq_nllvs_208.awsui_with-divider_14iqq_nllvs_211:not(#\9) {
233
238
  border-top: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
234
239
  }
@@ -2,20 +2,21 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_14iqq_v306r_97",
6
- "variant-default": "awsui_variant-default_14iqq_v306r_109",
7
- "variant-stacked": "awsui_variant-stacked_14iqq_v306r_109",
8
- "header": "awsui_header_14iqq_v306r_132",
9
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_v306r_136",
10
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_v306r_140",
11
- "header-stuck": "awsui_header-stuck_14iqq_v306r_146",
12
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_v306r_151",
13
- "with-paddings": "awsui_with-paddings_14iqq_v306r_157",
14
- "header-variant-cards": "awsui_header-variant-cards_14iqq_v306r_160",
15
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_v306r_184",
16
- "dark-header": "awsui_dark-header_14iqq_v306r_192",
17
- "content": "awsui_content_14iqq_v306r_196",
18
- "footer": "awsui_footer_14iqq_v306r_203",
19
- "with-divider": "awsui_with-divider_14iqq_v306r_206"
5
+ "root": "awsui_root_14iqq_nllvs_97",
6
+ "variant-default": "awsui_variant-default_14iqq_nllvs_109",
7
+ "variant-stacked": "awsui_variant-stacked_14iqq_nllvs_109",
8
+ "header": "awsui_header_14iqq_nllvs_132",
9
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_nllvs_137",
10
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_nllvs_141",
11
+ "header-stuck": "awsui_header-stuck_14iqq_nllvs_147",
12
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_nllvs_152",
13
+ "with-paddings": "awsui_with-paddings_14iqq_nllvs_158",
14
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_nllvs_161",
15
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_nllvs_165",
16
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_nllvs_189",
17
+ "dark-header": "awsui_dark-header_14iqq_nllvs_197",
18
+ "content": "awsui_content_14iqq_nllvs_201",
19
+ "footer": "awsui_footer_14iqq_nllvs_208",
20
+ "with-divider": "awsui_with-divider_14iqq_nllvs_211"
20
21
  };
21
22
 
@@ -1,29 +1,29 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "calendar": "awsui_calendar_145pa_lzpoy_93",
5
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_145pa_lzpoy_1",
6
- "root": "awsui_root_145pa_lzpoy_120",
7
- "date-picker-container": "awsui_date-picker-container_145pa_lzpoy_131",
8
- "date-picker-trigger": "awsui_date-picker-trigger_145pa_lzpoy_136",
9
- "date-picker-input": "awsui_date-picker-input_145pa_lzpoy_140",
10
- "open-calendar-button": "awsui_open-calendar-button_145pa_lzpoy_145",
11
- "calendar-inner": "awsui_calendar-inner_145pa_lzpoy_165",
12
- "calendar-header": "awsui_calendar-header_145pa_lzpoy_168",
13
- "calendar-header-month": "awsui_calendar-header-month_145pa_lzpoy_173",
14
- "calendar-next-month-btn": "awsui_calendar-next-month-btn_145pa_lzpoy_179",
15
- "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_145pa_lzpoy_182",
16
- "calendar-day-names": "awsui_calendar-day-names_145pa_lzpoy_185",
17
- "calendar-day-name": "awsui_calendar-day-name_145pa_lzpoy_185",
18
- "calendar-dates": "awsui_calendar-dates_145pa_lzpoy_200",
19
- "calendar-week": "awsui_calendar-week_145pa_lzpoy_203",
20
- "calendar-day": "awsui_calendar-day_145pa_lzpoy_185",
21
- "calendar-day-in-last-week": "awsui_calendar-day-in-last-week_145pa_lzpoy_222",
22
- "calendar-day-focusable": "awsui_calendar-day-focusable_145pa_lzpoy_225",
23
- "calendar-day-enabled": "awsui_calendar-day-enabled_145pa_lzpoy_228",
24
- "calendar-day-current-month": "awsui_calendar-day-current-month_145pa_lzpoy_232",
25
- "calendar-day-selected": "awsui_calendar-day-selected_145pa_lzpoy_239",
26
- "calendar-day-today": "awsui_calendar-day-today_145pa_lzpoy_243",
27
- "day-inner": "awsui_day-inner_145pa_lzpoy_255"
4
+ "calendar": "awsui_calendar_145pa_137eg_93",
5
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_145pa_137eg_1",
6
+ "root": "awsui_root_145pa_137eg_120",
7
+ "date-picker-container": "awsui_date-picker-container_145pa_137eg_131",
8
+ "date-picker-trigger": "awsui_date-picker-trigger_145pa_137eg_136",
9
+ "date-picker-input": "awsui_date-picker-input_145pa_137eg_140",
10
+ "open-calendar-button": "awsui_open-calendar-button_145pa_137eg_145",
11
+ "calendar-inner": "awsui_calendar-inner_145pa_137eg_165",
12
+ "calendar-header": "awsui_calendar-header_145pa_137eg_168",
13
+ "calendar-header-month": "awsui_calendar-header-month_145pa_137eg_173",
14
+ "calendar-next-month-btn": "awsui_calendar-next-month-btn_145pa_137eg_179",
15
+ "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_145pa_137eg_182",
16
+ "calendar-day-names": "awsui_calendar-day-names_145pa_137eg_185",
17
+ "calendar-day-name": "awsui_calendar-day-name_145pa_137eg_185",
18
+ "calendar-dates": "awsui_calendar-dates_145pa_137eg_200",
19
+ "calendar-week": "awsui_calendar-week_145pa_137eg_203",
20
+ "calendar-day": "awsui_calendar-day_145pa_137eg_185",
21
+ "calendar-day-in-last-week": "awsui_calendar-day-in-last-week_145pa_137eg_222",
22
+ "calendar-day-focusable": "awsui_calendar-day-focusable_145pa_137eg_225",
23
+ "calendar-day-enabled": "awsui_calendar-day-enabled_145pa_137eg_228",
24
+ "calendar-day-current-month": "awsui_calendar-day-current-month_145pa_137eg_232",
25
+ "calendar-day-selected": "awsui_calendar-day-selected_145pa_137eg_239",
26
+ "calendar-day-today": "awsui_calendar-day-today_145pa_137eg_243",
27
+ "day-inner": "awsui_day-inner_145pa_137eg_255"
28
28
  };
29
29
 
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_calendar_145pa_lzpoy_93:not(#\9) {
94
- animation: awsui_awsui-motion-fade-in-0_145pa_lzpoy_1 var(--motion-duration-show-quick-tyaalm, 135ms) var(--motion-easing-show-quick-1fcgbv, ease-out);
93
+ .awsui_calendar_145pa_137eg_93:not(#\9) {
94
+ animation: awsui_awsui-motion-fade-in-0_145pa_137eg_1 var(--motion-duration-show-quick-tyaalm, 135ms) var(--motion-easing-show-quick-1fcgbv, ease-out);
95
95
  animation-fill-mode: both;
96
96
  }
97
- @keyframes awsui_awsui-motion-fade-in-0_145pa_lzpoy_1 {
97
+ @keyframes awsui_awsui-motion-fade-in-0_145pa_137eg_1 {
98
98
  from {
99
99
  opacity: 0;
100
100
  }
@@ -103,12 +103,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
103
103
  }
104
104
  }
105
105
  @media (prefers-reduced-motion: reduce) {
106
- .awsui_calendar_145pa_lzpoy_93:not(#\9) {
106
+ .awsui_calendar_145pa_137eg_93:not(#\9) {
107
107
  animation: none;
108
108
  transition: none;
109
109
  }
110
110
  }
111
- .awsui-motion-disabled .awsui_calendar_145pa_lzpoy_93:not(#\9), .awsui-mode-entering .awsui_calendar_145pa_lzpoy_93:not(#\9) {
111
+ .awsui-motion-disabled .awsui_calendar_145pa_137eg_93:not(#\9), .awsui-mode-entering .awsui_calendar_145pa_137eg_93:not(#\9) {
112
112
  animation: none;
113
113
  transition: none;
114
114
  }
@@ -117,7 +117,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
117
117
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
118
118
  SPDX-License-Identifier: Apache-2.0
119
119
  */
120
- .awsui_root_145pa_lzpoy_120:not(#\9) {
120
+ .awsui_root_145pa_137eg_120:not(#\9) {
121
121
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
122
122
  border-collapse: separate;
123
123
  border-spacing: 0;
@@ -154,25 +154,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
155
155
  }
156
156
 
157
- .awsui_date-picker-container_145pa_lzpoy_131:not(#\9) {
157
+ .awsui_date-picker-container_145pa_137eg_131:not(#\9) {
158
158
  position: relative;
159
159
  max-width: 234px;
160
160
  }
161
161
 
162
- .awsui_date-picker-trigger_145pa_lzpoy_136:not(#\9) {
162
+ .awsui_date-picker-trigger_145pa_137eg_136:not(#\9) {
163
163
  display: flex;
164
164
  }
165
165
 
166
- .awsui_date-picker-input_145pa_lzpoy_140:not(#\9) {
166
+ .awsui_date-picker-input_145pa_137eg_140:not(#\9) {
167
167
  padding-right: var(--space-xs-rsr2qu, 8px);
168
168
  width: 100%;
169
169
  }
170
170
 
171
- .awsui_open-calendar-button_145pa_lzpoy_145:not(#\9) {
171
+ .awsui_open-calendar-button_145pa_137eg_145:not(#\9) {
172
172
  /* used in test-utils */
173
173
  }
174
174
 
175
- .awsui_calendar_145pa_lzpoy_93:not(#\9) {
175
+ .awsui_calendar_145pa_137eg_93:not(#\9) {
176
176
  display: block;
177
177
  width: 234px;
178
178
  overflow: auto;
@@ -211,34 +211,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
211
211
  font-weight: 400;
212
212
  font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
213
213
  }
214
- .awsui_calendar_145pa_lzpoy_93:not(#\9):focus {
214
+ .awsui_calendar_145pa_137eg_93:not(#\9):focus {
215
215
  outline: none;
216
216
  }
217
- .awsui_calendar-inner_145pa_lzpoy_165:not(#\9) {
217
+ .awsui_calendar-inner_145pa_137eg_165:not(#\9) {
218
218
  margin: var(--space-xs-rsr2qu, 8px);
219
219
  }
220
- .awsui_calendar-header_145pa_lzpoy_168:not(#\9) {
220
+ .awsui_calendar-header_145pa_137eg_168:not(#\9) {
221
221
  display: flex;
222
222
  justify-content: space-between;
223
223
  align-items: center;
224
224
  }
225
- .awsui_calendar-header-month_145pa_lzpoy_173:not(#\9) {
225
+ .awsui_calendar-header-month_145pa_137eg_173:not(#\9) {
226
226
  font-size: var(--font-body-m-size-sregvd, 14px);
227
227
  line-height: var(--font-body-m-line-height-i7xxvv, 22px);
228
228
  font-weight: 700;
229
229
  color: var(--color-text-dropdown-item-default-7tg9p2, #000716);
230
230
  }
231
- .awsui_calendar-next-month-btn_145pa_lzpoy_179:not(#\9) {
231
+ .awsui_calendar-next-month-btn_145pa_137eg_179:not(#\9) {
232
232
  /* used for identifying element */
233
233
  }
234
- .awsui_calendar-prev-month-btn_145pa_lzpoy_182:not(#\9) {
234
+ .awsui_calendar-prev-month-btn_145pa_137eg_182:not(#\9) {
235
235
  /* used for identifying element */
236
236
  }
237
- .awsui_calendar-day-names_145pa_lzpoy_185:not(#\9) {
237
+ .awsui_calendar-day-names_145pa_137eg_185:not(#\9) {
238
238
  display: flex;
239
239
  justify-content: stretch;
240
240
  }
241
- .awsui_calendar-day-name_145pa_lzpoy_185:not(#\9) {
241
+ .awsui_calendar-day-name_145pa_137eg_185:not(#\9) {
242
242
  flex: 1 1 0%;
243
243
  width: 0;
244
244
  word-break: break-word;
@@ -249,14 +249,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
249
249
  line-height: var(--font-body-s-line-height-kdsbrl, 16px);
250
250
  letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
251
251
  }
252
- .awsui_calendar-dates_145pa_lzpoy_200:not(#\9) {
252
+ .awsui_calendar-dates_145pa_137eg_200:not(#\9) {
253
253
  border: 1px solid var(--color-border-calendar-grid-sshunw, transparent);
254
254
  }
255
- .awsui_calendar-week_145pa_lzpoy_203:not(#\9) {
255
+ .awsui_calendar-week_145pa_137eg_203:not(#\9) {
256
256
  display: flex;
257
257
  justify-content: stretch;
258
258
  }
259
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9) {
259
+ .awsui_calendar-day_145pa_137eg_185:not(#\9) {
260
260
  flex: 1 1 0%;
261
261
  width: 0;
262
262
  word-break: break-word;
@@ -268,34 +268,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
268
268
  color: var(--color-text-dropdown-item-disabled-varol7, #9ba7b6);
269
269
  position: relative;
270
270
  }
271
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9):last-child {
271
+ .awsui_calendar-day_145pa_137eg_185:not(#\9):last-child {
272
272
  border-right: none;
273
273
  }
274
- .awsui_calendar-day-in-last-week_145pa_lzpoy_222:not(#\9) {
274
+ .awsui_calendar-day-in-last-week_145pa_137eg_222:not(#\9) {
275
275
  border-bottom: none;
276
276
  }
277
- .awsui_calendar-day-focusable_145pa_lzpoy_225:not(#\9) {
277
+ .awsui_calendar-day-focusable_145pa_137eg_225:not(#\9) {
278
278
  /* used for identifying element */
279
279
  }
280
- .awsui_calendar-day-enabled_145pa_lzpoy_228:not(#\9) {
280
+ .awsui_calendar-day-enabled_145pa_137eg_228:not(#\9) {
281
281
  cursor: pointer;
282
282
  color: var(--color-text-dropdown-item-secondary-0me7js, #5f6b7a);
283
283
  }
284
- .awsui_calendar-day-enabled_145pa_lzpoy_228.awsui_calendar-day-current-month_145pa_lzpoy_232:not(#\9) {
284
+ .awsui_calendar-day-enabled_145pa_137eg_228.awsui_calendar-day-current-month_145pa_137eg_232:not(#\9) {
285
285
  color: var(--color-text-dropdown-item-default-7tg9p2, #000716);
286
286
  }
287
- .awsui_calendar-day-enabled_145pa_lzpoy_228.awsui_calendar-day-current-month_145pa_lzpoy_232:not(#\9):hover {
287
+ .awsui_calendar-day-enabled_145pa_137eg_228.awsui_calendar-day-current-month_145pa_137eg_232:not(#\9):hover {
288
288
  color: var(--color-text-calendar-day-hover-graajh, #000716);
289
289
  background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
290
290
  }
291
- .awsui_calendar-day-enabled_145pa_lzpoy_228.awsui_calendar-day-current-month_145pa_lzpoy_232:not(#\9):hover:not(.awsui_calendar-day-selected_145pa_lzpoy_239)::after {
291
+ .awsui_calendar-day-enabled_145pa_137eg_228.awsui_calendar-day-current-month_145pa_137eg_232:not(#\9):hover:not(.awsui_calendar-day-selected_145pa_137eg_239)::after {
292
292
  border: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-dropdown-item-hover-tyzq9m, #7d8998);
293
293
  border-radius: var(--border-radius-item-u2ibpi, 8px);
294
294
  }
295
- .awsui_calendar-day-today_145pa_lzpoy_243:not(#\9) {
295
+ .awsui_calendar-day-today_145pa_137eg_243:not(#\9) {
296
296
  background-color: var(--color-background-calendar-today-762czq, #f4f4f4);
297
297
  }
298
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9)::after {
298
+ .awsui_calendar-day_145pa_137eg_185:not(#\9)::after {
299
299
  content: "";
300
300
  position: absolute;
301
301
  top: -1px;
@@ -304,19 +304,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
304
304
  right: -1px;
305
305
  background-color: transparent;
306
306
  }
307
- .awsui_calendar-day_145pa_lzpoy_185 > .awsui_day-inner_145pa_lzpoy_255:not(#\9) {
307
+ .awsui_calendar-day_145pa_137eg_185 > .awsui_day-inner_145pa_137eg_255:not(#\9) {
308
308
  position: relative;
309
309
  z-index: 1;
310
310
  }
311
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9):focus {
311
+ .awsui_calendar-day_145pa_137eg_185:not(#\9):focus {
312
312
  outline: none;
313
313
  position: relative;
314
314
  }
315
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9):focus {
315
+ .awsui_calendar-day_145pa_137eg_185:not(#\9):focus {
316
316
  outline: 2px dotted transparent;
317
317
  outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px) - 1px);
318
318
  }
319
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9):focus::before {
319
+ .awsui_calendar-day_145pa_137eg_185:not(#\9):focus::before {
320
320
  content: " ";
321
321
  display: block;
322
322
  position: absolute;
@@ -327,25 +327,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
327
327
  border-radius: var(--border-radius-calendar-day-focus-ring-a8mlqd, 3px);
328
328
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
329
329
  }
330
- .awsui_calendar-day_145pa_lzpoy_185:not(#\9):focus::before {
330
+ .awsui_calendar-day_145pa_137eg_185:not(#\9):focus::before {
331
331
  z-index: 2;
332
332
  }
333
- .awsui_calendar-day-selected_145pa_lzpoy_239:not(#\9) {
333
+ .awsui_calendar-day-selected_145pa_137eg_239:not(#\9) {
334
334
  border-color: transparent;
335
335
  position: relative;
336
336
  }
337
- .awsui_calendar-day-selected_145pa_lzpoy_239:not(#\9)::after {
337
+ .awsui_calendar-day-selected_145pa_137eg_239:not(#\9)::after {
338
338
  background-color: var(--color-background-dropdown-item-selected-8l4mpk, #f2f8fd);
339
339
  border: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-dropdown-item-selected-eahq2j, #0972d3);
340
340
  border-radius: var(--border-radius-item-u2ibpi, 8px);
341
341
  }
342
- .awsui_calendar-day-selected_145pa_lzpoy_239 > .awsui_day-inner_145pa_lzpoy_255:not(#\9) {
342
+ .awsui_calendar-day-selected_145pa_137eg_239 > .awsui_day-inner_145pa_137eg_255:not(#\9) {
343
343
  color: var(--color-text-calendar-day-selected-64o9sq, #0972d3);
344
344
  position: relative;
345
345
  }
346
- .awsui_calendar_145pa_lzpoy_93[data-awsui-focus-visible=true]:not(#\9):focus {
346
+ .awsui_calendar_145pa_137eg_93[data-awsui-focus-visible=true]:not(#\9):focus {
347
347
  outline: 2px dotted transparent;
348
348
  outline-offset: 2px;
349
- border-radius: var(--border-radius-container-gh9ysk, 16px);
349
+ border-radius: var(--border-radius-dropdown-ujknaf, 8px);
350
350
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
351
351
  }