@cloudscape-design/components 3.0.43 → 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 (103) hide show
  1. package/autosuggest/internal.d.ts.map +1 -1
  2. package/autosuggest/internal.js +45 -78
  3. package/autosuggest/internal.js.map +1 -1
  4. package/autosuggest/load-more-controller.d.ts.map +1 -1
  5. package/autosuggest/load-more-controller.js +1 -1
  6. package/autosuggest/load-more-controller.js.map +1 -1
  7. package/autosuggest/options-controller.d.ts.map +1 -1
  8. package/autosuggest/options-controller.js +0 -1
  9. package/autosuggest/options-controller.js.map +1 -1
  10. package/autosuggest/styles.css.js +3 -4
  11. package/autosuggest/styles.scoped.css +3 -8
  12. package/autosuggest/styles.selectors.js +3 -4
  13. package/code-editor/index.d.ts.map +1 -1
  14. package/code-editor/index.js +13 -14
  15. package/code-editor/index.js.map +1 -1
  16. package/code-editor/styles.css.js +32 -33
  17. package/code-editor/styles.scoped.css +116 -122
  18. package/code-editor/styles.selectors.js +32 -33
  19. package/container/internal.d.ts +2 -1
  20. package/container/internal.d.ts.map +1 -1
  21. package/container/internal.js +3 -2
  22. package/container/internal.js.map +1 -1
  23. package/container/styles.css.js +16 -15
  24. package/container/styles.scoped.css +29 -24
  25. package/container/styles.selectors.js +16 -15
  26. package/date-picker/styles.css.js +24 -24
  27. package/date-picker/styles.scoped.css +41 -41
  28. package/date-picker/styles.selectors.js +24 -24
  29. package/date-range-picker/index.d.ts.map +1 -1
  30. package/date-range-picker/index.js +4 -9
  31. package/date-range-picker/index.js.map +1 -1
  32. package/date-range-picker/styles.css.js +41 -41
  33. package/date-range-picker/styles.scoped.css +50 -50
  34. package/date-range-picker/styles.selectors.js +41 -41
  35. package/expandable-section/expandable-section-container.d.ts.map +1 -1
  36. package/expandable-section/expandable-section-container.js +1 -1
  37. package/expandable-section/expandable-section-container.js.map +1 -1
  38. package/internal/components/autosuggest-input/index.d.ts +28 -0
  39. package/internal/components/autosuggest-input/index.d.ts.map +1 -0
  40. package/internal/components/autosuggest-input/index.js +141 -0
  41. package/internal/components/autosuggest-input/index.js.map +1 -0
  42. package/internal/components/autosuggest-input/styles.css.js +7 -0
  43. package/internal/components/autosuggest-input/styles.scoped.css +12 -0
  44. package/internal/components/autosuggest-input/styles.selectors.js +8 -0
  45. package/internal/environment.js +1 -1
  46. package/internal/generated/styles/tokens.d.ts +17 -0
  47. package/internal/generated/styles/tokens.js +17 -0
  48. package/internal/generated/theming/index.cjs +35 -1
  49. package/internal/generated/theming/index.cjs.d.ts +85 -0
  50. package/internal/generated/theming/index.d.ts +85 -0
  51. package/internal/generated/theming/index.js +35 -1
  52. package/internal/utils/date-time/format-date-range.d.ts +2 -0
  53. package/internal/utils/date-time/format-date-range.d.ts.map +1 -0
  54. package/internal/utils/date-time/format-date-range.js +11 -0
  55. package/internal/utils/date-time/format-date-range.js.map +1 -0
  56. package/internal/utils/date-time/index.d.ts +1 -0
  57. package/internal/utils/date-time/index.d.ts.map +1 -1
  58. package/internal/utils/date-time/index.js +1 -0
  59. package/internal/utils/date-time/index.js.map +1 -1
  60. package/package.json +1 -1
  61. package/property-filter/controller.d.ts +15 -29
  62. package/property-filter/controller.d.ts.map +1 -1
  63. package/property-filter/controller.js +10 -10
  64. package/property-filter/controller.js.map +1 -1
  65. package/property-filter/index.d.ts.map +1 -1
  66. package/property-filter/index.js +7 -13
  67. package/property-filter/index.js.map +1 -1
  68. package/property-filter/interfaces.d.ts +25 -0
  69. package/property-filter/interfaces.d.ts.map +1 -1
  70. package/property-filter/interfaces.js.map +1 -1
  71. package/property-filter/property-filter-autosuggest.d.ts +2 -3
  72. package/property-filter/property-filter-autosuggest.d.ts.map +1 -1
  73. package/property-filter/property-filter-autosuggest.js +39 -77
  74. package/property-filter/property-filter-autosuggest.js.map +1 -1
  75. package/property-filter/token-editor.d.ts +16 -7
  76. package/property-filter/token-editor.d.ts.map +1 -1
  77. package/property-filter/token-editor.js +1 -2
  78. package/property-filter/token-editor.js.map +1 -1
  79. package/property-filter/token.d.ts +20 -9
  80. package/property-filter/token.d.ts.map +1 -1
  81. package/property-filter/token.js +1 -1
  82. package/property-filter/token.js.map +1 -1
  83. package/property-filter/use-load-items.d.ts +1 -2
  84. package/property-filter/use-load-items.d.ts.map +1 -1
  85. package/property-filter/use-load-items.js.map +1 -1
  86. package/property-filter/utils.d.ts +4 -4
  87. package/property-filter/utils.d.ts.map +1 -1
  88. package/property-filter/utils.js.map +1 -1
  89. package/test-utils/dom/internal/autosuggest-input.d.ts +8 -0
  90. package/test-utils/dom/internal/autosuggest-input.js +41 -0
  91. package/test-utils/dom/internal/autosuggest-input.js.map +1 -0
  92. package/test-utils/selectors/internal/autosuggest-input.d.ts +8 -0
  93. package/test-utils/selectors/internal/autosuggest-input.js +41 -0
  94. package/test-utils/selectors/internal/autosuggest-input.js.map +1 -0
  95. package/test-utils/tsconfig.tsbuildinfo +1 -1
  96. package/autosuggest/dropdown-controller.d.ts +0 -20
  97. package/autosuggest/dropdown-controller.d.ts.map +0 -1
  98. package/autosuggest/dropdown-controller.js +0 -29
  99. package/autosuggest/dropdown-controller.js.map +0 -1
  100. package/autosuggest/input-controller.d.ts +0 -12
  101. package/autosuggest/input-controller.d.ts.map +0 -1
  102. package/autosuggest/input-controller.js +0 -38
  103. package/autosuggest/input-controller.js.map +0 -1
@@ -2,38 +2,37 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "code-editor": "awsui_code-editor_1gl9c_1563r_98",
6
- "code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1563r_342",
7
- "pane": "awsui_pane_1gl9c_1563r_354",
8
- "pane__close-container": "awsui_pane__close-container_1gl9c_1563r_365",
9
- "pane__list": "awsui_pane__list_1gl9c_1563r_370",
10
- "pane__table": "awsui_pane__table_1gl9c_1563r_377",
11
- "pane__item": "awsui_pane__item_1gl9c_1563r_382",
12
- "pane__cell": "awsui_pane__cell_1gl9c_1563r_382",
13
- "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1563r_396",
14
- "pane__location": "awsui_pane__location_1gl9c_1563r_417",
15
- "pane__description": "awsui_pane__description_1gl9c_1563r_417",
16
- "focus-lock": "awsui_focus-lock_1gl9c_1563r_432",
17
- "resizable-box": "awsui_resizable-box_1gl9c_1563r_455",
18
- "resizable-box-handle": "awsui_resizable-box-handle_1gl9c_1563r_460",
19
- "editor": "awsui_editor_1gl9c_1563r_485",
20
- "status-bar": "awsui_status-bar_1gl9c_1563r_518",
21
- "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1563r_527",
22
- "status-bar__left": "awsui_status-bar__left_1gl9c_1563r_531",
23
- "status-bar__left-virtual": "awsui_status-bar__left-virtual_1gl9c_1563r_538",
24
- "status-bar__right": "awsui_status-bar__right_1gl9c_1563r_542",
25
- "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1563r_546",
26
- "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1563r_546",
27
- "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1563r_551",
28
- "status-bar-virtual": "awsui_status-bar-virtual_1gl9c_1563r_555",
29
- "tab-button": "awsui_tab-button_1gl9c_1563r_561",
30
- "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1563r_574",
31
- "tab-button--active": "awsui_tab-button--active_1gl9c_1563r_588",
32
- "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1563r_608",
33
- "tab-button--divider": "awsui_tab-button--divider_1gl9c_1563r_638",
34
- "tab-button--errors": "awsui_tab-button--errors_1gl9c_1563r_645",
35
- "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1563r_645",
36
- "loading-screen": "awsui_loading-screen_1gl9c_1563r_649",
37
- "error-screen": "awsui_error-screen_1gl9c_1563r_650"
5
+ "code-editor": "awsui_code-editor_1gl9c_pjv1f_98",
6
+ "pane": "awsui_pane_1gl9c_pjv1f_351",
7
+ "pane__close-container": "awsui_pane__close-container_1gl9c_pjv1f_362",
8
+ "pane__list": "awsui_pane__list_1gl9c_pjv1f_367",
9
+ "pane__table": "awsui_pane__table_1gl9c_pjv1f_374",
10
+ "pane__item": "awsui_pane__item_1gl9c_pjv1f_379",
11
+ "pane__cell": "awsui_pane__cell_1gl9c_pjv1f_379",
12
+ "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_pjv1f_393",
13
+ "pane__location": "awsui_pane__location_1gl9c_pjv1f_414",
14
+ "pane__description": "awsui_pane__description_1gl9c_pjv1f_414",
15
+ "focus-lock": "awsui_focus-lock_1gl9c_pjv1f_429",
16
+ "resizable-box": "awsui_resizable-box_1gl9c_pjv1f_452",
17
+ "resizable-box-handle": "awsui_resizable-box-handle_1gl9c_pjv1f_457",
18
+ "editor": "awsui_editor_1gl9c_pjv1f_482",
19
+ "status-bar": "awsui_status-bar_1gl9c_pjv1f_512",
20
+ "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_pjv1f_521",
21
+ "status-bar__left": "awsui_status-bar__left_1gl9c_pjv1f_525",
22
+ "status-bar__left-virtual": "awsui_status-bar__left-virtual_1gl9c_pjv1f_532",
23
+ "status-bar__right": "awsui_status-bar__right_1gl9c_pjv1f_536",
24
+ "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_pjv1f_540",
25
+ "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_pjv1f_540",
26
+ "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_pjv1f_545",
27
+ "status-bar-virtual": "awsui_status-bar-virtual_1gl9c_pjv1f_549",
28
+ "tab-button": "awsui_tab-button_1gl9c_pjv1f_555",
29
+ "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_pjv1f_568",
30
+ "tab-button--active": "awsui_tab-button--active_1gl9c_pjv1f_582",
31
+ "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_pjv1f_602",
32
+ "tab-button--divider": "awsui_tab-button--divider_1gl9c_pjv1f_632",
33
+ "tab-button--errors": "awsui_tab-button--errors_1gl9c_pjv1f_639",
34
+ "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_pjv1f_639",
35
+ "loading-screen": "awsui_loading-screen_1gl9c_pjv1f_643",
36
+ "error-screen": "awsui_error-screen_1gl9c_pjv1f_644"
38
37
  };
39
38
 
@@ -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;IACz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AU,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,iBAAiB,EAAE,MAAM,wDAAwD,CA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,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,4BAA4B,CAAC;AAE1D,OAAO,EAAE,mB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,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