@cloudscape-design/components 3.0.1191 → 3.0.1192
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/autosuggest/autosuggest-option.d.ts +11 -1
- package/autosuggest/autosuggest-option.d.ts.map +1 -1
- package/autosuggest/autosuggest-option.js +71 -2
- package/autosuggest/autosuggest-option.js.map +1 -1
- package/autosuggest/index.d.ts.map +1 -1
- package/autosuggest/index.js +2 -2
- package/autosuggest/index.js.map +1 -1
- package/autosuggest/interfaces.d.ts +63 -1
- package/autosuggest/interfaces.d.ts.map +1 -1
- package/autosuggest/interfaces.js.map +1 -1
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +2 -2
- package/autosuggest/internal.js.map +1 -1
- package/autosuggest/options-controller.js +1 -0
- package/autosuggest/options-controller.js.map +1 -1
- package/autosuggest/options-list.d.ts +3 -1
- package/autosuggest/options-list.d.ts.map +1 -1
- package/autosuggest/options-list.js +2 -2
- package/autosuggest/options-list.js.map +1 -1
- package/autosuggest/plain-list.d.ts +4 -2
- package/autosuggest/plain-list.d.ts.map +1 -1
- package/autosuggest/plain-list.js +6 -2
- package/autosuggest/plain-list.js.map +1 -1
- package/autosuggest/utils/parent-props.d.ts +10 -0
- package/autosuggest/utils/parent-props.d.ts.map +1 -0
- package/autosuggest/utils/parent-props.js +28 -0
- package/autosuggest/utils/parent-props.js.map +1 -0
- package/autosuggest/virtual-list.d.ts +2 -1
- package/autosuggest/virtual-list.d.ts.map +1 -1
- package/autosuggest/virtual-list.js +6 -2
- package/autosuggest/virtual-list.js.map +1 -1
- package/internal/base-component/styles.scoped.css +15 -15
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +0 -2
- package/internal/generated/styles/tokens.js +2 -4
- package/internal/generated/theming/index.cjs +2 -64
- package/internal/generated/theming/index.js +2 -64
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/progress-bar/interfaces.d.ts +1 -1
- package/progress-bar/interfaces.js.map +1 -1
- package/progress-bar/internal.d.ts.map +1 -1
- package/progress-bar/internal.js +1 -1
- package/progress-bar/internal.js.map +1 -1
- package/progress-bar/styles.css.js +18 -19
- package/progress-bar/styles.scoped.css +30 -42
- package/progress-bar/styles.selectors.js +18 -19
|
@@ -1411,18 +1411,10 @@ export var preset = {
|
|
|
1411
1411
|
"light": "{colorPrimary600}",
|
|
1412
1412
|
"dark": "{colorPrimary400}"
|
|
1413
1413
|
},
|
|
1414
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
1415
|
-
"light": "{colorWhite}",
|
|
1416
|
-
"dark": "{colorWhite}"
|
|
1417
|
-
},
|
|
1418
1414
|
"colorBackgroundProgressBarDefault": {
|
|
1419
1415
|
"light": "{colorNeutral250}",
|
|
1420
1416
|
"dark": "{colorNeutral700}"
|
|
1421
1417
|
},
|
|
1422
|
-
"colorBackgroundProgressBarInFlash": {
|
|
1423
|
-
"light": "{colorGreyOpaque25}",
|
|
1424
|
-
"dark": "{colorGreyOpaque25}"
|
|
1425
|
-
},
|
|
1426
1418
|
"colorBackgroundSegmentActive": {
|
|
1427
1419
|
"light": "{colorPrimary600}",
|
|
1428
1420
|
"dark": "{colorPrimary400}"
|
|
@@ -3728,18 +3720,10 @@ export var preset = {
|
|
|
3728
3720
|
"light": "{colorPrimary400}",
|
|
3729
3721
|
"dark": "{colorPrimary400}"
|
|
3730
3722
|
},
|
|
3731
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
3732
|
-
"light": "{colorWhite}",
|
|
3733
|
-
"dark": "{colorWhite}"
|
|
3734
|
-
},
|
|
3735
3723
|
"colorBackgroundProgressBarDefault": {
|
|
3736
3724
|
"light": "{colorNeutral700}",
|
|
3737
3725
|
"dark": "{colorNeutral700}"
|
|
3738
3726
|
},
|
|
3739
|
-
"colorBackgroundProgressBarInFlash": {
|
|
3740
|
-
"light": "{colorGreyOpaque25}",
|
|
3741
|
-
"dark": "{colorGreyOpaque25}"
|
|
3742
|
-
},
|
|
3743
3727
|
"colorBackgroundSegmentActive": {
|
|
3744
3728
|
"light": "{colorPrimary400}",
|
|
3745
3729
|
"dark": "{colorPrimary400}"
|
|
@@ -5053,18 +5037,10 @@ export var preset = {
|
|
|
5053
5037
|
"light": "{colorPrimary400}",
|
|
5054
5038
|
"dark": "{colorPrimary400}"
|
|
5055
5039
|
},
|
|
5056
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
5057
|
-
"light": "{colorWhite}",
|
|
5058
|
-
"dark": "{colorWhite}"
|
|
5059
|
-
},
|
|
5060
5040
|
"colorBackgroundProgressBarDefault": {
|
|
5061
5041
|
"light": "{colorNeutral700}",
|
|
5062
5042
|
"dark": "{colorNeutral700}"
|
|
5063
5043
|
},
|
|
5064
|
-
"colorBackgroundProgressBarInFlash": {
|
|
5065
|
-
"light": "{colorGreyOpaque25}",
|
|
5066
|
-
"dark": "{colorGreyOpaque25}"
|
|
5067
|
-
},
|
|
5068
5044
|
"colorBackgroundSegmentActive": {
|
|
5069
5045
|
"light": "{colorPrimary400}",
|
|
5070
5046
|
"dark": "{colorPrimary400}"
|
|
@@ -6311,18 +6287,10 @@ export var preset = {
|
|
|
6311
6287
|
"dark": "{colorNeutral800}"
|
|
6312
6288
|
},
|
|
6313
6289
|
"colorBackgroundProgressBarValueDefault": {
|
|
6314
|
-
"light": "{colorPrimary600}",
|
|
6315
|
-
"dark": "{colorPrimary400}"
|
|
6316
|
-
},
|
|
6317
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
6318
6290
|
"light": "{colorWhite}",
|
|
6319
6291
|
"dark": "{colorWhite}"
|
|
6320
6292
|
},
|
|
6321
6293
|
"colorBackgroundProgressBarDefault": {
|
|
6322
|
-
"light": "{colorNeutral250}",
|
|
6323
|
-
"dark": "{colorNeutral700}"
|
|
6324
|
-
},
|
|
6325
|
-
"colorBackgroundProgressBarInFlash": {
|
|
6326
6294
|
"light": "{colorGreyOpaque25}",
|
|
6327
6295
|
"dark": "{colorGreyOpaque25}"
|
|
6328
6296
|
},
|
|
@@ -7457,18 +7425,10 @@ export var preset = {
|
|
|
7457
7425
|
"dark": "{colorNeutral800}"
|
|
7458
7426
|
},
|
|
7459
7427
|
"colorBackgroundProgressBarValueDefault": {
|
|
7460
|
-
"light": "{colorPrimary600}",
|
|
7461
|
-
"dark": "{colorPrimary400}"
|
|
7462
|
-
},
|
|
7463
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
7464
7428
|
"light": "{colorNeutral950}",
|
|
7465
7429
|
"dark": "{colorNeutral950}"
|
|
7466
7430
|
},
|
|
7467
7431
|
"colorBackgroundProgressBarDefault": {
|
|
7468
|
-
"light": "{colorNeutral250}",
|
|
7469
|
-
"dark": "{colorNeutral700}"
|
|
7470
|
-
},
|
|
7471
|
-
"colorBackgroundProgressBarInFlash": {
|
|
7472
7432
|
"light": "{colorGreyOpaque10}",
|
|
7473
7433
|
"dark": "{colorGreyOpaque10}"
|
|
7474
7434
|
},
|
|
@@ -8606,18 +8566,10 @@ export var preset = {
|
|
|
8606
8566
|
"light": "{colorPrimary600}",
|
|
8607
8567
|
"dark": "{colorPrimary400}"
|
|
8608
8568
|
},
|
|
8609
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
8610
|
-
"light": "{colorWhite}",
|
|
8611
|
-
"dark": "{colorWhite}"
|
|
8612
|
-
},
|
|
8613
8569
|
"colorBackgroundProgressBarDefault": {
|
|
8614
8570
|
"light": "{colorNeutral250}",
|
|
8615
8571
|
"dark": "{colorNeutral700}"
|
|
8616
8572
|
},
|
|
8617
|
-
"colorBackgroundProgressBarInFlash": {
|
|
8618
|
-
"light": "{colorGreyOpaque25}",
|
|
8619
|
-
"dark": "{colorGreyOpaque25}"
|
|
8620
|
-
},
|
|
8621
8573
|
"colorBackgroundSegmentActive": {
|
|
8622
8574
|
"light": "{colorPrimary600}",
|
|
8623
8575
|
"dark": "{colorPrimary400}"
|
|
@@ -9754,18 +9706,10 @@ export var preset = {
|
|
|
9754
9706
|
"light": "{colorPrimary400}",
|
|
9755
9707
|
"dark": "{colorPrimary400}"
|
|
9756
9708
|
},
|
|
9757
|
-
"colorBackgroundProgressBarValueInFlash": {
|
|
9758
|
-
"light": "{colorWhite}",
|
|
9759
|
-
"dark": "{colorWhite}"
|
|
9760
|
-
},
|
|
9761
9709
|
"colorBackgroundProgressBarDefault": {
|
|
9762
9710
|
"light": "{colorNeutral700}",
|
|
9763
9711
|
"dark": "{colorNeutral700}"
|
|
9764
9712
|
},
|
|
9765
|
-
"colorBackgroundProgressBarInFlash": {
|
|
9766
|
-
"light": "{colorGreyOpaque25}",
|
|
9767
|
-
"dark": "{colorGreyOpaque25}"
|
|
9768
|
-
},
|
|
9769
9713
|
"colorBackgroundSegmentActive": {
|
|
9770
9714
|
"light": "{colorPrimary400}",
|
|
9771
9715
|
"dark": "{colorPrimary400}"
|
|
@@ -10963,9 +10907,7 @@ export var preset = {
|
|
|
10963
10907
|
"colorBackgroundNotificationStackBarHover": "color",
|
|
10964
10908
|
"colorBackgroundPopover": "color",
|
|
10965
10909
|
"colorBackgroundProgressBarValueDefault": "color",
|
|
10966
|
-
"colorBackgroundProgressBarValueInFlash": "color",
|
|
10967
10910
|
"colorBackgroundProgressBarDefault": "color",
|
|
10968
|
-
"colorBackgroundProgressBarInFlash": "color",
|
|
10969
10911
|
"colorBackgroundSegmentActive": "color",
|
|
10970
10912
|
"colorBackgroundSegmentDefault": "color",
|
|
10971
10913
|
"colorBackgroundSegmentDisabled": "color",
|
|
@@ -12599,9 +12541,7 @@ export var preset = {
|
|
|
12599
12541
|
"colorBackgroundNotificationStackBarHover": "color-background-notification-stack-bar-hover",
|
|
12600
12542
|
"colorBackgroundPopover": "color-background-popover",
|
|
12601
12543
|
"colorBackgroundProgressBarValueDefault": "color-background-progress-bar-value-default",
|
|
12602
|
-
"colorBackgroundProgressBarValueInFlash": "color-background-progress-bar-value-in-flash",
|
|
12603
12544
|
"colorBackgroundProgressBarDefault": "color-background-progress-bar-default",
|
|
12604
|
-
"colorBackgroundProgressBarInFlash": "color-background-progress-bar-in-flash",
|
|
12605
12545
|
"colorBackgroundSegmentActive": "color-background-segment-active",
|
|
12606
12546
|
"colorBackgroundSegmentDefault": "color-background-segment-default",
|
|
12607
12547
|
"colorBackgroundSegmentDisabled": "color-background-segment-disabled",
|
|
@@ -13419,10 +13359,8 @@ export var preset = {
|
|
|
13419
13359
|
"colorBackgroundNotificationStackBarActive": "--color-background-notification-stack-bar-active-a4h9r8",
|
|
13420
13360
|
"colorBackgroundNotificationStackBarHover": "--color-background-notification-stack-bar-hover-jh82oo",
|
|
13421
13361
|
"colorBackgroundPopover": "--color-background-popover-e20fy8",
|
|
13422
|
-
"colorBackgroundProgressBarValueDefault": "--color-background-progress-bar-value-default-
|
|
13423
|
-
"
|
|
13424
|
-
"colorBackgroundProgressBarDefault": "--color-background-progress-bar-default-4755ec",
|
|
13425
|
-
"colorBackgroundProgressBarInFlash": "--color-background-progress-bar-in-flash-f4k60b",
|
|
13362
|
+
"colorBackgroundProgressBarValueDefault": "--color-background-progress-bar-value-default-69ydqg",
|
|
13363
|
+
"colorBackgroundProgressBarDefault": "--color-background-progress-bar-default-j8kyxd",
|
|
13426
13364
|
"colorBackgroundSegmentActive": "--color-background-segment-active-1u2ldl",
|
|
13427
13365
|
"colorBackgroundSegmentDefault": "--color-background-segment-default-b0r494",
|
|
13428
13366
|
"colorBackgroundSegmentDisabled": "--color-background-segment-disabled-m2a5t7",
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"./internal/base-component/index.js",
|
|
160
160
|
"./internal/base-component/styles.css.js"
|
|
161
161
|
],
|
|
162
|
-
"version": "3.0.
|
|
162
|
+
"version": "3.0.1192",
|
|
163
163
|
"repository": {
|
|
164
164
|
"type": "git",
|
|
165
165
|
"url": "https://github.com/cloudscape-design/components.git"
|
|
@@ -16,7 +16,7 @@ export interface ProgressBarProps extends BaseComponentProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* Enables the correct styling of the progress bar in different contexts. You can set it to one of the following:
|
|
18
18
|
*
|
|
19
|
-
* - `"flash"` - Use this
|
|
19
|
+
* - `"flash"` - Use this variant when using the progress bar within a flash component.
|
|
20
20
|
* Note that the result button isn't displayed when using this variant.
|
|
21
21
|
* Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead of the result button provided by the progress bar.
|
|
22
22
|
* - `"key-value"` - Use this variant when using the progress bar within the key-value pairs pattern.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/progress-bar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface ProgressBarProps extends BaseComponentProps {\n /**\n * Indicates the current progress as a percentage. The value must be between 0 and 100. Decimals are rounded.\n */\n value?: number;\n\n /**\n * Specifies the status of the progress bar. You can set it to one of the following:\n *\n * - `\"in-progress\"` - Displays a progress bar.\n * - `\"success\"` or `\"error\"` - Displays a result state and replaces the progress element with a status indicator,\n * `resultText`, and a result button.\n */\n status?: ProgressBarProps.Status;\n\n /**\n * Enables the correct styling of the progress bar in different contexts. You can set it to one of the following:\n *\n * - `\"flash\"` - Use this
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/progress-bar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface ProgressBarProps extends BaseComponentProps {\n /**\n * Indicates the current progress as a percentage. The value must be between 0 and 100. Decimals are rounded.\n */\n value?: number;\n\n /**\n * Specifies the status of the progress bar. You can set it to one of the following:\n *\n * - `\"in-progress\"` - Displays a progress bar.\n * - `\"success\"` or `\"error\"` - Displays a result state and replaces the progress element with a status indicator,\n * `resultText`, and a result button.\n */\n status?: ProgressBarProps.Status;\n\n /**\n * Enables the correct styling of the progress bar in different contexts. You can set it to one of the following:\n *\n * - `\"flash\"` - Use this variant when using the progress bar within a flash component.\n * Note that the result button isn't displayed when using this variant.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead of the result button provided by the progress bar.\n * - `\"key-value\"` - Use this variant when using the progress bar within the key-value pairs pattern.\n * - `\"standalone\"` Use in all other cases. This is the default value.\n */\n variant?: ProgressBarProps.Variant;\n\n /**\n * Specifies the text for the button that's displayed when the `status` is set to `error` or `success`.\n * If `resultButtonText` is empty, the result button isn't displayed.\n *\n * Note: If you use the `flash` variant, the result button isn't displayed.\n * Add a button using the `action` property of the flashbar item instead.\n */\n resultButtonText?: string;\n\n /**\n * Adds an `aria-label` to the progress bar.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-labelledby` to the progress bar.\n */\n ariaLabelledby?: string;\n\n /**\n * Adds `aria-describedby` to the progress bar.\n */\n ariaDescribedby?: string;\n\n /**\n * Short description of the operation that appears at the top of the component.\n *\n * Make sure that you always provide a label for accessibility.\n */\n label?: React.ReactNode;\n\n /**\n * More detailed information about the operation that appears below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Information that's displayed below the progress bar or status text.\n */\n additionalInfo?: React.ReactNode;\n\n /**\n * Content that's displayed when `status` is set to `error` or `success`.\n */\n resultText?: React.ReactNode;\n\n /**\n * Called when the user clicks the result state button.\n *\n * Note: If you are using the `flash` variant, the result button isn't displayed.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead.\n */\n onResultButtonClick?: NonCancelableEventHandler;\n\n /**\n * @awsuiSystem core\n */\n style?: ProgressBarProps.Style;\n}\n\nexport namespace ProgressBarProps {\n export type Status = 'in-progress' | 'success' | 'error';\n export type Variant = 'standalone' | 'flash' | 'key-value';\n\n export interface Style {\n progressBar?: {\n backgroundColor?: string;\n borderRadius?: string;\n height?: string;\n };\n progressValue?: {\n backgroundColor?: string;\n };\n progressPercentage?: {\n color?: string;\n fontSize?: string;\n fontWeight?: string;\n };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAWhD,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC;CAChC;AAED,eAAO,MAAM,QAAQ,GAAI,yEAAyE,aAAa,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAWhD,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC;CAChC;AAED,eAAO,MAAM,QAAQ,GAAI,yEAAyE,aAAa,gBAmC9G,CAAC;AAEF,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,oCAAoC,cAAc,gBAM3E,CAAC;AAYF,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,GAAI,8DAA8D,gBAAgB,gBAqBzG,CAAC"}
|
package/progress-bar/internal.js
CHANGED
|
@@ -18,7 +18,7 @@ export const Progress = ({ value, isInFlash, ariaLabel, ariaLabelledby, ariaDesc
|
|
|
18
18
|
const progressValueStyles = getProgressValueStyles(style);
|
|
19
19
|
const progressPercentageStyles = getProgressPercentageStyles(style);
|
|
20
20
|
return (React.createElement("div", { className: styles['progress-container'] },
|
|
21
|
-
React.createElement("progress", { className: clsx(styles.progress, progressValue >= MAX_VALUE && styles.complete
|
|
21
|
+
React.createElement("progress", { className: clsx(styles.progress, progressValue >= MAX_VALUE && styles.complete), max: MAX_VALUE, value: progressValue, "aria-label": ariaLabel, "aria-labelledby": !ariaLabel ? ariaLabelledby : undefined, "aria-describedby": ariaDescribedby, style: {
|
|
22
22
|
...(progressBarStyles || {}),
|
|
23
23
|
...(progressValueStyles || {}),
|
|
24
24
|
} }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/progress-bar/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI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AU,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAoB,EAAE,EAAE;IAC5G,MAAM,eAAe,GAAG,CAAC,CAAC,gBAAgB,CAAC;IAE3C,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC;YAClD,8BAAM,SAAS,EAAE,MAAM,CAAC,aAAa,CAAC,IAAG,UAAU,CAAQ,CACvD,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC;QAClD,8BAAM,SAAS,EAAE,IAAI,CAAC,eAAe,IAAI,MAAM,CAAC,oBAAoB,CAAC,CAAC;YACpE,oBAAC,uBAAuB,IAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO;gBACvE,8BAAM,SAAS,EAAE,MAAM,CAAC,aAAa,CAAC,IAAG,UAAU,CAAQ,CACnC,CACrB;QACN,eAAe,IAAI,oBAAC,YAAY,IAAC,OAAO,EAAE,OAAO,IAAG,gBAAgB,CAAgB,CACjF,CACP,CAAC;AACJ,CAAC,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 { BoxProps } from '../box/interfaces';\nimport InternalBox from '../box/internal';\nimport { ButtonProps } from '../button/interfaces';\nimport { InternalButton } from '../button/internal';\nimport InternalStatusIndicator from '../status-indicator/internal';\nimport { ProgressBarProps } from './interfaces';\nimport { getProgressPercentageStyles, getProgressStyles, getProgressValueStyles } from './styles';\n\nimport styles from './styles.css.js';\n\nconst MAX_VALUE = 100;\n\nconst clamp = (value: number, lowerLimit: number, upperLimit: number) => {\n return Math.max(Math.min(value, upperLimit), lowerLimit);\n};\n\ninterface ProgressProps {\n value: number;\n isInFlash: boolean;\n ariaLabel?: string;\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n style?: ProgressBarProps.Style;\n}\n\nexport const Progress = ({ value, isInFlash, ariaLabel, ariaLabelledby, ariaDescribedby, style }: ProgressProps) => {\n const roundedValue = Math.round(value);\n const progressValue = clamp(roundedValue, 0, MAX_VALUE);\n\n const progressBarStyles = getProgressStyles(style);\n const progressValueStyles = getProgressValueStyles(style);\n const progressPercentageStyles = getProgressPercentageStyles(style);\n\n return (\n <div className={styles['progress-container']}>\n <progress\n className={clsx(styles.progress, progressValue >= MAX_VALUE && styles.complete)}\n max={MAX_VALUE}\n value={progressValue}\n aria-label={ariaLabel}\n // Ensures aria-label takes precedence over aria-labelledby\n aria-labelledby={!ariaLabel ? ariaLabelledby : undefined}\n aria-describedby={ariaDescribedby}\n style={{\n ...(progressBarStyles || {}),\n ...(progressValueStyles || {}),\n }}\n />\n <span aria-hidden=\"true\" className={styles['percentage-container']}>\n <InternalBox\n className={styles.percentage}\n variant=\"small\"\n color={isInFlash ? 'inherit' : undefined}\n nativeAttributes={progressPercentageStyles ? { style: progressPercentageStyles } : undefined}\n >\n {`${progressValue}%`}\n </InternalBox>\n </span>\n </div>\n );\n};\n\ninterface SmallTextProps {\n color?: BoxProps.Color;\n id?: string;\n children: React.ReactNode;\n className?: string;\n}\n\nexport const SmallText = ({ color, children, className, id }: SmallTextProps) => {\n return (\n <InternalBox className={clsx(styles['word-wrap'], className)} variant=\"small\" display=\"block\" color={color} id={id}>\n {children}\n </InternalBox>\n );\n};\n\nconst ResultButton = ({ onClick, children }: ButtonProps) => {\n return (\n <div className={styles['result-button']}>\n <InternalButton formAction=\"none\" onClick={onClick}>\n {children}\n </InternalButton>\n </div>\n );\n};\n\ninterface ResultStateProps {\n isInFlash: boolean;\n resultText: React.ReactNode;\n resultButtonText?: string;\n status: ProgressBarProps.Status;\n onClick: () => void;\n}\n\nexport const ResultState = ({ isInFlash, resultText, resultButtonText, status, onClick }: ResultStateProps) => {\n const hasResultButton = !!resultButtonText;\n\n if (isInFlash) {\n return (\n <div className={styles[`result-container-${status}`]}>\n <span className={styles['result-text']}>{resultText}</span>\n </div>\n );\n }\n\n return (\n <div className={styles[`result-container-${status}`]}>\n <span className={clsx(hasResultButton && styles['with-result-button'])}>\n <InternalStatusIndicator type={status === 'success' ? 'success' : 'error'}>\n <span className={styles['result-text']}>{resultText}</span>\n </InternalStatusIndicator>\n </span>\n {hasResultButton && <ResultButton onClick={onClick}>{resultButtonText}</ResultButton>}\n </div>\n );\n};\n"]}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"progress": "
|
|
5
|
-
"result-state": "awsui_result-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"root": "
|
|
8
|
-
"with-result-button": "awsui_with-result-
|
|
9
|
-
"result-text": "awsui_result-
|
|
10
|
-
"result-container-error": "awsui_result-container-
|
|
11
|
-
"result-container-success": "awsui_result-container-
|
|
12
|
-
"result-button": "awsui_result-
|
|
13
|
-
"word-wrap": "awsui_word-
|
|
14
|
-
"label-flash": "awsui_label-
|
|
15
|
-
"label-key-value": "awsui_label-key-
|
|
16
|
-
"flash": "
|
|
17
|
-
"progress-container": "awsui_progress-
|
|
18
|
-
"percentage-container": "awsui_percentage-
|
|
19
|
-
"percentage": "
|
|
20
|
-
"complete": "
|
|
21
|
-
"
|
|
22
|
-
"additional-info": "awsui_additional-info_11huc_15f24_375"
|
|
4
|
+
"progress": "awsui_progress_11huc_1oe95_189",
|
|
5
|
+
"result-state": "awsui_result-state_11huc_1oe95_203",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1oe95_1",
|
|
7
|
+
"root": "awsui_root_11huc_1oe95_225",
|
|
8
|
+
"with-result-button": "awsui_with-result-button_11huc_1oe95_257",
|
|
9
|
+
"result-text": "awsui_result-text_11huc_1oe95_261",
|
|
10
|
+
"result-container-error": "awsui_result-container-error_11huc_1oe95_265",
|
|
11
|
+
"result-container-success": "awsui_result-container-success_11huc_1oe95_265",
|
|
12
|
+
"result-button": "awsui_result-button_11huc_1oe95_269",
|
|
13
|
+
"word-wrap": "awsui_word-wrap_11huc_1oe95_275",
|
|
14
|
+
"label-flash": "awsui_label-flash_11huc_1oe95_280",
|
|
15
|
+
"label-key-value": "awsui_label-key-value_11huc_1oe95_284",
|
|
16
|
+
"flash": "awsui_flash_11huc_1oe95_292",
|
|
17
|
+
"progress-container": "awsui_progress-container_11huc_1oe95_296",
|
|
18
|
+
"percentage-container": "awsui_percentage-container_11huc_1oe95_303",
|
|
19
|
+
"percentage": "awsui_percentage_11huc_1oe95_303",
|
|
20
|
+
"complete": "awsui_complete_11huc_1oe95_349",
|
|
21
|
+
"additional-info": "awsui_additional-info_11huc_1oe95_363"
|
|
23
22
|
};
|
|
24
23
|
|
|
@@ -186,27 +186,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
186
186
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
187
187
|
SPDX-License-Identifier: Apache-2.0
|
|
188
188
|
*/
|
|
189
|
-
.
|
|
189
|
+
.awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-value {
|
|
190
190
|
-webkit-transition: width var(--motion-duration-moderate-c9utmg, 135ms) linear;
|
|
191
191
|
transition: width var(--motion-duration-moderate-c9utmg, 135ms) linear;
|
|
192
192
|
}
|
|
193
193
|
@media (prefers-reduced-motion: reduce) {
|
|
194
|
-
.
|
|
194
|
+
.awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-value {
|
|
195
195
|
animation: none;
|
|
196
196
|
-webkit-transition: none;
|
|
197
197
|
transition: none;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
.awsui-motion-disabled .
|
|
200
|
+
.awsui-motion-disabled .awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-value {
|
|
201
201
|
animation: none;
|
|
202
202
|
-webkit-transition: none;
|
|
203
203
|
transition: none;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.awsui_result-
|
|
207
|
-
animation: awsui_awsui-motion-fade-
|
|
206
|
+
.awsui_result-state_11huc_1oe95_203:not(#\9) {
|
|
207
|
+
animation: awsui_awsui-motion-fade-in_11huc_1oe95_1 var(--motion-duration-transition-show-paced-t8d1os, 180ms) var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
|
|
208
208
|
}
|
|
209
|
-
@keyframes awsui_awsui-motion-fade-
|
|
209
|
+
@keyframes awsui_awsui-motion-fade-in_11huc_1oe95_1 {
|
|
210
210
|
from {
|
|
211
211
|
opacity: 0.2;
|
|
212
212
|
}
|
|
@@ -215,17 +215,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
@media (prefers-reduced-motion: reduce) {
|
|
218
|
-
.awsui_result-
|
|
218
|
+
.awsui_result-state_11huc_1oe95_203:not(#\9) {
|
|
219
219
|
animation: none;
|
|
220
220
|
transition: none;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
.awsui-motion-disabled .awsui_result-
|
|
223
|
+
.awsui-motion-disabled .awsui_result-state_11huc_1oe95_203:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_1oe95_203:not(#\9) {
|
|
224
224
|
animation: none;
|
|
225
225
|
transition: none;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.
|
|
228
|
+
.awsui_root_11huc_1oe95_225:not(#\9) {
|
|
229
229
|
border-collapse: separate;
|
|
230
230
|
border-spacing: 0;
|
|
231
231
|
box-sizing: border-box;
|
|
@@ -257,34 +257,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
257
257
|
-moz-osx-font-smoothing: auto;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
.awsui_with-result-
|
|
260
|
+
.awsui_with-result-button_11huc_1oe95_257:not(#\9) {
|
|
261
261
|
padding-inline-end: var(--space-m-dsumyt, 16px);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.awsui_result-
|
|
264
|
+
.awsui_result-text_11huc_1oe95_261:not(#\9) {
|
|
265
265
|
/* used in test-utils */
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
.awsui_result-container-
|
|
268
|
+
.awsui_result-container-error_11huc_1oe95_265:not(#\9), .awsui_result-container-success_11huc_1oe95_265:not(#\9) {
|
|
269
269
|
/* used in test-utils */
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.awsui_result-
|
|
272
|
+
.awsui_result-button_11huc_1oe95_269:not(#\9) {
|
|
273
273
|
display: inline-block;
|
|
274
274
|
margin-block: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
275
275
|
margin-inline: 0;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.awsui_word-
|
|
278
|
+
.awsui_word-wrap_11huc_1oe95_275:not(#\9) {
|
|
279
279
|
min-inline-size: 0;
|
|
280
280
|
word-break: break-word;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.awsui_label-
|
|
283
|
+
.awsui_label-flash_11huc_1oe95_280:not(#\9) {
|
|
284
284
|
color: inherit;
|
|
285
285
|
font-weight: 700;
|
|
286
286
|
}
|
|
287
|
-
.awsui_label-key-
|
|
287
|
+
.awsui_label-key-value_11huc_1oe95_284:not(#\9) {
|
|
288
288
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
289
289
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
290
290
|
font-weight: var(--font-display-label-weight-zavpeo, 700);
|
|
@@ -292,18 +292,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
292
292
|
margin-block-end: var(--space-scaled-xxxs-oo06c7, 2px);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.
|
|
295
|
+
.awsui_flash_11huc_1oe95_292:not(#\9) {
|
|
296
296
|
color: inherit;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.awsui_progress-
|
|
299
|
+
.awsui_progress-container_11huc_1oe95_296:not(#\9) {
|
|
300
300
|
display: flex;
|
|
301
301
|
align-items: center;
|
|
302
302
|
max-inline-size: 800px;
|
|
303
303
|
block-size: var(--line-height-body-m-2mh3ke, 20px);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.awsui_percentage-
|
|
306
|
+
.awsui_percentage-container_11huc_1oe95_303:not(#\9) {
|
|
307
307
|
inline-size: 33px;
|
|
308
308
|
flex-shrink: 0;
|
|
309
309
|
white-space: nowrap;
|
|
@@ -313,11 +313,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
313
313
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
.
|
|
316
|
+
.awsui_percentage_11huc_1oe95_303:not(#\9) {
|
|
317
317
|
/* used in test-utils */
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
.
|
|
320
|
+
.awsui_progress_11huc_1oe95_189:not(#\9) {
|
|
321
321
|
inline-size: 100%;
|
|
322
322
|
margin-inline-end: var(--space-s-tvghoh, 12px);
|
|
323
323
|
min-inline-size: 0;
|
|
@@ -329,9 +329,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
329
329
|
border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
330
330
|
border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
331
331
|
border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
332
|
-
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-
|
|
332
|
+
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-j8kyxd, #ebebf0));
|
|
333
333
|
}
|
|
334
|
-
.
|
|
334
|
+
.awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-bar {
|
|
335
335
|
block-size: var(--awsui-progress-bar-height-4hh3rt, 4px);
|
|
336
336
|
border-block: 0;
|
|
337
337
|
border-inline: none;
|
|
@@ -340,41 +340,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
340
340
|
border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
341
341
|
border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
342
342
|
border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
343
|
-
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-
|
|
343
|
+
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-j8kyxd, #ebebf0));
|
|
344
344
|
}
|
|
345
|
-
.
|
|
345
|
+
.awsui_progress_11huc_1oe95_189:not(#\9)::-webkit-progress-value {
|
|
346
346
|
border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
347
347
|
border-start-end-radius: 0;
|
|
348
348
|
border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
349
349
|
border-end-end-radius: 0;
|
|
350
|
-
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-
|
|
350
|
+
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-69ydqg, #006ce0));
|
|
351
351
|
}
|
|
352
|
-
.
|
|
352
|
+
.awsui_progress_11huc_1oe95_189.awsui_complete_11huc_1oe95_349:not(#\9)::-webkit-progress-value {
|
|
353
353
|
border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
354
354
|
border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
355
355
|
border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
356
356
|
border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
357
357
|
}
|
|
358
|
-
.
|
|
358
|
+
.awsui_progress_11huc_1oe95_189:not(#\9)::-moz-progress-bar {
|
|
359
359
|
border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
360
360
|
border-start-end-radius: 0;
|
|
361
361
|
border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
|
|
362
362
|
border-end-end-radius: 0;
|
|
363
|
-
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-
|
|
364
|
-
}
|
|
365
|
-
.awsui_progress_11huc_15f24_189.awsui_progress-in-flash_11huc_15f24_362:not(#\9) {
|
|
366
|
-
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-in-flash-f4k60b, rgba(255, 255, 255, 0.25)));
|
|
367
|
-
}
|
|
368
|
-
.awsui_progress_11huc_15f24_189.awsui_progress-in-flash_11huc_15f24_362:not(#\9)::-moz-progress-bar {
|
|
369
|
-
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-in-flash-q2h8w5, #ffffff));
|
|
370
|
-
}
|
|
371
|
-
.awsui_progress_11huc_15f24_189.awsui_progress-in-flash_11huc_15f24_362:not(#\9)::-webkit-progress-bar {
|
|
372
|
-
background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-in-flash-f4k60b, rgba(255, 255, 255, 0.25)));
|
|
373
|
-
}
|
|
374
|
-
.awsui_progress_11huc_15f24_189.awsui_progress-in-flash_11huc_15f24_362:not(#\9)::-webkit-progress-value {
|
|
375
|
-
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-in-flash-q2h8w5, #ffffff));
|
|
363
|
+
background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-69ydqg, #006ce0));
|
|
376
364
|
}
|
|
377
365
|
|
|
378
|
-
.awsui_additional-
|
|
366
|
+
.awsui_additional-info_11huc_1oe95_363:not(#\9) {
|
|
379
367
|
/* used in test-utils */
|
|
380
368
|
}
|
|
@@ -2,24 +2,23 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"progress": "
|
|
6
|
-
"result-state": "awsui_result-
|
|
7
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
8
|
-
"root": "
|
|
9
|
-
"with-result-button": "awsui_with-result-
|
|
10
|
-
"result-text": "awsui_result-
|
|
11
|
-
"result-container-error": "awsui_result-container-
|
|
12
|
-
"result-container-success": "awsui_result-container-
|
|
13
|
-
"result-button": "awsui_result-
|
|
14
|
-
"word-wrap": "awsui_word-
|
|
15
|
-
"label-flash": "awsui_label-
|
|
16
|
-
"label-key-value": "awsui_label-key-
|
|
17
|
-
"flash": "
|
|
18
|
-
"progress-container": "awsui_progress-
|
|
19
|
-
"percentage-container": "awsui_percentage-
|
|
20
|
-
"percentage": "
|
|
21
|
-
"complete": "
|
|
22
|
-
"
|
|
23
|
-
"additional-info": "awsui_additional-info_11huc_15f24_375"
|
|
5
|
+
"progress": "awsui_progress_11huc_1oe95_189",
|
|
6
|
+
"result-state": "awsui_result-state_11huc_1oe95_203",
|
|
7
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1oe95_1",
|
|
8
|
+
"root": "awsui_root_11huc_1oe95_225",
|
|
9
|
+
"with-result-button": "awsui_with-result-button_11huc_1oe95_257",
|
|
10
|
+
"result-text": "awsui_result-text_11huc_1oe95_261",
|
|
11
|
+
"result-container-error": "awsui_result-container-error_11huc_1oe95_265",
|
|
12
|
+
"result-container-success": "awsui_result-container-success_11huc_1oe95_265",
|
|
13
|
+
"result-button": "awsui_result-button_11huc_1oe95_269",
|
|
14
|
+
"word-wrap": "awsui_word-wrap_11huc_1oe95_275",
|
|
15
|
+
"label-flash": "awsui_label-flash_11huc_1oe95_280",
|
|
16
|
+
"label-key-value": "awsui_label-key-value_11huc_1oe95_284",
|
|
17
|
+
"flash": "awsui_flash_11huc_1oe95_292",
|
|
18
|
+
"progress-container": "awsui_progress-container_11huc_1oe95_296",
|
|
19
|
+
"percentage-container": "awsui_percentage-container_11huc_1oe95_303",
|
|
20
|
+
"percentage": "awsui_percentage_11huc_1oe95_303",
|
|
21
|
+
"complete": "awsui_complete_11huc_1oe95_349",
|
|
22
|
+
"additional-info": "awsui_additional-info_11huc_1oe95_363"
|
|
24
23
|
};
|
|
25
24
|
|