@cloudscape-design/components 3.0.241 → 3.0.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app-layout/drawer/index.d.ts.map +1 -1
- package/app-layout/drawer/index.js +6 -3
- package/app-layout/drawer/index.js.map +1 -1
- package/attribute-editor/row.js +2 -2
- package/attribute-editor/row.js.map +1 -1
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +3 -2
- package/autosuggest/internal.js.map +1 -1
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +251 -251
- package/box/styles.selectors.js +189 -189
- package/button/interfaces.d.ts +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +6 -6
- package/button/internal.js.map +1 -1
- package/code-editor/index.d.ts.map +1 -1
- package/code-editor/index.js +3 -2
- package/code-editor/index.js.map +1 -1
- package/code-editor/status-bar.d.ts +1 -1
- package/code-editor/status-bar.d.ts.map +1 -1
- package/code-editor/status-bar.js.map +1 -1
- package/code-editor/tab-button.d.ts +1 -1
- package/code-editor/tab-button.d.ts.map +1 -1
- package/code-editor/tab-button.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts +1 -0
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +15 -8
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/interfaces.d.ts +3 -2
- package/expandable-section/interfaces.d.ts.map +1 -1
- package/expandable-section/interfaces.js.map +1 -1
- package/expandable-section/styles.css.js +23 -21
- package/expandable-section/styles.scoped.css +56 -47
- package/expandable-section/styles.selectors.js +23 -21
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +50 -50
- package/header/styles.selectors.js +44 -44
- package/internal/base-component/styles.scoped.css +9 -9
- package/internal/environment.js +1 -1
- package/internal/generated/styles/tokens.js +1 -1
- package/internal/generated/theming/index.cjs +12 -12
- package/internal/generated/theming/index.js +12 -12
- package/internal/hooks/use-unique-id/index.d.ts +0 -1
- package/internal/hooks/use-unique-id/index.d.ts.map +1 -1
- package/internal/hooks/use-unique-id/index.js +8 -6
- package/internal/hooks/use-unique-id/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +33 -33
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/property-filter-autosuggest.d.ts.map +1 -1
- package/property-filter/property-filter-autosuggest.js +3 -2
- package/property-filter/property-filter-autosuggest.js.map +1 -1
- package/select/parts/trigger.d.ts.map +1 -1
- package/select/parts/trigger.js +5 -4
- package/select/parts/trigger.js.map +1 -1
- package/table/header-cell/styles.css.js +19 -19
- package/table/header-cell/styles.scoped.css +43 -34
- package/table/header-cell/styles.selectors.js +19 -19
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +17 -14
- package/table/resizer/styles.selectors.js +6 -6
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +39 -39
- package/tabs/styles.selectors.js +21 -21
- package/tutorial-panel/components/tutorial-detail-view/task.js +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task.js.map +1 -1
|
@@ -2,49 +2,49 @@
|
|
|
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
|
-
"root-no-actions": "awsui_root-no-
|
|
7
|
-
"root-variant-h1": "awsui_root-variant-
|
|
8
|
-
"root-variant-h1-refresh": "awsui_root-variant-h1-
|
|
9
|
-
"root-variant-h2": "awsui_root-variant-
|
|
10
|
-
"root-has-description": "awsui_root-has-
|
|
11
|
-
"root-variant-h2-refresh": "awsui_root-variant-h2-
|
|
12
|
-
"root-variant-h3": "awsui_root-variant-
|
|
13
|
-
"root-variant-h3-refresh": "awsui_root-variant-h3-
|
|
14
|
-
"root-no-wrap": "awsui_root-no-
|
|
15
|
-
"main": "
|
|
16
|
-
"main-variant-h1": "awsui_main-variant-
|
|
17
|
-
"main-variant-h1-refresh": "awsui_main-variant-h1-
|
|
18
|
-
"main-variant-h2": "awsui_main-variant-
|
|
19
|
-
"main-variant-h3": "awsui_main-variant-
|
|
20
|
-
"main-variant-h2-refresh": "awsui_main-variant-h2-
|
|
21
|
-
"actions": "
|
|
22
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
23
|
-
"actions-variant-h1-refresh": "awsui_actions-variant-h1-
|
|
24
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
25
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
26
|
-
"actions-variant-h2-refresh": "awsui_actions-variant-h2-
|
|
27
|
-
"actions-variant-h3-refresh": "awsui_actions-variant-h3-
|
|
28
|
-
"title": "
|
|
29
|
-
"title-variant-h1": "awsui_title-variant-
|
|
30
|
-
"title-variant-h2": "awsui_title-variant-
|
|
31
|
-
"title-variant-h3": "awsui_title-variant-
|
|
32
|
-
"title-variant-h2-refresh": "awsui_title-variant-h2-
|
|
33
|
-
"info": "
|
|
34
|
-
"description": "
|
|
35
|
-
"description-variant-h1": "awsui_description-variant-
|
|
36
|
-
"description-variant-h1-refresh": "awsui_description-variant-h1-
|
|
37
|
-
"description-variant-h2": "awsui_description-variant-
|
|
38
|
-
"description-variant-h3": "awsui_description-variant-
|
|
39
|
-
"description-variant-h3-refresh": "awsui_description-variant-h3-
|
|
40
|
-
"heading": "
|
|
41
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
42
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
43
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
44
|
-
"heading-text": "awsui_heading-
|
|
45
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
46
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
47
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
48
|
-
"counter": "
|
|
5
|
+
"root": "awsui_root_2qdw9_8885v_93",
|
|
6
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_8885v_110",
|
|
7
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_8885v_110",
|
|
8
|
+
"root-variant-h1-refresh": "awsui_root-variant-h1-refresh_2qdw9_8885v_113",
|
|
9
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_8885v_116",
|
|
10
|
+
"root-has-description": "awsui_root-has-description_2qdw9_8885v_116",
|
|
11
|
+
"root-variant-h2-refresh": "awsui_root-variant-h2-refresh_2qdw9_8885v_119",
|
|
12
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_8885v_122",
|
|
13
|
+
"root-variant-h3-refresh": "awsui_root-variant-h3-refresh_2qdw9_8885v_125",
|
|
14
|
+
"root-no-wrap": "awsui_root-no-wrap_2qdw9_8885v_128",
|
|
15
|
+
"main": "awsui_main_2qdw9_8885v_132",
|
|
16
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_8885v_140",
|
|
17
|
+
"main-variant-h1-refresh": "awsui_main-variant-h1-refresh_2qdw9_8885v_143",
|
|
18
|
+
"main-variant-h2": "awsui_main-variant-h2_2qdw9_8885v_149",
|
|
19
|
+
"main-variant-h3": "awsui_main-variant-h3_2qdw9_8885v_149",
|
|
20
|
+
"main-variant-h2-refresh": "awsui_main-variant-h2-refresh_2qdw9_8885v_155",
|
|
21
|
+
"actions": "awsui_actions_2qdw9_8885v_162",
|
|
22
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_8885v_166",
|
|
23
|
+
"actions-variant-h1-refresh": "awsui_actions-variant-h1-refresh_2qdw9_8885v_169",
|
|
24
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_8885v_172",
|
|
25
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_8885v_172",
|
|
26
|
+
"actions-variant-h2-refresh": "awsui_actions-variant-h2-refresh_2qdw9_8885v_178",
|
|
27
|
+
"actions-variant-h3-refresh": "awsui_actions-variant-h3-refresh_2qdw9_8885v_181",
|
|
28
|
+
"title": "awsui_title_2qdw9_8885v_185",
|
|
29
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_8885v_191",
|
|
30
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_8885v_194",
|
|
31
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_8885v_194",
|
|
32
|
+
"title-variant-h2-refresh": "awsui_title-variant-h2-refresh_2qdw9_8885v_200",
|
|
33
|
+
"info": "awsui_info_2qdw9_8885v_207",
|
|
34
|
+
"description": "awsui_description_2qdw9_8885v_211",
|
|
35
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_8885v_216",
|
|
36
|
+
"description-variant-h1-refresh": "awsui_description-variant-h1-refresh_2qdw9_8885v_221",
|
|
37
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_8885v_224",
|
|
38
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_8885v_229",
|
|
39
|
+
"description-variant-h3-refresh": "awsui_description-variant-h3-refresh_2qdw9_8885v_235",
|
|
40
|
+
"heading": "awsui_heading_2qdw9_8885v_239",
|
|
41
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_8885v_248",
|
|
42
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_8885v_253",
|
|
43
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_8885v_258",
|
|
44
|
+
"heading-text": "awsui_heading-text_2qdw9_8885v_264",
|
|
45
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_8885v_267",
|
|
46
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_8885v_275",
|
|
47
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_8885v_283",
|
|
48
|
+
"counter": "awsui_counter_2qdw9_8885v_292"
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
--space-container-horizontal-tlw03i:20px;
|
|
502
502
|
--space-content-header-padding-bottom-nvqytg:24px;
|
|
503
503
|
--space-dark-header-overlap-distance-hfejul:36px;
|
|
504
|
-
--space-expandable-section-icon-offset-top-
|
|
504
|
+
--space-expandable-section-icon-offset-top-q2xewd:4px;
|
|
505
505
|
--space-field-horizontal-89h2yr:12px;
|
|
506
506
|
--space-field-icon-offset-25xih0:36px;
|
|
507
507
|
--space-filtering-token-dismiss-button-focus-outline-gutter-itb5fd:-5px;
|
|
@@ -531,13 +531,13 @@
|
|
|
531
531
|
--space-table-footer-horizontal-8o6sk8:0px;
|
|
532
532
|
--space-tabs-focus-outline-gutter-64zu5e:-8px;
|
|
533
533
|
--space-text-grid-vertical-tj8m1c:16px;
|
|
534
|
-
--space-scaled-2x-xxs-
|
|
534
|
+
--space-scaled-2x-xxs-40awim:4px;
|
|
535
535
|
--space-scaled-2x-s-9svxjy:12px;
|
|
536
536
|
--space-scaled-2x-l-yejodm:20px;
|
|
537
537
|
--space-scaled-2x-xl-x30c9w:24px;
|
|
538
538
|
--space-scaled-2x-xxxl-lbp35j:40px;
|
|
539
|
-
--space-scaled-none-
|
|
540
|
-
--space-scaled-xxxs-
|
|
539
|
+
--space-scaled-none-dn9rwf:0px;
|
|
540
|
+
--space-scaled-xxxs-lo883m:2px;
|
|
541
541
|
--space-scaled-xxs-95dhkm:4px;
|
|
542
542
|
--space-scaled-xs-6859qs:8px;
|
|
543
543
|
--space-scaled-s-cu1hzn:12px;
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
--space-static-xl-g2lpmk:24px;
|
|
556
556
|
--space-static-xxl-m6qwv3:32px;
|
|
557
557
|
--space-static-xxxl-66ty0h:40px;
|
|
558
|
-
--space-none-
|
|
558
|
+
--space-none-5rtv4g:0px;
|
|
559
559
|
--space-xxxs-k2w98v:2px;
|
|
560
560
|
--space-xxs-ynfts5:4px;
|
|
561
561
|
--space-xs-rsr2qu:8px;
|
|
@@ -929,7 +929,7 @@
|
|
|
929
929
|
--space-button-icon-only-horizontal-nidslr:5px;
|
|
930
930
|
--space-content-header-padding-bottom-nvqytg:12px;
|
|
931
931
|
--space-dark-header-overlap-distance-hfejul:32px;
|
|
932
|
-
--space-expandable-section-icon-offset-top-
|
|
932
|
+
--space-expandable-section-icon-offset-top-q2xewd:0px;
|
|
933
933
|
--space-grid-gutter-0subky:16px;
|
|
934
934
|
--space-layout-content-bottom-kg9l42:24px;
|
|
935
935
|
--space-layout-toggle-padding-axl9jr:16px;
|
|
@@ -940,12 +940,12 @@
|
|
|
940
940
|
--space-tabs-content-top-mn4c9x:8px;
|
|
941
941
|
--space-table-content-top-t15dd1:8px;
|
|
942
942
|
--space-text-grid-vertical-tj8m1c:12px;
|
|
943
|
-
--space-scaled-2x-xxs-
|
|
943
|
+
--space-scaled-2x-xxs-40awim:0px;
|
|
944
944
|
--space-scaled-2x-s-9svxjy:4px;
|
|
945
945
|
--space-scaled-2x-l-yejodm:12px;
|
|
946
946
|
--space-scaled-2x-xl-x30c9w:16px;
|
|
947
947
|
--space-scaled-2x-xxxl-lbp35j:24px;
|
|
948
|
-
--space-scaled-xxxs-
|
|
948
|
+
--space-scaled-xxxs-lo883m:0px;
|
|
949
949
|
--space-scaled-xxs-95dhkm:2px;
|
|
950
950
|
--space-scaled-xs-6859qs:4px;
|
|
951
951
|
--space-scaled-s-cu1hzn:8px;
|
|
@@ -984,7 +984,7 @@
|
|
|
984
984
|
--space-tabs-content-top-mn4c9x:8px;
|
|
985
985
|
--space-table-content-top-t15dd1:8px;
|
|
986
986
|
--space-text-grid-vertical-tj8m1c:12px;
|
|
987
|
-
--space-scaled-xxxs-
|
|
987
|
+
--space-scaled-xxxs-lo883m:0px;
|
|
988
988
|
--space-scaled-xxs-95dhkm:2px;
|
|
989
989
|
--space-scaled-xs-6859qs:4px;
|
|
990
990
|
--space-scaled-s-cu1hzn:8px;
|
package/internal/environment.js
CHANGED
|
@@ -263,7 +263,7 @@ export var motionKeyframesStatusIconError = "var(--motion-keyframes-status-icon-
|
|
|
263
263
|
export var motionKeyframesScalePopup = "var(--motion-keyframes-scale-popup-3oea16, awsui-scale-popup-35003c)";
|
|
264
264
|
export var spaceContainerHorizontal = "var(--space-container-horizontal-tlw03i, 20px)";
|
|
265
265
|
export var spaceFieldHorizontal = "var(--space-field-horizontal-89h2yr, 12px)";
|
|
266
|
-
export var spaceScaledXxxs = "var(--space-scaled-xxxs-
|
|
266
|
+
export var spaceScaledXxxs = "var(--space-scaled-xxxs-lo883m, 2px)";
|
|
267
267
|
export var spaceScaledXxs = "var(--space-scaled-xxs-95dhkm, 4px)";
|
|
268
268
|
export var spaceScaledXs = "var(--space-scaled-xs-6859qs, 8px)";
|
|
269
269
|
export var spaceScaledS = "var(--space-scaled-s-cu1hzn, 12px)";
|
|
@@ -2148,8 +2148,8 @@ module.exports.preset = {
|
|
|
2148
2148
|
"compact": "{spaceXxxl}"
|
|
2149
2149
|
},
|
|
2150
2150
|
"spaceNone": {
|
|
2151
|
-
"comfortable": "
|
|
2152
|
-
"compact": "
|
|
2151
|
+
"comfortable": "0px",
|
|
2152
|
+
"compact": "0px"
|
|
2153
2153
|
},
|
|
2154
2154
|
"spaceXxxs": {
|
|
2155
2155
|
"comfortable": "2px",
|
|
@@ -2562,8 +2562,8 @@ module.exports.preset = {
|
|
|
2562
2562
|
"compact": "{spaceXxxl}"
|
|
2563
2563
|
},
|
|
2564
2564
|
"spaceNone": {
|
|
2565
|
-
"comfortable": "
|
|
2566
|
-
"compact": "
|
|
2565
|
+
"comfortable": "0px",
|
|
2566
|
+
"compact": "0px"
|
|
2567
2567
|
},
|
|
2568
2568
|
"spaceXxxs": {
|
|
2569
2569
|
"comfortable": "2px",
|
|
@@ -8343,7 +8343,7 @@ module.exports.preset = {
|
|
|
8343
8343
|
"spaceContainerHorizontal": "--space-container-horizontal-tlw03i",
|
|
8344
8344
|
"spaceContentHeaderPaddingBottom": "--space-content-header-padding-bottom-nvqytg",
|
|
8345
8345
|
"spaceDarkHeaderOverlapDistance": "--space-dark-header-overlap-distance-hfejul",
|
|
8346
|
-
"spaceExpandableSectionIconOffsetTop": "--space-expandable-section-icon-offset-top-
|
|
8346
|
+
"spaceExpandableSectionIconOffsetTop": "--space-expandable-section-icon-offset-top-q2xewd",
|
|
8347
8347
|
"spaceFieldHorizontal": "--space-field-horizontal-89h2yr",
|
|
8348
8348
|
"spaceFieldIconOffset": "--space-field-icon-offset-25xih0",
|
|
8349
8349
|
"spaceFilteringTokenDismissButtonFocusOutlineGutter": "--space-filtering-token-dismiss-button-focus-outline-gutter-itb5fd",
|
|
@@ -8373,18 +8373,18 @@ module.exports.preset = {
|
|
|
8373
8373
|
"spaceTableFooterHorizontal": "--space-table-footer-horizontal-8o6sk8",
|
|
8374
8374
|
"spaceTabsFocusOutlineGutter": "--space-tabs-focus-outline-gutter-64zu5e",
|
|
8375
8375
|
"spaceTextGridVertical": "--space-text-grid-vertical-tj8m1c",
|
|
8376
|
-
"spaceScaled2xNone": "--space-scaled-2x-none-
|
|
8377
|
-
"spaceScaled2xXxxs": "--space-scaled-2x-xxxs-
|
|
8378
|
-
"spaceScaled2xXxs": "--space-scaled-2x-xxs-
|
|
8379
|
-
"spaceScaled2xXs": "--space-scaled-2x-xs-
|
|
8376
|
+
"spaceScaled2xNone": "--space-scaled-2x-none-5hsg85",
|
|
8377
|
+
"spaceScaled2xXxxs": "--space-scaled-2x-xxxs-g2hxk6",
|
|
8378
|
+
"spaceScaled2xXxs": "--space-scaled-2x-xxs-40awim",
|
|
8379
|
+
"spaceScaled2xXs": "--space-scaled-2x-xs-s844qk",
|
|
8380
8380
|
"spaceScaled2xS": "--space-scaled-2x-s-9svxjy",
|
|
8381
8381
|
"spaceScaled2xM": "--space-scaled-2x-m-gikx8n",
|
|
8382
8382
|
"spaceScaled2xL": "--space-scaled-2x-l-yejodm",
|
|
8383
8383
|
"spaceScaled2xXl": "--space-scaled-2x-xl-x30c9w",
|
|
8384
8384
|
"spaceScaled2xXxl": "--space-scaled-2x-xxl-fczkmf",
|
|
8385
8385
|
"spaceScaled2xXxxl": "--space-scaled-2x-xxxl-lbp35j",
|
|
8386
|
-
"spaceScaledNone": "--space-scaled-none-
|
|
8387
|
-
"spaceScaledXxxs": "--space-scaled-xxxs-
|
|
8386
|
+
"spaceScaledNone": "--space-scaled-none-dn9rwf",
|
|
8387
|
+
"spaceScaledXxxs": "--space-scaled-xxxs-lo883m",
|
|
8388
8388
|
"spaceScaledXxs": "--space-scaled-xxs-95dhkm",
|
|
8389
8389
|
"spaceScaledXs": "--space-scaled-xs-6859qs",
|
|
8390
8390
|
"spaceScaledS": "--space-scaled-s-cu1hzn",
|
|
@@ -8402,7 +8402,7 @@ module.exports.preset = {
|
|
|
8402
8402
|
"spaceStaticXl": "--space-static-xl-g2lpmk",
|
|
8403
8403
|
"spaceStaticXxl": "--space-static-xxl-m6qwv3",
|
|
8404
8404
|
"spaceStaticXxxl": "--space-static-xxxl-66ty0h",
|
|
8405
|
-
"spaceNone": "--space-none-
|
|
8405
|
+
"spaceNone": "--space-none-5rtv4g",
|
|
8406
8406
|
"spaceXxxs": "--space-xxxs-k2w98v",
|
|
8407
8407
|
"spaceXxs": "--space-xxs-ynfts5",
|
|
8408
8408
|
"spaceXs": "--space-xs-rsr2qu",
|
|
@@ -2148,8 +2148,8 @@ export var preset = {
|
|
|
2148
2148
|
"compact": "{spaceXxxl}"
|
|
2149
2149
|
},
|
|
2150
2150
|
"spaceNone": {
|
|
2151
|
-
"comfortable": "
|
|
2152
|
-
"compact": "
|
|
2151
|
+
"comfortable": "0px",
|
|
2152
|
+
"compact": "0px"
|
|
2153
2153
|
},
|
|
2154
2154
|
"spaceXxxs": {
|
|
2155
2155
|
"comfortable": "2px",
|
|
@@ -2562,8 +2562,8 @@ export var preset = {
|
|
|
2562
2562
|
"compact": "{spaceXxxl}"
|
|
2563
2563
|
},
|
|
2564
2564
|
"spaceNone": {
|
|
2565
|
-
"comfortable": "
|
|
2566
|
-
"compact": "
|
|
2565
|
+
"comfortable": "0px",
|
|
2566
|
+
"compact": "0px"
|
|
2567
2567
|
},
|
|
2568
2568
|
"spaceXxxs": {
|
|
2569
2569
|
"comfortable": "2px",
|
|
@@ -8343,7 +8343,7 @@ export var preset = {
|
|
|
8343
8343
|
"spaceContainerHorizontal": "--space-container-horizontal-tlw03i",
|
|
8344
8344
|
"spaceContentHeaderPaddingBottom": "--space-content-header-padding-bottom-nvqytg",
|
|
8345
8345
|
"spaceDarkHeaderOverlapDistance": "--space-dark-header-overlap-distance-hfejul",
|
|
8346
|
-
"spaceExpandableSectionIconOffsetTop": "--space-expandable-section-icon-offset-top-
|
|
8346
|
+
"spaceExpandableSectionIconOffsetTop": "--space-expandable-section-icon-offset-top-q2xewd",
|
|
8347
8347
|
"spaceFieldHorizontal": "--space-field-horizontal-89h2yr",
|
|
8348
8348
|
"spaceFieldIconOffset": "--space-field-icon-offset-25xih0",
|
|
8349
8349
|
"spaceFilteringTokenDismissButtonFocusOutlineGutter": "--space-filtering-token-dismiss-button-focus-outline-gutter-itb5fd",
|
|
@@ -8373,18 +8373,18 @@ export var preset = {
|
|
|
8373
8373
|
"spaceTableFooterHorizontal": "--space-table-footer-horizontal-8o6sk8",
|
|
8374
8374
|
"spaceTabsFocusOutlineGutter": "--space-tabs-focus-outline-gutter-64zu5e",
|
|
8375
8375
|
"spaceTextGridVertical": "--space-text-grid-vertical-tj8m1c",
|
|
8376
|
-
"spaceScaled2xNone": "--space-scaled-2x-none-
|
|
8377
|
-
"spaceScaled2xXxxs": "--space-scaled-2x-xxxs-
|
|
8378
|
-
"spaceScaled2xXxs": "--space-scaled-2x-xxs-
|
|
8379
|
-
"spaceScaled2xXs": "--space-scaled-2x-xs-
|
|
8376
|
+
"spaceScaled2xNone": "--space-scaled-2x-none-5hsg85",
|
|
8377
|
+
"spaceScaled2xXxxs": "--space-scaled-2x-xxxs-g2hxk6",
|
|
8378
|
+
"spaceScaled2xXxs": "--space-scaled-2x-xxs-40awim",
|
|
8379
|
+
"spaceScaled2xXs": "--space-scaled-2x-xs-s844qk",
|
|
8380
8380
|
"spaceScaled2xS": "--space-scaled-2x-s-9svxjy",
|
|
8381
8381
|
"spaceScaled2xM": "--space-scaled-2x-m-gikx8n",
|
|
8382
8382
|
"spaceScaled2xL": "--space-scaled-2x-l-yejodm",
|
|
8383
8383
|
"spaceScaled2xXl": "--space-scaled-2x-xl-x30c9w",
|
|
8384
8384
|
"spaceScaled2xXxl": "--space-scaled-2x-xxl-fczkmf",
|
|
8385
8385
|
"spaceScaled2xXxxl": "--space-scaled-2x-xxxl-lbp35j",
|
|
8386
|
-
"spaceScaledNone": "--space-scaled-none-
|
|
8387
|
-
"spaceScaledXxxs": "--space-scaled-xxxs-
|
|
8386
|
+
"spaceScaledNone": "--space-scaled-none-dn9rwf",
|
|
8387
|
+
"spaceScaledXxxs": "--space-scaled-xxxs-lo883m",
|
|
8388
8388
|
"spaceScaledXxs": "--space-scaled-xxs-95dhkm",
|
|
8389
8389
|
"spaceScaledXs": "--space-scaled-xs-6859qs",
|
|
8390
8390
|
"spaceScaledS": "--space-scaled-s-cu1hzn",
|
|
@@ -8402,7 +8402,7 @@ export var preset = {
|
|
|
8402
8402
|
"spaceStaticXl": "--space-static-xl-g2lpmk",
|
|
8403
8403
|
"spaceStaticXxl": "--space-static-xxl-m6qwv3",
|
|
8404
8404
|
"spaceStaticXxxl": "--space-static-xxxl-66ty0h",
|
|
8405
|
-
"spaceNone": "--space-none-
|
|
8405
|
+
"spaceNone": "--space-none-5rtv4g",
|
|
8406
8406
|
"spaceXxxs": "--space-xxxs-k2w98v",
|
|
8407
8407
|
"spaceXxs": "--space-xxs-ynfts5",
|
|
8408
8408
|
"spaceXs": "--space-xs-rsr2qu",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/use-unique-id/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/use-unique-id/index.ts"],"names":[],"mappings":"AAeA,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,UAE1C"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
var _a;
|
|
1
2
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import { useRef } from 'react';
|
|
4
|
+
import React, { useRef } from 'react';
|
|
4
5
|
let counter = 0;
|
|
5
|
-
|
|
6
|
-
return `${prefix ? prefix : ''}${counter++}-${Date.now()}-${Math.round(Math.random() * 10000)}`;
|
|
7
|
-
}
|
|
8
|
-
export function useUniqueId(prefix) {
|
|
6
|
+
const useIdFallback = () => {
|
|
9
7
|
const idRef = useRef(null);
|
|
10
8
|
if (!idRef.current) {
|
|
11
|
-
idRef.current =
|
|
9
|
+
idRef.current = `${counter++}-${Date.now()}-${Math.round(Math.random() * 10000)}`;
|
|
12
10
|
}
|
|
13
11
|
return idRef.current;
|
|
12
|
+
};
|
|
13
|
+
const useId = (_a = React.useId) !== null && _a !== void 0 ? _a : useIdFallback;
|
|
14
|
+
export function useUniqueId(prefix) {
|
|
15
|
+
return `${prefix ? prefix : ''}` + useId();
|
|
14
16
|
}
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/hooks/use-unique-id/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/hooks/use-unique-id/index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEtC,IAAI,OAAO,GAAG,CAAC,CAAC;AAChB,MAAM,aAAa,GAAG,GAAG,EAAE;IACzB,MAAM,KAAK,GAAG,MAAM,CAAgB,IAAI,CAAC,CAAC;IAC1C,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;QAClB,KAAK,CAAC,OAAO,GAAG,GAAG,OAAO,EAAE,IAAI,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;KACnF;IACD,OAAO,KAAK,CAAC,OAAO,CAAC;AACvB,CAAC,CAAC;AAEF,MAAM,KAAK,GAAyB,MAAC,KAAa,CAAC,KAAK,mCAAI,aAAa,CAAC;AAE1E,MAAM,UAAU,WAAW,CAAC,MAAe;IACzC,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,KAAK,EAAE,CAAC;AAC7C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\n\nlet counter = 0;\nconst useIdFallback = () => {\n const idRef = useRef<string | null>(null);\n if (!idRef.current) {\n idRef.current = `${counter++}-${Date.now()}-${Math.round(Math.random() * 10000)}`;\n }\n return idRef.current;\n};\n\nconst useId: typeof useIdFallback = (React as any).useId ?? useIdFallback;\n\nexport function useUniqueId(prefix?: string) {\n return `${prefix ? prefix : ''}` + useId();\n}\n"]}
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,23 +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
|
-
"progress-in-flash": "awsui_progress-in-
|
|
4
|
+
"progress": "awsui_progress_11huc_1flst_185",
|
|
5
|
+
"result-state": "awsui_result-state_11huc_1flst_199",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1flst_1",
|
|
7
|
+
"root": "awsui_root_11huc_1flst_221",
|
|
8
|
+
"with-result-button": "awsui_with-result-button_11huc_1flst_234",
|
|
9
|
+
"result-text": "awsui_result-text_11huc_1flst_238",
|
|
10
|
+
"result-container-error": "awsui_result-container-error_11huc_1flst_242",
|
|
11
|
+
"result-container-success": "awsui_result-container-success_11huc_1flst_242",
|
|
12
|
+
"result-button": "awsui_result-button_11huc_1flst_246",
|
|
13
|
+
"word-wrap": "awsui_word-wrap_11huc_1flst_251",
|
|
14
|
+
"label-flash": "awsui_label-flash_11huc_1flst_257",
|
|
15
|
+
"label-key-value": "awsui_label-key-value_11huc_1flst_261",
|
|
16
|
+
"flash": "awsui_flash_11huc_1flst_269",
|
|
17
|
+
"progress-container": "awsui_progress-container_11huc_1flst_273",
|
|
18
|
+
"percentage-container": "awsui_percentage-container_11huc_1flst_280",
|
|
19
|
+
"percentage": "awsui_percentage_11huc_1flst_280",
|
|
20
|
+
"complete": "awsui_complete_11huc_1flst_315",
|
|
21
|
+
"progress-in-flash": "awsui_progress-in-flash_11huc_1flst_330"
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -182,27 +182,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
183
183
|
SPDX-License-Identifier: Apache-2.0
|
|
184
184
|
*/
|
|
185
|
-
.
|
|
185
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-value {
|
|
186
186
|
-webkit-transition: width var(--motion-duration-moderate-vgx1te, 135ms) linear;
|
|
187
187
|
transition: width var(--motion-duration-moderate-vgx1te, 135ms) linear;
|
|
188
188
|
}
|
|
189
189
|
@media (prefers-reduced-motion: reduce) {
|
|
190
|
-
.
|
|
190
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-value {
|
|
191
191
|
animation: none;
|
|
192
192
|
-webkit-transition: none;
|
|
193
193
|
transition: none;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
.awsui-motion-disabled .
|
|
196
|
+
.awsui-motion-disabled .awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-value {
|
|
197
197
|
animation: none;
|
|
198
198
|
-webkit-transition: none;
|
|
199
199
|
transition: none;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.awsui_result-
|
|
203
|
-
animation: awsui_awsui-motion-fade-
|
|
202
|
+
.awsui_result-state_11huc_1flst_199:not(#\9) {
|
|
203
|
+
animation: awsui_awsui-motion-fade-in_11huc_1flst_1 var(--motion-duration-transition-show-paced-ai4wlf, 180ms) var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
|
|
204
204
|
}
|
|
205
|
-
@keyframes awsui_awsui-motion-fade-
|
|
205
|
+
@keyframes awsui_awsui-motion-fade-in_11huc_1flst_1 {
|
|
206
206
|
from {
|
|
207
207
|
opacity: 0.2;
|
|
208
208
|
}
|
|
@@ -211,17 +211,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
@media (prefers-reduced-motion: reduce) {
|
|
214
|
-
.awsui_result-
|
|
214
|
+
.awsui_result-state_11huc_1flst_199:not(#\9) {
|
|
215
215
|
animation: none;
|
|
216
216
|
transition: none;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
.awsui-motion-disabled .awsui_result-
|
|
219
|
+
.awsui-motion-disabled .awsui_result-state_11huc_1flst_199:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_1flst_199:not(#\9) {
|
|
220
220
|
animation: none;
|
|
221
221
|
transition: none;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.
|
|
224
|
+
.awsui_root_11huc_1flst_221:not(#\9) {
|
|
225
225
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
226
226
|
border-collapse: separate;
|
|
227
227
|
border-spacing: 0;
|
|
@@ -260,53 +260,53 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
260
260
|
-moz-osx-font-smoothing: auto;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.awsui_with-result-
|
|
263
|
+
.awsui_with-result-button_11huc_1flst_234:not(#\9) {
|
|
264
264
|
padding-right: var(--space-m-17eucw, 16px);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
.awsui_result-
|
|
267
|
+
.awsui_result-text_11huc_1flst_238:not(#\9) {
|
|
268
268
|
/* used in test-utils */
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.awsui_result-container-
|
|
271
|
+
.awsui_result-container-error_11huc_1flst_242:not(#\9), .awsui_result-container-success_11huc_1flst_242:not(#\9) {
|
|
272
272
|
/* used in test-utils */
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.awsui_result-
|
|
275
|
+
.awsui_result-button_11huc_1flst_246:not(#\9) {
|
|
276
276
|
display: inline-block;
|
|
277
277
|
margin: var(--space-scaled-xxs-95dhkm, 4px) 0;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.awsui_word-
|
|
280
|
+
.awsui_word-wrap_11huc_1flst_251:not(#\9) {
|
|
281
281
|
min-width: 0;
|
|
282
282
|
-ms-word-break: break-all;
|
|
283
283
|
word-break: break-word;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.awsui_label-
|
|
286
|
+
.awsui_label-flash_11huc_1flst_257:not(#\9) {
|
|
287
287
|
color: "inherit";
|
|
288
288
|
font-weight: 700;
|
|
289
289
|
}
|
|
290
|
-
.awsui_label-key-
|
|
290
|
+
.awsui_label-key-value_11huc_1flst_261:not(#\9) {
|
|
291
291
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
292
292
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
293
293
|
font-weight: var(--font-display-label-weight-m18hjh, 700);
|
|
294
294
|
color: var(--color-text-label-gxskdy, #000716);
|
|
295
|
-
margin-bottom: var(--space-scaled-xxxs-
|
|
295
|
+
margin-bottom: var(--space-scaled-xxxs-lo883m, 2px);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.
|
|
298
|
+
.awsui_flash_11huc_1flst_269:not(#\9) {
|
|
299
299
|
color: inherit;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.awsui_progress-
|
|
302
|
+
.awsui_progress-container_11huc_1flst_273:not(#\9) {
|
|
303
303
|
display: flex;
|
|
304
304
|
align-items: center;
|
|
305
305
|
max-width: 800px;
|
|
306
306
|
height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
.awsui_percentage-
|
|
309
|
+
.awsui_percentage-container_11huc_1flst_280:not(#\9) {
|
|
310
310
|
width: 33px;
|
|
311
311
|
flex-shrink: 0;
|
|
312
312
|
white-space: nowrap;
|
|
@@ -316,11 +316,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
316
316
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.
|
|
319
|
+
.awsui_percentage_11huc_1flst_280:not(#\9) {
|
|
320
320
|
/* used in test-utils */
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
.
|
|
323
|
+
.awsui_progress_11huc_1flst_185:not(#\9) {
|
|
324
324
|
width: 100%;
|
|
325
325
|
margin-right: var(--space-s-hv8c1d, 12px);
|
|
326
326
|
min-width: 0;
|
|
@@ -330,44 +330,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
330
330
|
border-radius: 10px;
|
|
331
331
|
background-color: var(--color-background-progress-bar-layout-default-9xbpym, #e9ebed);
|
|
332
332
|
}
|
|
333
|
-
.
|
|
333
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-bar {
|
|
334
334
|
height: 4px;
|
|
335
335
|
border: 0 none;
|
|
336
336
|
box-sizing: border-box;
|
|
337
337
|
border-radius: 10px;
|
|
338
338
|
background-color: var(--color-background-progress-bar-layout-default-9xbpym, #e9ebed);
|
|
339
339
|
}
|
|
340
|
-
.
|
|
340
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-webkit-progress-value {
|
|
341
341
|
border-radius: 10px 0px 0px 10px;
|
|
342
342
|
background-color: var(--color-background-progress-bar-content-default-r4tyyh, #0972d3);
|
|
343
343
|
}
|
|
344
|
-
.
|
|
344
|
+
.awsui_progress_11huc_1flst_185.awsui_complete_11huc_1flst_315:not(#\9)::-webkit-progress-value {
|
|
345
345
|
border-radius: 10px;
|
|
346
346
|
}
|
|
347
|
-
.
|
|
347
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-moz-progress-bar {
|
|
348
348
|
border-radius: 10px 0px 0px 10px;
|
|
349
349
|
background-color: var(--color-background-progress-bar-content-default-r4tyyh, #0972d3);
|
|
350
350
|
}
|
|
351
|
-
.
|
|
351
|
+
.awsui_progress_11huc_1flst_185:not(#\9)::-ms-fill {
|
|
352
352
|
border-radius: 10px 0px 0px 10px;
|
|
353
353
|
background-color: #0073bb;
|
|
354
354
|
border: none;
|
|
355
355
|
}
|
|
356
|
-
.
|
|
356
|
+
.awsui_progress_11huc_1flst_185.awsui_complete_11huc_1flst_315:not(#\9)::-ms-fill {
|
|
357
357
|
border-radius: 10px;
|
|
358
358
|
}
|
|
359
|
-
.
|
|
359
|
+
.awsui_progress_11huc_1flst_185.awsui_progress-in-flash_11huc_1flst_330:not(#\9) {
|
|
360
360
|
background-color: var(--color-background-progress-bar-layout-in-flash-phmfak, rgba(255, 255, 255, 0.25));
|
|
361
361
|
}
|
|
362
|
-
.
|
|
362
|
+
.awsui_progress_11huc_1flst_185.awsui_progress-in-flash_11huc_1flst_330:not(#\9)::-webkit-progress-bar {
|
|
363
363
|
background-color: var(--color-background-progress-bar-layout-in-flash-phmfak, rgba(255, 255, 255, 0.25));
|
|
364
364
|
}
|
|
365
|
-
.
|
|
365
|
+
.awsui_progress_11huc_1flst_185.awsui_progress-in-flash_11huc_1flst_330:not(#\9)::-webkit-progress-value {
|
|
366
366
|
background-color: var(--color-background-progress-bar-content-in-flash-37g8fy, #ffffff);
|
|
367
367
|
}
|
|
368
|
-
.
|
|
368
|
+
.awsui_progress_11huc_1flst_185.awsui_progress-in-flash_11huc_1flst_330:not(#\9)::-moz-progress-bar {
|
|
369
369
|
background-color: var(--color-background-progress-bar-content-in-flash-37g8fy, #ffffff);
|
|
370
370
|
}
|
|
371
|
-
.
|
|
371
|
+
.awsui_progress_11huc_1flst_185.awsui_progress-in-flash_11huc_1flst_330:not(#\9)::-ms-fill {
|
|
372
372
|
background-color: rgba(255, 255, 255, 0.7);
|
|
373
373
|
}
|