@cloudscape-design/components 3.0.1124 → 3.0.1126
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.
- package/app-layout/runtime-drawer/index.d.ts +3 -0
- package/app-layout/runtime-drawer/index.d.ts.map +1 -1
- package/app-layout/runtime-drawer/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.js +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/interfaces.d.ts +3 -0
- package/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/state/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-ai-drawer.d.ts +6 -0
- package/app-layout/visual-refresh-toolbar/state/use-ai-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +9 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts +6 -0
- package/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts.map +1 -1
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +170 -166
- package/code-editor/styles.selectors.js +33 -33
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +1 -1
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/styles.css.js +35 -34
- package/expandable-section/styles.scoped.css +68 -65
- package/expandable-section/styles.selectors.js +35 -34
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +68 -50
- package/header/styles.selectors.js +34 -34
- package/internal/base-component/styles.scoped.css +2 -2
- package/internal/components/chart-popover/index.d.ts.map +1 -1
- package/internal/components/chart-popover/index.js +20 -14
- package/internal/components/chart-popover/index.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/theming/index.cjs +1 -1
- package/internal/generated/theming/index.js +1 -1
- package/internal/hooks/forward-focus/radio-group.js +1 -9
- package/internal/hooks/forward-focus/radio-group.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/plugins/widget/interfaces.d.ts +3 -0
- package/internal/plugins/widget/interfaces.d.ts.map +1 -1
- package/internal/plugins/widget/interfaces.js.map +1 -1
- package/internal/utils/dom.d.ts +2 -1
- package/internal/utils/dom.d.ts.map +1 -1
- package/internal/utils/dom.js +3 -0
- package/internal/utils/dom.js.map +1 -1
- package/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
- package/mixed-line-bar-chart/chart-container.js +2 -3
- package/mixed-line-bar-chart/chart-container.js.map +1 -1
- package/mixed-line-bar-chart/domain.d.ts.map +1 -1
- package/mixed-line-bar-chart/domain.js +4 -32
- package/mixed-line-bar-chart/domain.js.map +1 -1
- package/package.json +1 -1
- package/popover/internal.js +1 -1
- package/popover/internal.js.map +1 -1
- package/s3-resource-selector/s3-modal/table-utils.js +1 -1
- package/s3-resource-selector/s3-modal/table-utils.js.map +1 -1
- package/tag-editor/index.js +2 -2
- package/tag-editor/index.js.map +1 -1
- package/tag-editor/utils.d.ts +0 -4
- package/tag-editor/utils.d.ts.map +1 -1
- package/tag-editor/utils.js +0 -11
- package/tag-editor/utils.js.map +1 -1
- package/textarea/index.d.ts.map +1 -1
- package/textarea/index.js +1 -1
- package/textarea/interfaces.d.ts +48 -0
- package/textarea/interfaces.d.ts.map +1 -1
- package/textarea/interfaces.js.map +1 -1
- package/textarea/internal-do-not-use-core.js +3 -2
- package/textarea/internal-do-not-use-core.js.map +1 -1
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.d.ts +2 -0
- package/textarea/styles.d.ts.map +1 -0
- package/textarea/styles.js +42 -0
- package/textarea/styles.js.map +1 -0
- package/textarea/styles.scoped.css +42 -29
- package/textarea/styles.selectors.js +5 -5
|
@@ -2,38 +2,38 @@
|
|
|
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-refresh": "awsui_code-editor-
|
|
6
|
-
"code-editor": "awsui_code-
|
|
7
|
-
"pane": "
|
|
8
|
-
"pane__close-container": "awsui_pane__close-
|
|
9
|
-
"pane__list": "
|
|
10
|
-
"pane__table": "
|
|
11
|
-
"pane__item": "
|
|
12
|
-
"pane__cell": "
|
|
13
|
-
"pane__item--highlighted": "awsui_pane__item--
|
|
14
|
-
"pane__location": "
|
|
15
|
-
"pane__description": "
|
|
16
|
-
"focus-lock": "awsui_focus-
|
|
17
|
-
"editor": "
|
|
18
|
-
"editor-refresh": "awsui_editor-
|
|
19
|
-
"status-bar": "awsui_status-
|
|
20
|
-
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-
|
|
21
|
-
"status-bar__left": "awsui_status-
|
|
22
|
-
"status-bar__right": "awsui_status-
|
|
23
|
-
"status-bar__language-mode": "awsui_status-bar__language-
|
|
24
|
-
"status-bar__cursor-position": "awsui_status-bar__cursor-
|
|
25
|
-
"status-bar__cog-button": "awsui_status-bar__cog-
|
|
26
|
-
"tab-list": "awsui_tab-
|
|
27
|
-
"tab-button": "awsui_tab-
|
|
28
|
-
"tab-button--refresh": "awsui_tab-button--
|
|
29
|
-
"tab-button--warnings": "awsui_tab-button--
|
|
30
|
-
"tab-button--active": "awsui_tab-button--
|
|
31
|
-
"tab-button--disabled": "awsui_tab-button--
|
|
32
|
-
"tab-button--divider": "awsui_tab-button--
|
|
33
|
-
"tab-button--errors": "awsui_tab-button--
|
|
34
|
-
"count": "
|
|
35
|
-
"text": "
|
|
36
|
-
"loading-screen": "awsui_loading-
|
|
37
|
-
"error-screen": "awsui_error-
|
|
5
|
+
"code-editor-refresh": "awsui_code-editor-refresh_1gl9c_12e1r_158",
|
|
6
|
+
"code-editor": "awsui_code-editor_1gl9c_12e1r_158",
|
|
7
|
+
"pane": "awsui_pane_1gl9c_12e1r_496",
|
|
8
|
+
"pane__close-container": "awsui_pane__close-container_1gl9c_12e1r_507",
|
|
9
|
+
"pane__list": "awsui_pane__list_1gl9c_12e1r_512",
|
|
10
|
+
"pane__table": "awsui_pane__table_1gl9c_12e1r_519",
|
|
11
|
+
"pane__item": "awsui_pane__item_1gl9c_12e1r_525",
|
|
12
|
+
"pane__cell": "awsui_pane__cell_1gl9c_12e1r_525",
|
|
13
|
+
"pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_12e1r_539",
|
|
14
|
+
"pane__location": "awsui_pane__location_1gl9c_12e1r_560",
|
|
15
|
+
"pane__description": "awsui_pane__description_1gl9c_12e1r_560",
|
|
16
|
+
"focus-lock": "awsui_focus-lock_1gl9c_12e1r_575",
|
|
17
|
+
"editor": "awsui_editor_1gl9c_12e1r_619",
|
|
18
|
+
"editor-refresh": "awsui_editor-refresh_1gl9c_12e1r_649",
|
|
19
|
+
"status-bar": "awsui_status-bar_1gl9c_12e1r_654",
|
|
20
|
+
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_12e1r_663",
|
|
21
|
+
"status-bar__left": "awsui_status-bar__left_1gl9c_12e1r_667",
|
|
22
|
+
"status-bar__right": "awsui_status-bar__right_1gl9c_12e1r_674",
|
|
23
|
+
"status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_12e1r_678",
|
|
24
|
+
"status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_12e1r_678",
|
|
25
|
+
"status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_12e1r_684",
|
|
26
|
+
"tab-list": "awsui_tab-list_1gl9c_12e1r_689",
|
|
27
|
+
"tab-button": "awsui_tab-button_1gl9c_12e1r_694",
|
|
28
|
+
"tab-button--refresh": "awsui_tab-button--refresh_1gl9c_12e1r_727",
|
|
29
|
+
"tab-button--warnings": "awsui_tab-button--warnings_1gl9c_12e1r_730",
|
|
30
|
+
"tab-button--active": "awsui_tab-button--active_1gl9c_12e1r_739",
|
|
31
|
+
"tab-button--disabled": "awsui_tab-button--disabled_1gl9c_12e1r_755",
|
|
32
|
+
"tab-button--divider": "awsui_tab-button--divider_1gl9c_12e1r_788",
|
|
33
|
+
"tab-button--errors": "awsui_tab-button--errors_1gl9c_12e1r_795",
|
|
34
|
+
"count": "awsui_count_1gl9c_12e1r_804",
|
|
35
|
+
"text": "awsui_text_1gl9c_12e1r_807",
|
|
36
|
+
"loading-screen": "awsui_loading-screen_1gl9c_12e1r_829",
|
|
37
|
+
"error-screen": "awsui_error-screen_1gl9c_12e1r_830"
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandable-section-header.d.ts","sourceRoot":"","sources":["../../../src/expandable-section/expandable-section-header.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAalF,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAavE,UAAU,4BAA4B;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;IAChC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;IAClB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAcD,UAAU,4BAA6B,SAAQ,IAAI,CAAC,4BAA4B,EAAE,UAAU,GAAG,MAAM,CAAC;IACpG,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAsLD,eAAO,MAAM,uBAAuB,oOAmBjC,4BAA4B,
|
|
1
|
+
{"version":3,"file":"expandable-section-header.d.ts","sourceRoot":"","sources":["../../../src/expandable-section/expandable-section-header.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAalF,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAavE,UAAU,4BAA4B;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;IAChC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;IAClB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAcD,UAAU,4BAA6B,SAAQ,IAAI,CAAC,4BAA4B,EAAE,UAAU,GAAG,MAAM,CAAC;IACpG,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAsLD,eAAO,MAAM,uBAAuB,oOAmBjC,4BAA4B,gBA4F9B,CAAC"}
|
|
@@ -85,7 +85,7 @@ export const ExpandableSectionHeader = ({ id, descriptionId, className, variant,
|
|
|
85
85
|
if (!headerText && header && variant === 'inline') {
|
|
86
86
|
warnOnce(componentName, 'Only `headerText` instead of `header` is supported for `inline` variant.');
|
|
87
87
|
}
|
|
88
|
-
return (React.createElement(ExpandableHeaderTextWrapper, Object.assign({ className: clsx(className, wrapperClassName, expanded && styles.expanded), descriptionId: descriptionId, headerDescription: headerDescription, headerCounter: headerCounter, headerInfo: headerInfo, headerActions: headerActions, headingTagOverride: headingTagOverride, onKeyUp: onKeyUp, onKeyDown: onKeyDown }, defaultHeaderProps), headerText));
|
|
88
|
+
return (React.createElement(ExpandableHeaderTextWrapper, Object.assign({ className: clsx(className, wrapperClassName, expanded && styles.expanded, !expanded && (!headerActions || headerDescription) && styles['wrapper-not-expanded-without-actions']), descriptionId: descriptionId, headerDescription: headerDescription, headerCounter: headerCounter, headerInfo: headerInfo, headerActions: headerActions, headingTagOverride: headingTagOverride, onKeyUp: onKeyUp, onKeyDown: onKeyDown }, defaultHeaderProps), headerText));
|
|
89
89
|
}
|
|
90
90
|
if (variant === 'container' && header && isDevelopment) {
|
|
91
91
|
warnOnce(componentName, 'Use `headerText` instead of `header` to provide the button within the heading for a11y.');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandable-section-header.js","sourceRoot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UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAChB,kBAAkB,GAErB,UAAU,CACiB,CAC/B,CAAC;KACH;IAED,IAAI,OAAO,KAAK,WAAW,IAAI,MAAM,IAAI,aAAa,EAAE;QACtD,QAAQ,CAAC,aAAa,EAAE,yFAAyF,CAAC,CAAC;KACpH;IAED,OAAO,CACL,oBAAC,0BAA0B,kBACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,gBAAgB,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,EAC3F,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAChB,kBAAkB,GAErB,MAAM,CACoB,CAC9B,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { KeyboardEventHandler, MouseEventHandler, ReactNode } from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport InternalHeader, { Description as HeaderDescription } from '../header/internal';\nimport InternalIcon from '../icon/internal';\nimport { isDevelopment } from '../internal/is-development';\nimport {\n GeneratedAnalyticsMetadataExpandableSectionCollapse,\n GeneratedAnalyticsMetadataExpandableSectionExpand,\n} from './analytics-metadata/interfaces';\nimport { ExpandableSectionProps, InternalVariant } from './interfaces';\nimport {\n variantRequiresActionsDivider,\n variantSupportsActions,\n variantSupportsDescription,\n variantSupportsInfoLink,\n} from './utils';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\n\nconst componentName = 'ExpandableSection';\n\ninterface ExpandableDefaultHeaderProps {\n id: string;\n descriptionId?: string;\n className?: string;\n children?: ReactNode;\n expanded: boolean;\n ariaControls: string;\n ariaLabel?: string;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n onClick: MouseEventHandler;\n icon: JSX.Element;\n variant: InternalVariant;\n}\n\ninterface ExpandableNavigationHeaderProps extends Omit<ExpandableDefaultHeaderProps, 'onKeyUp' | 'onKeyDown'> {\n ariaLabelledBy?: string;\n}\n\ninterface ExpandableHeaderTextWrapperProps extends ExpandableDefaultHeaderProps {\n headerDescription?: ReactNode;\n headerCounter?: string;\n headerInfo?: ReactNode;\n headerActions?: ReactNode;\n headingTagOverride?: ExpandableSectionProps.HeadingTag;\n}\n\ninterface ExpandableSectionHeaderProps extends Omit<ExpandableDefaultHeaderProps, 'children' | 'icon'> {\n header?: ReactNode;\n headerText?: ReactNode;\n headerDescription?: ReactNode;\n headerCounter?: string;\n headerInfo?: ReactNode;\n headerActions?: ReactNode;\n headingTagOverride?: ExpandableSectionProps.HeadingTag;\n ariaLabelledBy?: string;\n}\n\nconst getExpandActionAnalyticsMetadataAttribute = (expanded: boolean) => {\n const metadata:\n | GeneratedAnalyticsMetadataExpandableSectionExpand\n | GeneratedAnalyticsMetadataExpandableSectionCollapse = {\n action: !expanded ? 'expand' : 'collapse',\n detail: {\n label: { rootSelector: `.${analyticsSelectors.root}` },\n },\n };\n return getAnalyticsMetadataAttribute(metadata);\n};\nconst ExpandableDeprecatedHeader = ({\n id,\n className,\n onClick,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n onKeyUp,\n onKeyDown,\n variant,\n}: ExpandableDefaultHeaderProps) => {\n return (\n <div\n id={id}\n role=\"button\"\n className={clsx(\n className,\n styles['expand-button'],\n styles['click-target'],\n styles['header-deprecated'],\n analyticsSelectors['header-label']\n )}\n tabIndex={0}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onClick={onClick}\n aria-label={ariaLabel}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n {...getExpandActionAnalyticsMetadataAttribute(expanded)}\n >\n <div className={clsx(styles['icon-container'], styles[`icon-container-${variant}`])}>{icon}</div>\n {children}\n </div>\n );\n};\n\nconst ExpandableNavigationHeader = ({\n id,\n className,\n onClick,\n ariaLabelledBy,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n}: ExpandableNavigationHeaderProps) => {\n return (\n <div id={id} className={clsx(className, styles['click-target'], analyticsSelectors['header-label'])}>\n <button\n className={clsx(styles['icon-container'], styles['expand-button'])}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n type=\"button\"\n onClick={onClick}\n {...getExpandActionAnalyticsMetadataAttribute(expanded)}\n >\n {icon}\n </button>\n {children}\n </div>\n );\n};\n\nconst ExpandableHeaderTextWrapper = ({\n id,\n descriptionId,\n className,\n onClick,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n headerDescription,\n headerCounter,\n headerInfo,\n headerActions,\n variant,\n headingTagOverride,\n onKeyUp,\n onKeyDown,\n}: ExpandableHeaderTextWrapperProps) => {\n const isContainer = variant === 'container';\n const HeadingTag = headingTagOverride || 'div';\n const supportsInteractiveElements = variantSupportsActions(variant);\n const restrictClickableArea = supportsInteractiveElements && (headerInfo || headerActions);\n const actions = supportsInteractiveElements && headerActions;\n const description = variantSupportsDescription(variant) && headerDescription && (\n <span id={descriptionId} className={styles[`description-${variant}`]}>\n {headerDescription}\n </span>\n );\n const listeners = { onClick, onKeyDown, onKeyUp };\n\n // If interactive elements are present, constrain the clickable area to only the icon and the header text\n // to prevent nesting interactive elements.\n const headerButtonListeners = restrictClickableArea ? listeners : undefined;\n // For the default and footer variants with description,\n // include also the immediate wrapper around it to include the entire row for backwards compatibility,\n // but exclude the description.\n const headingTagListeners = !headerButtonListeners && !isContainer && description ? listeners : undefined;\n // For all other cases, make the entire header clickable for backwards compatibility.\n const wrapperListeners = !headerButtonListeners && !headingTagListeners ? listeners : undefined;\n const headerButton = (\n <span\n className={clsx(\n styles['expand-button'],\n isContainer ? styles['header-container-button'] : styles['header-button'],\n headerButtonListeners && styles['click-target']\n )}\n role=\"button\"\n tabIndex={0}\n aria-label={ariaLabel}\n aria-labelledby={!ariaLabel && description ? id : undefined}\n aria-describedby={description ? descriptionId : undefined}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n {...headerButtonListeners}\n {...(headerButtonListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n <span className={clsx(styles['icon-container'], styles[`icon-container-${variant}`])}>{icon}</span>\n <span id={id} className={clsx(styles['header-text'], analyticsSelectors['header-label'])}>\n {children}\n </span>\n </span>\n );\n\n return (\n <div\n className={clsx(className, wrapperListeners && styles['click-target'])}\n {...wrapperListeners}\n {...(wrapperListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n {isContainer ? (\n <InternalHeader\n variant=\"h2\"\n description={description}\n counter={headerCounter}\n info={headerInfo}\n actions={actions}\n headingTagOverride={headingTagOverride}\n >\n {headerButton}\n </InternalHeader>\n ) : (\n <>\n <div className={clsx(actions && styles['header-actions-wrapper'])}>\n <HeadingTag\n className={clsx(styles['header-wrapper'], headingTagListeners && styles['click-target'])}\n {...headingTagListeners}\n {...(headingTagListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n {headerButton}\n </HeadingTag>\n {actions}\n </div>\n {description && <HeaderDescription variantOverride=\"h3\">{description}</HeaderDescription>}\n </>\n )}\n </div>\n );\n};\n\nexport const ExpandableSectionHeader = ({\n id,\n descriptionId,\n className,\n variant,\n header,\n headerText,\n headerDescription,\n headerCounter,\n headerInfo,\n headerActions,\n headingTagOverride,\n expanded,\n ariaControls,\n ariaLabel,\n ariaLabelledBy,\n onKeyUp,\n onKeyDown,\n onClick,\n}: ExpandableSectionHeaderProps) => {\n const alwaysShowDivider = variantRequiresActionsDivider(variant) && headerActions;\n const icon = (\n <InternalIcon\n size={variant === 'container' ? 'medium' : 'normal'}\n className={clsx(styles.icon, expanded && styles.expanded)}\n name=\"caret-down-filled\"\n />\n );\n const defaultHeaderProps = {\n id: id,\n icon: icon,\n expanded: expanded,\n ariaControls: ariaControls,\n ariaLabel: ariaLabel,\n onClick: onClick,\n variant,\n };\n\n if ((headerCounter || headerInfo) && !variantSupportsInfoLink(variant) && isDevelopment) {\n warnOnce(\n componentName,\n 'The `headerCounter` and `headerInfo` props are only supported for the \"container\" variant.'\n );\n }\n\n if (headerActions && !variantSupportsActions(variant) && isDevelopment) {\n warnOnce(componentName, `The \\`headerActions\\` prop is only supported for the \"container\" and \"default\" variants.`);\n }\n\n if (headerDescription && !variantSupportsDescription(variant) && isDevelopment) {\n warnOnce(componentName, `The \\`headerDescription\\` prop is not supported for the ${variant} variant.`);\n }\n\n const wrapperClassName = clsx(\n styles.wrapper,\n styles[`wrapper-${variant}`],\n (expanded || alwaysShowDivider) && styles['wrapper-expanded']\n );\n if (variant === 'navigation') {\n return (\n <ExpandableNavigationHeader\n className={clsx(className, wrapperClassName)}\n ariaLabelledBy={ariaLabelledBy}\n {...defaultHeaderProps}\n >\n {headerText ?? header}\n </ExpandableNavigationHeader>\n );\n }\n\n if (headerText || variant === 'inline') {\n if (!headerText && header && variant === 'inline') {\n warnOnce(componentName, 'Only `headerText` instead of `header` is supported for `inline` variant.');\n }\n return (\n <ExpandableHeaderTextWrapper\n className={clsx(className, wrapperClassName, expanded && styles.expanded)}\n descriptionId={descriptionId}\n headerDescription={headerDescription}\n headerCounter={headerCounter}\n headerInfo={headerInfo}\n headerActions={headerActions}\n headingTagOverride={headingTagOverride}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n {...defaultHeaderProps}\n >\n {headerText}\n </ExpandableHeaderTextWrapper>\n );\n }\n\n if (variant === 'container' && header && isDevelopment) {\n warnOnce(componentName, 'Use `headerText` instead of `header` to provide the button within the heading for a11y.');\n }\n\n return (\n <ExpandableDeprecatedHeader\n className={clsx(className, wrapperClassName, styles.focusable, expanded && styles.expanded)}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n {...defaultHeaderProps}\n >\n {header}\n </ExpandableDeprecatedHeader>\n );\n};\n"]}
|
|
1
|
+
{"version":3,"file":"expandable-section-header.js","sourceRoot":"","sources":["../../../src/expandable-section/expandable-section-header.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAA6D,MAAM,OAAO,CAAC;AAClF,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AAEjH,OAAO,cAAc,EAAE,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAM3D,OAAO,EACL,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,SAAS,CAAC;AAEjB,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AACpE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAwC1C,MAAM,yCAAyC,GAAG,CAAC,QAAiB,EAAE,EAAE;IACtE,MAAM,QAAQ,GAE4C;QACxD,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU;QACzC,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,YAAY,EAAE,IAAI,kBAAkB,CAAC,IAAI,EAAE,EAAE;SACvD;KACF,CAAC;IACF,OAAO,6BAA6B,CAAC,QAAQ,CAAC,CAAC;AACjD,CAAC,CAAC;AACF,MAAM,0BAA0B,GAAG,CAAC,EAClC,EAAE,EACF,SAAS,EACT,OAAO,EACP,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,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,EAC3B,CAAC,QAAQ,IAAI,CAAC,CAAC,aAAa,IAAI,iBAAiB,CAAC,IAAI,MAAM,CAAC,sCAAsC,CAAC,CACrG,EACD,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAChB,kBAAkB,GAErB,UAAU,CACiB,CAC/B,CAAC;KACH;IAED,IAAI,OAAO,KAAK,WAAW,IAAI,MAAM,IAAI,aAAa,EAAE;QACtD,QAAQ,CAAC,aAAa,EAAE,yFAAyF,CAAC,CAAC;KACpH;IAED,OAAO,CACL,oBAAC,0BAA0B,kBACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,gBAAgB,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,EAC3F,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAChB,kBAAkB,GAErB,MAAM,CACoB,CAC9B,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { KeyboardEventHandler, MouseEventHandler, ReactNode } from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport InternalHeader, { Description as HeaderDescription } from '../header/internal';\nimport InternalIcon from '../icon/internal';\nimport { isDevelopment } from '../internal/is-development';\nimport {\n GeneratedAnalyticsMetadataExpandableSectionCollapse,\n GeneratedAnalyticsMetadataExpandableSectionExpand,\n} from './analytics-metadata/interfaces';\nimport { ExpandableSectionProps, InternalVariant } from './interfaces';\nimport {\n variantRequiresActionsDivider,\n variantSupportsActions,\n variantSupportsDescription,\n variantSupportsInfoLink,\n} from './utils';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\n\nconst componentName = 'ExpandableSection';\n\ninterface ExpandableDefaultHeaderProps {\n id: string;\n descriptionId?: string;\n className?: string;\n children?: ReactNode;\n expanded: boolean;\n ariaControls: string;\n ariaLabel?: string;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n onClick: MouseEventHandler;\n icon: JSX.Element;\n variant: InternalVariant;\n}\n\ninterface ExpandableNavigationHeaderProps extends Omit<ExpandableDefaultHeaderProps, 'onKeyUp' | 'onKeyDown'> {\n ariaLabelledBy?: string;\n}\n\ninterface ExpandableHeaderTextWrapperProps extends ExpandableDefaultHeaderProps {\n headerDescription?: ReactNode;\n headerCounter?: string;\n headerInfo?: ReactNode;\n headerActions?: ReactNode;\n headingTagOverride?: ExpandableSectionProps.HeadingTag;\n}\n\ninterface ExpandableSectionHeaderProps extends Omit<ExpandableDefaultHeaderProps, 'children' | 'icon'> {\n header?: ReactNode;\n headerText?: ReactNode;\n headerDescription?: ReactNode;\n headerCounter?: string;\n headerInfo?: ReactNode;\n headerActions?: ReactNode;\n headingTagOverride?: ExpandableSectionProps.HeadingTag;\n ariaLabelledBy?: string;\n}\n\nconst getExpandActionAnalyticsMetadataAttribute = (expanded: boolean) => {\n const metadata:\n | GeneratedAnalyticsMetadataExpandableSectionExpand\n | GeneratedAnalyticsMetadataExpandableSectionCollapse = {\n action: !expanded ? 'expand' : 'collapse',\n detail: {\n label: { rootSelector: `.${analyticsSelectors.root}` },\n },\n };\n return getAnalyticsMetadataAttribute(metadata);\n};\nconst ExpandableDeprecatedHeader = ({\n id,\n className,\n onClick,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n onKeyUp,\n onKeyDown,\n variant,\n}: ExpandableDefaultHeaderProps) => {\n return (\n <div\n id={id}\n role=\"button\"\n className={clsx(\n className,\n styles['expand-button'],\n styles['click-target'],\n styles['header-deprecated'],\n analyticsSelectors['header-label']\n )}\n tabIndex={0}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onClick={onClick}\n aria-label={ariaLabel}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n {...getExpandActionAnalyticsMetadataAttribute(expanded)}\n >\n <div className={clsx(styles['icon-container'], styles[`icon-container-${variant}`])}>{icon}</div>\n {children}\n </div>\n );\n};\n\nconst ExpandableNavigationHeader = ({\n id,\n className,\n onClick,\n ariaLabelledBy,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n}: ExpandableNavigationHeaderProps) => {\n return (\n <div id={id} className={clsx(className, styles['click-target'], analyticsSelectors['header-label'])}>\n <button\n className={clsx(styles['icon-container'], styles['expand-button'])}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n type=\"button\"\n onClick={onClick}\n {...getExpandActionAnalyticsMetadataAttribute(expanded)}\n >\n {icon}\n </button>\n {children}\n </div>\n );\n};\n\nconst ExpandableHeaderTextWrapper = ({\n id,\n descriptionId,\n className,\n onClick,\n ariaLabel,\n ariaControls,\n expanded,\n children,\n icon,\n headerDescription,\n headerCounter,\n headerInfo,\n headerActions,\n variant,\n headingTagOverride,\n onKeyUp,\n onKeyDown,\n}: ExpandableHeaderTextWrapperProps) => {\n const isContainer = variant === 'container';\n const HeadingTag = headingTagOverride || 'div';\n const supportsInteractiveElements = variantSupportsActions(variant);\n const restrictClickableArea = supportsInteractiveElements && (headerInfo || headerActions);\n const actions = supportsInteractiveElements && headerActions;\n const description = variantSupportsDescription(variant) && headerDescription && (\n <span id={descriptionId} className={styles[`description-${variant}`]}>\n {headerDescription}\n </span>\n );\n const listeners = { onClick, onKeyDown, onKeyUp };\n\n // If interactive elements are present, constrain the clickable area to only the icon and the header text\n // to prevent nesting interactive elements.\n const headerButtonListeners = restrictClickableArea ? listeners : undefined;\n // For the default and footer variants with description,\n // include also the immediate wrapper around it to include the entire row for backwards compatibility,\n // but exclude the description.\n const headingTagListeners = !headerButtonListeners && !isContainer && description ? listeners : undefined;\n // For all other cases, make the entire header clickable for backwards compatibility.\n const wrapperListeners = !headerButtonListeners && !headingTagListeners ? listeners : undefined;\n const headerButton = (\n <span\n className={clsx(\n styles['expand-button'],\n isContainer ? styles['header-container-button'] : styles['header-button'],\n headerButtonListeners && styles['click-target']\n )}\n role=\"button\"\n tabIndex={0}\n aria-label={ariaLabel}\n aria-labelledby={!ariaLabel && description ? id : undefined}\n aria-describedby={description ? descriptionId : undefined}\n aria-controls={ariaControls}\n aria-expanded={expanded}\n {...headerButtonListeners}\n {...(headerButtonListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n <span className={clsx(styles['icon-container'], styles[`icon-container-${variant}`])}>{icon}</span>\n <span id={id} className={clsx(styles['header-text'], analyticsSelectors['header-label'])}>\n {children}\n </span>\n </span>\n );\n\n return (\n <div\n className={clsx(className, wrapperListeners && styles['click-target'])}\n {...wrapperListeners}\n {...(wrapperListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n {isContainer ? (\n <InternalHeader\n variant=\"h2\"\n description={description}\n counter={headerCounter}\n info={headerInfo}\n actions={actions}\n headingTagOverride={headingTagOverride}\n >\n {headerButton}\n </InternalHeader>\n ) : (\n <>\n <div className={clsx(actions && styles['header-actions-wrapper'])}>\n <HeadingTag\n className={clsx(styles['header-wrapper'], headingTagListeners && styles['click-target'])}\n {...headingTagListeners}\n {...(headingTagListeners ? getExpandActionAnalyticsMetadataAttribute(expanded) : {})}\n >\n {headerButton}\n </HeadingTag>\n {actions}\n </div>\n {description && <HeaderDescription variantOverride=\"h3\">{description}</HeaderDescription>}\n </>\n )}\n </div>\n );\n};\n\nexport const ExpandableSectionHeader = ({\n id,\n descriptionId,\n className,\n variant,\n header,\n headerText,\n headerDescription,\n headerCounter,\n headerInfo,\n headerActions,\n headingTagOverride,\n expanded,\n ariaControls,\n ariaLabel,\n ariaLabelledBy,\n onKeyUp,\n onKeyDown,\n onClick,\n}: ExpandableSectionHeaderProps) => {\n const alwaysShowDivider = variantRequiresActionsDivider(variant) && headerActions;\n const icon = (\n <InternalIcon\n size={variant === 'container' ? 'medium' : 'normal'}\n className={clsx(styles.icon, expanded && styles.expanded)}\n name=\"caret-down-filled\"\n />\n );\n const defaultHeaderProps = {\n id: id,\n icon: icon,\n expanded: expanded,\n ariaControls: ariaControls,\n ariaLabel: ariaLabel,\n onClick: onClick,\n variant,\n };\n\n if ((headerCounter || headerInfo) && !variantSupportsInfoLink(variant) && isDevelopment) {\n warnOnce(\n componentName,\n 'The `headerCounter` and `headerInfo` props are only supported for the \"container\" variant.'\n );\n }\n\n if (headerActions && !variantSupportsActions(variant) && isDevelopment) {\n warnOnce(componentName, `The \\`headerActions\\` prop is only supported for the \"container\" and \"default\" variants.`);\n }\n\n if (headerDescription && !variantSupportsDescription(variant) && isDevelopment) {\n warnOnce(componentName, `The \\`headerDescription\\` prop is not supported for the ${variant} variant.`);\n }\n\n const wrapperClassName = clsx(\n styles.wrapper,\n styles[`wrapper-${variant}`],\n (expanded || alwaysShowDivider) && styles['wrapper-expanded']\n );\n if (variant === 'navigation') {\n return (\n <ExpandableNavigationHeader\n className={clsx(className, wrapperClassName)}\n ariaLabelledBy={ariaLabelledBy}\n {...defaultHeaderProps}\n >\n {headerText ?? header}\n </ExpandableNavigationHeader>\n );\n }\n\n if (headerText || variant === 'inline') {\n if (!headerText && header && variant === 'inline') {\n warnOnce(componentName, 'Only `headerText` instead of `header` is supported for `inline` variant.');\n }\n return (\n <ExpandableHeaderTextWrapper\n className={clsx(\n className,\n wrapperClassName,\n expanded && styles.expanded,\n !expanded && (!headerActions || headerDescription) && styles['wrapper-not-expanded-without-actions']\n )}\n descriptionId={descriptionId}\n headerDescription={headerDescription}\n headerCounter={headerCounter}\n headerInfo={headerInfo}\n headerActions={headerActions}\n headingTagOverride={headingTagOverride}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n {...defaultHeaderProps}\n >\n {headerText}\n </ExpandableHeaderTextWrapper>\n );\n }\n\n if (variant === 'container' && header && isDevelopment) {\n warnOnce(componentName, 'Use `headerText` instead of `header` to provide the button within the heading for a11y.');\n }\n\n return (\n <ExpandableDeprecatedHeader\n className={clsx(className, wrapperClassName, styles.focusable, expanded && styles.expanded)}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n {...defaultHeaderProps}\n >\n {header}\n </ExpandableDeprecatedHeader>\n );\n};\n"]}
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content-enter": "awsui_content-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"trigger-expanded": "awsui_trigger-
|
|
7
|
-
"icon": "
|
|
8
|
-
"root": "
|
|
9
|
-
"expand-button": "awsui_expand-
|
|
10
|
-
"expanded": "
|
|
11
|
-
"icon-container": "awsui_icon-
|
|
12
|
-
"icon-container-container": "awsui_icon-container-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"wrapper-default": "awsui_wrapper-
|
|
15
|
-
"wrapper-inline": "awsui_wrapper-
|
|
16
|
-
"wrapper-footer": "awsui_wrapper-
|
|
17
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
18
|
-
"wrapper-container": "awsui_wrapper-
|
|
19
|
-
"wrapper-compact": "awsui_wrapper-
|
|
20
|
-
"header-deprecated": "awsui_header-
|
|
21
|
-
"wrapper-expanded": "awsui_wrapper-
|
|
22
|
-
"
|
|
23
|
-
"header
|
|
24
|
-
"header-
|
|
25
|
-
"header-
|
|
26
|
-
"header-
|
|
27
|
-
"header-container": "awsui_header-
|
|
28
|
-
"header-
|
|
29
|
-
"header-
|
|
30
|
-
"
|
|
31
|
-
"content
|
|
32
|
-
"content-
|
|
33
|
-
"content-
|
|
34
|
-
"content-
|
|
35
|
-
"content-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
4
|
+
"content-enter": "awsui_content-enter_gwq0h_1pven_161",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_1pven_1",
|
|
6
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_1pven_183",
|
|
7
|
+
"icon": "awsui_icon_gwq0h_1pven_197",
|
|
8
|
+
"root": "awsui_root_gwq0h_1pven_211",
|
|
9
|
+
"expand-button": "awsui_expand-button_gwq0h_1pven_246",
|
|
10
|
+
"expanded": "awsui_expanded_gwq0h_1pven_254",
|
|
11
|
+
"icon-container": "awsui_icon-container_gwq0h_1pven_264",
|
|
12
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_1pven_268",
|
|
13
|
+
"wrapper": "awsui_wrapper_gwq0h_1pven_272",
|
|
14
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_1pven_280",
|
|
15
|
+
"wrapper-inline": "awsui_wrapper-inline_gwq0h_1pven_280",
|
|
16
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_1pven_280",
|
|
17
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_1pven_284",
|
|
18
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_1pven_287",
|
|
19
|
+
"wrapper-compact": "awsui_wrapper-compact_gwq0h_1pven_291",
|
|
20
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_1pven_304",
|
|
21
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_1pven_310",
|
|
22
|
+
"wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_1pven_333",
|
|
23
|
+
"header": "awsui_header_gwq0h_1pven_304",
|
|
24
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_1pven_350",
|
|
25
|
+
"header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_1pven_362",
|
|
26
|
+
"header-button": "awsui_header-button_gwq0h_1pven_368",
|
|
27
|
+
"header-container-button": "awsui_header-container-button_gwq0h_1pven_368",
|
|
28
|
+
"header-container": "awsui_header-container_gwq0h_1pven_368",
|
|
29
|
+
"header-navigation": "awsui_header-navigation_gwq0h_1pven_403",
|
|
30
|
+
"header-text": "awsui_header-text_gwq0h_1pven_440",
|
|
31
|
+
"content": "awsui_content_gwq0h_1pven_161",
|
|
32
|
+
"content-default": "awsui_content-default_gwq0h_1pven_453",
|
|
33
|
+
"content-inline": "awsui_content-inline_gwq0h_1pven_453",
|
|
34
|
+
"content-footer": "awsui_content-footer_gwq0h_1pven_457",
|
|
35
|
+
"content-expanded": "awsui_content-expanded_gwq0h_1pven_461",
|
|
36
|
+
"content-compact": "awsui_content-compact_gwq0h_1pven_464",
|
|
37
|
+
"focusable": "awsui_focusable_gwq0h_1pven_468",
|
|
38
|
+
"click-target": "awsui_click-target_gwq0h_1pven_483"
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -158,10 +158,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
158
158
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
159
159
|
SPDX-License-Identifier: Apache-2.0
|
|
160
160
|
*/
|
|
161
|
-
.awsui_content-
|
|
162
|
-
animation: awsui_awsui-motion-fade-
|
|
161
|
+
.awsui_content-enter_gwq0h_1pven_161:not(#\9) {
|
|
162
|
+
animation: awsui_awsui-motion-fade-in_gwq0h_1pven_1 var(--motion-duration-show-paced-otsjh8, 180ms) var(--motion-easing-show-paced-ym6eyn, ease-out);
|
|
163
163
|
}
|
|
164
|
-
@keyframes awsui_awsui-motion-fade-
|
|
164
|
+
@keyframes awsui_awsui-motion-fade-in_gwq0h_1pven_1 {
|
|
165
165
|
from {
|
|
166
166
|
opacity: 0.2;
|
|
167
167
|
}
|
|
@@ -170,45 +170,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
@media (prefers-reduced-motion: reduce) {
|
|
173
|
-
.awsui_content-
|
|
173
|
+
.awsui_content-enter_gwq0h_1pven_161:not(#\9) {
|
|
174
174
|
animation: none;
|
|
175
175
|
transition: none;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
.awsui-motion-disabled .awsui_content-
|
|
178
|
+
.awsui-motion-disabled .awsui_content-enter_gwq0h_1pven_161:not(#\9), .awsui-mode-entering .awsui_content-enter_gwq0h_1pven_161:not(#\9) {
|
|
179
179
|
animation: none;
|
|
180
180
|
transition: none;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.awsui_trigger-
|
|
183
|
+
.awsui_trigger-expanded_gwq0h_1pven_183:not(#\9) {
|
|
184
184
|
transition: border-bottom-color var(--motion-duration-show-paced-otsjh8, 180ms) var(--motion-easing-show-paced-ym6eyn, ease-out);
|
|
185
185
|
}
|
|
186
186
|
@media (prefers-reduced-motion: reduce) {
|
|
187
|
-
.awsui_trigger-
|
|
187
|
+
.awsui_trigger-expanded_gwq0h_1pven_183:not(#\9) {
|
|
188
188
|
animation: none;
|
|
189
189
|
transition: none;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
.awsui-motion-disabled .awsui_trigger-
|
|
192
|
+
.awsui-motion-disabled .awsui_trigger-expanded_gwq0h_1pven_183:not(#\9), .awsui-mode-entering .awsui_trigger-expanded_gwq0h_1pven_183:not(#\9) {
|
|
193
193
|
animation: none;
|
|
194
194
|
transition: none;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
.
|
|
197
|
+
.awsui_icon_gwq0h_1pven_197:not(#\9) {
|
|
198
198
|
transition: transform var(--motion-duration-rotate-90-lyzb0k, 135ms) var(--motion-easing-rotate-90-jhbqg9, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
199
199
|
}
|
|
200
200
|
@media (prefers-reduced-motion: reduce) {
|
|
201
|
-
.
|
|
201
|
+
.awsui_icon_gwq0h_1pven_197:not(#\9) {
|
|
202
202
|
animation: none;
|
|
203
203
|
transition: none;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
.awsui-motion-disabled .
|
|
206
|
+
.awsui-motion-disabled .awsui_icon_gwq0h_1pven_197:not(#\9), .awsui-mode-entering .awsui_icon_gwq0h_1pven_197:not(#\9) {
|
|
207
207
|
animation: none;
|
|
208
208
|
transition: none;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.
|
|
211
|
+
.awsui_root_gwq0h_1pven_211:not(#\9) {
|
|
212
212
|
border-collapse: separate;
|
|
213
213
|
border-spacing: 0;
|
|
214
214
|
box-sizing: border-box;
|
|
@@ -243,33 +243,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
243
243
|
display: block;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.awsui_expand-
|
|
246
|
+
.awsui_expand-button_gwq0h_1pven_246:not(#\9) {
|
|
247
247
|
outline: none;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.
|
|
250
|
+
.awsui_icon_gwq0h_1pven_197:not(#\9) {
|
|
251
251
|
transform: rotate(-90deg);
|
|
252
252
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
253
253
|
}
|
|
254
|
-
.
|
|
254
|
+
.awsui_icon_gwq0h_1pven_197.awsui_expanded_gwq0h_1pven_254:not(#\9) {
|
|
255
255
|
transform: rotate(0deg);
|
|
256
256
|
}
|
|
257
|
-
.
|
|
257
|
+
.awsui_icon_gwq0h_1pven_197:not(#\9):dir(rtl) {
|
|
258
258
|
transform: rotate(90deg);
|
|
259
259
|
}
|
|
260
|
-
.
|
|
260
|
+
.awsui_icon_gwq0h_1pven_197:not(#\9):dir(rtl).awsui_expanded_gwq0h_1pven_254 {
|
|
261
261
|
transform: rotate(0deg);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.awsui_icon-
|
|
264
|
+
.awsui_icon-container_gwq0h_1pven_264:not(#\9) {
|
|
265
265
|
position: relative;
|
|
266
266
|
margin-inline: calc((var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2) calc(var(--space-xxs-hwfkai, 4px) + var(--border-divider-list-width-tdfx1x, 1px));
|
|
267
267
|
}
|
|
268
|
-
.awsui_icon-container-
|
|
268
|
+
.awsui_icon-container-container_gwq0h_1pven_268:not(#\9) {
|
|
269
269
|
margin-inline-end: var(--space-xs-ymlm0b, 8px);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.
|
|
272
|
+
.awsui_wrapper_gwq0h_1pven_272:not(#\9) {
|
|
273
273
|
box-sizing: border-box;
|
|
274
274
|
border-block: none;
|
|
275
275
|
border-inline: none;
|
|
@@ -277,78 +277,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
277
277
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
278
278
|
text-align: start;
|
|
279
279
|
}
|
|
280
|
-
.awsui_wrapper-
|
|
280
|
+
.awsui_wrapper-default_gwq0h_1pven_280:not(#\9), .awsui_wrapper-inline_gwq0h_1pven_280:not(#\9), .awsui_wrapper-footer_gwq0h_1pven_280:not(#\9) {
|
|
281
281
|
border-block: var(--border-divider-section-width-uwo8my, 1px) solid transparent;
|
|
282
282
|
border-inline: var(--border-divider-section-width-uwo8my, 1px) solid transparent;
|
|
283
283
|
}
|
|
284
|
-
.awsui_wrapper-
|
|
284
|
+
.awsui_wrapper-navigation_gwq0h_1pven_284:not(#\9) {
|
|
285
285
|
border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid transparent;
|
|
286
286
|
}
|
|
287
|
-
.awsui_wrapper-
|
|
287
|
+
.awsui_wrapper-navigation_gwq0h_1pven_284:not(#\9), .awsui_wrapper-container_gwq0h_1pven_287:not(#\9) {
|
|
288
288
|
display: flex;
|
|
289
289
|
font-weight: var(--font-weight-heading-s-lcx0ai, 700);
|
|
290
290
|
}
|
|
291
|
-
.awsui_wrapper-
|
|
291
|
+
.awsui_wrapper-default_gwq0h_1pven_280:not(#\9), .awsui_wrapper-inline_gwq0h_1pven_280:not(#\9), .awsui_wrapper-navigation_gwq0h_1pven_284:not(#\9), .awsui_wrapper-footer_gwq0h_1pven_280:not(#\9), .awsui_wrapper-compact_gwq0h_1pven_291:not(#\9) {
|
|
292
292
|
color: var(--color-text-expandable-section-default-ynw8my, #0f141a);
|
|
293
293
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
294
294
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
295
295
|
}
|
|
296
|
-
.awsui_wrapper-
|
|
296
|
+
.awsui_wrapper-default_gwq0h_1pven_280:not(#\9), .awsui_wrapper-inline_gwq0h_1pven_280:not(#\9), .awsui_wrapper-navigation_gwq0h_1pven_284:not(#\9), .awsui_wrapper-footer_gwq0h_1pven_280:not(#\9) {
|
|
297
297
|
font-size: var(--font-expandable-heading-size-0uk059, 16px);
|
|
298
298
|
letter-spacing: var(--letter-spacing-heading-s-4st9ep, -0.005em);
|
|
299
299
|
}
|
|
300
|
-
.awsui_wrapper-
|
|
300
|
+
.awsui_wrapper-default_gwq0h_1pven_280:not(#\9) {
|
|
301
301
|
padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
302
302
|
padding-inline-end: var(--space-xxs-hwfkai, 4px);
|
|
303
303
|
}
|
|
304
|
-
.awsui_wrapper-
|
|
304
|
+
.awsui_wrapper-default_gwq0h_1pven_280.awsui_header-deprecated_gwq0h_1pven_304:not(#\9) {
|
|
305
305
|
padding-inline-start: var(--space-xxs-hwfkai, 4px);
|
|
306
306
|
}
|
|
307
|
-
.awsui_wrapper-
|
|
307
|
+
.awsui_wrapper-default_gwq0h_1pven_280:not(#\9):not(.awsui_header-deprecated_gwq0h_1pven_304), .awsui_wrapper-inline_gwq0h_1pven_280:not(#\9):not(.awsui_header-deprecated_gwq0h_1pven_304) {
|
|
308
308
|
padding-inline-start: calc(var(--size-icon-normal-levt08, 16px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xxs-hwfkai, 4px) + var(--border-divider-list-width-tdfx1x, 1px));
|
|
309
309
|
}
|
|
310
|
-
.awsui_wrapper-
|
|
310
|
+
.awsui_wrapper-default_gwq0h_1pven_280.awsui_wrapper-expanded_gwq0h_1pven_310:not(#\9), .awsui_wrapper-inline_gwq0h_1pven_280.awsui_wrapper-expanded_gwq0h_1pven_310:not(#\9) {
|
|
311
311
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
312
312
|
border-block-end-color: var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
313
313
|
}
|
|
314
|
-
.awsui_wrapper-
|
|
314
|
+
.awsui_wrapper-footer_gwq0h_1pven_280:not(#\9) {
|
|
315
315
|
padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
316
316
|
}
|
|
317
|
-
.awsui_wrapper-
|
|
317
|
+
.awsui_wrapper-footer_gwq0h_1pven_280:not(#\9), .awsui_wrapper-compact_gwq0h_1pven_291:not(#\9) {
|
|
318
318
|
padding-inline-end: 0;
|
|
319
319
|
}
|
|
320
|
-
.awsui_wrapper-
|
|
320
|
+
.awsui_wrapper-footer_gwq0h_1pven_280.awsui_header-deprecated_gwq0h_1pven_304:not(#\9), .awsui_wrapper-compact_gwq0h_1pven_291.awsui_header-deprecated_gwq0h_1pven_304:not(#\9) {
|
|
321
321
|
padding-inline-start: 0;
|
|
322
322
|
}
|
|
323
|
-
.awsui_wrapper-
|
|
323
|
+
.awsui_wrapper-footer_gwq0h_1pven_280:not(#\9):not(.awsui_header-deprecated_gwq0h_1pven_304), .awsui_wrapper-compact_gwq0h_1pven_291:not(#\9):not(.awsui_header-deprecated_gwq0h_1pven_304) {
|
|
324
324
|
padding-inline-start: calc(var(--size-icon-normal-levt08, 16px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xxs-hwfkai, 4px) + var(--border-divider-list-width-tdfx1x, 1px));
|
|
325
325
|
}
|
|
326
|
-
.awsui_wrapper-
|
|
326
|
+
.awsui_wrapper-container_gwq0h_1pven_287:not(#\9) {
|
|
327
327
|
padding-block: var(--space-container-header-top-am4vzw, 12px) var(--space-container-header-bottom-2taq8v, 8px);
|
|
328
328
|
padding-inline-end: var(--space-container-horizontal-nqrzyh, 20px);
|
|
329
329
|
}
|
|
330
|
-
.awsui_wrapper-
|
|
330
|
+
.awsui_wrapper-container_gwq0h_1pven_287:not(#\9):not(.awsui_wrapper-expanded_gwq0h_1pven_310) {
|
|
331
331
|
padding-block-end: var(--space-container-header-top-am4vzw, 12px);
|
|
332
332
|
}
|
|
333
|
-
.awsui_wrapper-
|
|
333
|
+
.awsui_wrapper-container_gwq0h_1pven_287.awsui_wrapper-not-expanded-without-actions_gwq0h_1pven_333:not(#\9) {
|
|
334
|
+
padding-block-end: calc(var(--space-container-header-top-am4vzw, 12px) + var(--space-scaled-xxs-pfm1nx, 4px));
|
|
335
|
+
}
|
|
336
|
+
.awsui_wrapper-container_gwq0h_1pven_287.awsui_header-deprecated_gwq0h_1pven_304:not(#\9) {
|
|
334
337
|
padding-inline-start: var(--space-container-horizontal-nqrzyh, 20px);
|
|
335
338
|
}
|
|
336
|
-
.awsui_wrapper-
|
|
339
|
+
.awsui_wrapper-container_gwq0h_1pven_287:not(#\9):not(.awsui_header-deprecated_gwq0h_1pven_304) {
|
|
337
340
|
padding-inline-start: calc(var(--space-container-horizontal-nqrzyh, 20px) + calc(var(--size-icon-medium-uv8xcz, 20px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xs-ymlm0b, 8px)));
|
|
338
341
|
}
|
|
339
|
-
body[data-awsui-focus-visible=true] .awsui_wrapper-
|
|
342
|
+
body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_1pven_287:not(#\9):focus {
|
|
340
343
|
padding-block: calc(var(--space-scaled-s-8ozaad, 12px) - var(--border-divider-section-width-uwo8my, 1px));
|
|
341
344
|
padding-inline: calc(var(--space-l-2ud1p3, 20px) - var(--border-divider-section-width-uwo8my, 1px));
|
|
342
345
|
}
|
|
343
346
|
|
|
344
|
-
.
|
|
347
|
+
.awsui_header_gwq0h_1pven_304:not(#\9) {
|
|
345
348
|
/* used in test-utils */
|
|
346
349
|
}
|
|
347
|
-
.awsui_header-
|
|
350
|
+
.awsui_header-wrapper_gwq0h_1pven_350:not(#\9), .awsui_header-deprecated_gwq0h_1pven_304:not(#\9) {
|
|
348
351
|
display: flex;
|
|
349
352
|
font-weight: var(--font-weight-heading-s-lcx0ai, 700);
|
|
350
353
|
}
|
|
351
|
-
.awsui_header-
|
|
354
|
+
.awsui_header-wrapper_gwq0h_1pven_350:not(#\9) {
|
|
352
355
|
font-size: inherit;
|
|
353
356
|
letter-spacing: inherit;
|
|
354
357
|
margin-block: 0;
|
|
@@ -356,20 +359,20 @@ body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_nchqn_287:not
|
|
|
356
359
|
padding-block: 0;
|
|
357
360
|
padding-inline: 0;
|
|
358
361
|
}
|
|
359
|
-
.awsui_header-actions-
|
|
362
|
+
.awsui_header-actions-wrapper_gwq0h_1pven_362:not(#\9) {
|
|
360
363
|
display: flex;
|
|
361
364
|
flex-direction: row;
|
|
362
365
|
justify-content: space-between;
|
|
363
366
|
align-items: center;
|
|
364
367
|
}
|
|
365
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
368
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_1pven_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_1pven_368:not(#\9):focus {
|
|
366
369
|
position: relative;
|
|
367
370
|
}
|
|
368
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
371
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_1pven_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_1pven_368:not(#\9):focus {
|
|
369
372
|
outline: 2px dotted transparent;
|
|
370
373
|
outline-offset: calc(0px - 1px);
|
|
371
374
|
}
|
|
372
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
375
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_1pven_368:not(#\9):focus::before, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_1pven_368:not(#\9):focus::before {
|
|
373
376
|
content: " ";
|
|
374
377
|
display: block;
|
|
375
378
|
position: absolute;
|
|
@@ -383,21 +386,21 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_nchqn_365:not(#\9
|
|
|
383
386
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
384
387
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
385
388
|
}
|
|
386
|
-
.awsui_header-
|
|
389
|
+
.awsui_header-button_gwq0h_1pven_368:not(#\9) {
|
|
387
390
|
box-sizing: border-box;
|
|
388
391
|
display: flex;
|
|
389
392
|
margin-inline-start: calc(-1 * calc(var(--size-icon-normal-levt08, 16px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xxs-hwfkai, 4px) + var(--border-divider-list-width-tdfx1x, 1px)));
|
|
390
393
|
}
|
|
391
|
-
.awsui_header-container-
|
|
394
|
+
.awsui_header-container-button_gwq0h_1pven_368:not(#\9) {
|
|
392
395
|
margin-inline-start: calc(-1 * calc(var(--size-icon-medium-uv8xcz, 20px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xs-ymlm0b, 8px)));
|
|
393
396
|
}
|
|
394
|
-
.awsui_header-
|
|
397
|
+
.awsui_header-container_gwq0h_1pven_368:not(#\9) {
|
|
395
398
|
inline-size: 100%;
|
|
396
399
|
}
|
|
397
|
-
.awsui_header-
|
|
400
|
+
.awsui_header-container_gwq0h_1pven_368 > .awsui_icon-container_gwq0h_1pven_264:not(#\9) {
|
|
398
401
|
margin-block-start: var(--space-expandable-section-icon-offset-top-cntyn8, 4px);
|
|
399
402
|
}
|
|
400
|
-
.awsui_header-
|
|
403
|
+
.awsui_header-navigation_gwq0h_1pven_403 > .awsui_icon-container_gwq0h_1pven_264:not(#\9) {
|
|
401
404
|
display: inline-flex;
|
|
402
405
|
cursor: pointer;
|
|
403
406
|
color: var(--color-text-expandable-section-navigation-icon-default-mklu1s, #424650);
|
|
@@ -410,17 +413,17 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_nchqn_365:not(#\9
|
|
|
410
413
|
text-decoration: none;
|
|
411
414
|
flex-direction: column;
|
|
412
415
|
}
|
|
413
|
-
.awsui_header-
|
|
416
|
+
.awsui_header-navigation_gwq0h_1pven_403 > .awsui_icon-container_gwq0h_1pven_264:not(#\9):hover {
|
|
414
417
|
color: var(--color-text-expandable-section-hover-ojzwhd, #006ce0);
|
|
415
418
|
}
|
|
416
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
419
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_1pven_403 > .awsui_icon-container_gwq0h_1pven_264:not(#\9):focus {
|
|
417
420
|
position: relative;
|
|
418
421
|
}
|
|
419
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
422
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_1pven_403 > .awsui_icon-container_gwq0h_1pven_264:not(#\9):focus {
|
|
420
423
|
outline: 2px dotted transparent;
|
|
421
424
|
outline-offset: calc(2px - 1px);
|
|
422
425
|
}
|
|
423
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
426
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_1pven_403 > .awsui_icon-container_gwq0h_1pven_264:not(#\9):focus::before {
|
|
424
427
|
content: " ";
|
|
425
428
|
display: block;
|
|
426
429
|
position: absolute;
|
|
@@ -434,39 +437,39 @@ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_nchqn_400 > .
|
|
|
434
437
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
435
438
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
436
439
|
}
|
|
437
|
-
.awsui_header-
|
|
440
|
+
.awsui_header-text_gwq0h_1pven_440:not(#\9) {
|
|
438
441
|
/* used in test-utils */
|
|
439
442
|
}
|
|
440
443
|
|
|
441
|
-
:not(#\9):not(.awsui_wrapper-
|
|
444
|
+
:not(#\9):not(.awsui_wrapper-compact_gwq0h_1pven_291) > .awsui_header-actions-wrapper_gwq0h_1pven_362 {
|
|
442
445
|
flex-wrap: wrap;
|
|
443
446
|
column-gap: var(--space-xs-ymlm0b, 8px);
|
|
444
447
|
row-gap: var(--space-scaled-xxxs-oo06c7, 2px);
|
|
445
448
|
}
|
|
446
449
|
|
|
447
|
-
.
|
|
450
|
+
.awsui_content_gwq0h_1pven_161:not(#\9) {
|
|
448
451
|
display: none;
|
|
449
452
|
}
|
|
450
|
-
.awsui_content-
|
|
453
|
+
.awsui_content-default_gwq0h_1pven_453:not(#\9), .awsui_content-inline_gwq0h_1pven_453:not(#\9) {
|
|
451
454
|
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
452
455
|
padding-inline: 0;
|
|
453
456
|
}
|
|
454
|
-
.awsui_content-
|
|
457
|
+
.awsui_content-footer_gwq0h_1pven_457:not(#\9) {
|
|
455
458
|
padding-block: var(--space-xs-ymlm0b, 8px);
|
|
456
459
|
padding-inline: 0;
|
|
457
460
|
}
|
|
458
|
-
.awsui_content-
|
|
461
|
+
.awsui_content-expanded_gwq0h_1pven_461:not(#\9) {
|
|
459
462
|
display: block;
|
|
460
463
|
}
|
|
461
|
-
.awsui_content-
|
|
464
|
+
.awsui_content-compact_gwq0h_1pven_464:not(#\9) {
|
|
462
465
|
padding-inline-start: calc(var(--size-icon-normal-levt08, 16px) + (var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / -2 + var(--space-xxs-hwfkai, 4px) + var(--border-divider-list-width-tdfx1x, 1px));
|
|
463
466
|
}
|
|
464
467
|
|
|
465
|
-
.
|
|
468
|
+
.awsui_focusable_gwq0h_1pven_468:not(#\9):focus {
|
|
466
469
|
outline: none;
|
|
467
470
|
text-decoration: none;
|
|
468
471
|
}
|
|
469
|
-
body[data-awsui-focus-visible=true] .
|
|
472
|
+
body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_1pven_468:not(#\9):focus {
|
|
470
473
|
outline: 2px dotted transparent;
|
|
471
474
|
border-block: var(--border-width-button-jm0qg7, 2px) solid var(--color-border-item-focused-uk47pl, #006ce0);
|
|
472
475
|
border-inline: var(--border-width-button-jm0qg7, 2px) solid var(--color-border-item-focused-uk47pl, #006ce0);
|
|
@@ -477,9 +480,9 @@ body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_nchqn_465:not(#\9):fo
|
|
|
477
480
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-9mjajk, 1px) var(--color-border-item-focused-uk47pl, #006ce0);
|
|
478
481
|
}
|
|
479
482
|
|
|
480
|
-
.awsui_click-
|
|
483
|
+
.awsui_click-target_gwq0h_1pven_483:not(#\9) {
|
|
481
484
|
cursor: pointer;
|
|
482
485
|
}
|
|
483
|
-
.awsui_click-
|
|
486
|
+
.awsui_click-target_gwq0h_1pven_483:not(#\9):not(.awsui_wrapper-container_gwq0h_1pven_287):not(.awsui_header-container-button_gwq0h_1pven_368):hover {
|
|
484
487
|
color: var(--color-text-expandable-section-hover-ojzwhd, #006ce0);
|
|
485
488
|
}
|