@cloudscape-design/components 3.0.619 → 3.0.620
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/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/classic.d.ts.map +1 -1
- package/app-layout/classic.js +5 -16
- package/app-layout/classic.js.map +1 -1
- package/app-layout/content-wrapper/index.d.ts +1 -0
- package/app-layout/content-wrapper/index.d.ts.map +1 -1
- package/app-layout/content-wrapper/index.js +3 -3
- package/app-layout/content-wrapper/index.js.map +1 -1
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/utils/sticky-offsets.d.ts +4 -0
- package/app-layout/utils/sticky-offsets.d.ts.map +1 -0
- package/app-layout/utils/sticky-offsets.js +10 -0
- package/app-layout/utils/sticky-offsets.js.map +1 -0
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +1 -5
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/main.d.ts.map +1 -1
- package/app-layout/visual-refresh/main.js +6 -4
- package/app-layout/visual-refresh/main.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +81 -81
- package/app-layout/visual-refresh/styles.scoped.css +258 -294
- package/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/container/use-sticky-header.d.ts +1 -5
- package/container/use-sticky-header.d.ts.map +1 -1
- package/container/use-sticky-header.js +7 -34
- package/container/use-sticky-header.js.map +1 -1
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/header/internal.d.ts.map +1 -1
- package/header/internal.js +3 -1
- package/header/internal.js.map +1 -1
- package/header/styles.css.js +35 -34
- package/header/styles.scoped.css +55 -52
- package/header/styles.selectors.js +35 -34
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/context/app-layout-context.d.ts +0 -3
- package/internal/context/app-layout-context.d.ts.map +1 -1
- package/internal/context/app-layout-context.js +1 -5
- package/internal/context/app-layout-context.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +43 -44
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/styles/global-vars.d.ts +6 -0
- package/internal/styles/global-vars.d.ts.map +1 -0
- package/internal/styles/global-vars.js +8 -0
- package/internal/styles/global-vars.js.map +1 -0
- package/mixed-line-bar-chart/bar-series.d.ts +3 -3
- package/mixed-line-bar-chart/bar-series.d.ts.map +1 -1
- package/mixed-line-bar-chart/bar-series.js +61 -17
- package/mixed-line-bar-chart/bar-series.js.map +1 -1
- package/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts +7 -0
- package/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts.map +1 -0
- package/mixed-line-bar-chart/create-one-side-rounded-rect-path.js +33 -0
- package/mixed-line-bar-chart/create-one-side-rounded-rect-path.js.map +1 -0
- package/mixed-line-bar-chart/data-series.d.ts.map +1 -1
- package/mixed-line-bar-chart/data-series.js +5 -5
- package/mixed-line-bar-chart/data-series.js.map +1 -1
- package/mixed-line-bar-chart/utils.d.ts +2 -9
- package/mixed-line-bar-chart/utils.d.ts.map +1 -1
- package/mixed-line-bar-chart/utils.js +19 -26
- package/mixed-line-bar-chart/utils.js.map +1 -1
- package/package.json +1 -1
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +7 -7
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/interfaces.d.ts +1 -0
- package/split-panel/interfaces.d.ts.map +1 -1
- package/split-panel/interfaces.js.map +1 -1
- package/split-panel/side.d.ts +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +2 -5
- package/split-panel/side.js.map +1 -1
- package/table/sticky-scrollbar/sticky-scrollbar.d.ts.map +1 -1
- package/table/sticky-scrollbar/sticky-scrollbar.js +1 -7
- package/table/sticky-scrollbar/sticky-scrollbar.js.map +1 -1
- package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts +2 -2
- package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -1
- package/table/sticky-scrollbar/use-sticky-scrollbar.js +12 -30
- package/table/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -1
- package/theming/index.d.ts +5 -0
- package/theming/index.d.ts.map +1 -1
- package/theming/index.js +8 -1
- package/theming/index.js.map +1 -1
|
@@ -2,52 +2,52 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"flash-with-motion": "awsui_flash-with-
|
|
6
|
-
"enter": "
|
|
7
|
-
"flash-body": "awsui_flash-
|
|
8
|
-
"flash-message": "awsui_flash-
|
|
9
|
-
"flash-header": "awsui_flash-
|
|
10
|
-
"flash-content": "awsui_flash-
|
|
11
|
-
"action-button-wrapper": "awsui_action-button-
|
|
12
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
13
|
-
"flash-icon": "awsui_flash-
|
|
14
|
-
"entering": "
|
|
15
|
-
"entered": "
|
|
16
|
-
"exiting": "
|
|
17
|
-
"stack": "
|
|
18
|
-
"animation-running": "awsui_animation-
|
|
19
|
-
"item": "
|
|
20
|
-
"flash-list-item": "awsui_flash-list-
|
|
21
|
-
"notification-bar": "awsui_notification-
|
|
22
|
-
"collapsed": "
|
|
23
|
-
"animation-ready": "awsui_animation-
|
|
24
|
-
"expanded-only": "awsui_expanded-
|
|
25
|
-
"expanded": "
|
|
26
|
-
"flash": "
|
|
27
|
-
"collapsible": "
|
|
28
|
-
"short-list": "awsui_short-
|
|
29
|
-
"visual-refresh": "awsui_visual-
|
|
30
|
-
"status": "
|
|
31
|
-
"header": "
|
|
32
|
-
"item-count": "awsui_item-
|
|
33
|
-
"button": "
|
|
34
|
-
"type-count": "awsui_type-
|
|
35
|
-
"count-number": "awsui_count-
|
|
36
|
-
"icon": "
|
|
37
|
-
"floating": "
|
|
38
|
-
"flashbar": "
|
|
39
|
-
"flash-refresh": "awsui_flash-
|
|
40
|
-
"flash-list": "awsui_flash-
|
|
41
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
42
|
-
"flash-text": "awsui_flash-
|
|
43
|
-
"dismiss-button": "awsui_dismiss-
|
|
44
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
45
|
-
"action-button": "awsui_action-
|
|
46
|
-
"action-slot": "awsui_action-
|
|
47
|
-
"flash-type-success": "awsui_flash-type-
|
|
48
|
-
"flash-type-error": "awsui_flash-type-
|
|
49
|
-
"flash-type-info": "awsui_flash-type-
|
|
50
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
51
|
-
"flash-type-warning": "awsui_flash-type-
|
|
5
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_sj5ey_99",
|
|
6
|
+
"enter": "awsui_enter_1q84n_sj5ey_99",
|
|
7
|
+
"flash-body": "awsui_flash-body_1q84n_sj5ey_113",
|
|
8
|
+
"flash-message": "awsui_flash-message_1q84n_sj5ey_113",
|
|
9
|
+
"flash-header": "awsui_flash-header_1q84n_sj5ey_113",
|
|
10
|
+
"flash-content": "awsui_flash-content_1q84n_sj5ey_114",
|
|
11
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_sj5ey_115",
|
|
12
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_sj5ey_116",
|
|
13
|
+
"flash-icon": "awsui_flash-icon_1q84n_sj5ey_139",
|
|
14
|
+
"entering": "awsui_entering_1q84n_sj5ey_152",
|
|
15
|
+
"entered": "awsui_entered_1q84n_sj5ey_173",
|
|
16
|
+
"exiting": "awsui_exiting_1q84n_sj5ey_278",
|
|
17
|
+
"stack": "awsui_stack_1q84n_sj5ey_300",
|
|
18
|
+
"animation-running": "awsui_animation-running_1q84n_sj5ey_300",
|
|
19
|
+
"item": "awsui_item_1q84n_sj5ey_300",
|
|
20
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_sj5ey_301",
|
|
21
|
+
"notification-bar": "awsui_notification-bar_1q84n_sj5ey_302",
|
|
22
|
+
"collapsed": "awsui_collapsed_1q84n_sj5ey_322",
|
|
23
|
+
"animation-ready": "awsui_animation-ready_1q84n_sj5ey_322",
|
|
24
|
+
"expanded-only": "awsui_expanded-only_1q84n_sj5ey_322",
|
|
25
|
+
"expanded": "awsui_expanded_1q84n_sj5ey_322",
|
|
26
|
+
"flash": "awsui_flash_1q84n_sj5ey_99",
|
|
27
|
+
"collapsible": "awsui_collapsible_1q84n_sj5ey_386",
|
|
28
|
+
"short-list": "awsui_short-list_1q84n_sj5ey_392",
|
|
29
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_sj5ey_392",
|
|
30
|
+
"status": "awsui_status_1q84n_sj5ey_605",
|
|
31
|
+
"header": "awsui_header_1q84n_sj5ey_605",
|
|
32
|
+
"item-count": "awsui_item-count_1q84n_sj5ey_606",
|
|
33
|
+
"button": "awsui_button_1q84n_sj5ey_607",
|
|
34
|
+
"type-count": "awsui_type-count_1q84n_sj5ey_640",
|
|
35
|
+
"count-number": "awsui_count-number_1q84n_sj5ey_640",
|
|
36
|
+
"icon": "awsui_icon_1q84n_sj5ey_674",
|
|
37
|
+
"floating": "awsui_floating_1q84n_sj5ey_715",
|
|
38
|
+
"flashbar": "awsui_flashbar_1q84n_sj5ey_723",
|
|
39
|
+
"flash-refresh": "awsui_flash-refresh_1q84n_sj5ey_798",
|
|
40
|
+
"flash-list": "awsui_flash-list_1q84n_sj5ey_301",
|
|
41
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_sj5ey_819",
|
|
42
|
+
"flash-text": "awsui_flash-text_1q84n_sj5ey_849",
|
|
43
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_sj5ey_116",
|
|
44
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_sj5ey_891",
|
|
45
|
+
"action-button": "awsui_action-button_1q84n_sj5ey_115",
|
|
46
|
+
"action-slot": "awsui_action-slot_1q84n_sj5ey_901",
|
|
47
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_sj5ey_905",
|
|
48
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_sj5ey_909",
|
|
49
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_sj5ey_913",
|
|
50
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_sj5ey_914",
|
|
51
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_sj5ey_918"
|
|
52
52
|
};
|
|
53
53
|
|
package/header/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AASjD,UAAU,mBAAoB,SAAQ,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,0BAA0B;IACpG,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,IAAI,EACJ,iBAAwB,EACxB,wBAAwB,EACxB,GAAG,SAAS,EACb,EAAE,mBAAmB,eA0ErB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,sBAgBhH"}
|
package/header/internal.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CollectionLabelContext } from '../internal/context/collection-label-con
|
|
|
13
13
|
import { useUniqueId } from '../internal/hooks/use-unique-id';
|
|
14
14
|
import { DATA_ATTR_FUNNEL_KEY, FUNNEL_KEY_SUBSTEP_NAME } from '../internal/analytics/selectors';
|
|
15
15
|
import { useContainerHeader } from '../internal/context/container-header';
|
|
16
|
+
import { getGlobalFlag } from '../internal/utils/global-flags';
|
|
16
17
|
export default function InternalHeader(_a) {
|
|
17
18
|
var { variant, headingTagOverride, children, actions, counter, description, info, __internalRootRef = null, __disableActionsWrapping } = _a, restProps = __rest(_a, ["variant", "headingTagOverride", "children", "actions", "counter", "description", "info", "__internalRootRef", "__disableActionsWrapping"]);
|
|
18
19
|
const isMobile = useMobile();
|
|
@@ -29,7 +30,8 @@ export default function InternalHeader(_a) {
|
|
|
29
30
|
// If is mobile there is no need to have the dynamic variant because it's scrolled out of view
|
|
30
31
|
const dynamicVariant = !isMobile && isStuck ? 'h2' : 'h1';
|
|
31
32
|
const variantOverride = variant === 'awsui-h1-sticky' ? (isRefresh ? dynamicVariant : 'h2') : variant;
|
|
32
|
-
|
|
33
|
+
const hasToolbarHeader = getGlobalFlag('appLayoutWidget');
|
|
34
|
+
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(styles.root, baseProps.className, styles[`root-variant-${variantOverride}`], isRefresh && styles.refresh, hasToolbarHeader && styles['root-with-toolbar'], !actions && [styles[`root-no-actions`]], description && [styles[`root-has-description`]]), ref: __internalRootRef }),
|
|
33
35
|
React.createElement("div", { className: clsx(styles.main, styles[`main-variant-${variantOverride}`], isRefresh && styles.refresh, __disableActionsWrapping && [styles['no-wrap']]) },
|
|
34
36
|
React.createElement("div", { className: clsx(styles.title, styles[`title-variant-${variantOverride}`], isRefresh && styles.refresh) },
|
|
35
37
|
React.createElement(HeadingTag, { className: clsx(styles.heading, styles[`heading-variant-${variantOverride}`]) },
|
package/header/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/header/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"intern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AAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,eAAe,EAA0D;IAC/G,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,CACL,CAAC,QAAQ,IAAI,CACX,2BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,WAAW,EAClB,MAAM,CAAC,uBAAuB,eAAe,EAAE,CAAC,EAChD,SAAS,IAAI,MAAM,CAAC,OAAO,CAC5B,IAEA,QAAQ,CACP,CACL,CAAC;QACF,IAAI,CACL,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useContext } from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { StickyHeaderContext } from '../container/use-sticky-header';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { HeaderProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { SomeRequired } from '../internal/types';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { InfoLinkLabelContext } from '../internal/context/info-link-label-context';\nimport { CollectionLabelContext } from '../internal/context/collection-label-context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { DATA_ATTR_FUNNEL_KEY, FUNNEL_KEY_SUBSTEP_NAME } from '../internal/analytics/selectors';\nimport { useContainerHeader } from '../internal/context/container-header';\nimport { getGlobalFlag } from '../internal/utils/global-flags';\n\ninterface InternalHeaderProps extends SomeRequired<HeaderProps, 'variant'>, InternalBaseComponentProps {\n __disableActionsWrapping?: boolean;\n}\n\nexport default function InternalHeader({\n variant,\n headingTagOverride,\n children,\n actions,\n counter,\n description,\n info,\n __internalRootRef = null,\n __disableActionsWrapping,\n ...restProps\n}: InternalHeaderProps) {\n const isMobile = useMobile();\n const HeadingTag = headingTagOverride ?? (variant === 'awsui-h1-sticky' ? 'h1' : variant);\n const { isStuck } = useContext(StickyHeaderContext);\n const baseProps = getBaseProps(restProps);\n const isRefresh = useVisualRefresh();\n const assignHeaderId = useContext(CollectionLabelContext).assignId;\n const isInContainer = useContainerHeader();\n const headingId = useUniqueId('heading');\n if (assignHeaderId !== undefined) {\n assignHeaderId(headingId);\n }\n // If is mobile there is no need to have the dynamic variant because it's scrolled out of view\n const dynamicVariant = !isMobile && isStuck ? 'h2' : 'h1';\n const variantOverride = variant === 'awsui-h1-sticky' ? (isRefresh ? dynamicVariant : 'h2') : variant;\n const hasToolbarHeader = getGlobalFlag('appLayoutWidget');\n\n return (\n <div\n {...baseProps}\n className={clsx(\n styles.root,\n baseProps.className,\n styles[`root-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n hasToolbarHeader && styles['root-with-toolbar'],\n !actions && [styles[`root-no-actions`]],\n description && [styles[`root-has-description`]]\n )}\n ref={__internalRootRef}\n >\n <div\n className={clsx(\n styles.main,\n styles[`main-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n __disableActionsWrapping && [styles['no-wrap']]\n )}\n >\n <div className={clsx(styles.title, styles[`title-variant-${variantOverride}`], isRefresh && styles.refresh)}>\n <HeadingTag className={clsx(styles.heading, styles[`heading-variant-${variantOverride}`])}>\n <span\n {...(isInContainer ? { [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_SUBSTEP_NAME } : {})}\n className={clsx(styles['heading-text'], styles[`heading-text-variant-${variantOverride}`])}\n id={headingId}\n >\n {children}\n </span>\n {counter !== undefined && <span className={styles.counter}> {counter}</span>}\n </HeadingTag>\n {info && (\n <InfoLinkLabelContext.Provider value={headingId}>\n {/* Exists to create a space between heading text and info so that a double-click selection on the last word of the heading doesn't also include info */}\n <span className={styles['virtual-space']}> </span>\n <span className={styles.info}>{info}</span>\n </InfoLinkLabelContext.Provider>\n )}\n </div>\n {actions && (\n <div\n className={clsx(\n styles.actions,\n styles[`actions-variant-${variantOverride}`],\n isRefresh && styles.refresh,\n !__disableActionsWrapping && [styles['actions-centered']]\n )}\n >\n {actions}\n </div>\n )}\n </div>\n <Description variantOverride={variantOverride}>{description}</Description>\n </div>\n );\n}\n\nexport function Description({ children, variantOverride }: { children: React.ReactNode; variantOverride: string }) {\n const isRefresh = useVisualRefresh();\n return (\n (children && (\n <p\n className={clsx(\n styles.description,\n styles[`description-variant-${variantOverride}`],\n isRefresh && styles.refresh\n )}\n >\n {children}\n </p>\n )) ||\n null\n );\n}\n"]}
|
package/header/styles.css.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"root-
|
|
8
|
-
"root-variant-
|
|
9
|
-
"root-
|
|
10
|
-
"root-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"actions
|
|
16
|
-
"actions-
|
|
17
|
-
"actions-variant-
|
|
18
|
-
"actions-variant-
|
|
19
|
-
"
|
|
20
|
-
"title
|
|
21
|
-
"title-variant-
|
|
22
|
-
"title-variant-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"description
|
|
27
|
-
"description-variant-
|
|
28
|
-
"description-variant-
|
|
29
|
-
"
|
|
30
|
-
"heading
|
|
31
|
-
"heading-variant-
|
|
32
|
-
"heading-variant-
|
|
33
|
-
"heading-
|
|
34
|
-
"heading-text
|
|
35
|
-
"heading-text-variant-
|
|
36
|
-
"heading-text-variant-
|
|
37
|
-
"
|
|
4
|
+
"root": "awsui_root_2qdw9_jcalo_99",
|
|
5
|
+
"root-with-toolbar": "awsui_root-with-toolbar_2qdw9_jcalo_138",
|
|
6
|
+
"refresh": "awsui_refresh_2qdw9_jcalo_141",
|
|
7
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_jcalo_141",
|
|
8
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_jcalo_144",
|
|
9
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_jcalo_144",
|
|
10
|
+
"root-has-description": "awsui_root-has-description_2qdw9_jcalo_144",
|
|
11
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_jcalo_153",
|
|
12
|
+
"main": "awsui_main_2qdw9_jcalo_163",
|
|
13
|
+
"no-wrap": "awsui_no-wrap_2qdw9_jcalo_173",
|
|
14
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_jcalo_179",
|
|
15
|
+
"actions": "awsui_actions_2qdw9_jcalo_187",
|
|
16
|
+
"actions-centered": "awsui_actions-centered_2qdw9_jcalo_192",
|
|
17
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_jcalo_195",
|
|
18
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_jcalo_199",
|
|
19
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_jcalo_203",
|
|
20
|
+
"title": "awsui_title_2qdw9_jcalo_219",
|
|
21
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_jcalo_224",
|
|
22
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_jcalo_231",
|
|
23
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_jcalo_237",
|
|
24
|
+
"virtual-space": "awsui_virtual-space_2qdw9_jcalo_262",
|
|
25
|
+
"info": "awsui_info_2qdw9_jcalo_268",
|
|
26
|
+
"description": "awsui_description_2qdw9_jcalo_272",
|
|
27
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_jcalo_279",
|
|
28
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_jcalo_283",
|
|
29
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_jcalo_290",
|
|
30
|
+
"heading": "awsui_heading_2qdw9_jcalo_299",
|
|
31
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_jcalo_310",
|
|
32
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_jcalo_315",
|
|
33
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_jcalo_320",
|
|
34
|
+
"heading-text": "awsui_heading-text_2qdw9_jcalo_330",
|
|
35
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_jcalo_333",
|
|
36
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_jcalo_341",
|
|
37
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_jcalo_349",
|
|
38
|
+
"counter": "awsui_counter_2qdw9_jcalo_358"
|
|
38
39
|
};
|
|
39
40
|
|
package/header/styles.scoped.css
CHANGED
|
@@ -96,7 +96,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.
|
|
99
|
+
.awsui_root_2qdw9_jcalo_99:not(#\9) {
|
|
100
100
|
border-collapse: separate;
|
|
101
101
|
border-spacing: 0;
|
|
102
102
|
box-sizing: border-box;
|
|
@@ -136,29 +136,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
136
136
|
flex-wrap: wrap;
|
|
137
137
|
justify-content: space-between;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
.awsui_root-with-toolbar_2qdw9_jcalo_138:not(#\9) {
|
|
140
|
+
padding-block-start: var(--space-scaled-s-aqzyko, 12px);
|
|
141
|
+
}
|
|
142
|
+
.awsui_root_2qdw9_jcalo_99.awsui_refresh_2qdw9_jcalo_141:not(#\9), .awsui_root_2qdw9_jcalo_99:not(#\9):not(.awsui_root-no-actions_2qdw9_jcalo_141) {
|
|
140
143
|
row-gap: var(--space-scaled-xxs-7597g1, 4px);
|
|
141
144
|
}
|
|
142
|
-
.awsui_root-no-
|
|
145
|
+
.awsui_root-no-actions_2qdw9_jcalo_141.awsui_root-variant-h2_2qdw9_jcalo_144:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141), .awsui_root-no-actions_2qdw9_jcalo_141.awsui_root-variant-h3_2qdw9_jcalo_144:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141), .awsui_root-has-description_2qdw9_jcalo_144.awsui_root-variant-h2_2qdw9_jcalo_144:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141), .awsui_root-has-description_2qdw9_jcalo_144.awsui_root-variant-h3_2qdw9_jcalo_144:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
143
146
|
padding-block-end: var(--space-scaled-xxs-7597g1, 4px);
|
|
144
147
|
}
|
|
145
|
-
.awsui_root-no-
|
|
148
|
+
.awsui_root-no-actions_2qdw9_jcalo_141:not(#\9):not(.awsui_root-has-description_2qdw9_jcalo_144):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
146
149
|
padding-block-end: calc(var(--space-scaled-xs-26e2du, 8px) + var(--space-xxxs-zbmxqb, 2px));
|
|
147
150
|
}
|
|
148
|
-
.awsui_root-no-
|
|
151
|
+
.awsui_root-no-actions_2qdw9_jcalo_141.awsui_refresh_2qdw9_jcalo_141.awsui_root-variant-h2_2qdw9_jcalo_144:not(#\9), .awsui_root-no-actions_2qdw9_jcalo_141.awsui_refresh_2qdw9_jcalo_141.awsui_root-variant-h3_2qdw9_jcalo_144:not(#\9) {
|
|
149
152
|
row-gap: var(--space-scaled-xxxs-27y4hv, 2px);
|
|
150
153
|
}
|
|
151
|
-
.
|
|
154
|
+
.awsui_root_2qdw9_jcalo_99.awsui_root-variant-h1_2qdw9_jcalo_153:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
152
155
|
row-gap: var(--space-scaled-xxs-7597g1, 4px);
|
|
153
156
|
}
|
|
154
|
-
.awsui_root-no-
|
|
157
|
+
.awsui_root-no-actions_2qdw9_jcalo_141:not(#\9):not(.awsui_root-has-description_2qdw9_jcalo_144).awsui_refresh_2qdw9_jcalo_141.awsui_root-variant-h3_2qdw9_jcalo_144 {
|
|
155
158
|
padding-block-end: var(--space-scaled-xs-26e2du, 8px);
|
|
156
159
|
}
|
|
157
|
-
.
|
|
160
|
+
.awsui_root_2qdw9_jcalo_99.awsui_root-variant-h1_2qdw9_jcalo_153.awsui_root-has-description_2qdw9_jcalo_144:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
158
161
|
padding-block-end: var(--space-scaled-2x-xxs-7v8ivz, 4px);
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
.
|
|
164
|
+
.awsui_main_2qdw9_jcalo_163:not(#\9) {
|
|
162
165
|
word-wrap: break-word;
|
|
163
166
|
max-inline-size: 100%;
|
|
164
167
|
display: flex;
|
|
@@ -168,167 +171,167 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
168
171
|
column-gap: var(--space-xs-zb16t3, 8px);
|
|
169
172
|
row-gap: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxxs-27y4hv, 2px));
|
|
170
173
|
}
|
|
171
|
-
.
|
|
174
|
+
.awsui_main_2qdw9_jcalo_163.awsui_no-wrap_2qdw9_jcalo_173:not(#\9) {
|
|
172
175
|
flex-wrap: nowrap;
|
|
173
176
|
}
|
|
174
|
-
.
|
|
177
|
+
.awsui_main_2qdw9_jcalo_163.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
175
178
|
row-gap: var(--space-xxs-p8yyaw, 4px);
|
|
176
179
|
}
|
|
177
|
-
.awsui_main-variant-
|
|
180
|
+
.awsui_main-variant-h1_2qdw9_jcalo_179:not(#\9) {
|
|
178
181
|
row-gap: var(--space-scaled-2x-xxs-7v8ivz, 4px);
|
|
179
182
|
}
|
|
180
183
|
|
|
181
|
-
.awsui_root-has-
|
|
184
|
+
.awsui_root-has-description_2qdw9_jcalo_144 > .awsui_main_2qdw9_jcalo_163:not(#\9) {
|
|
182
185
|
row-gap: var(--space-scaled-2x-xxs-7v8ivz, 4px);
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
.
|
|
188
|
+
.awsui_actions_2qdw9_jcalo_187:not(#\9) {
|
|
186
189
|
display: flex;
|
|
187
190
|
align-items: flex-start;
|
|
188
191
|
min-block-size: var(--size-vertical-input-v5iwwf, 32px);
|
|
189
192
|
}
|
|
190
|
-
.awsui_actions-
|
|
193
|
+
.awsui_actions-centered_2qdw9_jcalo_192:not(#\9) {
|
|
191
194
|
align-items: center;
|
|
192
195
|
}
|
|
193
|
-
.awsui_actions-variant-
|
|
196
|
+
.awsui_actions-variant-h1_2qdw9_jcalo_195.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
194
197
|
padding-block: calc((var(--line-height-heading-xl-avbttk, 30px) - var(--size-vertical-input-v5iwwf, 32px)) / 2);
|
|
195
198
|
padding-inline: 0;
|
|
196
199
|
}
|
|
197
|
-
.awsui_actions-variant-
|
|
200
|
+
.awsui_actions-variant-h2_2qdw9_jcalo_199.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
198
201
|
padding-block: calc((var(--line-height-heading-l-mmm3my, 24px) - var(--size-vertical-input-v5iwwf, 32px)) / 2);
|
|
199
202
|
padding-inline: 0;
|
|
200
203
|
}
|
|
201
|
-
.awsui_actions-variant-
|
|
204
|
+
.awsui_actions-variant-h3_2qdw9_jcalo_203.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
202
205
|
padding-block: calc((var(--line-height-heading-m-50evfk, 22px) - var(--size-vertical-input-v5iwwf, 32px)) / 2);
|
|
203
206
|
padding-inline: 0;
|
|
204
207
|
}
|
|
205
|
-
.awsui_actions-variant-
|
|
208
|
+
.awsui_actions-variant-h1_2qdw9_jcalo_195:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
206
209
|
padding-block: var(--space-scaled-xs-26e2du, 8px);
|
|
207
210
|
padding-inline: 0;
|
|
208
211
|
}
|
|
209
|
-
.awsui_actions-variant-
|
|
212
|
+
.awsui_actions-variant-h2_2qdw9_jcalo_199:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141), .awsui_actions-variant-h3_2qdw9_jcalo_203:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
210
213
|
padding-block: var(--space-scaled-xxs-7597g1, 4px);
|
|
211
214
|
padding-inline: 0;
|
|
212
215
|
}
|
|
213
|
-
.awsui_root-has-
|
|
216
|
+
.awsui_root-has-description_2qdw9_jcalo_144 > .awsui_main_2qdw9_jcalo_163 > .awsui_actions_2qdw9_jcalo_187:not(#\9) {
|
|
214
217
|
padding-block-end: 0;
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
.
|
|
220
|
+
.awsui_title_2qdw9_jcalo_219:not(#\9) {
|
|
218
221
|
min-inline-size: 0;
|
|
219
222
|
word-break: break-word;
|
|
220
223
|
color: var(--color-text-heading-default-lstrpn, #000716);
|
|
221
224
|
}
|
|
222
|
-
.awsui_title-variant-
|
|
225
|
+
.awsui_title-variant-h1_2qdw9_jcalo_224:not(#\9) {
|
|
223
226
|
font-size: var(--font-size-heading-xl-ypc05a, 24px);
|
|
224
227
|
padding-block-start: var(--space-scaled-2x-xxs-7v8ivz, 4px);
|
|
225
228
|
}
|
|
226
|
-
.awsui_title-variant-
|
|
229
|
+
.awsui_title-variant-h1_2qdw9_jcalo_224.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
227
230
|
padding-block-start: calc((var(--size-vertical-input-v5iwwf, 32px) - var(--line-height-heading-xl-avbttk, 30px)) / 2);
|
|
228
231
|
}
|
|
229
|
-
.awsui_title-variant-
|
|
232
|
+
.awsui_title-variant-h2_2qdw9_jcalo_231:not(#\9) {
|
|
230
233
|
font-size: var(--font-size-heading-l-ou0d0l, 20px);
|
|
231
234
|
}
|
|
232
|
-
.awsui_title-variant-
|
|
235
|
+
.awsui_title-variant-h2_2qdw9_jcalo_231.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
233
236
|
padding-block-start: calc((var(--size-vertical-input-v5iwwf, 32px) - var(--line-height-heading-l-mmm3my, 24px)) / 2);
|
|
234
237
|
}
|
|
235
|
-
.awsui_title-variant-
|
|
238
|
+
.awsui_title-variant-h3_2qdw9_jcalo_237:not(#\9) {
|
|
236
239
|
font-size: var(--font-size-heading-m-sjd256, 18px);
|
|
237
240
|
}
|
|
238
|
-
.awsui_title-variant-
|
|
241
|
+
.awsui_title-variant-h3_2qdw9_jcalo_237.awsui_refresh_2qdw9_jcalo_141:not(#\9) {
|
|
239
242
|
padding-block-start: calc((var(--size-vertical-input-v5iwwf, 32px) - var(--line-height-heading-m-50evfk, 22px)) / 2);
|
|
240
243
|
}
|
|
241
|
-
.awsui_title-variant-
|
|
244
|
+
.awsui_title-variant-h2_2qdw9_jcalo_231:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141), .awsui_title-variant-h3_2qdw9_jcalo_237:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
242
245
|
padding-block-start: var(--space-scaled-xs-26e2du, 8px);
|
|
243
246
|
}
|
|
244
|
-
.awsui_no-
|
|
247
|
+
.awsui_no-wrap_2qdw9_jcalo_173 > .awsui_title_2qdw9_jcalo_219:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
245
248
|
padding-block-end: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxxs-27y4hv, 2px));
|
|
246
249
|
}
|
|
247
|
-
.
|
|
250
|
+
.awsui_title_2qdw9_jcalo_219:not(#\9):dir(rtl) {
|
|
248
251
|
align-items: center;
|
|
249
252
|
display: inline-flex;
|
|
250
253
|
}
|
|
251
254
|
|
|
252
|
-
.awsui_root-no-
|
|
255
|
+
.awsui_root-no-actions_2qdw9_jcalo_141.awsui_root-has-description_2qdw9_jcalo_144 > .awsui_main_2qdw9_jcalo_163 > :not(#\9):not(.awsui_refresh_2qdw9_jcalo_141).awsui_title-variant-h2_2qdw9_jcalo_231, .awsui_root-no-actions_2qdw9_jcalo_141.awsui_root-has-description_2qdw9_jcalo_144 > .awsui_main_2qdw9_jcalo_163 > :not(#\9):not(.awsui_refresh_2qdw9_jcalo_141).awsui_title-variant-h3_2qdw9_jcalo_237 {
|
|
253
256
|
padding-block-end: var(--space-scaled-xxs-7597g1, 4px);
|
|
254
257
|
}
|
|
255
258
|
|
|
256
|
-
.awsui_root-variant-
|
|
259
|
+
.awsui_root-variant-h1_2qdw9_jcalo_153.awsui_root-no-actions_2qdw9_jcalo_141:not(#\9):not(.awsui_root-has-description_2qdw9_jcalo_144):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
257
260
|
padding-block-end: var(--space-scaled-2x-xxs-7v8ivz, 4px);
|
|
258
261
|
}
|
|
259
262
|
|
|
260
|
-
.awsui_virtual-
|
|
263
|
+
.awsui_virtual-space_2qdw9_jcalo_262:not(#\9) {
|
|
261
264
|
position: absolute !important;
|
|
262
265
|
inset-block-start: -9999px !important;
|
|
263
266
|
inset-inline-start: -9999px !important;
|
|
264
267
|
}
|
|
265
268
|
|
|
266
|
-
.
|
|
269
|
+
.awsui_info_2qdw9_jcalo_268:not(#\9) {
|
|
267
270
|
padding-inline-end: var(--space-s-34lx8l, 12px);
|
|
268
271
|
}
|
|
269
272
|
|
|
270
|
-
.
|
|
273
|
+
.awsui_description_2qdw9_jcalo_272:not(#\9) {
|
|
271
274
|
margin-block: 0;
|
|
272
275
|
margin-inline: 0;
|
|
273
276
|
padding-block: 0;
|
|
274
277
|
padding-inline: 0;
|
|
275
278
|
color: var(--color-text-heading-secondary-37b2tq, #414d5c);
|
|
276
279
|
}
|
|
277
|
-
.awsui_description-variant-
|
|
280
|
+
.awsui_description-variant-h1_2qdw9_jcalo_279:not(#\9) {
|
|
278
281
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
279
282
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
280
283
|
}
|
|
281
|
-
.awsui_description-variant-
|
|
284
|
+
.awsui_description-variant-h2_2qdw9_jcalo_283:not(#\9) {
|
|
282
285
|
font-size: var(--font-header-h2-description-size-2hj97p, 14px);
|
|
283
286
|
line-height: var(--font-header-h2-description-line-height-rtewek, 20px);
|
|
284
287
|
}
|
|
285
|
-
.awsui_description-variant-
|
|
288
|
+
.awsui_description-variant-h2_2qdw9_jcalo_283:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
286
289
|
padding-block-end: var(--space-scaled-xxs-7597g1, 4px);
|
|
287
290
|
}
|
|
288
|
-
.awsui_description-variant-
|
|
291
|
+
.awsui_description-variant-h3_2qdw9_jcalo_290:not(#\9) {
|
|
289
292
|
font-size: var(--font-size-body-s-asqx2i, 12px);
|
|
290
293
|
line-height: var(--line-height-body-s-7zv1j5, 16px);
|
|
291
294
|
letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
|
|
292
295
|
}
|
|
293
|
-
.awsui_description-variant-
|
|
296
|
+
.awsui_description-variant-h3_2qdw9_jcalo_290:not(#\9):not(.awsui_refresh_2qdw9_jcalo_141) {
|
|
294
297
|
padding-block-end: var(--space-scaled-xxs-7597g1, 4px);
|
|
295
298
|
}
|
|
296
299
|
|
|
297
|
-
.
|
|
300
|
+
.awsui_heading_2qdw9_jcalo_299:not(#\9) {
|
|
298
301
|
margin-block: 0;
|
|
299
302
|
margin-inline: 0;
|
|
300
303
|
display: inline;
|
|
301
304
|
font-size: inherit;
|
|
302
305
|
margin-inline-end: var(--space-xs-zb16t3, 8px);
|
|
303
306
|
}
|
|
304
|
-
.
|
|
307
|
+
.awsui_heading_2qdw9_jcalo_299:not(#\9):only-child {
|
|
305
308
|
margin-block: 0;
|
|
306
309
|
margin-inline: 0;
|
|
307
310
|
}
|
|
308
|
-
.awsui_heading-variant-
|
|
311
|
+
.awsui_heading-variant-h1_2qdw9_jcalo_310:not(#\9) {
|
|
309
312
|
font-size: var(--font-size-heading-xl-ypc05a, 24px);
|
|
310
313
|
line-height: var(--line-height-heading-xl-avbttk, 30px);
|
|
311
314
|
letter-spacing: var(--letter-spacing-heading-xl-sagq9c, -0.02em);
|
|
312
315
|
}
|
|
313
|
-
.awsui_heading-variant-
|
|
316
|
+
.awsui_heading-variant-h2_2qdw9_jcalo_315:not(#\9) {
|
|
314
317
|
font-size: var(--font-size-heading-l-ou0d0l, 20px);
|
|
315
318
|
line-height: var(--line-height-heading-l-mmm3my, 24px);
|
|
316
319
|
letter-spacing: var(--letter-spacing-heading-l-qqjd4y, -0.015em);
|
|
317
320
|
}
|
|
318
|
-
.awsui_heading-variant-
|
|
321
|
+
.awsui_heading-variant-h3_2qdw9_jcalo_320:not(#\9) {
|
|
319
322
|
font-size: var(--font-size-heading-m-sjd256, 18px);
|
|
320
323
|
line-height: var(--line-height-heading-m-50evfk, 22px);
|
|
321
324
|
letter-spacing: var(--letter-spacing-heading-m-0w575i, -0.01em);
|
|
322
325
|
}
|
|
323
|
-
.
|
|
326
|
+
.awsui_heading_2qdw9_jcalo_299:not(#\9):dir(rtl) {
|
|
324
327
|
display: inline-flex;
|
|
325
328
|
gap: var(--space-scaled-xxs-7597g1, 4px);
|
|
326
329
|
}
|
|
327
330
|
|
|
328
|
-
.awsui_heading-
|
|
331
|
+
.awsui_heading-text_2qdw9_jcalo_330:not(#\9) {
|
|
329
332
|
/* used in test-utils */
|
|
330
333
|
}
|
|
331
|
-
.awsui_heading-text-variant-
|
|
334
|
+
.awsui_heading-text-variant-h1_2qdw9_jcalo_333:not(#\9) {
|
|
332
335
|
font-size: var(--font-size-heading-xl-ypc05a, 24px);
|
|
333
336
|
line-height: var(--line-height-heading-xl-avbttk, 30px);
|
|
334
337
|
letter-spacing: var(--letter-spacing-heading-xl-sagq9c, -0.02em);
|
|
@@ -336,7 +339,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
336
339
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
337
340
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
338
341
|
}
|
|
339
|
-
.awsui_heading-text-variant-
|
|
342
|
+
.awsui_heading-text-variant-h2_2qdw9_jcalo_341:not(#\9) {
|
|
340
343
|
font-size: var(--font-size-heading-l-ou0d0l, 20px);
|
|
341
344
|
line-height: var(--line-height-heading-l-mmm3my, 24px);
|
|
342
345
|
letter-spacing: var(--letter-spacing-heading-l-qqjd4y, -0.015em);
|
|
@@ -344,7 +347,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
344
347
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
345
348
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
346
349
|
}
|
|
347
|
-
.awsui_heading-text-variant-
|
|
350
|
+
.awsui_heading-text-variant-h3_2qdw9_jcalo_349:not(#\9) {
|
|
348
351
|
font-size: var(--font-size-heading-m-sjd256, 18px);
|
|
349
352
|
line-height: var(--line-height-heading-m-50evfk, 22px);
|
|
350
353
|
letter-spacing: var(--letter-spacing-heading-m-0w575i, -0.01em);
|
|
@@ -353,7 +356,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
353
356
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
354
357
|
}
|
|
355
358
|
|
|
356
|
-
.
|
|
359
|
+
.awsui_counter_2qdw9_jcalo_358:not(#\9) {
|
|
357
360
|
color: var(--color-text-counter-zqugin, #5f6b7a);
|
|
358
361
|
font-weight: 400;
|
|
359
362
|
}
|
|
@@ -2,39 +2,40 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"root-
|
|
9
|
-
"root-variant-
|
|
10
|
-
"root-
|
|
11
|
-
"root-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"actions
|
|
17
|
-
"actions-
|
|
18
|
-
"actions-variant-
|
|
19
|
-
"actions-variant-
|
|
20
|
-
"
|
|
21
|
-
"title
|
|
22
|
-
"title-variant-
|
|
23
|
-
"title-variant-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"description
|
|
28
|
-
"description-variant-
|
|
29
|
-
"description-variant-
|
|
30
|
-
"
|
|
31
|
-
"heading
|
|
32
|
-
"heading-variant-
|
|
33
|
-
"heading-variant-
|
|
34
|
-
"heading-
|
|
35
|
-
"heading-text
|
|
36
|
-
"heading-text-variant-
|
|
37
|
-
"heading-text-variant-
|
|
38
|
-
"
|
|
5
|
+
"root": "awsui_root_2qdw9_jcalo_99",
|
|
6
|
+
"root-with-toolbar": "awsui_root-with-toolbar_2qdw9_jcalo_138",
|
|
7
|
+
"refresh": "awsui_refresh_2qdw9_jcalo_141",
|
|
8
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_jcalo_141",
|
|
9
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_jcalo_144",
|
|
10
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_jcalo_144",
|
|
11
|
+
"root-has-description": "awsui_root-has-description_2qdw9_jcalo_144",
|
|
12
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_jcalo_153",
|
|
13
|
+
"main": "awsui_main_2qdw9_jcalo_163",
|
|
14
|
+
"no-wrap": "awsui_no-wrap_2qdw9_jcalo_173",
|
|
15
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_jcalo_179",
|
|
16
|
+
"actions": "awsui_actions_2qdw9_jcalo_187",
|
|
17
|
+
"actions-centered": "awsui_actions-centered_2qdw9_jcalo_192",
|
|
18
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_jcalo_195",
|
|
19
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_jcalo_199",
|
|
20
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_jcalo_203",
|
|
21
|
+
"title": "awsui_title_2qdw9_jcalo_219",
|
|
22
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_jcalo_224",
|
|
23
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_jcalo_231",
|
|
24
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_jcalo_237",
|
|
25
|
+
"virtual-space": "awsui_virtual-space_2qdw9_jcalo_262",
|
|
26
|
+
"info": "awsui_info_2qdw9_jcalo_268",
|
|
27
|
+
"description": "awsui_description_2qdw9_jcalo_272",
|
|
28
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_jcalo_279",
|
|
29
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_jcalo_283",
|
|
30
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_jcalo_290",
|
|
31
|
+
"heading": "awsui_heading_2qdw9_jcalo_299",
|
|
32
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_jcalo_310",
|
|
33
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_jcalo_315",
|
|
34
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_jcalo_320",
|
|
35
|
+
"heading-text": "awsui_heading-text_2qdw9_jcalo_330",
|
|
36
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_jcalo_333",
|
|
37
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_jcalo_341",
|
|
38
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_jcalo_349",
|
|
39
|
+
"counter": "awsui_counter_2qdw9_jcalo_358"
|
|
39
40
|
};
|
|
40
41
|
|