@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,45 +0,0 @@
1
- function getStatus(statusObject) {
2
- return statusObject.buyable
3
- ? 'inStock'
4
- : statusObject.stockNotificationEnabled
5
- ? 'notifyWhenBack'
6
- : 'outOfStock';
7
- }
8
- /**
9
- * deprectaed
10
- * @deprecated deprecated in favor of jetshop/core/hooks/useStockStatus
11
- * @returns StockStatusContainerRender
12
- */
13
- function StockStatusContainer({ product, children }) {
14
- const { status, text, maxOrderQuantity, stockDate } = useStockStatus(product);
15
- if (!status)
16
- return null;
17
- // Mimic fn-as-child pattern
18
- return children({
19
- status,
20
- text,
21
- maxOrderQuantity,
22
- stockDate
23
- });
24
- }
25
- function useStockStatus(product) {
26
- const stockStatus = product === null || product === void 0 ? void 0 : product.stockStatus;
27
- if (!stockStatus) {
28
- console.warn('The provided product does not have a stockStatus');
29
- return {
30
- status: null,
31
- text: null,
32
- maxOrderQuantity: null,
33
- stockDate: null
34
- };
35
- }
36
- return {
37
- status: getStatus(stockStatus),
38
- text: stockStatus.text || null,
39
- maxOrderQuantity: stockStatus.maxOrderQuantity,
40
- stockDate: stockStatus.stockDate
41
- };
42
- }
43
- export default StockStatusContainer;
44
- export { useStockStatus };
45
- //# sourceMappingURL=StockStatusContainer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StockStatusContainer.js","sourceRoot":"","sources":["StockStatusContainer.tsx"],"names":[],"mappings":"AAoBA,SAAS,SAAS,CAChB,YAAyB;IAEzB,OAAO,YAAY,CAAC,OAAO;QACzB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,YAAY,CAAC,wBAAwB;YACvC,CAAC,CAAC,gBAAgB;YAClB,CAAC,CAAC,YAAY,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,SAAS,oBAAoB,CAAC,EAC5B,OAAO,EACP,QAAQ,EACkB;IAC1B,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;IAE9E,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,4BAA4B;IAC5B,OAAO,QAAQ,CAAC;QACd,MAAM;QACN,IAAI;QACJ,gBAAgB;QAChB,SAAS;KACV,CAAC,CAAC;AACL,CAAC;AAED,SAAS,cAAc,CACrB,OAAiC;IAEjC,MAAM,WAAW,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC;IAEzC,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAC;QACjE,OAAO;YACL,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI;YACV,gBAAgB,EAAE,IAAI;YACtB,SAAS,EAAE,IAAI;SAChB,CAAC;KACH;IAED,OAAO;QACL,MAAM,EAAE,SAAS,CAAC,WAAW,CAAC;QAC9B,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,IAAI;QAC9B,gBAAgB,EAAE,WAAW,CAAC,gBAAgB;QAC9C,SAAS,EAAE,WAAW,CAAC,SAAS;KACjC,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,CAAC"}
package/Text/Text.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- declare const Text: React.StatelessComponent<React.HTMLProps<any> & {
3
- as?: string;
4
- }>;
5
- export declare const Heading: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
6
- as?: React.ElementType<any>;
7
- }>;
8
- export declare const SubHeading: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
9
- as?: React.ElementType<any>;
10
- }>;
11
- export default Text;
package/Text/Text.js DELETED
@@ -1,22 +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 React from 'react';
13
- import { styled } from 'linaria/react';
14
- const Text = (_a) => {
15
- var { as, children } = _a, props = __rest(_a, ["as", "children"]);
16
- const Base = styled(as || 'p') ``;
17
- return React.createElement(Base, Object.assign({}, props), children);
18
- };
19
- export const Heading = styled('h2') ``;
20
- export const SubHeading = styled('h3') ``;
21
- export default Text;
22
- //# sourceMappingURL=Text.js.map
package/Text/Text.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["Text.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,IAAI,GAEL,CAAC,EAA+B,EAAE,EAAE;QAAnC,EAAE,EAAE,EAAE,QAAQ,OAAiB,EAAZ,KAAK,cAAxB,kBAA0B,CAAF;IAC5B,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,IAAI,GAAG,CAAC,CAAA,EAAE,CAAC;IACjC,OAAO,oBAAC,IAAI,oBAAK,KAAK,GAAG,QAAQ,CAAQ,CAAC;AAC5C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA,EAAE,CAAC;AAEzC,eAAe,IAAI,CAAC"}
package/Text/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import Text, { Heading, SubHeading } from './Text';
2
- export default Text;
3
- export { Heading, SubHeading };
package/Text/index.js DELETED
@@ -1,4 +0,0 @@
1
- import Text, { Heading, SubHeading } from './Text';
2
- export default Text;
3
- export { Heading, SubHeading };
4
- //# sourceMappingURL=index.js.map
package/Text/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,16 +0,0 @@
1
- import { BreakpointModel } from '../utils/breakpoints';
2
- interface Theme {
3
- default: {
4
- breakpoints: BreakpointModel;
5
- [key: string]: any;
6
- };
7
- [key: string]: any;
8
- }
9
- export declare function createTheme<T extends Theme, D extends T['default']>(theme: T): {
10
- breakpointMap: import("../utils/breakpoints").BreakpointMap<D["breakpoints"], keyof D["breakpoints"]>[];
11
- above: { [P in keyof D["breakpoints"]]: string; };
12
- below: { [P_1 in keyof D["breakpoints"]]: string; };
13
- between: any;
14
- only: { [P_2 in keyof D["breakpoints"]]: string; };
15
- } & D;
16
- export {};
@@ -1,5 +0,0 @@
1
- import { createBreakpointHelpers } from '../utils/breakpoints';
2
- export function createTheme(theme) {
3
- return Object.assign(Object.assign({}, createBreakpointHelpers(theme.default.breakpoints)), theme.default);
4
- }
5
- //# sourceMappingURL=createTheme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTheme.js","sourceRoot":"","sources":["createTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAmB,MAAM,sBAAsB,CAAC;AAUhF,MAAM,UAAU,WAAW,CAA0C,KAAQ;IAC3E,uCACK,uBAAuB,CAAC,KAAK,CAAC,OAAO,CAAC,WAA+B,CAAC,GACrE,KAAK,CAAC,OAAa,EACvB;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- export {};
package/Theme/cssReset.js DELETED
@@ -1,160 +0,0 @@
1
- import { css } from 'linaria';
2
- css `
3
- :global() {
4
- html,
5
- body,
6
- div,
7
- span,
8
- applet,
9
- object,
10
- iframe,
11
- h1,
12
- h2,
13
- h3,
14
- h4,
15
- h5,
16
- h6,
17
- p,
18
- blockquote,
19
- pre,
20
- a,
21
- abbr,
22
- acronym,
23
- address,
24
- big,
25
- cite,
26
- code,
27
- del,
28
- dfn,
29
- em,
30
- img,
31
- ins,
32
- kbd,
33
- q,
34
- s,
35
- samp,
36
- small,
37
- strike,
38
- strong,
39
- sub,
40
- sup,
41
- tt,
42
- var,
43
- b,
44
- u,
45
- i,
46
- center,
47
- dl,
48
- dt,
49
- dd,
50
- ol,
51
- ul,
52
- li,
53
- fieldset,
54
- form,
55
- label,
56
- legend,
57
- table,
58
- caption,
59
- tbody,
60
- tfoot,
61
- thead,
62
- tr,
63
- th,
64
- td,
65
- article,
66
- aside,
67
- canvas,
68
- details,
69
- embed,
70
- figure,
71
- figcaption,
72
- footer,
73
- header,
74
- hgroup,
75
- menu,
76
- nav,
77
- output,
78
- ruby,
79
- section,
80
- summary,
81
- time,
82
- mark,
83
- audio,
84
- video,
85
- button {
86
- margin: 0;
87
- padding: 0;
88
- border: 0;
89
- font-size: 100%;
90
- font: inherit;
91
- vertical-align: baseline;
92
- }
93
- /* HTML5 display-role reset for older browsers */
94
- article,
95
- aside,
96
- details,
97
- figcaption,
98
- figure,
99
- footer,
100
- header,
101
- hgroup,
102
- menu,
103
- nav,
104
- section {
105
- display: block;
106
- }
107
- body {
108
- line-height: 1;
109
- overflow-x: hidden;
110
- }
111
- ol,
112
- ul {
113
- list-style: none;
114
- }
115
- blockquote,
116
- q {
117
- quotes: none;
118
- }
119
- blockquote:before,
120
- blockquote:after,
121
- q:before,
122
- q:after {
123
- content: '';
124
- content: none;
125
- }
126
- table {
127
- border-collapse: collapse;
128
- border-spacing: 0;
129
- }
130
- html,
131
- body {
132
- height: 100%;
133
- font-family: '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"',
134
- '"Roboto"', '"Oxygen"', '"Ubuntu"', '"Cantarell"', '"Fira Sans"',
135
- '"Droid Sans"', '"Helvetica Neue"', 'sans-serif';
136
- }
137
- html,
138
- body,
139
- #root {
140
- min-height: 100%;
141
- }
142
- #root {
143
- display: flex;
144
- flex-direction: column;
145
- }
146
- button {
147
- cursor: pointer;
148
- }
149
- input {
150
- -webkit-appearance: none;
151
- }
152
- .ReactModal__Body--open {
153
- overflow: hidden;
154
- }
155
- .ReactModal__Overlay--after-open {
156
- overflow: scroll;
157
- }
158
- }
159
- `;
160
- //# sourceMappingURL=cssReset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cssReset.js","sourceRoot":"","sources":["cssReset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JF,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,357 +0,0 @@
1
- import { css } from 'linaria';
2
- css `
3
- :global() {
4
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
5
-
6
- /* Document
7
- ========================================================================== */
8
-
9
- /**
10
- * 1. Correct the line height in all browsers.
11
- * 2. Prevent adjustments of font size after orientation changes in iOS.
12
- */
13
-
14
- html {
15
- line-height: 1.15; /* 1 */
16
- -webkit-text-size-adjust: 100%; /* 2 */
17
- }
18
-
19
- /* Sections
20
- ========================================================================== */
21
-
22
- /**
23
- * Remove the margin in all browsers.
24
- */
25
-
26
- body {
27
- margin: 0;
28
- }
29
-
30
- /**
31
- * Render the 'main' element consistently in IE
32
- */
33
-
34
- main {
35
- display: block;
36
- }
37
-
38
- /**
39
- * Correct the font size and margin on 'h1' elements within 'section' and
40
- * 'article' contexts in Chrome, Firefox, and Safari.
41
- */
42
-
43
- h1 {
44
- font-size: 2em;
45
- margin: 0.67em 0;
46
- }
47
-
48
- /* Grouping content
49
- ========================================================================== */
50
-
51
- /**
52
- * 1. Add the correct box sizing in Firefox.
53
- * 2. Show the overflow in Edge and IE.
54
- */
55
-
56
- hr {
57
- box-sizing: content-box; /* 1 */
58
- height: 0; /* 1 */
59
- overflow: visible; /* 2 */
60
- }
61
-
62
- /**
63
- * 1. Correct the inheritance and scaling of font size in all browsers.
64
- * 2. Correct the odd 'em' font sizing in all browsers.
65
- */
66
-
67
- pre {
68
- font-family: monospace, monospace; /* 1 */
69
- font-size: 1em; /* 2 */
70
- }
71
-
72
- /* Text-level semantics
73
- ========================================================================== */
74
-
75
- /**
76
- * Remove the gray background on active links in IE 10.
77
- */
78
-
79
- a {
80
- background-color: transparent;
81
- }
82
-
83
- /**
84
- * 1. Remove the bottom border in Chrome 57-
85
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
86
- */
87
-
88
- abbr[title] {
89
- border-bottom: none; /* 1 */
90
- text-decoration: underline; /* 2 */
91
- text-decoration: underline dotted; /* 2 */
92
- }
93
-
94
- /**
95
- * Add the correct font weight in Chrome, Edge, and Safari.
96
- */
97
-
98
- b,
99
- strong {
100
- font-weight: bolder;
101
- }
102
-
103
- /**
104
- * 1. Correct the inheritance and scaling of font size in all browsers.
105
- * 2. Correct the odd 'em' font sizing in all browsers.
106
- */
107
-
108
- code,
109
- kbd,
110
- samp {
111
- font-family: monospace, monospace; /* 1 */
112
- font-size: 1em; /* 2 */
113
- }
114
-
115
- /**
116
- * Add the correct font size in all browsers.
117
- */
118
-
119
- small {
120
- font-size: 80%;
121
- }
122
-
123
- /**
124
- * Prevent 'sub' and 'sup' elements from affecting the line height in
125
- * all browsers.
126
- */
127
-
128
- sub,
129
- sup {
130
- font-size: 75%;
131
- line-height: 0;
132
- position: relative;
133
- vertical-align: baseline;
134
- }
135
-
136
- sub {
137
- bottom: -0.25em;
138
- }
139
-
140
- sup {
141
- top: -0.5em;
142
- }
143
-
144
- /* Embedded content
145
- ========================================================================== */
146
-
147
- /**
148
- * Remove the border on images inside links in IE 10.
149
- */
150
-
151
- img {
152
- border-style: none;
153
- }
154
-
155
- /* Forms
156
- ========================================================================== */
157
-
158
- /**
159
- * 1. Change the font styles in all browsers.
160
- * 2. Remove the margin in Firefox and Safari.
161
- */
162
-
163
- button,
164
- input,
165
- optgroup,
166
- select,
167
- textarea {
168
- font-family: inherit; /* 1 */
169
- font-size: 100%; /* 1 */
170
- line-height: 1.15; /* 1 */
171
- margin: 0; /* 2 */
172
- }
173
-
174
- /**
175
- * Show the overflow in IE.
176
- * 1. Show the overflow in Edge.
177
- */
178
-
179
- button,
180
- input {
181
- /* 1 */
182
- overflow: visible;
183
- }
184
-
185
- /**
186
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
187
- * 1. Remove the inheritance of text transform in Firefox.
188
- */
189
-
190
- button,
191
- select {
192
- /* 1 */
193
- text-transform: none;
194
- }
195
-
196
- /**
197
- * Correct the inability to style clickable types in iOS and Safari.
198
- */
199
-
200
- button,
201
- [type='button'],
202
- [type='reset'],
203
- [type='submit'] {
204
- -webkit-appearance: button;
205
- }
206
-
207
- /**
208
- * Remove the inner border and padding in Firefox.
209
- */
210
-
211
- button::-moz-focus-inner,
212
- [type='button']::-moz-focus-inner,
213
- [type='reset']::-moz-focus-inner,
214
- [type='submit']::-moz-focus-inner {
215
- border-style: none;
216
- padding: 0;
217
- }
218
-
219
- /**
220
- * Restore the focus styles unset by the previous rule.
221
- */
222
-
223
- button:-moz-focusring,
224
- [type='button']:-moz-focusring,
225
- [type='reset']:-moz-focusring,
226
- [type='submit']:-moz-focusring {
227
- outline: 1px dotted ButtonText;
228
- }
229
-
230
- /**
231
- * Correct the padding in Firefox.
232
- */
233
-
234
- fieldset {
235
- padding: 0.35em 0.75em 0.625em;
236
- }
237
-
238
- /**
239
- * 1. Correct the text wrapping in Edge and IE.
240
- * 2. Correct the color inheritance from 'fieldset' elements in IE.
241
- * 3. Remove the padding so developers are not caught out when they zero out
242
- * 'fieldset' elements in all browsers.
243
- */
244
-
245
- legend {
246
- box-sizing: border-box; /* 1 */
247
- color: inherit; /* 2 */
248
- display: table; /* 1 */
249
- max-width: 100%; /* 1 */
250
- padding: 0; /* 3 */
251
- white-space: normal; /* 1 */
252
- }
253
-
254
- /**
255
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
256
- */
257
-
258
- progress {
259
- vertical-align: baseline;
260
- }
261
-
262
- /**
263
- * Remove the default vertical scrollbar in IE 10+.
264
- */
265
-
266
- textarea {
267
- overflow: auto;
268
- }
269
-
270
- /**
271
- * 1. Add the correct box sizing in IE 10.
272
- * 2. Remove the padding in IE 10.
273
- */
274
-
275
- [type='checkbox'],
276
- [type='radio'] {
277
- box-sizing: border-box; /* 1 */
278
- padding: 0; /* 2 */
279
- }
280
-
281
- /**
282
- * Correct the cursor style of increment and decrement buttons in Chrome.
283
- */
284
-
285
- [type='number']::-webkit-inner-spin-button,
286
- [type='number']::-webkit-outer-spin-button {
287
- height: auto;
288
- }
289
-
290
- /**
291
- * 1. Correct the odd appearance in Chrome and Safari.
292
- * 2. Correct the outline style in Safari.
293
- */
294
-
295
- [type='search'] {
296
- -webkit-appearance: textfield; /* 1 */
297
- outline-offset: -2px; /* 2 */
298
- }
299
-
300
- /**
301
- * Remove the inner padding in Chrome and Safari on macOS.
302
- */
303
-
304
- [type='search']::-webkit-search-decoration {
305
- -webkit-appearance: none;
306
- }
307
-
308
- /**
309
- * 1. Correct the inability to style clickable types in iOS and Safari.
310
- * 2. Change font properties to 'inherit' in Safari.
311
- */
312
-
313
- ::-webkit-file-upload-button {
314
- -webkit-appearance: button; /* 1 */
315
- font: inherit; /* 2 */
316
- }
317
-
318
- /* Interactive
319
- ========================================================================== */
320
-
321
- /*
322
- * Add the correct display in Edge, IE 10+, and Firefox.
323
- */
324
-
325
- details {
326
- display: block;
327
- }
328
-
329
- /*
330
- * Add the correct display in all browsers.
331
- */
332
-
333
- summary {
334
- display: list-item;
335
- }
336
-
337
- /* Misc
338
- ========================================================================== */
339
-
340
- /**
341
- * Add the correct display in IE 10+.
342
- */
343
-
344
- template {
345
- display: none;
346
- }
347
-
348
- /**
349
- * Add the correct display in IE 10.
350
- */
351
-
352
- [hidden] {
353
- display: none;
354
- }
355
- }
356
- `;
357
- //# sourceMappingURL=normalizeCss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeCss.js","sourceRoot":"","sources":["normalizeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkWF,CAAC"}
@@ -1 +0,0 @@
1
- export {};