@cloudscape-design/components 3.0.1274 → 3.0.1276

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.
Files changed (124) hide show
  1. package/action-card/index.d.ts +5 -0
  2. package/action-card/index.d.ts.map +1 -0
  3. package/action-card/index.js +30 -0
  4. package/action-card/index.js.map +1 -0
  5. package/action-card/interfaces.d.ts +79 -0
  6. package/action-card/interfaces.d.ts.map +1 -0
  7. package/action-card/interfaces.js +2 -0
  8. package/action-card/interfaces.js.map +1 -0
  9. package/action-card/internal.d.ts +6 -0
  10. package/action-card/internal.d.ts.map +1 -0
  11. package/action-card/internal.js +74 -0
  12. package/action-card/internal.js.map +1 -0
  13. package/action-card/styles.css.js +22 -0
  14. package/action-card/styles.scoped.css +580 -0
  15. package/action-card/styles.selectors.js +23 -0
  16. package/action-card/test-classes/styles.css.js +11 -0
  17. package/action-card/test-classes/styles.scoped.css +12 -0
  18. package/action-card/test-classes/styles.selectors.js +12 -0
  19. package/date-range-picker/index.d.ts.map +1 -1
  20. package/date-range-picker/index.js +7 -6
  21. package/date-range-picker/index.js.map +1 -1
  22. package/date-range-picker/interfaces.d.ts +8 -0
  23. package/date-range-picker/interfaces.d.ts.map +1 -1
  24. package/date-range-picker/interfaces.js.map +1 -1
  25. package/drawer/implementation.d.ts +7 -2
  26. package/drawer/implementation.d.ts.map +1 -1
  27. package/drawer/implementation.js +5 -2
  28. package/drawer/implementation.js.map +1 -1
  29. package/drawer/index.d.ts +11 -1
  30. package/drawer/index.d.ts.map +1 -1
  31. package/drawer/index.js +16 -4
  32. package/drawer/index.js.map +1 -1
  33. package/drawer/interfaces.d.ts +72 -7
  34. package/drawer/interfaces.d.ts.map +1 -1
  35. package/drawer/interfaces.js +2 -0
  36. package/drawer/interfaces.js.map +1 -1
  37. package/drawer/next.d.ts +16 -0
  38. package/drawer/next.d.ts.map +1 -0
  39. package/drawer/next.js +31 -0
  40. package/drawer/next.js.map +1 -0
  41. package/drawer/styles.css.js +16 -12
  42. package/drawer/styles.scoped.css +23 -17
  43. package/drawer/styles.selectors.js +16 -12
  44. package/drawer/utils.d.ts +12 -0
  45. package/drawer/utils.d.ts.map +1 -0
  46. package/drawer/utils.js +74 -0
  47. package/drawer/utils.js.map +1 -0
  48. package/i18n/dynamic.d.ts +1 -1
  49. package/i18n/testing.js +1 -1
  50. package/i18n/testing.js.map +1 -1
  51. package/index.d.ts +1 -0
  52. package/index.d.ts.map +1 -1
  53. package/index.js +1 -0
  54. package/index.js.map +1 -1
  55. package/internal/base-component/styles.scoped.css +85 -3
  56. package/internal/components/drag-handle/button.d.ts +1 -1
  57. package/internal/components/drag-handle/index.d.ts +1 -1
  58. package/internal/components/structured-item/styles.css.js +7 -7
  59. package/internal/components/structured-item/styles.scoped.css +9 -8
  60. package/internal/components/structured-item/styles.selectors.js +7 -7
  61. package/internal/environment.js +2 -2
  62. package/internal/environment.json +2 -2
  63. package/internal/generated/styles/tokens.d.ts +28 -1
  64. package/internal/generated/styles/tokens.js +28 -1
  65. package/internal/generated/theming/index.cjs +533 -4
  66. package/internal/generated/theming/index.cjs.d.ts +36 -0
  67. package/internal/generated/theming/index.d.ts +36 -0
  68. package/internal/generated/theming/index.js +533 -4
  69. package/internal/manifest.json +1 -1
  70. package/item-card/styles.css.js +14 -14
  71. package/item-card/styles.scoped.css +52 -52
  72. package/item-card/styles.selectors.js +14 -14
  73. package/package.json +2 -1
  74. package/select/parts/filter.d.ts +1 -1
  75. package/table/body-cell/styles.css.js +48 -48
  76. package/table/body-cell/styles.scoped.css +379 -379
  77. package/table/body-cell/styles.selectors.js +48 -48
  78. package/table/styles.css.js +34 -34
  79. package/table/styles.scoped.css +42 -42
  80. package/table/styles.selectors.js +34 -34
  81. package/test-utils/dom/action-card/index.d.ts +29 -0
  82. package/test-utils/dom/action-card/index.js +64 -0
  83. package/test-utils/dom/action-card/index.js.map +1 -0
  84. package/test-utils/dom/autosuggest/index.js +16 -17
  85. package/test-utils/dom/autosuggest/index.js.map +1 -1
  86. package/test-utils/dom/button-dropdown/index.js +1 -2
  87. package/test-utils/dom/button-dropdown/index.js.map +1 -1
  88. package/test-utils/dom/dropdown/index.d.ts +0 -1
  89. package/test-utils/dom/dropdown/index.js +0 -2
  90. package/test-utils/dom/dropdown/index.js.map +1 -1
  91. package/test-utils/dom/index.d.ts +28 -0
  92. package/test-utils/dom/index.js +21 -2
  93. package/test-utils/dom/index.js.map +1 -1
  94. package/test-utils/dom/internal/autosuggest-input.js +1 -2
  95. package/test-utils/dom/internal/autosuggest-input.js.map +1 -1
  96. package/test-utils/dom/internal/dropdown-host.js +17 -18
  97. package/test-utils/dom/internal/dropdown-host.js.map +1 -1
  98. package/test-utils/dom/internal/dropdown.js +1 -2
  99. package/test-utils/dom/internal/dropdown.js.map +1 -1
  100. package/test-utils/selectors/action-card/index.d.ts +20 -0
  101. package/test-utils/selectors/action-card/index.js +36 -0
  102. package/test-utils/selectors/action-card/index.js.map +1 -0
  103. package/test-utils/selectors/autosuggest/index.js +16 -17
  104. package/test-utils/selectors/autosuggest/index.js.map +1 -1
  105. package/test-utils/selectors/button-dropdown/index.js +1 -2
  106. package/test-utils/selectors/button-dropdown/index.js.map +1 -1
  107. package/test-utils/selectors/dropdown/index.d.ts +0 -1
  108. package/test-utils/selectors/dropdown/index.js +0 -2
  109. package/test-utils/selectors/dropdown/index.js.map +1 -1
  110. package/test-utils/selectors/index.d.ts +18 -0
  111. package/test-utils/selectors/index.js +16 -2
  112. package/test-utils/selectors/index.js.map +1 -1
  113. package/test-utils/selectors/internal/autosuggest-input.js +1 -2
  114. package/test-utils/selectors/internal/autosuggest-input.js.map +1 -1
  115. package/test-utils/selectors/internal/dropdown-host.js +17 -18
  116. package/test-utils/selectors/internal/dropdown-host.js.map +1 -1
  117. package/test-utils/selectors/internal/dropdown.js +1 -2
  118. package/test-utils/selectors/internal/dropdown.js.map +1 -1
  119. package/tiles/styles.css.js +30 -30
  120. package/tiles/styles.scoped.css +73 -73
  121. package/tiles/styles.selectors.js +30 -30
  122. package/internal/components/dropdown/styles.css.js +0 -7
  123. package/internal/components/dropdown/styles.scoped.css +0 -11
  124. package/internal/components/dropdown/styles.selectors.js +0 -8
@@ -2,53 +2,53 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "expandable-toggle-wrapper": "awsui_expandable-toggle-wrapper_c6tup_hvmkg_145",
6
- "body-cell": "awsui_body-cell_c6tup_hvmkg_152",
7
- "body-cell-content": "awsui_body-cell-content_c6tup_hvmkg_160",
8
- "expandable-level-0": "awsui_expandable-level-0_c6tup_hvmkg_166",
9
- "expandable-level-1": "awsui_expandable-level-1_c6tup_hvmkg_173",
10
- "expandable-level-2": "awsui_expandable-level-2_c6tup_hvmkg_180",
11
- "expandable-level-3": "awsui_expandable-level-3_c6tup_hvmkg_187",
12
- "expandable-level-4": "awsui_expandable-level-4_c6tup_hvmkg_194",
13
- "expandable-level-5": "awsui_expandable-level-5_c6tup_hvmkg_201",
14
- "expandable-level-6": "awsui_expandable-level-6_c6tup_hvmkg_208",
15
- "expandable-level-7": "awsui_expandable-level-7_c6tup_hvmkg_215",
16
- "expandable-level-8": "awsui_expandable-level-8_c6tup_hvmkg_222",
17
- "expandable-level-9": "awsui_expandable-level-9_c6tup_hvmkg_229",
18
- "expandable-level-next": "awsui_expandable-level-next_c6tup_hvmkg_236",
19
- "body-cell-align-top": "awsui_body-cell-align-top_c6tup_hvmkg_254",
20
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_hvmkg_260",
21
- "body-cell-counter": "awsui_body-cell-counter_c6tup_hvmkg_265",
22
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_hvmkg_363",
23
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_hvmkg_453",
24
- "body-cell-expandable": "awsui_body-cell-expandable_c6tup_hvmkg_453",
25
- "body-cell-editable": "awsui_body-cell-editable_c6tup_hvmkg_453",
26
- "has-striped-rows": "awsui_has-striped-rows_c6tup_hvmkg_536",
27
- "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_c6tup_hvmkg_702",
28
- "has-selection": "awsui_has-selection_c6tup_hvmkg_868",
29
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_hvmkg_1037",
30
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_hvmkg_1040",
31
- "body-cell-selected": "awsui_body-cell-selected_c6tup_hvmkg_1040",
32
- "has-footer": "awsui_has-footer_c6tup_hvmkg_1040",
33
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_hvmkg_1050",
34
- "sticky-cell": "awsui_sticky-cell_c6tup_hvmkg_702",
35
- "table-variant-full-page": "awsui_table-variant-full-page_c6tup_hvmkg_1101",
36
- "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_c6tup_hvmkg_1118",
37
- "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_c6tup_hvmkg_1127",
38
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_hvmkg_1149",
39
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_hvmkg_1156",
40
- "body-cell-editor-wrapper": "awsui_body-cell-editor-wrapper_c6tup_hvmkg_1182",
41
- "body-cell-success": "awsui_body-cell-success_c6tup_hvmkg_1187",
42
- "body-cell-editor": "awsui_body-cell-editor_c6tup_hvmkg_1182",
43
- "body-cell-editor-disabled": "awsui_body-cell-editor-disabled_c6tup_hvmkg_1212",
44
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_hvmkg_1221",
45
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_hvmkg_1231",
46
- "body-cell-editor-row-editor": "awsui_body-cell-editor-row-editor_c6tup_hvmkg_1234",
47
- "body-cell-editor-focusable": "awsui_body-cell-editor-focusable_c6tup_hvmkg_1237",
48
- "body-cell-editor-icon": "awsui_body-cell-editor-icon_c6tup_hvmkg_1261",
49
- "resizable-columns": "awsui_resizable-columns_c6tup_hvmkg_1373",
50
- "expandable-cell-content": "awsui_expandable-cell-content_c6tup_hvmkg_1376",
51
- "body-cell-edit-disabled-popover": "awsui_body-cell-edit-disabled-popover_c6tup_hvmkg_1427",
52
- "body-cell-has-success": "awsui_body-cell-has-success_c6tup_hvmkg_1430"
5
+ "expandable-toggle-wrapper": "awsui_expandable-toggle-wrapper_c6tup_8om12_145",
6
+ "body-cell": "awsui_body-cell_c6tup_8om12_152",
7
+ "body-cell-content": "awsui_body-cell-content_c6tup_8om12_160",
8
+ "expandable-level-0": "awsui_expandable-level-0_c6tup_8om12_166",
9
+ "expandable-level-1": "awsui_expandable-level-1_c6tup_8om12_173",
10
+ "expandable-level-2": "awsui_expandable-level-2_c6tup_8om12_180",
11
+ "expandable-level-3": "awsui_expandable-level-3_c6tup_8om12_187",
12
+ "expandable-level-4": "awsui_expandable-level-4_c6tup_8om12_194",
13
+ "expandable-level-5": "awsui_expandable-level-5_c6tup_8om12_201",
14
+ "expandable-level-6": "awsui_expandable-level-6_c6tup_8om12_208",
15
+ "expandable-level-7": "awsui_expandable-level-7_c6tup_8om12_215",
16
+ "expandable-level-8": "awsui_expandable-level-8_c6tup_8om12_222",
17
+ "expandable-level-9": "awsui_expandable-level-9_c6tup_8om12_229",
18
+ "expandable-level-next": "awsui_expandable-level-next_c6tup_8om12_236",
19
+ "body-cell-align-top": "awsui_body-cell-align-top_c6tup_8om12_254",
20
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_8om12_260",
21
+ "body-cell-counter": "awsui_body-cell-counter_c6tup_8om12_265",
22
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_8om12_363",
23
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_8om12_453",
24
+ "body-cell-expandable": "awsui_body-cell-expandable_c6tup_8om12_453",
25
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_8om12_453",
26
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_8om12_536",
27
+ "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_c6tup_8om12_702",
28
+ "has-selection": "awsui_has-selection_c6tup_8om12_868",
29
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_8om12_1037",
30
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_8om12_1040",
31
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_8om12_1040",
32
+ "has-footer": "awsui_has-footer_c6tup_8om12_1040",
33
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_8om12_1050",
34
+ "sticky-cell": "awsui_sticky-cell_c6tup_8om12_702",
35
+ "table-variant-full-page": "awsui_table-variant-full-page_c6tup_8om12_1101",
36
+ "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_c6tup_8om12_1118",
37
+ "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_c6tup_8om12_1127",
38
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_8om12_1149",
39
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_8om12_1156",
40
+ "body-cell-editor-wrapper": "awsui_body-cell-editor-wrapper_c6tup_8om12_1182",
41
+ "body-cell-success": "awsui_body-cell-success_c6tup_8om12_1187",
42
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_8om12_1182",
43
+ "body-cell-editor-disabled": "awsui_body-cell-editor-disabled_c6tup_8om12_1212",
44
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_8om12_1221",
45
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_8om12_1231",
46
+ "body-cell-editor-row-editor": "awsui_body-cell-editor-row-editor_c6tup_8om12_1234",
47
+ "body-cell-editor-focusable": "awsui_body-cell-editor-focusable_c6tup_8om12_1237",
48
+ "body-cell-editor-icon": "awsui_body-cell-editor-icon_c6tup_8om12_1261",
49
+ "resizable-columns": "awsui_resizable-columns_c6tup_8om12_1373",
50
+ "expandable-cell-content": "awsui_expandable-cell-content_c6tup_8om12_1376",
51
+ "body-cell-edit-disabled-popover": "awsui_body-cell-edit-disabled-popover_c6tup_8om12_1427",
52
+ "body-cell-has-success": "awsui_body-cell-has-success_c6tup_8om12_1430"
53
53
  };
54
54
 
@@ -1,39 +1,39 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_wih1l_zysm5_153",
5
- "tools": "awsui_tools_wih1l_zysm5_164",
6
- "tools-filtering": "awsui_tools-filtering_wih1l_zysm5_173",
7
- "tools-align-right": "awsui_tools-align-right_wih1l_zysm5_186",
8
- "tools-pagination": "awsui_tools-pagination_wih1l_zysm5_190",
9
- "tools-preferences": "awsui_tools-preferences_wih1l_zysm5_190",
10
- "tools-small": "awsui_tools-small_wih1l_zysm5_196",
11
- "table": "awsui_table_wih1l_zysm5_200",
12
- "table-layout-fixed": "awsui_table-layout-fixed_wih1l_zysm5_206",
13
- "wrapper": "awsui_wrapper_wih1l_zysm5_210",
14
- "variant-stacked": "awsui_variant-stacked_wih1l_zysm5_217",
15
- "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_zysm5_217",
16
- "variant-container": "awsui_variant-container_wih1l_zysm5_217",
17
- "has-footer": "awsui_has-footer_wih1l_zysm5_220",
18
- "has-header": "awsui_has-header_wih1l_zysm5_223",
19
- "cell-merged": "awsui_cell-merged_wih1l_zysm5_240",
20
- "cell-merged-content": "awsui_cell-merged-content_wih1l_zysm5_252",
21
- "empty": "awsui_empty_wih1l_zysm5_268",
22
- "loading": "awsui_loading_wih1l_zysm5_272",
23
- "selection-control": "awsui_selection-control_wih1l_zysm5_281",
24
- "selection-control-header": "awsui_selection-control-header_wih1l_zysm5_288",
25
- "header-secondary": "awsui_header-secondary_wih1l_zysm5_294",
26
- "variant-full-page": "awsui_variant-full-page_wih1l_zysm5_305",
27
- "table-has-header": "awsui_table-has-header_wih1l_zysm5_311",
28
- "header-controls": "awsui_header-controls_wih1l_zysm5_322",
29
- "variant-embedded": "awsui_variant-embedded_wih1l_zysm5_331",
30
- "variant-borderless": "awsui_variant-borderless_wih1l_zysm5_331",
31
- "footer-wrapper": "awsui_footer-wrapper_wih1l_zysm5_336",
32
- "footer": "awsui_footer_wih1l_zysm5_336",
33
- "footer-with-pagination": "awsui_footer-with-pagination_wih1l_zysm5_344",
34
- "footer-pagination": "awsui_footer-pagination_wih1l_zysm5_352",
35
- "thead-active": "awsui_thead-active_wih1l_zysm5_356",
36
- "row": "awsui_row_wih1l_zysm5_357",
37
- "row-selected": "awsui_row-selected_wih1l_zysm5_358"
4
+ "root": "awsui_root_wih1l_lxnqt_153",
5
+ "tools": "awsui_tools_wih1l_lxnqt_164",
6
+ "tools-filtering": "awsui_tools-filtering_wih1l_lxnqt_173",
7
+ "tools-align-right": "awsui_tools-align-right_wih1l_lxnqt_186",
8
+ "tools-pagination": "awsui_tools-pagination_wih1l_lxnqt_190",
9
+ "tools-preferences": "awsui_tools-preferences_wih1l_lxnqt_190",
10
+ "tools-small": "awsui_tools-small_wih1l_lxnqt_196",
11
+ "table": "awsui_table_wih1l_lxnqt_200",
12
+ "table-layout-fixed": "awsui_table-layout-fixed_wih1l_lxnqt_206",
13
+ "wrapper": "awsui_wrapper_wih1l_lxnqt_210",
14
+ "variant-stacked": "awsui_variant-stacked_wih1l_lxnqt_217",
15
+ "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_lxnqt_217",
16
+ "variant-container": "awsui_variant-container_wih1l_lxnqt_217",
17
+ "has-footer": "awsui_has-footer_wih1l_lxnqt_220",
18
+ "has-header": "awsui_has-header_wih1l_lxnqt_223",
19
+ "cell-merged": "awsui_cell-merged_wih1l_lxnqt_240",
20
+ "cell-merged-content": "awsui_cell-merged-content_wih1l_lxnqt_252",
21
+ "empty": "awsui_empty_wih1l_lxnqt_268",
22
+ "loading": "awsui_loading_wih1l_lxnqt_272",
23
+ "selection-control": "awsui_selection-control_wih1l_lxnqt_281",
24
+ "selection-control-header": "awsui_selection-control-header_wih1l_lxnqt_288",
25
+ "header-secondary": "awsui_header-secondary_wih1l_lxnqt_294",
26
+ "variant-full-page": "awsui_variant-full-page_wih1l_lxnqt_305",
27
+ "table-has-header": "awsui_table-has-header_wih1l_lxnqt_311",
28
+ "header-controls": "awsui_header-controls_wih1l_lxnqt_322",
29
+ "variant-embedded": "awsui_variant-embedded_wih1l_lxnqt_331",
30
+ "variant-borderless": "awsui_variant-borderless_wih1l_lxnqt_331",
31
+ "footer-wrapper": "awsui_footer-wrapper_wih1l_lxnqt_336",
32
+ "footer": "awsui_footer_wih1l_lxnqt_336",
33
+ "footer-with-pagination": "awsui_footer-with-pagination_wih1l_lxnqt_344",
34
+ "footer-pagination": "awsui_footer-pagination_wih1l_lxnqt_352",
35
+ "thead-active": "awsui_thead-active_wih1l_lxnqt_356",
36
+ "row": "awsui_row_wih1l_lxnqt_357",
37
+ "row-selected": "awsui_row-selected_wih1l_lxnqt_358"
38
38
  };
39
39
 
@@ -150,7 +150,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
150
150
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
151
151
  SPDX-License-Identifier: Apache-2.0
152
152
  */
153
- .awsui_root_wih1l_zysm5_153:not(#\9) {
153
+ .awsui_root_wih1l_lxnqt_153:not(#\9) {
154
154
  font-size: var(--font-size-body-m-a7nh2n, 14px);
155
155
  line-height: var(--line-height-body-m-2mh3ke, 20px);
156
156
  color: var(--color-text-body-default-vvtq8u, #0f141a);
@@ -161,7 +161,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
161
161
  inline-size: 100%;
162
162
  }
163
163
 
164
- .awsui_tools_wih1l_zysm5_164:not(#\9) {
164
+ .awsui_tools_wih1l_lxnqt_164:not(#\9) {
165
165
  display: flex;
166
166
  align-items: flex-end;
167
167
  flex-wrap: wrap;
@@ -170,64 +170,64 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
170
170
  padding-block-end: var(--space-table-header-tools-bottom-d9u5kf, 0px);
171
171
  padding-inline: 0;
172
172
  }
173
- .awsui_tools-filtering_wih1l_zysm5_173:not(#\9) {
173
+ .awsui_tools-filtering_wih1l_lxnqt_173:not(#\9) {
174
174
  max-inline-size: 100%;
175
175
  }
176
176
  @supports (flex-basis: fit-content) {
177
- .awsui_tools-filtering_wih1l_zysm5_173:not(#\9) {
177
+ .awsui_tools-filtering_wih1l_lxnqt_173:not(#\9) {
178
178
  flex: 1 1 fit-content;
179
179
  }
180
180
  }
181
181
  @supports not (flex-basis: fit-content) {
182
- .awsui_tools-filtering_wih1l_zysm5_173:not(#\9) {
182
+ .awsui_tools-filtering_wih1l_lxnqt_173:not(#\9) {
183
183
  flex: 1 1 auto;
184
184
  }
185
185
  }
186
- .awsui_tools-align-right_wih1l_zysm5_186:not(#\9) {
186
+ .awsui_tools-align-right_wih1l_lxnqt_186:not(#\9) {
187
187
  display: flex;
188
188
  margin-inline-start: auto;
189
189
  }
190
- .awsui_tools-pagination_wih1l_zysm5_190 + .awsui_tools-preferences_wih1l_zysm5_190:not(#\9) {
190
+ .awsui_tools-pagination_wih1l_lxnqt_190 + .awsui_tools-preferences_wih1l_lxnqt_190:not(#\9) {
191
191
  border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
192
192
  box-sizing: border-box;
193
193
  margin-inline-start: var(--space-xs-ymlm0b, 8px);
194
194
  padding-inline-start: var(--space-xs-ymlm0b, 8px);
195
195
  }
196
- .awsui_tools-small_wih1l_zysm5_196 > .awsui_tools-filtering_wih1l_zysm5_173:not(#\9) {
196
+ .awsui_tools-small_wih1l_lxnqt_196 > .awsui_tools-filtering_wih1l_lxnqt_173:not(#\9) {
197
197
  flex-basis: 100%;
198
198
  }
199
199
 
200
- .awsui_table_wih1l_zysm5_200:not(#\9) {
200
+ .awsui_table_wih1l_lxnqt_200:not(#\9) {
201
201
  inline-size: 100%;
202
202
  border-spacing: 0;
203
203
  position: relative;
204
204
  box-sizing: border-box;
205
205
  }
206
- .awsui_table-layout-fixed_wih1l_zysm5_206:not(#\9) {
206
+ .awsui_table-layout-fixed_wih1l_lxnqt_206:not(#\9) {
207
207
  table-layout: fixed;
208
208
  }
209
209
 
210
- .awsui_wrapper_wih1l_zysm5_210:not(#\9) {
210
+ .awsui_wrapper_wih1l_lxnqt_210:not(#\9) {
211
211
  position: relative;
212
212
  box-sizing: border-box;
213
213
  inline-size: 100%;
214
214
  overflow-x: auto;
215
215
  scrollbar-width: none; /* Hide scrollbar in Firefox */
216
216
  }
217
- .awsui_wrapper_wih1l_zysm5_210.awsui_variant-stacked_wih1l_zysm5_217 > .awsui_table_wih1l_zysm5_200:not(#\9), .awsui_wrapper_wih1l_zysm5_210.awsui_variant-stacked_wih1l_zysm5_217 > .awsui_wrapper-content-measure_wih1l_zysm5_217:not(#\9), .awsui_wrapper_wih1l_zysm5_210.awsui_variant-container_wih1l_zysm5_217 > .awsui_table_wih1l_zysm5_200:not(#\9), .awsui_wrapper_wih1l_zysm5_210.awsui_variant-container_wih1l_zysm5_217 > .awsui_wrapper-content-measure_wih1l_zysm5_217:not(#\9) {
217
+ .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-stacked_wih1l_lxnqt_217 > .awsui_table_wih1l_lxnqt_200:not(#\9), .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-stacked_wih1l_lxnqt_217 > .awsui_wrapper-content-measure_wih1l_lxnqt_217:not(#\9), .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-container_wih1l_lxnqt_217 > .awsui_table_wih1l_lxnqt_200:not(#\9), .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-container_wih1l_lxnqt_217 > .awsui_wrapper-content-measure_wih1l_lxnqt_217:not(#\9) {
218
218
  padding-inline: var(--space-table-horizontal-suurzj, 20px);
219
219
  }
220
- .awsui_wrapper_wih1l_zysm5_210.awsui_variant-stacked_wih1l_zysm5_217:not(#\9):not(.awsui_has-footer_wih1l_zysm5_220), .awsui_wrapper_wih1l_zysm5_210.awsui_variant-container_wih1l_zysm5_217:not(#\9):not(.awsui_has-footer_wih1l_zysm5_220) {
220
+ .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-stacked_wih1l_lxnqt_217:not(#\9):not(.awsui_has-footer_wih1l_lxnqt_220), .awsui_wrapper_wih1l_lxnqt_210.awsui_variant-container_wih1l_lxnqt_217:not(#\9):not(.awsui_has-footer_wih1l_lxnqt_220) {
221
221
  padding-block-end: var(--space-table-content-bottom-tlfqmq, 4px);
222
222
  }
223
- .awsui_wrapper_wih1l_zysm5_210:not(#\9):not(.awsui_has-header_wih1l_zysm5_223) {
223
+ .awsui_wrapper_wih1l_lxnqt_210:not(#\9):not(.awsui_has-header_wih1l_lxnqt_223) {
224
224
  border-start-end-radius: var(--border-radius-container-nsfwmm, 16px);
225
225
  border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
226
226
  }
227
- .awsui_wrapper_wih1l_zysm5_210:not(#\9)::-webkit-scrollbar {
227
+ .awsui_wrapper_wih1l_lxnqt_210:not(#\9)::-webkit-scrollbar {
228
228
  display: none; /* Hide scrollbar in Safari and Chrome */
229
229
  }
230
- body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_zysm5_210:not(#\9):focus {
230
+ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_lxnqt_210:not(#\9):focus {
231
231
  outline: 2px dotted transparent;
232
232
  outline-offset: 2px;
233
233
  border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
@@ -237,19 +237,19 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_zysm5_210:not(#\9):focu
237
237
  box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
238
238
  }
239
239
 
240
- .awsui_cell-merged_wih1l_zysm5_240:not(#\9) {
240
+ .awsui_cell-merged_wih1l_lxnqt_240:not(#\9) {
241
241
  text-align: center;
242
242
  padding-block: 0;
243
243
  padding-inline: 0;
244
244
  }
245
- .awsui_cell-merged_wih1l_zysm5_240.awsui_has-footer_wih1l_zysm5_220:not(#\9) {
245
+ .awsui_cell-merged_wih1l_lxnqt_240.awsui_has-footer_wih1l_lxnqt_220:not(#\9) {
246
246
  /*
247
247
  Add a bottom border to the body cell of an empty table as a separator between the
248
248
  table and the footer
249
249
  */
250
250
  border-block-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
251
251
  }
252
- .awsui_cell-merged-content_wih1l_zysm5_252:not(#\9) {
252
+ .awsui_cell-merged-content_wih1l_lxnqt_252:not(#\9) {
253
253
  box-sizing: border-box;
254
254
  inline-size: 100%;
255
255
  padding-block-start: var(--space-scaled-m-m892r9, 16px);
@@ -257,7 +257,7 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_zysm5_210:not(#\9):focu
257
257
  padding-inline: var(--space-l-2ud1p3, 20px);
258
258
  }
259
259
  @supports (position: sticky) {
260
- .awsui_cell-merged-content_wih1l_zysm5_252:not(#\9) {
260
+ .awsui_cell-merged-content_wih1l_lxnqt_252:not(#\9) {
261
261
  position: sticky;
262
262
  inset-inline-start: 0;
263
263
  margin-block: 0;
@@ -265,11 +265,11 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_zysm5_210:not(#\9):focu
265
265
  }
266
266
  }
267
267
 
268
- .awsui_empty_wih1l_zysm5_268:not(#\9) {
268
+ .awsui_empty_wih1l_lxnqt_268:not(#\9) {
269
269
  color: var(--color-text-empty-tlohug, #656871);
270
270
  }
271
271
 
272
- .awsui_loading_wih1l_zysm5_272:not(#\9) {
272
+ .awsui_loading_wih1l_lxnqt_272:not(#\9) {
273
273
  /* used in test-utils */
274
274
  }
275
275
 
@@ -278,20 +278,20 @@ The min/max/width token values in Visual Refresh should align
278
278
  the table header and body cells selection control with the table
279
279
  filter search icon.
280
280
  */
281
- .awsui_selection-control_wih1l_zysm5_281:not(#\9) {
281
+ .awsui_selection-control_wih1l_lxnqt_281:not(#\9) {
282
282
  box-sizing: border-box;
283
283
  max-inline-size: var(--size-table-selection-horizontal-qqiajd, 40px);
284
284
  min-inline-size: var(--size-table-selection-horizontal-qqiajd, 40px);
285
285
  position: relative;
286
286
  inline-size: var(--size-table-selection-horizontal-qqiajd, 40px);
287
287
  }
288
- .awsui_selection-control_wih1l_zysm5_281.awsui_selection-control-header_wih1l_zysm5_288:not(#\9) {
288
+ .awsui_selection-control_wih1l_lxnqt_281.awsui_selection-control-header_wih1l_lxnqt_288:not(#\9) {
289
289
  padding-block: var(--space-scaled-xs-xwoogq, 8px);
290
290
  padding-inline: var(--space-scaled-l-sej05l, 20px);
291
- border-inline-start: var(--border-item-width-miijiw, 2px) solid transparent;
291
+ border-inline-start: var(--border-width-item-selected-yv93vd, 2px) solid transparent;
292
292
  }
293
293
 
294
- .awsui_header-secondary_wih1l_zysm5_294:not(#\9) {
294
+ .awsui_header-secondary_wih1l_lxnqt_294:not(#\9) {
295
295
  overflow: auto;
296
296
  scrollbar-width: none; /* Firefox */
297
297
  box-sizing: border-box;
@@ -302,46 +302,46 @@ filter search icon.
302
302
  border-end-end-radius: 0;
303
303
  background: var(--color-background-table-header-hdjxos, #ffffff);
304
304
  }
305
- .awsui_header-secondary_wih1l_zysm5_294.awsui_variant-full-page_wih1l_zysm5_305:not(#\9) {
305
+ .awsui_header-secondary_wih1l_lxnqt_294.awsui_variant-full-page_wih1l_lxnqt_305:not(#\9) {
306
306
  background: var(--color-background-layout-main-5ilwcb, #ffffff);
307
307
  }
308
- .awsui_header-secondary_wih1l_zysm5_294.awsui_variant-stacked_wih1l_zysm5_217 > .awsui_table_wih1l_zysm5_200:not(#\9), .awsui_header-secondary_wih1l_zysm5_294.awsui_variant-container_wih1l_zysm5_217 > .awsui_table_wih1l_zysm5_200:not(#\9) {
308
+ .awsui_header-secondary_wih1l_lxnqt_294.awsui_variant-stacked_wih1l_lxnqt_217 > .awsui_table_wih1l_lxnqt_200:not(#\9), .awsui_header-secondary_wih1l_lxnqt_294.awsui_variant-container_wih1l_lxnqt_217 > .awsui_table_wih1l_lxnqt_200:not(#\9) {
309
309
  padding-inline: var(--space-table-horizontal-suurzj, 20px);
310
310
  }
311
- .awsui_header-secondary_wih1l_zysm5_294.awsui_variant-stacked_wih1l_zysm5_217:not(#\9):not(.awsui_table-has-header_wih1l_zysm5_311), .awsui_header-secondary_wih1l_zysm5_294.awsui_variant-container_wih1l_zysm5_217:not(#\9):not(.awsui_table-has-header_wih1l_zysm5_311) {
311
+ .awsui_header-secondary_wih1l_lxnqt_294.awsui_variant-stacked_wih1l_lxnqt_217:not(#\9):not(.awsui_table-has-header_wih1l_lxnqt_311), .awsui_header-secondary_wih1l_lxnqt_294.awsui_variant-container_wih1l_lxnqt_217:not(#\9):not(.awsui_table-has-header_wih1l_lxnqt_311) {
312
312
  border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
313
313
  border-start-end-radius: var(--border-radius-container-nsfwmm, 16px);
314
314
  }
315
- .awsui_header-secondary_wih1l_zysm5_294:not(#\9)::-webkit-scrollbar {
315
+ .awsui_header-secondary_wih1l_lxnqt_294:not(#\9)::-webkit-scrollbar {
316
316
  display: none; /* Safari and Chrome */
317
317
  }
318
- .awsui_header-secondary_wih1l_zysm5_294.awsui_table-has-header_wih1l_zysm5_311:not(#\9) {
318
+ .awsui_header-secondary_wih1l_lxnqt_294.awsui_table-has-header_wih1l_lxnqt_311:not(#\9) {
319
319
  border-block-start: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-container-divider-9huz1a, transparent);
320
320
  }
321
321
 
322
- .awsui_header-controls_wih1l_zysm5_322:not(#\9) {
322
+ .awsui_header-controls_wih1l_lxnqt_322:not(#\9) {
323
323
  padding-block: var(--space-container-header-top-am4vzw, 12px) var(--space-container-header-bottom-2taq8v, 8px);
324
324
  }
325
- .awsui_header-controls_wih1l_zysm5_322.awsui_variant-full-page_wih1l_zysm5_305:not(#\9) {
325
+ .awsui_header-controls_wih1l_lxnqt_322.awsui_variant-full-page_wih1l_lxnqt_305:not(#\9) {
326
326
  padding-block: 0 calc(var(--space-container-header-bottom-2taq8v, 8px) + var(--space-table-header-tools-full-page-bottom-9m47g6, 4px));
327
327
  }
328
- .awsui_header-controls_wih1l_zysm5_322.awsui_variant-stacked_wih1l_zysm5_217:not(#\9), .awsui_header-controls_wih1l_zysm5_322.awsui_variant-container_wih1l_zysm5_217:not(#\9) {
328
+ .awsui_header-controls_wih1l_lxnqt_322.awsui_variant-stacked_wih1l_lxnqt_217:not(#\9), .awsui_header-controls_wih1l_lxnqt_322.awsui_variant-container_wih1l_lxnqt_217:not(#\9) {
329
329
  padding-inline: calc(var(--space-table-horizontal-suurzj, 20px) + var(--space-table-header-horizontal-kb5ww2, 0px));
330
330
  }
331
- .awsui_header-controls_wih1l_zysm5_322.awsui_variant-embedded_wih1l_zysm5_331:not(#\9), .awsui_header-controls_wih1l_zysm5_322.awsui_variant-borderless_wih1l_zysm5_331:not(#\9) {
331
+ .awsui_header-controls_wih1l_lxnqt_322.awsui_variant-embedded_wih1l_lxnqt_331:not(#\9), .awsui_header-controls_wih1l_lxnqt_322.awsui_variant-borderless_wih1l_lxnqt_331:not(#\9) {
332
332
  padding-inline: var(--space-table-header-horizontal-kb5ww2, 0px);
333
333
  padding-block-start: var(--space-table-embedded-header-top-twu628, 0px);
334
334
  }
335
335
 
336
- .awsui_footer-wrapper_wih1l_zysm5_336.awsui_variant-stacked_wih1l_zysm5_217:not(#\9), .awsui_footer-wrapper_wih1l_zysm5_336.awsui_variant-container_wih1l_zysm5_217:not(#\9) {
336
+ .awsui_footer-wrapper_wih1l_lxnqt_336.awsui_variant-stacked_wih1l_lxnqt_217:not(#\9), .awsui_footer-wrapper_wih1l_lxnqt_336.awsui_variant-container_wih1l_lxnqt_217:not(#\9) {
337
337
  padding-inline: var(--space-table-horizontal-suurzj, 20px);
338
338
  }
339
339
 
340
- .awsui_footer_wih1l_zysm5_336:not(#\9) {
340
+ .awsui_footer_wih1l_lxnqt_336:not(#\9) {
341
341
  padding-block: var(--space-scaled-s-8ozaad, 12px);
342
342
  padding-inline: var(--space-table-footer-horizontal-l5g495, 0px);
343
343
  }
344
- .awsui_footer-with-pagination_wih1l_zysm5_344:not(#\9) {
344
+ .awsui_footer-with-pagination_wih1l_lxnqt_344:not(#\9) {
345
345
  display: flex;
346
346
  flex-direction: row;
347
347
  justify-content: space-between;
@@ -349,12 +349,12 @@ filter search icon.
349
349
  flex-wrap: wrap;
350
350
  gap: var(--space-scaled-s-8ozaad, 12px);
351
351
  }
352
- .awsui_footer-pagination_wih1l_zysm5_352:not(#\9) {
352
+ .awsui_footer-pagination_wih1l_lxnqt_352:not(#\9) {
353
353
  margin-inline-start: auto;
354
354
  }
355
355
 
356
- .awsui_thead-active_wih1l_zysm5_356:not(#\9),
357
- .awsui_row_wih1l_zysm5_357:not(#\9),
358
- .awsui_row-selected_wih1l_zysm5_358:not(#\9) {
356
+ .awsui_thead-active_wih1l_lxnqt_356:not(#\9),
357
+ .awsui_row_wih1l_lxnqt_357:not(#\9),
358
+ .awsui_row-selected_wih1l_lxnqt_358:not(#\9) {
359
359
  /* used in test-utils */
360
360
  }
@@ -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": "awsui_root_wih1l_zysm5_153",
6
- "tools": "awsui_tools_wih1l_zysm5_164",
7
- "tools-filtering": "awsui_tools-filtering_wih1l_zysm5_173",
8
- "tools-align-right": "awsui_tools-align-right_wih1l_zysm5_186",
9
- "tools-pagination": "awsui_tools-pagination_wih1l_zysm5_190",
10
- "tools-preferences": "awsui_tools-preferences_wih1l_zysm5_190",
11
- "tools-small": "awsui_tools-small_wih1l_zysm5_196",
12
- "table": "awsui_table_wih1l_zysm5_200",
13
- "table-layout-fixed": "awsui_table-layout-fixed_wih1l_zysm5_206",
14
- "wrapper": "awsui_wrapper_wih1l_zysm5_210",
15
- "variant-stacked": "awsui_variant-stacked_wih1l_zysm5_217",
16
- "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_zysm5_217",
17
- "variant-container": "awsui_variant-container_wih1l_zysm5_217",
18
- "has-footer": "awsui_has-footer_wih1l_zysm5_220",
19
- "has-header": "awsui_has-header_wih1l_zysm5_223",
20
- "cell-merged": "awsui_cell-merged_wih1l_zysm5_240",
21
- "cell-merged-content": "awsui_cell-merged-content_wih1l_zysm5_252",
22
- "empty": "awsui_empty_wih1l_zysm5_268",
23
- "loading": "awsui_loading_wih1l_zysm5_272",
24
- "selection-control": "awsui_selection-control_wih1l_zysm5_281",
25
- "selection-control-header": "awsui_selection-control-header_wih1l_zysm5_288",
26
- "header-secondary": "awsui_header-secondary_wih1l_zysm5_294",
27
- "variant-full-page": "awsui_variant-full-page_wih1l_zysm5_305",
28
- "table-has-header": "awsui_table-has-header_wih1l_zysm5_311",
29
- "header-controls": "awsui_header-controls_wih1l_zysm5_322",
30
- "variant-embedded": "awsui_variant-embedded_wih1l_zysm5_331",
31
- "variant-borderless": "awsui_variant-borderless_wih1l_zysm5_331",
32
- "footer-wrapper": "awsui_footer-wrapper_wih1l_zysm5_336",
33
- "footer": "awsui_footer_wih1l_zysm5_336",
34
- "footer-with-pagination": "awsui_footer-with-pagination_wih1l_zysm5_344",
35
- "footer-pagination": "awsui_footer-pagination_wih1l_zysm5_352",
36
- "thead-active": "awsui_thead-active_wih1l_zysm5_356",
37
- "row": "awsui_row_wih1l_zysm5_357",
38
- "row-selected": "awsui_row-selected_wih1l_zysm5_358"
5
+ "root": "awsui_root_wih1l_lxnqt_153",
6
+ "tools": "awsui_tools_wih1l_lxnqt_164",
7
+ "tools-filtering": "awsui_tools-filtering_wih1l_lxnqt_173",
8
+ "tools-align-right": "awsui_tools-align-right_wih1l_lxnqt_186",
9
+ "tools-pagination": "awsui_tools-pagination_wih1l_lxnqt_190",
10
+ "tools-preferences": "awsui_tools-preferences_wih1l_lxnqt_190",
11
+ "tools-small": "awsui_tools-small_wih1l_lxnqt_196",
12
+ "table": "awsui_table_wih1l_lxnqt_200",
13
+ "table-layout-fixed": "awsui_table-layout-fixed_wih1l_lxnqt_206",
14
+ "wrapper": "awsui_wrapper_wih1l_lxnqt_210",
15
+ "variant-stacked": "awsui_variant-stacked_wih1l_lxnqt_217",
16
+ "wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_lxnqt_217",
17
+ "variant-container": "awsui_variant-container_wih1l_lxnqt_217",
18
+ "has-footer": "awsui_has-footer_wih1l_lxnqt_220",
19
+ "has-header": "awsui_has-header_wih1l_lxnqt_223",
20
+ "cell-merged": "awsui_cell-merged_wih1l_lxnqt_240",
21
+ "cell-merged-content": "awsui_cell-merged-content_wih1l_lxnqt_252",
22
+ "empty": "awsui_empty_wih1l_lxnqt_268",
23
+ "loading": "awsui_loading_wih1l_lxnqt_272",
24
+ "selection-control": "awsui_selection-control_wih1l_lxnqt_281",
25
+ "selection-control-header": "awsui_selection-control-header_wih1l_lxnqt_288",
26
+ "header-secondary": "awsui_header-secondary_wih1l_lxnqt_294",
27
+ "variant-full-page": "awsui_variant-full-page_wih1l_lxnqt_305",
28
+ "table-has-header": "awsui_table-has-header_wih1l_lxnqt_311",
29
+ "header-controls": "awsui_header-controls_wih1l_lxnqt_322",
30
+ "variant-embedded": "awsui_variant-embedded_wih1l_lxnqt_331",
31
+ "variant-borderless": "awsui_variant-borderless_wih1l_lxnqt_331",
32
+ "footer-wrapper": "awsui_footer-wrapper_wih1l_lxnqt_336",
33
+ "footer": "awsui_footer_wih1l_lxnqt_336",
34
+ "footer-with-pagination": "awsui_footer-with-pagination_wih1l_lxnqt_344",
35
+ "footer-pagination": "awsui_footer-pagination_wih1l_lxnqt_352",
36
+ "thead-active": "awsui_thead-active_wih1l_lxnqt_356",
37
+ "row": "awsui_row_wih1l_lxnqt_357",
38
+ "row-selected": "awsui_row-selected_wih1l_lxnqt_358"
39
39
  };
40
40
 
@@ -0,0 +1,29 @@
1
+ import { ComponentWrapper, ElementWrapper } from '@cloudscape-design/test-utils-core/dom';
2
+ export default class ActionCardWrapper extends ComponentWrapper<HTMLDivElement> {
3
+ static rootSelector: string;
4
+ /**
5
+ * Returns the header element of the action card.
6
+ */
7
+ findHeader(): ElementWrapper | null;
8
+ /**
9
+ * Returns the description element of the action card.
10
+ */
11
+ findDescription(): ElementWrapper | null;
12
+ /**
13
+ * Returns the content element of the action card.
14
+ */
15
+ findContent(): ElementWrapper | null;
16
+ /**
17
+ * Finds the icon slot of the action card.
18
+ */
19
+ findIcon(): ElementWrapper | null;
20
+ /**
21
+ * Returns whether the action card is disabled.
22
+ */
23
+ isDisabled(): boolean;
24
+ /**
25
+ * Performs a click by triggering a mouse event on the internal button.
26
+ * Note that programmatic events ignore disabled attribute and will trigger listeners even if the element is disabled.
27
+ */
28
+ click(): void;
29
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
10
+ // SPDX-License-Identifier: Apache-2.0
11
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
12
+ const styles_selectors_js_1 = require("../../../action-card/styles.selectors.js");
13
+ const styles_selectors_js_2 = require("../../../action-card/test-classes/styles.selectors.js");
14
+ class ActionCardWrapper extends dom_1.ComponentWrapper {
15
+ /**
16
+ * Returns the header element of the action card.
17
+ */
18
+ findHeader() {
19
+ return this.findByClassName(styles_selectors_js_2.default.header);
20
+ }
21
+ /**
22
+ * Returns the description element of the action card.
23
+ */
24
+ findDescription() {
25
+ return this.findByClassName(styles_selectors_js_2.default.description);
26
+ }
27
+ /**
28
+ * Returns the content element of the action card.
29
+ */
30
+ findContent() {
31
+ return this.findByClassName(styles_selectors_js_2.default.body);
32
+ }
33
+ /**
34
+ * Finds the icon slot of the action card.
35
+ */
36
+ findIcon() {
37
+ return this.findByClassName(styles_selectors_js_2.default.icon);
38
+ }
39
+ /**
40
+ * Returns whether the action card is disabled.
41
+ */
42
+ isDisabled() {
43
+ return this.element.classList.contains(styles_selectors_js_2.default.disabled);
44
+ }
45
+ /**
46
+ * Performs a click by triggering a mouse event on the internal button.
47
+ * Note that programmatic events ignore disabled attribute and will trigger listeners even if the element is disabled.
48
+ */
49
+ click() {
50
+ const button = this.findByClassName(styles_selectors_js_2.default.button);
51
+ if (button) {
52
+ button.click();
53
+ }
54
+ }
55
+ }
56
+ ActionCardWrapper.rootSelector = styles_selectors_js_1.default.root;
57
+ exports.default = ActionCardWrapper;
58
+ __decorate([
59
+ dom_1.usesDom
60
+ ], ActionCardWrapper.prototype, "isDisabled", null);
61
+ __decorate([
62
+ dom_1.usesDom
63
+ ], ActionCardWrapper.prototype, "click", null);
64
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/action-card/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAmG;AAEnG,kFAA8D;AAC9D,+FAA+E;AAE/E,MAAqB,iBAAkB,SAAQ,sBAAgC;IAG7E;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAU,CAAC,MAAM,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAU,CAAC,WAAW,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAU,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAU,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD;;OAEG;IAEH,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,6BAAU,CAAC,QAAQ,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IAEH,KAAK;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,6BAAU,CAAC,MAAM,CAAC,CAAC;QACvD,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;IACH,CAAC;;AA/CM,8BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;kBADvB,iBAAiB;AAkCpC;IADC,aAAO;mDAGP;AAOD;IADC,aAAO;8CAMP"}