@cloudscape-design/components-themeable 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 (52) hide show
  1. package/lib/internal/scss/container/styles.scss +8 -1
  2. package/lib/internal/scss/date-picker/styles.scss +2 -1
  3. package/lib/internal/scss/date-range-picker/styles.scss +1 -1
  4. package/lib/internal/scss/internal/styles/forms/mixins.scss +2 -2
  5. package/lib/internal/template/container/internal.d.ts +2 -1
  6. package/lib/internal/template/container/internal.d.ts.map +1 -1
  7. package/lib/internal/template/container/internal.js +3 -2
  8. package/lib/internal/template/container/internal.js.map +1 -1
  9. package/lib/internal/template/container/styles.css.js +16 -15
  10. package/lib/internal/template/container/styles.scoped.css +29 -24
  11. package/lib/internal/template/container/styles.selectors.js +16 -15
  12. package/lib/internal/template/date-picker/styles.css.js +24 -24
  13. package/lib/internal/template/date-picker/styles.scoped.css +41 -41
  14. package/lib/internal/template/date-picker/styles.selectors.js +24 -24
  15. package/lib/internal/template/date-range-picker/styles.css.js +41 -41
  16. package/lib/internal/template/date-range-picker/styles.scoped.css +50 -50
  17. package/lib/internal/template/date-range-picker/styles.selectors.js +41 -41
  18. package/lib/internal/template/expandable-section/expandable-section-container.d.ts.map +1 -1
  19. package/lib/internal/template/expandable-section/expandable-section-container.js +1 -1
  20. package/lib/internal/template/expandable-section/expandable-section-container.js.map +1 -1
  21. package/lib/internal/template/internal/environment.js +1 -1
  22. package/lib/internal/template/internal/generated/styles/tokens.d.ts +17 -0
  23. package/lib/internal/template/internal/generated/styles/tokens.js +17 -0
  24. package/lib/internal/template/internal/generated/theming/index.cjs +35 -1
  25. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +85 -0
  26. package/lib/internal/template/internal/generated/theming/index.d.ts +85 -0
  27. package/lib/internal/template/internal/generated/theming/index.js +35 -1
  28. package/lib/internal/template/property-filter/controller.d.ts +14 -28
  29. package/lib/internal/template/property-filter/controller.d.ts.map +1 -1
  30. package/lib/internal/template/property-filter/controller.js +8 -8
  31. package/lib/internal/template/property-filter/controller.js.map +1 -1
  32. package/lib/internal/template/property-filter/index.d.ts.map +1 -1
  33. package/lib/internal/template/property-filter/index.js +6 -7
  34. package/lib/internal/template/property-filter/index.js.map +1 -1
  35. package/lib/internal/template/property-filter/interfaces.d.ts +25 -0
  36. package/lib/internal/template/property-filter/interfaces.d.ts.map +1 -1
  37. package/lib/internal/template/property-filter/interfaces.js.map +1 -1
  38. package/lib/internal/template/property-filter/token-editor.d.ts +16 -7
  39. package/lib/internal/template/property-filter/token-editor.d.ts.map +1 -1
  40. package/lib/internal/template/property-filter/token-editor.js +1 -2
  41. package/lib/internal/template/property-filter/token-editor.js.map +1 -1
  42. package/lib/internal/template/property-filter/token.d.ts +20 -9
  43. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  44. package/lib/internal/template/property-filter/token.js +1 -1
  45. package/lib/internal/template/property-filter/token.js.map +1 -1
  46. package/lib/internal/template/property-filter/use-load-items.d.ts +1 -2
  47. package/lib/internal/template/property-filter/use-load-items.d.ts.map +1 -1
  48. package/lib/internal/template/property-filter/use-load-items.js.map +1 -1
  49. package/lib/internal/template/property-filter/utils.d.ts +4 -4
  50. package/lib/internal/template/property-filter/utils.d.ts.map +1 -1
  51. package/lib/internal/template/property-filter/utils.js.map +1 -1
  52. package/package.json +1 -1
@@ -32,7 +32,9 @@
32
32
 
33
33
  .header {
34
34
  background-color: awsui.$color-background-container-header;
35
- border-radius: awsui.$border-radius-container;
35
+ border-top-left-radius: awsui.$border-radius-container;
36
+ border-top-right-radius: awsui.$border-radius-container;
37
+
36
38
  // sticky positioning may be disabled (on mobile or if browser does not support it),
37
39
  // but some markup still requires a new stacking context
38
40
  &-sticky-disabled {
@@ -60,8 +62,13 @@
60
62
  &.with-paddings {
61
63
  padding: shared.$header-padding;
62
64
  }
65
+ &.with-hidden-content {
66
+ border-bottom-left-radius: awsui.$border-radius-container;
67
+ border-bottom-right-radius: awsui.$border-radius-container;
68
+ }
63
69
  &-variant-cards {
64
70
  @include shared.borders-and-shadows;
71
+
65
72
  &:not(:empty) {
66
73
  // bottom shadow does not appear in IE11 due to the presence of background color
67
74
  // Adding a bottom border
@@ -186,8 +186,9 @@ $calendar-grid-border: 1px solid $calendar-grid-border-color;
186
186
  }
187
187
  }
188
188
  }
189
+
189
190
  @include styles.styles-reset;
190
191
  @include focus-visible.when-visible {
191
- @include styles.container-focus();
192
+ @include styles.container-focus(awsui.$border-radius-dropdown);
192
193
  }
193
194
  }
@@ -179,7 +179,7 @@ $calendar-grid-width: awsui.$size-calendar-grid-width;
179
179
  outline: none;
180
180
  }
181
181
  @include focus-visible.when-visible {
182
- @include styles.container-focus();
182
+ @include styles.container-focus(awsui.$border-radius-dropdown);
183
183
  }
184
184
  }
185
185
 
@@ -21,7 +21,7 @@
21
21
  box-shadow: 0 0 0 awsui.$border-link-focus-ring-shadow-spread awsui.$color-border-item-focused;
22
22
  }
23
23
 
24
- @mixin container-focus {
24
+ @mixin container-focus($border-radius: awsui.$border-radius-container) {
25
25
  // This mixin is different to `focus-highlight` because it needs to supports overflowing
26
26
  // content. Using a pseudo element does not take the width or height of the overflowing
27
27
  // children.
@@ -30,7 +30,7 @@
30
30
  outline: 2px dotted transparent;
31
31
  outline-offset: 2px;
32
32
 
33
- border-radius: awsui.$border-radius-container;
33
+ border-radius: $border-radius;
34
34
  box-shadow: foundation.$box-shadow-focused;
35
35
  }
36
36
 
@@ -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,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC;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,WAAW,EACX,GAAG,SAAS,EACb,EAAE,sBAAsB,eA0DxB"}
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,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC;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":"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","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,4BAA4B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAkBrC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAejB;;IAdvB,IAAA,MAAM,YAAA,EACN,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,eAAmB,EAAnB,OAAO,mBAAG,SAAS,KAAA,EACnB,6BAA6B,EAA7B,qBAAqB,mBAAG,KAAK,KAAA,EAC7B,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,cAAc,oBAAA,EACd,sBAAsB,EAAtB,cAAc,mBAAG,KAAK,KAAA,EACtB,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACxB,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,+BAA+B,EAA/B,uBAAuB,mBAAG,KAAK,KAAA,EAC/B,uBAAuB,EAAvB,eAAe,mBAAG,KAAK,KAAA,EACvB,WAAW,iBAAA,EACR,SAAS,cAd4B,8OAezC,CADa;IAEZ,IAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC7C,IAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,IAAA,KAAsC,eAAe,CAAC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC,EAAvG,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,YAAY,kBAAwE,CAAC;IAChH,IAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,IAAM,gBAAgB,GAAG,SAAS,IAAI,OAAO,KAAK,WAAW,CAAC;IAC9D,IAAM,cAAc,GAAG,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAE1E,IAAM,SAAS,GAAG,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;IAC3D,IAAM,eAAe,GAAG,YAAY,CAAC,SAAS,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;IAE7E,OAAO,CACL,wCACM,SAAS,IACb,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,kBAAW,OAAO,CAAE,CAAC,CAAC,EAC/E,GAAG,EAAE,SAAS;QAEb,MAAM,IAAI,CACT,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,OAAO,SAAA,EAAE;YAC9C,sCACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,yBAAkB,OAAO,CAAE,CAAC;oBAChE,GAAC,MAAM,CAAC,wBAAwB,CAAC,IAAG,cAAc,IAAI,CAAC,QAAQ;oBAC/D,GAAC,MAAM,CAAC,uBAAuB,CAAC,IAAG,QAAQ;oBAC3C,GAAC,MAAM,CAAC,uBAAuB,CAAC,IAAG,gBAAgB;oBACnD,GAAC,MAAM,CAAC,cAAc,CAAC,IAAG,OAAO;oBACjC,GAAC,MAAM,CAAC,eAAe,CAAC,IAAG,CAAC,qBAAqB;oBACjD,GAAC,MAAM,CAAC,qBAAqB,CAAC,IAAG,eAAe;wBAChD,IACE,YAAY,IAChB,GAAG,EAAE,eAAe,KAEnB,gBAAgB,CAAC,CAAC,CAAC,CAClB,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,8BAA8B,CAAC,IAAG,MAAM,CAAO,CAC5F,CAAC,CAAC,CAAC,CACF,MAAM,CACP,CACG,CACuB,CAChC;QACD,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO;gBAC5B,GAAC,MAAM,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_5wfq7_97",
5
- "variant-default": "awsui_variant-default_14iqq_5wfq7_109",
6
- "variant-stacked": "awsui_variant-stacked_14iqq_5wfq7_109",
7
- "header": "awsui_header_14iqq_5wfq7_132",
8
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_5wfq7_136",
9
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_5wfq7_140",
10
- "header-stuck": "awsui_header-stuck_14iqq_5wfq7_146",
11
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_5wfq7_151",
12
- "with-paddings": "awsui_with-paddings_14iqq_5wfq7_157",
13
- "header-variant-cards": "awsui_header-variant-cards_14iqq_5wfq7_160",
14
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_5wfq7_184",
15
- "dark-header": "awsui_dark-header_14iqq_5wfq7_192",
16
- "content": "awsui_content_14iqq_5wfq7_196",
17
- "footer": "awsui_footer_14iqq_5wfq7_203",
18
- "with-divider": "awsui_with-divider_14iqq_5wfq7_206"
4
+ "root": "awsui_root_14iqq_d572s_97",
5
+ "variant-default": "awsui_variant-default_14iqq_d572s_109",
6
+ "variant-stacked": "awsui_variant-stacked_14iqq_d572s_109",
7
+ "header": "awsui_header_14iqq_d572s_132",
8
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_d572s_137",
9
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_d572s_141",
10
+ "header-stuck": "awsui_header-stuck_14iqq_d572s_147",
11
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_d572s_152",
12
+ "with-paddings": "awsui_with-paddings_14iqq_d572s_158",
13
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_d572s_161",
14
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_d572s_165",
15
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_d572s_189",
16
+ "dark-header": "awsui_dark-header_14iqq_d572s_197",
17
+ "content": "awsui_content_14iqq_d572s_201",
18
+ "footer": "awsui_footer_14iqq_d572s_208",
19
+ "with-divider": "awsui_with-divider_14iqq_d572s_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_5wfq7_97:not(#\9) {
97
+ .awsui_root_14iqq_d572s_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_5wfq7_97.awsui_variant-default_14iqq_5wfq7_109:not(#\9), .awsui_root_14iqq_5wfq7_97.awsui_variant-stacked_14iqq_5wfq7_109:not(#\9) {
135
+ .awsui_root_14iqq_d572s_97.awsui_variant-default_14iqq_d572s_109:not(#\9), .awsui_root_14iqq_d572s_97.awsui_variant-stacked_14iqq_d572s_109:not(#\9) {
136
136
  box-shadow: var(--shadow-container-0bkp96, 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));
137
137
  border-top: var(--border-container-top-width-fs2udu, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
138
138
  border-radius: var(--border-radius-container-1aveko, 0px);
@@ -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-o88wxm, #ffffff);
141
141
  }
142
142
  @media screen and (-ms-high-contrast: active) {
143
- .awsui_root_14iqq_5wfq7_97.awsui_variant-default_14iqq_5wfq7_109:not(#\9), .awsui_root_14iqq_5wfq7_97.awsui_variant-stacked_14iqq_5wfq7_109:not(#\9) {
143
+ .awsui_root_14iqq_d572s_97.awsui_variant-default_14iqq_d572s_109:not(#\9), .awsui_root_14iqq_d572s_97.awsui_variant-stacked_14iqq_d572s_109:not(#\9) {
144
144
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
145
145
  }
146
146
  }
147
- .awsui_root_14iqq_5wfq7_97.awsui_variant-stacked_14iqq_5wfq7_109:not(#\9):not(:last-child) {
147
+ .awsui_root_14iqq_d572s_97.awsui_variant-stacked_14iqq_d572s_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_5wfq7_97.awsui_variant-stacked_14iqq_5wfq7_109 + .awsui_root_14iqq_5wfq7_97.awsui_variant-stacked_14iqq_5wfq7_109:not(#\9) {
151
+ .awsui_root_14iqq_d572s_97.awsui_variant-stacked_14iqq_d572s_109 + .awsui_root_14iqq_d572s_97.awsui_variant-stacked_14iqq_d572s_109:not(#\9) {
152
152
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
153
153
  border-top-left-radius: 0;
154
154
  border-top-right-radius: 0;
155
155
  box-shadow: var(--shadow-container-stacked-j8j87i, 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));
156
156
  }
157
157
 
158
- .awsui_header_14iqq_5wfq7_132:not(#\9) {
158
+ .awsui_header_14iqq_d572s_132:not(#\9) {
159
159
  background-color: var(--color-background-container-header-g9rg0j, #fafafa);
160
- border-radius: var(--border-radius-container-1aveko, 0px);
160
+ border-top-left-radius: var(--border-radius-container-1aveko, 0px);
161
+ border-top-right-radius: var(--border-radius-container-1aveko, 0px);
161
162
  }
162
- .awsui_header-sticky-disabled_14iqq_5wfq7_136:not(#\9) {
163
+ .awsui_header-sticky-disabled_14iqq_d572s_137:not(#\9) {
163
164
  position: relative;
164
165
  z-index: 1;
165
166
  }
166
- .awsui_header-sticky-enabled_14iqq_5wfq7_140:not(#\9) {
167
+ .awsui_header-sticky-enabled_14iqq_d572s_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_5wfq7_146:not(#\9) {
173
+ .awsui_header-stuck_14iqq_d572s_147:not(#\9) {
173
174
  box-shadow: var(--shadow-sticky-embedded-5acv0s, 0px 1px 4px -2px rgba(0, 28, 36, 0.5));
174
175
  border: 0;
175
176
  border-radius: 0;
176
177
  }
177
- .awsui_header-dynamic-height_14iqq_5wfq7_151.awsui_header-stuck_14iqq_5wfq7_146:not(#\9) {
178
+ .awsui_header-dynamic-height_14iqq_d572s_152.awsui_header-stuck_14iqq_d572s_147:not(#\9) {
178
179
  margin-bottom: calc(var(--font-heading-xl-line-height-qeciux, 36px) - var(--font-heading-l-line-height-oujdab, 22px));
179
180
  }
180
- .awsui_header_14iqq_5wfq7_132:not(#\9):not(:empty) {
181
+ .awsui_header_14iqq_d572s_132:not(#\9):not(:empty) {
181
182
  border-bottom: var(--border-container-sticky-width-pybmba, 1px) solid var(--color-border-container-divider-z203b8, #eaeded);
182
183
  }
183
- .awsui_header_14iqq_5wfq7_132.awsui_with-paddings_14iqq_5wfq7_157:not(#\9) {
184
+ .awsui_header_14iqq_d572s_132.awsui_with-paddings_14iqq_d572s_158:not(#\9) {
184
185
  padding: var(--space-container-header-vertical-0bd19u, 12px) var(--space-container-horizontal-tlw03i, 20px);
185
186
  }
186
- .awsui_header-variant-cards_14iqq_5wfq7_160:not(#\9) {
187
+ .awsui_header_14iqq_d572s_132.awsui_with-hidden-content_14iqq_d572s_161:not(#\9) {
188
+ border-bottom-left-radius: var(--border-radius-container-1aveko, 0px);
189
+ border-bottom-right-radius: var(--border-radius-container-1aveko, 0px);
190
+ }
191
+ .awsui_header-variant-cards_14iqq_d572s_165:not(#\9) {
187
192
  box-shadow: var(--shadow-container-0bkp96, 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));
188
193
  border-top: var(--border-container-top-width-fs2udu, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
189
194
  border-radius: var(--border-radius-container-1aveko, 0px);
190
195
  box-sizing: border-box;
191
196
  }
192
197
  @media screen and (-ms-high-contrast: active) {
193
- .awsui_header-variant-cards_14iqq_5wfq7_160:not(#\9) {
198
+ .awsui_header-variant-cards_14iqq_d572s_165:not(#\9) {
194
199
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
195
200
  }
196
201
  }
197
- .awsui_header-variant-cards_14iqq_5wfq7_160:not(#\9):not(:empty) {
202
+ .awsui_header-variant-cards_14iqq_d572s_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_5wfq7_160:not(#\9):not(:empty) {
207
+ .awsui_header-variant-cards_14iqq_d572s_165:not(#\9):not(:empty) {
203
208
  border-bottom: 0;
204
209
  }
205
210
  }
206
- .awsui_header-variant-cards_14iqq_5wfq7_160.awsui_header-stuck_14iqq_5wfq7_146:not(#\9) {
211
+ .awsui_header-variant-cards_14iqq_d572s_165.awsui_header-stuck_14iqq_d572s_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_5wfq7_184.awsui_header-stuck_14iqq_5wfq7_146:not(#\9) {
215
+ .awsui_header-variant-full-page_14iqq_d572s_189.awsui_header-stuck_14iqq_d572s_147:not(#\9) {
211
216
  box-shadow: var(--shadow-sticky-thyisb, 0px 1px 4px -2px rgba(0, 28, 36, 0.5));
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_5wfq7_192:not(#\9) {
223
+ .awsui_dark-header_14iqq_d572s_197:not(#\9) {
219
224
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
220
225
  }
221
226
 
222
- .awsui_content_14iqq_5wfq7_196.awsui_with-paddings_14iqq_5wfq7_157:not(#\9) {
227
+ .awsui_content_14iqq_d572s_201.awsui_with-paddings_14iqq_d572s_158:not(#\9) {
223
228
  padding: var(--space-scaled-l-t03y3z, 20px) var(--space-container-horizontal-tlw03i, 20px);
224
229
  }
225
- .awsui_header_14iqq_5wfq7_132 + .awsui_content_14iqq_5wfq7_196.awsui_with-paddings_14iqq_5wfq7_157:not(#\9) {
230
+ .awsui_header_14iqq_d572s_132 + .awsui_content_14iqq_d572s_201.awsui_with-paddings_14iqq_d572s_158:not(#\9) {
226
231
  padding-top: var(--space-container-content-top-u412x3, 16px);
227
232
  }
228
233
 
229
- .awsui_footer_14iqq_5wfq7_203.awsui_with-paddings_14iqq_5wfq7_157:not(#\9) {
234
+ .awsui_footer_14iqq_d572s_208.awsui_with-paddings_14iqq_d572s_158:not(#\9) {
230
235
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-tlw03i, 20px);
231
236
  }
232
- .awsui_footer_14iqq_5wfq7_203.awsui_with-divider_14iqq_5wfq7_206:not(#\9) {
237
+ .awsui_footer_14iqq_d572s_208.awsui_with-divider_14iqq_d572s_211:not(#\9) {
233
238
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
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_5wfq7_97",
6
- "variant-default": "awsui_variant-default_14iqq_5wfq7_109",
7
- "variant-stacked": "awsui_variant-stacked_14iqq_5wfq7_109",
8
- "header": "awsui_header_14iqq_5wfq7_132",
9
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_5wfq7_136",
10
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_5wfq7_140",
11
- "header-stuck": "awsui_header-stuck_14iqq_5wfq7_146",
12
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_5wfq7_151",
13
- "with-paddings": "awsui_with-paddings_14iqq_5wfq7_157",
14
- "header-variant-cards": "awsui_header-variant-cards_14iqq_5wfq7_160",
15
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_5wfq7_184",
16
- "dark-header": "awsui_dark-header_14iqq_5wfq7_192",
17
- "content": "awsui_content_14iqq_5wfq7_196",
18
- "footer": "awsui_footer_14iqq_5wfq7_203",
19
- "with-divider": "awsui_with-divider_14iqq_5wfq7_206"
5
+ "root": "awsui_root_14iqq_d572s_97",
6
+ "variant-default": "awsui_variant-default_14iqq_d572s_109",
7
+ "variant-stacked": "awsui_variant-stacked_14iqq_d572s_109",
8
+ "header": "awsui_header_14iqq_d572s_132",
9
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_d572s_137",
10
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_d572s_141",
11
+ "header-stuck": "awsui_header-stuck_14iqq_d572s_147",
12
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_d572s_152",
13
+ "with-paddings": "awsui_with-paddings_14iqq_d572s_158",
14
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_d572s_161",
15
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_d572s_165",
16
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_d572s_189",
17
+ "dark-header": "awsui_dark-header_14iqq_d572s_197",
18
+ "content": "awsui_content_14iqq_d572s_201",
19
+ "footer": "awsui_footer_14iqq_d572s_208",
20
+ "with-divider": "awsui_with-divider_14iqq_d572s_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_5nj72_93",
5
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_145pa_5nj72_1",
6
- "root": "awsui_root_145pa_5nj72_120",
7
- "date-picker-container": "awsui_date-picker-container_145pa_5nj72_131",
8
- "date-picker-trigger": "awsui_date-picker-trigger_145pa_5nj72_136",
9
- "date-picker-input": "awsui_date-picker-input_145pa_5nj72_140",
10
- "open-calendar-button": "awsui_open-calendar-button_145pa_5nj72_145",
11
- "calendar-inner": "awsui_calendar-inner_145pa_5nj72_165",
12
- "calendar-header": "awsui_calendar-header_145pa_5nj72_168",
13
- "calendar-header-month": "awsui_calendar-header-month_145pa_5nj72_173",
14
- "calendar-next-month-btn": "awsui_calendar-next-month-btn_145pa_5nj72_179",
15
- "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_145pa_5nj72_182",
16
- "calendar-day-names": "awsui_calendar-day-names_145pa_5nj72_185",
17
- "calendar-day-name": "awsui_calendar-day-name_145pa_5nj72_185",
18
- "calendar-dates": "awsui_calendar-dates_145pa_5nj72_200",
19
- "calendar-week": "awsui_calendar-week_145pa_5nj72_203",
20
- "calendar-day": "awsui_calendar-day_145pa_5nj72_185",
21
- "calendar-day-in-last-week": "awsui_calendar-day-in-last-week_145pa_5nj72_222",
22
- "calendar-day-focusable": "awsui_calendar-day-focusable_145pa_5nj72_225",
23
- "calendar-day-enabled": "awsui_calendar-day-enabled_145pa_5nj72_228",
24
- "calendar-day-current-month": "awsui_calendar-day-current-month_145pa_5nj72_232",
25
- "calendar-day-selected": "awsui_calendar-day-selected_145pa_5nj72_239",
26
- "calendar-day-today": "awsui_calendar-day-today_145pa_5nj72_243",
27
- "day-inner": "awsui_day-inner_145pa_5nj72_255"
4
+ "calendar": "awsui_calendar_145pa_hegy7_93",
5
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_145pa_hegy7_1",
6
+ "root": "awsui_root_145pa_hegy7_120",
7
+ "date-picker-container": "awsui_date-picker-container_145pa_hegy7_131",
8
+ "date-picker-trigger": "awsui_date-picker-trigger_145pa_hegy7_136",
9
+ "date-picker-input": "awsui_date-picker-input_145pa_hegy7_140",
10
+ "open-calendar-button": "awsui_open-calendar-button_145pa_hegy7_145",
11
+ "calendar-inner": "awsui_calendar-inner_145pa_hegy7_165",
12
+ "calendar-header": "awsui_calendar-header_145pa_hegy7_168",
13
+ "calendar-header-month": "awsui_calendar-header-month_145pa_hegy7_173",
14
+ "calendar-next-month-btn": "awsui_calendar-next-month-btn_145pa_hegy7_179",
15
+ "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_145pa_hegy7_182",
16
+ "calendar-day-names": "awsui_calendar-day-names_145pa_hegy7_185",
17
+ "calendar-day-name": "awsui_calendar-day-name_145pa_hegy7_185",
18
+ "calendar-dates": "awsui_calendar-dates_145pa_hegy7_200",
19
+ "calendar-week": "awsui_calendar-week_145pa_hegy7_203",
20
+ "calendar-day": "awsui_calendar-day_145pa_hegy7_185",
21
+ "calendar-day-in-last-week": "awsui_calendar-day-in-last-week_145pa_hegy7_222",
22
+ "calendar-day-focusable": "awsui_calendar-day-focusable_145pa_hegy7_225",
23
+ "calendar-day-enabled": "awsui_calendar-day-enabled_145pa_hegy7_228",
24
+ "calendar-day-current-month": "awsui_calendar-day-current-month_145pa_hegy7_232",
25
+ "calendar-day-selected": "awsui_calendar-day-selected_145pa_hegy7_239",
26
+ "calendar-day-today": "awsui_calendar-day-today_145pa_hegy7_243",
27
+ "day-inner": "awsui_day-inner_145pa_hegy7_255"
28
28
  };
29
29