@usereactify/search 5.59.0 → 5.59.1-beta.0

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 (286) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/package.json +7 -5
  3. package/dist/src/components/ClearAll/ClearAll.d.ts +1 -1
  4. package/dist/src/components/ClearAll/ClearAll.js +4 -9
  5. package/dist/src/components/ClearAll/ClearAll.js.map +1 -1
  6. package/dist/src/components/CustomComponent/CustomComponent.d.ts +1 -1
  7. package/dist/src/components/CustomComponent/CustomComponent.js +2 -2
  8. package/dist/src/components/CustomComponent/CustomComponent.js.map +1 -1
  9. package/dist/src/components/Example/ExampleClearAll.d.ts +2 -2
  10. package/dist/src/components/Example/ExampleClearAll.js +2 -5
  11. package/dist/src/components/Example/ExampleClearAll.js.map +1 -1
  12. package/dist/src/components/Example/ExampleCustomComponent.d.ts +1 -1
  13. package/dist/src/components/Example/ExampleCustomComponent.js +3 -7
  14. package/dist/src/components/Example/ExampleCustomComponent.js.map +1 -1
  15. package/dist/src/components/Example/ExampleFilterList.d.ts +2 -2
  16. package/dist/src/components/Example/ExampleFilterList.js +31 -66
  17. package/dist/src/components/Example/ExampleFilterList.js.map +1 -1
  18. package/dist/src/components/Example/ExampleFilterRange.d.ts +2 -2
  19. package/dist/src/components/Example/ExampleFilterRange.js +2 -12
  20. package/dist/src/components/Example/ExampleFilterRange.js.map +1 -1
  21. package/dist/src/components/Example/ExampleFilterSlider.d.ts +2 -2
  22. package/dist/src/components/Example/ExampleFilterSlider.js +11 -18
  23. package/dist/src/components/Example/ExampleFilterSlider.js.map +1 -1
  24. package/dist/src/components/Example/ExampleFilters.d.ts +1 -1
  25. package/dist/src/components/Example/ExampleFilters.js +3 -8
  26. package/dist/src/components/Example/ExampleFilters.js.map +1 -1
  27. package/dist/src/components/Example/ExampleFiltersSelected.d.ts +2 -2
  28. package/dist/src/components/Example/ExampleFiltersSelected.js +3 -24
  29. package/dist/src/components/Example/ExampleFiltersSelected.js.map +1 -1
  30. package/dist/src/components/Example/ExampleHookUseFilters.d.ts +1 -1
  31. package/dist/src/components/Example/ExampleHookUseFilters.js +3 -10
  32. package/dist/src/components/Example/ExampleHookUseFilters.js.map +1 -1
  33. package/dist/src/components/Example/ExampleHookUseResults.d.ts +1 -1
  34. package/dist/src/components/Example/ExampleHookUseResults.js +3 -8
  35. package/dist/src/components/Example/ExampleHookUseResults.js.map +1 -1
  36. package/dist/src/components/Example/ExampleHookUseSearch.js +2 -2
  37. package/dist/src/components/Example/ExampleHookUseSearch.js.map +1 -1
  38. package/dist/src/components/Example/ExampleHookUseSortBy.js +2 -1
  39. package/dist/src/components/Example/ExampleHookUseSortBy.js.map +1 -1
  40. package/dist/src/components/Example/ExampleProductCardWeight.d.ts +1 -1
  41. package/dist/src/components/Example/ExampleProductCardWeight.js +14 -47
  42. package/dist/src/components/Example/ExampleProductCardWeight.js.map +1 -1
  43. package/dist/src/components/Example/ExampleReactiveSearchProviderCollection.d.ts +1 -1
  44. package/dist/src/components/Example/ExampleReactiveSearchProviderCollection.js +2 -6
  45. package/dist/src/components/Example/ExampleReactiveSearchProviderCollection.js.map +1 -1
  46. package/dist/src/components/Example/ExampleReactiveSearchProviderInstantSearch.d.ts +1 -1
  47. package/dist/src/components/Example/ExampleReactiveSearchProviderInstantSearch.js +2 -6
  48. package/dist/src/components/Example/ExampleReactiveSearchProviderInstantSearch.js.map +1 -1
  49. package/dist/src/components/Example/ExampleReactiveSearchProviderSearch.d.ts +1 -1
  50. package/dist/src/components/Example/ExampleReactiveSearchProviderSearch.js +2 -6
  51. package/dist/src/components/Example/ExampleReactiveSearchProviderSearch.js.map +1 -1
  52. package/dist/src/components/Example/ExampleResultCardCallout.d.ts +1 -1
  53. package/dist/src/components/Example/ExampleResultCardCallout.js +2 -4
  54. package/dist/src/components/Example/ExampleResultCardCallout.js.map +1 -1
  55. package/dist/src/components/Example/ExampleResultCardProduct.d.ts +2 -2
  56. package/dist/src/components/Example/ExampleResultCardProduct.js +2 -12
  57. package/dist/src/components/Example/ExampleResultCardProduct.js.map +1 -1
  58. package/dist/src/components/Example/ExampleResultPaginationInfiniteScroll.d.ts +2 -2
  59. package/dist/src/components/Example/ExampleResultPaginationInfiniteScroll.js +2 -5
  60. package/dist/src/components/Example/ExampleResultPaginationInfiniteScroll.js.map +1 -1
  61. package/dist/src/components/Example/ExampleResultPaginationLoadMore.d.ts +2 -2
  62. package/dist/src/components/Example/ExampleResultPaginationLoadMore.js +2 -5
  63. package/dist/src/components/Example/ExampleResultPaginationLoadMore.js.map +1 -1
  64. package/dist/src/components/Example/ExampleResultPaginationNextPrev.d.ts +2 -2
  65. package/dist/src/components/Example/ExampleResultPaginationNextPrev.js +2 -7
  66. package/dist/src/components/Example/ExampleResultPaginationNextPrev.js.map +1 -1
  67. package/dist/src/components/Example/ExampleResultPaginationNumbered.d.ts +2 -2
  68. package/dist/src/components/Example/ExampleResultPaginationNumbered.js +6 -20
  69. package/dist/src/components/Example/ExampleResultPaginationNumbered.js.map +1 -1
  70. package/dist/src/components/Example/ExampleResults.d.ts +1 -1
  71. package/dist/src/components/Example/ExampleResults.js +7 -10
  72. package/dist/src/components/Example/ExampleResults.js.map +1 -1
  73. package/dist/src/components/Example/ExampleSearch.d.ts +1 -1
  74. package/dist/src/components/Example/ExampleSearch.js +2 -2
  75. package/dist/src/components/Example/ExampleSearch.js.map +1 -1
  76. package/dist/src/components/Example/ExampleSortBy.d.ts +2 -2
  77. package/dist/src/components/Example/ExampleSortBy.js +2 -5
  78. package/dist/src/components/Example/ExampleSortBy.js.map +1 -1
  79. package/dist/src/components/Example/ExampleStats.d.ts +2 -2
  80. package/dist/src/components/Example/ExampleStats.js +2 -8
  81. package/dist/src/components/Example/ExampleStats.js.map +1 -1
  82. package/dist/src/components/Example/ExampleSuggestions.d.ts +2 -2
  83. package/dist/src/components/Example/ExampleSuggestions.js +2 -7
  84. package/dist/src/components/Example/ExampleSuggestions.js.map +1 -1
  85. package/dist/src/components/Example/index.d.ts +6 -6
  86. package/dist/src/components/Example/index.js +6 -6
  87. package/dist/src/components/Example/index.js.map +1 -1
  88. package/dist/src/components/Filter/Filter.d.ts +1 -1
  89. package/dist/src/components/Filter/Filter.js +30 -35
  90. package/dist/src/components/Filter/Filter.js.map +1 -1
  91. package/dist/src/components/Filter/Filters.d.ts +4 -4
  92. package/dist/src/components/Filter/Filters.js +3 -6
  93. package/dist/src/components/Filter/Filters.js.map +1 -1
  94. package/dist/src/components/Filter/FiltersSelected.d.ts +1 -1
  95. package/dist/src/components/Filter/FiltersSelected.js +4 -9
  96. package/dist/src/components/Filter/FiltersSelected.js.map +1 -1
  97. package/dist/src/components/ReactifySearchProvider/ReactifySearchProvider.d.ts +2 -2
  98. package/dist/src/components/ReactifySearchProvider/ReactifySearchProvider.js +20 -8
  99. package/dist/src/components/ReactifySearchProvider/ReactifySearchProvider.js.map +1 -1
  100. package/dist/src/components/Result/ResultCardCallout.d.ts +2 -2
  101. package/dist/src/components/Result/ResultCardCallout.js +3 -2
  102. package/dist/src/components/Result/ResultCardCallout.js.map +1 -1
  103. package/dist/src/components/Result/ResultCardProduct.d.ts +1 -1
  104. package/dist/src/components/Result/ResultCardProduct.js +4 -3
  105. package/dist/src/components/Result/ResultCardProduct.js.map +1 -1
  106. package/dist/src/components/Result/ResultPaginationInfiniteScroll.d.ts +3 -3
  107. package/dist/src/components/Result/ResultPaginationInfiniteScroll.js +3 -6
  108. package/dist/src/components/Result/ResultPaginationInfiniteScroll.js.map +1 -1
  109. package/dist/src/components/Result/ResultPaginationLoadMore.d.ts +3 -3
  110. package/dist/src/components/Result/ResultPaginationLoadMore.js +3 -6
  111. package/dist/src/components/Result/ResultPaginationLoadMore.js.map +1 -1
  112. package/dist/src/components/Result/ResultPaginationNextPrev.d.ts +3 -3
  113. package/dist/src/components/Result/ResultPaginationNextPrev.js +3 -6
  114. package/dist/src/components/Result/ResultPaginationNextPrev.js.map +1 -1
  115. package/dist/src/components/Result/ResultPaginationNumbered.d.ts +3 -3
  116. package/dist/src/components/Result/ResultPaginationNumbered.js +3 -6
  117. package/dist/src/components/Result/ResultPaginationNumbered.js.map +1 -1
  118. package/dist/src/components/Result/ResultStateProvider.d.ts +2 -2
  119. package/dist/src/components/Result/ResultStateProvider.js +3 -3
  120. package/dist/src/components/Result/ResultStateProvider.js.map +1 -1
  121. package/dist/src/components/Result/Results.d.ts +2 -2
  122. package/dist/src/components/Result/Results.js +50 -52
  123. package/dist/src/components/Result/Results.js.map +1 -1
  124. package/dist/src/components/Result/index.d.ts +4 -4
  125. package/dist/src/components/Result/index.js +4 -4
  126. package/dist/src/components/Result/index.js.map +1 -1
  127. package/dist/src/components/Search/Search.d.ts +1 -1
  128. package/dist/src/components/Search/Search.js +3 -6
  129. package/dist/src/components/Search/Search.js.map +1 -1
  130. package/dist/src/components/Sensor/SensorCollection.d.ts +1 -1
  131. package/dist/src/components/Sensor/SensorCollection.js +2 -2
  132. package/dist/src/components/Sensor/SensorCollection.js.map +1 -1
  133. package/dist/src/components/Sensor/SensorCustom.d.ts +1 -2
  134. package/dist/src/components/Sensor/SensorCustom.js +5 -6
  135. package/dist/src/components/Sensor/SensorCustom.js.map +1 -1
  136. package/dist/src/components/Sensor/SensorExplain.js +2 -2
  137. package/dist/src/components/Sensor/SensorExplain.js.map +1 -1
  138. package/dist/src/components/Sensor/SensorInventoryAvailable.d.ts +1 -1
  139. package/dist/src/components/Sensor/SensorInventoryAvailable.js +2 -2
  140. package/dist/src/components/Sensor/SensorInventoryAvailable.js.map +1 -1
  141. package/dist/src/components/Sensor/SensorPublished.d.ts +1 -1
  142. package/dist/src/components/Sensor/SensorPublished.js +2 -2
  143. package/dist/src/components/Sensor/SensorPublished.js.map +1 -1
  144. package/dist/src/components/Sensor/SensorSearchTerm.d.ts +1 -2
  145. package/dist/src/components/Sensor/SensorSearchTerm.js +19 -124
  146. package/dist/src/components/Sensor/SensorSearchTerm.js.map +1 -1
  147. package/dist/src/components/Sensor/SensorSort.d.ts +1 -1
  148. package/dist/src/components/Sensor/SensorSort.js +2 -2
  149. package/dist/src/components/Sensor/SensorSort.js.map +1 -1
  150. package/dist/src/components/Sensor/Sensors.d.ts +1 -3
  151. package/dist/src/components/Sensor/Sensors.js +13 -46
  152. package/dist/src/components/Sensor/Sensors.js.map +1 -1
  153. package/dist/src/components/Sensor/index.d.ts +7 -9
  154. package/dist/src/components/Sensor/index.js +6 -10
  155. package/dist/src/components/Sensor/index.js.map +1 -1
  156. package/dist/src/components/SortBy/SortBy.d.ts +1 -1
  157. package/dist/src/components/SortBy/SortBy.js +3 -6
  158. package/dist/src/components/SortBy/SortBy.js.map +1 -1
  159. package/dist/src/components/Stats/Stats.d.ts +2 -2
  160. package/dist/src/components/Stats/Stats.js +2 -5
  161. package/dist/src/components/Stats/Stats.js.map +1 -1
  162. package/dist/src/components/Suggestions/Suggestions.d.ts +1 -1
  163. package/dist/src/components/Suggestions/Suggestions.js +7 -8
  164. package/dist/src/components/Suggestions/Suggestions.js.map +1 -1
  165. package/dist/src/components/Utility/UtilityAuthenticatedReactiveBase.d.ts +1 -1
  166. package/dist/src/components/Utility/UtilityAuthenticatedReactiveBase.js +3 -3
  167. package/dist/src/components/Utility/UtilityAuthenticatedReactiveBase.js.map +1 -1
  168. package/dist/src/components/Utility/index.js.map +1 -1
  169. package/dist/src/components/index.d.ts +2 -2
  170. package/dist/src/components/index.js +2 -2
  171. package/dist/src/components/index.js.map +1 -1
  172. package/dist/src/hooks/index.d.ts +11 -11
  173. package/dist/src/hooks/index.js +11 -11
  174. package/dist/src/hooks/index.js.map +1 -1
  175. package/dist/src/hooks/react-slider/useReactSliderProps.d.ts +2 -2
  176. package/dist/src/hooks/react-slider/useReactSliderProps.js +6 -6
  177. package/dist/src/hooks/react-slider/useReactSliderProps.js.map +1 -1
  178. package/dist/src/hooks/reactivesearch/useReactiveBaseProps.d.ts +1 -1
  179. package/dist/src/hooks/reactivesearch/useReactiveBaseProps.js +2 -2
  180. package/dist/src/hooks/reactivesearch/useReactiveBaseProps.js.map +1 -1
  181. package/dist/src/hooks/useAnalytics.js.map +1 -1
  182. package/dist/src/hooks/useConfig.d.ts +1 -1
  183. package/dist/src/hooks/useConfig.js +1 -1
  184. package/dist/src/hooks/useConfig.js.map +1 -1
  185. package/dist/src/hooks/useCuration.d.ts +1 -1
  186. package/dist/src/hooks/useCuration.js +9 -25
  187. package/dist/src/hooks/useCuration.js.map +1 -1
  188. package/dist/src/hooks/useDebugger.js +3 -3
  189. package/dist/src/hooks/useDebugger.js.map +1 -1
  190. package/dist/src/hooks/useFilterCollapsedState.d.ts +1 -1
  191. package/dist/src/hooks/useFilterCollapsedState.js.map +1 -1
  192. package/dist/src/hooks/useFilterListProps.d.ts +2 -2
  193. package/dist/src/hooks/useFilterListProps.js +7 -11
  194. package/dist/src/hooks/useFilterListProps.js.map +1 -1
  195. package/dist/src/hooks/useFilterRangeProps.d.ts +1 -1
  196. package/dist/src/hooks/useFilterRangeProps.js +11 -14
  197. package/dist/src/hooks/useFilterRangeProps.js.map +1 -1
  198. package/dist/src/hooks/useFilterSliderProps.d.ts +1 -1
  199. package/dist/src/hooks/useFilterSliderProps.js +10 -9
  200. package/dist/src/hooks/useFilterSliderProps.js.map +1 -1
  201. package/dist/src/hooks/useFilters.d.ts +1 -1
  202. package/dist/src/hooks/useFilters.js +4 -7
  203. package/dist/src/hooks/useFilters.js.map +1 -1
  204. package/dist/src/hooks/useIndices.js +2 -2
  205. package/dist/src/hooks/useIndices.js.map +1 -1
  206. package/dist/src/hooks/usePagination.d.ts +1 -1
  207. package/dist/src/hooks/usePagination.js +6 -14
  208. package/dist/src/hooks/usePagination.js.map +1 -1
  209. package/dist/src/hooks/usePaginationLoadable.d.ts +1 -1
  210. package/dist/src/hooks/usePaginationLoadable.js +3 -5
  211. package/dist/src/hooks/usePaginationLoadable.js.map +1 -1
  212. package/dist/src/hooks/useProductPrice.d.ts +1 -1
  213. package/dist/src/hooks/useProductPrice.js +3 -1
  214. package/dist/src/hooks/useProductPrice.js.map +1 -1
  215. package/dist/src/hooks/useReactifySearchContext.d.ts +1 -1
  216. package/dist/src/hooks/useReactifySearchContext.js.map +1 -1
  217. package/dist/src/hooks/useResults.d.ts +1 -1
  218. package/dist/src/hooks/useResults.js +4 -4
  219. package/dist/src/hooks/useResults.js.map +1 -1
  220. package/dist/src/hooks/useSearch.d.ts +1 -1
  221. package/dist/src/hooks/useSearch.js +8 -9
  222. package/dist/src/hooks/useSearch.js.map +1 -1
  223. package/dist/src/hooks/useSortBy.d.ts +1 -1
  224. package/dist/src/hooks/useSortBy.js +1 -1
  225. package/dist/src/hooks/useSortBy.js.map +1 -1
  226. package/dist/src/index.js.map +1 -1
  227. package/dist/src/search-request-builder/base-builders.d.ts +18 -0
  228. package/dist/src/search-request-builder/base-builders.js +184 -0
  229. package/dist/src/search-request-builder/base-builders.js.map +1 -0
  230. package/dist/src/search-request-builder/curation-builders.d.ts +2 -0
  231. package/dist/src/search-request-builder/curation-builders.js +44 -0
  232. package/dist/src/search-request-builder/curation-builders.js.map +1 -0
  233. package/dist/src/search-request-builder/index.d.ts +3 -0
  234. package/dist/src/search-request-builder/index.js +12 -0
  235. package/dist/src/search-request-builder/index.js.map +1 -0
  236. package/dist/src/search-request-builder/search-request-builder.d.ts +3 -0
  237. package/dist/src/search-request-builder/search-request-builder.js +54 -0
  238. package/dist/src/search-request-builder/search-request-builder.js.map +1 -0
  239. package/dist/src/search-request-builder/types.d.ts +105 -0
  240. package/dist/src/search-request-builder/types.js +30 -0
  241. package/dist/src/search-request-builder/types.js.map +1 -0
  242. package/dist/src/search-request-builder/utils.d.ts +27 -0
  243. package/dist/src/search-request-builder/utils.js +144 -0
  244. package/dist/src/search-request-builder/utils.js.map +1 -0
  245. package/dist/src/types/config.d.ts +1 -1
  246. package/dist/src/types/config.js.map +1 -1
  247. package/dist/src/types/elastic.d.ts +8 -11
  248. package/dist/src/types/elastic.js.map +1 -1
  249. package/dist/src/types/firestore.d.ts +5 -5
  250. package/dist/src/types/firestore.js.map +1 -1
  251. package/dist/src/types/index.js.map +1 -1
  252. package/dist/src/types/reactivesearch.d.ts +1 -1
  253. package/dist/src/types/reactivesearch.js.map +1 -1
  254. package/dist/src/types/shopify.d.ts +1 -1
  255. package/dist/src/types/shopify.js.map +1 -1
  256. package/dist/src/utility/config.d.ts +1 -1
  257. package/dist/src/utility/config.js +1 -1
  258. package/dist/src/utility/config.js.map +1 -1
  259. package/dist/src/utility/curation.d.ts +2 -2
  260. package/dist/src/utility/curation.js +1 -1
  261. package/dist/src/utility/curation.js.map +1 -1
  262. package/dist/src/utility/debug.js +1 -1
  263. package/dist/src/utility/debug.js.map +1 -1
  264. package/dist/src/utility/filters.d.ts +2 -2
  265. package/dist/src/utility/filters.js.map +1 -1
  266. package/dist/src/utility/liquid.d.ts +2 -2
  267. package/dist/src/utility/liquid.js +2 -5
  268. package/dist/src/utility/liquid.js.map +1 -1
  269. package/dist/src/utility/props.d.ts +7 -226
  270. package/dist/src/utility/props.js +61 -108
  271. package/dist/src/utility/props.js.map +1 -1
  272. package/dist/src/utility/server.d.ts +1 -1
  273. package/dist/src/utility/server.js +3 -3
  274. package/dist/src/utility/server.js.map +1 -1
  275. package/dist/src/utility/sortOption.d.ts +2 -2
  276. package/dist/src/utility/sortOption.js.map +1 -1
  277. package/package.json +7 -5
  278. package/dist/src/components/Sensor/SensorCollectionWeighted.d.ts +0 -1
  279. package/dist/src/components/Sensor/SensorCollectionWeighted.js +0 -21
  280. package/dist/src/components/Sensor/SensorCollectionWeighted.js.map +0 -1
  281. package/dist/src/components/Sensor/SensorSearchWeighted.d.ts +0 -1
  282. package/dist/src/components/Sensor/SensorSearchWeighted.js +0 -22
  283. package/dist/src/components/Sensor/SensorSearchWeighted.js.map +0 -1
  284. package/dist/src/utility/queries.d.ts +0 -393
  285. package/dist/src/utility/queries.js +0 -197
  286. package/dist/src/utility/queries.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResultCardProduct.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultCardProduct.tsx"],"names":[],"mappings":";;;;;AAOA,4DAwBC;AA/BD,kDAA0B;AAG1B,yEAAsE;AAItE,SAAgB,wBAAwB,CAAC,KAAoC;IAC3E,OAAO,CACL,uCAAK,GAAG,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAC,yBAAyB,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE;QAC1F,uCAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE;YACnE,8BAAC,mDAAwB,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAClD;QACN,qCACE,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,KAAK,CAAC,WAAW,EAC1B,IAAI,EAAE,aAAa,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE;YAExC,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CACtB,uCAAK,SAAS,EAAC,gCAAgC,EAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,GAAG,CACzG;YACD,wCAAM,SAAS,EAAC,gCAAgC,IAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAQ,CAC3E;QACJ,wCAAM,SAAS,EAAC,gCAAgC,IAAE,KAAK,CAAC,cAAc,CAAQ;QAC7E,KAAK,CAAC,MAAM,IAAI,CACf,wCAAM,SAAS,EAAC,qCAAqC,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,IAC5F,KAAK,CAAC,uBAAuB,CACzB,CACR,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["import React from \"react\";\n\nimport { ResultCardProductProps } from \"../../components\";\nimport { ExampleProductCardWeight } from \"./ExampleProductCardWeight\";\n\nexport type ExampleResultCardProductProps = React.ComponentProps<NonNullable<ResultCardProductProps[\"render\"]>>;\n\nexport function ExampleResultCardProduct(props: ExampleResultCardProductProps) {\n return (\n <div ref={props.itemRef} className=\"rs__result-card-product\" style={{ position: \"relative\" }}>\n <div style={{ position: \"absolute\", right: \"0\", top: \"0\", zIndex: 1 }}>\n <ExampleProductCardWeight document={props.document} />\n </div>\n <a\n className=\"rs__result-card-product__link\"\n onClick={props.handleClick}\n href={`/products/${props.product.handle}`}\n >\n {props.product.image && (\n <img className=\"rs__result-card-product__image\" src={props.product.image} width=\"100%\" height=\"190px\" />\n )}\n <span className=\"rs__result-card-product__title\">{props.product.title}</span>\n </a>\n <span className=\"rs__result-card-product__price\">{props.formattedPrice}</span>\n {props.onSale && (\n <span className=\"rs__result-card-product__price-sale\" style={{ textDecoration: \"line-through\" }}>\n {props.formattedCompareAtPrice}\n </span>\n )}\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"ExampleResultCardProduct.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultCardProduct.tsx"],"names":[],"mappings":";;AAMA,4DA8BC;;AAnCD,yEAAsE;AAKtE,SAAgB,wBAAwB,CAAC,KAAoC;IAC3E,OAAO,CACL,iCAAK,SAAS,EAAC,yBAAyB,EAAC,GAAG,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,aAC1F,gCAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,YACnE,uBAAC,mDAAwB,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,GAClD,EACN,+BACE,SAAS,EAAC,+BAA+B,EACzC,IAAI,EAAE,aAAa,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,EACzC,OAAO,EAAE,KAAK,CAAC,WAAW,aAEzB,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CACtB,gCACE,GAAG,EAAC,EAAE,EACN,SAAS,EAAC,gCAAgC,EAC1C,MAAM,EAAC,OAAO,EACd,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,EACxB,KAAK,EAAC,MAAM,GACZ,CACH,EACD,iCAAM,SAAS,EAAC,gCAAgC,YAAE,KAAK,CAAC,OAAO,CAAC,KAAK,GAAQ,IAC3E,EACJ,iCAAM,SAAS,EAAC,gCAAgC,YAAE,KAAK,CAAC,cAAc,GAAQ,EAC7E,KAAK,CAAC,MAAM,IAAI,CACf,iCAAM,SAAS,EAAC,qCAAqC,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,YAC5F,KAAK,CAAC,uBAAuB,GACzB,CACR,IACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["import type React from \"react\";\nimport { ExampleProductCardWeight } from \"./ExampleProductCardWeight\";\nimport type { ResultCardProductProps } from \"../../components\";\n\nexport type ExampleResultCardProductProps = React.ComponentProps<NonNullable<ResultCardProductProps[\"render\"]>>;\n\nexport function ExampleResultCardProduct(props: ExampleResultCardProductProps) {\n return (\n <div className=\"rs__result-card-product\" ref={props.itemRef} style={{ position: \"relative\" }}>\n <div style={{ position: \"absolute\", right: \"0\", top: \"0\", zIndex: 1 }}>\n <ExampleProductCardWeight document={props.document} />\n </div>\n <a\n className=\"rs__result-card-product__link\"\n href={`/products/${props.product.handle}`}\n onClick={props.handleClick}\n >\n {props.product.image && (\n <img\n alt=\"\"\n className=\"rs__result-card-product__image\"\n height=\"190px\"\n src={props.product.image}\n width=\"100%\"\n />\n )}\n <span className=\"rs__result-card-product__title\">{props.product.title}</span>\n </a>\n <span className=\"rs__result-card-product__price\">{props.formattedPrice}</span>\n {props.onSale && (\n <span className=\"rs__result-card-product__price-sale\" style={{ textDecoration: \"line-through\" }}>\n {props.formattedCompareAtPrice}\n </span>\n )}\n </div>\n );\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ResultPaginationInfiniteScrollProps } from "../../components";
1
+ import type React from "react";
2
+ import type { ResultPaginationInfiniteScrollProps } from "../../components";
3
3
  export type ExampleResultPaginationInfiniteScrollProps = React.ComponentProps<NonNullable<ResultPaginationInfiniteScrollProps["render"]>>;
4
4
  export declare const ExampleResultPaginationInfiniteScroll: React.FC<ExampleResultPaginationInfiniteScrollProps>;
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleResultPaginationInfiniteScroll = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleResultPaginationInfiniteScroll = (props) => {
9
6
  if (props.loading) {
10
- return (react_1.default.createElement("div", { className: "rs__pagination__infinitescroll-loading" }, "Loading..."));
7
+ return (0, jsx_runtime_1.jsx)("div", { className: "rs__pagination__infinitescroll-loading", children: "Loading..." });
11
8
  }
12
9
  return null;
13
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResultPaginationInfiniteScroll.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationInfiniteScroll.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,qCAAqC,GAChD,CAAC,KAAK,EAAE,EAAE;IACR,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,CACL,uCAAK,SAAS,EAAC,wCAAwC,IACpD,YAAY,CACT,CACP,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAVS,QAAA,qCAAqC,yCAU9C","sourcesContent":["import React from \"react\";\n\nimport { ResultPaginationInfiniteScrollProps } from \"../../components\";\n\nexport type ExampleResultPaginationInfiniteScrollProps = React.ComponentProps<\n NonNullable<ResultPaginationInfiniteScrollProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationInfiniteScroll: React.FC<ExampleResultPaginationInfiniteScrollProps> =\n (props) => {\n if (props.loading) {\n return (\n <div className=\"rs__pagination__infinitescroll-loading\">\n {\"Loading...\"}\n </div>\n );\n }\n return null;\n };\n"]}
1
+ {"version":3,"file":"ExampleResultPaginationInfiniteScroll.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationInfiniteScroll.tsx"],"names":[],"mappings":";;;;AAOO,MAAM,qCAAqC,GAAyD,CAAC,KAAK,EAAE,EAAE;IACnH,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,gCAAK,SAAS,EAAC,wCAAwC,YAAE,YAAY,GAAO,CAAC;IACtF,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AALW,QAAA,qCAAqC,yCAKhD","sourcesContent":["import type React from \"react\";\nimport type { ResultPaginationInfiniteScrollProps } from \"../../components\";\n\nexport type ExampleResultPaginationInfiniteScrollProps = React.ComponentProps<\n NonNullable<ResultPaginationInfiniteScrollProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationInfiniteScroll: React.FC<ExampleResultPaginationInfiniteScrollProps> = (props) => {\n if (props.loading) {\n return <div className=\"rs__pagination__infinitescroll-loading\">{\"Loading...\"}</div>;\n }\n return null;\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ResultPaginationLoadMoreProps } from "../../components";
1
+ import type React from "react";
2
+ import type { ResultPaginationLoadMoreProps } from "../../components";
3
3
  export type ExampleResultPaginationLoadMoreProps = React.ComponentProps<NonNullable<ResultPaginationLoadMoreProps["render"]>>;
4
4
  export declare const ExampleResultPaginationLoadMore: React.FC<ExampleResultPaginationLoadMoreProps>;
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleResultPaginationLoadMore = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleResultPaginationLoadMore = (props) => {
9
- return (react_1.default.createElement("button", { className: "rs__pagination__loadmore-button", onClick: () => props.handleLoadMore(), disabled: !props.hasMore }, "Load more"));
6
+ return ((0, jsx_runtime_1.jsx)("button", { className: "rs__pagination__loadmore-button", disabled: !props.hasMore, onClick: () => props.handleLoadMore(), type: "button", children: "Load more" }));
10
7
  };
11
8
  exports.ExampleResultPaginationLoadMore = ExampleResultPaginationLoadMore;
12
9
  //# sourceMappingURL=ExampleResultPaginationLoadMore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResultPaginationLoadMore.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationLoadMore.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,+BAA+B,GAC1C,CAAC,KAAK,EAAE,EAAE;IACR,OAAO,CACL,0CACE,SAAS,EAAC,iCAAiC,EAC3C,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,EACrC,QAAQ,EAAE,CAAC,KAAK,CAAC,OAAO,IAEvB,WAAW,CACL,CACV,CAAC;AACJ,CAAC,CAAC;AAXS,QAAA,+BAA+B,mCAWxC","sourcesContent":["import React from \"react\";\n\nimport { ResultPaginationLoadMoreProps } from \"../../components\";\n\nexport type ExampleResultPaginationLoadMoreProps = React.ComponentProps<\n NonNullable<ResultPaginationLoadMoreProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationLoadMore: React.FC<ExampleResultPaginationLoadMoreProps> =\n (props) => {\n return (\n <button\n className=\"rs__pagination__loadmore-button\"\n onClick={() => props.handleLoadMore()}\n disabled={!props.hasMore}\n >\n {\"Load more\"}\n </button>\n );\n };\n"]}
1
+ {"version":3,"file":"ExampleResultPaginationLoadMore.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationLoadMore.tsx"],"names":[],"mappings":";;;;AAOO,MAAM,+BAA+B,GAAmD,CAAC,KAAK,EAAE,EAAE;IACvG,OAAO,CACL,mCACE,SAAS,EAAC,iCAAiC,EAC3C,QAAQ,EAAE,CAAC,KAAK,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,EACrC,IAAI,EAAC,QAAQ,YAEZ,WAAW,GACL,CACV,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,+BAA+B,mCAW1C","sourcesContent":["import type React from \"react\";\nimport type { ResultPaginationLoadMoreProps } from \"../../components\";\n\nexport type ExampleResultPaginationLoadMoreProps = React.ComponentProps<\n NonNullable<ResultPaginationLoadMoreProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationLoadMore: React.FC<ExampleResultPaginationLoadMoreProps> = (props) => {\n return (\n <button\n className=\"rs__pagination__loadmore-button\"\n disabled={!props.hasMore}\n onClick={() => props.handleLoadMore()}\n type=\"button\"\n >\n {\"Load more\"}\n </button>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ResultPaginationNextPrevProps } from "../../components";
1
+ import type React from "react";
2
+ import type { ResultPaginationNextPrevProps } from "../../components";
3
3
  export type ExampleResultPaginationNextPrevProps = React.ComponentProps<NonNullable<ResultPaginationNextPrevProps["render"]>>;
4
4
  export declare const ExampleResultPaginationNextPrev: React.FC<ExampleResultPaginationNextPrevProps>;
@@ -1,14 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleResultPaginationNextPrev = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleResultPaginationNextPrev = (props) => {
9
- return (react_1.default.createElement("nav", { className: "rs__pagination__nav" },
10
- props.hasPreviousPage && (react_1.default.createElement("a", { className: "rs__pagination__prev-link", rel: "prev", onClick: props.handlePreviousPage, href: props.buildPagePath(props.actualCurrentPage - 1) }, "Prev")),
11
- props.hasNextPage && (react_1.default.createElement("a", { className: "rs__pagination__next-link", rel: "next", onClick: props.handleNextPage, href: props.buildPagePath(props.actualCurrentPage + 1) }, "Next"))));
6
+ return ((0, jsx_runtime_1.jsxs)("nav", { className: "rs__pagination__nav", children: [props.hasPreviousPage && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__prev-link", href: props.buildPagePath(props.actualCurrentPage - 1), onClick: props.handlePreviousPage, rel: "prev", children: "Prev" })), props.hasNextPage && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__next-link", href: props.buildPagePath(props.actualCurrentPage + 1), onClick: props.handleNextPage, rel: "next", children: "Next" }))] }));
12
7
  };
13
8
  exports.ExampleResultPaginationNextPrev = ExampleResultPaginationNextPrev;
14
9
  //# sourceMappingURL=ExampleResultPaginationNextPrev.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResultPaginationNextPrev.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationNextPrev.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,+BAA+B,GAC1C,CAAC,KAAK,EAAE,EAAE;IACR,OAAO,CACL,uCAAK,SAAS,EAAC,qBAAqB;QACjC,KAAK,CAAC,eAAe,IAAI,CACxB,qCACE,SAAS,EAAC,2BAA2B,EACrC,GAAG,EAAC,MAAM,EACV,OAAO,EAAE,KAAK,CAAC,kBAAkB,EACjC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,IAErD,MAAM,CACL,CACL;QACA,KAAK,CAAC,WAAW,IAAI,CACpB,qCACE,SAAS,EAAC,2BAA2B,EACrC,GAAG,EAAC,MAAM,EACV,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,IAErD,MAAM,CACL,CACL,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AA1BS,QAAA,+BAA+B,mCA0BxC","sourcesContent":["import React from \"react\";\n\nimport { ResultPaginationNextPrevProps } from \"../../components\";\n\nexport type ExampleResultPaginationNextPrevProps = React.ComponentProps<\n NonNullable<ResultPaginationNextPrevProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationNextPrev: React.FC<ExampleResultPaginationNextPrevProps> =\n (props) => {\n return (\n <nav className=\"rs__pagination__nav\">\n {props.hasPreviousPage && (\n <a\n className=\"rs__pagination__prev-link\"\n rel=\"prev\"\n onClick={props.handlePreviousPage}\n href={props.buildPagePath(props.actualCurrentPage - 1)}\n >\n {\"Prev\"}\n </a>\n )}\n {props.hasNextPage && (\n <a\n className=\"rs__pagination__next-link\"\n rel=\"next\"\n onClick={props.handleNextPage}\n href={props.buildPagePath(props.actualCurrentPage + 1)}\n >\n {\"Next\"}\n </a>\n )}\n </nav>\n );\n };\n"]}
1
+ {"version":3,"file":"ExampleResultPaginationNextPrev.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationNextPrev.tsx"],"names":[],"mappings":";;;;AAOO,MAAM,+BAA+B,GAAmD,CAAC,KAAK,EAAE,EAAE;IACvG,OAAO,CACL,iCAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,CAAC,eAAe,IAAI,CACxB,8BACE,SAAS,EAAC,2BAA2B,EACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,EACtD,OAAO,EAAE,KAAK,CAAC,kBAAkB,EACjC,GAAG,EAAC,MAAM,YAET,MAAM,GACL,CACL,EACA,KAAK,CAAC,WAAW,IAAI,CACpB,8BACE,SAAS,EAAC,2BAA2B,EACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,EACtD,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,GAAG,EAAC,MAAM,YAET,MAAM,GACL,CACL,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,+BAA+B,mCAyB1C","sourcesContent":["import type React from \"react\";\nimport type { ResultPaginationNextPrevProps } from \"../../components\";\n\nexport type ExampleResultPaginationNextPrevProps = React.ComponentProps<\n NonNullable<ResultPaginationNextPrevProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationNextPrev: React.FC<ExampleResultPaginationNextPrevProps> = (props) => {\n return (\n <nav className=\"rs__pagination__nav\">\n {props.hasPreviousPage && (\n <a\n className=\"rs__pagination__prev-link\"\n href={props.buildPagePath(props.actualCurrentPage - 1)}\n onClick={props.handlePreviousPage}\n rel=\"prev\"\n >\n {\"Prev\"}\n </a>\n )}\n {props.hasNextPage && (\n <a\n className=\"rs__pagination__next-link\"\n href={props.buildPagePath(props.actualCurrentPage + 1)}\n onClick={props.handleNextPage}\n rel=\"next\"\n >\n {\"Next\"}\n </a>\n )}\n </nav>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ResultPaginationNumberedProps } from "../../components";
1
+ import type React from "react";
2
+ import type { ResultPaginationNumberedProps } from "../../components";
3
3
  export type ExampleResultPaginationNumberedProps = React.ComponentProps<NonNullable<ResultPaginationNumberedProps["render"]>>;
4
4
  export declare const ExampleResultPaginationNumbered: React.FC<ExampleResultPaginationNumberedProps>;
@@ -1,27 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleResultPaginationNumbered = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleResultPaginationNumbered = (props) => {
9
- return (react_1.default.createElement("nav", { className: "rs__pagination__nav" },
10
- props.currentPage > 0 && (react_1.default.createElement("a", { className: "rs__pagination__prev-link", rel: "prev", href: props.buildPagePath(props.currentPage), onClick: (event) => props.handlePreviousPage(event) }, "Prev")),
11
- !props.pagesToShow.includes(0) && (react_1.default.createElement("a", { className: "rs__pagination__pagenumber-link", href: props.buildPagePath(1), onClick: (event) => props.handlePageChange(0, event), rel: 0 === props.currentPage - 1 ? `prev` : undefined }, "1")),
12
- !props.pagesToShow.includes(1) && react_1.default.createElement("span", null, "..."),
13
- props.pagesToShow.map((page) => page === props.currentPage ? (react_1.default.createElement("span", { className: "rs__pagination__pagenumber-active", key: page + 1 }, page + 1)) : (react_1.default.createElement("a", { className: "rs__pagination__pagenumber-link", key: page + 1, href: props.buildPagePath(page + 1), onClick: (event) => props.handlePageChange(page, event), rel: page === props.currentPage + 1
14
- ? `next`
15
- : page === props.currentPage - 1
16
- ? `prev`
17
- : undefined }, page + 1))),
18
- !props.pagesToShow.includes(props.totalPages - 2) && react_1.default.createElement("span", null, "..."),
19
- !props.pagesToShow.includes(props.totalPages - 1) && (react_1.default.createElement("a", { className: "rs__pagination__pagenumber-link", href: props.buildPagePath(props.totalPages), onClick: (event) => props.handlePageChange(props.totalPages - 1, event), rel: props.totalPages - 1 === props.currentPage + 1
20
- ? `next`
21
- : props.totalPages - 1 === props.currentPage - 1
22
- ? `prev`
23
- : undefined }, props.totalPages)),
24
- props.currentPage + 1 < props.totalPages && (react_1.default.createElement("a", { className: "rs__pagination__next-link", rel: "next", href: props.buildPagePath(props.currentPage + 2), onClick: (event) => props.handleNextPage(event) }, "Next"))));
6
+ return ((0, jsx_runtime_1.jsxs)("nav", { className: "rs__pagination__nav", children: [props.currentPage > 0 && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__prev-link", href: props.buildPagePath(props.currentPage), onClick: (event) => props.handlePreviousPage(event), rel: "prev", children: "Prev" })), !props.pagesToShow.includes(0) && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__pagenumber-link", href: props.buildPagePath(1), onClick: (event) => props.handlePageChange(0, event), rel: 0 === props.currentPage - 1 ? `prev` : undefined, children: "1" })), !props.pagesToShow.includes(1) && (0, jsx_runtime_1.jsx)("span", { children: "..." }), props.pagesToShow.map((page) => page === props.currentPage ? ((0, jsx_runtime_1.jsx)("span", { className: "rs__pagination__pagenumber-active", children: page + 1 }, page + 1)) : ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__pagenumber-link", href: props.buildPagePath(page + 1), onClick: (event) => props.handlePageChange(page, event), rel: page === props.currentPage + 1 ? `next` : page === props.currentPage - 1 ? `prev` : undefined, children: page + 1 }, page + 1))), !props.pagesToShow.includes(props.totalPages - 2) && (0, jsx_runtime_1.jsx)("span", { children: "..." }), !props.pagesToShow.includes(props.totalPages - 1) && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__pagenumber-link", href: props.buildPagePath(props.totalPages), onClick: (event) => props.handlePageChange(props.totalPages - 1, event), rel: props.totalPages - 1 === props.currentPage + 1
7
+ ? `next`
8
+ : props.totalPages - 1 === props.currentPage - 1
9
+ ? `prev`
10
+ : undefined, children: props.totalPages })), props.currentPage + 1 < props.totalPages && ((0, jsx_runtime_1.jsx)("a", { className: "rs__pagination__next-link", href: props.buildPagePath(props.currentPage + 2), onClick: (event) => props.handleNextPage(event), rel: "next", children: "Next" }))] }));
25
11
  };
26
12
  exports.ExampleResultPaginationNumbered = ExampleResultPaginationNumbered;
27
13
  //# sourceMappingURL=ExampleResultPaginationNumbered.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResultPaginationNumbered.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationNumbered.tsx"],"names":[],"mappings":"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","sourcesContent":["import React from \"react\";\n\nimport { ResultPaginationNumberedProps } from \"../../components\";\n\nexport type ExampleResultPaginationNumberedProps = React.ComponentProps<\n NonNullable<ResultPaginationNumberedProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationNumbered: React.FC<ExampleResultPaginationNumberedProps> =\n (props) => {\n return (\n <nav className=\"rs__pagination__nav\">\n {props.currentPage > 0 && (\n <a\n className=\"rs__pagination__prev-link\"\n rel=\"prev\"\n href={props.buildPagePath(props.currentPage)}\n onClick={(event) => props.handlePreviousPage(event)}\n >\n {\"Prev\"}\n </a>\n )}\n {!props.pagesToShow.includes(0) && (\n <a\n className=\"rs__pagination__pagenumber-link\"\n href={props.buildPagePath(1)}\n onClick={(event) => props.handlePageChange(0, event)}\n rel={0 === props.currentPage - 1 ? `prev` : undefined}\n >\n {\"1\"}\n </a>\n )}\n {!props.pagesToShow.includes(1) && <span>...</span>}\n {props.pagesToShow.map((page) =>\n page === props.currentPage ? (\n <span className=\"rs__pagination__pagenumber-active\" key={page + 1}>\n {page + 1}\n </span>\n ) : (\n <a\n className=\"rs__pagination__pagenumber-link\"\n key={page + 1}\n href={props.buildPagePath(page + 1)}\n onClick={(event) => props.handlePageChange(page, event)}\n rel={\n page === props.currentPage + 1\n ? `next`\n : page === props.currentPage - 1\n ? `prev`\n : undefined\n }\n >\n {page + 1}\n </a>\n )\n )}\n {!props.pagesToShow.includes(props.totalPages - 2) && <span>...</span>}\n {!props.pagesToShow.includes(props.totalPages - 1) && (\n <a\n className=\"rs__pagination__pagenumber-link\"\n href={props.buildPagePath(props.totalPages)}\n onClick={(event) =>\n props.handlePageChange(props.totalPages - 1, event)\n }\n rel={\n props.totalPages - 1 === props.currentPage + 1\n ? `next`\n : props.totalPages - 1 === props.currentPage - 1\n ? `prev`\n : undefined\n }\n >\n {props.totalPages}\n </a>\n )}\n {props.currentPage + 1 < props.totalPages && (\n <a\n className=\"rs__pagination__next-link\"\n rel=\"next\"\n href={props.buildPagePath(props.currentPage + 2)}\n onClick={(event) => props.handleNextPage(event)}\n >\n {\"Next\"}\n </a>\n )}\n </nav>\n );\n };\n"]}
1
+ {"version":3,"file":"ExampleResultPaginationNumbered.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResultPaginationNumbered.tsx"],"names":[],"mappings":"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","sourcesContent":["import type React from \"react\";\nimport type { ResultPaginationNumberedProps } from \"../../components\";\n\nexport type ExampleResultPaginationNumberedProps = React.ComponentProps<\n NonNullable<ResultPaginationNumberedProps[\"render\"]>\n>;\n\nexport const ExampleResultPaginationNumbered: React.FC<ExampleResultPaginationNumberedProps> = (props) => {\n return (\n <nav className=\"rs__pagination__nav\">\n {props.currentPage > 0 && (\n <a\n className=\"rs__pagination__prev-link\"\n href={props.buildPagePath(props.currentPage)}\n onClick={(event) => props.handlePreviousPage(event)}\n rel=\"prev\"\n >\n {\"Prev\"}\n </a>\n )}\n {!props.pagesToShow.includes(0) && (\n <a\n className=\"rs__pagination__pagenumber-link\"\n href={props.buildPagePath(1)}\n onClick={(event) => props.handlePageChange(0, event)}\n rel={0 === props.currentPage - 1 ? `prev` : undefined}\n >\n {\"1\"}\n </a>\n )}\n {!props.pagesToShow.includes(1) && <span>...</span>}\n {props.pagesToShow.map((page) =>\n page === props.currentPage ? (\n <span className=\"rs__pagination__pagenumber-active\" key={page + 1}>\n {page + 1}\n </span>\n ) : (\n <a\n className=\"rs__pagination__pagenumber-link\"\n href={props.buildPagePath(page + 1)}\n key={page + 1}\n onClick={(event) => props.handlePageChange(page, event)}\n rel={page === props.currentPage + 1 ? `next` : page === props.currentPage - 1 ? `prev` : undefined}\n >\n {page + 1}\n </a>\n )\n )}\n {!props.pagesToShow.includes(props.totalPages - 2) && <span>...</span>}\n {!props.pagesToShow.includes(props.totalPages - 1) && (\n <a\n className=\"rs__pagination__pagenumber-link\"\n href={props.buildPagePath(props.totalPages)}\n onClick={(event) => props.handlePageChange(props.totalPages - 1, event)}\n rel={\n props.totalPages - 1 === props.currentPage + 1\n ? `next`\n : props.totalPages - 1 === props.currentPage - 1\n ? `prev`\n : undefined\n }\n >\n {props.totalPages}\n </a>\n )}\n {props.currentPage + 1 < props.totalPages && (\n <a\n className=\"rs__pagination__next-link\"\n href={props.buildPagePath(props.currentPage + 2)}\n onClick={(event) => props.handleNextPage(event)}\n rel=\"next\"\n >\n {\"Next\"}\n </a>\n )}\n </nav>\n );\n};\n"]}
@@ -1,2 +1,2 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
  export declare const Component: React.FC;
@@ -1,23 +1,20 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.Component = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const components_1 = require("../../components");
9
- const ExampleResultCardProduct_1 = require("./ExampleResultCardProduct");
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
10
5
  const ExampleResultCardCallout_1 = require("./ExampleResultCardCallout");
11
- const ExampleResultPaginationNumbered_1 = require("./ExampleResultPaginationNumbered");
12
- const ExampleResultPaginationLoadMore_1 = require("./ExampleResultPaginationLoadMore");
6
+ const ExampleResultCardProduct_1 = require("./ExampleResultCardProduct");
13
7
  const ExampleResultPaginationInfiniteScroll_1 = require("./ExampleResultPaginationInfiniteScroll");
8
+ const ExampleResultPaginationLoadMore_1 = require("./ExampleResultPaginationLoadMore");
14
9
  const ExampleResultPaginationNextPrev_1 = require("./ExampleResultPaginationNextPrev");
10
+ const ExampleResultPaginationNumbered_1 = require("./ExampleResultPaginationNumbered");
11
+ const components_1 = require("../../components");
15
12
  const Component = () => {
16
- return (react_1.default.createElement(components_1.Results, { listStyle: {
13
+ return ((0, jsx_runtime_1.jsx)(components_1.Results, { listStyle: {
17
14
  display: "grid",
18
15
  gap: "10px",
19
16
  gridTemplateColumns: "repeat(4, minmax(0, 1fr))",
20
- }, renderResultCardProduct: ExampleResultCardProduct_1.ExampleResultCardProduct, renderResultCardCallout: ExampleResultCardCallout_1.ExampleResultCardCallout, renderPaginationNumbered: ExampleResultPaginationNumbered_1.ExampleResultPaginationNumbered, renderPaginationLoadMore: ExampleResultPaginationLoadMore_1.ExampleResultPaginationLoadMore, renderPaginationNextPrev: ExampleResultPaginationNextPrev_1.ExampleResultPaginationNextPrev, renderPaginationInfiniteScroll: ExampleResultPaginationInfiniteScroll_1.ExampleResultPaginationInfiniteScroll }));
17
+ }, renderPaginationInfiniteScroll: ExampleResultPaginationInfiniteScroll_1.ExampleResultPaginationInfiniteScroll, renderPaginationLoadMore: ExampleResultPaginationLoadMore_1.ExampleResultPaginationLoadMore, renderPaginationNextPrev: ExampleResultPaginationNextPrev_1.ExampleResultPaginationNextPrev, renderPaginationNumbered: ExampleResultPaginationNumbered_1.ExampleResultPaginationNumbered, renderResultCardCallout: ExampleResultCardCallout_1.ExampleResultCardCallout, renderResultCardProduct: ExampleResultCardProduct_1.ExampleResultCardProduct }));
21
18
  };
22
19
  exports.Component = Component;
23
20
  //# sourceMappingURL=ExampleResults.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResults.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResults.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,iDAA2C;AAE3C,yEAAsE;AACtE,yEAAsE;AACtE,uFAAoF;AACpF,uFAAoF;AACpF,mGAAgG;AAChG,uFAAoF;AAE7E,MAAM,SAAS,GAAa,GAAG,EAAE;IACtC,OAAO,CACL,8BAAC,oBAAO,IACN,SAAS,EAAE;YACT,OAAO,EAAE,MAAM;YACf,GAAG,EAAE,MAAM;YACX,mBAAmB,EAAE,2BAA2B;SACjD,EACD,uBAAuB,EAAE,mDAAwB,EACjD,uBAAuB,EAAE,mDAAwB,EACjD,wBAAwB,EAAE,iEAA+B,EACzD,wBAAwB,EAAE,iEAA+B,EACzD,wBAAwB,EAAE,iEAA+B,EACzD,8BAA8B,EAAE,6EAAqC,GACrE,CACH,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,SAAS,aAgBpB","sourcesContent":["import React from \"react\";\n\nimport { Results } from \"../../components\";\n\nimport { ExampleResultCardProduct } from \"./ExampleResultCardProduct\";\nimport { ExampleResultCardCallout } from \"./ExampleResultCardCallout\";\nimport { ExampleResultPaginationNumbered } from \"./ExampleResultPaginationNumbered\";\nimport { ExampleResultPaginationLoadMore } from \"./ExampleResultPaginationLoadMore\";\nimport { ExampleResultPaginationInfiniteScroll } from \"./ExampleResultPaginationInfiniteScroll\";\nimport { ExampleResultPaginationNextPrev } from \"./ExampleResultPaginationNextPrev\";\n\nexport const Component: React.FC = () => {\n return (\n <Results\n listStyle={{\n display: \"grid\",\n gap: \"10px\",\n gridTemplateColumns: \"repeat(4, minmax(0, 1fr))\",\n }}\n renderResultCardProduct={ExampleResultCardProduct}\n renderResultCardCallout={ExampleResultCardCallout}\n renderPaginationNumbered={ExampleResultPaginationNumbered}\n renderPaginationLoadMore={ExampleResultPaginationLoadMore}\n renderPaginationNextPrev={ExampleResultPaginationNextPrev}\n renderPaginationInfiniteScroll={ExampleResultPaginationInfiniteScroll}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"ExampleResults.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleResults.tsx"],"names":[],"mappings":";;;;AACA,yEAAsE;AACtE,yEAAsE;AACtE,mGAAgG;AAChG,uFAAoF;AACpF,uFAAoF;AACpF,uFAAoF;AACpF,iDAA2C;AAEpC,MAAM,SAAS,GAAa,GAAG,EAAE;IACtC,OAAO,CACL,uBAAC,oBAAO,IACN,SAAS,EAAE;YACT,OAAO,EAAE,MAAM;YACf,GAAG,EAAE,MAAM;YACX,mBAAmB,EAAE,2BAA2B;SACjD,EACD,8BAA8B,EAAE,6EAAqC,EACrE,wBAAwB,EAAE,iEAA+B,EACzD,wBAAwB,EAAE,iEAA+B,EACzD,wBAAwB,EAAE,iEAA+B,EACzD,uBAAuB,EAAE,mDAAwB,EACjD,uBAAuB,EAAE,mDAAwB,GACjD,CACH,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,SAAS,aAgBpB","sourcesContent":["import type React from \"react\";\nimport { ExampleResultCardCallout } from \"./ExampleResultCardCallout\";\nimport { ExampleResultCardProduct } from \"./ExampleResultCardProduct\";\nimport { ExampleResultPaginationInfiniteScroll } from \"./ExampleResultPaginationInfiniteScroll\";\nimport { ExampleResultPaginationLoadMore } from \"./ExampleResultPaginationLoadMore\";\nimport { ExampleResultPaginationNextPrev } from \"./ExampleResultPaginationNextPrev\";\nimport { ExampleResultPaginationNumbered } from \"./ExampleResultPaginationNumbered\";\nimport { Results } from \"../../components\";\n\nexport const Component: React.FC = () => {\n return (\n <Results\n listStyle={{\n display: \"grid\",\n gap: \"10px\",\n gridTemplateColumns: \"repeat(4, minmax(0, 1fr))\",\n }}\n renderPaginationInfiniteScroll={ExampleResultPaginationInfiniteScroll}\n renderPaginationLoadMore={ExampleResultPaginationLoadMore}\n renderPaginationNextPrev={ExampleResultPaginationNextPrev}\n renderPaginationNumbered={ExampleResultPaginationNumbered}\n renderResultCardCallout={ExampleResultCardCallout}\n renderResultCardProduct={ExampleResultCardProduct}\n />\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { SearchProps } from "../../components";
2
+ import type { SearchProps } from "../../components";
3
3
  export type ExampleSearchProps = React.ComponentProps<NonNullable<SearchProps["render"]>>;
4
4
  export declare const ExampleSearch: React.FC<ExampleSearchProps>;
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ExampleSearch = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
8
  const react_1 = __importDefault(require("react"));
8
9
  const ExampleSearch = (props) => {
9
10
  const handleFormSubmit = react_1.default.useCallback((event) => {
@@ -13,8 +14,7 @@ const ExampleSearch = (props) => {
13
14
  const handleInputChange = react_1.default.useCallback((event) => {
14
15
  props.setSearchTerm(event.target.value);
15
16
  }, [props.setSearchTerm]);
16
- return (react_1.default.createElement("form", { onSubmit: handleFormSubmit },
17
- react_1.default.createElement("input", { type: "search", placeholder: "Search products...", value: props.searchTerm, onChange: handleInputChange })));
17
+ return ((0, jsx_runtime_1.jsx)("form", { onSubmit: handleFormSubmit, children: (0, jsx_runtime_1.jsx)("input", { onChange: handleInputChange, placeholder: "Search products...", type: "search", value: props.searchTerm }) }));
18
18
  };
19
19
  exports.ExampleSearch = ExampleSearch;
20
20
  //# sourceMappingURL=ExampleSearch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleSearch.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSearch.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE;IACnE,MAAM,gBAAgB,GAAG,eAAK,CAAC,WAAW,CACxC,CAAC,KAAuC,EAAE,EAAE;QAC1C,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,gBAAgB,EAAE,CAAC;IAC3B,CAAC,EACD,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACzB,CAAC;IAEF,MAAM,iBAAiB,GAAG,eAAK,CAAC,WAAW,CACzC,CAAC,KAA0C,EAAE,EAAE;QAC7C,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,EACD,CAAC,KAAK,CAAC,aAAa,CAAC,CACtB,CAAC;IAEF,OAAO,CACL,wCAAM,QAAQ,EAAE,gBAAgB;QAC9B,yCACE,IAAI,EAAC,QAAQ,EACb,WAAW,EAAC,oBAAoB,EAChC,KAAK,EAAE,KAAK,CAAC,UAAU,EACvB,QAAQ,EAAE,iBAAiB,GAC3B,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AA1BW,QAAA,aAAa,iBA0BxB","sourcesContent":["import React from \"react\";\n\nimport { SearchProps } from \"../../components\";\n\nexport type ExampleSearchProps = React.ComponentProps<\n NonNullable<SearchProps[\"render\"]>\n>;\n\nexport const ExampleSearch: React.FC<ExampleSearchProps> = (props) => {\n const handleFormSubmit = React.useCallback(\n (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n props.submitSearchTerm();\n },\n [props.submitSearchTerm]\n );\n\n const handleInputChange = React.useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n props.setSearchTerm(event.target.value);\n },\n [props.setSearchTerm]\n );\n\n return (\n <form onSubmit={handleFormSubmit}>\n <input\n type=\"search\"\n placeholder=\"Search products...\"\n value={props.searchTerm}\n onChange={handleInputChange}\n />\n </form>\n );\n};\n"]}
1
+ {"version":3,"file":"ExampleSearch.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSearch.tsx"],"names":[],"mappings":";;;;;;;AAAA,kDAA0B;AAKnB,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE;IACnE,MAAM,gBAAgB,GAAG,eAAK,CAAC,WAAW,CACxC,CAAC,KAAuC,EAAE,EAAE;QAC1C,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,gBAAgB,EAAE,CAAC;IAC3B,CAAC,EACD,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACzB,CAAC;IAEF,MAAM,iBAAiB,GAAG,eAAK,CAAC,WAAW,CACzC,CAAC,KAA0C,EAAE,EAAE;QAC7C,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,EACD,CAAC,KAAK,CAAC,aAAa,CAAC,CACtB,CAAC;IAEF,OAAO,CACL,iCAAM,QAAQ,EAAE,gBAAgB,YAC9B,kCAAO,QAAQ,EAAE,iBAAiB,EAAE,WAAW,EAAC,oBAAoB,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAI,GACzG,CACR,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,aAAa,iBAqBxB","sourcesContent":["import React from \"react\";\nimport type { SearchProps } from \"../../components\";\n\nexport type ExampleSearchProps = React.ComponentProps<NonNullable<SearchProps[\"render\"]>>;\n\nexport const ExampleSearch: React.FC<ExampleSearchProps> = (props) => {\n const handleFormSubmit = React.useCallback(\n (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n props.submitSearchTerm();\n },\n [props.submitSearchTerm]\n );\n\n const handleInputChange = React.useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n props.setSearchTerm(event.target.value);\n },\n [props.setSearchTerm]\n );\n\n return (\n <form onSubmit={handleFormSubmit}>\n <input onChange={handleInputChange} placeholder=\"Search products...\" type=\"search\" value={props.searchTerm} />\n </form>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { SortByProps } from "../../components";
1
+ import type React from "react";
2
+ import type { SortByProps } from "../../components";
3
3
  export type ExampleSortByProps = React.ComponentProps<NonNullable<SortByProps["render"]>>;
4
4
  export declare const ExampleSortBy: React.FC<ExampleSortByProps>;
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleSortBy = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleSortBy = (props) => {
9
6
  var _a;
10
- return (react_1.default.createElement("select", { className: "rs__sortby__select", value: (_a = props.sortOption) === null || _a === void 0 ? void 0 : _a.handle, onChange: (event) => props.setSortOption(event.target.value) }, props.sortOptions.map((sortOption) => (react_1.default.createElement("option", { key: sortOption.handle, className: "rs__sortby__option", value: sortOption.handle }, sortOption.name)))));
7
+ return ((0, jsx_runtime_1.jsx)("select", { className: "rs__sortby__select", onChange: (event) => props.setSortOption(event.target.value), value: (_a = props.sortOption) === null || _a === void 0 ? void 0 : _a.handle, children: props.sortOptions.map((sortOption) => ((0, jsx_runtime_1.jsx)("option", { className: "rs__sortby__option", value: sortOption.handle, children: sortOption.name }, sortOption.handle))) }));
11
8
  };
12
9
  exports.ExampleSortBy = ExampleSortBy;
13
10
  //# sourceMappingURL=ExampleSortBy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleSortBy.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSortBy.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE;;IACnE,OAAO,CACL,0CACE,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,MAAA,KAAK,CAAC,UAAU,0CAAE,MAAM,EAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAE3D,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CACrC,0CACE,GAAG,EAAE,UAAU,CAAC,MAAM,EACtB,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,UAAU,CAAC,MAAM,IAEvB,UAAU,CAAC,IAAI,CACT,CACV,CAAC,CACK,CACV,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,aAAa,iBAkBxB","sourcesContent":["import React from \"react\";\n\nimport { SortByProps } from \"../../components\";\n\nexport type ExampleSortByProps = React.ComponentProps<\n NonNullable<SortByProps[\"render\"]>\n>;\n\nexport const ExampleSortBy: React.FC<ExampleSortByProps> = (props) => {\n return (\n <select\n className=\"rs__sortby__select\"\n value={props.sortOption?.handle}\n onChange={(event) => props.setSortOption(event.target.value)}\n >\n {props.sortOptions.map((sortOption) => (\n <option\n key={sortOption.handle}\n className=\"rs__sortby__option\"\n value={sortOption.handle}\n >\n {sortOption.name}\n </option>\n ))}\n </select>\n );\n};\n"]}
1
+ {"version":3,"file":"ExampleSortBy.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSortBy.tsx"],"names":[],"mappings":";;;;AAKO,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE;;IACnE,OAAO,CACL,mCACE,SAAS,EAAC,oBAAoB,EAC9B,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5D,KAAK,EAAE,MAAA,KAAK,CAAC,UAAU,0CAAE,MAAM,YAE9B,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CACrC,mCAAQ,SAAS,EAAC,oBAAoB,EAAyB,KAAK,EAAE,UAAU,CAAC,MAAM,YACpF,UAAU,CAAC,IAAI,IAD0B,UAAU,CAAC,MAAM,CAEpD,CACV,CAAC,GACK,CACV,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,aAAa,iBAcxB","sourcesContent":["import type React from \"react\";\nimport type { SortByProps } from \"../../components\";\n\nexport type ExampleSortByProps = React.ComponentProps<NonNullable<SortByProps[\"render\"]>>;\n\nexport const ExampleSortBy: React.FC<ExampleSortByProps> = (props) => {\n return (\n <select\n className=\"rs__sortby__select\"\n onChange={(event) => props.setSortOption(event.target.value)}\n value={props.sortOption?.handle}\n >\n {props.sortOptions.map((sortOption) => (\n <option className=\"rs__sortby__option\" key={sortOption.handle} value={sortOption.handle}>\n {sortOption.name}\n </option>\n ))}\n </select>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { StatsProps } from "../../components";
1
+ import type React from "react";
2
+ import type { StatsProps } from "../../components";
3
3
  export type ExampleStatsProps = React.ComponentProps<NonNullable<StatsProps["render"]>>;
4
4
  export declare const ExampleStats: React.FC<ExampleStatsProps>;
@@ -1,15 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleStats = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const ExampleStats = (props) => {
9
- return (react_1.default.createElement("div", null,
10
- "Found ",
11
- props.resultStats.numberOfResults,
12
- " products"));
6
+ return ((0, jsx_runtime_1.jsxs)("div", { children: ["Found ", props.resultStats.numberOfResults, " products"] }));
13
7
  };
14
8
  exports.ExampleStats = ExampleStats;
15
9
  //# sourceMappingURL=ExampleStats.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleStats.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleStats.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQnB,MAAM,YAAY,GAAgC,CAAC,KAAK,EAAE,EAAE;IACjE,OAAO,CACL;QACG,QAAQ;QACR,KAAK,CAAC,WAAW,CAAC,eAAe;QACjC,WAAW,CACR,CACP,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,YAAY,gBAQvB","sourcesContent":["import React from \"react\";\n\nimport { StatsProps } from \"../../components\";\n\nexport type ExampleStatsProps = React.ComponentProps<\n NonNullable<StatsProps[\"render\"]>\n>;\n\nexport const ExampleStats: React.FC<ExampleStatsProps> = (props) => {\n return (\n <div>\n {\"Found \"}\n {props.resultStats.numberOfResults}\n {\" products\"}\n </div>\n );\n};\n"]}
1
+ {"version":3,"file":"ExampleStats.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleStats.tsx"],"names":[],"mappings":";;;;AAKO,MAAM,YAAY,GAAgC,CAAC,KAAK,EAAE,EAAE;IACjE,OAAO,CACL,4CACG,QAAQ,EACR,KAAK,CAAC,WAAW,CAAC,eAAe,EACjC,WAAW,IACR,CACP,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,YAAY,gBAQvB","sourcesContent":["import type React from \"react\";\nimport type { StatsProps } from \"../../components\";\n\nexport type ExampleStatsProps = React.ComponentProps<NonNullable<StatsProps[\"render\"]>>;\n\nexport const ExampleStats: React.FC<ExampleStatsProps> = (props) => {\n return (\n <div>\n {\"Found \"}\n {props.resultStats.numberOfResults}\n {\" products\"}\n </div>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { SuggestionsProps } from "../../components";
1
+ import type React from "react";
2
+ import type { SuggestionsProps } from "../../components";
3
3
  export type ExampleSuggestionsProps = React.ComponentProps<NonNullable<SuggestionsProps["render"]>>;
4
4
  export declare const ExampleSuggestions: React.FC<ExampleSuggestionsProps>;
@@ -1,16 +1,11 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.ExampleSuggestions = void 0;
7
- const react_1 = __importDefault(require("react"));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const hooks_1 = require("../../hooks");
9
6
  const ExampleSuggestions = (props) => {
10
7
  const { setSearchTerm } = (0, hooks_1.useSearch)();
11
- return (react_1.default.createElement(react_1.default.Fragment, null,
12
- react_1.default.createElement("h3", null, "Suggestions"),
13
- react_1.default.createElement("ul", null, props.suggestions.map((suggestion) => (react_1.default.createElement("li", { onClick: () => setSearchTerm(suggestion.text) }, suggestion.text))))));
8
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("h3", { children: "Suggestions" }), (0, jsx_runtime_1.jsx)("ul", { children: props.suggestions.map((suggestion) => ((0, jsx_runtime_1.jsx)("li", { onClick: () => setSearchTerm(suggestion.text), children: suggestion.text }, suggestion.text))) })] }));
14
9
  };
15
10
  exports.ExampleSuggestions = ExampleSuggestions;
16
11
  //# sourceMappingURL=ExampleSuggestions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleSuggestions.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSuggestions.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAG1B,uCAAwC;AAMjC,MAAM,kBAAkB,GAAsC,CACnE,KAAK,EACL,EAAE;IACF,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,iBAAS,GAAE,CAAC;IAEtC,OAAO,CACL;QACE,wDAAoB;QACpB,0CACG,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CACrC,sCAAI,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAC9C,UAAU,CAAC,IAAI,CACb,CACN,CAAC,CACC,CACJ,CACJ,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,kBAAkB,sBAiB7B","sourcesContent":["import React from \"react\";\n\nimport { SuggestionsProps } from \"../../components\";\nimport { useSearch } from \"../../hooks\";\n\nexport type ExampleSuggestionsProps = React.ComponentProps<\n NonNullable<SuggestionsProps[\"render\"]>\n>;\n\nexport const ExampleSuggestions: React.FC<ExampleSuggestionsProps> = (\n props\n) => {\n const { setSearchTerm } = useSearch();\n\n return (\n <>\n <h3>Suggestions</h3>\n <ul>\n {props.suggestions.map((suggestion) => (\n <li onClick={() => setSearchTerm(suggestion.text)}>\n {suggestion.text}\n </li>\n ))}\n </ul>\n </>\n );\n};\n"]}
1
+ {"version":3,"file":"ExampleSuggestions.js","sourceRoot":"","sources":["../../../../src/components/Example/ExampleSuggestions.tsx"],"names":[],"mappings":";;;;AAEA,uCAAwC;AAIjC,MAAM,kBAAkB,GAAsC,CAAC,KAAK,EAAE,EAAE;IAC7E,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,iBAAS,GAAE,CAAC;IAEtC,OAAO,CACL,6DACE,yDAAoB,EACpB,yCACG,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CACrC,+BAA0B,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,YACpE,UAAU,CAAC,IAAI,IADT,UAAU,CAAC,IAAI,CAEnB,CACN,CAAC,GACC,IACJ,CACJ,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,kBAAkB,sBAe7B","sourcesContent":["import type React from \"react\";\nimport type { SuggestionsProps } from \"../../components\";\nimport { useSearch } from \"../../hooks\";\n\nexport type ExampleSuggestionsProps = React.ComponentProps<NonNullable<SuggestionsProps[\"render\"]>>;\n\nexport const ExampleSuggestions: React.FC<ExampleSuggestionsProps> = (props) => {\n const { setSearchTerm } = useSearch();\n\n return (\n <>\n <h3>Suggestions</h3>\n <ul>\n {props.suggestions.map((suggestion) => (\n <li key={suggestion.text} onClick={() => setSearchTerm(suggestion.text)}>\n {suggestion.text}\n </li>\n ))}\n </ul>\n </>\n );\n};\n"]}
@@ -5,21 +5,21 @@ export * from "./ExampleFilterRange";
5
5
  export * from "./ExampleFilterSlider";
6
6
  export * from "./ExampleFilters";
7
7
  export * from "./ExampleFiltersSelected";
8
+ export * from "./ExampleHookUseFilters";
9
+ export * from "./ExampleHookUseResults";
10
+ export * from "./ExampleHookUseSearch";
11
+ export * from "./ExampleHookUseSortBy";
8
12
  export * from "./ExampleProductCardWeight";
9
13
  export * from "./ExampleReactiveSearchProviderCollection";
10
14
  export * from "./ExampleReactiveSearchProviderInstantSearch";
11
15
  export * from "./ExampleReactiveSearchProviderSearch";
12
16
  export * from "./ExampleResultCardCallout";
13
17
  export * from "./ExampleResultCardProduct";
14
- export * from "./ExampleResultPaginationNumbered";
15
- export * from "./ExampleResultPaginationLoadMore";
16
18
  export * from "./ExampleResultPaginationInfiniteScroll";
19
+ export * from "./ExampleResultPaginationLoadMore";
17
20
  export * from "./ExampleResultPaginationNextPrev";
21
+ export * from "./ExampleResultPaginationNumbered";
18
22
  export * from "./ExampleSearch";
19
23
  export * from "./ExampleSortBy";
20
24
  export * from "./ExampleStats";
21
25
  export * from "./ExampleSuggestions";
22
- export * from "./ExampleHookUseFilters";
23
- export * from "./ExampleHookUseResults";
24
- export * from "./ExampleHookUseSearch";
25
- export * from "./ExampleHookUseSortBy";
@@ -21,22 +21,22 @@ __exportStar(require("./ExampleFilterRange"), exports);
21
21
  __exportStar(require("./ExampleFilterSlider"), exports);
22
22
  __exportStar(require("./ExampleFilters"), exports);
23
23
  __exportStar(require("./ExampleFiltersSelected"), exports);
24
+ __exportStar(require("./ExampleHookUseFilters"), exports);
25
+ __exportStar(require("./ExampleHookUseResults"), exports);
26
+ __exportStar(require("./ExampleHookUseSearch"), exports);
27
+ __exportStar(require("./ExampleHookUseSortBy"), exports);
24
28
  __exportStar(require("./ExampleProductCardWeight"), exports);
25
29
  __exportStar(require("./ExampleReactiveSearchProviderCollection"), exports);
26
30
  __exportStar(require("./ExampleReactiveSearchProviderInstantSearch"), exports);
27
31
  __exportStar(require("./ExampleReactiveSearchProviderSearch"), exports);
28
32
  __exportStar(require("./ExampleResultCardCallout"), exports);
29
33
  __exportStar(require("./ExampleResultCardProduct"), exports);
30
- __exportStar(require("./ExampleResultPaginationNumbered"), exports);
31
- __exportStar(require("./ExampleResultPaginationLoadMore"), exports);
32
34
  __exportStar(require("./ExampleResultPaginationInfiniteScroll"), exports);
35
+ __exportStar(require("./ExampleResultPaginationLoadMore"), exports);
33
36
  __exportStar(require("./ExampleResultPaginationNextPrev"), exports);
37
+ __exportStar(require("./ExampleResultPaginationNumbered"), exports);
34
38
  __exportStar(require("./ExampleSearch"), exports);
35
39
  __exportStar(require("./ExampleSortBy"), exports);
36
40
  __exportStar(require("./ExampleStats"), exports);
37
41
  __exportStar(require("./ExampleSuggestions"), exports);
38
- __exportStar(require("./ExampleHookUseFilters"), exports);
39
- __exportStar(require("./ExampleHookUseResults"), exports);
40
- __exportStar(require("./ExampleHookUseSearch"), exports);
41
- __exportStar(require("./ExampleHookUseSortBy"), exports);
42
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Example/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,mDAAiC;AACjC,2DAAyC;AACzC,6DAA2C;AAC3C,4EAA0D;AAC1D,+EAA6D;AAC7D,wEAAsD;AACtD,6DAA2C;AAC3C,6DAA2C;AAC3C,oEAAkD;AAClD,oEAAkD;AAClD,0EAAwD;AACxD,oEAAkD;AAClD,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AAErC,0DAAwC;AACxC,0DAAwC;AACxC,yDAAuC;AACvC,yDAAuC","sourcesContent":["export * from \"./ExampleClearAll\";\nexport * from \"./ExampleCustomComponent\";\nexport * from \"./ExampleFilterList\";\nexport * from \"./ExampleFilterRange\";\nexport * from \"./ExampleFilterSlider\";\nexport * from \"./ExampleFilters\";\nexport * from \"./ExampleFiltersSelected\";\nexport * from \"./ExampleProductCardWeight\";\nexport * from \"./ExampleReactiveSearchProviderCollection\";\nexport * from \"./ExampleReactiveSearchProviderInstantSearch\";\nexport * from \"./ExampleReactiveSearchProviderSearch\";\nexport * from \"./ExampleResultCardCallout\";\nexport * from \"./ExampleResultCardProduct\";\nexport * from \"./ExampleResultPaginationNumbered\";\nexport * from \"./ExampleResultPaginationLoadMore\";\nexport * from \"./ExampleResultPaginationInfiniteScroll\";\nexport * from \"./ExampleResultPaginationNextPrev\";\nexport * from \"./ExampleSearch\";\nexport * from \"./ExampleSortBy\";\nexport * from \"./ExampleStats\";\nexport * from \"./ExampleSuggestions\";\n\nexport * from \"./ExampleHookUseFilters\";\nexport * from \"./ExampleHookUseResults\";\nexport * from \"./ExampleHookUseSearch\";\nexport * from \"./ExampleHookUseSortBy\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Example/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,mDAAiC;AACjC,2DAAyC;AACzC,0DAAwC;AACxC,0DAAwC;AACxC,yDAAuC;AACvC,yDAAuC;AACvC,6DAA2C;AAC3C,4EAA0D;AAC1D,+EAA6D;AAC7D,wEAAsD;AACtD,6DAA2C;AAC3C,6DAA2C;AAC3C,0EAAwD;AACxD,oEAAkD;AAClD,oEAAkD;AAClD,oEAAkD;AAClD,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC","sourcesContent":["export * from \"./ExampleClearAll\";\nexport * from \"./ExampleCustomComponent\";\nexport * from \"./ExampleFilterList\";\nexport * from \"./ExampleFilterRange\";\nexport * from \"./ExampleFilterSlider\";\nexport * from \"./ExampleFilters\";\nexport * from \"./ExampleFiltersSelected\";\nexport * from \"./ExampleHookUseFilters\";\nexport * from \"./ExampleHookUseResults\";\nexport * from \"./ExampleHookUseSearch\";\nexport * from \"./ExampleHookUseSortBy\";\nexport * from \"./ExampleProductCardWeight\";\nexport * from \"./ExampleReactiveSearchProviderCollection\";\nexport * from \"./ExampleReactiveSearchProviderInstantSearch\";\nexport * from \"./ExampleReactiveSearchProviderSearch\";\nexport * from \"./ExampleResultCardCallout\";\nexport * from \"./ExampleResultCardProduct\";\nexport * from \"./ExampleResultPaginationInfiniteScroll\";\nexport * from \"./ExampleResultPaginationLoadMore\";\nexport * from \"./ExampleResultPaginationNextPrev\";\nexport * from \"./ExampleResultPaginationNumbered\";\nexport * from \"./ExampleSearch\";\nexport * from \"./ExampleSortBy\";\nexport * from \"./ExampleStats\";\nexport * from \"./ExampleSuggestions\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import type { ConfigFilterFacet } from "../../types";
3
2
  import { useFilterListProps, useFilterRangeProps, useFilterSliderProps } from "../../hooks";
4
3
  import { useReactSliderProps } from "../../hooks/react-slider/useReactSliderProps";
4
+ import type { ConfigFilterFacet } from "../../types";
5
5
  export type FilterProps = {
6
6
  /** The filter option being rendered */
7
7
  filter: ConfigFilterFacet;