@jetshop/ui 6.3.7 → 7.0.0-alpha-3

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 (400) hide show
  1. package/package.json +2 -3
  2. package/Accordion/Accordion.d.ts +0 -33
  3. package/Accordion/Accordion.js +0 -59
  4. package/Accordion/Accordion.js.map +0 -1
  5. package/Auth/FormFields/CountriesInput.d.ts +0 -16
  6. package/Auth/FormFields/CountriesInput.js +0 -28
  7. package/Auth/FormFields/CountriesInput.js.map +0 -1
  8. package/Auth/LogInBehavior.d.ts +0 -22
  9. package/Auth/LogInBehavior.js +0 -24
  10. package/Auth/LogInBehavior.js.map +0 -1
  11. package/Auth/LogInFormProvider.d.ts +0 -7
  12. package/Auth/LogInFormProvider.js +0 -70
  13. package/Auth/LogInFormProvider.js.map +0 -1
  14. package/Auth/LogOut.d.ts +0 -10
  15. package/Auth/LogOut.js +0 -24
  16. package/Auth/LogOut.js.map +0 -1
  17. package/Auth/logInValidator.d.ts +0 -10
  18. package/Auth/logInValidator.js +0 -16
  19. package/Auth/logInValidator.js.map +0 -1
  20. package/Breadcrumbs/Breadcrumbs.d.ts +0 -14
  21. package/Breadcrumbs/Breadcrumbs.js +0 -84
  22. package/Breadcrumbs/Breadcrumbs.js.map +0 -1
  23. package/Breadcrumbs/getParentsOrCanonicalRoute.d.ts +0 -3
  24. package/Breadcrumbs/getParentsOrCanonicalRoute.js +0 -14
  25. package/Breadcrumbs/getParentsOrCanonicalRoute.js.map +0 -1
  26. package/Breadcrumbs/index.d.ts +0 -1
  27. package/Breadcrumbs/index.js +0 -2
  28. package/Breadcrumbs/index.js.map +0 -1
  29. package/Breakpoints.d.ts +0 -12
  30. package/Breakpoints.js +0 -36
  31. package/Breakpoints.js.map +0 -1
  32. package/Button/Button.d.ts +0 -14
  33. package/Button/Button.js +0 -60
  34. package/Button/Button.js.map +0 -1
  35. package/Button/SecondaryButton.d.ts +0 -2
  36. package/Button/SecondaryButton.js +0 -9
  37. package/Button/SecondaryButton.js.map +0 -1
  38. package/Button/TrendButton.d.ts +0 -2
  39. package/Button/TrendButton.js +0 -8
  40. package/Button/TrendButton.js.map +0 -1
  41. package/Button/index.d.ts +0 -4
  42. package/Button/index.js +0 -5
  43. package/Button/index.js.map +0 -1
  44. package/CategoryLink.d.ts +0 -11
  45. package/CategoryLink.js +0 -49
  46. package/CategoryLink.js.map +0 -1
  47. package/ChannelSelector/ChannelListItem.d.ts +0 -10
  48. package/ChannelSelector/ChannelListItem.js +0 -51
  49. package/ChannelSelector/ChannelListItem.js.map +0 -1
  50. package/ChannelSelector/ChannelSelector.d.ts +0 -63
  51. package/ChannelSelector/ChannelSelector.js +0 -80
  52. package/ChannelSelector/ChannelSelector.js.map +0 -1
  53. package/ChannelSelector/ChannelSelectorButtons.d.ts +0 -2
  54. package/ChannelSelector/ChannelSelectorButtons.js +0 -20
  55. package/ChannelSelector/ChannelSelectorButtons.js.map +0 -1
  56. package/ChannelSelector/Channels.d.ts +0 -17
  57. package/ChannelSelector/Channels.js +0 -12
  58. package/ChannelSelector/Channels.js.map +0 -1
  59. package/ChannelSelector/LargeSelector.d.ts +0 -3
  60. package/ChannelSelector/LargeSelector.js +0 -67
  61. package/ChannelSelector/LargeSelector.js.map +0 -1
  62. package/ChannelSelector/MiniSelector.d.ts +0 -4
  63. package/ChannelSelector/MiniSelector.js +0 -58
  64. package/ChannelSelector/MiniSelector.js.map +0 -1
  65. package/ChannelSelector/Region.d.ts +0 -28
  66. package/ChannelSelector/Region.js +0 -21
  67. package/ChannelSelector/Region.js.map +0 -1
  68. package/ChannelSelector/groupBy.d.ts +0 -7
  69. package/ChannelSelector/groupBy.js +0 -16
  70. package/ChannelSelector/groupBy.js.map +0 -1
  71. package/Checkbox/Checkbox.d.ts +0 -14
  72. package/Checkbox/Checkbox.js +0 -70
  73. package/Checkbox/Checkbox.js.map +0 -1
  74. package/Checkbox/CheckboxGroup.d.ts +0 -27
  75. package/Checkbox/CheckboxGroup.js +0 -22
  76. package/Checkbox/CheckboxGroup.js.map +0 -1
  77. package/Checkbox/index.d.ts +0 -2
  78. package/Checkbox/index.js +0 -3
  79. package/Checkbox/index.js.map +0 -1
  80. package/ContentPageLink.d.ts +0 -11
  81. package/ContentPageLink.js +0 -46
  82. package/ContentPageLink.js.map +0 -1
  83. package/ContentRenderer.d.ts +0 -9
  84. package/ContentRenderer.js +0 -36
  85. package/ContentRenderer.js.map +0 -1
  86. package/DropdownMenu/Button.d.ts +0 -7
  87. package/DropdownMenu/Button.js +0 -33
  88. package/DropdownMenu/Button.js.map +0 -1
  89. package/DropdownMenu/DropdownMenu.d.ts +0 -21
  90. package/DropdownMenu/DropdownMenu.js +0 -72
  91. package/DropdownMenu/DropdownMenu.js.map +0 -1
  92. package/DropdownMenu/Item.d.ts +0 -13
  93. package/DropdownMenu/Item.js +0 -48
  94. package/DropdownMenu/Item.js.map +0 -1
  95. package/DropdownMenu/Items.d.ts +0 -16
  96. package/DropdownMenu/Items.js +0 -53
  97. package/DropdownMenu/Items.js.map +0 -1
  98. package/DropdownMenu/index.d.ts +0 -4
  99. package/DropdownMenu/index.js +0 -5
  100. package/DropdownMenu/index.js.map +0 -1
  101. package/ErrorBoundary/Generic.d.ts +0 -18
  102. package/ErrorBoundary/Generic.js +0 -69
  103. package/ErrorBoundary/Generic.js.map +0 -1
  104. package/ErrorBoundary/PassThrough.d.ts +0 -3
  105. package/ErrorBoundary/PassThrough.js +0 -7
  106. package/ErrorBoundary/PassThrough.js.map +0 -1
  107. package/Gallery/Gallery.d.ts +0 -39
  108. package/Gallery/Gallery.js +0 -121
  109. package/Gallery/Gallery.js.map +0 -1
  110. package/Gallery/constructGallery.d.ts +0 -15
  111. package/Gallery/constructGallery.js +0 -40
  112. package/Gallery/constructGallery.js.map +0 -1
  113. package/Image/BaseImage.d.ts +0 -39
  114. package/Image/BaseImage.js +0 -192
  115. package/Image/BaseImage.js.map +0 -1
  116. package/Image/Fallback.d.ts +0 -5
  117. package/Image/Fallback.js +0 -4
  118. package/Image/Fallback.js.map +0 -1
  119. package/Image/FlightImage.d.ts +0 -51
  120. package/Image/FlightImage.js +0 -59
  121. package/Image/FlightImage.js.map +0 -1
  122. package/Image/Image.d.ts +0 -2
  123. package/Image/Image.js +0 -3
  124. package/Image/Image.js.map +0 -1
  125. package/Image/index.d.ts +0 -1
  126. package/Image/index.js +0 -2
  127. package/Image/index.js.map +0 -1
  128. package/Image/useConstructImage.d.ts +0 -49
  129. package/Image/useConstructImage.js +0 -122
  130. package/Image/useConstructImage.js.map +0 -1
  131. package/Image/utils/aspectRatioToFraction.d.ts +0 -2
  132. package/Image/utils/aspectRatioToFraction.js +0 -11
  133. package/Image/utils/aspectRatioToFraction.js.map +0 -1
  134. package/Image/utils/getFullUrl.d.ts +0 -6
  135. package/Image/utils/getFullUrl.js +0 -18
  136. package/Image/utils/getFullUrl.js.map +0 -1
  137. package/Image/utils/getImageWidth.d.ts +0 -1
  138. package/Image/utils/getImageWidth.js +0 -12
  139. package/Image/utils/getImageWidth.js.map +0 -1
  140. package/Image/utils/getImageWidths.d.ts +0 -2
  141. package/Image/utils/getImageWidths.js +0 -21
  142. package/Image/utils/getImageWidths.js.map +0 -1
  143. package/Image/utils/getLQIP.d.ts +0 -8
  144. package/Image/utils/getLQIP.js +0 -20
  145. package/Image/utils/getLQIP.js.map +0 -1
  146. package/Image/utils/getLargestSize.d.ts +0 -7
  147. package/Image/utils/getLargestSize.js +0 -17
  148. package/Image/utils/getLargestSize.js.map +0 -1
  149. package/Image/utils/getSizeForBreakpoint.d.ts +0 -2
  150. package/Image/utils/getSizeForBreakpoint.js +0 -16
  151. package/Image/utils/getSizeForBreakpoint.js.map +0 -1
  152. package/Image/utils/getSizesMap.d.ts +0 -2
  153. package/Image/utils/getSizesMap.js +0 -35
  154. package/Image/utils/getSizesMap.js.map +0 -1
  155. package/Image/utils/getSmallestSize.d.ts +0 -2
  156. package/Image/utils/getSmallestSize.js +0 -12
  157. package/Image/utils/getSmallestSize.js.map +0 -1
  158. package/Image/utils/getSrcSetFromWidths.d.ts +0 -10
  159. package/Image/utils/getSrcSetFromWidths.js +0 -9
  160. package/Image/utils/getSrcSetFromWidths.js.map +0 -1
  161. package/Image/utils/getSrcWithParams.d.ts +0 -3
  162. package/Image/utils/getSrcWithParams.js +0 -29
  163. package/Image/utils/getSrcWithParams.js.map +0 -1
  164. package/Image/utils/paddingForAspectRatio.d.ts +0 -1
  165. package/Image/utils/paddingForAspectRatio.js +0 -6
  166. package/Image/utils/paddingForAspectRatio.js.map +0 -1
  167. package/Image/utils/remToPx.d.ts +0 -1
  168. package/Image/utils/remToPx.js +0 -2
  169. package/Image/utils/remToPx.js.map +0 -1
  170. package/Image/utils/sizeToNumber.d.ts +0 -2
  171. package/Image/utils/sizeToNumber.js +0 -27
  172. package/Image/utils/sizeToNumber.js.map +0 -1
  173. package/Input/Input.d.ts +0 -6
  174. package/Input/Input.js +0 -45
  175. package/Input/Input.js.map +0 -1
  176. package/Input/index.d.ts +0 -3
  177. package/Input/index.js +0 -4
  178. package/Input/index.js.map +0 -1
  179. package/JetshopText.d.ts +0 -3
  180. package/JetshopText.js +0 -13
  181. package/JetshopText.js.map +0 -1
  182. package/Loading/LoadingBar.d.ts +0 -8
  183. package/Loading/LoadingBar.js +0 -58
  184. package/Loading/LoadingBar.js.map +0 -1
  185. package/Loading/LoadingLine.d.ts +0 -31
  186. package/Loading/LoadingLine.js +0 -26
  187. package/Loading/LoadingLine.js.map +0 -1
  188. package/Loading/NetworkStatusNotifier.d.ts +0 -6
  189. package/Loading/NetworkStatusNotifier.js +0 -8
  190. package/Loading/NetworkStatusNotifier.js.map +0 -1
  191. package/Menu/MenuContainer.d.ts +0 -28
  192. package/Menu/MenuContainer.js +0 -46
  193. package/Menu/MenuContainer.js.map +0 -1
  194. package/Menu/RecursiveTree.d.ts +0 -28
  195. package/Menu/RecursiveTree.js +0 -91
  196. package/Menu/RecursiveTree.js.map +0 -1
  197. package/Modal/Drawer/Drawer.d.ts +0 -12
  198. package/Modal/Drawer/Drawer.js +0 -31
  199. package/Modal/Drawer/Drawer.js.map +0 -1
  200. package/Modal/Drawer/DrawerTarget.d.ts +0 -6
  201. package/Modal/Drawer/DrawerTarget.js +0 -12
  202. package/Modal/Drawer/DrawerTarget.js.map +0 -1
  203. package/Modal/Drawer/DrawerTrigger.d.ts +0 -11
  204. package/Modal/Drawer/DrawerTrigger.js +0 -16
  205. package/Modal/Drawer/DrawerTrigger.js.map +0 -1
  206. package/Modal/Drawer/index.d.ts +0 -3
  207. package/Modal/Drawer/index.js +0 -4
  208. package/Modal/Drawer/index.js.map +0 -1
  209. package/Modal/Flyout/FlyoutTarget.d.ts +0 -10
  210. package/Modal/Flyout/FlyoutTarget.js +0 -15
  211. package/Modal/Flyout/FlyoutTarget.js.map +0 -1
  212. package/Modal/Flyout/FlyoutTrigger.d.ts +0 -15
  213. package/Modal/Flyout/FlyoutTrigger.js +0 -18
  214. package/Modal/Flyout/FlyoutTrigger.js.map +0 -1
  215. package/Modal/Flyout/index.d.ts +0 -2
  216. package/Modal/Flyout/index.js +0 -3
  217. package/Modal/Flyout/index.js.map +0 -1
  218. package/Modal/ModalContext.d.ts +0 -26
  219. package/Modal/ModalContext.js +0 -9
  220. package/Modal/ModalContext.js.map +0 -1
  221. package/Modal/ModalProvider.d.ts +0 -5
  222. package/Modal/ModalProvider.js +0 -83
  223. package/Modal/ModalProvider.js.map +0 -1
  224. package/Modal/ModalRoot.d.ts +0 -3
  225. package/Modal/ModalRoot.js +0 -44
  226. package/Modal/ModalRoot.js.map +0 -1
  227. package/Modal/ModalTrigger.d.ts +0 -9
  228. package/Modal/ModalTrigger.js +0 -9
  229. package/Modal/ModalTrigger.js.map +0 -1
  230. package/Pagination/Pagination.d.ts +0 -7
  231. package/Pagination/Pagination.js +0 -23
  232. package/Pagination/Pagination.js.map +0 -1
  233. package/Pagination/PaginationBehaviour.d.ts +0 -52
  234. package/Pagination/PaginationBehaviour.js +0 -68
  235. package/Pagination/PaginationBehaviour.js.map +0 -1
  236. package/Pagination/index.d.ts +0 -2
  237. package/Pagination/index.js +0 -3
  238. package/Pagination/index.js.map +0 -1
  239. package/Pagination/usePagination.d.ts +0 -15
  240. package/Pagination/usePagination.js +0 -46
  241. package/Pagination/usePagination.js.map +0 -1
  242. package/PreOrderDateSelector/PreOrderDateSelector.d.ts +0 -23
  243. package/PreOrderDateSelector/PreOrderDateSelector.js +0 -74
  244. package/PreOrderDateSelector/PreOrderDateSelector.js.map +0 -1
  245. package/PreOrderDateSelector/index.d.ts +0 -2
  246. package/PreOrderDateSelector/index.js +0 -3
  247. package/PreOrderDateSelector/index.js.map +0 -1
  248. package/Price/Currency.d.ts +0 -9
  249. package/Price/Currency.js +0 -11
  250. package/Price/Currency.js.map +0 -1
  251. package/Price/Price.d.ts +0 -44
  252. package/Price/Price.js +0 -74
  253. package/Price/Price.js.map +0 -1
  254. package/Price/index.d.ts +0 -1
  255. package/Price/index.js +0 -2
  256. package/Price/index.js.map +0 -1
  257. package/ProductLink.d.ts +0 -23
  258. package/ProductLink.js +0 -88
  259. package/ProductLink.js.map +0 -1
  260. package/ProductList/Badges.d.ts +0 -6
  261. package/ProductList/Badges.js +0 -56
  262. package/ProductList/Badges.js.map +0 -1
  263. package/ProductList/GridProduct.d.ts +0 -24
  264. package/ProductList/GridProduct.js +0 -58
  265. package/ProductList/GridProduct.js.map +0 -1
  266. package/ProductList/ProductGrid.d.ts +0 -16
  267. package/ProductList/ProductGrid.js +0 -30
  268. package/ProductList/ProductGrid.js.map +0 -1
  269. package/ProductList/ProductImage.d.ts +0 -12
  270. package/ProductList/ProductImage.js +0 -21
  271. package/ProductList/ProductImage.js.map +0 -1
  272. package/ProductSpecifications/ProductSpecifications.d.ts +0 -8
  273. package/ProductSpecifications/ProductSpecifications.js +0 -78
  274. package/ProductSpecifications/ProductSpecifications.js.map +0 -1
  275. package/ScrollRestorationHandler/ScrollRestorationHandler.d.ts +0 -8
  276. package/ScrollRestorationHandler/ScrollRestorationHandler.js +0 -17
  277. package/ScrollRestorationHandler/ScrollRestorationHandler.js.map +0 -1
  278. package/ScrollRestorationHandler/index.d.ts +0 -1
  279. package/ScrollRestorationHandler/index.js +0 -2
  280. package/ScrollRestorationHandler/index.js.map +0 -1
  281. package/ScrollRestorationHandler/isInIgnoredRouteTypes.d.ts +0 -8
  282. package/ScrollRestorationHandler/isInIgnoredRouteTypes.js +0 -8
  283. package/ScrollRestorationHandler/isInIgnoredRouteTypes.js.map +0 -1
  284. package/ScrollRestorationHandler/useScrollRestore.d.ts +0 -9
  285. package/ScrollRestorationHandler/useScrollRestore.js +0 -20
  286. package/ScrollRestorationHandler/useScrollRestore.js.map +0 -1
  287. package/Search/SearchAutoCompleteContainer.d.ts +0 -45
  288. package/Search/SearchAutoCompleteContainer.js +0 -172
  289. package/Search/SearchAutoCompleteContainer.js.map +0 -1
  290. package/Search/SearchField.d.ts +0 -26
  291. package/Search/SearchField.js +0 -98
  292. package/Search/SearchField.js.map +0 -1
  293. package/Search/SearchPage/PageOf.d.ts +0 -5
  294. package/Search/SearchPage/PageOf.js +0 -7
  295. package/Search/SearchPage/PageOf.js.map +0 -1
  296. package/Search/SearchPage/SearchMeta.d.ts +0 -16
  297. package/Search/SearchPage/SearchMeta.js +0 -20
  298. package/Search/SearchPage/SearchMeta.js.map +0 -1
  299. package/Search/SearchPage/SearchPageBehaviour.d.ts +0 -19
  300. package/Search/SearchPage/SearchPageBehaviour.js +0 -75
  301. package/Search/SearchPage/SearchPageBehaviour.js.map +0 -1
  302. package/Search/SuggestedTerm.d.ts +0 -16
  303. package/Search/SuggestedTerm.js +0 -35
  304. package/Search/SuggestedTerm.js.map +0 -1
  305. package/Search/index.d.ts +0 -1
  306. package/Search/index.js +0 -2
  307. package/Search/index.js.map +0 -1
  308. package/Select/Components.d.ts +0 -28
  309. package/Select/Components.js +0 -91
  310. package/Select/Components.js.map +0 -1
  311. package/Select/SelectComponents/Quantity.d.ts +0 -5
  312. package/Select/SelectComponents/Quantity.js +0 -8
  313. package/Select/SelectComponents/Quantity.js.map +0 -1
  314. package/Select/index.d.ts +0 -5
  315. package/Select/index.js +0 -2
  316. package/Select/index.js.map +0 -1
  317. package/SortOrder/SortOrder.d.ts +0 -16
  318. package/SortOrder/SortOrder.js +0 -33
  319. package/SortOrder/SortOrder.js.map +0 -1
  320. package/SortOrder/SortOrderDropdown.d.ts +0 -9
  321. package/SortOrder/SortOrderDropdown.js +0 -25
  322. package/SortOrder/SortOrderDropdown.js.map +0 -1
  323. package/SortOrder/SortOrderList.d.ts +0 -7
  324. package/SortOrder/SortOrderList.js +0 -17
  325. package/SortOrder/SortOrderList.js.map +0 -1
  326. package/StartPageRenderer/StartPageRenderer.d.ts +0 -17
  327. package/StartPageRenderer/StartPageRenderer.js +0 -52
  328. package/StartPageRenderer/StartPageRenderer.js.map +0 -1
  329. package/StartPageRenderer/index.d.ts +0 -1
  330. package/StartPageRenderer/index.js +0 -2
  331. package/StartPageRenderer/index.js.map +0 -1
  332. package/Stock/StockStatusContainer.d.ts +0 -21
  333. package/Stock/StockStatusContainer.js +0 -45
  334. package/Stock/StockStatusContainer.js.map +0 -1
  335. package/Text/Text.d.ts +0 -11
  336. package/Text/Text.js +0 -22
  337. package/Text/Text.js.map +0 -1
  338. package/Text/index.d.ts +0 -3
  339. package/Text/index.js +0 -4
  340. package/Text/index.js.map +0 -1
  341. package/Theme/createTheme.d.ts +0 -16
  342. package/Theme/createTheme.js +0 -5
  343. package/Theme/createTheme.js.map +0 -1
  344. package/Theme/cssReset.d.ts +0 -1
  345. package/Theme/cssReset.js +0 -160
  346. package/Theme/cssReset.js.map +0 -1
  347. package/Theme/normalizeCss.d.ts +0 -1
  348. package/Theme/normalizeCss.js +0 -357
  349. package/Theme/normalizeCss.js.map +0 -1
  350. package/Theme/sanitizeCss.d.ts +0 -1
  351. package/Theme/sanitizeCss.js +0 -572
  352. package/Theme/sanitizeCss.js.map +0 -1
  353. package/WindowGrid/WindowGrid.d.ts +0 -11
  354. package/WindowGrid/WindowGrid.js +0 -58
  355. package/WindowGrid/WindowGrid.js.map +0 -1
  356. package/WindowGrid/index.d.ts +0 -1
  357. package/WindowGrid/index.js +0 -2
  358. package/WindowGrid/index.js.map +0 -1
  359. package/WindowGrid/useResizeObserver.d.ts +0 -3
  360. package/WindowGrid/useResizeObserver.js +0 -14
  361. package/WindowGrid/useResizeObserver.js.map +0 -1
  362. package/WindowGrid/useScrollWithWindow.d.ts +0 -12
  363. package/WindowGrid/useScrollWithWindow.js +0 -39
  364. package/WindowGrid/useScrollWithWindow.js.map +0 -1
  365. package/fuzzySearch/fuzzySearch.d.ts +0 -8
  366. package/fuzzySearch/fuzzySearch.js +0 -43
  367. package/fuzzySearch/fuzzySearch.js.map +0 -1
  368. package/fuzzySearch/index.d.ts +0 -1
  369. package/fuzzySearch/index.js +0 -2
  370. package/fuzzySearch/index.js.map +0 -1
  371. package/hooks/index.d.ts +0 -2
  372. package/hooks/index.js +0 -3
  373. package/hooks/index.js.map +0 -1
  374. package/hooks/useOnClickOutside.d.ts +0 -6
  375. package/hooks/useOnClickOutside.js +0 -17
  376. package/hooks/useOnClickOutside.js.map +0 -1
  377. package/hooks/useOnEsc.d.ts +0 -4
  378. package/hooks/useOnEsc.js +0 -17
  379. package/hooks/useOnEsc.js.map +0 -1
  380. package/utils/breakpoints.d.ts +0 -23
  381. package/utils/breakpoints.js +0 -94
  382. package/utils/breakpoints.js.map +0 -1
  383. package/utils/callAllEventHandlers.d.ts +0 -5
  384. package/utils/callAllEventHandlers.js +0 -9
  385. package/utils/callAllEventHandlers.js.map +0 -1
  386. package/utils/text.d.ts +0 -1
  387. package/utils/text.js +0 -23
  388. package/utils/text.js.map +0 -1
  389. package/utils/theme.d.ts +0 -3
  390. package/utils/theme.js +0 -5
  391. package/utils/theme.js.map +0 -1
  392. package/utils/useHoverIntent.d.ts +0 -10
  393. package/utils/useHoverIntent.js +0 -78
  394. package/utils/useHoverIntent.js.map +0 -1
  395. package/utils/usePropsOfType.d.ts +0 -11
  396. package/utils/usePropsOfType.js +0 -18
  397. package/utils/usePropsOfType.js.map +0 -1
  398. package/withFlightUI.d.ts +0 -17
  399. package/withFlightUI.js +0 -20
  400. package/withFlightUI.js.map +0 -1
@@ -1,572 +0,0 @@
1
- import { css } from 'linaria';
2
- css `
3
- :global() {
4
- /* Document
5
- * ========================================================================== */
6
-
7
- /**
8
- * Add border box sizing in all browsers (opinionated).
9
- */
10
-
11
- *,
12
- ::before,
13
- ::after {
14
- box-sizing: border-box;
15
- }
16
-
17
- /**
18
- * 1. Add text decoration inheritance in all browsers (opinionated).
19
- * 2. Add vertical alignment inheritance in all browsers (opinionated).
20
- */
21
-
22
- ::before,
23
- ::after {
24
- text-decoration: inherit; /* 1 */
25
- vertical-align: inherit; /* 2 */
26
- }
27
-
28
- /**
29
- * 1. Use the default cursor in all browsers (opinionated).
30
- * 2. Change the line height in all browsers (opinionated).
31
- * 3. Use a 4-space tab width in all browsers (opinionated).
32
- * 4. Remove the grey highlight on links in iOS (opinionated).
33
- * 5. Prevent adjustments of font size after orientation changes in
34
- * IE on Windows Phone and in iOS.
35
- * 6. Breaks words to prevent overflow in all browsers (opinionated).
36
- */
37
-
38
- html {
39
- cursor: default; /* 1 */
40
- line-height: 1.5; /* 2 */
41
- -moz-tab-size: 4; /* 3 */
42
- tab-size: 4; /* 3 */
43
- -webkit-tap-highlight-color: transparent /* 4 */;
44
- -ms-text-size-adjust: 100%; /* 5 */
45
- -webkit-text-size-adjust: 100%; /* 5 */
46
- word-break: break-word; /* 6 */
47
- }
48
-
49
- /* Sections
50
- * ========================================================================== */
51
-
52
- /**
53
- * Remove the margin in all browsers (opinionated).
54
- */
55
-
56
- body {
57
- margin: 0;
58
- }
59
-
60
- /**
61
- * Correct the font size and margin on 'h1' elements within 'section' and
62
- * 'article' contexts in Chrome, Edge, Firefox, and Safari.
63
- */
64
-
65
- h1 {
66
- font-size: 2em;
67
- margin: 0.67em 0;
68
- }
69
-
70
- /* Grouping content
71
- * ========================================================================== */
72
-
73
- /**
74
- * Remove the margin on nested lists in Chrome, Edge, IE, and Safari.
75
- */
76
-
77
- dl dl,
78
- dl ol,
79
- dl ul,
80
- ol dl,
81
- ul dl {
82
- margin: 0;
83
- }
84
-
85
- /**
86
- * Remove the margin on nested lists in Edge 18- and IE.
87
- */
88
-
89
- ol ol,
90
- ol ul,
91
- ul ol,
92
- ul ul {
93
- margin: 0;
94
- }
95
-
96
- /**
97
- * 1. Add the correct sizing in Firefox.
98
- * 2. Show the overflow in Edge 18- and IE.
99
- */
100
-
101
- hr {
102
- height: 0; /* 1 */
103
- overflow: visible; /* 2 */
104
- }
105
-
106
- /**
107
- * Add the correct display in IE.
108
- */
109
-
110
- main {
111
- display: block;
112
- }
113
-
114
- /**
115
- * Remove the list style on navigation lists in all browsers (opinionated).
116
- */
117
-
118
- nav ol,
119
- nav ul {
120
- list-style: none;
121
- padding: 0;
122
- }
123
-
124
- /**
125
- * 1. Correct the inheritance and scaling of font size in all browsers.
126
- * 2. Correct the odd 'em' font sizing in all browsers.
127
- */
128
-
129
- pre {
130
- font-family: monospace, monospace; /* 1 */
131
- font-size: 1em; /* 2 */
132
- }
133
-
134
- /* Text-level semantics
135
- * ========================================================================== */
136
-
137
- /**
138
- * Remove the gray background on active links in IE 10.
139
- */
140
-
141
- a {
142
- background-color: transparent;
143
- }
144
-
145
- /**
146
- * Add the correct text decoration in Edge 18-, IE, and Safari.
147
- */
148
-
149
- abbr[title] {
150
- text-decoration: underline;
151
- text-decoration: underline dotted;
152
- }
153
-
154
- /**
155
- * Add the correct font weight in Chrome, Edge, and Safari.
156
- */
157
-
158
- b,
159
- strong {
160
- font-weight: bolder;
161
- }
162
-
163
- /**
164
- * 1. Correct the inheritance and scaling of font size in all browsers.
165
- * 2. Correct the odd 'em' font sizing in all browsers.
166
- */
167
-
168
- code,
169
- kbd,
170
- samp {
171
- font-family: monospace, monospace; /* 1 */
172
- font-size: 1em; /* 2 */
173
- }
174
-
175
- /**
176
- * Add the correct font size in all browsers.
177
- */
178
-
179
- small {
180
- font-size: 80%;
181
- }
182
-
183
- /* Embedded content
184
- * ========================================================================== */
185
-
186
- /*
187
- * Change the alignment on media elements in all browsers (opinionated).
188
- */
189
-
190
- audio,
191
- canvas,
192
- iframe,
193
- img,
194
- svg,
195
- video {
196
- vertical-align: middle;
197
- }
198
-
199
- /**
200
- * Add the correct display in IE 9-.
201
- */
202
-
203
- audio,
204
- video {
205
- display: inline-block;
206
- }
207
-
208
- /**
209
- * Add the correct display in iOS 4-7.
210
- */
211
-
212
- audio:not([controls]) {
213
- display: none;
214
- height: 0;
215
- }
216
-
217
- /**
218
- * Remove the border on iframes in all browsers (opinionated).
219
- */
220
-
221
- iframe {
222
- border-style: none;
223
- }
224
-
225
- /**
226
- * Remove the border on images within links in IE 10-.
227
- */
228
-
229
- img {
230
- border-style: none;
231
- }
232
-
233
- /**
234
- * Change the fill color to match the text color in all browsers (opinionated).
235
- */
236
-
237
- svg:not([fill]) {
238
- fill: currentColor;
239
- }
240
-
241
- /**
242
- * Hide the overflow in IE.
243
- */
244
-
245
- svg:not(:root) {
246
- overflow: hidden;
247
- }
248
-
249
- /* Tabular data
250
- * ========================================================================== */
251
-
252
- /**
253
- * Collapse border spacing in all browsers (opinionated).
254
- */
255
-
256
- table {
257
- border-collapse: collapse;
258
- }
259
-
260
- /* Forms
261
- * ========================================================================== */
262
-
263
- /**
264
- * Remove the margin on controls in Safari.
265
- */
266
-
267
- button,
268
- input,
269
- select {
270
- margin: 0;
271
- }
272
-
273
- /**
274
- * 1. Show the overflow in IE.
275
- * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
276
- */
277
-
278
- button {
279
- overflow: visible; /* 1 */
280
- text-transform: none; /* 2 */
281
- }
282
-
283
- /**
284
- * Correct the inability to style buttons in iOS and Safari.
285
- */
286
-
287
- button,
288
- [type='button'],
289
- [type='reset'],
290
- [type='submit'] {
291
- -webkit-appearance: button;
292
- }
293
-
294
- /**
295
- * 1. Change the inconsistent appearance in all browsers (opinionated).
296
- * 2. Correct the padding in Firefox.
297
- */
298
-
299
- fieldset {
300
- border: 1px solid #a0a0a0; /* 1 */
301
- padding: 0.35em 0.75em 0.625em; /* 2 */
302
- }
303
-
304
- /**
305
- * Show the overflow in Edge 18- and IE.
306
- */
307
-
308
- input {
309
- overflow: visible;
310
- }
311
-
312
- /**
313
- * 1. Correct the text wrapping in Edge 18- and IE.
314
- * 2. Correct the color inheritance from 'fieldset' elements in IE.
315
- */
316
-
317
- legend {
318
- color: inherit; /* 2 */
319
- display: table; /* 1 */
320
- max-width: 100%; /* 1 */
321
- white-space: normal; /* 1 */
322
- }
323
-
324
- /**
325
- * 1. Add the correct display in Edge 18- and IE.
326
- * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
327
- */
328
-
329
- progress {
330
- display: inline-block; /* 1 */
331
- vertical-align: baseline; /* 2 */
332
- }
333
-
334
- /**
335
- * Remove the inheritance of text transform in Firefox.
336
- */
337
-
338
- select {
339
- text-transform: none;
340
- }
341
-
342
- /**
343
- * 1. Remove the margin in Firefox and Safari.
344
- * 2. Remove the default vertical scrollbar in IE.
345
- * 3. Change the resize direction in all browsers (opinionated).
346
- */
347
-
348
- textarea {
349
- margin: 0; /* 1 */
350
- overflow: auto; /* 2 */
351
- resize: vertical; /* 3 */
352
- }
353
-
354
- /**
355
- * Remove the padding in IE 10-.
356
- */
357
-
358
- [type='checkbox'],
359
- [type='radio'] {
360
- padding: 0;
361
- }
362
-
363
- /**
364
- * 1. Correct the odd appearance in Chrome, Edge, and Safari.
365
- * 2. Correct the outline style in Safari.
366
- */
367
-
368
- [type='search'] {
369
- -webkit-appearance: textfield; /* 1 */
370
- outline-offset: -2px; /* 2 */
371
- }
372
-
373
- /**
374
- * Correct the cursor style of increment and decrement buttons in Safari.
375
- */
376
-
377
- ::-webkit-inner-spin-button,
378
- ::-webkit-outer-spin-button {
379
- height: auto;
380
- }
381
-
382
- /**
383
- * Correct the text style of placeholders in Chrome, Edge, and Safari.
384
- */
385
-
386
- ::-webkit-input-placeholder {
387
- color: inherit;
388
- opacity: 0.54;
389
- }
390
-
391
- /**
392
- * Remove the inner padding in Chrome, Edge, and Safari on macOS.
393
- */
394
-
395
- ::-webkit-search-decoration {
396
- -webkit-appearance: none;
397
- }
398
-
399
- /**
400
- * 1. Correct the inability to style upload buttons in iOS and Safari.
401
- * 2. Change font properties to 'inherit' in Safari.
402
- */
403
-
404
- ::-webkit-file-upload-button {
405
- -webkit-appearance: button; /* 1 */
406
- font: inherit; /* 2 */
407
- }
408
-
409
- /**
410
- * Remove the inner border and padding of focus outlines in Firefox.
411
- */
412
-
413
- ::-moz-focus-inner {
414
- border-style: none;
415
- padding: 0;
416
- }
417
-
418
- /**
419
- * Restore the focus outline styles unset by the previous rule in Firefox.
420
- */
421
-
422
- :-moz-focusring {
423
- outline: 1px dotted ButtonText;
424
- }
425
-
426
- /**
427
- * Remove the additional :invalid styles in Firefox.
428
- */
429
-
430
- :-moz-ui-invalid {
431
- box-shadow: none;
432
- }
433
-
434
- /* Interactive
435
- * ========================================================================== */
436
-
437
- /*
438
- * Add the correct display in Edge 18- and IE.
439
- */
440
-
441
- details {
442
- display: block;
443
- }
444
-
445
- /*
446
- * Add the correct styles in Edge 18-, IE, and Safari.
447
- */
448
-
449
- dialog {
450
- background-color: white;
451
- border: solid;
452
- color: black;
453
- display: block;
454
- height: -moz-fit-content;
455
- height: -webkit-fit-content;
456
- height: fit-content;
457
- left: 0;
458
- margin: auto;
459
- padding: 1em;
460
- position: absolute;
461
- right: 0;
462
- width: -moz-fit-content;
463
- width: -webkit-fit-content;
464
- width: fit-content;
465
- }
466
-
467
- dialog:not([open]) {
468
- display: none;
469
- }
470
-
471
- /*
472
- * Add the correct display in all browsers.
473
- */
474
-
475
- summary {
476
- display: list-item;
477
- }
478
-
479
- /* Scripting
480
- * ========================================================================== */
481
-
482
- /**
483
- * Add the correct display in IE 9-.
484
- */
485
-
486
- canvas {
487
- display: inline-block;
488
- }
489
-
490
- /**
491
- * Add the correct display in IE.
492
- */
493
-
494
- template {
495
- display: none;
496
- }
497
-
498
- /* User interaction
499
- * ========================================================================== */
500
-
501
- /*
502
- * 1. Remove the tapping delay in IE 10.
503
- * 2. Remove the tapping delay on clickable elements
504
- in all browsers (opinionated).
505
- */
506
-
507
- a,
508
- area,
509
- button,
510
- input,
511
- label,
512
- select,
513
- summary,
514
- textarea,
515
- [tabindex] {
516
- -ms-touch-action: manipulation; /* 1 */
517
- touch-action: manipulation; /* 2 */
518
- }
519
-
520
- /**
521
- * Add the correct display in IE 10-.
522
- */
523
-
524
- [hidden] {
525
- display: none;
526
- }
527
-
528
- /* Accessibility
529
- * ========================================================================== */
530
-
531
- /**
532
- * Change the cursor on busy elements in all browsers (opinionated).
533
- */
534
-
535
- [aria-busy='true'] {
536
- cursor: progress;
537
- }
538
-
539
- /*
540
- * Change the cursor on control elements in all browsers (opinionated).
541
- */
542
-
543
- [aria-controls] {
544
- cursor: pointer;
545
- }
546
-
547
- /*
548
- * Change the cursor on disabled, not-editable, or otherwise
549
- * inoperable elements in all browsers (opinionated).
550
- */
551
-
552
- [aria-disabled='true'],
553
- [disabled] {
554
- cursor: not-allowed;
555
- }
556
-
557
- /*
558
- * Change the display on visually hidden accessible elements
559
- * in all browsers (opinionated).
560
- */
561
-
562
- [aria-hidden='false'][hidden] {
563
- display: initial;
564
- }
565
-
566
- [aria-hidden='false'][hidden]:not(:focus) {
567
- clip: rect(0, 0, 0, 0);
568
- position: absolute;
569
- }
570
- }
571
- `;
572
- //# sourceMappingURL=sanitizeCss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sanitizeCss.js","sourceRoot":"","sources":["sanitizeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyjBF,CAAC"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- interface WindowGridProps {
3
- id?: string;
4
- items: any[];
5
- className?: string;
6
- prevOffset: number;
7
- itemsPerRow?: number | number[];
8
- component: any;
9
- }
10
- export declare const WindowGrid: ({ itemsPerRow, ...props }: WindowGridProps) => React.JSX.Element;
11
- export {};
@@ -1,58 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import PaginationContext from '@jetshop/core/components/Pagination/PaginationContext';
13
- import getBreakpointsFromValues from '@jetshop/core/helpers/getBreakpointsFromValues';
14
- import { Above } from '@jetshop/ui/Breakpoints';
15
- import { cx } from 'linaria';
16
- import React, { useCallback, useContext, useEffect, useState } from 'react';
17
- import { SnappyReactGrid } from '@jetshop/snappy-react-grid';
18
- import { useShopConfig } from '@jetshop/core/hooks/useShopConfig';
19
- const SnappyReactGridWithId = SnappyReactGrid;
20
- function WindowGridInner({ id, items, className = '', prevOffset, itemsPerRow = 0, component }) {
21
- // Keep pagination in URL in sync with scrolling
22
- const { perPage, goToPage, currentPage } = useContext(PaginationContext);
23
- const [scrollOffsetPage, setScrollOffsetPage] = useState(null);
24
- // Updates the url query, the history and triggers a refetch for products
25
- const updateHistory = useCallback(({ firstVisibleIndex }) => {
26
- const pageForIndex = Math.floor((firstVisibleIndex + (prevOffset + perPage)) / perPage + 1);
27
- setScrollOffsetPage(pageForIndex);
28
- }, [perPage, prevOffset]);
29
- useEffect(() => {
30
- if (scrollOffsetPage && scrollOffsetPage !== currentPage) {
31
- goToPage(scrollOffsetPage, { replace: true });
32
- }
33
- }, [scrollOffsetPage, currentPage, goToPage]);
34
- return (React.createElement("div", { "data-testid": "product-grid" },
35
- React.createElement(SnappyReactGridWithId, { id: id, className: cx('product-grid', className), columns: itemsPerRow, items: items, component: component, onScroll: updateHistory, defaultVisible: perPage || 16 })));
36
- }
37
- const WindowGridWrapper = (_a) => {
38
- var { itemsPerRow = [2, null, 3, 4] } = _a, props = __rest(_a, ["itemsPerRow"]);
39
- const { theme: { breakpoints: themeBreakpoints } } = useShopConfig();
40
- if (Array.isArray(itemsPerRow)) {
41
- const breakpoints = getBreakpointsFromValues(itemsPerRow, Object.keys(themeBreakpoints));
42
- // Walk down each breakpoint until we find a match, starting at the biggest.
43
- // This should be rewritten whenever we have support for media queries in hooks.
44
- return breakpoints.reduce((acc, cur) => (React.createElement(Above, { breakpoint: cur.breakpoint }, (match) => {
45
- if (match) {
46
- return React.createElement(WindowGridInner, Object.assign({ itemsPerRow: cur.value }, props));
47
- }
48
- else {
49
- return acc;
50
- }
51
- })),
52
- // Fallback to the smallest breakpoint
53
- React.createElement(WindowGridInner, Object.assign({ itemsPerRow: breakpoints[0].value }, props)));
54
- }
55
- return null;
56
- };
57
- export const WindowGrid = WindowGridWrapper;
58
- //# sourceMappingURL=WindowGrid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WindowGrid.js","sourceRoot":"","sources":["WindowGrid.tsx"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- export { WindowGrid } from './WindowGrid';
@@ -1,2 +0,0 @@
1
- export { WindowGrid } from './WindowGrid';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import useResizeObserverClient from 'use-resize-observer';
2
- declare const _default: typeof useResizeObserverClient;
3
- export default _default;
@@ -1,14 +0,0 @@
1
- import useResizeObserverClient from 'use-resize-observer';
2
- import { useRef } from 'react';
3
- function useResizeObserverServer() {
4
- const ref = useRef();
5
- return {
6
- width: 0,
7
- height: 0,
8
- ref
9
- };
10
- }
11
- export default __IN_SERVER__
12
- ? useResizeObserverServer
13
- : useResizeObserverClient;
14
- //# sourceMappingURL=useResizeObserver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useResizeObserver.js","sourceRoot":"","sources":["useResizeObserver.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,SAAS,uBAAuB;IAC9B,MAAM,GAAG,GAAG,MAAM,EAAK,CAAC;IACxB,OAAO;QACL,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,GAAG;KACJ,CAAC;AACJ,CAAC;AAED,eAAe,aAAa;IAC1B,CAAC,CAAC,uBAAuB;IACzB,CAAC,CAAC,uBAAuB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { FixedSizeList } from 'react-window';
3
- interface ScrollWithWindow {
4
- container: RefObject<HTMLElement>;
5
- width: number;
6
- height: number;
7
- }
8
- declare function useScrollWithWindowServer(_props: ScrollWithWindow): {
9
- ref: import("react").MutableRefObject<FixedSizeList<any>>;
10
- };
11
- declare const _default: typeof useScrollWithWindowServer;
12
- export default _default;