@skbkontur/react-ui 5.0.8 → 5.0.9

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 (468) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  3. package/cjs/components/Button/__creevey__/Button.creevey.mts +251 -0
  4. package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  5. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  6. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  7. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  8. package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  9. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  10. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  11. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  12. package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  13. package/cjs/components/Group/__creevey__/Group.creevey.mts +19 -0
  14. package/cjs/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  15. package/cjs/components/Input/__creevey__/Input.creevey.mts +239 -0
  16. package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  17. package/cjs/components/Link/__creevey__/Link.creevey.mts +162 -0
  18. package/cjs/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  19. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  20. package/cjs/components/Modal/Modal.js +7 -10
  21. package/cjs/components/Modal/Modal.js.map +1 -1
  22. package/cjs/components/Modal/ModalContext.d.ts +3 -3
  23. package/cjs/components/Modal/ModalContext.js.map +1 -1
  24. package/cjs/components/Modal/ModalFooter.js +2 -2
  25. package/cjs/components/Modal/ModalFooter.js.map +1 -1
  26. package/cjs/components/Modal/ModalHeader.js +1 -1
  27. package/cjs/components/Modal/ModalHeader.js.map +1 -1
  28. package/cjs/components/Modal/__creevey__/Modal.creevey.mts +281 -0
  29. package/cjs/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  30. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +38 -0
  31. package/cjs/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  32. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  33. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  34. package/cjs/components/Select/Select.d.ts +1 -6
  35. package/cjs/components/Select/Select.js +7 -10
  36. package/cjs/components/Select/Select.js.map +1 -1
  37. package/cjs/components/Select/__creevey__/Select.creevey.mts +293 -0
  38. package/cjs/components/Select/tids.d.ts +5 -0
  39. package/cjs/components/Select/tids.js +5 -0
  40. package/cjs/components/Select/tids.js.map +1 -0
  41. package/cjs/components/SidePage/__creevey__/SidePage.creevey.mts +319 -0
  42. package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  43. package/cjs/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  44. package/cjs/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  45. package/cjs/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  46. package/cjs/components/Toast/__creevey__/Toast.creevey.mts +54 -0
  47. package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  48. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  49. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  50. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  51. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  52. package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +1 -3
  53. package/cjs/internal/CustomComboBox/CustomComboBox.js +4 -6
  54. package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
  55. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  56. package/cjs/internal/CustomComboBox/tids.d.ts +3 -0
  57. package/cjs/internal/CustomComboBox/tids.js +3 -0
  58. package/cjs/internal/CustomComboBox/tids.js.map +1 -0
  59. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  60. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  61. package/cjs/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  62. package/cjs/internal/PopupMenu/PopupMenu.d.ts +1 -5
  63. package/cjs/internal/PopupMenu/PopupMenu.js +8 -10
  64. package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
  65. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  66. package/cjs/internal/PopupMenu/tids.d.ts +4 -0
  67. package/cjs/internal/PopupMenu/tids.js +4 -0
  68. package/cjs/internal/PopupMenu/tids.js.map +1 -0
  69. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  70. package/cjs/internal/ThemeShowcase/VariablesCollector.js +1 -0
  71. package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
  72. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  73. package/cjs/lib/delay.d.ts +1 -0
  74. package/cjs/lib/delay.js +3 -0
  75. package/cjs/lib/delay.js.map +1 -0
  76. package/cjs/lib/utils.d.ts +3 -3
  77. package/cjs/lib/utils.js +5 -4
  78. package/cjs/lib/utils.js.map +1 -1
  79. package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  80. package/components/Button/__creevey__/Button.creevey.mts +251 -0
  81. package/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  82. package/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  83. package/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  84. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  85. package/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  86. package/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  87. package/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  88. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  89. package/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  90. package/components/Group/__creevey__/Group.creevey.mts +19 -0
  91. package/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  92. package/components/Input/__creevey__/Input.creevey.mts +239 -0
  93. package/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  94. package/components/Link/__creevey__/Link.creevey.mts +162 -0
  95. package/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  96. package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  97. package/components/Modal/Modal/Modal.js +4 -16
  98. package/components/Modal/Modal/Modal.js.map +1 -1
  99. package/components/Modal/ModalContext/ModalContext.js.map +1 -1
  100. package/components/Modal/ModalContext.d.ts +3 -3
  101. package/components/Modal/ModalFooter/ModalFooter.js +2 -2
  102. package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
  103. package/components/Modal/ModalHeader/ModalHeader.js +1 -1
  104. package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  105. package/components/Modal/__creevey__/Modal.creevey.mts +281 -0
  106. package/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  107. package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +38 -0
  108. package/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  109. package/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  110. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  111. package/components/Select/Select/Select.js +2 -5
  112. package/components/Select/Select/Select.js.map +1 -1
  113. package/components/Select/Select.d.ts +1 -6
  114. package/components/Select/__creevey__/Select.creevey.mts +293 -0
  115. package/components/Select/tids/package.json +6 -0
  116. package/components/Select/tids/tids.js +5 -0
  117. package/components/Select/tids/tids.js.map +1 -0
  118. package/components/Select/tids.d.ts +5 -0
  119. package/components/SidePage/__creevey__/SidePage.creevey.mts +319 -0
  120. package/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  121. package/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  122. package/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  123. package/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  124. package/components/Toast/__creevey__/Toast.creevey.mts +54 -0
  125. package/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  126. package/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  127. package/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  128. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  129. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  130. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +1 -3
  131. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
  132. package/internal/CustomComboBox/CustomComboBox.d.ts +1 -3
  133. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  134. package/internal/CustomComboBox/tids/package.json +6 -0
  135. package/internal/CustomComboBox/tids/tids.js +3 -0
  136. package/internal/CustomComboBox/tids/tids.js.map +1 -0
  137. package/internal/CustomComboBox/tids.d.ts +3 -0
  138. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  139. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  140. package/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  141. package/internal/PopupMenu/PopupMenu/PopupMenu.js +2 -4
  142. package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
  143. package/internal/PopupMenu/PopupMenu.d.ts +1 -5
  144. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  145. package/internal/PopupMenu/tids/package.json +6 -0
  146. package/internal/PopupMenu/tids/tids.js +4 -0
  147. package/internal/PopupMenu/tids/tids.js.map +1 -0
  148. package/internal/PopupMenu/tids.d.ts +4 -0
  149. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  150. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js +2 -0
  151. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
  152. package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  153. package/lib/delay/delay.js +6 -0
  154. package/lib/delay/delay.js.map +1 -0
  155. package/lib/delay/package.json +6 -0
  156. package/lib/delay.d.ts +1 -0
  157. package/lib/utils/utils.js +3 -7
  158. package/lib/utils/utils.js.map +1 -1
  159. package/lib/utils.d.ts +3 -3
  160. package/package.json +6 -5
  161. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js +0 -239
  162. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js.map +0 -1
  163. package/cjs/components/Button/__creevey__/Button.creevey.js +0 -250
  164. package/cjs/components/Button/__creevey__/Button.creevey.js.map +0 -1
  165. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js +0 -74
  166. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js.map +0 -1
  167. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js +0 -242
  168. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js.map +0 -1
  169. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js +0 -540
  170. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js.map +0 -1
  171. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js +0 -81
  172. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js.map +0 -1
  173. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js +0 -155
  174. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js.map +0 -1
  175. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js +0 -209
  176. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js.map +0 -1
  177. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js +0 -184
  178. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js.map +0 -1
  179. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js +0 -262
  180. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js.map +0 -1
  181. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js +0 -21
  182. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js.map +0 -1
  183. package/cjs/components/Group/__creevey__/Group.creevey.js +0 -19
  184. package/cjs/components/Group/__creevey__/Group.creevey.js.map +0 -1
  185. package/cjs/components/Hint/__creevey__/Hint.creevey.js +0 -68
  186. package/cjs/components/Hint/__creevey__/Hint.creevey.js.map +0 -1
  187. package/cjs/components/Input/__creevey__/Input.creevey.js +0 -239
  188. package/cjs/components/Input/__creevey__/Input.creevey.js.map +0 -1
  189. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js +0 -146
  190. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js.map +0 -1
  191. package/cjs/components/Link/__creevey__/Link.creevey.js +0 -161
  192. package/cjs/components/Link/__creevey__/Link.creevey.js.map +0 -1
  193. package/cjs/components/Loader/__creevey__/Loader.creevey.js +0 -34
  194. package/cjs/components/Loader/__creevey__/Loader.creevey.js.map +0 -1
  195. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js +0 -219
  196. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js.map +0 -1
  197. package/cjs/components/Modal/__creevey__/Modal.creevey.js +0 -258
  198. package/cjs/components/Modal/__creevey__/Modal.creevey.js.map +0 -1
  199. package/cjs/components/Paging/__creevey__/Paging.creevey.js +0 -96
  200. package/cjs/components/Paging/__creevey__/Paging.creevey.js.map +0 -1
  201. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js +0 -38
  202. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js.map +0 -1
  203. package/cjs/components/Radio/__creevey__/Radio.creevey.js +0 -27
  204. package/cjs/components/Radio/__creevey__/Radio.creevey.js.map +0 -1
  205. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js +0 -85
  206. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js.map +0 -1
  207. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js +0 -247
  208. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js.map +0 -1
  209. package/cjs/components/Select/__creevey__/Select.creevey.js +0 -284
  210. package/cjs/components/Select/__creevey__/Select.creevey.js.map +0 -1
  211. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js +0 -313
  212. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js.map +0 -1
  213. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js +0 -98
  214. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js.map +0 -1
  215. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js +0 -24
  216. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js.map +0 -1
  217. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js +0 -238
  218. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js.map +0 -1
  219. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js +0 -176
  220. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js.map +0 -1
  221. package/cjs/components/Toast/__creevey__/Toast.creevey.js +0 -54
  222. package/cjs/components/Toast/__creevey__/Toast.creevey.js.map +0 -1
  223. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js +0 -87
  224. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js.map +0 -1
  225. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js +0 -413
  226. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js.map +0 -1
  227. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js +0 -534
  228. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js.map +0 -1
  229. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js +0 -130
  230. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js.map +0 -1
  231. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js +0 -47
  232. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js.map +0 -1
  233. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js +0 -30
  234. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js.map +0 -1
  235. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js +0 -25
  236. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js.map +0 -1
  237. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js +0 -83
  238. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js.map +0 -1
  239. package/cjs/internal/Menu/__creevey__/Menu.creevey.js +0 -90
  240. package/cjs/internal/Menu/__creevey__/Menu.creevey.js.map +0 -1
  241. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js +0 -37
  242. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js.map +0 -1
  243. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js +0 -68
  244. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js.map +0 -1
  245. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js +0 -228
  246. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js.map +0 -1
  247. package/cjs/lib/styles/HoldSelectionColor.d.ts +0 -1
  248. package/cjs/lib/styles/HoldSelectionColor.js +0 -9
  249. package/cjs/lib/styles/HoldSelectionColor.js.map +0 -1
  250. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js +0 -506
  251. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js.map +0 -1
  252. package/components/Autocomplete/__creevey__/Autocomplete.creevey/package.json +0 -6
  253. package/components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts +0 -1
  254. package/components/Button/__creevey__/Button.creevey/Button.creevey.js +0 -396
  255. package/components/Button/__creevey__/Button.creevey/Button.creevey.js.map +0 -1
  256. package/components/Button/__creevey__/Button.creevey/package.json +0 -6
  257. package/components/Button/__creevey__/Button.creevey.d.ts +0 -1
  258. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js +0 -138
  259. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js.map +0 -1
  260. package/components/Calendar/__creevey__/Calendar.creevey/package.json +0 -6
  261. package/components/Calendar/__creevey__/Calendar.creevey.d.ts +0 -1
  262. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js +0 -487
  263. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js.map +0 -1
  264. package/components/Checkbox/__creevey__/Checkbox.creevey/package.json +0 -6
  265. package/components/Checkbox/__creevey__/Checkbox.creevey.d.ts +0 -1
  266. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js +0 -1043
  267. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js.map +0 -1
  268. package/components/ComboBox/__creevey__/ComboBox.creevey/package.json +0 -6
  269. package/components/ComboBox/__creevey__/ComboBox.creevey.d.ts +0 -1
  270. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js +0 -114
  271. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js.map +0 -1
  272. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/package.json +0 -6
  273. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts +0 -1
  274. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js +0 -367
  275. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js.map +0 -1
  276. package/components/DateInput/__creevey__/DateInput.creevey/package.json +0 -6
  277. package/components/DateInput/__creevey__/DateInput.creevey.d.ts +0 -1
  278. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js +0 -395
  279. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js.map +0 -1
  280. package/components/DatePicker/__creevey__/DatePicker.creevey/package.json +0 -6
  281. package/components/DatePicker/__creevey__/DatePicker.creevey.d.ts +0 -1
  282. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js +0 -417
  283. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js.map +0 -1
  284. package/components/Dropdown/__creevey__/Dropdown.creevey/package.json +0 -6
  285. package/components/Dropdown/__creevey__/Dropdown.creevey.d.ts +0 -1
  286. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js +0 -534
  287. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js.map +0 -1
  288. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/package.json +0 -6
  289. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts +0 -1
  290. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js +0 -62
  291. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js.map +0 -1
  292. package/components/FxInput/__creevey__/FxInput.creevey/package.json +0 -6
  293. package/components/FxInput/__creevey__/FxInput.creevey.d.ts +0 -1
  294. package/components/Group/__creevey__/Group.creevey/Group.creevey.js +0 -48
  295. package/components/Group/__creevey__/Group.creevey/Group.creevey.js.map +0 -1
  296. package/components/Group/__creevey__/Group.creevey/package.json +0 -6
  297. package/components/Group/__creevey__/Group.creevey.d.ts +0 -1
  298. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js +0 -127
  299. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js.map +0 -1
  300. package/components/Hint/__creevey__/Hint.creevey/package.json +0 -6
  301. package/components/Hint/__creevey__/Hint.creevey.d.ts +0 -1
  302. package/components/Input/__creevey__/Input.creevey/Input.creevey.js +0 -517
  303. package/components/Input/__creevey__/Input.creevey/Input.creevey.js.map +0 -1
  304. package/components/Input/__creevey__/Input.creevey/package.json +0 -6
  305. package/components/Input/__creevey__/Input.creevey.d.ts +0 -1
  306. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js +0 -278
  307. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js.map +0 -1
  308. package/components/Kebab/__creevey__/Kebab.creevey/package.json +0 -6
  309. package/components/Kebab/__creevey__/Kebab.creevey.d.ts +0 -1
  310. package/components/Link/__creevey__/Link.creevey/Link.creevey.js +0 -238
  311. package/components/Link/__creevey__/Link.creevey/Link.creevey.js.map +0 -1
  312. package/components/Link/__creevey__/Link.creevey/package.json +0 -6
  313. package/components/Link/__creevey__/Link.creevey.d.ts +0 -1
  314. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js +0 -129
  315. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js.map +0 -1
  316. package/components/Loader/__creevey__/Loader.creevey/package.json +0 -6
  317. package/components/Loader/__creevey__/Loader.creevey.d.ts +0 -1
  318. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js +0 -405
  319. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js.map +0 -1
  320. package/components/MaskedInput/__creevey__/MaskedInput.creevey/package.json +0 -6
  321. package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts +0 -1
  322. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js +0 -565
  323. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js.map +0 -1
  324. package/components/Modal/__creevey__/Modal.creevey/package.json +0 -6
  325. package/components/Modal/__creevey__/Modal.creevey.d.ts +0 -1
  326. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js +0 -190
  327. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js.map +0 -1
  328. package/components/Paging/__creevey__/Paging.creevey/package.json +0 -6
  329. package/components/Paging/__creevey__/Paging.creevey.d.ts +0 -1
  330. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js +0 -83
  331. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js.map +0 -1
  332. package/components/PasswordInput/__creevey__/PasswordInput.creevey/package.json +0 -6
  333. package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts +0 -1
  334. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js +0 -56
  335. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js.map +0 -1
  336. package/components/Radio/__creevey__/Radio.creevey/package.json +0 -6
  337. package/components/Radio/__creevey__/Radio.creevey.d.ts +0 -1
  338. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js +0 -167
  339. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js.map +0 -1
  340. package/components/RadioGroup/__creevey__/RadioGroup.creevey/package.json +0 -6
  341. package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts +0 -1
  342. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js +0 -488
  343. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js.map +0 -1
  344. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/package.json +0 -6
  345. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts +0 -1
  346. package/components/Select/__creevey__/Select.creevey/Select.creevey.js +0 -541
  347. package/components/Select/__creevey__/Select.creevey/Select.creevey.js.map +0 -1
  348. package/components/Select/__creevey__/Select.creevey/package.json +0 -6
  349. package/components/Select/__creevey__/Select.creevey.d.ts +0 -1
  350. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js +0 -697
  351. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js.map +0 -1
  352. package/components/SidePage/__creevey__/SidePage.creevey/package.json +0 -6
  353. package/components/SidePage/__creevey__/SidePage.creevey.d.ts +0 -1
  354. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js +0 -215
  355. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js.map +0 -1
  356. package/components/Sticky/__creevey__/Sticky.creevey/package.json +0 -6
  357. package/components/Sticky/__creevey__/Sticky.creevey.d.ts +0 -1
  358. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js +0 -58
  359. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js.map +0 -1
  360. package/components/Switcher/__creevey__/Switcher.creevey/package.json +0 -6
  361. package/components/Switcher/__creevey__/Switcher.creevey.d.ts +0 -1
  362. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js +0 -391
  363. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js.map +0 -1
  364. package/components/Tabs/__creevey__/Tabs.creevey/package.json +0 -6
  365. package/components/Tabs/__creevey__/Tabs.creevey.d.ts +0 -1
  366. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js +0 -404
  367. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js.map +0 -1
  368. package/components/Textarea/__creevey__/Textarea.creevey/package.json +0 -6
  369. package/components/Textarea/__creevey__/Textarea.creevey.d.ts +0 -1
  370. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js +0 -70
  371. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js.map +0 -1
  372. package/components/Toast/__creevey__/Toast.creevey/package.json +0 -6
  373. package/components/Toast/__creevey__/Toast.creevey.d.ts +0 -1
  374. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js +0 -195
  375. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js.map +0 -1
  376. package/components/Toggle/__creevey__/Toggle.creevey/package.json +0 -6
  377. package/components/Toggle/__creevey__/Toggle.creevey.d.ts +0 -1
  378. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js +0 -635
  379. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js.map +0 -1
  380. package/components/TokenInput/__creevey__/TokenInput.creevey/package.json +0 -6
  381. package/components/TokenInput/__creevey__/TokenInput.creevey.d.ts +0 -1
  382. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js +0 -1171
  383. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js.map +0 -1
  384. package/components/Tooltip/__creevey__/Tooltip.creevey/package.json +0 -6
  385. package/components/Tooltip/__creevey__/Tooltip.creevey.d.ts +0 -1
  386. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js +0 -277
  387. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js.map +0 -1
  388. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/package.json +0 -6
  389. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts +0 -1
  390. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js +0 -78
  391. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js.map +0 -1
  392. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/package.json +0 -6
  393. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts +0 -1
  394. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js +0 -58
  395. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js.map +0 -1
  396. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/package.json +0 -6
  397. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts +0 -1
  398. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js +0 -41
  399. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js.map +0 -1
  400. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/package.json +0 -6
  401. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts +0 -1
  402. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js +0 -199
  403. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js.map +0 -1
  404. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/package.json +0 -6
  405. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts +0 -1
  406. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js +0 -196
  407. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js.map +0 -1
  408. package/internal/Menu/__creevey__/Menu.creevey/package.json +0 -6
  409. package/internal/Menu/__creevey__/Menu.creevey.d.ts +0 -1
  410. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js +0 -69
  411. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js.map +0 -1
  412. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/package.json +0 -6
  413. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts +0 -1
  414. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js +0 -145
  415. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js.map +0 -1
  416. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/package.json +0 -6
  417. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts +0 -1
  418. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js +0 -550
  419. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js.map +0 -1
  420. package/internal/ZIndex/__creevey__/ZIndex.creevey/package.json +0 -6
  421. package/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts +0 -1
  422. package/lib/styles/HoldSelectionColor/HoldSelectionColor.js +0 -8
  423. package/lib/styles/HoldSelectionColor/HoldSelectionColor.js.map +0 -1
  424. package/lib/styles/HoldSelectionColor/package.json +0 -6
  425. package/lib/styles/HoldSelectionColor.d.ts +0 -1
  426. /package/{cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts} +0 -0
  427. /package/{cjs/components/Button/__creevey__/Button.creevey.d.ts → components/Button/__creevey__/Button.creevey.d.mts} +0 -0
  428. /package/{cjs/components/Calendar/__creevey__/Calendar.creevey.d.ts → components/Calendar/__creevey__/Calendar.creevey.d.mts} +0 -0
  429. /package/{cjs/components/Checkbox/__creevey__/Checkbox.creevey.d.ts → components/Checkbox/__creevey__/Checkbox.creevey.d.mts} +0 -0
  430. /package/{cjs/components/ComboBox/__creevey__/ComboBox.creevey.d.ts → components/ComboBox/__creevey__/ComboBox.creevey.d.mts} +0 -0
  431. /package/{cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts → components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts} +0 -0
  432. /package/{cjs/components/DateInput/__creevey__/DateInput.creevey.d.ts → components/DateInput/__creevey__/DateInput.creevey.d.mts} +0 -0
  433. /package/{cjs/components/DatePicker/__creevey__/DatePicker.creevey.d.ts → components/DatePicker/__creevey__/DatePicker.creevey.d.mts} +0 -0
  434. /package/{cjs/components/Dropdown/__creevey__/Dropdown.creevey.d.ts → components/Dropdown/__creevey__/Dropdown.creevey.d.mts} +0 -0
  435. /package/{cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts → components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts} +0 -0
  436. /package/{cjs/components/FxInput/__creevey__/FxInput.creevey.d.ts → components/FxInput/__creevey__/FxInput.creevey.d.mts} +0 -0
  437. /package/{cjs/components/Group/__creevey__/Group.creevey.d.ts → components/Group/__creevey__/Group.creevey.d.mts} +0 -0
  438. /package/{cjs/components/Hint/__creevey__/Hint.creevey.d.ts → components/Hint/__creevey__/Hint.creevey.d.mts} +0 -0
  439. /package/{cjs/components/Input/__creevey__/Input.creevey.d.ts → components/Input/__creevey__/Input.creevey.d.mts} +0 -0
  440. /package/{cjs/components/Kebab/__creevey__/Kebab.creevey.d.ts → components/Kebab/__creevey__/Kebab.creevey.d.mts} +0 -0
  441. /package/{cjs/components/Link/__creevey__/Link.creevey.d.ts → components/Link/__creevey__/Link.creevey.d.mts} +0 -0
  442. /package/{cjs/components/Loader/__creevey__/Loader.creevey.d.ts → components/Loader/__creevey__/Loader.creevey.d.mts} +0 -0
  443. /package/{cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts → components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts} +0 -0
  444. /package/{cjs/components/Modal/__creevey__/Modal.creevey.d.ts → components/Modal/__creevey__/Modal.creevey.d.mts} +0 -0
  445. /package/{cjs/components/Paging/__creevey__/Paging.creevey.d.ts → components/Paging/__creevey__/Paging.creevey.d.mts} +0 -0
  446. /package/{cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts → components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts} +0 -0
  447. /package/{cjs/components/Radio/__creevey__/Radio.creevey.d.ts → components/Radio/__creevey__/Radio.creevey.d.mts} +0 -0
  448. /package/{cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts → components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts} +0 -0
  449. /package/{cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts → components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts} +0 -0
  450. /package/{cjs/components/Select/__creevey__/Select.creevey.d.ts → components/Select/__creevey__/Select.creevey.d.mts} +0 -0
  451. /package/{cjs/components/SidePage/__creevey__/SidePage.creevey.d.ts → components/SidePage/__creevey__/SidePage.creevey.d.mts} +0 -0
  452. /package/{cjs/components/Sticky/__creevey__/Sticky.creevey.d.ts → components/Sticky/__creevey__/Sticky.creevey.d.mts} +0 -0
  453. /package/{cjs/components/Switcher/__creevey__/Switcher.creevey.d.ts → components/Switcher/__creevey__/Switcher.creevey.d.mts} +0 -0
  454. /package/{cjs/components/Tabs/__creevey__/Tabs.creevey.d.ts → components/Tabs/__creevey__/Tabs.creevey.d.mts} +0 -0
  455. /package/{cjs/components/Textarea/__creevey__/Textarea.creevey.d.ts → components/Textarea/__creevey__/Textarea.creevey.d.mts} +0 -0
  456. /package/{cjs/components/Toast/__creevey__/Toast.creevey.d.ts → components/Toast/__creevey__/Toast.creevey.d.mts} +0 -0
  457. /package/{cjs/components/Toggle/__creevey__/Toggle.creevey.d.ts → components/Toggle/__creevey__/Toggle.creevey.d.mts} +0 -0
  458. /package/{cjs/components/TokenInput/__creevey__/TokenInput.creevey.d.ts → components/TokenInput/__creevey__/TokenInput.creevey.d.mts} +0 -0
  459. /package/{cjs/components/Tooltip/__creevey__/Tooltip.creevey.d.ts → components/Tooltip/__creevey__/Tooltip.creevey.d.mts} +0 -0
  460. /package/{cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts → components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts} +0 -0
  461. /package/{cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts → internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts} +0 -0
  462. /package/{cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts → internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts} +0 -0
  463. /package/{cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts → internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts} +0 -0
  464. /package/{cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts → internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts} +0 -0
  465. /package/{cjs/internal/Menu/__creevey__/Menu.creevey.d.ts → internal/Menu/__creevey__/Menu.creevey.d.mts} +0 -0
  466. /package/{cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts → internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts} +0 -0
  467. /package/{cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts → internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts} +0 -0
  468. /package/{cjs/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts → internal/ZIndex/__creevey__/ZIndex.creevey.d.mts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["_creevey","require","_utils","topMiddleBottomModalTests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","browser","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","executeScript","modalContainer","window","document","querySelector","modalContent","scrollTop","offsetHeight","delay","_callee3","_callee3$","_context3","kind","story","_callee4","_callee4$","_context4","actions","bridge","click","findElement","css","perform","_callee5","_callee5$","_context5","_callee6","_callee6$","_context6","_callee7","_callee7$","_context7","_callee8","_callee8$","_context8","_callee9","_callee9$","_context9","_callee10","_callee10$","_context10","_callee11","_callee11$","_context11","_callee12","_callee12$","_context12","pause","_callee13","_callee13$","_context13","_callee14","_callee14$","_context14","_callee15","_callee15$","_context15","_callee16","_callee16$","_context16","_callee17","_callee17$","_context17","_callee18","_callee18$","_context18","modalBody","_callee19","_callee19$","_context19"],"sources":["Modal.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nconst topMiddleBottomModalTests = () => {\n test('top', async function () {\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('top');\n });\n\n test('middle', async function () {\n await this.browser.executeScript(function () {\n const modalContainer = window.document.querySelector('[data-tid=\"modal-container\"]') as HTMLElement;\n const modalContent = window.document.querySelector('[data-tid=\"modal-content\"]') as HTMLElement;\n\n modalContainer.scrollTop = modalContent.offsetHeight / 2;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('middle');\n });\n\n test('bottom', async function () {\n await this.browser.executeScript(function () {\n const modalContainer = window.document.querySelector('[data-tid=\"modal-container\"]') as HTMLElement;\n const modalContent = window.document.querySelector('[data-tid=\"modal-content\"]') as HTMLElement;\n\n modalContainer.scrollTop = modalContent.offsetHeight;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('bottom');\n });\n};\n\nkind('Modal', () => {\n story('ModalWithFooterPanelStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Button\"]:nth-of-type(1)' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('WithIconInput', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(1000);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalOverAnotherModalStory', () => {\n test('open first modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-first-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open first modal');\n });\n\n test('open second modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-first-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-second-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open second modal');\n });\n });\n\n story('ModalWithoutFooterPanelStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalWithoutFooterStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalMobileView', () => {\n test('idle', async function () {\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('idle');\n });\n });\n\n story('ModalWithVariableHeightOfContent', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n\n test('toggle content height', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '#modal-inner [data-comp-name~=\"Toggle\"]' }))\n .pause(500)\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('toggle content height');\n });\n });\n\n story('ModalWithoutStickyElements', () => {\n topMiddleBottomModalTests();\n });\n\n story('SmallModalOnTheTop', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n\n test('close by click on the cross', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-close\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('close by click on the cross');\n });\n\n test(\"doesn't close by click on the content\", async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-content-button\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage(\"doesn't close by click on the content\");\n });\n\n test('closes by click on the background', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-container\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('closes by click on the background');\n });\n });\n\n story('ModalWithChildrenFromOtherComponent', () => {\n topMiddleBottomModalTests();\n });\n\n story('MobileModal', () => {\n test('top', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('top');\n });\n\n test('middle', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.browser.executeScript(function () {\n const modalContent = window.document.querySelector('.focus-lock-container') as HTMLElement;\n const modalBody = window.document.querySelector('[data-comp-name~=\"Modal.Body\"] ') as HTMLElement;\n\n modalContent.scrollTop = modalBody.offsetHeight / 2;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('middle');\n });\n\n test('bottom', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.browser.executeScript(function () {\n const modalContent = window.document.querySelector('.focus-lock-container') as HTMLElement;\n const modalBody = window.document.querySelector('[data-comp-name~=\"Modal.Body\"] ') as HTMLElement;\n\n modalContent.scrollTop = modalBody.offsetHeight;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('bottom');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAME,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAA,EAAS;EACtC,IAAAC,aAAI,EAAC,KAAK,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA,UAAAF,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAC,SAAAC,QAAA,qBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA,UAAAF,QAAA,CAAAG,EAAA;UACJ,IAAI,CAAAH,QAAA,CAAAE,IAAA,YAAc,IAAI,CAACE,OAAO,CAACC,cAAc,CAAC,CAAC,QAAAL,QAAA,CAAAM,EAAA,GAAAN,QAAA,CAAAO,IAAA,CAAAP,QAAA,CAAAE,IAAA,YAAAF,QAAA,CAAAG,EAAA,CAA1CK,MAAM,CAAAC,IAAA,CAAAT,QAAA,CAAAG,EAAA,EAAAH,QAAA,CAAAM,EAAA,EAAsCI,EAAE,CAACC,UAAU,CAAC,KAAK,2BAAAX,QAAA,CAAAY,IAAA,OAAAf,OAAA,SAC3E;EAAA,CAAC;;EAEF,IAAAL,aAAI,EAAC,QAAQ,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAiB,SAAA,UAAAlB,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAgB,UAAAC,SAAA,qBAAAA,SAAA,CAAAd,IAAA,GAAAc,SAAA,CAAAb,IAAA,UAAAa,SAAA,CAAAb,IAAA;YACP,IAAI,CAACE,OAAO,CAACY,aAAa,CAAC,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AC;gBACPC,MAAM,EAAE;cACV,CAAC,CAAC;cACDC,KAAK,CAAC,IAAI,CAAC/B,OAAO,CAACgC,WAAW,CAAC,EAAEC,GAAG,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC;cACpEC,OAAO,CAAC,CAAC,SAAA+C,UAAA,CAAAnF,IAAA;cACN,IAAAsB,YAAK,EAAC,GAAG,CAAC,SAAA6D,UAAA,CAAAnF,IAAA;cACV,IAAI,CAACE,OAAO,CAACY,aAAa,CAAC,YAAY;gBAC3C,IAAMK,YAAY,GAAGH,MAAM,CAACC,QAAQ,CAACC,aAAa,CAAC,uBAAuB,CAAgB;gBAC1F,IAAM8D,SAAS,GAAGhE,MAAM,CAACC,QAAQ,CAACC,aAAa,CAAC,iCAAiC,CAAgB;;gBAEjGC,YAAY,CAACC,SAAS,GAAG4D,SAAS,CAAC3D,YAAY;cACjD,CAAC,CAAC,SAAA8D,UAAA,CAAAnF,IAAA;cACI,IAAAsB,YAAK,EAAC,GAAG,CAAC,SAAA6D,UAAA,CAAAlF,EAAA;YACV,IAAI,CAAAkF,UAAA,CAAAnF,IAAA,aAAc,IAAI,CAACE,OAAO,CAACC,cAAc,CAAC,CAAC,SAAAgF,UAAA,CAAA/E,EAAA,GAAA+E,UAAA,CAAA9E,IAAA,CAAA8E,UAAA,CAAAnF,IAAA,aAAAmF,UAAA,CAAAlF,EAAA,CAA1CK,MAAM,CAAAC,IAAA,CAAA4E,UAAA,CAAAlF,EAAA,EAAAkF,UAAA,CAAA/E,EAAA,EAAsCI,EAAE,CAACC,UAAU,CAAC,QAAQ,4BAAA0E,UAAA,CAAAzE,IAAA,OAAAuE,SAAA,SAC9E;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,96 +0,0 @@
1
- "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
2
-
3
- var _utils = require("../../../lib/utils");
4
-
5
- (0, _creevey.kind)('Paging', function () {
6
- (0, _creevey.story)('GoToAbsensePageStory', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
7
- setStoryParameters({
8
- skip: {
9
- 'hover does not work in chrome': {
10
- in: ['chrome2022', 'chrome2022Dark'],
11
- tests: ['hover', 'Move to page by Ender']
12
- },
13
- flaky: {
14
- in: ['firefox2022', 'firefox2022Dark'],
15
- tests: ['Move focus right', 'Move to page by Ender']
16
- }
17
- }
18
- });
19
-
20
- (0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
21
- this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
22
- );
23
-
24
- (0, _creevey.test)('hover', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
25
- this.browser.
26
- actions({
27
- bridge: true
28
- }).
29
- move({
30
- origin: this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })
31
- }).
32
- perform());case 2:_context2.t0 =
33
- this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('hover');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
34
- );
35
-
36
- (0, _creevey.test)('change page by number', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:_context3.next = 2;return (
37
- this.browser.
38
- actions({
39
- bridge: true
40
- }).
41
- click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
42
- perform());case 2:_context3.t0 =
43
- this;_context3.next = 5;return this.takeScreenshot();case 5:_context3.t1 = _context3.sent;_context3.next = 8;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('change page by number');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
44
- );
45
-
46
- (0, _creevey.test)('change page by forwardLink', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {return _regenerator.default.wrap(function _callee4$(_context4) {while (1) switch (_context4.prev = _context4.next) {case 0:_context4.next = 2;return (
47
-
48
- (0, _utils.delay)(500));case 2:_context4.next = 4;return (
49
- this.browser.
50
- actions({
51
- bridge: true
52
- }).
53
- click(this.browser.findElement({ css: "[data-tid='Paging__forwardLink']" })).
54
- perform());case 4:_context4.t0 =
55
- this;_context4.next = 7;return this.takeScreenshot();case 7:_context4.t1 = _context4.sent;_context4.next = 10;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('change page by forwardLink');case 10:case "end":return _context4.stop();}}, _callee4, this);}))
56
- );
57
-
58
- (0, _creevey.test)('focused', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {return _regenerator.default.wrap(function _callee5$(_context5) {while (1) switch (_context5.prev = _context5.next) {case 0:_context5.next = 2;return (
59
-
60
- (0, _utils.delay)(500));case 2:_context5.next = 4;return (
61
- this.browser.
62
- actions({
63
- bridge: true
64
- }).
65
- click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
66
- perform());case 4:_context5.t0 =
67
- this;_context5.next = 7;return this.takeScreenshot();case 7:_context5.t1 = _context5.sent;_context5.next = 10;return _context5.t0.expect.call(_context5.t0, _context5.t1).to.matchImage('focused');case 10:case "end":return _context5.stop();}}, _callee5, this);}))
68
- );
69
-
70
- (0, _creevey.test)('Move focus right', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {return _regenerator.default.wrap(function _callee6$(_context6) {while (1) switch (_context6.prev = _context6.next) {case 0:_context6.next = 2;return (
71
- this.browser.
72
- actions({
73
- bridge: true
74
- }).
75
- click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
76
- pause(100).
77
- sendKeys(this.keys.ARROW_RIGHT).
78
- perform());case 2:_context6.t0 =
79
- this;_context6.next = 5;return this.takeScreenshot();case 5:_context6.t1 = _context6.sent;_context6.next = 8;return _context6.t0.expect.call(_context6.t0, _context6.t1).to.matchImage('Move focus right');case 8:case "end":return _context6.stop();}}, _callee6, this);}))
80
- );
81
-
82
- (0, _creevey.test)('Move to page by Ender', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {return _regenerator.default.wrap(function _callee7$(_context7) {while (1) switch (_context7.prev = _context7.next) {case 0:_context7.next = 2;return (
83
- this.browser.
84
- actions({
85
- bridge: true
86
- }).
87
- click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
88
- pause(100).
89
- sendKeys(this.keys.ARROW_RIGHT).
90
- pause(100).
91
- sendKeys(this.keys.ENTER).
92
- perform());case 2:_context7.t0 =
93
- this;_context7.next = 5;return this.takeScreenshot();case 5:_context7.t1 = _context7.sent;_context7.next = 8;return _context7.t0.expect.call(_context7.t0, _context7.t1).to.matchImage('Move to page by Ender');case 8:case "end":return _context7.stop();}}, _callee7, this);}))
94
- );
95
- });
96
- });
@@ -1 +0,0 @@
1
- {"version":3,"names":["_creevey","require","_utils","kind","story","_ref","setStoryParameters","skip","in","tests","flaky","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","move","origin","findElement","css","perform","_callee3","_callee3$","_context3","click","_callee4","_callee4$","_context4","delay","_callee5","_callee5$","_context5","_callee6","_callee6$","_context6","pause","sendKeys","keys","ARROW_RIGHT","_callee7","_callee7$","_context7","ENTER"],"sources":["Paging.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nkind('Paging', () => {\n story('GoToAbsensePageStory', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover', 'Move to page by Ender'],\n },\n flaky: {\n in: ['firefox2022', 'firefox2022Dark'],\n tests: ['Move focus right', 'Move to page by Ender'],\n },\n },\n });\n\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('hover', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }),\n })\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('hover');\n });\n\n test('change page by number', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('change page by number');\n });\n\n test('change page by forwardLink', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__forwardLink']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('change page by forwardLink');\n });\n\n test('focused', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('focused');\n });\n\n test('Move focus right', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .pause(100)\n .sendKeys(this.keys.ARROW_RIGHT)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Move focus right');\n });\n\n test('Move to page by Ender', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .pause(100)\n .sendKeys(this.keys.ARROW_RIGHT)\n .pause(100)\n .sendKeys(this.keys.ENTER)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Move to page by Ender');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAAE,aAAI,EAAC,QAAQ,EAAE,YAAM;EACnB,IAAAC,cAAK,EAAC,sBAAsB,EAAE,UAAAC,IAAA,EAA4B,KAAzBC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IACjDA,kBAAkB,CAAC;MACjBC,IAAI,EAAE;QACJ,+BAA+B,EAAE;UAC/BC,EAAE,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;UACpCC,KAAK,EAAE,CAAC,OAAO,EAAE,uBAAuB;QAC1C,CAAC;QACDC,KAAK,EAAE;UACLF,EAAE,EAAE,CAAC,aAAa,EAAE,iBAAiB,CAAC;UACtCC,KAAK,EAAE,CAAC,kBAAkB,EAAE,uBAAuB;QACrD;MACF;IACF,CAAC,CAAC;;IAEF,IAAAE,aAAI,EAAC,OAAO,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA,UAAAF,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAC,SAAAC,QAAA,qBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA,UAAAF,QAAA,CAAAG,EAAA;YACN,IAAI,CAAAH,QAAA,CAAAE,IAAA,YAAc,IAAI,C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A,SAChF;IAAA,CAAC;;IAEF,IAAA1C,aAAI,EAAC,uBAAuB,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAA6C,SAAA,UAAA9C,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAA4C,UAAAC,SAAA,qBAAAA,SAAA,CAAA1C,IAAA,GAAA0C,SAAA,CAAAzC,IAAA,UAAAyC,SAAA,CAAAzC,IAAA;cACtB,IAAI,CAACa,OAAO;cACfC,OAAO,CAAC;gBACPC,MAAM,EAAE;cACV,CAAC,CAAC;cACDS,KAAK,CAAC,IAAI,CAACX,OAAO,CAACK,WAAW,CAAC,EAAEC,GAAG,wCAAwC,CAAC,CAAC,CAAC,CAAC;cAChFgB,KAAK,CAAC,GAAG,CAAC;cACVC,QAAQ,CAAC,IAAI,CAACC,IAAI,CAACC,WAAW,CAAC;cAC/BH,KAAK,CAAC,GAAG,CAAC;cACVC,QAAQ,CAAC,IAAI,CAACC,IAAI,CAACK,KAAK,CAAC;cACzBtB,OAAO,CAAC,CAAC,SAAAqB,SAAA,CAAAxC,EAAA;YACN,IAAI,CAAAwC,SAAA,CAAAzC,IAAA,YAAc,IAAI,CAACE,cAAc,CAAC,CAAC,QAAAuC,SAAA,CAAAtC,EAAA,GAAAsC,SAAA,CAAArC,IAAA,CAAAqC,SAAA,CAAAzC,IAAA,YAAAyC,SAAA,CAAAxC,EAAA,CAAlCI,MAAM,CAAAC,IAAA,CAAAmC,SAAA,CAAAxC,EAAA,EAAAwC,SAAA,CAAAtC,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,uBAAuB,2BAAAiC,SAAA,CAAAhC,IAAA,OAAA8B,QAAA,SACrF;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,38 +0,0 @@
1
- "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
2
-
3
- (0, _creevey.kind)('PasswordInput', function () {
4
- (0, _creevey.story)('Plain', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
5
- setStoryParameters({
6
- skip: {
7
- 'flickering screenshot': { in: ['chrome2022'], tests: ['With typed password'] }
8
- }
9
- });
10
-
11
- (0, _creevey.test)('Plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
12
- this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('Plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
13
- );
14
-
15
- (0, _creevey.test)('With typed password', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
16
- this.browser.
17
- actions({
18
- bridge: true
19
- }).
20
- click(this.browser.findElement({ css: '[type="password"]' })).
21
- sendKeys('Test...').
22
- perform());case 2:_context2.t0 =
23
- this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('With typed password');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
24
- );
25
-
26
- (0, _creevey.test)('With visible password', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:_context3.next = 2;return (
27
- this.browser.
28
- actions({
29
- bridge: true
30
- }).
31
- click(this.browser.findElement({ css: '[type="password"]' })).
32
- sendKeys('Test...').
33
- click(this.browser.findElement({ css: '[data-tid="PasswordInputEyeIcon"]' })).
34
- perform());case 2:_context3.t0 =
35
- this;_context3.next = 5;return this.takeScreenshot();case 5:_context3.t1 = _context3.sent;_context3.next = 8;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('With visible password');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
36
- );
37
- });
38
- });
@@ -1 +0,0 @@
1
- {"version":3,"names":["_creevey","require","kind","story","_ref","setStoryParameters","skip","in","tests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","click","findElement","css","sendKeys","perform","_callee3","_callee3$","_context3"],"sources":["PasswordInput.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nkind('PasswordInput', () => {\n story('Plain', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'flickering screenshot': { in: ['chrome2022'], tests: ['With typed password'] },\n },\n });\n\n test('Plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('Plain');\n });\n\n test('With typed password', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[type=\"password\"]' }))\n .sendKeys('Test...')\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('With typed password');\n });\n\n test('With visible password', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[type=\"password\"]' }))\n .sendKeys('Test...')\n .click(this.browser.findElement({ css: '[data-tid=\"PasswordInputEyeIcon\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('With visible password');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,aAAI,EAAC,eAAe,EAAE,YAAM;EAC1B,IAAAC,cAAK,EAAC,OAAO,EAAE,UAAAC,IAAA,EAA4B,KAAzBC,kBAAkB,G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AAApB,EAAA,GAAAoB,SAAA,CAAAnB,IAAA,CAAAmB,SAAA,CAAAvB,IAAA,YAAAuB,SAAA,CAAAtB,EAAA,CAAlCI,MAAM,CAAAC,IAAA,CAAAiB,SAAA,CAAAtB,EAAA,EAAAsB,SAAA,CAAApB,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,uBAAuB,2BAAAe,SAAA,CAAAd,IAAA,OAAAY,QAAA,SACrF;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
2
-
3
- (0, _creevey.kind)('Radio', function () {
4
- (0, _creevey.story)('Highlighted', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
5
- setStoryParameters({
6
- skip: {
7
- flaky: { in: /firefox/ }
8
- }
9
- });
10
-
11
- (0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
12
- this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
13
- );
14
-
15
- (0, _creevey.test)('tabPress', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
16
- this.browser.
17
- actions({
18
- bridge: true
19
- }).
20
- click(this.browser.findElement({ css: 'body' })).
21
- sendKeys(this.keys.TAB).
22
- pause(500).
23
- perform());case 2:_context2.t0 =
24
- this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('tabPress');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
25
- );
26
- });
27
- });
@@ -1 +0,0 @@
1
- {"version":3,"names":["_creevey","require","kind","story","_ref","setStoryParameters","skip","flaky","in","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","click","findElement","css","sendKeys","keys","TAB","pause","perform"],"sources":["Radio.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nkind('Radio', () => {\n story('Highlighted', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n flaky: { in: /firefox/ },\n },\n });\n\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('tabPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'body' }))\n .sendKeys(this.keys.TAB)\n .pause(500)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,aAAI,EAAC,OAAO,EAAE,YAAM;EAClB,IAAAC,cAAK,EAAC,aAAa,EAAE,UAAAC,IAAA,EAA4B,KAAzBC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IACxCA,kBAAkB,CAAC;MACjBC,IAAI,EAAE;QACJC,KAAK,EAAE,EAAEC,EAAE,EAAE,SAAS,CAAC;MACzB;IACF,CAAC,CAAC;;IAEF,IAAAC,aAAI,EAAC,OAAO,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA,UAAAF,YAAA,CAAAD,OAAA,CAAAI,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A,CAAlCI,MAAM,CAAAC,IAAA,CAAAM,SAAA,CAAAX,EAAA,EAAAW,SAAA,CAAAT,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,UAAU,2BAAAI,SAAA,CAAAH,IAAA,OAAAC,QAAA,SACxE;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,85 +0,0 @@
1
- "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
2
-
3
- var _utils = require("../../../lib/utils");
4
-
5
- (0, _creevey.kind)('RadioGroup', function () {
6
- (0, _creevey.story)('Vertical', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
7
- setStoryParameters({
8
- captureElement: '#RadioGroup-wrap',
9
- skip: {
10
- 'hover does not work in chrome': {
11
- in: ['chrome2022', 'chrome2022Dark'],
12
- tests: ['hovered']
13
- }
14
- }
15
- });
16
-
17
- (0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
18
- this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
19
- );
20
-
21
- (0, _creevey.test)('hovered', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
22
- this.browser.
23
- actions({
24
- bridge: true
25
- }).
26
- move({
27
- origin: this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })
28
- }).
29
- perform());case 2:_context2.t0 =
30
- this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('hovered');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
31
- );
32
-
33
- (0, _creevey.test)('clicked', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:_context3.next = 2;return (
34
- this.browser.
35
- actions({
36
- bridge: true
37
- }).
38
- click(this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })).
39
- perform());case 2:_context3.t0 =
40
- this;_context3.next = 5;return this.takeScreenshot();case 5:_context3.t1 = _context3.sent;_context3.next = 8;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('clicked');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
41
- );
42
-
43
- (0, _creevey.test)('mouseLeave', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {return _regenerator.default.wrap(function _callee4$(_context4) {while (1) switch (_context4.prev = _context4.next) {case 0:_context4.next = 2;return (
44
-
45
- (0, _utils.delay)(500));case 2:_context4.next = 4;return (
46
- this.browser.
47
- actions({
48
- bridge: true
49
- }).
50
- click(this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })).
51
- perform());case 4:_context4.next = 6;return (
52
- this.browser.
53
- actions({
54
- bridge: true
55
- }).
56
- click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
57
- perform());case 6:_context4.t0 =
58
- this;_context4.next = 9;return this.takeScreenshot();case 9:_context4.t1 = _context4.sent;_context4.next = 12;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('mouseLeave');case 12:case "end":return _context4.stop();}}, _callee4, this);}))
59
- );
60
-
61
- (0, _creevey.test)('tabPress', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {return _regenerator.default.wrap(function _callee5$(_context5) {while (1) switch (_context5.prev = _context5.next) {case 0:_context5.next = 2;return (
62
- this.browser.
63
- actions({
64
- bridge: true
65
- }).
66
- click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
67
- sendKeys(this.keys.TAB).
68
- perform());case 2:_context5.t0 =
69
- this;_context5.next = 5;return this.takeScreenshot();case 5:_context5.t1 = _context5.sent;_context5.next = 8;return _context5.t0.expect.call(_context5.t0, _context5.t1).to.matchImage('tabPress');case 8:case "end":return _context5.stop();}}, _callee5, this);}))
70
- );
71
-
72
- (0, _creevey.test)('arrow_down', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {return _regenerator.default.wrap(function _callee6$(_context6) {while (1) switch (_context6.prev = _context6.next) {case 0:_context6.next = 2;return (
73
- this.browser.
74
- actions({
75
- bridge: true
76
- }).
77
- click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
78
- sendKeys(this.keys.TAB).
79
- pause(100).
80
- sendKeys(this.keys.DOWN).
81
- perform());case 2:_context6.t0 =
82
- this;_context6.next = 5;return this.takeScreenshot();case 5:_context6.t1 = _context6.sent;_context6.next = 8;return _context6.t0.expect.call(_context6.t0, _context6.t1).to.matchImage('arrow_down');case 8:case "end":return _context6.stop();}}, _callee6, this);}))
83
- );
84
- });
85
- });
@@ -1 +0,0 @@
1
- {"version":3,"names":["_creevey","require","_utils","kind","story","_ref","setStoryParameters","captureElement","skip","in","tests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","move","origin","findElement","css","perform","_callee3","_callee3$","_context3","click","_callee4","_callee4$","_context4","delay","_callee5","_callee5$","_context5","sendKeys","keys","TAB","_callee6","_callee6$","_context6","pause","DOWN"],"sources":["RadioGroup.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nkind('RadioGroup', () => {\n story('Vertical', ({ setStoryParameters }) => {\n setStoryParameters({\n captureElement: '#RadioGroup-wrap',\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hovered'],\n },\n },\n });\n\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('hovered', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: '[data-comp-name~=\"RadioGroup\"] > span > label' }),\n })\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('hovered');\n });\n\n test('clicked', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"RadioGroup\"] > span > label' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('clicked');\n });\n\n test('mouseLeave', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"RadioGroup\"] > span > label' }))\n .perform();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('mouseLeave');\n });\n\n test('tabPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .sendKeys(this.keys.TAB)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n });\n\n test('arrow_down', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .sendKeys(this.keys.TAB)\n .pause(100)\n .sendKeys(this.keys.DOWN)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('arrow_down');\n });\n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