@cloudscape-design/components 3.0.1010 → 3.0.1012
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/button/interfaces.d.ts +16 -16
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +53 -51
- package/header/styles.selectors.js +34 -34
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
package/button/interfaces.d.ts
CHANGED
|
@@ -89,22 +89,6 @@ export interface BaseButtonProps {
|
|
|
89
89
|
* @i18n
|
|
90
90
|
*/
|
|
91
91
|
i18nStrings?: ButtonProps.I18nStrings;
|
|
92
|
-
/**
|
|
93
|
-
* Specifies an object of selectors and properties that are used to apply custom styles.
|
|
94
|
-
*
|
|
95
|
-
* - `root.background` {active, default, disabled, hover} - (Optional) Background for component states.
|
|
96
|
-
* - `root.borderColor` {active, default, disabled, hover} - (Optional) Border color for component states.
|
|
97
|
-
* - `root.borderRadius` (string) - (Optional) Border radius style.
|
|
98
|
-
* - `root.borderWidth` (string) - (Optional) Border width style.
|
|
99
|
-
* - `root.color` {active, default, disabled, hover} - (Optional) Color for component states.
|
|
100
|
-
* - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.
|
|
101
|
-
* - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.
|
|
102
|
-
* - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.
|
|
103
|
-
* - `root.paddingBlock` (string) - (Optional) Block dimension padding.
|
|
104
|
-
* - `root.paddingInline` (string) - (Optional) Inline dimension padding.
|
|
105
|
-
* @awsuiSystem core
|
|
106
|
-
*/
|
|
107
|
-
style?: ButtonProps.Style;
|
|
108
92
|
}
|
|
109
93
|
export interface ButtonProps extends BaseComponentProps, BaseButtonProps {
|
|
110
94
|
/**
|
|
@@ -171,6 +155,22 @@ export interface ButtonProps extends BaseComponentProps, BaseButtonProps {
|
|
|
171
155
|
* This property is ignored if you use a predefined icon or if you set your custom icon using the `iconSvg` slot.
|
|
172
156
|
*/
|
|
173
157
|
iconAlt?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Specifies an object of selectors and properties that are used to apply custom styles.
|
|
160
|
+
*
|
|
161
|
+
* - `root.background` {active, default, disabled, hover} - (Optional) Background for component states.
|
|
162
|
+
* - `root.borderColor` {active, default, disabled, hover} - (Optional) Border color for component states.
|
|
163
|
+
* - `root.borderRadius` (string) - (Optional) Border radius style.
|
|
164
|
+
* - `root.borderWidth` (string) - (Optional) Border width style.
|
|
165
|
+
* - `root.color` {active, default, disabled, hover} - (Optional) Color for component states.
|
|
166
|
+
* - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.
|
|
167
|
+
* - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.
|
|
168
|
+
* - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.
|
|
169
|
+
* - `root.paddingBlock` (string) - (Optional) Block dimension padding.
|
|
170
|
+
* - `root.paddingInline` (string) - (Optional) Inline dimension padding.
|
|
171
|
+
* @awsuiSystem core
|
|
172
|
+
*/
|
|
173
|
+
style?: ButtonProps.Style;
|
|
174
174
|
}
|
|
175
175
|
export declare namespace ButtonProps {
|
|
176
176
|
type Variant = 'normal' | 'primary' | 'link' | 'icon' | 'inline-icon' | 'inline-link';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/button/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,oBAAoB,CA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,CAAC;aAChB,CAAC;YACF,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,KAAK,CAAC,EAAE;gBACN,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,KAAK,CAAC,EAAE,MAAM,CAAC;aAChB,CAAC;YACF,SAAS,CAAC,EAAE;gBACV,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;YACF,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;KACH;CACF"}
|
package/button/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/button/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 { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { BaseNavigationDetail, CancelableEventHandler, ClickDetail as _ClickDetail } from '../internal/events';\n\nexport interface BaseButtonProps {\n /**\n * Renders the button as disabled and prevents clicks.\n */\n disabled?: boolean;\n /**\n * Provides a reason why the button is disabled (only when `disabled` is `true`).\n * If provided, the button becomes focusable.\n * Applicable for all button variants, except link.\n */\n disabledReason?: string;\n /**\n * Renders the button as being in a loading state. It takes precedence over the `disabled` if both are set to `true`.\n * It prevents users from clicking the button, but it can still be focused.\n */\n loading?: boolean;\n /**\n * Specifies the text that screen reader announces when the button is in a loading state.\n */\n loadingText?: string;\n /**\n * Displays an icon next to the text. You can use the `iconAlign` property to position the icon.\n */\n iconName?: IconProps.Name;\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n *\n * If you set both `iconUrl` and `iconSvg`, `iconSvg` will take precedence.\n */\n iconUrl?: string;\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `iconUrl` and `iconSvg`, `iconSvg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n iconSvg?: React.ReactNode;\n\n /**\n * Adds `aria-label` to the button element. Use this to provide an accessible name for buttons\n * that don't have visible text, and to distinguish between multiple buttons with identical visible text.\n * The text will also be added to the `title` attribute of the button.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-describedby` to the button.\n */\n ariaDescribedby?: string;\n\n /**\n * Specifies if the `text` content wraps. If you set it to `false`, it prevents the text from wrapping.\n */\n wrapText?: boolean;\n\n /**\n * Text displayed in the button element.\n * @displayname text\n */\n children?: React.ReactNode;\n\n /**\n * Adds `aria-controls` to the button. Use when the button controls the contents or presence of an element.\n */\n ariaControls?: string;\n\n /**\n * Adds an external icon after the button label text.\n * If an href is provided, it opens the link in a new tab.\n */\n external?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `externalIconAriaLabel` - (optional) Specifies the aria-label for the external icon when `external` is set to `true`.\n * @i18n\n */\n i18nStrings?: ButtonProps.I18nStrings;\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/button/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 { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { BaseNavigationDetail, CancelableEventHandler, ClickDetail as _ClickDetail } from '../internal/events';\n\nexport interface BaseButtonProps {\n /**\n * Renders the button as disabled and prevents clicks.\n */\n disabled?: boolean;\n /**\n * Provides a reason why the button is disabled (only when `disabled` is `true`).\n * If provided, the button becomes focusable.\n * Applicable for all button variants, except link.\n */\n disabledReason?: string;\n /**\n * Renders the button as being in a loading state. It takes precedence over the `disabled` if both are set to `true`.\n * It prevents users from clicking the button, but it can still be focused.\n */\n loading?: boolean;\n /**\n * Specifies the text that screen reader announces when the button is in a loading state.\n */\n loadingText?: string;\n /**\n * Displays an icon next to the text. You can use the `iconAlign` property to position the icon.\n */\n iconName?: IconProps.Name;\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n *\n * If you set both `iconUrl` and `iconSvg`, `iconSvg` will take precedence.\n */\n iconUrl?: string;\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `iconUrl` and `iconSvg`, `iconSvg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n iconSvg?: React.ReactNode;\n\n /**\n * Adds `aria-label` to the button element. Use this to provide an accessible name for buttons\n * that don't have visible text, and to distinguish between multiple buttons with identical visible text.\n * The text will also be added to the `title` attribute of the button.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-describedby` to the button.\n */\n ariaDescribedby?: string;\n\n /**\n * Specifies if the `text` content wraps. If you set it to `false`, it prevents the text from wrapping.\n */\n wrapText?: boolean;\n\n /**\n * Text displayed in the button element.\n * @displayname text\n */\n children?: React.ReactNode;\n\n /**\n * Adds `aria-controls` to the button. Use when the button controls the contents or presence of an element.\n */\n ariaControls?: string;\n\n /**\n * Adds an external icon after the button label text.\n * If an href is provided, it opens the link in a new tab.\n */\n external?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `externalIconAriaLabel` - (optional) Specifies the aria-label for the external icon when `external` is set to `true`.\n * @i18n\n */\n i18nStrings?: ButtonProps.I18nStrings;\n}\n\nexport interface ButtonProps extends BaseComponentProps, BaseButtonProps {\n /**\n * Specifies the alignment of the icon.\n */\n iconAlign?: ButtonProps.IconAlign;\n\n /**\n * The form action that is performed by a button click.\n */\n formAction?: ButtonProps.FormAction;\n\n /**\n * Applies button styling to a link. Use this property if you need a link styled as a button (`variant=link`).\n * For example, if you have a 'help' button that links to a documentation page.\n */\n href?: string;\n\n /**\n * Specifies where to open the linked URL (for example, to open in a new browser window or tab use `_blank`).\n * This property only applies when an `href` is provided.\n */\n target?: string;\n\n /**\n * Adds a `rel` attribute to the link. By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `target` is `\"_blank\"`.\n * If the `rel` property is provided, it overrides the default behavior.\n */\n rel?: string;\n\n /**\n * Specifies whether the linked URL, when selected, will prompt the user to download instead of navigate.\n * You can specify a string value that will be suggested as the name of the downloaded file.\n * This property only applies when an `href` is provided.\n **/\n download?: boolean | string;\n\n /** The id of the <form> element to associate with the button. The value of this attribute must be the id of a <form> in the same document.\n * Use when a button is not the descendant of a form element, such as when used in a modal.\n */\n form?: string;\n\n /**\n * Adds aria-expanded to the button element. Use when the button controls an expandable element.\n */\n ariaExpanded?: boolean;\n\n /**\n * Called when the user clicks on the button and the button is not disabled or in loading state.\n */\n onClick?: CancelableEventHandler<ButtonProps.ClickDetail>;\n\n /**\n * Called when the user clicks on the button with the left mouse button without pressing\n * modifier keys (that is, CTRL, ALT, SHIFT, META), and the button has an `href` set.\n */\n onFollow?: CancelableEventHandler<ButtonProps.FollowDetail>;\n\n /**\n * Sets the button width to be 100% of the parent container width. Button content is centered.\n */\n fullWidth?: boolean;\n\n /** Determines the general styling of the button as follows:\n * * `primary` for primary buttons.\n * * `normal` for secondary buttons.\n * * `link` for tertiary buttons.\n * * `icon` to display an icon only (no text).\n * * `inline-icon` to display an icon-only (no text) button within a text context.\n * * `inline-link` to display a tertiary button with no outer padding.\n */\n variant?: ButtonProps.Variant;\n\n /**\n * Specifies alternate text for a custom icon. We recommend that you provide this for accessibility.\n * This property is ignored if you use a predefined icon or if you set your custom icon using the `iconSvg` slot.\n */\n iconAlt?: string;\n\n /**\n * Specifies an object of selectors and properties that are used to apply custom styles.\n *\n * - `root.background` {active, default, disabled, hover} - (Optional) Background for component states.\n * - `root.borderColor` {active, default, disabled, hover} - (Optional) Border color for component states.\n * - `root.borderRadius` (string) - (Optional) Border radius style.\n * - `root.borderWidth` (string) - (Optional) Border width style.\n * - `root.color` {active, default, disabled, hover} - (Optional) Color for component states.\n * - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.\n * - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.\n * - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.\n * - `root.paddingBlock` (string) - (Optional) Block dimension padding.\n * - `root.paddingInline` (string) - (Optional) Inline dimension padding.\n * @awsuiSystem core\n */\n style?: ButtonProps.Style;\n}\n\nexport namespace ButtonProps {\n export type Variant = 'normal' | 'primary' | 'link' | 'icon' | 'inline-icon' | 'inline-link';\n export type ClickDetail = _ClickDetail;\n export type FollowDetail = BaseNavigationDetail;\n\n export type FormAction = 'submit' | 'none';\n\n export type IconAlign = 'left' | 'right';\n\n export interface I18nStrings {\n /**\n * Specifies the aria-label for the external icon when `external` is set to `true`.\n */\n externalIconAriaLabel?: string;\n }\n\n export interface Ref {\n /**\n * Focuses the underlying native button.\n */\n focus(options?: FocusOptions): void;\n }\n\n export interface Style {\n root?: {\n background?: {\n active?: string;\n default?: string;\n disabled?: string;\n hover?: string;\n };\n borderColor?: {\n active?: string;\n default?: string;\n disabled?: string;\n hover?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n color?: {\n active?: string;\n default?: string;\n disabled?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n paddingBlock?: string;\n paddingInline?: string;\n };\n }\n}\n"]}
|
package/header/styles.css.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"refresh": "
|
|
6
|
-
"root-no-actions": "awsui_root-no-
|
|
7
|
-
"root-variant-h2": "awsui_root-variant-
|
|
8
|
-
"root-variant-h3": "awsui_root-variant-
|
|
9
|
-
"root-has-description": "awsui_root-has-
|
|
10
|
-
"root-variant-h1": "awsui_root-variant-
|
|
11
|
-
"main": "
|
|
12
|
-
"no-wrap": "awsui_no-
|
|
13
|
-
"main-variant-h1": "awsui_main-variant-
|
|
14
|
-
"actions": "
|
|
15
|
-
"actions-centered": "awsui_actions-
|
|
16
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
17
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
18
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
19
|
-
"title": "
|
|
20
|
-
"title-variant-h1": "awsui_title-variant-
|
|
21
|
-
"title-variant-h2": "awsui_title-variant-
|
|
22
|
-
"title-variant-h3": "awsui_title-variant-
|
|
23
|
-
"virtual-space": "awsui_virtual-
|
|
24
|
-
"info": "
|
|
25
|
-
"description": "
|
|
26
|
-
"description-variant-h1": "awsui_description-variant-
|
|
27
|
-
"description-variant-h2": "awsui_description-variant-
|
|
28
|
-
"description-variant-h3": "awsui_description-variant-
|
|
29
|
-
"heading": "
|
|
30
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
31
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
32
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
33
|
-
"heading-text": "awsui_heading-
|
|
34
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
35
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
36
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
37
|
-
"counter": "
|
|
4
|
+
"root": "awsui_root_2qdw9_88efd_181",
|
|
5
|
+
"refresh": "awsui_refresh_2qdw9_88efd_217",
|
|
6
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_88efd_217",
|
|
7
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_88efd_220",
|
|
8
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_88efd_220",
|
|
9
|
+
"root-has-description": "awsui_root-has-description_2qdw9_88efd_220",
|
|
10
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_88efd_229",
|
|
11
|
+
"main": "awsui_main_2qdw9_88efd_239",
|
|
12
|
+
"no-wrap": "awsui_no-wrap_2qdw9_88efd_249",
|
|
13
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_88efd_255",
|
|
14
|
+
"actions": "awsui_actions_2qdw9_88efd_263",
|
|
15
|
+
"actions-centered": "awsui_actions-centered_2qdw9_88efd_268",
|
|
16
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_88efd_271",
|
|
17
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_88efd_275",
|
|
18
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_88efd_279",
|
|
19
|
+
"title": "awsui_title_2qdw9_88efd_295",
|
|
20
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_88efd_300",
|
|
21
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_88efd_307",
|
|
22
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_88efd_313",
|
|
23
|
+
"virtual-space": "awsui_virtual-space_2qdw9_88efd_334",
|
|
24
|
+
"info": "awsui_info_2qdw9_88efd_340",
|
|
25
|
+
"description": "awsui_description_2qdw9_88efd_344",
|
|
26
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_88efd_351",
|
|
27
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_88efd_355",
|
|
28
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_88efd_362",
|
|
29
|
+
"heading": "awsui_heading_2qdw9_88efd_373",
|
|
30
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_88efd_384",
|
|
31
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_88efd_389",
|
|
32
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_88efd_394",
|
|
33
|
+
"heading-text": "awsui_heading-text_2qdw9_88efd_400",
|
|
34
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_88efd_403",
|
|
35
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_88efd_411",
|
|
36
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_88efd_419",
|
|
37
|
+
"counter": "awsui_counter_2qdw9_88efd_428"
|
|
38
38
|
};
|
|
39
39
|
|
package/header/styles.scoped.css
CHANGED
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
*/
|
|
179
179
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
180
180
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
181
|
-
.
|
|
181
|
+
.awsui_root_2qdw9_88efd_181:not(#\9) {
|
|
182
182
|
border-collapse: separate;
|
|
183
183
|
border-spacing: 0;
|
|
184
184
|
box-sizing: border-box;
|
|
@@ -214,29 +214,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
214
214
|
flex-wrap: wrap;
|
|
215
215
|
justify-content: space-between;
|
|
216
216
|
}
|
|
217
|
-
.
|
|
217
|
+
.awsui_root_2qdw9_88efd_181.awsui_refresh_2qdw9_88efd_217:not(#\9), .awsui_root_2qdw9_88efd_181:not(#\9):not(.awsui_root-no-actions_2qdw9_88efd_217) {
|
|
218
218
|
row-gap: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
219
219
|
}
|
|
220
|
-
.awsui_root-no-
|
|
220
|
+
.awsui_root-no-actions_2qdw9_88efd_217.awsui_root-variant-h2_2qdw9_88efd_220:not(#\9):not(.awsui_refresh_2qdw9_88efd_217), .awsui_root-no-actions_2qdw9_88efd_217.awsui_root-variant-h3_2qdw9_88efd_220:not(#\9):not(.awsui_refresh_2qdw9_88efd_217), .awsui_root-has-description_2qdw9_88efd_220.awsui_root-variant-h2_2qdw9_88efd_220:not(#\9):not(.awsui_refresh_2qdw9_88efd_217), .awsui_root-has-description_2qdw9_88efd_220.awsui_root-variant-h3_2qdw9_88efd_220:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
221
221
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
222
222
|
}
|
|
223
|
-
.awsui_root-no-
|
|
223
|
+
.awsui_root-no-actions_2qdw9_88efd_217:not(#\9):not(.awsui_root-has-description_2qdw9_88efd_220):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
224
224
|
padding-block-end: calc(var(--space-scaled-xs-xwoogq, 8px) + var(--space-xxxs-pajhad, 2px));
|
|
225
225
|
}
|
|
226
|
-
.awsui_root-no-
|
|
226
|
+
.awsui_root-no-actions_2qdw9_88efd_217.awsui_refresh_2qdw9_88efd_217.awsui_root-variant-h2_2qdw9_88efd_220:not(#\9), .awsui_root-no-actions_2qdw9_88efd_217.awsui_refresh_2qdw9_88efd_217.awsui_root-variant-h3_2qdw9_88efd_220:not(#\9) {
|
|
227
227
|
row-gap: var(--space-scaled-xxxs-oo06c7, 2px);
|
|
228
228
|
}
|
|
229
|
-
.
|
|
229
|
+
.awsui_root_2qdw9_88efd_181.awsui_root-variant-h1_2qdw9_88efd_229:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
230
230
|
row-gap: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
231
231
|
}
|
|
232
|
-
.awsui_root-no-
|
|
232
|
+
.awsui_root-no-actions_2qdw9_88efd_217:not(#\9):not(.awsui_root-has-description_2qdw9_88efd_220).awsui_refresh_2qdw9_88efd_217.awsui_root-variant-h3_2qdw9_88efd_220 {
|
|
233
233
|
padding-block-end: var(--space-scaled-xs-xwoogq, 8px);
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
.awsui_root_2qdw9_88efd_181.awsui_root-variant-h1_2qdw9_88efd_229.awsui_root-has-description_2qdw9_88efd_220:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
236
236
|
padding-block-end: var(--space-scaled-2x-xxs-e79hr1, 4px);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.
|
|
239
|
+
.awsui_main_2qdw9_88efd_239:not(#\9) {
|
|
240
240
|
word-wrap: break-word;
|
|
241
241
|
max-inline-size: 100%;
|
|
242
242
|
display: flex;
|
|
@@ -246,159 +246,161 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
246
246
|
column-gap: var(--space-xs-ymlm0b, 8px);
|
|
247
247
|
row-gap: calc(var(--space-scaled-xxs-pfm1nx, 4px) + var(--space-scaled-xxxs-oo06c7, 2px));
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
.awsui_main_2qdw9_88efd_239.awsui_no-wrap_2qdw9_88efd_249:not(#\9) {
|
|
250
250
|
flex-wrap: nowrap;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
.awsui_main_2qdw9_88efd_239.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
253
253
|
row-gap: var(--space-xxs-hwfkai, 4px);
|
|
254
254
|
}
|
|
255
|
-
.awsui_main-variant-
|
|
255
|
+
.awsui_main-variant-h1_2qdw9_88efd_255:not(#\9) {
|
|
256
256
|
row-gap: var(--space-scaled-2x-xxs-e79hr1, 4px);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
.awsui_root-has-
|
|
259
|
+
.awsui_root-has-description_2qdw9_88efd_220 > .awsui_main_2qdw9_88efd_239:not(#\9) {
|
|
260
260
|
row-gap: var(--space-scaled-2x-xxs-e79hr1, 4px);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.
|
|
263
|
+
.awsui_actions_2qdw9_88efd_263:not(#\9) {
|
|
264
264
|
display: flex;
|
|
265
265
|
align-items: flex-start;
|
|
266
266
|
min-block-size: var(--size-vertical-input-p1d7xx, 32px);
|
|
267
267
|
}
|
|
268
|
-
.awsui_actions-
|
|
268
|
+
.awsui_actions-centered_2qdw9_88efd_268:not(#\9) {
|
|
269
269
|
align-items: center;
|
|
270
270
|
}
|
|
271
|
-
.awsui_actions-variant-
|
|
271
|
+
.awsui_actions-variant-h1_2qdw9_88efd_271.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
272
272
|
padding-block: calc((var(--line-height-heading-xl-hko6p0, 30px) - var(--size-vertical-input-p1d7xx, 32px)) / 2);
|
|
273
273
|
padding-inline: 0;
|
|
274
274
|
}
|
|
275
|
-
.awsui_actions-variant-
|
|
275
|
+
.awsui_actions-variant-h2_2qdw9_88efd_275.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
276
276
|
padding-block: calc((var(--line-height-heading-l-mg5bx6, 24px) - var(--size-vertical-input-p1d7xx, 32px)) / 2);
|
|
277
277
|
padding-inline: 0;
|
|
278
278
|
}
|
|
279
|
-
.awsui_actions-variant-
|
|
279
|
+
.awsui_actions-variant-h3_2qdw9_88efd_279.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
280
280
|
padding-block: calc((var(--line-height-heading-m-uoaqdh, 22px) - var(--size-vertical-input-p1d7xx, 32px)) / 2);
|
|
281
281
|
padding-inline: 0;
|
|
282
282
|
}
|
|
283
|
-
.awsui_actions-variant-
|
|
283
|
+
.awsui_actions-variant-h1_2qdw9_88efd_271:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
284
284
|
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
285
285
|
padding-inline: 0;
|
|
286
286
|
}
|
|
287
|
-
.awsui_actions-variant-
|
|
287
|
+
.awsui_actions-variant-h2_2qdw9_88efd_275:not(#\9):not(.awsui_refresh_2qdw9_88efd_217), .awsui_actions-variant-h3_2qdw9_88efd_279:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
288
288
|
padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
289
289
|
padding-inline: 0;
|
|
290
290
|
}
|
|
291
|
-
.awsui_root-has-
|
|
291
|
+
.awsui_root-has-description_2qdw9_88efd_220 > .awsui_main_2qdw9_88efd_239 > .awsui_actions_2qdw9_88efd_263:not(#\9) {
|
|
292
292
|
padding-block-end: 0;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.
|
|
295
|
+
.awsui_title_2qdw9_88efd_295:not(#\9) {
|
|
296
296
|
min-inline-size: 0;
|
|
297
297
|
word-break: break-word;
|
|
298
298
|
color: var(--color-text-heading-default-izpp46, #0f141a);
|
|
299
299
|
}
|
|
300
|
-
.awsui_title-variant-
|
|
300
|
+
.awsui_title-variant-h1_2qdw9_88efd_300:not(#\9) {
|
|
301
301
|
font-size: var(--font-size-heading-xl-wvkbur, 24px);
|
|
302
302
|
padding-block-start: var(--space-scaled-2x-xxs-e79hr1, 4px);
|
|
303
303
|
}
|
|
304
|
-
.awsui_title-variant-
|
|
304
|
+
.awsui_title-variant-h1_2qdw9_88efd_300.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
305
305
|
padding-block-start: calc((var(--size-vertical-input-p1d7xx, 32px) - var(--line-height-heading-xl-hko6p0, 30px)) / 2);
|
|
306
306
|
}
|
|
307
|
-
.awsui_title-variant-
|
|
307
|
+
.awsui_title-variant-h2_2qdw9_88efd_307:not(#\9) {
|
|
308
308
|
font-size: var(--font-size-heading-l-vnacx6, 20px);
|
|
309
309
|
}
|
|
310
|
-
.awsui_title-variant-
|
|
310
|
+
.awsui_title-variant-h2_2qdw9_88efd_307.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
311
311
|
padding-block-start: calc((var(--size-vertical-input-p1d7xx, 32px) - var(--line-height-heading-l-mg5bx6, 24px)) / 2);
|
|
312
312
|
}
|
|
313
|
-
.awsui_title-variant-
|
|
313
|
+
.awsui_title-variant-h3_2qdw9_88efd_313:not(#\9) {
|
|
314
314
|
font-size: var(--font-size-heading-m-170yiy, 18px);
|
|
315
315
|
}
|
|
316
|
-
.awsui_title-variant-
|
|
316
|
+
.awsui_title-variant-h3_2qdw9_88efd_313.awsui_refresh_2qdw9_88efd_217:not(#\9) {
|
|
317
317
|
padding-block-start: calc((var(--size-vertical-input-p1d7xx, 32px) - var(--line-height-heading-m-uoaqdh, 22px)) / 2);
|
|
318
318
|
}
|
|
319
|
-
.awsui_title-variant-
|
|
319
|
+
.awsui_title-variant-h2_2qdw9_88efd_307:not(#\9):not(.awsui_refresh_2qdw9_88efd_217), .awsui_title-variant-h3_2qdw9_88efd_313:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
320
320
|
padding-block-start: var(--space-scaled-xs-xwoogq, 8px);
|
|
321
321
|
}
|
|
322
|
-
.awsui_no-
|
|
322
|
+
.awsui_no-wrap_2qdw9_88efd_249 > .awsui_title_2qdw9_88efd_295:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
323
323
|
padding-block-end: calc(var(--space-scaled-xxs-pfm1nx, 4px) + var(--space-scaled-xxxs-oo06c7, 2px));
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
.awsui_root-no-
|
|
326
|
+
.awsui_root-no-actions_2qdw9_88efd_217.awsui_root-has-description_2qdw9_88efd_220 > .awsui_main_2qdw9_88efd_239 > :not(#\9):not(.awsui_refresh_2qdw9_88efd_217).awsui_title-variant-h2_2qdw9_88efd_307, .awsui_root-no-actions_2qdw9_88efd_217.awsui_root-has-description_2qdw9_88efd_220 > .awsui_main_2qdw9_88efd_239 > :not(#\9):not(.awsui_refresh_2qdw9_88efd_217).awsui_title-variant-h3_2qdw9_88efd_313 {
|
|
327
327
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
.awsui_root-variant-
|
|
330
|
+
.awsui_root-variant-h1_2qdw9_88efd_229.awsui_root-no-actions_2qdw9_88efd_217:not(#\9):not(.awsui_root-has-description_2qdw9_88efd_220):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
331
331
|
padding-block-end: var(--space-scaled-2x-xxs-e79hr1, 4px);
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.awsui_virtual-
|
|
334
|
+
.awsui_virtual-space_2qdw9_88efd_334:not(#\9) {
|
|
335
335
|
position: absolute !important;
|
|
336
336
|
inset-block-start: -9999px !important;
|
|
337
337
|
inset-inline-start: -9999px !important;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
.
|
|
340
|
+
.awsui_info_2qdw9_88efd_340:not(#\9) {
|
|
341
341
|
padding-inline-end: var(--space-s-tvghoh, 12px);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.
|
|
344
|
+
.awsui_description_2qdw9_88efd_344:not(#\9) {
|
|
345
345
|
margin-block: 0;
|
|
346
346
|
margin-inline: 0;
|
|
347
347
|
padding-block: 0;
|
|
348
348
|
padding-inline: 0;
|
|
349
349
|
color: var(--color-text-heading-secondary-iwtvf6, #424650);
|
|
350
350
|
}
|
|
351
|
-
.awsui_description-variant-
|
|
351
|
+
.awsui_description-variant-h1_2qdw9_88efd_351:not(#\9) {
|
|
352
352
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
353
353
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
354
354
|
}
|
|
355
|
-
.awsui_description-variant-
|
|
355
|
+
.awsui_description-variant-h2_2qdw9_88efd_355:not(#\9) {
|
|
356
356
|
font-size: var(--font-header-h2-description-size-g2wws3, 14px);
|
|
357
357
|
line-height: var(--font-header-h2-description-line-height-ts2s6o, 20px);
|
|
358
358
|
}
|
|
359
|
-
.awsui_description-variant-
|
|
359
|
+
.awsui_description-variant-h2_2qdw9_88efd_355:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
360
360
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
361
361
|
}
|
|
362
|
-
.awsui_description-variant-
|
|
362
|
+
.awsui_description-variant-h3_2qdw9_88efd_362:not(#\9) {
|
|
363
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
364
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
365
|
+
}
|
|
366
|
+
.awsui_description-variant-h3_2qdw9_88efd_362:not(#\9):not(.awsui_refresh_2qdw9_88efd_217) {
|
|
363
367
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
364
368
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
365
369
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
366
|
-
}
|
|
367
|
-
.awsui_description-variant-h3_2qdw9_hdx5e_362:not(#\9):not(.awsui_refresh_2qdw9_hdx5e_217) {
|
|
368
370
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
369
371
|
}
|
|
370
372
|
|
|
371
|
-
.
|
|
373
|
+
.awsui_heading_2qdw9_88efd_373:not(#\9) {
|
|
372
374
|
margin-block: 0;
|
|
373
375
|
margin-inline: 0;
|
|
374
376
|
display: inline;
|
|
375
377
|
font-size: inherit;
|
|
376
378
|
margin-inline-end: var(--space-xs-ymlm0b, 8px);
|
|
377
379
|
}
|
|
378
|
-
.
|
|
380
|
+
.awsui_heading_2qdw9_88efd_373:not(#\9):only-child {
|
|
379
381
|
margin-block: 0;
|
|
380
382
|
margin-inline: 0;
|
|
381
383
|
}
|
|
382
|
-
.awsui_heading-variant-
|
|
384
|
+
.awsui_heading-variant-h1_2qdw9_88efd_384:not(#\9) {
|
|
383
385
|
font-size: var(--font-size-heading-xl-wvkbur, 24px);
|
|
384
386
|
line-height: var(--line-height-heading-xl-hko6p0, 30px);
|
|
385
387
|
letter-spacing: var(--letter-spacing-heading-xl-ckkb6u, -0.02em);
|
|
386
388
|
}
|
|
387
|
-
.awsui_heading-variant-
|
|
389
|
+
.awsui_heading-variant-h2_2qdw9_88efd_389:not(#\9) {
|
|
388
390
|
font-size: var(--font-size-heading-l-vnacx6, 20px);
|
|
389
391
|
line-height: var(--line-height-heading-l-mg5bx6, 24px);
|
|
390
392
|
letter-spacing: var(--letter-spacing-heading-l-5v6ibv, -0.015em);
|
|
391
393
|
}
|
|
392
|
-
.awsui_heading-variant-
|
|
394
|
+
.awsui_heading-variant-h3_2qdw9_88efd_394:not(#\9) {
|
|
393
395
|
font-size: var(--font-size-heading-m-170yiy, 18px);
|
|
394
396
|
line-height: var(--line-height-heading-m-uoaqdh, 22px);
|
|
395
397
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
396
398
|
}
|
|
397
399
|
|
|
398
|
-
.awsui_heading-
|
|
400
|
+
.awsui_heading-text_2qdw9_88efd_400:not(#\9) {
|
|
399
401
|
/* used in test-utils */
|
|
400
402
|
}
|
|
401
|
-
.awsui_heading-text-variant-
|
|
403
|
+
.awsui_heading-text-variant-h1_2qdw9_88efd_403:not(#\9) {
|
|
402
404
|
font-size: var(--font-size-heading-xl-wvkbur, 24px);
|
|
403
405
|
line-height: var(--line-height-heading-xl-hko6p0, 30px);
|
|
404
406
|
letter-spacing: var(--letter-spacing-heading-xl-ckkb6u, -0.02em);
|
|
@@ -406,7 +408,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
406
408
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
407
409
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
408
410
|
}
|
|
409
|
-
.awsui_heading-text-variant-
|
|
411
|
+
.awsui_heading-text-variant-h2_2qdw9_88efd_411:not(#\9) {
|
|
410
412
|
font-size: var(--font-size-heading-l-vnacx6, 20px);
|
|
411
413
|
line-height: var(--line-height-heading-l-mg5bx6, 24px);
|
|
412
414
|
letter-spacing: var(--letter-spacing-heading-l-5v6ibv, -0.015em);
|
|
@@ -414,7 +416,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
414
416
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
415
417
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
416
418
|
}
|
|
417
|
-
.awsui_heading-text-variant-
|
|
419
|
+
.awsui_heading-text-variant-h3_2qdw9_88efd_419:not(#\9) {
|
|
418
420
|
font-size: var(--font-size-heading-m-170yiy, 18px);
|
|
419
421
|
line-height: var(--line-height-heading-m-uoaqdh, 22px);
|
|
420
422
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
@@ -423,7 +425,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
423
425
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
424
426
|
}
|
|
425
427
|
|
|
426
|
-
.
|
|
428
|
+
.awsui_counter_2qdw9_88efd_428:not(#\9) {
|
|
427
429
|
color: var(--color-text-counter-bywf75, #656871);
|
|
428
430
|
font-weight: 400;
|
|
429
431
|
}
|
|
@@ -2,39 +2,39 @@
|
|
|
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
|
-
"refresh": "
|
|
7
|
-
"root-no-actions": "awsui_root-no-
|
|
8
|
-
"root-variant-h2": "awsui_root-variant-
|
|
9
|
-
"root-variant-h3": "awsui_root-variant-
|
|
10
|
-
"root-has-description": "awsui_root-has-
|
|
11
|
-
"root-variant-h1": "awsui_root-variant-
|
|
12
|
-
"main": "
|
|
13
|
-
"no-wrap": "awsui_no-
|
|
14
|
-
"main-variant-h1": "awsui_main-variant-
|
|
15
|
-
"actions": "
|
|
16
|
-
"actions-centered": "awsui_actions-
|
|
17
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
18
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
19
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
20
|
-
"title": "
|
|
21
|
-
"title-variant-h1": "awsui_title-variant-
|
|
22
|
-
"title-variant-h2": "awsui_title-variant-
|
|
23
|
-
"title-variant-h3": "awsui_title-variant-
|
|
24
|
-
"virtual-space": "awsui_virtual-
|
|
25
|
-
"info": "
|
|
26
|
-
"description": "
|
|
27
|
-
"description-variant-h1": "awsui_description-variant-
|
|
28
|
-
"description-variant-h2": "awsui_description-variant-
|
|
29
|
-
"description-variant-h3": "awsui_description-variant-
|
|
30
|
-
"heading": "
|
|
31
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
32
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
33
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
34
|
-
"heading-text": "awsui_heading-
|
|
35
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
36
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
37
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
38
|
-
"counter": "
|
|
5
|
+
"root": "awsui_root_2qdw9_88efd_181",
|
|
6
|
+
"refresh": "awsui_refresh_2qdw9_88efd_217",
|
|
7
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_88efd_217",
|
|
8
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_88efd_220",
|
|
9
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_88efd_220",
|
|
10
|
+
"root-has-description": "awsui_root-has-description_2qdw9_88efd_220",
|
|
11
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_88efd_229",
|
|
12
|
+
"main": "awsui_main_2qdw9_88efd_239",
|
|
13
|
+
"no-wrap": "awsui_no-wrap_2qdw9_88efd_249",
|
|
14
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_88efd_255",
|
|
15
|
+
"actions": "awsui_actions_2qdw9_88efd_263",
|
|
16
|
+
"actions-centered": "awsui_actions-centered_2qdw9_88efd_268",
|
|
17
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_88efd_271",
|
|
18
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_88efd_275",
|
|
19
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_88efd_279",
|
|
20
|
+
"title": "awsui_title_2qdw9_88efd_295",
|
|
21
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_88efd_300",
|
|
22
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_88efd_307",
|
|
23
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_88efd_313",
|
|
24
|
+
"virtual-space": "awsui_virtual-space_2qdw9_88efd_334",
|
|
25
|
+
"info": "awsui_info_2qdw9_88efd_340",
|
|
26
|
+
"description": "awsui_description_2qdw9_88efd_344",
|
|
27
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_88efd_351",
|
|
28
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_88efd_355",
|
|
29
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_88efd_362",
|
|
30
|
+
"heading": "awsui_heading_2qdw9_88efd_373",
|
|
31
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_88efd_384",
|
|
32
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_88efd_389",
|
|
33
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_88efd_394",
|
|
34
|
+
"heading-text": "awsui_heading-text_2qdw9_88efd_400",
|
|
35
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_88efd_403",
|
|
36
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_88efd_411",
|
|
37
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_88efd_419",
|
|
38
|
+
"counter": "awsui_counter_2qdw9_88efd_428"
|
|
39
39
|
};
|
|
40
40
|
|
package/internal/environment.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (36bdac5a)";
|
|
3
|
+
export var GIT_SHA = "36bdac5a";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var ALWAYS_VISUAL_REFRESH = true;
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"./internal/base-component/index.js",
|
|
150
150
|
"./internal/base-component/styles.css.js"
|
|
151
151
|
],
|
|
152
|
-
"version": "3.0.
|
|
152
|
+
"version": "3.0.1012",
|
|
153
153
|
"repository": {
|
|
154
154
|
"type": "git",
|
|
155
155
|
"url": "https://github.com/cloudscape-design/components.git"
|