@cloudscape-design/components 3.0.215 → 3.0.217

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 (352) hide show
  1. package/internal/components/option/highlight-match.js +3 -3
  2. package/internal/components/option/highlight-match.js.map +1 -1
  3. package/internal/environment.js +1 -1
  4. package/internal/manifest.json +1 -1
  5. package/package.json +1 -1
  6. package/select/parts/item.js +1 -1
  7. package/select/parts/item.js.map +1 -1
  8. package/test-utils/dom/alert/index.js +20 -40
  9. package/test-utils/dom/alert/index.js.map +1 -1
  10. package/test-utils/dom/annotation/index.js +24 -44
  11. package/test-utils/dom/annotation/index.js.map +1 -1
  12. package/test-utils/dom/app-layout/index.js +27 -47
  13. package/test-utils/dom/app-layout/index.js.map +1 -1
  14. package/test-utils/dom/area-chart/index.js +12 -32
  15. package/test-utils/dom/area-chart/index.js.map +1 -1
  16. package/test-utils/dom/attribute-editor/index.js +32 -57
  17. package/test-utils/dom/attribute-editor/index.js.map +1 -1
  18. package/test-utils/dom/autosuggest/index.js +76 -114
  19. package/test-utils/dom/autosuggest/index.js.map +1 -1
  20. package/test-utils/dom/badge/index.js +5 -25
  21. package/test-utils/dom/badge/index.js.map +1 -1
  22. package/test-utils/dom/bar-chart/index.js +5 -25
  23. package/test-utils/dom/bar-chart/index.js.map +1 -1
  24. package/test-utils/dom/box/index.js +5 -25
  25. package/test-utils/dom/box/index.js.map +1 -1
  26. package/test-utils/dom/breadcrumb-group/index.js +17 -37
  27. package/test-utils/dom/breadcrumb-group/index.js.map +1 -1
  28. package/test-utils/dom/button/index.js +16 -36
  29. package/test-utils/dom/button/index.js.map +1 -1
  30. package/test-utils/dom/button-dropdown/index.js +38 -59
  31. package/test-utils/dom/button-dropdown/index.js.map +1 -1
  32. package/test-utils/dom/calendar/index.js +20 -40
  33. package/test-utils/dom/calendar/index.js.map +1 -1
  34. package/test-utils/dom/cards/index.js +55 -83
  35. package/test-utils/dom/cards/index.js.map +1 -1
  36. package/test-utils/dom/checkbox/index.js +14 -34
  37. package/test-utils/dom/checkbox/index.js.map +1 -1
  38. package/test-utils/dom/code-editor/index.js +33 -53
  39. package/test-utils/dom/code-editor/index.js.map +1 -1
  40. package/test-utils/dom/collection-preferences/index.js +40 -65
  41. package/test-utils/dom/collection-preferences/index.js.map +1 -1
  42. package/test-utils/dom/collection-preferences/page-size-preference.js +12 -32
  43. package/test-utils/dom/collection-preferences/page-size-preference.js.map +1 -1
  44. package/test-utils/dom/collection-preferences/visible-content-preference.js +18 -38
  45. package/test-utils/dom/collection-preferences/visible-content-preference.js.map +1 -1
  46. package/test-utils/dom/column-layout/index.js +5 -25
  47. package/test-utils/dom/column-layout/index.js.map +1 -1
  48. package/test-utils/dom/container/index.js +11 -31
  49. package/test-utils/dom/container/index.js.map +1 -1
  50. package/test-utils/dom/content-layout/index.js +9 -29
  51. package/test-utils/dom/content-layout/index.js.map +1 -1
  52. package/test-utils/dom/date-input/index.js +5 -25
  53. package/test-utils/dom/date-input/index.js.map +1 -1
  54. package/test-utils/dom/date-picker/index.js +26 -47
  55. package/test-utils/dom/date-picker/index.js.map +1 -1
  56. package/test-utils/dom/date-range-picker/index.js +87 -119
  57. package/test-utils/dom/date-range-picker/index.js.map +1 -1
  58. package/test-utils/dom/expandable-section/index.js +15 -35
  59. package/test-utils/dom/expandable-section/index.js.map +1 -1
  60. package/test-utils/dom/flashbar/flash.js +18 -38
  61. package/test-utils/dom/flashbar/flash.js.map +1 -1
  62. package/test-utils/dom/flashbar/index.js +9 -29
  63. package/test-utils/dom/flashbar/index.js.map +1 -1
  64. package/test-utils/dom/form/index.js +15 -35
  65. package/test-utils/dom/form/index.js.map +1 -1
  66. package/test-utils/dom/form-field/index.js +21 -41
  67. package/test-utils/dom/form-field/index.js.map +1 -1
  68. package/test-utils/dom/grid/index.js +8 -28
  69. package/test-utils/dom/grid/index.js.map +1 -1
  70. package/test-utils/dom/header/index.js +15 -35
  71. package/test-utils/dom/header/index.js.map +1 -1
  72. package/test-utils/dom/help-panel/index.js +11 -31
  73. package/test-utils/dom/help-panel/index.js.map +1 -1
  74. package/test-utils/dom/hotspot/index.js +12 -32
  75. package/test-utils/dom/hotspot/index.js.map +1 -1
  76. package/test-utils/dom/icon/index.js +5 -25
  77. package/test-utils/dom/icon/index.js.map +1 -1
  78. package/test-utils/dom/index.js +133 -134
  79. package/test-utils/dom/index.js.map +1 -1
  80. package/test-utils/dom/input/base-input.js +35 -57
  81. package/test-utils/dom/input/base-input.js.map +1 -1
  82. package/test-utils/dom/input/index.js +7 -27
  83. package/test-utils/dom/input/index.js.map +1 -1
  84. package/test-utils/dom/internal/abstract-switch.js +12 -32
  85. package/test-utils/dom/internal/abstract-switch.js.map +1 -1
  86. package/test-utils/dom/internal/autosuggest-input.js +14 -34
  87. package/test-utils/dom/internal/autosuggest-input.js.map +1 -1
  88. package/test-utils/dom/internal/chart-filter.js +11 -31
  89. package/test-utils/dom/internal/chart-filter.js.map +1 -1
  90. package/test-utils/dom/internal/chart-legend.js +13 -33
  91. package/test-utils/dom/internal/chart-legend.js.map +1 -1
  92. package/test-utils/dom/internal/chart-popover.js +14 -34
  93. package/test-utils/dom/internal/chart-popover.js.map +1 -1
  94. package/test-utils/dom/internal/charts.js +20 -40
  95. package/test-utils/dom/internal/charts.js.map +1 -1
  96. package/test-utils/dom/internal/dropdown-host.js +89 -125
  97. package/test-utils/dom/internal/dropdown-host.js.map +1 -1
  98. package/test-utils/dom/internal/dropdown.js +7 -27
  99. package/test-utils/dom/internal/dropdown.js.map +1 -1
  100. package/test-utils/dom/internal/filtering-token.js +13 -33
  101. package/test-utils/dom/internal/filtering-token.js.map +1 -1
  102. package/test-utils/dom/internal/option.js +13 -33
  103. package/test-utils/dom/internal/option.js.map +1 -1
  104. package/test-utils/dom/internal/options-list.js +5 -25
  105. package/test-utils/dom/internal/options-list.js.map +1 -1
  106. package/test-utils/dom/line-chart/index.js +5 -25
  107. package/test-utils/dom/line-chart/index.js.map +1 -1
  108. package/test-utils/dom/link/index.js +5 -25
  109. package/test-utils/dom/link/index.js.map +1 -1
  110. package/test-utils/dom/mixed-line-bar-chart/index.js +29 -54
  111. package/test-utils/dom/mixed-line-bar-chart/index.js.map +1 -1
  112. package/test-utils/dom/modal/index.js +18 -38
  113. package/test-utils/dom/modal/index.js.map +1 -1
  114. package/test-utils/dom/multiselect/index.js +38 -61
  115. package/test-utils/dom/multiselect/index.js.map +1 -1
  116. package/test-utils/dom/pagination/index.js +19 -39
  117. package/test-utils/dom/pagination/index.js.map +1 -1
  118. package/test-utils/dom/pie-chart/index.js +22 -42
  119. package/test-utils/dom/pie-chart/index.js.map +1 -1
  120. package/test-utils/dom/popover/index.js +16 -39
  121. package/test-utils/dom/popover/index.js.map +1 -1
  122. package/test-utils/dom/progress-bar/index.js +13 -33
  123. package/test-utils/dom/progress-bar/index.js.map +1 -1
  124. package/test-utils/dom/property-filter/index.js +15 -35
  125. package/test-utils/dom/property-filter/index.js.map +1 -1
  126. package/test-utils/dom/radio-group/index.js +13 -33
  127. package/test-utils/dom/radio-group/index.js.map +1 -1
  128. package/test-utils/dom/radio-group/radio-button.js +12 -32
  129. package/test-utils/dom/radio-group/radio-button.js.map +1 -1
  130. package/test-utils/dom/s3-resource-selector/index.js +40 -70
  131. package/test-utils/dom/s3-resource-selector/index.js.map +1 -1
  132. package/test-utils/dom/segmented-control/index.js +9 -29
  133. package/test-utils/dom/segmented-control/index.js.map +1 -1
  134. package/test-utils/dom/select/index.js +28 -51
  135. package/test-utils/dom/select/index.js.map +1 -1
  136. package/test-utils/dom/side-navigation/index.js +41 -66
  137. package/test-utils/dom/side-navigation/index.js.map +1 -1
  138. package/test-utils/dom/space-between/index.js +5 -25
  139. package/test-utils/dom/space-between/index.js.map +1 -1
  140. package/test-utils/dom/spinner/index.js +5 -25
  141. package/test-utils/dom/spinner/index.js.map +1 -1
  142. package/test-utils/dom/split-panel/index.js +25 -45
  143. package/test-utils/dom/split-panel/index.js.map +1 -1
  144. package/test-utils/dom/status-indicator/index.js +5 -25
  145. package/test-utils/dom/status-indicator/index.js.map +1 -1
  146. package/test-utils/dom/table/index.js +76 -94
  147. package/test-utils/dom/table/index.js.map +1 -1
  148. package/test-utils/dom/tabs/index.js +19 -39
  149. package/test-utils/dom/tabs/index.js.map +1 -1
  150. package/test-utils/dom/tag-editor/index.js +19 -44
  151. package/test-utils/dom/tag-editor/index.js.map +1 -1
  152. package/test-utils/dom/text-content/index.js +5 -25
  153. package/test-utils/dom/text-content/index.js.map +1 -1
  154. package/test-utils/dom/text-filter/index.js +10 -30
  155. package/test-utils/dom/text-filter/index.js.map +1 -1
  156. package/test-utils/dom/textarea/index.js +16 -36
  157. package/test-utils/dom/textarea/index.js.map +1 -1
  158. package/test-utils/dom/tiles/index.js +17 -37
  159. package/test-utils/dom/tiles/index.js.map +1 -1
  160. package/test-utils/dom/tiles/tile.js +16 -36
  161. package/test-utils/dom/tiles/tile.js.map +1 -1
  162. package/test-utils/dom/time-input/index.js +5 -25
  163. package/test-utils/dom/time-input/index.js.map +1 -1
  164. package/test-utils/dom/toggle/index.js +14 -34
  165. package/test-utils/dom/toggle/index.js.map +1 -1
  166. package/test-utils/dom/token-group/index.js +14 -34
  167. package/test-utils/dom/token-group/index.js.map +1 -1
  168. package/test-utils/dom/token-group/token.js +12 -32
  169. package/test-utils/dom/token-group/token.js.map +1 -1
  170. package/test-utils/dom/top-navigation/1.0-beta/index.js +56 -91
  171. package/test-utils/dom/top-navigation/1.0-beta/index.js.map +1 -1
  172. package/test-utils/dom/top-navigation/index.js +73 -108
  173. package/test-utils/dom/top-navigation/index.js.map +1 -1
  174. package/test-utils/dom/tutorial-panel/index.js +38 -63
  175. package/test-utils/dom/tutorial-panel/index.js.map +1 -1
  176. package/test-utils/dom/tutorial-panel/tutorial.js +29 -49
  177. package/test-utils/dom/tutorial-panel/tutorial.js.map +1 -1
  178. package/test-utils/dom/wizard/index.js +33 -53
  179. package/test-utils/dom/wizard/index.js.map +1 -1
  180. package/test-utils/selectors/alert/index.js +20 -40
  181. package/test-utils/selectors/alert/index.js.map +1 -1
  182. package/test-utils/selectors/annotation/index.js +24 -44
  183. package/test-utils/selectors/annotation/index.js.map +1 -1
  184. package/test-utils/selectors/app-layout/index.js +27 -47
  185. package/test-utils/selectors/app-layout/index.js.map +1 -1
  186. package/test-utils/selectors/area-chart/index.js +12 -32
  187. package/test-utils/selectors/area-chart/index.js.map +1 -1
  188. package/test-utils/selectors/attribute-editor/index.js +32 -57
  189. package/test-utils/selectors/attribute-editor/index.js.map +1 -1
  190. package/test-utils/selectors/autosuggest/index.js +69 -103
  191. package/test-utils/selectors/autosuggest/index.js.map +1 -1
  192. package/test-utils/selectors/badge/index.js +5 -25
  193. package/test-utils/selectors/badge/index.js.map +1 -1
  194. package/test-utils/selectors/bar-chart/index.js +5 -25
  195. package/test-utils/selectors/bar-chart/index.js.map +1 -1
  196. package/test-utils/selectors/box/index.js +5 -25
  197. package/test-utils/selectors/box/index.js.map +1 -1
  198. package/test-utils/selectors/breadcrumb-group/index.js +17 -37
  199. package/test-utils/selectors/breadcrumb-group/index.js.map +1 -1
  200. package/test-utils/selectors/button/index.js +11 -31
  201. package/test-utils/selectors/button/index.js.map +1 -1
  202. package/test-utils/selectors/button-dropdown/index.js +30 -50
  203. package/test-utils/selectors/button-dropdown/index.js.map +1 -1
  204. package/test-utils/selectors/calendar/index.js +20 -40
  205. package/test-utils/selectors/calendar/index.js.map +1 -1
  206. package/test-utils/selectors/cards/index.js +55 -83
  207. package/test-utils/selectors/cards/index.js.map +1 -1
  208. package/test-utils/selectors/checkbox/index.js +14 -34
  209. package/test-utils/selectors/checkbox/index.js.map +1 -1
  210. package/test-utils/selectors/code-editor/index.js +25 -45
  211. package/test-utils/selectors/code-editor/index.js.map +1 -1
  212. package/test-utils/selectors/collection-preferences/index.js +40 -65
  213. package/test-utils/selectors/collection-preferences/index.js.map +1 -1
  214. package/test-utils/selectors/collection-preferences/page-size-preference.js +12 -32
  215. package/test-utils/selectors/collection-preferences/page-size-preference.js.map +1 -1
  216. package/test-utils/selectors/collection-preferences/visible-content-preference.js +18 -38
  217. package/test-utils/selectors/collection-preferences/visible-content-preference.js.map +1 -1
  218. package/test-utils/selectors/column-layout/index.js +5 -25
  219. package/test-utils/selectors/column-layout/index.js.map +1 -1
  220. package/test-utils/selectors/container/index.js +11 -31
  221. package/test-utils/selectors/container/index.js.map +1 -1
  222. package/test-utils/selectors/content-layout/index.js +9 -29
  223. package/test-utils/selectors/content-layout/index.js.map +1 -1
  224. package/test-utils/selectors/date-input/index.js +5 -25
  225. package/test-utils/selectors/date-input/index.js.map +1 -1
  226. package/test-utils/selectors/date-picker/index.js +22 -43
  227. package/test-utils/selectors/date-picker/index.js.map +1 -1
  228. package/test-utils/selectors/date-range-picker/index.js +81 -112
  229. package/test-utils/selectors/date-range-picker/index.js.map +1 -1
  230. package/test-utils/selectors/expandable-section/index.js +15 -35
  231. package/test-utils/selectors/expandable-section/index.js.map +1 -1
  232. package/test-utils/selectors/flashbar/flash.js +18 -38
  233. package/test-utils/selectors/flashbar/flash.js.map +1 -1
  234. package/test-utils/selectors/flashbar/index.js +9 -29
  235. package/test-utils/selectors/flashbar/index.js.map +1 -1
  236. package/test-utils/selectors/form/index.js +15 -35
  237. package/test-utils/selectors/form/index.js.map +1 -1
  238. package/test-utils/selectors/form-field/index.js +21 -41
  239. package/test-utils/selectors/form-field/index.js.map +1 -1
  240. package/test-utils/selectors/grid/index.js +8 -28
  241. package/test-utils/selectors/grid/index.js.map +1 -1
  242. package/test-utils/selectors/header/index.js +15 -35
  243. package/test-utils/selectors/header/index.js.map +1 -1
  244. package/test-utils/selectors/help-panel/index.js +11 -31
  245. package/test-utils/selectors/help-panel/index.js.map +1 -1
  246. package/test-utils/selectors/hotspot/index.js +12 -32
  247. package/test-utils/selectors/hotspot/index.js.map +1 -1
  248. package/test-utils/selectors/icon/index.js +5 -25
  249. package/test-utils/selectors/icon/index.js.map +1 -1
  250. package/test-utils/selectors/index.js +133 -134
  251. package/test-utils/selectors/index.js.map +1 -1
  252. package/test-utils/selectors/input/base-input.js +7 -27
  253. package/test-utils/selectors/input/base-input.js.map +1 -1
  254. package/test-utils/selectors/input/index.js +7 -27
  255. package/test-utils/selectors/input/index.js.map +1 -1
  256. package/test-utils/selectors/internal/abstract-switch.js +12 -32
  257. package/test-utils/selectors/internal/abstract-switch.js.map +1 -1
  258. package/test-utils/selectors/internal/autosuggest-input.js +14 -34
  259. package/test-utils/selectors/internal/autosuggest-input.js.map +1 -1
  260. package/test-utils/selectors/internal/chart-filter.js +11 -31
  261. package/test-utils/selectors/internal/chart-filter.js.map +1 -1
  262. package/test-utils/selectors/internal/chart-legend.js +13 -33
  263. package/test-utils/selectors/internal/chart-legend.js.map +1 -1
  264. package/test-utils/selectors/internal/chart-popover.js +14 -34
  265. package/test-utils/selectors/internal/chart-popover.js.map +1 -1
  266. package/test-utils/selectors/internal/charts.js +20 -40
  267. package/test-utils/selectors/internal/charts.js.map +1 -1
  268. package/test-utils/selectors/internal/dropdown-host.js +59 -91
  269. package/test-utils/selectors/internal/dropdown-host.js.map +1 -1
  270. package/test-utils/selectors/internal/dropdown.js +7 -27
  271. package/test-utils/selectors/internal/dropdown.js.map +1 -1
  272. package/test-utils/selectors/internal/filtering-token.js +13 -33
  273. package/test-utils/selectors/internal/filtering-token.js.map +1 -1
  274. package/test-utils/selectors/internal/option.js +13 -33
  275. package/test-utils/selectors/internal/option.js.map +1 -1
  276. package/test-utils/selectors/internal/options-list.js +5 -25
  277. package/test-utils/selectors/internal/options-list.js.map +1 -1
  278. package/test-utils/selectors/line-chart/index.js +5 -25
  279. package/test-utils/selectors/line-chart/index.js.map +1 -1
  280. package/test-utils/selectors/link/index.js +5 -25
  281. package/test-utils/selectors/link/index.js.map +1 -1
  282. package/test-utils/selectors/mixed-line-bar-chart/index.js +29 -54
  283. package/test-utils/selectors/mixed-line-bar-chart/index.js.map +1 -1
  284. package/test-utils/selectors/modal/index.js +13 -33
  285. package/test-utils/selectors/modal/index.js.map +1 -1
  286. package/test-utils/selectors/multiselect/index.js +38 -61
  287. package/test-utils/selectors/multiselect/index.js.map +1 -1
  288. package/test-utils/selectors/pagination/index.js +19 -39
  289. package/test-utils/selectors/pagination/index.js.map +1 -1
  290. package/test-utils/selectors/pie-chart/index.js +22 -42
  291. package/test-utils/selectors/pie-chart/index.js.map +1 -1
  292. package/test-utils/selectors/popover/index.js +22 -45
  293. package/test-utils/selectors/popover/index.js.map +1 -1
  294. package/test-utils/selectors/progress-bar/index.js +13 -33
  295. package/test-utils/selectors/progress-bar/index.js.map +1 -1
  296. package/test-utils/selectors/property-filter/index.js +15 -35
  297. package/test-utils/selectors/property-filter/index.js.map +1 -1
  298. package/test-utils/selectors/radio-group/index.js +13 -33
  299. package/test-utils/selectors/radio-group/index.js.map +1 -1
  300. package/test-utils/selectors/radio-group/radio-button.js +12 -32
  301. package/test-utils/selectors/radio-group/radio-button.js.map +1 -1
  302. package/test-utils/selectors/s3-resource-selector/index.js +40 -70
  303. package/test-utils/selectors/s3-resource-selector/index.js.map +1 -1
  304. package/test-utils/selectors/segmented-control/index.js +9 -29
  305. package/test-utils/selectors/segmented-control/index.js.map +1 -1
  306. package/test-utils/selectors/select/index.js +28 -51
  307. package/test-utils/selectors/select/index.js.map +1 -1
  308. package/test-utils/selectors/side-navigation/index.js +41 -66
  309. package/test-utils/selectors/side-navigation/index.js.map +1 -1
  310. package/test-utils/selectors/space-between/index.js +5 -25
  311. package/test-utils/selectors/space-between/index.js.map +1 -1
  312. package/test-utils/selectors/spinner/index.js +5 -25
  313. package/test-utils/selectors/spinner/index.js.map +1 -1
  314. package/test-utils/selectors/split-panel/index.js +25 -45
  315. package/test-utils/selectors/split-panel/index.js.map +1 -1
  316. package/test-utils/selectors/status-indicator/index.js +5 -25
  317. package/test-utils/selectors/status-indicator/index.js.map +1 -1
  318. package/test-utils/selectors/table/index.js +76 -94
  319. package/test-utils/selectors/table/index.js.map +1 -1
  320. package/test-utils/selectors/tabs/index.js +19 -39
  321. package/test-utils/selectors/tabs/index.js.map +1 -1
  322. package/test-utils/selectors/tag-editor/index.js +19 -44
  323. package/test-utils/selectors/tag-editor/index.js.map +1 -1
  324. package/test-utils/selectors/text-content/index.js +5 -25
  325. package/test-utils/selectors/text-content/index.js.map +1 -1
  326. package/test-utils/selectors/text-filter/index.js +10 -30
  327. package/test-utils/selectors/text-filter/index.js.map +1 -1
  328. package/test-utils/selectors/textarea/index.js +7 -27
  329. package/test-utils/selectors/textarea/index.js.map +1 -1
  330. package/test-utils/selectors/tiles/index.js +17 -37
  331. package/test-utils/selectors/tiles/index.js.map +1 -1
  332. package/test-utils/selectors/tiles/tile.js +16 -36
  333. package/test-utils/selectors/tiles/tile.js.map +1 -1
  334. package/test-utils/selectors/time-input/index.js +5 -25
  335. package/test-utils/selectors/time-input/index.js.map +1 -1
  336. package/test-utils/selectors/toggle/index.js +14 -34
  337. package/test-utils/selectors/toggle/index.js.map +1 -1
  338. package/test-utils/selectors/token-group/index.js +14 -34
  339. package/test-utils/selectors/token-group/index.js.map +1 -1
  340. package/test-utils/selectors/token-group/token.js +12 -32
  341. package/test-utils/selectors/token-group/token.js.map +1 -1
  342. package/test-utils/selectors/top-navigation/1.0-beta/index.js +56 -91
  343. package/test-utils/selectors/top-navigation/1.0-beta/index.js.map +1 -1
  344. package/test-utils/selectors/top-navigation/index.js +73 -108
  345. package/test-utils/selectors/top-navigation/index.js.map +1 -1
  346. package/test-utils/selectors/tutorial-panel/index.js +38 -63
  347. package/test-utils/selectors/tutorial-panel/index.js.map +1 -1
  348. package/test-utils/selectors/tutorial-panel/tutorial.js +29 -49
  349. package/test-utils/selectors/tutorial-panel/tutorial.js.map +1 -1
  350. package/test-utils/selectors/wizard/index.js +33 -53
  351. package/test-utils/selectors/wizard/index.js.map +1 -1
  352. package/test-utils/tsconfig.tsbuildinfo +1 -1
@@ -1,84 +1,59 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  exports.SideNavigationItemWrapper = void 0;
19
4
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
20
5
  // SPDX-License-Identifier: Apache-2.0
21
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
22
- var expandable_section_1 = require("../expandable-section");
23
- var styles_selectors_js_1 = require("../../../side-navigation/styles.selectors.js");
24
- var SideNavigationWrapper = /** @class */ (function (_super) {
25
- __extends(SideNavigationWrapper, _super);
26
- function SideNavigationWrapper() {
27
- return _super !== null && _super.apply(this, arguments) || this;
28
- }
29
- SideNavigationWrapper.prototype.findHeader = function () {
6
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
7
+ const expandable_section_1 = require("../expandable-section");
8
+ const styles_selectors_js_1 = require("../../../side-navigation/styles.selectors.js");
9
+ class SideNavigationWrapper extends selectors_1.ComponentWrapper {
10
+ findHeader() {
30
11
  return this.findByClassName(styles_selectors_js_1.default.header);
31
- };
32
- SideNavigationWrapper.prototype.findHeaderLink = function () {
12
+ }
13
+ findHeaderLink() {
33
14
  return this.findByClassName(styles_selectors_js_1.default['header-link']);
34
- };
35
- SideNavigationWrapper.prototype.findLinkByHref = function (href) {
36
- return this.find(".".concat(styles_selectors_js_1.default.link, "[href=\"").concat(href, "\"]"));
37
- };
38
- SideNavigationWrapper.prototype.findActiveLink = function () {
15
+ }
16
+ findLinkByHref(href) {
17
+ return this.find(`.${styles_selectors_js_1.default.link}[href="${href}"]`);
18
+ }
19
+ findActiveLink() {
39
20
  return this.findByClassName(styles_selectors_js_1.default['link-active']);
40
- };
41
- SideNavigationWrapper.prototype.findItemByIndex = function (index) {
42
- return this.findComponent(".".concat(styles_selectors_js_1.default['list-variant-root'], " > li:nth-child(").concat(index, ")"), SideNavigationItemWrapper);
43
- };
44
- SideNavigationWrapper.rootSelector = styles_selectors_js_1.default.root;
45
- return SideNavigationWrapper;
46
- }(selectors_1.ComponentWrapper));
21
+ }
22
+ findItemByIndex(index) {
23
+ return this.findComponent(`.${styles_selectors_js_1.default['list-variant-root']} > li:nth-child(${index})`, SideNavigationItemWrapper);
24
+ }
25
+ }
47
26
  exports.default = SideNavigationWrapper;
48
- var SideNavigationItemWrapper = /** @class */ (function (_super) {
49
- __extends(SideNavigationItemWrapper, _super);
50
- function SideNavigationItemWrapper() {
51
- return _super !== null && _super.apply(this, arguments) || this;
27
+ SideNavigationWrapper.rootSelector = styles_selectors_js_1.default.root;
28
+ class SideNavigationItemWrapper extends selectors_1.ElementWrapper {
29
+ findSection() {
30
+ return this.findComponent(`.${styles_selectors_js_1.default.section}`, expandable_section_1.default);
52
31
  }
53
- SideNavigationItemWrapper.prototype.findSection = function () {
54
- return this.findComponent(".".concat(styles_selectors_js_1.default.section), expandable_section_1.default);
55
- };
56
- SideNavigationItemWrapper.prototype.findSectionGroup = function () {
32
+ findSectionGroup() {
57
33
  return this.findByClassName(styles_selectors_js_1.default['section-group']);
58
- };
59
- SideNavigationItemWrapper.prototype.findSectionGroupTitle = function () {
34
+ }
35
+ findSectionGroupTitle() {
60
36
  return this.findByClassName(styles_selectors_js_1.default['section-group-title']);
61
- };
62
- SideNavigationItemWrapper.prototype.findExpandableLinkGroup = function () {
63
- return this.findComponent(".".concat(styles_selectors_js_1.default['expandable-link-group']), expandable_section_1.default);
64
- };
65
- SideNavigationItemWrapper.prototype.findDivider = function () {
37
+ }
38
+ findExpandableLinkGroup() {
39
+ return this.findComponent(`.${styles_selectors_js_1.default['expandable-link-group']}`, expandable_section_1.default);
40
+ }
41
+ findDivider() {
66
42
  return this.findByClassName(styles_selectors_js_1.default.divider);
67
- };
68
- SideNavigationItemWrapper.prototype.findLink = function () {
43
+ }
44
+ findLink() {
69
45
  return this.findByClassName(styles_selectors_js_1.default.link);
70
- };
71
- SideNavigationItemWrapper.prototype.findSectionTitle = function () {
46
+ }
47
+ findSectionTitle() {
72
48
  var _a, _b;
73
49
  return (_b = (_a = this.findSection()) === null || _a === void 0 ? void 0 : _a.findHeader()) !== null && _b !== void 0 ? _b : null;
74
- };
75
- SideNavigationItemWrapper.prototype.findItemByIndex = function (index) {
76
- return this.findComponent("li:nth-child(".concat(index, ")"), SideNavigationItemWrapper);
77
- };
78
- SideNavigationItemWrapper.prototype.findItems = function () {
79
- return this.findAll('li').map(function (wrapper) { return new SideNavigationItemWrapper(wrapper.getElement()); });
80
- };
81
- return SideNavigationItemWrapper;
82
- }(selectors_1.ElementWrapper));
50
+ }
51
+ findItemByIndex(index) {
52
+ return this.findComponent(`li:nth-child(${index})`, SideNavigationItemWrapper);
53
+ }
54
+ findItems() {
55
+ return this.findAll('li').map(wrapper => new SideNavigationItemWrapper(wrapper.getElement()));
56
+ }
57
+ }
83
58
  exports.SideNavigationItemWrapper = SideNavigationItemWrapper;
84
59
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/side-navigation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgG;AAChG,4DAA6D;AAC7D,oFAAkE;AAClE;IAAmD,yCAAgB;IAAnE;;IAiBA,CAAC;IAfC,0CAAU,GAAV;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IACD,8CAAc,GAAd;QACE,OAAO,IAAI,CAAC,e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AAe,CAAC,6BAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IACD,oDAAgB,GAAhB;;QACE,OAAO,MAAA,MAAA,IAAI,CAAC,WAAW,EAAE,0CAAE,UAAU,EAAE,mCAAI,IAAI,CAAC;IAClD,CAAC;IACD,mDAAe,GAAf,UAAgB,KAAa;QAC3B,OAAO,IAAI,CAAC,aAAa,CAAC,uBAAgB,KAAK,MAAG,EAAE,yBAAyB,CAAC,CAAC;IACjF,CAAC;IACD,6CAAS,GAAT;QACE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,UAAA,OAAO,IAAI,OAAA,IAAI,yBAAyB,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,EAAnD,CAAmD,CAAC,CAAC;IAChG,CAAC;IACH,gCAAC;AAAD,CAAC,AA5BD,CAA+C,0BAAc,GA4B5D;AA5BY,8DAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/side-navigation/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,8DAA6D;AAC7D,sFAAkE;AAClE,MAAqB,qBAAsB,SAAQ,4BAAgB;IAEjE,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IACD,cAAc;QACZ,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,aAAa,CAAC,CAAC,CAAC;IACrD,CAAC;IACD,cAAc,CAAC,IAAY;QACzB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,IAAI,UAAU,IAAI,IAAI,CAAC,CAAC;IACtD,CAAC;IACD,cAAc;QACZ,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,aAAa,CAAC,CAAC,CAAC;IACrD,CAAC;IACD,eAAe,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,aAAa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AC;CACF;AA5BD,8DA4BC"}
@@ -1,31 +1,11 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
4
  // SPDX-License-Identifier: Apache-2.0
20
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
21
- var styles_selectors_js_1 = require("../../../space-between/styles.selectors.js");
22
- var SpaceBetweenWrapper = /** @class */ (function (_super) {
23
- __extends(SpaceBetweenWrapper, _super);
24
- function SpaceBetweenWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- SpaceBetweenWrapper.rootSelector = styles_selectors_js_1.default.root;
28
- return SpaceBetweenWrapper;
29
- }(selectors_1.ComponentWrapper));
5
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
6
+ const styles_selectors_js_1 = require("../../../space-between/styles.selectors.js");
7
+ class SpaceBetweenWrapper extends selectors_1.ComponentWrapper {
8
+ }
30
9
  exports.default = SpaceBetweenWrapper;
10
+ SpaceBetweenWrapper.rootSelector = styles_selectors_js_1.default.root;
31
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/space-between/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgF;AAChF,kFAAgE;AAChE;IAAiD,uCAAgB;IAAjE;;IAEA,CAAC;IADQ,gCAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAC5C,0BAAC;CAAA,AAFD,CAAiD,4BAAgB,GAEhE;kBAFoB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/space-between/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgF;AAChF,oFAAgE;AAChE,MAAqB,mBAAoB,SAAQ,4BAAgB;;AAAjE,sCAEC;AADQ,gCAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,31 +1,11 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
4
  // SPDX-License-Identifier: Apache-2.0
20
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
21
- var styles_selectors_js_1 = require("../../../spinner/styles.selectors.js");
22
- var SpinnerWrapper = /** @class */ (function (_super) {
23
- __extends(SpinnerWrapper, _super);
24
- function SpinnerWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- SpinnerWrapper.rootSelector = styles_selectors_js_1.default.root;
28
- return SpinnerWrapper;
29
- }(selectors_1.ComponentWrapper));
5
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
6
+ const styles_selectors_js_1 = require("../../../spinner/styles.selectors.js");
7
+ class SpinnerWrapper extends selectors_1.ComponentWrapper {
8
+ }
30
9
  exports.default = SpinnerWrapper;
10
+ SpinnerWrapper.rootSelector = styles_selectors_js_1.default.root;
31
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/spinner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgF;AAChF,4EAA0D;AAC1D;IAA4C,kCAAgB;IAA5D;;IAEA,CAAC;IADQ,2BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAC5C,qBAAC;CAAA,AAFD,CAA4C,4BAAgB,GAE3D;kBAFoB,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/spinner/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgF;AAChF,8EAA0D;AAC1D,MAAqB,cAAe,SAAQ,4BAAgB;;AAA5D,iCAEC;AADQ,2BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,61 +1,41 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
4
  // SPDX-License-Identifier: Apache-2.0
20
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
21
- var button_1 = require("../button");
22
- var styles_selectors_js_1 = require("../../../split-panel/styles.selectors.js");
23
- var SplitPanelWrapper = /** @class */ (function (_super) {
24
- __extends(SplitPanelWrapper, _super);
25
- function SplitPanelWrapper() {
26
- return _super !== null && _super.apply(this, arguments) || this;
5
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
6
+ const button_1 = require("../button");
7
+ const styles_selectors_js_1 = require("../../../split-panel/styles.selectors.js");
8
+ class SplitPanelWrapper extends selectors_1.ComponentWrapper {
9
+ findHeader() {
10
+ return this.find(`.${styles_selectors_js_1.default['header-text']}`);
27
11
  }
28
- SplitPanelWrapper.prototype.findHeader = function () {
29
- return this.find(".".concat(styles_selectors_js_1.default['header-text']));
30
- };
31
- SplitPanelWrapper.prototype.findPreferencesButton = function () {
32
- return this.findComponent(".".concat(styles_selectors_js_1.default['preferences-button']), button_1.default);
33
- };
34
- SplitPanelWrapper.prototype.findCloseButton = function () {
35
- return this.findComponent(".".concat(styles_selectors_js_1.default['close-button']), button_1.default);
36
- };
37
- SplitPanelWrapper.prototype.findOpenButton = function () {
38
- return this.findComponent(".".concat(styles_selectors_js_1.default['open-button']), button_1.default);
39
- };
40
- SplitPanelWrapper.prototype.findSlider = function () {
12
+ findPreferencesButton() {
13
+ return this.findComponent(`.${styles_selectors_js_1.default['preferences-button']}`, button_1.default);
14
+ }
15
+ findCloseButton() {
16
+ return this.findComponent(`.${styles_selectors_js_1.default['close-button']}`, button_1.default);
17
+ }
18
+ findOpenButton() {
19
+ return this.findComponent(`.${styles_selectors_js_1.default['open-button']}`, button_1.default);
20
+ }
21
+ findSlider() {
41
22
  return this.findByClassName(styles_selectors_js_1.default.slider);
42
- };
23
+ }
43
24
  /**
44
25
  * Returns the same panel if it's currently open in bottom position. If not, it returns null.
45
26
  * Use this method to assert the panel position.
46
27
  */
47
- SplitPanelWrapper.prototype.findOpenPanelBottom = function () {
48
- return this.matches(".".concat(styles_selectors_js_1.default['position-bottom'], ":not(.").concat(styles_selectors_js_1.default['drawer-closed'], ")"));
49
- };
28
+ findOpenPanelBottom() {
29
+ return this.matches(`.${styles_selectors_js_1.default['position-bottom']}:not(.${styles_selectors_js_1.default['drawer-closed']})`);
30
+ }
50
31
  /**
51
32
  * Returns the same panel if it's currently open in side position. If not, it returns null.
52
33
  * Use this method to assert the panel position.
53
34
  */
54
- SplitPanelWrapper.prototype.findOpenPanelSide = function () {
55
- return this.matches(".".concat(styles_selectors_js_1.default['position-side'], ":not(.").concat(styles_selectors_js_1.default['drawer-closed'], ")"));
56
- };
57
- SplitPanelWrapper.rootSelector = styles_selectors_js_1.default.root;
58
- return SplitPanelWrapper;
59
- }(selectors_1.ComponentWrapper));
35
+ findOpenPanelSide() {
36
+ return this.matches(`.${styles_selectors_js_1.default['position-side']}:not(.${styles_selectors_js_1.default['drawer-closed']})`);
37
+ }
38
+ }
60
39
  exports.default = SplitPanelWrapper;
40
+ SplitPanelWrapper.rootSelector = styles_selectors_js_1.default.root;
61
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/split-panel/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgG;AAChG,oCAAsC;AACtC,gFAA8D;AAC9D;IAA+C,qCAAgB;IAA/D;;IAiCA,CAAC;IA/BC,sCAAU,GAAV;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,WAAI,6BAAM,CAAC,aAAa,CAAC,CAAE,CAAE,CAAC;IACjD,CAAC;IACD,iDAAqB,GAArB;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAM,CAAC,oBAAoB,CAAC,CAAE,EAAE,gBAAa,CAAC,CAAC;IAC/E,CAAC;IACD,2CAAe,GAAf;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAM,CAAC,cAAc,CAAC,CAAE,EAAE,gBAAa,CAAC,CAAC;IACzE,CAAC;IACD,0CAAc,GAAd;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAM,CAAC,aAAa,CAAC,CAAE,EAAE,gBAAa,CAAC,CAAC;IACxE,CAAC;IACD,sCAAU,GAAV;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,+CAAmB,GAAnB;QACE,OAAO,IAAI,CAAC,OAAO,CAAC,WAAI,6BAAM,CAAC,iBAAiB,CAAC,mBAAS,6BAAM,CAAC,eAAe,CAAC,MAAG,CAAC,CAAC;IACxF,CAAC;IAED;;;OAGG;IACH,6CAAiB,GAAjB;QACE,OAAO,IAAI,CAAC,OAAO,CAAC,WAAI,6BAAM,CAAC,eAAe,CAAC,mBAAS,6BAAM,CAAC,eAAe,CAAC,MAAG,CAAC,CAAC;IACtF,CAAC;IA/BM,8BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAgC5C,wBAAC;CAAA,AAjCD,CAA+C,4BAAgB,GAiC9D;kBAjCoB,iBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/split-panel/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,sCAAsC;AACtC,kFAA8D;AAC9D,MAAqB,iBAAkB,SAAQ,4BAAgB;IAE7D,UAAU;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,CAAE,CAAC;IACjD,CAAC;IACD,qBAAqB;QACnB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,oBAAoB,CAAC,EAAE,EAAE,gBAAa,CAAC,CAAC;IAC/E,CAAC;IACD,eAAe;QACb,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,cAAc,CAAC,EAAE,EAAE,gBAAa,CAAC,CAAC;IACzE,CAAC;IACD,cAAc;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,EAAE,gBAAa,CAAC,CAAC;IACxE,CAAC;IACD,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,mBAAmB;QACjB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,6BAAM,CAAC,iBAAiB,CAAC,SAAS,6BAAM,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;IACxF,CAAC;IAED;;;OAGG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,6BAAM,CAAC,eAAe,CAAC,SAAS,6BAAM,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;IACtF,CAAC;;AAhCH,oCAiCC;AAhCQ,8BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,31 +1,11 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
4
  // SPDX-License-Identifier: Apache-2.0
20
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
21
- var styles_selectors_js_1 = require("../../../status-indicator/styles.selectors.js");
22
- var StatusIndicatorWrapper = /** @class */ (function (_super) {
23
- __extends(StatusIndicatorWrapper, _super);
24
- function StatusIndicatorWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- StatusIndicatorWrapper.rootSelector = styles_selectors_js_1.default.root;
28
- return StatusIndicatorWrapper;
29
- }(selectors_1.ComponentWrapper));
5
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
6
+ const styles_selectors_js_1 = require("../../../status-indicator/styles.selectors.js");
7
+ class StatusIndicatorWrapper extends selectors_1.ComponentWrapper {
8
+ }
30
9
  exports.default = StatusIndicatorWrapper;
10
+ StatusIndicatorWrapper.rootSelector = styles_selectors_js_1.default.root;
31
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/status-indicator/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgF;AAChF,qFAAmE;AACnE;IAAoD,0CAAgB;IAApE;;IAEA,CAAC;IADQ,mCAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAC5C,6BAAC;CAAA,AAFD,CAAoD,4BAAgB,GAEnE;kBAFoB,sBAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/status-indicator/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgF;AAChF,uFAAmE;AACnE,MAAqB,sBAAuB,SAAQ,4BAAgB;;AAApE,yCAEC;AADQ,mCAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,154 +1,136 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
4
  // SPDX-License-Identifier: Apache-2.0
20
- var selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
21
- var styles_selectors_js_1 = require("../../../table/styles.selectors.js");
22
- var styles_selectors_js_2 = require("../../../table/header-cell/styles.selectors.js");
23
- var styles_selectors_js_3 = require("../../../table/body-cell/styles.selectors.js");
24
- var styles_selectors_js_4 = require("../../../table/selection-control/styles.selectors.js");
25
- var styles_selectors_js_5 = require("../../../table/resizer/styles.selectors.js");
26
- var collection_preferences_1 = require("../collection-preferences");
27
- var container_1 = require("../container");
28
- var pagination_1 = require("../pagination");
29
- var text_filter_1 = require("../text-filter");
30
- var TableWrapper = /** @class */ (function (_super) {
31
- __extends(TableWrapper, _super);
32
- function TableWrapper() {
33
- var _this = _super !== null && _super.apply(this, arguments) || this;
34
- _this.containerWrapper = new container_1.default(_this.getElement());
35
- return _this;
36
- }
37
- TableWrapper.prototype.findNativeTable = function () {
38
- return this.find(".".concat(styles_selectors_js_1.default.wrapper, " > .").concat(styles_selectors_js_1.default.table));
39
- };
40
- TableWrapper.prototype.findActiveTHead = function () {
5
+ const selectors_1 = require("@cloudscape-design/test-utils-core/selectors");
6
+ const styles_selectors_js_1 = require("../../../table/styles.selectors.js");
7
+ const styles_selectors_js_2 = require("../../../table/header-cell/styles.selectors.js");
8
+ const styles_selectors_js_3 = require("../../../table/body-cell/styles.selectors.js");
9
+ const styles_selectors_js_4 = require("../../../table/selection-control/styles.selectors.js");
10
+ const styles_selectors_js_5 = require("../../../table/resizer/styles.selectors.js");
11
+ const collection_preferences_1 = require("../collection-preferences");
12
+ const container_1 = require("../container");
13
+ const pagination_1 = require("../pagination");
14
+ const text_filter_1 = require("../text-filter");
15
+ class TableWrapper extends selectors_1.ComponentWrapper {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.containerWrapper = new container_1.default(this.getElement());
19
+ }
20
+ findNativeTable() {
21
+ return this.find(`.${styles_selectors_js_1.default.wrapper} > .${styles_selectors_js_1.default.table}`);
22
+ }
23
+ findActiveTHead() {
41
24
  return this.findByClassName(styles_selectors_js_1.default['thead-active']);
42
- };
43
- TableWrapper.prototype.findHeaderSlot = function () {
25
+ }
26
+ findHeaderSlot() {
44
27
  return this.findByClassName(styles_selectors_js_1.default['header-controls']);
45
- };
28
+ }
46
29
  /**
47
30
  * Alias for findHeader method for compatibility with previous versions
48
31
  * @deprecated
49
32
  */
50
- TableWrapper.prototype.findHeaderRegion = function () {
33
+ findHeaderRegion() {
51
34
  return this.findHeaderSlot();
52
- };
53
- TableWrapper.prototype.findFooterSlot = function () {
35
+ }
36
+ findFooterSlot() {
54
37
  return this.containerWrapper.findFooter();
55
- };
56
- TableWrapper.prototype.findColumnHeaders = function () {
38
+ }
39
+ findColumnHeaders() {
57
40
  return this.findActiveTHead().findAll('tr > *');
58
- };
41
+ }
59
42
  /**
60
43
  * Returns the element the user clicks when resizing a column.
61
44
  *
62
45
  * @param columnIndex 1-based index of the column containing the resizer.
63
46
  */
64
- TableWrapper.prototype.findColumnResizer = function (columnIndex) {
65
- return this.findActiveTHead().find("th:nth-child(".concat(columnIndex, ") .").concat(styles_selectors_js_5.default.resizer));
66
- };
47
+ findColumnResizer(columnIndex) {
48
+ return this.findActiveTHead().find(`th:nth-child(${columnIndex}) .${styles_selectors_js_5.default.resizer}`);
49
+ }
67
50
  /**
68
51
  * Returns a table cell based on given row and column indices.
69
52
  *
70
53
  * @param rowIndex 1-based index of the row of the cell to select.
71
54
  * @param columnIndex 1-based index of the column of the cell to select.
72
55
  */
73
- TableWrapper.prototype.findBodyCell = function (rowIndex, columnIndex) {
74
- return this.findNativeTable().find("tbody tr:nth-child(".concat(rowIndex, ") td:nth-child(").concat(columnIndex, ")"));
75
- };
76
- TableWrapper.prototype.findRows = function () {
56
+ findBodyCell(rowIndex, columnIndex) {
57
+ return this.findNativeTable().find(`tbody tr:nth-child(${rowIndex}) td:nth-child(${columnIndex})`);
58
+ }
59
+ findRows() {
77
60
  return this.findNativeTable().findAllByClassName(styles_selectors_js_1.default.row);
78
- };
79
- TableWrapper.prototype.findSelectedRows = function () {
61
+ }
62
+ findSelectedRows() {
80
63
  return this.findAllByClassName(styles_selectors_js_1.default['row-selected']);
81
- };
64
+ }
82
65
  /**
83
66
  * Alias for findEmptySlot method for compatibility with previous versions
84
67
  * @deprecated
85
68
  */
86
- TableWrapper.prototype.findEmptyRegion = function () {
69
+ findEmptyRegion() {
87
70
  return this.findEmptySlot();
88
- };
89
- TableWrapper.prototype.findEmptySlot = function () {
71
+ }
72
+ findEmptySlot() {
90
73
  return this.findByClassName(styles_selectors_js_1.default.empty);
91
- };
92
- TableWrapper.prototype.findLoadingText = function () {
74
+ }
75
+ findLoadingText() {
93
76
  return this.findByClassName(styles_selectors_js_1.default.loading);
94
- };
95
- TableWrapper.prototype.findColumnSortingArea = function (colIndex) {
96
- return this.findActiveTHead().find("tr > *:nth-child(".concat(colIndex, ") [role=button]"));
97
- };
77
+ }
78
+ findColumnSortingArea(colIndex) {
79
+ return this.findActiveTHead().find(`tr > *:nth-child(${colIndex}) [role=button]`);
80
+ }
98
81
  /**
99
82
  * Returns the column that is used for ascending sorting.
100
83
  */
101
- TableWrapper.prototype.findAscSortedColumn = function () {
84
+ findAscSortedColumn() {
102
85
  return this.findNativeTable().findByClassName(styles_selectors_js_2.default['header-cell-ascending']);
103
- };
86
+ }
104
87
  /**
105
88
  * Returns the column that is used for descending sorting.
106
89
  */
107
- TableWrapper.prototype.findDescSortedColumn = function () {
90
+ findDescSortedColumn() {
108
91
  return this.findNativeTable().findByClassName(styles_selectors_js_2.default['header-cell-descending']);
109
- };
92
+ }
110
93
  /**
111
94
  * Returns a row selection area for a given index.
112
95
  *
113
96
  * @param rowIndex 1-based index of the row selection area to return.
114
97
  */
115
- TableWrapper.prototype.findRowSelectionArea = function (rowIndex) {
116
- return this.findNativeTable().find("tbody tr:nth-child(".concat(rowIndex, ") .").concat(styles_selectors_js_4.default.root));
117
- };
118
- TableWrapper.prototype.findSelectAllTrigger = function () {
119
- return this.findActiveTHead().find(".".concat(styles_selectors_js_4.default.root));
120
- };
121
- TableWrapper.prototype.findTextFilter = function () {
122
- return this.findComponent(".".concat(styles_selectors_js_1.default['tools-filtering']), text_filter_1.default);
123
- };
98
+ findRowSelectionArea(rowIndex) {
99
+ return this.findNativeTable().find(`tbody tr:nth-child(${rowIndex}) .${styles_selectors_js_4.default.root}`);
100
+ }
101
+ findSelectAllTrigger() {
102
+ return this.findActiveTHead().find(`.${styles_selectors_js_4.default.root}`);
103
+ }
104
+ findTextFilter() {
105
+ return this.findComponent(`.${styles_selectors_js_1.default['tools-filtering']}`, text_filter_1.default);
106
+ }
124
107
  //
125
108
  // findPropertyFiltering(): TablePropertyFilteringWrapper {
126
109
  // return new TablePropertyFilteringWrapper(this.find('awsui-table-property-filtering').getElement());
127
110
  // }
128
111
  //
129
- TableWrapper.prototype.findCollectionPreferences = function () {
130
- return this.findComponent(".".concat(styles_selectors_js_1.default['tools-preferences']), collection_preferences_1.default);
131
- };
132
- TableWrapper.prototype.findPagination = function () {
133
- return this.findComponent(".".concat(styles_selectors_js_1.default['tools-pagination']), pagination_1.default);
134
- };
135
- TableWrapper.prototype.findEditingCell = function () {
112
+ findCollectionPreferences() {
113
+ return this.findComponent(`.${styles_selectors_js_1.default['tools-preferences']}`, collection_preferences_1.default);
114
+ }
115
+ findPagination() {
116
+ return this.findComponent(`.${styles_selectors_js_1.default['tools-pagination']}`, pagination_1.default);
117
+ }
118
+ findEditingCell() {
136
119
  return this.findNativeTable().findByClassName(styles_selectors_js_3.default['body-cell-edit-active']);
137
- };
138
- TableWrapper.prototype._findEditingCellControls = function () {
120
+ }
121
+ _findEditingCellControls() {
139
122
  var _a, _b;
140
123
  return (_b = (_a = this.findEditingCell()) === null || _a === void 0 ? void 0 : _a.findByClassName(styles_selectors_js_3.default['body-cell-editor-controls'])) !== null && _b !== void 0 ? _b : null;
141
- };
142
- TableWrapper.prototype.findEditingCellSaveButton = function () {
124
+ }
125
+ findEditingCellSaveButton() {
143
126
  var _a, _b;
144
127
  return (_b = (_a = this._findEditingCellControls()) === null || _a === void 0 ? void 0 : _a.find('button[type="submit"]')) !== null && _b !== void 0 ? _b : null;
145
- };
146
- TableWrapper.prototype.findEditingCellCancelButton = function () {
128
+ }
129
+ findEditingCellCancelButton() {
147
130
  var _a, _b;
148
131
  return (_b = (_a = this._findEditingCellControls()) === null || _a === void 0 ? void 0 : _a.find('button:first-child')) !== null && _b !== void 0 ? _b : null;
149
- };
150
- TableWrapper.rootSelector = styles_selectors_js_1.default.root;
151
- return TableWrapper;
152
- }(selectors_1.ComponentWrapper));
132
+ }
133
+ }
153
134
  exports.default = TableWrapper;
135
+ TableWrapper.rootSelector = styles_selectors_js_1.default.root;
154
136
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/table/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,0EAAgG;AAChG,0EAAwD;AACxD,sFAA8E;AAC9E,oFAA0E;AAC1E,4FAAmF;AACnF,kFAAuE;AACvE,oEAAqE;AACrE,0CAA4C;AAC5C,4CAA8C;AAC9C,8CAA+C;AAC/C;IAA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AAE;IACF,2DAA2D;IAC3D,wGAAwG;IACxG,IAAI;IACJ,EAAE;IACF,gDAAyB,GAAzB;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAM,CAAC,mBAAmB,CAAC,CAAE,EAAE,gCAA4B,CAAC,CAAC;IAC7F,CAAC;IACD,qCAAc,GAAd;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAM,CAAC,kBAAkB,CAAC,CAAE,EAAE,oBAAiB,CAAC,CAAC;IACjF,CAAC;IACD,sCAAe,GAAf;QACE,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC,eAAe,CAAC,6BAAc,CAAC,uBAAuB,CAAC,CAAC,CAAC;IACzF,CAAC;IACO,+CAAwB,GAAhC;;QACE,OAAO,MAAA,MAAA,IAAI,CAAC,eAAe,EAAE,0CAAE,eAAe,CAAC,6BAAc,CAAC,2BAA2B,CAAC,CAAC,mCAAI,IAAI,CAAC;IACtG,CAAC;IACD,gDAAyB,GAAzB;;QACE,OAAO,MAAA,MAAA,IAAI,CAAC,wBAAwB,EAAE,0CAAE,IAAI,CAAC,uBAAuB,CAAC,mCAAI,IAAI,CAAC;IAChF,CAAC;IACD,kDAA2B,GAA3B;;QACE,OAAO,MAAA,MAAA,IAAI,CAAC,wBAAwB,EAAE,0CAAE,IAAI,CAAC,oBAAoB,CAAC,mCAAI,IAAI,CAAC;IAC7E,CAAC;IAtHM,yBAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAuH5C,mBAAC;CAAA,AAxHD,CAA0C,4BAAgB,GAwHzD;kBAxHoB,YAAY"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/table/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,4EAAwD;AACxD,wFAA8E;AAC9E,sFAA0E;AAC1E,8FAAmF;AACnF,oFAAuE;AACvE,sEAAqE;AACrE,4CAA4C;AAC5C,8CAA8C;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