@cloudscape-design/components-themeable 3.0.1077 → 3.0.1078
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/split-panel/styles.scss +81 -16
- package/lib/internal/scss/split-panel/test-classes/styles.scss +4 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/multi-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/multi-layout.js +19 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/multi-layout.js.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.js +5 -3
- package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/common.d.ts.map +1 -1
- package/lib/internal/template/flashbar/common.js +5 -2
- package/lib/internal/template/flashbar/common.js.map +1 -1
- package/lib/internal/template/flashbar/flash.d.ts +1 -1
- package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
- package/lib/internal/template/flashbar/flash.js +2 -4
- package/lib/internal/template/flashbar/flash.js.map +1 -1
- package/lib/internal/template/flashbar/utils.d.ts +1 -1
- package/lib/internal/template/flashbar/utils.d.ts.map +1 -1
- package/lib/internal/template/flashbar/utils.js +1 -1
- package/lib/internal/template/flashbar/utils.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/split-panel/bottom.d.ts +2 -1
- package/lib/internal/template/split-panel/bottom.d.ts.map +1 -1
- package/lib/internal/template/split-panel/bottom.js +4 -3
- package/lib/internal/template/split-panel/bottom.js.map +1 -1
- package/lib/internal/template/split-panel/implementation.d.ts +1 -1
- package/lib/internal/template/split-panel/implementation.d.ts.map +1 -1
- package/lib/internal/template/split-panel/implementation.js +30 -11
- package/lib/internal/template/split-panel/implementation.js.map +1 -1
- package/lib/internal/template/split-panel/index.d.ts.map +1 -1
- package/lib/internal/template/split-panel/index.js +6 -0
- package/lib/internal/template/split-panel/index.js.map +1 -1
- package/lib/internal/template/split-panel/interfaces.d.ts +24 -3
- package/lib/internal/template/split-panel/interfaces.d.ts.map +1 -1
- package/lib/internal/template/split-panel/interfaces.js.map +1 -1
- package/lib/internal/template/split-panel/side.d.ts +1 -1
- package/lib/internal/template/split-panel/side.d.ts.map +1 -1
- package/lib/internal/template/split-panel/side.js +2 -2
- package/lib/internal/template/split-panel/side.js.map +1 -1
- package/lib/internal/template/split-panel/styles.css.js +38 -27
- package/lib/internal/template/split-panel/styles.scoped.css +93 -56
- package/lib/internal/template/split-panel/styles.selectors.js +38 -27
- package/lib/internal/template/split-panel/test-classes/styles.css.js +12 -8
- package/lib/internal/template/split-panel/test-classes/styles.scoped.css +12 -8
- package/lib/internal/template/split-panel/test-classes/styles.selectors.js +12 -8
- package/lib/internal/template/test-utils/dom/split-panel/index.d.ts +4 -0
- package/lib/internal/template/test-utils/dom/split-panel/index.js +12 -0
- package/lib/internal/template/test-utils/dom/split-panel/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/split-panel/index.d.ts +4 -0
- package/lib/internal/template/test-utils/selectors/split-panel/index.js +12 -0
- package/lib/internal/template/test-utils/selectors/split-panel/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/split-panel/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';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface SplitPanelProps extends BaseComponentProps {\n /**\n * Header of the split panel.\n */\n header
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/split-panel/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';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface SplitPanelProps extends BaseComponentProps {\n /**\n * Header text of the split panel.\n */\n header?: string;\n children: React.ReactNode;\n /**\n * Determines whether the split panel collapses or hides completely when closed.\n */\n closeBehavior?: 'collapse' | 'hide';\n /**\n * When set to `true`, the preferences button is not displayed.\n */\n hidePreferencesButton?: boolean;\n /**\n * An object containing all the necessary localized strings required by the component.\n * - `closeButtonAriaLabel` - The text of the panel close button aria label.\n * - `openButtonAriaLabel` - The text of the panel open button aria label.\n * - `preferencesTitle` - The text of the preferences modal header.\n * - `preferencesPositionLabel` - The text of the position preference label.\n * - `preferencesPositionDescription` - The text of the position preference description.\n * - `preferencesPositionSide` - The text of the side position preference label.\n * - `preferencesPositionBottom` - The text of the bottom position preference label.\n * - `preferencesConfirm` - The text of the preference modal confirm button.\n * - `preferencesCancel` - The text of the preference modal cancel button.\n * - `resizeHandleAriaLabel` - The label of the resize handle aria label.\n * @i18n\n */\n i18nStrings?: SplitPanelProps.I18nStrings;\n\n /**\n * ARIA label for the panel. Use this if the value passed in the `header` property is not descriptive as a label for the panel.\n */\n ariaLabel?: string;\n\n /**\n * Actions for the header.\n */\n headerActions?: React.ReactNode;\n\n /**\n * Supplementary text below the heading.\n */\n headerDescription?: React.ReactNode;\n\n /**\n * The area next to the heading, used to display an Info link.\n */\n headerInfo?: React.ReactNode;\n\n /**\n * Content displayed before the header text.\n */\n headerBefore?: React.ReactNode;\n}\n\nexport namespace SplitPanelProps {\n export interface I18nStrings {\n closeButtonAriaLabel?: string;\n openButtonAriaLabel?: string;\n preferencesTitle?: string;\n preferencesPositionLabel?: string;\n preferencesPositionDescription?: string;\n preferencesPositionSide?: string;\n preferencesPositionBottom?: string;\n preferencesConfirm?: string;\n preferencesCancel?: string;\n preferencesCloseAriaLabel?: string;\n resizeHandleAriaLabel?: string;\n resizeHandleTooltipText?: string;\n }\n}\n\nexport interface SplitPanelContentProps {\n style: React.CSSProperties;\n baseProps: BaseComponentProps;\n isOpen?: boolean;\n splitPanelRef?: React.Ref<any>;\n cappedSize: number;\n panelHeaderId?: string;\n ariaLabel?: string;\n resizeHandle: React.ReactNode;\n header: React.ReactNode;\n children: React.ReactNode;\n onToggle: () => void;\n}\n"]}
|
|
@@ -6,6 +6,6 @@ interface SplitPanelContentSideProps extends SplitPanelContentProps {
|
|
|
6
6
|
openButtonAriaLabel?: string;
|
|
7
7
|
toggleRef: React.RefObject<ButtonProps.Ref>;
|
|
8
8
|
}
|
|
9
|
-
export declare function SplitPanelContentSide({ style, baseProps, splitPanelRef, toggleRef, header, children, resizeHandle, isOpen, cappedSize, openButtonAriaLabel, panelHeaderId, onToggle, closeBehavior, }: SplitPanelContentSideProps): JSX.Element;
|
|
9
|
+
export declare function SplitPanelContentSide({ style, baseProps, splitPanelRef, toggleRef, header, children, resizeHandle, isOpen, cappedSize, openButtonAriaLabel, panelHeaderId, ariaLabel, onToggle, closeBehavior, }: SplitPanelContentSideProps): JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=side.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side.d.ts","sourceRoot":"","sources":["../../../src/split-panel/side.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAMvE,UAAU,0BAA2B,SAAQ,sBAAsB;IACjE,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IAChD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;CAC7C;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,QAAQ,EACR,aAAa,GACd,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"side.d.ts","sourceRoot":"","sources":["../../../src/split-panel/side.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAMvE,UAAU,0BAA2B,SAAQ,sBAAsB;IACjE,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IAChD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;CAC7C;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,SAAS,EACT,QAAQ,EACR,aAAa,GACd,EAAE,0BAA0B,eA0D5B"}
|
|
@@ -9,7 +9,7 @@ import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
|
9
9
|
import sharedStyles from '../app-layout/resize/styles.css.js';
|
|
10
10
|
import styles from './styles.css.js';
|
|
11
11
|
import testUtilStyles from './test-classes/styles.css.js';
|
|
12
|
-
export function SplitPanelContentSide({ style, baseProps, splitPanelRef, toggleRef, header, children, resizeHandle, isOpen, cappedSize, openButtonAriaLabel, panelHeaderId, onToggle, closeBehavior, }) {
|
|
12
|
+
export function SplitPanelContentSide({ style, baseProps, splitPanelRef, toggleRef, header, children, resizeHandle, isOpen, cappedSize, openButtonAriaLabel, panelHeaderId, ariaLabel, onToggle, closeBehavior, }) {
|
|
13
13
|
const { topOffset, bottomOffset, animationDisabled } = useSplitPanelContext();
|
|
14
14
|
const isRefresh = useVisualRefresh();
|
|
15
15
|
const isToolbar = useAppLayoutToolbarDesignEnabled();
|
|
@@ -24,7 +24,7 @@ export function SplitPanelContentSide({ style, baseProps, splitPanelRef, toggleR
|
|
|
24
24
|
React.createElement("div", { className: styles['drawer-content-side'], style: {
|
|
25
25
|
top: topOffset,
|
|
26
26
|
bottom: bottomOffset,
|
|
27
|
-
}, onClick: () => !isOpen && onToggle(), "aria-labelledby": panelHeaderId, role: "region" },
|
|
27
|
+
}, onClick: () => !isOpen && onToggle(), "aria-labelledby": panelHeaderId, "aria-label": ariaLabel, role: "region" },
|
|
28
28
|
isOpen ? (React.createElement("div", { className: clsx(styles['slider-wrapper-side'], isToolbar && styles['with-toolbar']) }, resizeHandle)) : closeBehavior === 'hide' ? null : (React.createElement(InternalButton, { className: clsx(testUtilStyles['open-button'], styles['open-button-side']), iconName: "angle-left", variant: "icon", formAction: "none", ariaLabel: openButtonAriaLabel, ariaExpanded: isOpen,
|
|
29
29
|
//toggleRef should only be assigned when there is no other trigger-buttons
|
|
30
30
|
ref: isRefresh || isToolbar ? null : toggleRef })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side.js","sourceRoot":"","sources":["../../../src/split-panel/side.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AAErF,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AA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a,CAAC,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC,EAC1E,QAAQ,EAAC,YAAY,EACrB,OAAO,EAAC,MAAM,EACd,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,mBAAmB,EAC9B,YAAY,EAAE,MAAM;gBACpB,0EAA0E;gBAC1E,GAAG,EAAE,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,GAC9C,CACH;YACD,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,SAAS,IAAI,MAAM,CAAC,cAAc,CAAC,CAAC,iBAC/D,CAAC,MAAM,EACpB,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,EAAE;gBAEhD,6BAAK,SAAS,EAAE,MAAM,CAAC,0BAA0B,CAAC,IAAG,MAAM,CAAO;gBAClE,6BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC,IAAG,QAAQ,CAAO,CACjE,CACF,CACF,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';\n\nimport { useAppLayoutToolbarDesignEnabled } from '../app-layout/utils/feature-flags';\nimport { ButtonProps } from '../button/interfaces';\nimport InternalButton from '../button/internal';\nimport { useSplitPanelContext } from '../internal/context/split-panel-context';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { SplitPanelContentProps, SplitPanelProps } from './interfaces';\n\nimport sharedStyles from '../app-layout/resize/styles.css.js';\nimport styles from './styles.css.js';\nimport testUtilStyles from './test-classes/styles.css.js';\n\ninterface SplitPanelContentSideProps extends SplitPanelContentProps {\n closeBehavior: SplitPanelProps['closeBehavior'];\n openButtonAriaLabel?: string;\n toggleRef: React.RefObject<ButtonProps.Ref>;\n}\n\nexport function SplitPanelContentSide({\n style,\n baseProps,\n splitPanelRef,\n toggleRef,\n header,\n children,\n resizeHandle,\n isOpen,\n cappedSize,\n openButtonAriaLabel,\n panelHeaderId,\n ariaLabel,\n onToggle,\n closeBehavior,\n}: SplitPanelContentSideProps) {\n const { topOffset, bottomOffset, animationDisabled } = useSplitPanelContext();\n const isRefresh = useVisualRefresh();\n const isToolbar = useAppLayoutToolbarDesignEnabled();\n const disableAnimation = animationDisabled || (closeBehavior === 'hide' && !isOpen);\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.drawer, styles['position-side'], testUtilStyles.root, {\n [sharedStyles['with-motion-horizontal']]: !disableAnimation,\n [testUtilStyles['open-position-side']]: isOpen,\n [styles['drawer-closed']]: !isOpen,\n [styles['with-toolbar']]: isToolbar,\n [styles.refresh]: isRefresh,\n })}\n style={{\n width: isOpen ? cappedSize : isRefresh ? '0px' : undefined,\n maxWidth: isRefresh ? '100%' : undefined,\n ...style,\n }}\n ref={splitPanelRef}\n >\n <div\n className={styles['drawer-content-side']}\n style={{\n top: topOffset,\n bottom: bottomOffset,\n }}\n onClick={() => !isOpen && onToggle()}\n aria-labelledby={panelHeaderId}\n aria-label={ariaLabel}\n role=\"region\"\n >\n {isOpen ? (\n <div className={clsx(styles['slider-wrapper-side'], isToolbar && styles['with-toolbar'])}>{resizeHandle}</div>\n ) : closeBehavior === 'hide' ? null : (\n <InternalButton\n className={clsx(testUtilStyles['open-button'], styles['open-button-side'])}\n iconName=\"angle-left\"\n variant=\"icon\"\n formAction=\"none\"\n ariaLabel={openButtonAriaLabel}\n ariaExpanded={isOpen}\n //toggleRef should only be assigned when there is no other trigger-buttons\n ref={isRefresh || isToolbar ? null : toggleRef}\n />\n )}\n <div\n className={clsx(styles['content-side'], isToolbar && styles['with-toolbar'])}\n aria-hidden={!isOpen}\n style={{ width: isToolbar ? cappedSize : '0px' }} // to prevent text wrapping upon entering\n >\n <div className={styles['pane-header-wrapper-side']}>{header}</div>\n <div className={styles['pane-content-wrapper-side']}>{children}</div>\n </div>\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"drawer": "
|
|
5
|
-
"drawer-closed": "awsui_drawer-
|
|
6
|
-
"refresh": "
|
|
7
|
-
"drawer-content-side": "awsui_drawer-content-
|
|
8
|
-
"drawer-content-bottom": "awsui_drawer-content-
|
|
9
|
-
"position-bottom": "awsui_position-
|
|
10
|
-
"hidden": "
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"slider-wrapper-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"drawer-
|
|
19
|
-
"content-
|
|
20
|
-
"
|
|
21
|
-
"pane-bottom-
|
|
22
|
-
"pane-bottom-content-
|
|
23
|
-
"
|
|
24
|
-
"content-
|
|
25
|
-
"
|
|
26
|
-
"pane-
|
|
27
|
-
"
|
|
28
|
-
"header
|
|
29
|
-
"header-
|
|
30
|
-
"
|
|
4
|
+
"drawer": "awsui_drawer_1r9lg_1y2ds_153",
|
|
5
|
+
"drawer-closed": "awsui_drawer-closed_1r9lg_1y2ds_190",
|
|
6
|
+
"refresh": "awsui_refresh_1r9lg_1y2ds_190",
|
|
7
|
+
"drawer-content-side": "awsui_drawer-content-side_1r9lg_1y2ds_194",
|
|
8
|
+
"drawer-content-bottom": "awsui_drawer-content-bottom_1r9lg_1y2ds_210",
|
|
9
|
+
"position-bottom": "awsui_position-bottom_1r9lg_1y2ds_217",
|
|
10
|
+
"hidden": "awsui_hidden_1r9lg_1y2ds_225",
|
|
11
|
+
"drawer-clickable": "awsui_drawer-clickable_1r9lg_1y2ds_236",
|
|
12
|
+
"position-side": "awsui_position-side_1r9lg_1y2ds_247",
|
|
13
|
+
"with-toolbar": "awsui_with-toolbar_1r9lg_1y2ds_252",
|
|
14
|
+
"slider-wrapper-bottom": "awsui_slider-wrapper-bottom_1r9lg_1y2ds_256",
|
|
15
|
+
"slider-wrapper-side": "awsui_slider-wrapper-side_1r9lg_1y2ds_267",
|
|
16
|
+
"open-button-side": "awsui_open-button-side_1r9lg_1y2ds_281",
|
|
17
|
+
"pane-header-wrapper-bottom": "awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290",
|
|
18
|
+
"drawer-mobile": "awsui_drawer-mobile_1r9lg_1y2ds_300",
|
|
19
|
+
"drawer-disable-content-paddings": "awsui_drawer-disable-content-paddings_1r9lg_1y2ds_304",
|
|
20
|
+
"content-bottom": "awsui_content-bottom_1r9lg_1y2ds_316",
|
|
21
|
+
"pane-bottom-center-align": "awsui_pane-bottom-center-align_1r9lg_1y2ds_335",
|
|
22
|
+
"pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-padding_1r9lg_1y2ds_340",
|
|
23
|
+
"pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-padding_1r9lg_1y2ds_344",
|
|
24
|
+
"content-bottom-max-width": "awsui_content-bottom-max-width_1r9lg_1y2ds_348",
|
|
25
|
+
"content-side": "awsui_content-side_1r9lg_1y2ds_353",
|
|
26
|
+
"pane-header-wrapper-side": "awsui_pane-header-wrapper-side_1r9lg_1y2ds_365",
|
|
27
|
+
"pane-content-wrapper-side": "awsui_pane-content-wrapper-side_1r9lg_1y2ds_374",
|
|
28
|
+
"header": "awsui_header_1r9lg_1y2ds_385",
|
|
29
|
+
"header-main-row": "awsui_header-main-row_1r9lg_1y2ds_393",
|
|
30
|
+
"header-main-content": "awsui_header-main-content_1r9lg_1y2ds_393",
|
|
31
|
+
"header-tag-and-info": "awsui_header-tag-and-info_1r9lg_1y2ds_407",
|
|
32
|
+
"with-description": "awsui_with-description_1r9lg_1y2ds_412",
|
|
33
|
+
"header-tag": "awsui_header-tag_1r9lg_1y2ds_407",
|
|
34
|
+
"with-info": "awsui_with-info_1r9lg_1y2ds_415",
|
|
35
|
+
"header-text": "awsui_header-text_1r9lg_1y2ds_415",
|
|
36
|
+
"header-before-slot": "awsui_header-before-slot_1r9lg_1y2ds_421",
|
|
37
|
+
"with-header-text": "awsui_with-header-text_1r9lg_1y2ds_432",
|
|
38
|
+
"header-actions-slot": "awsui_header-actions-slot_1r9lg_1y2ds_438",
|
|
39
|
+
"header-description": "awsui_header-description_1r9lg_1y2ds_444",
|
|
40
|
+
"header-buttons": "awsui_header-buttons_1r9lg_1y2ds_451",
|
|
41
|
+
"divider": "awsui_divider_1r9lg_1y2ds_459"
|
|
31
42
|
};
|
|
32
43
|
|
|
@@ -150,7 +150,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.
|
|
153
|
+
.awsui_drawer_1r9lg_1y2ds_153:not(#\9) {
|
|
154
154
|
border-collapse: separate;
|
|
155
155
|
border-spacing: 0;
|
|
156
156
|
box-sizing: border-box;
|
|
@@ -187,37 +187,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
187
187
|
background-color: var(--color-background-layout-panel-content-9tbx75, #ffffff);
|
|
188
188
|
z-index: 840;
|
|
189
189
|
}
|
|
190
|
-
.awsui_drawer-
|
|
191
|
-
cursor: pointer;
|
|
192
|
-
}
|
|
193
|
-
.awsui_drawer-closed_1r9lg_7nc4m_190:not(#\9):not(.awsui_refresh_1r9lg_7nc4m_193) {
|
|
190
|
+
.awsui_drawer-closed_1r9lg_1y2ds_190:not(#\9):not(.awsui_refresh_1r9lg_1y2ds_190) {
|
|
194
191
|
min-inline-size: 40px;
|
|
195
192
|
}
|
|
196
193
|
|
|
197
|
-
.awsui_drawer-content-
|
|
194
|
+
.awsui_drawer-content-side_1r9lg_1y2ds_194:not(#\9) {
|
|
198
195
|
display: flex;
|
|
199
196
|
align-items: center;
|
|
200
197
|
block-size: 100%;
|
|
201
198
|
overflow: auto;
|
|
202
199
|
}
|
|
203
|
-
.awsui_drawer-content-
|
|
200
|
+
.awsui_drawer-content-side_1r9lg_1y2ds_194 > [aria-hidden=true]:not(#\9), .awsui_drawer-closed_1r9lg_1y2ds_190.awsui_refresh_1r9lg_1y2ds_190 > .awsui_drawer-content-side_1r9lg_1y2ds_194:not(#\9) {
|
|
204
201
|
display: none;
|
|
205
202
|
}
|
|
206
|
-
.awsui_drawer-
|
|
203
|
+
.awsui_drawer-closed_1r9lg_1y2ds_190:not(#\9):not(.awsui_refresh_1r9lg_1y2ds_190) > .awsui_drawer-content-side_1r9lg_1y2ds_194 {
|
|
207
204
|
inline-size: 40px;
|
|
208
205
|
}
|
|
209
|
-
.awsui_drawer-
|
|
206
|
+
.awsui_drawer-closed_1r9lg_1y2ds_190:not(#\9):not(.awsui_refresh_1r9lg_1y2ds_190) > .awsui_drawer-content-side_1r9lg_1y2ds_194:hover {
|
|
210
207
|
background: var(--color-background-layout-panel-hover-5jdzo1, #eaeded);
|
|
211
208
|
}
|
|
212
209
|
|
|
213
|
-
:not(#\9):not(.awsui_drawer-
|
|
210
|
+
:not(#\9):not(.awsui_drawer-closed_1r9lg_1y2ds_190) > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 {
|
|
214
211
|
overflow-y: auto;
|
|
215
212
|
position: absolute;
|
|
216
213
|
inset: 0;
|
|
217
214
|
clip-path: border-box;
|
|
218
215
|
}
|
|
219
216
|
|
|
220
|
-
.awsui_position-
|
|
217
|
+
.awsui_position-bottom_1r9lg_1y2ds_217:not(#\9) {
|
|
221
218
|
position: fixed;
|
|
222
219
|
overflow-y: auto;
|
|
223
220
|
/*
|
|
@@ -225,37 +222,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
225
222
|
SplitPanel is no longer in fixed position in the DOM.
|
|
226
223
|
*/
|
|
227
224
|
}
|
|
228
|
-
.awsui_position-
|
|
225
|
+
.awsui_position-bottom_1r9lg_1y2ds_217:not(#\9):not(.awsui_hidden_1r9lg_1y2ds_225) {
|
|
229
226
|
border-block-start: var(--border-panel-top-width-a8j764, 0px) solid var(--color-border-divider-panel-bottom-x9b7bd, rgba(0, 28, 36, 0.15));
|
|
230
227
|
}
|
|
231
|
-
.awsui_position-
|
|
228
|
+
.awsui_position-bottom_1r9lg_1y2ds_217:not(#\9):not(.awsui_refresh_1r9lg_1y2ds_190) {
|
|
232
229
|
box-shadow: var(--shadow-split-bottom-0ncj9i, 0 -2px 1px -1px rgba(0, 28, 36, 0.15), 0 -1px 1px -1px rgba(0, 28, 36, 0.3));
|
|
233
230
|
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-panel-bottom-x9b7bd, rgba(0, 28, 36, 0.15));
|
|
234
231
|
border-inline-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-panel-bottom-x9b7bd, rgba(0, 28, 36, 0.15));
|
|
235
232
|
}
|
|
236
|
-
.awsui_position-
|
|
233
|
+
.awsui_position-bottom_1r9lg_1y2ds_217.awsui_drawer-closed_1r9lg_1y2ds_190:not(#\9) {
|
|
237
234
|
overflow: hidden;
|
|
238
235
|
}
|
|
239
|
-
.awsui_position-
|
|
236
|
+
.awsui_position-bottom_1r9lg_1y2ds_217.awsui_drawer-closed_1r9lg_1y2ds_190.awsui_drawer-clickable_1r9lg_1y2ds_236:not(#\9):hover {
|
|
237
|
+
cursor: pointer;
|
|
240
238
|
background: var(--color-background-layout-panel-hover-5jdzo1, #eaeded);
|
|
241
239
|
}
|
|
242
|
-
.awsui_position-
|
|
240
|
+
.awsui_position-bottom_1r9lg_1y2ds_217 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > [aria-hidden=true]:not(#\9) {
|
|
243
241
|
display: none;
|
|
244
242
|
}
|
|
245
|
-
.awsui_position-
|
|
243
|
+
.awsui_position-bottom_1r9lg_1y2ds_217.awsui_refresh_1r9lg_1y2ds_190:not(#\9) {
|
|
246
244
|
position: relative;
|
|
247
245
|
}
|
|
248
246
|
|
|
249
|
-
.awsui_position-
|
|
247
|
+
.awsui_position-side_1r9lg_1y2ds_247:not(#\9) {
|
|
250
248
|
border-block-start: none;
|
|
251
249
|
box-shadow: var(--shadow-split-side-wm3dcf, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
|
|
252
250
|
block-size: 100%;
|
|
253
251
|
}
|
|
254
|
-
.awsui_position-
|
|
252
|
+
.awsui_position-side_1r9lg_1y2ds_247.awsui_with-toolbar_1r9lg_1y2ds_252:not(#\9) {
|
|
255
253
|
box-shadow: none;
|
|
256
254
|
}
|
|
257
255
|
|
|
258
|
-
.awsui_slider-wrapper-
|
|
256
|
+
.awsui_slider-wrapper-bottom_1r9lg_1y2ds_256:not(#\9) {
|
|
259
257
|
position: absolute;
|
|
260
258
|
inset-block-start: 0;
|
|
261
259
|
inset-inline-start: 0;
|
|
@@ -266,7 +264,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
266
264
|
z-index: 2;
|
|
267
265
|
}
|
|
268
266
|
|
|
269
|
-
.awsui_slider-wrapper-
|
|
267
|
+
.awsui_slider-wrapper-side_1r9lg_1y2ds_267:not(#\9) {
|
|
270
268
|
position: absolute;
|
|
271
269
|
inset-inline-start: 0;
|
|
272
270
|
inset-block-start: 0;
|
|
@@ -276,11 +274,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
276
274
|
align-items: center;
|
|
277
275
|
z-index: 1;
|
|
278
276
|
}
|
|
279
|
-
.awsui_slider-wrapper-
|
|
277
|
+
.awsui_slider-wrapper-side_1r9lg_1y2ds_267.awsui_with-toolbar_1r9lg_1y2ds_252:not(#\9) {
|
|
280
278
|
position: unset;
|
|
281
279
|
}
|
|
282
280
|
|
|
283
|
-
.awsui_open-button-
|
|
281
|
+
.awsui_open-button-side_1r9lg_1y2ds_281:not(#\9) {
|
|
284
282
|
flex: 0 0 auto;
|
|
285
283
|
align-self: flex-start;
|
|
286
284
|
box-sizing: border-box;
|
|
@@ -289,7 +287,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
289
287
|
margin-inline: auto;
|
|
290
288
|
}
|
|
291
289
|
|
|
292
|
-
.awsui_pane-header-wrapper-
|
|
290
|
+
.awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290:not(#\9) {
|
|
293
291
|
position: sticky;
|
|
294
292
|
inset-block-start: 0;
|
|
295
293
|
display: flex;
|
|
@@ -299,60 +297,60 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
299
297
|
padding-block: 0;
|
|
300
298
|
padding-inline: var(--space-layout-content-horizontal-q3zhej, 40px);
|
|
301
299
|
}
|
|
302
|
-
.awsui_drawer-
|
|
300
|
+
.awsui_drawer-mobile_1r9lg_1y2ds_300 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290:not(#\9) {
|
|
303
301
|
padding-block: 0;
|
|
304
302
|
padding-inline: var(--space-l-3cws6j, 20px);
|
|
305
303
|
}
|
|
306
|
-
.awsui_drawer-disable-content-
|
|
304
|
+
.awsui_drawer-disable-content-paddings_1r9lg_1y2ds_304 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290:not(#\9) {
|
|
307
305
|
padding-block: 0;
|
|
308
306
|
padding-inline: var(--space-l-3cws6j, 20px);
|
|
309
307
|
}
|
|
310
|
-
:not(#\9):not(.awsui_drawer-
|
|
308
|
+
:not(#\9):not(.awsui_drawer-closed_1r9lg_1y2ds_190) > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290 {
|
|
311
309
|
background-color: var(--color-background-layout-panel-content-9tbx75, #ffffff);
|
|
312
310
|
border-block-end: var(--border-panel-header-width-r62i4a, 0px) solid var(--color-border-panel-header-iffljr, #eaeded);
|
|
313
311
|
}
|
|
314
|
-
.awsui_with-
|
|
312
|
+
.awsui_with-toolbar_1r9lg_1y2ds_252:not(#\9):not(.awsui_drawer-closed_1r9lg_1y2ds_190) > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290 {
|
|
315
313
|
border-color: transparent;
|
|
316
314
|
}
|
|
317
315
|
|
|
318
|
-
.awsui_content-
|
|
316
|
+
.awsui_content-bottom_1r9lg_1y2ds_316:not(#\9) {
|
|
319
317
|
padding-block: 0;
|
|
320
318
|
padding-inline: var(--space-layout-content-horizontal-q3zhej, 40px);
|
|
321
319
|
margin-block-start: var(--space-panel-split-top-q9gv78, 0px);
|
|
322
320
|
position: relative;
|
|
323
321
|
z-index: 0;
|
|
324
322
|
}
|
|
325
|
-
.awsui_with-
|
|
323
|
+
.awsui_with-toolbar_1r9lg_1y2ds_252 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_content-bottom_1r9lg_1y2ds_316:not(#\9) {
|
|
326
324
|
margin-block-start: 0px;
|
|
327
325
|
}
|
|
328
|
-
.awsui_drawer-
|
|
326
|
+
.awsui_drawer-mobile_1r9lg_1y2ds_300 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_content-bottom_1r9lg_1y2ds_316:not(#\9) {
|
|
329
327
|
padding-block: 0;
|
|
330
328
|
padding-inline: var(--space-l-3cws6j, 20px);
|
|
331
329
|
}
|
|
332
|
-
.awsui_drawer-disable-content-
|
|
330
|
+
.awsui_drawer-disable-content-paddings_1r9lg_1y2ds_304 > .awsui_drawer-content-bottom_1r9lg_1y2ds_210 > .awsui_content-bottom_1r9lg_1y2ds_316:not(#\9) {
|
|
333
331
|
padding-block: 0;
|
|
334
332
|
padding-inline: 0;
|
|
335
333
|
}
|
|
336
334
|
|
|
337
|
-
.awsui_pane-bottom-center-
|
|
335
|
+
.awsui_pane-bottom-center-align_1r9lg_1y2ds_335:not(#\9) {
|
|
338
336
|
display: flex;
|
|
339
337
|
justify-content: center;
|
|
340
338
|
}
|
|
341
339
|
|
|
342
|
-
.awsui_pane-bottom-content-nav-
|
|
340
|
+
.awsui_pane-bottom-content-nav-padding_1r9lg_1y2ds_340:not(#\9) {
|
|
343
341
|
padding-inline-start: calc(var(--space-layout-toggle-diameter-vount6, 36px) + 2 * var(--space-layout-toggle-padding-quc8b2, 12px));
|
|
344
342
|
}
|
|
345
343
|
|
|
346
|
-
.awsui_pane-bottom-content-tools-
|
|
344
|
+
.awsui_pane-bottom-content-tools-padding_1r9lg_1y2ds_344:not(#\9) {
|
|
347
345
|
padding-inline-end: calc(var(--space-layout-toggle-diameter-vount6, 36px) + 2 * var(--space-layout-toggle-padding-quc8b2, 12px));
|
|
348
346
|
}
|
|
349
347
|
|
|
350
|
-
.awsui_content-bottom-max-
|
|
348
|
+
.awsui_content-bottom-max-width_1r9lg_1y2ds_348:not(#\9) {
|
|
351
349
|
flex-grow: 1;
|
|
352
350
|
max-inline-size: 100%;
|
|
353
351
|
}
|
|
354
352
|
|
|
355
|
-
.awsui_content-
|
|
353
|
+
.awsui_content-side_1r9lg_1y2ds_353:not(#\9) {
|
|
356
354
|
flex: auto;
|
|
357
355
|
align-self: flex-start;
|
|
358
356
|
box-sizing: border-box;
|
|
@@ -361,57 +359,96 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
361
359
|
inset-inline: 0;
|
|
362
360
|
block-size: 100%;
|
|
363
361
|
}
|
|
364
|
-
.awsui_content-
|
|
362
|
+
.awsui_content-side_1r9lg_1y2ds_353.awsui_with-toolbar_1r9lg_1y2ds_252:not(#\9) {
|
|
365
363
|
position: absolute;
|
|
366
364
|
}
|
|
367
|
-
.awsui_content-
|
|
365
|
+
.awsui_content-side_1r9lg_1y2ds_353 > .awsui_pane-header-wrapper-side_1r9lg_1y2ds_365:not(#\9) {
|
|
368
366
|
padding-block: 0;
|
|
369
367
|
padding-inline-end: var(--space-m-n2lypl, 16px);
|
|
370
368
|
padding-inline-start: var(--space-panel-side-left-07kpj4, 32px);
|
|
371
369
|
border-block-end: var(--border-panel-header-width-r62i4a, 0px) solid var(--color-border-panel-header-iffljr, #eaeded);
|
|
372
370
|
}
|
|
373
|
-
.awsui_content-
|
|
371
|
+
.awsui_content-side_1r9lg_1y2ds_353.awsui_with-toolbar_1r9lg_1y2ds_252 > .awsui_pane-header-wrapper-side_1r9lg_1y2ds_365:not(#\9) {
|
|
374
372
|
border-color: transparent;
|
|
375
373
|
}
|
|
376
|
-
.awsui_content-
|
|
374
|
+
.awsui_content-side_1r9lg_1y2ds_353 > .awsui_pane-content-wrapper-side_1r9lg_1y2ds_374:not(#\9) {
|
|
377
375
|
padding-block: 0;
|
|
378
376
|
padding-inline-start: var(--space-panel-side-left-07kpj4, 32px);
|
|
379
377
|
padding-inline-end: var(--space-panel-side-right-b77xx0, 32px);
|
|
380
378
|
margin-block-start: var(--space-panel-split-top-q9gv78, 0px);
|
|
381
379
|
margin-block-end: var(--space-panel-split-bottom-wmd8np, 20px);
|
|
382
380
|
}
|
|
383
|
-
.awsui_content-
|
|
381
|
+
.awsui_content-side_1r9lg_1y2ds_353.awsui_with-toolbar_1r9lg_1y2ds_252 > .awsui_pane-content-wrapper-side_1r9lg_1y2ds_374:not(#\9) {
|
|
384
382
|
margin-block-start: 0px;
|
|
385
383
|
}
|
|
386
384
|
|
|
387
|
-
.
|
|
388
|
-
display: flex;
|
|
389
|
-
flex: auto;
|
|
390
|
-
flex-direction: row;
|
|
391
|
-
align-items: flex-start;
|
|
392
|
-
justify-content: space-between;
|
|
385
|
+
.awsui_header_1r9lg_1y2ds_385:not(#\9) {
|
|
393
386
|
inline-size: 100%;
|
|
394
387
|
margin-block: var(--size-vertical-panel-icon-offset-1tiizm, 15px);
|
|
395
388
|
margin-inline: 0;
|
|
396
389
|
}
|
|
397
|
-
.
|
|
390
|
+
.awsui_header_1r9lg_1y2ds_385.awsui_with-toolbar_1r9lg_1y2ds_252:not(#\9) {
|
|
398
391
|
margin-block: 14px;
|
|
399
392
|
}
|
|
400
|
-
.awsui_header-
|
|
393
|
+
.awsui_header-main-row_1r9lg_1y2ds_393:not(#\9), .awsui_header-main-content_1r9lg_1y2ds_393:not(#\9) {
|
|
394
|
+
display: flex;
|
|
395
|
+
}
|
|
396
|
+
.awsui_header-main-row_1r9lg_1y2ds_393:not(#\9) {
|
|
397
|
+
align-items: flex-start;
|
|
398
|
+
}
|
|
399
|
+
.awsui_header-main-content_1r9lg_1y2ds_393:not(#\9) {
|
|
400
|
+
flex: auto;
|
|
401
|
+
flex-direction: row;
|
|
402
|
+
column-gap: var(--space-scaled-xs-sppte9, 8px);
|
|
403
|
+
row-gap: var(--space-scaled-xxs-jatbiv, 4px);
|
|
404
|
+
justify-content: space-between;
|
|
405
|
+
align-items: flex-start;
|
|
406
|
+
}
|
|
407
|
+
.awsui_header-tag-and-info_1r9lg_1y2ds_407:not(#\9) {
|
|
408
|
+
flex-grow: 1;
|
|
409
|
+
margin-block-start: calc(var(--space-scaled-xxs-jatbiv, 4px) + 1px);
|
|
410
|
+
line-height: var(--line-height-body-s-otgtsr, 16px);
|
|
411
|
+
}
|
|
412
|
+
.awsui_header-tag-and-info_1r9lg_1y2ds_407.awsui_with-description_1r9lg_1y2ds_412:not(#\9) {
|
|
413
|
+
margin-block-end: var(--space-scaled-xxxs-prgw5k, 2px);
|
|
414
|
+
}
|
|
415
|
+
.awsui_header-tag_1r9lg_1y2ds_407.awsui_with-info_1r9lg_1y2ds_415:not(#\9), .awsui_header-text_1r9lg_1y2ds_415:not(#\9) {
|
|
416
|
+
display: inline;
|
|
417
|
+
}
|
|
418
|
+
.awsui_header-tag_1r9lg_1y2ds_407:not(#\9) {
|
|
419
|
+
margin-block: 0;
|
|
420
|
+
}
|
|
421
|
+
.awsui_header-before-slot_1r9lg_1y2ds_421:not(#\9), .awsui_header-text_1r9lg_1y2ds_415:not(#\9) {
|
|
401
422
|
font-size: var(--font-panel-header-size-i1j838, 18px);
|
|
402
423
|
letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
|
|
403
424
|
line-height: var(--font-panel-header-line-height-z3wpa5, 22px);
|
|
404
425
|
font-weight: var(--font-weight-heading-l-zqsb7y, 700);
|
|
405
426
|
-webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
|
|
406
427
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
|
|
407
|
-
|
|
408
|
-
|
|
428
|
+
}
|
|
429
|
+
.awsui_header-before-slot_1r9lg_1y2ds_421:not(#\9) {
|
|
430
|
+
margin-block-start: calc(-1 * calc(var(--space-scaled-xxs-jatbiv, 4px) + 1px));
|
|
431
|
+
}
|
|
432
|
+
.awsui_header-tag_1r9lg_1y2ds_407.awsui_with-info_1r9lg_1y2ds_415 > .awsui_header-before-slot_1r9lg_1y2ds_421:not(#\9), .awsui_header-before-slot_1r9lg_1y2ds_421.awsui_with-header-text_1r9lg_1y2ds_432:not(#\9) {
|
|
433
|
+
display: inline-block;
|
|
434
|
+
}
|
|
435
|
+
.awsui_header-before-slot_1r9lg_1y2ds_421.awsui_with-header-text_1r9lg_1y2ds_432:not(#\9), .awsui_header-tag_1r9lg_1y2ds_407.awsui_with-info_1r9lg_1y2ds_415:not(#\9) {
|
|
436
|
+
margin-inline-end: var(--space-scaled-xs-sppte9, 8px);
|
|
437
|
+
}
|
|
438
|
+
.awsui_header-actions-slot_1r9lg_1y2ds_438:not(#\9) {
|
|
439
|
+
display: flex;
|
|
440
|
+
flex-shrink: 0;
|
|
441
|
+
align-items: center;
|
|
442
|
+
min-block-size: calc(var(--font-panel-header-line-height-z3wpa5, 22px) + 2 * calc(var(--space-scaled-xxs-jatbiv, 4px) + 1px));
|
|
443
|
+
}
|
|
444
|
+
.awsui_header-description_1r9lg_1y2ds_444:not(#\9) {
|
|
445
|
+
color: var(--color-text-heading-secondary-26seqv, #545b64);
|
|
446
|
+
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
447
|
+
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
409
448
|
margin-block: 0;
|
|
410
|
-
margin-inline: 0;
|
|
411
|
-
margin-block-start: calc(var(--space-scaled-xxs-jatbiv, 4px) + 1px);
|
|
412
449
|
}
|
|
413
450
|
|
|
414
|
-
.awsui_header-
|
|
451
|
+
.awsui_header-buttons_1r9lg_1y2ds_451:not(#\9) {
|
|
415
452
|
display: flex;
|
|
416
453
|
flex-direction: row;
|
|
417
454
|
justify-content: space-between;
|
|
@@ -419,7 +456,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
419
456
|
margin-inline-start: var(--space-xs-kw7k3v, 8px);
|
|
420
457
|
}
|
|
421
458
|
|
|
422
|
-
.
|
|
459
|
+
.awsui_divider_1r9lg_1y2ds_459:not(#\9) {
|
|
423
460
|
border-inline-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
|
|
424
461
|
margin-block: var(--space-scaled-xxs-jatbiv, 4px);
|
|
425
462
|
margin-inline: var(--space-scaled-xs-sppte9, 8px);
|
|
@@ -2,32 +2,43 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"drawer": "
|
|
6
|
-
"drawer-closed": "awsui_drawer-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"drawer-content-side": "awsui_drawer-content-
|
|
9
|
-
"drawer-content-bottom": "awsui_drawer-content-
|
|
10
|
-
"position-bottom": "awsui_position-
|
|
11
|
-
"hidden": "
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"slider-wrapper-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"drawer-
|
|
20
|
-
"content-
|
|
21
|
-
"
|
|
22
|
-
"pane-bottom-
|
|
23
|
-
"pane-bottom-content-
|
|
24
|
-
"
|
|
25
|
-
"content-
|
|
26
|
-
"
|
|
27
|
-
"pane-
|
|
28
|
-
"
|
|
29
|
-
"header
|
|
30
|
-
"header-
|
|
31
|
-
"
|
|
5
|
+
"drawer": "awsui_drawer_1r9lg_1y2ds_153",
|
|
6
|
+
"drawer-closed": "awsui_drawer-closed_1r9lg_1y2ds_190",
|
|
7
|
+
"refresh": "awsui_refresh_1r9lg_1y2ds_190",
|
|
8
|
+
"drawer-content-side": "awsui_drawer-content-side_1r9lg_1y2ds_194",
|
|
9
|
+
"drawer-content-bottom": "awsui_drawer-content-bottom_1r9lg_1y2ds_210",
|
|
10
|
+
"position-bottom": "awsui_position-bottom_1r9lg_1y2ds_217",
|
|
11
|
+
"hidden": "awsui_hidden_1r9lg_1y2ds_225",
|
|
12
|
+
"drawer-clickable": "awsui_drawer-clickable_1r9lg_1y2ds_236",
|
|
13
|
+
"position-side": "awsui_position-side_1r9lg_1y2ds_247",
|
|
14
|
+
"with-toolbar": "awsui_with-toolbar_1r9lg_1y2ds_252",
|
|
15
|
+
"slider-wrapper-bottom": "awsui_slider-wrapper-bottom_1r9lg_1y2ds_256",
|
|
16
|
+
"slider-wrapper-side": "awsui_slider-wrapper-side_1r9lg_1y2ds_267",
|
|
17
|
+
"open-button-side": "awsui_open-button-side_1r9lg_1y2ds_281",
|
|
18
|
+
"pane-header-wrapper-bottom": "awsui_pane-header-wrapper-bottom_1r9lg_1y2ds_290",
|
|
19
|
+
"drawer-mobile": "awsui_drawer-mobile_1r9lg_1y2ds_300",
|
|
20
|
+
"drawer-disable-content-paddings": "awsui_drawer-disable-content-paddings_1r9lg_1y2ds_304",
|
|
21
|
+
"content-bottom": "awsui_content-bottom_1r9lg_1y2ds_316",
|
|
22
|
+
"pane-bottom-center-align": "awsui_pane-bottom-center-align_1r9lg_1y2ds_335",
|
|
23
|
+
"pane-bottom-content-nav-padding": "awsui_pane-bottom-content-nav-padding_1r9lg_1y2ds_340",
|
|
24
|
+
"pane-bottom-content-tools-padding": "awsui_pane-bottom-content-tools-padding_1r9lg_1y2ds_344",
|
|
25
|
+
"content-bottom-max-width": "awsui_content-bottom-max-width_1r9lg_1y2ds_348",
|
|
26
|
+
"content-side": "awsui_content-side_1r9lg_1y2ds_353",
|
|
27
|
+
"pane-header-wrapper-side": "awsui_pane-header-wrapper-side_1r9lg_1y2ds_365",
|
|
28
|
+
"pane-content-wrapper-side": "awsui_pane-content-wrapper-side_1r9lg_1y2ds_374",
|
|
29
|
+
"header": "awsui_header_1r9lg_1y2ds_385",
|
|
30
|
+
"header-main-row": "awsui_header-main-row_1r9lg_1y2ds_393",
|
|
31
|
+
"header-main-content": "awsui_header-main-content_1r9lg_1y2ds_393",
|
|
32
|
+
"header-tag-and-info": "awsui_header-tag-and-info_1r9lg_1y2ds_407",
|
|
33
|
+
"with-description": "awsui_with-description_1r9lg_1y2ds_412",
|
|
34
|
+
"header-tag": "awsui_header-tag_1r9lg_1y2ds_407",
|
|
35
|
+
"with-info": "awsui_with-info_1r9lg_1y2ds_415",
|
|
36
|
+
"header-text": "awsui_header-text_1r9lg_1y2ds_415",
|
|
37
|
+
"header-before-slot": "awsui_header-before-slot_1r9lg_1y2ds_421",
|
|
38
|
+
"with-header-text": "awsui_with-header-text_1r9lg_1y2ds_432",
|
|
39
|
+
"header-actions-slot": "awsui_header-actions-slot_1r9lg_1y2ds_438",
|
|
40
|
+
"header-description": "awsui_header-description_1r9lg_1y2ds_444",
|
|
41
|
+
"header-buttons": "awsui_header-buttons_1r9lg_1y2ds_451",
|
|
42
|
+
"divider": "awsui_divider_1r9lg_1y2ds_459"
|
|
32
43
|
};
|
|
33
44
|
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"header-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"open-
|
|
11
|
-
"
|
|
4
|
+
"root": "awsui_root_rjqu5_1kbym_5",
|
|
5
|
+
"header-actions": "awsui_header-actions_rjqu5_1kbym_6",
|
|
6
|
+
"header-before": "awsui_header-before_rjqu5_1kbym_7",
|
|
7
|
+
"header-description": "awsui_header-description_rjqu5_1kbym_8",
|
|
8
|
+
"header-info": "awsui_header-info_rjqu5_1kbym_9",
|
|
9
|
+
"header-text": "awsui_header-text_rjqu5_1kbym_10",
|
|
10
|
+
"open-button": "awsui_open-button_rjqu5_1kbym_11",
|
|
11
|
+
"close-button": "awsui_close-button_rjqu5_1kbym_12",
|
|
12
|
+
"preferences-button": "awsui_preferences-button_rjqu5_1kbym_13",
|
|
13
|
+
"slider": "awsui_slider_rjqu5_1kbym_14",
|
|
14
|
+
"open-position-bottom": "awsui_open-position-bottom_rjqu5_1kbym_15",
|
|
15
|
+
"open-position-side": "awsui_open-position-side_rjqu5_1kbym_16"
|
|
12
16
|
};
|
|
13
17
|
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
.
|
|
6
|
-
.awsui_header-
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.awsui_open-
|
|
12
|
-
.
|
|
5
|
+
.awsui_root_rjqu5_1kbym_5:not(#\9),
|
|
6
|
+
.awsui_header-actions_rjqu5_1kbym_6:not(#\9),
|
|
7
|
+
.awsui_header-before_rjqu5_1kbym_7:not(#\9),
|
|
8
|
+
.awsui_header-description_rjqu5_1kbym_8:not(#\9),
|
|
9
|
+
.awsui_header-info_rjqu5_1kbym_9:not(#\9),
|
|
10
|
+
.awsui_header-text_rjqu5_1kbym_10:not(#\9),
|
|
11
|
+
.awsui_open-button_rjqu5_1kbym_11:not(#\9),
|
|
12
|
+
.awsui_close-button_rjqu5_1kbym_12:not(#\9),
|
|
13
|
+
.awsui_preferences-button_rjqu5_1kbym_13:not(#\9),
|
|
14
|
+
.awsui_slider_rjqu5_1kbym_14:not(#\9),
|
|
15
|
+
.awsui_open-position-bottom_rjqu5_1kbym_15:not(#\9),
|
|
16
|
+
.awsui_open-position-side_rjqu5_1kbym_16:not(#\9) {
|
|
13
17
|
/* used in test-utils */
|
|
14
18
|
}
|