@cloudscape-design/components 3.0.216 → 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 (348) hide show
  1. package/internal/environment.js +1 -1
  2. package/internal/manifest.json +1 -1
  3. package/package.json +1 -1
  4. package/test-utils/dom/alert/index.js +20 -40
  5. package/test-utils/dom/alert/index.js.map +1 -1
  6. package/test-utils/dom/annotation/index.js +24 -44
  7. package/test-utils/dom/annotation/index.js.map +1 -1
  8. package/test-utils/dom/app-layout/index.js +27 -47
  9. package/test-utils/dom/app-layout/index.js.map +1 -1
  10. package/test-utils/dom/area-chart/index.js +12 -32
  11. package/test-utils/dom/area-chart/index.js.map +1 -1
  12. package/test-utils/dom/attribute-editor/index.js +32 -57
  13. package/test-utils/dom/attribute-editor/index.js.map +1 -1
  14. package/test-utils/dom/autosuggest/index.js +76 -114
  15. package/test-utils/dom/autosuggest/index.js.map +1 -1
  16. package/test-utils/dom/badge/index.js +5 -25
  17. package/test-utils/dom/badge/index.js.map +1 -1
  18. package/test-utils/dom/bar-chart/index.js +5 -25
  19. package/test-utils/dom/bar-chart/index.js.map +1 -1
  20. package/test-utils/dom/box/index.js +5 -25
  21. package/test-utils/dom/box/index.js.map +1 -1
  22. package/test-utils/dom/breadcrumb-group/index.js +17 -37
  23. package/test-utils/dom/breadcrumb-group/index.js.map +1 -1
  24. package/test-utils/dom/button/index.js +16 -36
  25. package/test-utils/dom/button/index.js.map +1 -1
  26. package/test-utils/dom/button-dropdown/index.js +38 -59
  27. package/test-utils/dom/button-dropdown/index.js.map +1 -1
  28. package/test-utils/dom/calendar/index.js +20 -40
  29. package/test-utils/dom/calendar/index.js.map +1 -1
  30. package/test-utils/dom/cards/index.js +55 -83
  31. package/test-utils/dom/cards/index.js.map +1 -1
  32. package/test-utils/dom/checkbox/index.js +14 -34
  33. package/test-utils/dom/checkbox/index.js.map +1 -1
  34. package/test-utils/dom/code-editor/index.js +33 -53
  35. package/test-utils/dom/code-editor/index.js.map +1 -1
  36. package/test-utils/dom/collection-preferences/index.js +40 -65
  37. package/test-utils/dom/collection-preferences/index.js.map +1 -1
  38. package/test-utils/dom/collection-preferences/page-size-preference.js +12 -32
  39. package/test-utils/dom/collection-preferences/page-size-preference.js.map +1 -1
  40. package/test-utils/dom/collection-preferences/visible-content-preference.js +18 -38
  41. package/test-utils/dom/collection-preferences/visible-content-preference.js.map +1 -1
  42. package/test-utils/dom/column-layout/index.js +5 -25
  43. package/test-utils/dom/column-layout/index.js.map +1 -1
  44. package/test-utils/dom/container/index.js +11 -31
  45. package/test-utils/dom/container/index.js.map +1 -1
  46. package/test-utils/dom/content-layout/index.js +9 -29
  47. package/test-utils/dom/content-layout/index.js.map +1 -1
  48. package/test-utils/dom/date-input/index.js +5 -25
  49. package/test-utils/dom/date-input/index.js.map +1 -1
  50. package/test-utils/dom/date-picker/index.js +26 -47
  51. package/test-utils/dom/date-picker/index.js.map +1 -1
  52. package/test-utils/dom/date-range-picker/index.js +87 -119
  53. package/test-utils/dom/date-range-picker/index.js.map +1 -1
  54. package/test-utils/dom/expandable-section/index.js +15 -35
  55. package/test-utils/dom/expandable-section/index.js.map +1 -1
  56. package/test-utils/dom/flashbar/flash.js +18 -38
  57. package/test-utils/dom/flashbar/flash.js.map +1 -1
  58. package/test-utils/dom/flashbar/index.js +9 -29
  59. package/test-utils/dom/flashbar/index.js.map +1 -1
  60. package/test-utils/dom/form/index.js +15 -35
  61. package/test-utils/dom/form/index.js.map +1 -1
  62. package/test-utils/dom/form-field/index.js +21 -41
  63. package/test-utils/dom/form-field/index.js.map +1 -1
  64. package/test-utils/dom/grid/index.js +8 -28
  65. package/test-utils/dom/grid/index.js.map +1 -1
  66. package/test-utils/dom/header/index.js +15 -35
  67. package/test-utils/dom/header/index.js.map +1 -1
  68. package/test-utils/dom/help-panel/index.js +11 -31
  69. package/test-utils/dom/help-panel/index.js.map +1 -1
  70. package/test-utils/dom/hotspot/index.js +12 -32
  71. package/test-utils/dom/hotspot/index.js.map +1 -1
  72. package/test-utils/dom/icon/index.js +5 -25
  73. package/test-utils/dom/icon/index.js.map +1 -1
  74. package/test-utils/dom/index.js +133 -134
  75. package/test-utils/dom/index.js.map +1 -1
  76. package/test-utils/dom/input/base-input.js +35 -57
  77. package/test-utils/dom/input/base-input.js.map +1 -1
  78. package/test-utils/dom/input/index.js +7 -27
  79. package/test-utils/dom/input/index.js.map +1 -1
  80. package/test-utils/dom/internal/abstract-switch.js +12 -32
  81. package/test-utils/dom/internal/abstract-switch.js.map +1 -1
  82. package/test-utils/dom/internal/autosuggest-input.js +14 -34
  83. package/test-utils/dom/internal/autosuggest-input.js.map +1 -1
  84. package/test-utils/dom/internal/chart-filter.js +11 -31
  85. package/test-utils/dom/internal/chart-filter.js.map +1 -1
  86. package/test-utils/dom/internal/chart-legend.js +13 -33
  87. package/test-utils/dom/internal/chart-legend.js.map +1 -1
  88. package/test-utils/dom/internal/chart-popover.js +14 -34
  89. package/test-utils/dom/internal/chart-popover.js.map +1 -1
  90. package/test-utils/dom/internal/charts.js +20 -40
  91. package/test-utils/dom/internal/charts.js.map +1 -1
  92. package/test-utils/dom/internal/dropdown-host.js +89 -125
  93. package/test-utils/dom/internal/dropdown-host.js.map +1 -1
  94. package/test-utils/dom/internal/dropdown.js +7 -27
  95. package/test-utils/dom/internal/dropdown.js.map +1 -1
  96. package/test-utils/dom/internal/filtering-token.js +13 -33
  97. package/test-utils/dom/internal/filtering-token.js.map +1 -1
  98. package/test-utils/dom/internal/option.js +13 -33
  99. package/test-utils/dom/internal/option.js.map +1 -1
  100. package/test-utils/dom/internal/options-list.js +5 -25
  101. package/test-utils/dom/internal/options-list.js.map +1 -1
  102. package/test-utils/dom/line-chart/index.js +5 -25
  103. package/test-utils/dom/line-chart/index.js.map +1 -1
  104. package/test-utils/dom/link/index.js +5 -25
  105. package/test-utils/dom/link/index.js.map +1 -1
  106. package/test-utils/dom/mixed-line-bar-chart/index.js +29 -54
  107. package/test-utils/dom/mixed-line-bar-chart/index.js.map +1 -1
  108. package/test-utils/dom/modal/index.js +18 -38
  109. package/test-utils/dom/modal/index.js.map +1 -1
  110. package/test-utils/dom/multiselect/index.js +38 -61
  111. package/test-utils/dom/multiselect/index.js.map +1 -1
  112. package/test-utils/dom/pagination/index.js +19 -39
  113. package/test-utils/dom/pagination/index.js.map +1 -1
  114. package/test-utils/dom/pie-chart/index.js +22 -42
  115. package/test-utils/dom/pie-chart/index.js.map +1 -1
  116. package/test-utils/dom/popover/index.js +16 -39
  117. package/test-utils/dom/popover/index.js.map +1 -1
  118. package/test-utils/dom/progress-bar/index.js +13 -33
  119. package/test-utils/dom/progress-bar/index.js.map +1 -1
  120. package/test-utils/dom/property-filter/index.js +15 -35
  121. package/test-utils/dom/property-filter/index.js.map +1 -1
  122. package/test-utils/dom/radio-group/index.js +13 -33
  123. package/test-utils/dom/radio-group/index.js.map +1 -1
  124. package/test-utils/dom/radio-group/radio-button.js +12 -32
  125. package/test-utils/dom/radio-group/radio-button.js.map +1 -1
  126. package/test-utils/dom/s3-resource-selector/index.js +40 -70
  127. package/test-utils/dom/s3-resource-selector/index.js.map +1 -1
  128. package/test-utils/dom/segmented-control/index.js +9 -29
  129. package/test-utils/dom/segmented-control/index.js.map +1 -1
  130. package/test-utils/dom/select/index.js +28 -51
  131. package/test-utils/dom/select/index.js.map +1 -1
  132. package/test-utils/dom/side-navigation/index.js +41 -66
  133. package/test-utils/dom/side-navigation/index.js.map +1 -1
  134. package/test-utils/dom/space-between/index.js +5 -25
  135. package/test-utils/dom/space-between/index.js.map +1 -1
  136. package/test-utils/dom/spinner/index.js +5 -25
  137. package/test-utils/dom/spinner/index.js.map +1 -1
  138. package/test-utils/dom/split-panel/index.js +25 -45
  139. package/test-utils/dom/split-panel/index.js.map +1 -1
  140. package/test-utils/dom/status-indicator/index.js +5 -25
  141. package/test-utils/dom/status-indicator/index.js.map +1 -1
  142. package/test-utils/dom/table/index.js +76 -94
  143. package/test-utils/dom/table/index.js.map +1 -1
  144. package/test-utils/dom/tabs/index.js +19 -39
  145. package/test-utils/dom/tabs/index.js.map +1 -1
  146. package/test-utils/dom/tag-editor/index.js +19 -44
  147. package/test-utils/dom/tag-editor/index.js.map +1 -1
  148. package/test-utils/dom/text-content/index.js +5 -25
  149. package/test-utils/dom/text-content/index.js.map +1 -1
  150. package/test-utils/dom/text-filter/index.js +10 -30
  151. package/test-utils/dom/text-filter/index.js.map +1 -1
  152. package/test-utils/dom/textarea/index.js +16 -36
  153. package/test-utils/dom/textarea/index.js.map +1 -1
  154. package/test-utils/dom/tiles/index.js +17 -37
  155. package/test-utils/dom/tiles/index.js.map +1 -1
  156. package/test-utils/dom/tiles/tile.js +16 -36
  157. package/test-utils/dom/tiles/tile.js.map +1 -1
  158. package/test-utils/dom/time-input/index.js +5 -25
  159. package/test-utils/dom/time-input/index.js.map +1 -1
  160. package/test-utils/dom/toggle/index.js +14 -34
  161. package/test-utils/dom/toggle/index.js.map +1 -1
  162. package/test-utils/dom/token-group/index.js +14 -34
  163. package/test-utils/dom/token-group/index.js.map +1 -1
  164. package/test-utils/dom/token-group/token.js +12 -32
  165. package/test-utils/dom/token-group/token.js.map +1 -1
  166. package/test-utils/dom/top-navigation/1.0-beta/index.js +56 -91
  167. package/test-utils/dom/top-navigation/1.0-beta/index.js.map +1 -1
  168. package/test-utils/dom/top-navigation/index.js +73 -108
  169. package/test-utils/dom/top-navigation/index.js.map +1 -1
  170. package/test-utils/dom/tutorial-panel/index.js +38 -63
  171. package/test-utils/dom/tutorial-panel/index.js.map +1 -1
  172. package/test-utils/dom/tutorial-panel/tutorial.js +29 -49
  173. package/test-utils/dom/tutorial-panel/tutorial.js.map +1 -1
  174. package/test-utils/dom/wizard/index.js +33 -53
  175. package/test-utils/dom/wizard/index.js.map +1 -1
  176. package/test-utils/selectors/alert/index.js +20 -40
  177. package/test-utils/selectors/alert/index.js.map +1 -1
  178. package/test-utils/selectors/annotation/index.js +24 -44
  179. package/test-utils/selectors/annotation/index.js.map +1 -1
  180. package/test-utils/selectors/app-layout/index.js +27 -47
  181. package/test-utils/selectors/app-layout/index.js.map +1 -1
  182. package/test-utils/selectors/area-chart/index.js +12 -32
  183. package/test-utils/selectors/area-chart/index.js.map +1 -1
  184. package/test-utils/selectors/attribute-editor/index.js +32 -57
  185. package/test-utils/selectors/attribute-editor/index.js.map +1 -1
  186. package/test-utils/selectors/autosuggest/index.js +69 -103
  187. package/test-utils/selectors/autosuggest/index.js.map +1 -1
  188. package/test-utils/selectors/badge/index.js +5 -25
  189. package/test-utils/selectors/badge/index.js.map +1 -1
  190. package/test-utils/selectors/bar-chart/index.js +5 -25
  191. package/test-utils/selectors/bar-chart/index.js.map +1 -1
  192. package/test-utils/selectors/box/index.js +5 -25
  193. package/test-utils/selectors/box/index.js.map +1 -1
  194. package/test-utils/selectors/breadcrumb-group/index.js +17 -37
  195. package/test-utils/selectors/breadcrumb-group/index.js.map +1 -1
  196. package/test-utils/selectors/button/index.js +11 -31
  197. package/test-utils/selectors/button/index.js.map +1 -1
  198. package/test-utils/selectors/button-dropdown/index.js +30 -50
  199. package/test-utils/selectors/button-dropdown/index.js.map +1 -1
  200. package/test-utils/selectors/calendar/index.js +20 -40
  201. package/test-utils/selectors/calendar/index.js.map +1 -1
  202. package/test-utils/selectors/cards/index.js +55 -83
  203. package/test-utils/selectors/cards/index.js.map +1 -1
  204. package/test-utils/selectors/checkbox/index.js +14 -34
  205. package/test-utils/selectors/checkbox/index.js.map +1 -1
  206. package/test-utils/selectors/code-editor/index.js +25 -45
  207. package/test-utils/selectors/code-editor/index.js.map +1 -1
  208. package/test-utils/selectors/collection-preferences/index.js +40 -65
  209. package/test-utils/selectors/collection-preferences/index.js.map +1 -1
  210. package/test-utils/selectors/collection-preferences/page-size-preference.js +12 -32
  211. package/test-utils/selectors/collection-preferences/page-size-preference.js.map +1 -1
  212. package/test-utils/selectors/collection-preferences/visible-content-preference.js +18 -38
  213. package/test-utils/selectors/collection-preferences/visible-content-preference.js.map +1 -1
  214. package/test-utils/selectors/column-layout/index.js +5 -25
  215. package/test-utils/selectors/column-layout/index.js.map +1 -1
  216. package/test-utils/selectors/container/index.js +11 -31
  217. package/test-utils/selectors/container/index.js.map +1 -1
  218. package/test-utils/selectors/content-layout/index.js +9 -29
  219. package/test-utils/selectors/content-layout/index.js.map +1 -1
  220. package/test-utils/selectors/date-input/index.js +5 -25
  221. package/test-utils/selectors/date-input/index.js.map +1 -1
  222. package/test-utils/selectors/date-picker/index.js +22 -43
  223. package/test-utils/selectors/date-picker/index.js.map +1 -1
  224. package/test-utils/selectors/date-range-picker/index.js +81 -112
  225. package/test-utils/selectors/date-range-picker/index.js.map +1 -1
  226. package/test-utils/selectors/expandable-section/index.js +15 -35
  227. package/test-utils/selectors/expandable-section/index.js.map +1 -1
  228. package/test-utils/selectors/flashbar/flash.js +18 -38
  229. package/test-utils/selectors/flashbar/flash.js.map +1 -1
  230. package/test-utils/selectors/flashbar/index.js +9 -29
  231. package/test-utils/selectors/flashbar/index.js.map +1 -1
  232. package/test-utils/selectors/form/index.js +15 -35
  233. package/test-utils/selectors/form/index.js.map +1 -1
  234. package/test-utils/selectors/form-field/index.js +21 -41
  235. package/test-utils/selectors/form-field/index.js.map +1 -1
  236. package/test-utils/selectors/grid/index.js +8 -28
  237. package/test-utils/selectors/grid/index.js.map +1 -1
  238. package/test-utils/selectors/header/index.js +15 -35
  239. package/test-utils/selectors/header/index.js.map +1 -1
  240. package/test-utils/selectors/help-panel/index.js +11 -31
  241. package/test-utils/selectors/help-panel/index.js.map +1 -1
  242. package/test-utils/selectors/hotspot/index.js +12 -32
  243. package/test-utils/selectors/hotspot/index.js.map +1 -1
  244. package/test-utils/selectors/icon/index.js +5 -25
  245. package/test-utils/selectors/icon/index.js.map +1 -1
  246. package/test-utils/selectors/index.js +133 -134
  247. package/test-utils/selectors/index.js.map +1 -1
  248. package/test-utils/selectors/input/base-input.js +7 -27
  249. package/test-utils/selectors/input/base-input.js.map +1 -1
  250. package/test-utils/selectors/input/index.js +7 -27
  251. package/test-utils/selectors/input/index.js.map +1 -1
  252. package/test-utils/selectors/internal/abstract-switch.js +12 -32
  253. package/test-utils/selectors/internal/abstract-switch.js.map +1 -1
  254. package/test-utils/selectors/internal/autosuggest-input.js +14 -34
  255. package/test-utils/selectors/internal/autosuggest-input.js.map +1 -1
  256. package/test-utils/selectors/internal/chart-filter.js +11 -31
  257. package/test-utils/selectors/internal/chart-filter.js.map +1 -1
  258. package/test-utils/selectors/internal/chart-legend.js +13 -33
  259. package/test-utils/selectors/internal/chart-legend.js.map +1 -1
  260. package/test-utils/selectors/internal/chart-popover.js +14 -34
  261. package/test-utils/selectors/internal/chart-popover.js.map +1 -1
  262. package/test-utils/selectors/internal/charts.js +20 -40
  263. package/test-utils/selectors/internal/charts.js.map +1 -1
  264. package/test-utils/selectors/internal/dropdown-host.js +59 -91
  265. package/test-utils/selectors/internal/dropdown-host.js.map +1 -1
  266. package/test-utils/selectors/internal/dropdown.js +7 -27
  267. package/test-utils/selectors/internal/dropdown.js.map +1 -1
  268. package/test-utils/selectors/internal/filtering-token.js +13 -33
  269. package/test-utils/selectors/internal/filtering-token.js.map +1 -1
  270. package/test-utils/selectors/internal/option.js +13 -33
  271. package/test-utils/selectors/internal/option.js.map +1 -1
  272. package/test-utils/selectors/internal/options-list.js +5 -25
  273. package/test-utils/selectors/internal/options-list.js.map +1 -1
  274. package/test-utils/selectors/line-chart/index.js +5 -25
  275. package/test-utils/selectors/line-chart/index.js.map +1 -1
  276. package/test-utils/selectors/link/index.js +5 -25
  277. package/test-utils/selectors/link/index.js.map +1 -1
  278. package/test-utils/selectors/mixed-line-bar-chart/index.js +29 -54
  279. package/test-utils/selectors/mixed-line-bar-chart/index.js.map +1 -1
  280. package/test-utils/selectors/modal/index.js +13 -33
  281. package/test-utils/selectors/modal/index.js.map +1 -1
  282. package/test-utils/selectors/multiselect/index.js +38 -61
  283. package/test-utils/selectors/multiselect/index.js.map +1 -1
  284. package/test-utils/selectors/pagination/index.js +19 -39
  285. package/test-utils/selectors/pagination/index.js.map +1 -1
  286. package/test-utils/selectors/pie-chart/index.js +22 -42
  287. package/test-utils/selectors/pie-chart/index.js.map +1 -1
  288. package/test-utils/selectors/popover/index.js +22 -45
  289. package/test-utils/selectors/popover/index.js.map +1 -1
  290. package/test-utils/selectors/progress-bar/index.js +13 -33
  291. package/test-utils/selectors/progress-bar/index.js.map +1 -1
  292. package/test-utils/selectors/property-filter/index.js +15 -35
  293. package/test-utils/selectors/property-filter/index.js.map +1 -1
  294. package/test-utils/selectors/radio-group/index.js +13 -33
  295. package/test-utils/selectors/radio-group/index.js.map +1 -1
  296. package/test-utils/selectors/radio-group/radio-button.js +12 -32
  297. package/test-utils/selectors/radio-group/radio-button.js.map +1 -1
  298. package/test-utils/selectors/s3-resource-selector/index.js +40 -70
  299. package/test-utils/selectors/s3-resource-selector/index.js.map +1 -1
  300. package/test-utils/selectors/segmented-control/index.js +9 -29
  301. package/test-utils/selectors/segmented-control/index.js.map +1 -1
  302. package/test-utils/selectors/select/index.js +28 -51
  303. package/test-utils/selectors/select/index.js.map +1 -1
  304. package/test-utils/selectors/side-navigation/index.js +41 -66
  305. package/test-utils/selectors/side-navigation/index.js.map +1 -1
  306. package/test-utils/selectors/space-between/index.js +5 -25
  307. package/test-utils/selectors/space-between/index.js.map +1 -1
  308. package/test-utils/selectors/spinner/index.js +5 -25
  309. package/test-utils/selectors/spinner/index.js.map +1 -1
  310. package/test-utils/selectors/split-panel/index.js +25 -45
  311. package/test-utils/selectors/split-panel/index.js.map +1 -1
  312. package/test-utils/selectors/status-indicator/index.js +5 -25
  313. package/test-utils/selectors/status-indicator/index.js.map +1 -1
  314. package/test-utils/selectors/table/index.js +76 -94
  315. package/test-utils/selectors/table/index.js.map +1 -1
  316. package/test-utils/selectors/tabs/index.js +19 -39
  317. package/test-utils/selectors/tabs/index.js.map +1 -1
  318. package/test-utils/selectors/tag-editor/index.js +19 -44
  319. package/test-utils/selectors/tag-editor/index.js.map +1 -1
  320. package/test-utils/selectors/text-content/index.js +5 -25
  321. package/test-utils/selectors/text-content/index.js.map +1 -1
  322. package/test-utils/selectors/text-filter/index.js +10 -30
  323. package/test-utils/selectors/text-filter/index.js.map +1 -1
  324. package/test-utils/selectors/textarea/index.js +7 -27
  325. package/test-utils/selectors/textarea/index.js.map +1 -1
  326. package/test-utils/selectors/tiles/index.js +17 -37
  327. package/test-utils/selectors/tiles/index.js.map +1 -1
  328. package/test-utils/selectors/tiles/tile.js +16 -36
  329. package/test-utils/selectors/tiles/tile.js.map +1 -1
  330. package/test-utils/selectors/time-input/index.js +5 -25
  331. package/test-utils/selectors/time-input/index.js.map +1 -1
  332. package/test-utils/selectors/toggle/index.js +14 -34
  333. package/test-utils/selectors/toggle/index.js.map +1 -1
  334. package/test-utils/selectors/token-group/index.js +14 -34
  335. package/test-utils/selectors/token-group/index.js.map +1 -1
  336. package/test-utils/selectors/token-group/token.js +12 -32
  337. package/test-utils/selectors/token-group/token.js.map +1 -1
  338. package/test-utils/selectors/top-navigation/1.0-beta/index.js +56 -91
  339. package/test-utils/selectors/top-navigation/1.0-beta/index.js.map +1 -1
  340. package/test-utils/selectors/top-navigation/index.js +73 -108
  341. package/test-utils/selectors/top-navigation/index.js.map +1 -1
  342. package/test-utils/selectors/tutorial-panel/index.js +38 -63
  343. package/test-utils/selectors/tutorial-panel/index.js.map +1 -1
  344. package/test-utils/selectors/tutorial-panel/tutorial.js +29 -49
  345. package/test-utils/selectors/tutorial-panel/tutorial.js.map +1 -1
  346. package/test-utils/selectors/wizard/index.js +33 -53
  347. package/test-utils/selectors/wizard/index.js.map +1 -1
  348. package/test-utils/tsconfig.tsbuildinfo +1 -1
@@ -1,52 +1,32 @@
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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../form-field/styles.selectors.js");
22
- var FormFieldWrapper = /** @class */ (function (_super) {
23
- __extends(FormFieldWrapper, _super);
24
- function FormFieldWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- FormFieldWrapper.prototype.findControl = function () {
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../form-field/styles.selectors.js");
7
+ class FormFieldWrapper extends dom_1.ComponentWrapper {
8
+ findControl() {
28
9
  return this.findByClassName(styles_selectors_js_1.default.control);
29
- };
30
- FormFieldWrapper.prototype.findLabel = function () {
10
+ }
11
+ findLabel() {
31
12
  return this.findByClassName(styles_selectors_js_1.default.label);
32
- };
33
- FormFieldWrapper.prototype.findInfo = function () {
13
+ }
14
+ findInfo() {
34
15
  return this.findByClassName(styles_selectors_js_1.default.info);
35
- };
36
- FormFieldWrapper.prototype.findConstraint = function () {
37
- return this.find(":scope > .".concat(styles_selectors_js_1.default.hints, " .").concat(styles_selectors_js_1.default.constraint));
38
- };
39
- FormFieldWrapper.prototype.findError = function () {
40
- return this.find(":scope > .".concat(styles_selectors_js_1.default.hints, " .").concat(styles_selectors_js_1.default.error, " .").concat(styles_selectors_js_1.default.error__message));
41
- };
42
- FormFieldWrapper.prototype.findDescription = function () {
16
+ }
17
+ findConstraint() {
18
+ return this.find(`:scope > .${styles_selectors_js_1.default.hints} .${styles_selectors_js_1.default.constraint}`);
19
+ }
20
+ findError() {
21
+ return this.find(`:scope > .${styles_selectors_js_1.default.hints} .${styles_selectors_js_1.default.error} .${styles_selectors_js_1.default.error__message}`);
22
+ }
23
+ findDescription() {
43
24
  return this.findByClassName(styles_selectors_js_1.default.description);
44
- };
45
- FormFieldWrapper.prototype.findSecondaryControl = function () {
25
+ }
26
+ findSecondaryControl() {
46
27
  return this.findByClassName(styles_selectors_js_1.default['secondary-control']);
47
- };
48
- FormFieldWrapper.rootSelector = styles_selectors_js_1.default.root;
49
- return FormFieldWrapper;
50
- }(dom_1.ComponentWrapper));
28
+ }
29
+ }
51
30
  exports.default = FormFieldWrapper;
31
+ FormFieldWrapper.rootSelector = styles_selectors_js_1.default.root;
52
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/form-field/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0F;AAC1F,+EAA6D;AAE7D;IAA8C,oCAA6B;IAA3E;;IA8BA,CAAC;IA3BC,sCAAW,GAAX;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,oCAAS,GAAT;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,mCAAQ,GAAR;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,yCAAc,GAAd;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,oBAAa,6BAAM,CAAC,KAAK,eAAK,6BAAM,CAAC,UAAU,CAAE,CAAC,CAAC;IACtE,CAAC;IAED,oCAAS,GAAT;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,oBAAa,6BAAM,CAAC,KAAK,eAAK,6BAAM,CAAC,KAAK,eAAK,6BAAM,CAAC,cAAc,CAAE,CAAC,CAAC;IAC3F,CAAC;IAED,0CAAe,GAAf;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,+CAAoB,GAApB;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC3D,CAAC;IA5BM,6BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IA6B5C,uBAAC;CAAA,AA9BD,CAA8C,sBAAgB,GA8B7D;kBA9BoB,gBAAgB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/form-field/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,iFAA6D;AAE7D,MAAqB,gBAAiB,SAAQ,sBAA6B;IAGzE,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,6BAAM,CAAC,KAAK,KAAK,6BAAM,CAAC,UAAU,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,6BAAM,CAAC,KAAK,KAAK,6BAAM,CAAC,KAAK,KAAK,6BAAM,CAAC,cAAc,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,oBAAoB;QAClB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC3D,CAAC;;AA7BH,mCA8BC;AA7BQ,6BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,38 +1,18 @@
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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../grid/styles.selectors.js");
22
- var GridWrapper = /** @class */ (function (_super) {
23
- __extends(GridWrapper, _super);
24
- function GridWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../grid/styles.selectors.js");
7
+ class GridWrapper extends dom_1.ComponentWrapper {
27
8
  /**
28
9
  * Returns a column from the grid for a given index.
29
10
  * @param columnIndex 1-based index of the column to return.
30
11
  */
31
- GridWrapper.prototype.findColumn = function (columnIndex) {
32
- return this.find(".".concat(styles_selectors_js_1.default['grid-column'], ":nth-child(").concat(columnIndex, ") > div"));
33
- };
34
- GridWrapper.rootSelector = styles_selectors_js_1.default.grid;
35
- return GridWrapper;
36
- }(dom_1.ComponentWrapper));
12
+ findColumn(columnIndex) {
13
+ return this.find(`.${styles_selectors_js_1.default['grid-column']}:nth-child(${columnIndex}) > div`);
14
+ }
15
+ }
37
16
  exports.default = GridWrapper;
17
+ GridWrapper.rootSelector = styles_selectors_js_1.default.grid;
38
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/grid/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0F;AAC1F,yEAAuD;AAEvD;IAAyC,+BAAgC;IAAzE;;IAUA,CAAC;IAPC;;;OAGG;IACH,gCAAU,GAAV,UAAW,WAAmB;QAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,WAAI,6BAAM,CAAC,aAAa,CAAC,wBAAc,WAAW,YAAS,CAAC,CAAC;IAChF,CAAC;IARM,wBAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAS5C,kBAAC;CAAA,AAVD,CAAyC,sBAAgB,GAUxD;kBAVoB,WAAW"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/grid/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,2EAAuD;AAEvD,MAAqB,WAAY,SAAQ,sBAAgC;IAGvE;;;OAGG;IACH,UAAU,CAAC,WAAmB;QAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,aAAa,CAAC,cAAc,WAAW,SAAS,CAAC,CAAC;IAChF,CAAC;;AATH,8BAUC;AATQ,wBAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,46 +1,26 @@
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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../header/styles.selectors.js");
22
- var HeaderWrapper = /** @class */ (function (_super) {
23
- __extends(HeaderWrapper, _super);
24
- function HeaderWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- HeaderWrapper.prototype.findHeadingText = function () {
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../header/styles.selectors.js");
7
+ class HeaderWrapper extends dom_1.ComponentWrapper {
8
+ findHeadingText() {
28
9
  return this.findByClassName(styles_selectors_js_1.default['heading-text']);
29
- };
30
- HeaderWrapper.prototype.findCounter = function () {
10
+ }
11
+ findCounter() {
31
12
  return this.findByClassName(styles_selectors_js_1.default.counter);
32
- };
33
- HeaderWrapper.prototype.findDescription = function () {
13
+ }
14
+ findDescription() {
34
15
  return this.findByClassName(styles_selectors_js_1.default.description);
35
- };
36
- HeaderWrapper.prototype.findInfo = function () {
16
+ }
17
+ findInfo() {
37
18
  return this.findByClassName(styles_selectors_js_1.default.info);
38
- };
39
- HeaderWrapper.prototype.findActions = function () {
19
+ }
20
+ findActions() {
40
21
  return this.findByClassName(styles_selectors_js_1.default.actions);
41
- };
42
- HeaderWrapper.rootSelector = styles_selectors_js_1.default.root;
43
- return HeaderWrapper;
44
- }(dom_1.ComponentWrapper));
22
+ }
23
+ }
45
24
  exports.default = HeaderWrapper;
25
+ HeaderWrapper.rootSelector = styles_selectors_js_1.default.root;
46
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/header/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0F;AAC1F,2EAAyD;AAEzD;IAA2C,iCAAgB;IAA3D;;IAsBA,CAAC;IAnBC,uCAAe,GAAf;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,cAAc,CAAC,CAAE,CAAC;IACvD,CAAC;IAED,mCAAW,GAAX;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,uCAAe,GAAf;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,gCAAQ,GAAR;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,mCAAW,GAAX;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IApBM,0BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAqB5C,oBAAC;CAAA,AAtBD,CAA2C,sBAAgB,GAsB1D;kBAtBoB,aAAa"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/header/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,6EAAyD;AAEzD,MAAqB,aAAc,SAAQ,sBAAgB;IAGzD,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,cAAc,CAAC,CAAE,CAAC;IACvD,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;;AArBH,gCAsBC;AArBQ,0BAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}
@@ -1,40 +1,20 @@
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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../help-panel/styles.selectors.js");
22
- var HelpPanelWrapper = /** @class */ (function (_super) {
23
- __extends(HelpPanelWrapper, _super);
24
- function HelpPanelWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- HelpPanelWrapper.prototype.findHeader = function () {
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../help-panel/styles.selectors.js");
7
+ class HelpPanelWrapper extends dom_1.ComponentWrapper {
8
+ findHeader() {
28
9
  return this.findByClassName(styles_selectors_js_1.default.header);
29
- };
30
- HelpPanelWrapper.prototype.findContent = function () {
10
+ }
11
+ findContent() {
31
12
  return this.findByClassName(styles_selectors_js_1.default.content);
32
- };
33
- HelpPanelWrapper.prototype.findFooter = function () {
13
+ }
14
+ findFooter() {
34
15
  return this.findByClassName(styles_selectors_js_1.default.footer);
35
- };
36
- HelpPanelWrapper.rootSelector = styles_selectors_js_1.default['help-panel'];
37
- return HelpPanelWrapper;
38
- }(dom_1.ComponentWrapper));
16
+ }
17
+ }
39
18
  exports.default = HelpPanelWrapper;
19
+ HelpPanelWrapper.rootSelector = styles_selectors_js_1.default['help-panel'];
40
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/help-panel/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0F;AAC1F,+EAA6D;AAE7D;IAA8C,oCAAgB;IAA9D;;IAcA,CAAC;IAXC,qCAAU,GAAV;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,sCAAW,GAAX;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,qCAAU,GAAV;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAZM,6BAAY,GAAW,6BAAM,CAAC,YAAY,CAAC,CAAC;IAarD,uBAAC;CAAA,AAdD,CAA8C,sBAAgB,GAc7D;kBAdoB,gBAAgB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/help-panel/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,iFAA6D;AAE7D,MAAqB,gBAAiB,SAAQ,sBAAgB;IAG5D,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;;AAbH,mCAcC;AAbQ,6BAAY,GAAW,6BAAM,CAAC,YAAY,CAAC,CAAC"}
@@ -1,39 +1,19 @@
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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../hotspot/styles.selectors.js");
22
- var styles_selectors_js_2 = require("../../../annotation-context/annotation/styles.selectors.js");
23
- var index_js_1 = require("../index.js");
24
- var HotspotWrapper = /** @class */ (function (_super) {
25
- __extends(HotspotWrapper, _super);
26
- function HotspotWrapper() {
27
- return _super !== null && _super.apply(this, arguments) || this;
28
- }
29
- HotspotWrapper.prototype.findTrigger = function () {
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../hotspot/styles.selectors.js");
7
+ const styles_selectors_js_2 = require("../../../annotation-context/annotation/styles.selectors.js");
8
+ const index_js_1 = require("../index.js");
9
+ class HotspotWrapper extends dom_1.ComponentWrapper {
10
+ findTrigger() {
30
11
  return this.findByClassName(styles_selectors_js_2.default.hotspot);
31
- };
32
- HotspotWrapper.prototype.findAnnotation = function () {
33
- return this.findComponent(".".concat(styles_selectors_js_2.default.annotation), index_js_1.AnnotationWrapper);
34
- };
35
- HotspotWrapper.rootSelector = styles_selectors_js_1.default.root;
36
- return HotspotWrapper;
37
- }(dom_1.ComponentWrapper));
12
+ }
13
+ findAnnotation() {
14
+ return this.findComponent(`.${styles_selectors_js_2.default.annotation}`, index_js_1.AnnotationWrapper);
15
+ }
16
+ }
38
17
  exports.default = HotspotWrapper;
18
+ HotspotWrapper.rootSelector = styles_selectors_js_1.default.root;
39
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/hotspot/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0F;AAC1F,4EAAiE;AACjE,kGAA0F;AAE1F,wCAAgD;AAEhD;IAA4C,kCAAgB;IAA5D;;IAUA,CAAC;IAPC,oCAAW,GAAX;QACE,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAgB,CAAC,OAAO,CAAE,CAAC;IACzD,CAAC;IAED,uCAAc,GAAd;QACE,OAAO,IAAI,CAAC,aAAa,CAAC,WAAI,6BAAgB,CAAC,UAAU,CAAE,EAAE,4BAAiB,CAAC,CAAC;IAClF,CAAC;IARM,2BAAY,GAAW,6BAAa,CAAC,IAAI,CAAC;IASnD,qBAAC;CAAA,AAVD,CAA4C,sBAAgB,GAU3D;kBAVoB,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/hotspot/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,8EAAiE;AACjE,oGAA0F;AAE1F,0CAAgD;AAEhD,MAAqB,cAAe,SAAQ,sBAAgB;IAG1D,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAgB,CAAC,OAAO,CAAE,CAAC;IACzD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAgB,CAAC,UAAU,EAAE,EAAE,4BAAiB,CAAC,CAAC;IAClF,CAAC;;AATH,iCAUC;AATQ,2BAAY,GAAW,6BAAa,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 dom_1 = require("@cloudscape-design/test-utils-core/dom");
21
- var styles_selectors_js_1 = require("../../../icon/styles.selectors.js");
22
- var IconWrapper = /** @class */ (function (_super) {
23
- __extends(IconWrapper, _super);
24
- function IconWrapper() {
25
- return _super !== null && _super.apply(this, arguments) || this;
26
- }
27
- IconWrapper.rootSelector = styles_selectors_js_1.default.icon;
28
- return IconWrapper;
29
- }(dom_1.ComponentWrapper));
5
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
6
+ const styles_selectors_js_1 = require("../../../icon/styles.selectors.js");
7
+ class IconWrapper extends dom_1.ComponentWrapper {
8
+ }
30
9
  exports.default = IconWrapper;
10
+ IconWrapper.rootSelector = styles_selectors_js_1.default.icon;
31
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,8DAA0E;AAC1E,yEAAuD;AAEvD;IAAyC,+BAAmC;IAA5E;;IAEA,CAAC;IADQ,wBAAY,GAAW,6BAAM,CAAC,IAAI,CAAC;IAC5C,kBAAC;CAAA,AAFD,CAAyC,sBAAgB,GAExD;kBAFoB,WAAW"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/icon/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0E;AAC1E,2EAAuD;AAEvD,MAAqB,WAAY,SAAQ,sBAAmC;;AAA5E,8BAEC;AADQ,wBAAY,GAAW,6BAAM,CAAC,IAAI,CAAC"}