@cloudscape-design/components-themeable 3.0.655 → 3.0.656

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 (138) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/drawer/styles.scss +10 -0
  3. package/lib/internal/scss/button/styles.scss +0 -1
  4. package/lib/internal/scss/container/styles.scss +26 -20
  5. package/lib/internal/scss/form/styles.scss +1 -1
  6. package/lib/internal/scss/grid/styles.scss +0 -3
  7. package/lib/internal/scss/header/styles.scss +0 -5
  8. package/lib/internal/scss/input/styles.scss +0 -6
  9. package/lib/internal/scss/internal/components/autosuggest-input/styles.scss +0 -1
  10. package/lib/internal/scss/internal/components/dropdown/styles.scss +0 -6
  11. package/lib/internal/scss/internal/components/panel-resize-handle/styles.scss +50 -0
  12. package/lib/internal/scss/link/constants.scss +0 -1
  13. package/lib/internal/scss/popover/styles.scss +0 -6
  14. package/lib/internal/scss/segmented-control/styles.scss +0 -2
  15. package/lib/internal/scss/split-panel/styles.scss +0 -42
  16. package/lib/internal/scss/tiles/styles.scss +1 -5
  17. package/lib/internal/template/app-layout/drawer/index.js +1 -1
  18. package/lib/internal/template/app-layout/drawer/index.js.map +1 -1
  19. package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts.map +1 -1
  20. package/lib/internal/template/app-layout/drawer/resizable-drawer.js +2 -5
  21. package/lib/internal/template/app-layout/drawer/resizable-drawer.js.map +1 -1
  22. package/lib/internal/template/app-layout/drawer/styles.css.js +13 -12
  23. package/lib/internal/template/app-layout/drawer/styles.scoped.css +30 -20
  24. package/lib/internal/template/app-layout/drawer/styles.selectors.js +13 -12
  25. package/lib/internal/template/app-layout/utils/use-resize.d.ts.map +1 -1
  26. package/lib/internal/template/app-layout/utils/use-resize.js +3 -7
  27. package/lib/internal/template/app-layout/utils/use-resize.js.map +1 -1
  28. package/lib/internal/template/app-layout/visual-refresh/drawers.js +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -1
  30. package/lib/internal/template/app-layout/visual-refresh/split-panel.d.ts.map +1 -1
  31. package/lib/internal/template/app-layout/visual-refresh/split-panel.js +1 -3
  32. package/lib/internal/template/app-layout/visual-refresh/split-panel.js.map +1 -1
  33. package/lib/internal/template/autosuggest/plain-list.d.ts.map +1 -1
  34. package/lib/internal/template/autosuggest/plain-list.js +1 -3
  35. package/lib/internal/template/autosuggest/plain-list.js.map +1 -1
  36. package/lib/internal/template/autosuggest/virtual-list.d.ts.map +1 -1
  37. package/lib/internal/template/autosuggest/virtual-list.js +1 -3
  38. package/lib/internal/template/autosuggest/virtual-list.js.map +1 -1
  39. package/lib/internal/template/calendar/utils/intl.d.ts.map +1 -1
  40. package/lib/internal/template/calendar/utils/intl.js +0 -3
  41. package/lib/internal/template/calendar/utils/intl.js.map +1 -1
  42. package/lib/internal/template/container/internal.d.ts.map +1 -1
  43. package/lib/internal/template/container/internal.js +3 -0
  44. package/lib/internal/template/container/internal.js.map +1 -1
  45. package/lib/internal/template/container/styles.css.js +29 -28
  46. package/lib/internal/template/container/styles.scoped.css +55 -52
  47. package/lib/internal/template/container/styles.selectors.js +29 -28
  48. package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  49. package/lib/internal/template/date-range-picker/calendar/grids/index.js +0 -8
  50. package/lib/internal/template/date-range-picker/calendar/grids/index.js.map +1 -1
  51. package/lib/internal/template/form/interfaces.d.ts +3 -8
  52. package/lib/internal/template/form/interfaces.d.ts.map +1 -1
  53. package/lib/internal/template/form/interfaces.js.map +1 -1
  54. package/lib/internal/template/form/internal.d.ts +1 -1
  55. package/lib/internal/template/form/internal.d.ts.map +1 -1
  56. package/lib/internal/template/form/internal.js +14 -20
  57. package/lib/internal/template/form/internal.js.map +1 -1
  58. package/lib/internal/template/form/styles.css.js +8 -9
  59. package/lib/internal/template/form/styles.scoped.css +8 -8
  60. package/lib/internal/template/form/styles.selectors.js +8 -9
  61. package/lib/internal/template/header/internal.d.ts.map +1 -1
  62. package/lib/internal/template/header/internal.js +1 -3
  63. package/lib/internal/template/header/internal.js.map +1 -1
  64. package/lib/internal/template/header/styles.css.js +34 -35
  65. package/lib/internal/template/header/styles.scoped.css +50 -53
  66. package/lib/internal/template/header/styles.selectors.js +34 -35
  67. package/lib/internal/template/input/styles.css.js +13 -13
  68. package/lib/internal/template/input/styles.scoped.css +32 -35
  69. package/lib/internal/template/input/styles.selectors.js +13 -13
  70. package/lib/internal/template/internal/components/chart-plot/application-controller.js +3 -13
  71. package/lib/internal/template/internal/components/chart-plot/application-controller.js.map +1 -1
  72. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  73. package/lib/internal/template/internal/components/dropdown/index.js +0 -2
  74. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  75. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  76. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +39 -45
  77. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  78. package/lib/internal/template/internal/components/panel-resize-handle/icon.d.ts +5 -0
  79. package/lib/internal/template/internal/components/panel-resize-handle/icon.d.ts.map +1 -0
  80. package/lib/internal/template/internal/components/panel-resize-handle/icon.js +9 -0
  81. package/lib/internal/template/internal/components/panel-resize-handle/icon.js.map +1 -0
  82. package/lib/internal/template/internal/components/panel-resize-handle/index.d.ts +12 -0
  83. package/lib/internal/template/internal/components/panel-resize-handle/index.d.ts.map +1 -0
  84. package/lib/internal/template/internal/components/panel-resize-handle/index.js +11 -0
  85. package/lib/internal/template/internal/components/panel-resize-handle/index.js.map +1 -0
  86. package/lib/internal/template/internal/components/panel-resize-handle/styles.css.js +10 -0
  87. package/lib/internal/template/internal/components/panel-resize-handle/styles.scoped.css +153 -0
  88. package/lib/internal/template/internal/components/panel-resize-handle/styles.selectors.js +11 -0
  89. package/lib/internal/template/internal/context/single-tab-stop-navigation-context.js +2 -2
  90. package/lib/internal/template/internal/context/single-tab-stop-navigation-context.js.map +1 -1
  91. package/lib/internal/template/internal/environment.js +1 -1
  92. package/lib/internal/template/internal/environment.json +1 -1
  93. package/lib/internal/template/internal/utils/content-header-utils.d.ts +0 -2
  94. package/lib/internal/template/internal/utils/content-header-utils.d.ts.map +1 -1
  95. package/lib/internal/template/internal/utils/content-header-utils.js +0 -3
  96. package/lib/internal/template/internal/utils/content-header-utils.js.map +1 -1
  97. package/lib/internal/template/internal/utils/dom.d.ts.map +1 -1
  98. package/lib/internal/template/internal/utils/dom.js +7 -27
  99. package/lib/internal/template/internal/utils/dom.js.map +1 -1
  100. package/lib/internal/template/internal/utils/global-flags.d.ts +0 -1
  101. package/lib/internal/template/internal/utils/global-flags.d.ts.map +1 -1
  102. package/lib/internal/template/internal/utils/global-flags.js.map +1 -1
  103. package/lib/internal/template/pie-chart/labels.d.ts.map +1 -1
  104. package/lib/internal/template/pie-chart/labels.js +1 -4
  105. package/lib/internal/template/pie-chart/labels.js.map +1 -1
  106. package/lib/internal/template/pie-chart/pie-chart.d.ts.map +1 -1
  107. package/lib/internal/template/pie-chart/pie-chart.js +0 -3
  108. package/lib/internal/template/pie-chart/pie-chart.js.map +1 -1
  109. package/lib/internal/template/pie-chart/utils.d.ts.map +1 -1
  110. package/lib/internal/template/pie-chart/utils.js +0 -4
  111. package/lib/internal/template/pie-chart/utils.js.map +1 -1
  112. package/lib/internal/template/popover/internal.js +3 -6
  113. package/lib/internal/template/popover/internal.js.map +1 -1
  114. package/lib/internal/template/popover/styles.css.js +49 -50
  115. package/lib/internal/template/popover/styles.scoped.css +66 -69
  116. package/lib/internal/template/popover/styles.selectors.js +49 -50
  117. package/lib/internal/template/segmented-control/styles.css.js +14 -14
  118. package/lib/internal/template/segmented-control/styles.scoped.css +33 -33
  119. package/lib/internal/template/segmented-control/styles.selectors.js +14 -14
  120. package/lib/internal/template/split-panel/implementation.d.ts.map +1 -1
  121. package/lib/internal/template/split-panel/implementation.js +6 -3
  122. package/lib/internal/template/split-panel/implementation.js.map +1 -1
  123. package/lib/internal/template/split-panel/styles.css.js +26 -31
  124. package/lib/internal/template/split-panel/styles.scoped.css +41 -97
  125. package/lib/internal/template/split-panel/styles.selectors.js +26 -31
  126. package/lib/internal/template/table/selection/selection-control.d.ts.map +1 -1
  127. package/lib/internal/template/table/selection/selection-control.js.map +1 -1
  128. package/lib/internal/template/table/table-role/utils.d.ts.map +1 -1
  129. package/lib/internal/template/table/table-role/utils.js +6 -1
  130. package/lib/internal/template/table/table-role/utils.js.map +1 -1
  131. package/lib/internal/template/tiles/styles.css.js +29 -29
  132. package/lib/internal/template/tiles/styles.scoped.css +82 -95
  133. package/lib/internal/template/tiles/styles.selectors.js +29 -29
  134. package/package.json +1 -1
  135. package/lib/internal/template/split-panel/icons/resize-handler.d.ts +0 -6
  136. package/lib/internal/template/split-panel/icons/resize-handler.d.ts.map +0 -1
  137. package/lib/internal/template/split-panel/icons/resize-handler.js +0 -8
  138. package/lib/internal/template/split-panel/icons/resize-handler.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/form/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface FormProps extends BaseComponentProps {\n /**\n * Specifies the main form content.\n */\n children?: React.ReactNode;\n\n /**\n * Specifies the form title and optional description. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Specifies a form-level validation message.\n */\n errorText?: React.ReactNode;\n\n /**\n * Provides a text alternative for the error icon in the error alert.\n * @i18n\n */\n errorIconAriaLabel?: string;\n\n /**\n * Specifies actions for the form. You should wrap action buttons in a [space between component](/components/space-between) with `direction=\"horizontal\"` and `size=\"xs\"`.\n */\n actions?: React.ReactNode;\n\n /**\n * Specifies left-aligned secondary actions for the form. Use a button dropdown if multiple actions are required.\n */\n secondaryActions?: React.ReactNode;\n\n /**\n * Specify a form variant with one of the following:\n * * `full-page` - Use this variant when the form contains the entire content of the page. Full page variants implement the high contrast header and content behavior automatically.\n * * `embedded` - Use this variant when the form doesn't occupy the full page. This variant doesn't use a high contrast header.\n * @visualrefresh\n */\n variant?: 'full-page' | 'embedded';\n}\n\nexport interface FormLayoutProps {\n children?: React.ReactNode;\n header?: React.ReactNode;\n variant: FormProps['variant'];\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/form/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface FormProps extends BaseComponentProps {\n /**\n * Specifies the main form content.\n */\n children?: React.ReactNode;\n\n /**\n * Specifies the form title and optional description. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Specifies a form-level validation message.\n */\n errorText?: React.ReactNode;\n\n /**\n * Provides a text alternative for the error icon in the error alert.\n * @i18n\n */\n errorIconAriaLabel?: string;\n\n /**\n * Specifies actions for the form. You should wrap action buttons in a [space between component](/components/space-between) with `direction=\"horizontal\"` and `size=\"xs\"`.\n */\n actions?: React.ReactNode;\n\n /**\n * Specifies left-aligned secondary actions for the form. Use a button dropdown if multiple actions are required.\n */\n secondaryActions?: React.ReactNode;\n\n /**\n * Specify a form variant with one of the following:\n * * `full-page` - Use this variant when the form contains the entire content of the page.\n * * `embedded` - Use this variant when the form doesn't occupy the full page.\n * @deprecated You can safely remove this property as there is no longer any visual difference between `full-page` and `embedded` variants.\n */\n variant?: 'full-page' | 'embedded';\n}\n"]}
@@ -2,6 +2,6 @@
2
2
  import { FormProps } from './interfaces';
3
3
  import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
4
4
  type InternalFormProps = FormProps & InternalBaseComponentProps;
5
- export default function InternalForm({ children, header, errorText, errorIconAriaLabel: errorIconAriaLabelOverride, actions, secondaryActions, variant, __internalRootRef, ...props }: InternalFormProps): JSX.Element;
5
+ export default function InternalForm({ children, header, errorText, errorIconAriaLabel: errorIconAriaLabelOverride, actions, secondaryActions, __internalRootRef, ...props }: InternalFormProps): JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/form/internal.tsx"],"names":[],"mappings":";AASA,OAAO,EAAmB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,KAAK,iBAAiB,GAAG,SAAS,GAAG,0BAA0B,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,kBAAkB,EAAE,0BAA0B,EAC9C,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,iBAAiB,eAqCnB"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/form/internal.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,KAAK,iBAAiB,GAAG,SAAS,GAAG,0BAA0B,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,kBAAkB,EAAE,0BAA0B,EAC9C,OAAO,EACP,gBAAgB,EAChB,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,iBAAiB,eA+BnB"}
@@ -6,33 +6,27 @@ import clsx from 'clsx';
6
6
  import { getBaseProps } from '../internal/base-component';
7
7
  import InternalAlert from '../alert/internal';
8
8
  import InternalBox from '../box/internal';
9
- import InternalContentLayout from '../content-layout/internal';
10
9
  import styles from './styles.css.js';
11
10
  import LiveRegion from '../internal/components/live-region';
12
11
  import { useInternalI18n } from '../i18n/context';
13
12
  export default function InternalForm(_a) {
14
- var { children, header, errorText, errorIconAriaLabel: errorIconAriaLabelOverride, actions, secondaryActions, variant, __internalRootRef } = _a, props = __rest(_a, ["children", "header", "errorText", "errorIconAriaLabel", "actions", "secondaryActions", "variant", "__internalRootRef"]);
13
+ var { children, header, errorText, errorIconAriaLabel: errorIconAriaLabelOverride, actions, secondaryActions, __internalRootRef } = _a, props = __rest(_a, ["children", "header", "errorText", "errorIconAriaLabel", "actions", "secondaryActions", "__internalRootRef"]);
15
14
  const baseProps = getBaseProps(props);
16
15
  const i18n = useInternalI18n('form');
17
16
  const errorIconAriaLabel = i18n('errorIconAriaLabel', errorIconAriaLabelOverride);
18
17
  return (React.createElement("div", Object.assign({}, baseProps, { ref: __internalRootRef, className: clsx(styles.root, baseProps.className) }),
19
- React.createElement(FormLayout, { header: header && React.createElement("div", { className: clsx(styles.header, variant === 'full-page' && styles['full-page']) }, header), variant: variant },
20
- children && React.createElement("div", { className: styles.content }, children),
21
- errorText && (React.createElement(InternalBox, { margin: { top: 'l' } },
22
- React.createElement(InternalAlert, { type: "error", statusIconAriaLabel: errorIconAriaLabel },
23
- React.createElement("div", { className: styles.error }, errorText)))),
24
- (actions || secondaryActions) && (React.createElement("div", { className: styles.footer },
25
- React.createElement("div", { className: styles['actions-section'] },
26
- actions && React.createElement("div", { className: styles.actions }, actions),
27
- secondaryActions && React.createElement("div", { className: styles['secondary-actions'] }, secondaryActions)))),
28
- errorText && (React.createElement(LiveRegion, { assertive: true },
29
- errorIconAriaLabel,
30
- ", ",
31
- errorText)))));
32
- }
33
- function FormLayout({ children, header, variant }) {
34
- return variant === 'full-page' && header ? (React.createElement(InternalContentLayout, { header: header }, children)) : (React.createElement(React.Fragment, null,
35
- header,
36
- children));
18
+ header && React.createElement("div", { className: styles.header }, header),
19
+ children && React.createElement("div", { className: styles.content }, children),
20
+ errorText && (React.createElement(InternalBox, { margin: { top: 'l' } },
21
+ React.createElement(InternalAlert, { type: "error", statusIconAriaLabel: errorIconAriaLabel },
22
+ React.createElement("div", { className: styles.error }, errorText)))),
23
+ (actions || secondaryActions) && (React.createElement("div", { className: styles.footer },
24
+ React.createElement("div", { className: styles['actions-section'] },
25
+ actions && React.createElement("div", { className: styles.actions }, actions),
26
+ secondaryActions && React.createElement("div", { className: styles['secondary-actions'] }, secondaryActions)))),
27
+ errorText && (React.createElement(LiveRegion, { assertive: true },
28
+ errorIconAriaLabel,
29
+ ", ",
30
+ errorText))));
37
31
  }
38
32
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/form/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAUjB;QAViB,EACnC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,kBAAkB,EAAE,0BAA0B,EAC9C,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,iBAAiB,OAEC,EADf,KAAK,cAT2B,wHAUpC,CADS;IAER,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACrC,MAAM,kBAAkB,GAAG,IAAI,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,KAAK,WAAW,IAAI,MAAM,CAAC,CAAC,CAAC,CACzC,oBAAC,qBAAqB,IAAC,MAAM,EAAE,MAAM,IAAG,QAAQ,CAAyB,CAC1E,CAAC,CAAC,CAAC,CACF;QACG,MAAM;QACN,QAAQ,CACR,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { getBaseProps } from '../internal/base-component';\nimport InternalAlert from '../alert/internal';\nimport InternalBox from '../box/internal';\nimport InternalContentLayout from '../content-layout/internal';\nimport styles from './styles.css.js';\nimport { FormLayoutProps, FormProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport LiveRegion from '../internal/components/live-region';\nimport { useInternalI18n } from '../i18n/context';\n\ntype InternalFormProps = FormProps & InternalBaseComponentProps;\n\nexport default function InternalForm({\n children,\n header,\n errorText,\n errorIconAriaLabel: errorIconAriaLabelOverride,\n actions,\n secondaryActions,\n variant,\n __internalRootRef,\n ...props\n}: InternalFormProps) {\n const baseProps = getBaseProps(props);\n const i18n = useInternalI18n('form');\n const errorIconAriaLabel = i18n('errorIconAriaLabel', errorIconAriaLabelOverride);\n\n return (\n <div {...baseProps} ref={__internalRootRef} className={clsx(styles.root, baseProps.className)}>\n <FormLayout\n header={\n header && <div className={clsx(styles.header, variant === 'full-page' && styles['full-page'])}>{header}</div>\n }\n variant={variant}\n >\n {children && <div className={styles.content}>{children}</div>}\n {errorText && (\n <InternalBox margin={{ top: 'l' }}>\n <InternalAlert type=\"error\" statusIconAriaLabel={errorIconAriaLabel}>\n <div className={styles.error}>{errorText}</div>\n </InternalAlert>\n </InternalBox>\n )}\n {(actions || secondaryActions) && (\n <div className={styles.footer}>\n <div className={styles['actions-section']}>\n {actions && <div className={styles.actions}>{actions}</div>}\n {secondaryActions && <div className={styles['secondary-actions']}>{secondaryActions}</div>}\n </div>\n </div>\n )}\n {errorText && (\n <LiveRegion assertive={true}>\n {errorIconAriaLabel}, {errorText}\n </LiveRegion>\n )}\n </FormLayout>\n </div>\n );\n}\n\nfunction FormLayout({ children, header, variant }: FormLayoutProps) {\n return variant === 'full-page' && header ? (\n <InternalContentLayout header={header}>{children}</InternalContentLayout>\n ) : (\n <>\n {header}\n {children}\n </>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/form/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EASjB;QATiB,EACnC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,kBAAkB,EAAE,0BAA0B,EAC9C,OAAO,EACP,gBAAgB,EAChB,iBAAiB,OAEC,EADf,KAAK,cAR2B,6GASpC,CADS;IAER,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACrC,MAAM,kBAAkB,GAAG,IAAI,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,CAAC;IAElF,OAAO,CACL,6CAAS,SAAS,IAAE,GAAG,EAAE,iBAAiB,EAAE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC;QAC1F,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,MAAM,CAAO;QACvD,QAAQ,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO,IAAG,QAAQ,CAAO;QAC5D,SAAS,IAAI,CACZ,oBAAC,WAAW,IAAC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;YAC/B,oBAAC,aAAa,IAAC,IAAI,EAAC,OAAO,EAAC,mBAAmB,EAAE,kBAAkB;gBACjE,6BAAK,SAAS,EAAE,MAAM,CAAC,KAAK,IAAG,SAAS,CAAO,CACjC,CACJ,CACf;QACA,CAAC,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAChC,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM;YAC3B,6BAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC;gBACtC,OAAO,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO,IAAG,OAAO,CAAO;gBAC1D,gBAAgB,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,IAAG,gBAAgB,CAAO,CACtF,CACF,CACP;QACA,SAAS,IAAI,CACZ,oBAAC,UAAU,IAAC,SAAS,EAAE,IAAI;YACxB,kBAAkB;;YAAI,SAAS,CACrB,CACd,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { getBaseProps } from '../internal/base-component';\nimport InternalAlert from '../alert/internal';\nimport InternalBox from '../box/internal';\nimport styles from './styles.css.js';\nimport { FormProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport LiveRegion from '../internal/components/live-region';\nimport { useInternalI18n } from '../i18n/context';\n\ntype InternalFormProps = FormProps & InternalBaseComponentProps;\n\nexport default function InternalForm({\n children,\n header,\n errorText,\n errorIconAriaLabel: errorIconAriaLabelOverride,\n actions,\n secondaryActions,\n __internalRootRef,\n ...props\n}: InternalFormProps) {\n const baseProps = getBaseProps(props);\n const i18n = useInternalI18n('form');\n const errorIconAriaLabel = i18n('errorIconAriaLabel', errorIconAriaLabelOverride);\n\n return (\n <div {...baseProps} ref={__internalRootRef} className={clsx(styles.root, baseProps.className)}>\n {header && <div className={styles.header}>{header}</div>}\n {children && <div className={styles.content}>{children}</div>}\n {errorText && (\n <InternalBox margin={{ top: 'l' }}>\n <InternalAlert type=\"error\" statusIconAriaLabel={errorIconAriaLabel}>\n <div className={styles.error}>{errorText}</div>\n </InternalAlert>\n </InternalBox>\n )}\n {(actions || secondaryActions) && (\n <div className={styles.footer}>\n <div className={styles['actions-section']}>\n {actions && <div className={styles.actions}>{actions}</div>}\n {secondaryActions && <div className={styles['secondary-actions']}>{secondaryActions}</div>}\n </div>\n </div>\n )}\n {errorText && (\n <LiveRegion assertive={true}>\n {errorIconAriaLabel}, {errorText}\n </LiveRegion>\n )}\n </div>\n );\n}\n"]}
@@ -1,14 +1,13 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1i0s3_1of5d_99",
5
- "header": "awsui_header_1i0s3_1of5d_134",
6
- "full-page": "awsui_full-page_1i0s3_1of5d_134",
7
- "content": "awsui_content_1i0s3_1of5d_138",
8
- "error": "awsui_error_1i0s3_1of5d_142",
9
- "footer": "awsui_footer_1i0s3_1of5d_146",
10
- "actions-section": "awsui_actions-section_1i0s3_1of5d_150",
11
- "secondary-actions": "awsui_secondary-actions_1i0s3_1of5d_159",
12
- "actions": "awsui_actions_1i0s3_1of5d_150"
4
+ "root": "awsui_root_1i0s3_srrwu_99",
5
+ "header": "awsui_header_1i0s3_srrwu_134",
6
+ "content": "awsui_content_1i0s3_srrwu_138",
7
+ "error": "awsui_error_1i0s3_srrwu_142",
8
+ "footer": "awsui_footer_1i0s3_srrwu_146",
9
+ "actions-section": "awsui_actions-section_1i0s3_srrwu_150",
10
+ "secondary-actions": "awsui_secondary-actions_1i0s3_srrwu_159",
11
+ "actions": "awsui_actions_1i0s3_srrwu_150"
13
12
  };
14
13
 
@@ -96,7 +96,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
96
96
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
97
97
  SPDX-License-Identifier: Apache-2.0
98
98
  */
99
- .awsui_root_1i0s3_1of5d_99:not(#\9) {
99
+ .awsui_root_1i0s3_srrwu_99:not(#\9) {
100
100
  border-collapse: separate;
101
101
  border-spacing: 0;
102
102
  box-sizing: border-box;
@@ -132,23 +132,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
132
132
  -moz-osx-font-smoothing: auto;
133
133
  }
134
134
 
135
- .awsui_header_1i0s3_1of5d_134:not(#\9):not(.awsui_full-page_1i0s3_1of5d_134) {
135
+ .awsui_header_1i0s3_srrwu_134:not(#\9) {
136
136
  margin-block-end: var(--space-scaled-m-er48cl, 16px);
137
137
  }
138
138
 
139
- .awsui_content_1i0s3_1of5d_138:not(#\9) {
139
+ .awsui_content_1i0s3_srrwu_138:not(#\9) {
140
140
  /* used in test-utils */
141
141
  }
142
142
 
143
- .awsui_error_1i0s3_1of5d_142:not(#\9) {
143
+ .awsui_error_1i0s3_srrwu_142:not(#\9) {
144
144
  /* used in test-utils */
145
145
  }
146
146
 
147
- .awsui_footer_1i0s3_1of5d_146:not(#\9) {
147
+ .awsui_footer_1i0s3_srrwu_146:not(#\9) {
148
148
  margin-block-start: var(--space-scaled-l-08jb88, 20px);
149
149
  }
150
150
 
151
- .awsui_actions-section_1i0s3_1of5d_150:not(#\9) {
151
+ .awsui_actions-section_1i0s3_srrwu_150:not(#\9) {
152
152
  display: flex;
153
153
  flex-direction: row-reverse;
154
154
  justify-content: space-between;
@@ -157,13 +157,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
157
157
  margin-block-end: calc(-1 * var(--space-scaled-m-er48cl, 16px));
158
158
  }
159
159
 
160
- .awsui_secondary-actions_1i0s3_1of5d_159:not(#\9) {
160
+ .awsui_secondary-actions_1i0s3_srrwu_159:not(#\9) {
161
161
  min-inline-size: 1px;
162
162
  margin-inline-start: var(--space-scaled-m-er48cl, 16px);
163
163
  margin-block-end: var(--space-scaled-m-er48cl, 16px);
164
164
  }
165
165
 
166
- .awsui_actions_1i0s3_1of5d_150:not(#\9) {
166
+ .awsui_actions_1i0s3_srrwu_150:not(#\9) {
167
167
  min-inline-size: 1px;
168
168
  margin-inline-start: var(--space-scaled-m-er48cl, 16px);
169
169
  margin-block-end: var(--space-scaled-m-er48cl, 16px);
@@ -2,14 +2,13 @@
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_1i0s3_1of5d_99",
6
- "header": "awsui_header_1i0s3_1of5d_134",
7
- "full-page": "awsui_full-page_1i0s3_1of5d_134",
8
- "content": "awsui_content_1i0s3_1of5d_138",
9
- "error": "awsui_error_1i0s3_1of5d_142",
10
- "footer": "awsui_footer_1i0s3_1of5d_146",
11
- "actions-section": "awsui_actions-section_1i0s3_1of5d_150",
12
- "secondary-actions": "awsui_secondary-actions_1i0s3_1of5d_159",
13
- "actions": "awsui_actions_1i0s3_1of5d_150"
5
+ "root": "awsui_root_1i0s3_srrwu_99",
6
+ "header": "awsui_header_1i0s3_srrwu_134",
7
+ "content": "awsui_content_1i0s3_srrwu_138",
8
+ "error": "awsui_error_1i0s3_srrwu_142",
9
+ "footer": "awsui_footer_1i0s3_srrwu_146",
10
+ "actions-section": "awsui_actions-section_1i0s3_srrwu_150",
11
+ "secondary-actions": "awsui_secondary-actions_1i0s3_srrwu_159",
12
+ "actions": "awsui_actions_1i0s3_srrwu_150"
14
13
  };
15
14
 
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,O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AE,QAAQ,EAAE,eAAe,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,sBAgBhH"}
@@ -13,7 +13,6 @@ import { CollectionLabelContext } from '../internal/context/collection-label-con
13
13
  import { useUniqueId } from '../internal/hooks/use-unique-id';
14
14
  import { DATA_ATTR_FUNNEL_KEY, FUNNEL_KEY_SUBSTEP_NAME } from '../internal/analytics/selectors';
15
15
  import { useContainerHeader } from '../internal/context/container-header';
16
- import { getGlobalFlag } from '../internal/utils/global-flags';
17
16
  export default function InternalHeader(_a) {
18
17
  var { variant, headingTagOverride, children, actions, counter, description, info, __internalRootRef = null, __disableActionsWrapping } = _a, restProps = __rest(_a, ["variant", "headingTagOverride", "children", "actions", "counter", "description", "info", "__internalRootRef", "__disableActionsWrapping"]);
19
18
  const isMobile = useMobile();
@@ -30,8 +29,7 @@ export default function InternalHeader(_a) {
30
29
  // If is mobile there is no need to have the dynamic variant because it's scrolled out of view
31
30
  const dynamicVariant = !isMobile && isStuck ? 'h2' : 'h1';
32
31
  const variantOverride = variant === 'awsui-h1-sticky' ? (isRefresh ? dynamicVariant : 'h2') : variant;
33
- const hasToolbarHeader = getGlobalFlag('appLayoutWidget');
34
- return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className, styles[`root-variant-${variantOverride}`], isRefresh && styles.refresh, hasToolbarHeader && styles['root-with-toolbar'], !actions && [styles[`root-no-actions`]], description && [styles[`root-has-description`]]), ref: __internalRootRef }),
32
+ return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className, styles[`root-variant-${variantOverride}`], isRefresh && styles.refresh, !actions && [styles[`root-no-actions`]], description && [styles[`root-has-description`]]), ref: __internalRootRef }),
35
33
  React.createElement("div", { className: clsx(styles.main, styles[`main-variant-${variantOverride}`], isRefresh && styles.refresh, __disableActionsWrapping && [styles['no-wrap']]) },
36
34
  React.createElement("div", { className: clsx(styles.title, styles[`title-variant-${variantOverride}`], isRefresh && styles.refresh) },
37
35
  React.createElement(HeadingTag, { className: clsx(styles.heading, styles[`heading-variant-${variantOverride}`]) },
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAM/D,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAWjB;QAXiB,EACrC,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,IAAI,EACJ,iBAAiB,GAAG,IAAI,EACxB,wBAAwB,OAEJ,EADjB,SAAS,cAVyB,2IAWtC,CADa;IAEZ,MAAM,QAAQ,GAAG,SAAS,EAAE,CAAC;IAC7B,MAAM,UAAU,GAAG,kBAAkB,aAAlB,kBAAkB,cAAlB,kBAAkB,GAAI,C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AAC,CAAC,CAC1D,IAEA,OAAO,CACJ,CACP,CACG;QACN,oBAAC,WAAW,IAAC,eAAe,EAAE,eAAe,IAAG,WAAW,CAAe,CACtE,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,eAAe,EAA0D;IAC/G,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,CACL,CAAC,QAAQ,IAAI,CACX,2BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,WAAW,EAClB,MAAM,CAAC,uBAAuB,eAAe,EAAE,CAAC,EAChD,SAAS,IAAI,MAAM,CAAC,OAAO,CAC5B,IAEA,QAAQ,CACP,CACL,CAAC;QACF,IAAI,CACL,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, { useContext } from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { StickyHeaderContext } from '../container/use-sticky-header';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { HeaderProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { SomeRequired } from '../internal/types';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { InfoLinkLabelContext } from '../internal/context/info-link-label-context';\nimport { CollectionLabelContext } from '../internal/context/collection-label-context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { DATA_ATTR_FUNNEL_KEY, FUNNEL_KEY_SUBSTEP_NAME } from '../internal/analytics/selectors';\nimport { useContainerHeader } from '../internal/context/container-header';\nimport { getGlobalFlag } from '../internal/utils/global-flags';\n\ninterface InternalHeaderProps extends SomeRequired<HeaderProps, 'variant'>, InternalBaseComponentProps {\n __disableActionsWrapping?: boolean;\n}\n\nexport default function InternalHeader({\n variant,\n headingTagOverride,\n children,\n actions,\n counter,\n description,\n info,\n __internalRootRef = null,\n __disableActionsWrapping,\n ...restProps\n}: InternalHeaderProps) {\n const isMobile = useMobile();\n const HeadingTag = headingTagOverride ?? (variant === 'awsui-h1-sticky' ? 'h1' : variant);\n const { isStuck } = useContext(StickyHeaderContext);\n const baseProps = getBaseProps(restProps);\n const isRefresh = useVisualRefresh();\n const assignHeaderId = useContext(CollectionLabelContext).assignId;\n const isInContainer = useContainerHeader();\n const headingId = useUniqueId('heading');\n if (assignHeaderId !== undefined) {\n assignHeaderId(headingId);\n }\n // If is mobile there is no need to have the dynamic variant because it's scrolled out of view\n const dynamicVariant = !isMobile && isStuck ? 'h2' : 'h1';\n const variantOverride = variant === 'awsui-h1-sticky' ? (isRefresh ? dynamicVariant : 'h2') : variant;\n const hasToolbarHeader = getGlobalFlag('appLayoutWidget');\n\n return (\n <div\n {...baseProps}\n className={clsx(\n styles.root,\n baseProps.className,\n styles[`root-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n hasToolbarHeader && styles['root-with-toolbar'],\n !actions && [styles[`root-no-actions`]],\n description && [styles[`root-has-description`]]\n )}\n ref={__internalRootRef}\n >\n <div\n className={clsx(\n styles.main,\n styles[`main-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n __disableActionsWrapping && [styles['no-wrap']]\n )}\n >\n <div className={clsx(styles.title, styles[`title-variant-${variantOverride}`], isRefresh && styles.refresh)}>\n <HeadingTag className={clsx(styles.heading, styles[`heading-variant-${variantOverride}`])}>\n <span\n {...(isInContainer ? { [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_SUBSTEP_NAME } : {})}\n className={clsx(styles['heading-text'], styles[`heading-text-variant-${variantOverride}`])}\n id={headingId}\n >\n {children}\n </span>\n {counter !== undefined && <span className={styles.counter}> {counter}</span>}\n </HeadingTag>\n {info && (\n <InfoLinkLabelContext.Provider value={headingId}>\n {/* Exists to create a space between heading text and info so that a double-click selection on the last word of the heading doesn't also include info */}\n <span className={styles['virtual-space']}> &nbsp;</span>\n <span className={styles.info}>{info}</span>\n </InfoLinkLabelContext.Provider>\n )}\n </div>\n {actions && (\n <div\n className={clsx(\n styles.actions,\n styles[`actions-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n !__disableActionsWrapping && [styles['actions-centered']]\n )}\n >\n {actions}\n </div>\n )}\n </div>\n <Description variantOverride={variantOverride}>{description}</Description>\n </div>\n );\n}\n\nexport function Description({ children, variantOverride }: { children: React.ReactNode; variantOverride: string }) {\n const isRefresh = useVisualRefresh();\n return (\n (children && (\n <p\n className={clsx(\n styles.description,\n styles[`description-variant-${variantOverride}`],\n isRefresh && styles.refresh\n )}\n >\n {children}\n </p>\n )) ||\n null\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAM1E,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAWjB;QAXiB,EACrC,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR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AAM,CAAC,mBAAmB,eAAe,EAAE,CAAC,EAC5C,SAAS,IAAI,MAAM,CAAC,OAAO,EAC3B,CAAC,wBAAwB,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAC1D,IAEA,OAAO,CACJ,CACP,CACG;QACN,oBAAC,WAAW,IAAC,eAAe,EAAE,eAAe,IAAG,WAAW,CAAe,CACtE,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,eAAe,EAA0D;IAC/G,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,CACL,CAAC,QAAQ,IAAI,CACX,2BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,WAAW,EAClB,MAAM,CAAC,uBAAuB,eAAe,EAAE,CAAC,EAChD,SAAS,IAAI,MAAM,CAAC,OAAO,CAC5B,IAEA,QAAQ,CACP,CACL,CAAC;QACF,IAAI,CACL,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, { useContext } from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { StickyHeaderContext } from '../container/use-sticky-header';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { HeaderProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { SomeRequired } from '../internal/types';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { InfoLinkLabelContext } from '../internal/context/info-link-label-context';\nimport { CollectionLabelContext } from '../internal/context/collection-label-context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { DATA_ATTR_FUNNEL_KEY, FUNNEL_KEY_SUBSTEP_NAME } from '../internal/analytics/selectors';\nimport { useContainerHeader } from '../internal/context/container-header';\n\ninterface InternalHeaderProps extends SomeRequired<HeaderProps, 'variant'>, InternalBaseComponentProps {\n __disableActionsWrapping?: boolean;\n}\n\nexport default function InternalHeader({\n variant,\n headingTagOverride,\n children,\n actions,\n counter,\n description,\n info,\n __internalRootRef = null,\n __disableActionsWrapping,\n ...restProps\n}: InternalHeaderProps) {\n const isMobile = useMobile();\n const HeadingTag = headingTagOverride ?? (variant === 'awsui-h1-sticky' ? 'h1' : variant);\n const { isStuck } = useContext(StickyHeaderContext);\n const baseProps = getBaseProps(restProps);\n const isRefresh = useVisualRefresh();\n const assignHeaderId = useContext(CollectionLabelContext).assignId;\n const isInContainer = useContainerHeader();\n const headingId = useUniqueId('heading');\n if (assignHeaderId !== undefined) {\n assignHeaderId(headingId);\n }\n // If is mobile there is no need to have the dynamic variant because it's scrolled out of view\n const dynamicVariant = !isMobile && isStuck ? 'h2' : 'h1';\n const variantOverride = variant === 'awsui-h1-sticky' ? (isRefresh ? dynamicVariant : 'h2') : variant;\n\n return (\n <div\n {...baseProps}\n className={clsx(\n styles.root,\n baseProps.className,\n styles[`root-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n !actions && [styles[`root-no-actions`]],\n description && [styles[`root-has-description`]]\n )}\n ref={__internalRootRef}\n >\n <div\n className={clsx(\n styles.main,\n styles[`main-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n __disableActionsWrapping && [styles['no-wrap']]\n )}\n >\n <div className={clsx(styles.title, styles[`title-variant-${variantOverride}`], isRefresh && styles.refresh)}>\n <HeadingTag className={clsx(styles.heading, styles[`heading-variant-${variantOverride}`])}>\n <span\n {...(isInContainer ? { [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_SUBSTEP_NAME } : {})}\n className={clsx(styles['heading-text'], styles[`heading-text-variant-${variantOverride}`])}\n id={headingId}\n >\n {children}\n </span>\n {counter !== undefined && <span className={styles.counter}> {counter}</span>}\n </HeadingTag>\n {info && (\n <InfoLinkLabelContext.Provider value={headingId}>\n {/* Exists to create a space between heading text and info so that a double-click selection on the last word of the heading doesn't also include info */}\n <span className={styles['virtual-space']}> &nbsp;</span>\n <span className={styles.info}>{info}</span>\n </InfoLinkLabelContext.Provider>\n )}\n </div>\n {actions && (\n <div\n className={clsx(\n styles.actions,\n styles[`actions-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n !__disableActionsWrapping && [styles['actions-centered']]\n )}\n >\n {actions}\n </div>\n )}\n </div>\n <Description variantOverride={variantOverride}>{description}</Description>\n </div>\n );\n}\n\nexport function Description({ children, variantOverride }: { children: React.ReactNode; variantOverride: string }) {\n const isRefresh = useVisualRefresh();\n return (\n (children && (\n <p\n className={clsx(\n styles.description,\n styles[`description-variant-${variantOverride}`],\n isRefresh && styles.refresh\n )}\n >\n {children}\n </p>\n )) ||\n null\n );\n}\n"]}
@@ -1,40 +1,39 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_2qdw9_mpcu3_99",
5
- "root-with-toolbar": "awsui_root-with-toolbar_2qdw9_mpcu3_138",
6
- "refresh": "awsui_refresh_2qdw9_mpcu3_141",
7
- "root-no-actions": "awsui_root-no-actions_2qdw9_mpcu3_141",
8
- "root-variant-h2": "awsui_root-variant-h2_2qdw9_mpcu3_144",
9
- "root-variant-h3": "awsui_root-variant-h3_2qdw9_mpcu3_144",
10
- "root-has-description": "awsui_root-has-description_2qdw9_mpcu3_144",
11
- "root-variant-h1": "awsui_root-variant-h1_2qdw9_mpcu3_153",
12
- "main": "awsui_main_2qdw9_mpcu3_163",
13
- "no-wrap": "awsui_no-wrap_2qdw9_mpcu3_173",
14
- "main-variant-h1": "awsui_main-variant-h1_2qdw9_mpcu3_179",
15
- "actions": "awsui_actions_2qdw9_mpcu3_187",
16
- "actions-centered": "awsui_actions-centered_2qdw9_mpcu3_192",
17
- "actions-variant-h1": "awsui_actions-variant-h1_2qdw9_mpcu3_195",
18
- "actions-variant-h2": "awsui_actions-variant-h2_2qdw9_mpcu3_199",
19
- "actions-variant-h3": "awsui_actions-variant-h3_2qdw9_mpcu3_203",
20
- "title": "awsui_title_2qdw9_mpcu3_219",
21
- "title-variant-h1": "awsui_title-variant-h1_2qdw9_mpcu3_224",
22
- "title-variant-h2": "awsui_title-variant-h2_2qdw9_mpcu3_231",
23
- "title-variant-h3": "awsui_title-variant-h3_2qdw9_mpcu3_237",
24
- "virtual-space": "awsui_virtual-space_2qdw9_mpcu3_258",
25
- "info": "awsui_info_2qdw9_mpcu3_264",
26
- "description": "awsui_description_2qdw9_mpcu3_268",
27
- "description-variant-h1": "awsui_description-variant-h1_2qdw9_mpcu3_275",
28
- "description-variant-h2": "awsui_description-variant-h2_2qdw9_mpcu3_279",
29
- "description-variant-h3": "awsui_description-variant-h3_2qdw9_mpcu3_286",
30
- "heading": "awsui_heading_2qdw9_mpcu3_295",
31
- "heading-variant-h1": "awsui_heading-variant-h1_2qdw9_mpcu3_306",
32
- "heading-variant-h2": "awsui_heading-variant-h2_2qdw9_mpcu3_311",
33
- "heading-variant-h3": "awsui_heading-variant-h3_2qdw9_mpcu3_316",
34
- "heading-text": "awsui_heading-text_2qdw9_mpcu3_322",
35
- "heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_mpcu3_325",
36
- "heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_mpcu3_333",
37
- "heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_mpcu3_341",
38
- "counter": "awsui_counter_2qdw9_mpcu3_350"
4
+ "root": "awsui_root_2qdw9_e5jcn_99",
5
+ "refresh": "awsui_refresh_2qdw9_e5jcn_138",
6
+ "root-no-actions": "awsui_root-no-actions_2qdw9_e5jcn_138",
7
+ "root-variant-h2": "awsui_root-variant-h2_2qdw9_e5jcn_141",
8
+ "root-variant-h3": "awsui_root-variant-h3_2qdw9_e5jcn_141",
9
+ "root-has-description": "awsui_root-has-description_2qdw9_e5jcn_141",
10
+ "root-variant-h1": "awsui_root-variant-h1_2qdw9_e5jcn_150",
11
+ "main": "awsui_main_2qdw9_e5jcn_160",
12
+ "no-wrap": "awsui_no-wrap_2qdw9_e5jcn_170",
13
+ "main-variant-h1": "awsui_main-variant-h1_2qdw9_e5jcn_176",
14
+ "actions": "awsui_actions_2qdw9_e5jcn_184",
15
+ "actions-centered": "awsui_actions-centered_2qdw9_e5jcn_189",
16
+ "actions-variant-h1": "awsui_actions-variant-h1_2qdw9_e5jcn_192",
17
+ "actions-variant-h2": "awsui_actions-variant-h2_2qdw9_e5jcn_196",
18
+ "actions-variant-h3": "awsui_actions-variant-h3_2qdw9_e5jcn_200",
19
+ "title": "awsui_title_2qdw9_e5jcn_216",
20
+ "title-variant-h1": "awsui_title-variant-h1_2qdw9_e5jcn_221",
21
+ "title-variant-h2": "awsui_title-variant-h2_2qdw9_e5jcn_228",
22
+ "title-variant-h3": "awsui_title-variant-h3_2qdw9_e5jcn_234",
23
+ "virtual-space": "awsui_virtual-space_2qdw9_e5jcn_255",
24
+ "info": "awsui_info_2qdw9_e5jcn_261",
25
+ "description": "awsui_description_2qdw9_e5jcn_265",
26
+ "description-variant-h1": "awsui_description-variant-h1_2qdw9_e5jcn_272",
27
+ "description-variant-h2": "awsui_description-variant-h2_2qdw9_e5jcn_276",
28
+ "description-variant-h3": "awsui_description-variant-h3_2qdw9_e5jcn_283",
29
+ "heading": "awsui_heading_2qdw9_e5jcn_292",
30
+ "heading-variant-h1": "awsui_heading-variant-h1_2qdw9_e5jcn_303",
31
+ "heading-variant-h2": "awsui_heading-variant-h2_2qdw9_e5jcn_308",
32
+ "heading-variant-h3": "awsui_heading-variant-h3_2qdw9_e5jcn_313",
33
+ "heading-text": "awsui_heading-text_2qdw9_e5jcn_319",
34
+ "heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_e5jcn_322",
35
+ "heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_e5jcn_330",
36
+ "heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_e5jcn_338",
37
+ "counter": "awsui_counter_2qdw9_e5jcn_347"
39
38
  };
40
39