react-easy-wall 3.4.0 → 3.5.1

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 (281) hide show
  1. package/dist/cjs/_virtual/InfiniteScroll.js +6 -0
  2. package/dist/cjs/_virtual/InfiniteScroll.js.map +1 -0
  3. package/dist/cjs/_virtual/index10.js +2 -2
  4. package/dist/cjs/_virtual/index11.js +2 -2
  5. package/dist/cjs/_virtual/index12.js +2 -2
  6. package/dist/cjs/_virtual/index13.js +2 -2
  7. package/dist/cjs/_virtual/index14.js +2 -2
  8. package/dist/cjs/_virtual/index15.js +6 -0
  9. package/dist/cjs/_virtual/index15.js.map +1 -0
  10. package/dist/cjs/_virtual/index2.js +8 -2
  11. package/dist/cjs/_virtual/index2.js.map +1 -1
  12. package/dist/cjs/_virtual/index3.js +2 -8
  13. package/dist/cjs/_virtual/index3.js.map +1 -1
  14. package/dist/cjs/_virtual/index4.js +4 -4
  15. package/dist/cjs/_virtual/index5.js +4 -4
  16. package/dist/cjs/_virtual/index6.js +8 -2
  17. package/dist/cjs/_virtual/index6.js.map +1 -1
  18. package/dist/cjs/_virtual/index7.js +2 -4
  19. package/dist/cjs/_virtual/index7.js.map +1 -1
  20. package/dist/cjs/_virtual/index8.js +4 -2
  21. package/dist/cjs/_virtual/index8.js.map +1 -1
  22. package/dist/cjs/_virtual/index9.js +2 -2
  23. package/dist/cjs/node_modules/@cobuildlab/react-simple-state/lib/index.js +1 -1
  24. package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.js +1 -1
  25. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js +1 -1
  26. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js +1 -1
  27. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js +1 -1
  28. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +1 -1
  29. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js +1 -1
  30. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +1 -1
  31. package/dist/cjs/node_modules/@mui/material/esm/Card/Card.js +1 -1
  32. package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.js +1 -1
  33. package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.js +1 -1
  34. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +1 -1
  35. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +1 -1
  36. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  37. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js +1 -1
  38. package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.js +1 -1
  39. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js +1 -1
  40. package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.js +1 -1
  41. package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.js +1 -1
  42. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js +1 -1
  43. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +1 -1
  44. package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.js +1 -1
  45. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js +1 -1
  46. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js +1 -1
  47. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
  48. package/dist/cjs/node_modules/@mui/material/esm/Link/Link.js +1 -1
  49. package/dist/cjs/node_modules/@mui/material/esm/List/List.js +1 -1
  50. package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.js +1 -1
  51. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +1 -1
  52. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +1 -1
  53. package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  54. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js +1 -1
  55. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js +1 -1
  56. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js +1 -1
  57. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js +1 -1
  58. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js +1 -1
  59. package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.js +1 -1
  60. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +1 -1
  61. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js +1 -1
  62. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +1 -1
  63. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +1 -1
  64. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +1 -1
  65. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  66. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  67. package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js +1 -1
  68. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  69. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  70. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  71. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
  72. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  73. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  74. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  75. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  76. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  77. package/dist/cjs/node_modules/axios/lib/adapters/http.js +2 -2
  78. package/dist/cjs/node_modules/bricks.js/dist/bricks.module.js +281 -0
  79. package/dist/cjs/node_modules/bricks.js/dist/bricks.module.js.map +1 -0
  80. package/dist/cjs/node_modules/debug/src/index.js +1 -1
  81. package/dist/cjs/node_modules/follow-redirects/index.js +1 -1
  82. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  83. package/dist/cjs/node_modules/mime-types/index.js +1 -1
  84. package/dist/cjs/node_modules/prop-types/index.js +1 -1
  85. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  86. package/dist/cjs/node_modules/proxy-from-env/index.js +1 -1
  87. package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js +31 -0
  88. package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js.map +1 -0
  89. package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js +28 -0
  90. package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js.map +1 -0
  91. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js +27 -0
  92. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js.map +1 -0
  93. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js +13 -0
  94. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js.map +1 -0
  95. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js +55 -0
  96. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js.map +1 -0
  97. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js +13 -0
  98. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js.map +1 -0
  99. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js +58 -0
  100. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js.map +1 -0
  101. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js +23 -0
  102. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js.map +1 -0
  103. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js +13 -0
  104. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js.map +1 -0
  105. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js +42 -0
  106. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js.map +1 -0
  107. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js +13 -0
  108. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js.map +1 -0
  109. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js +37 -0
  110. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js.map +1 -0
  111. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js +13 -0
  112. package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js.map +1 -0
  113. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useApi.js +60 -0
  114. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useApi.js.map +1 -0
  115. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js +39 -0
  116. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js.map +1 -0
  117. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useMedia.js +49 -0
  118. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useMedia.js.map +1 -0
  119. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js +30 -0
  120. package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js.map +1 -0
  121. package/dist/cjs/node_modules/react-giphy-searchbox/es/index.js +181 -0
  122. package/dist/cjs/node_modules/react-giphy-searchbox/es/index.js.map +1 -0
  123. package/dist/cjs/node_modules/react-giphy-searchbox/es/indexStyles.js +13 -0
  124. package/dist/cjs/node_modules/react-giphy-searchbox/es/indexStyles.js.map +1 -0
  125. package/dist/cjs/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js +52 -0
  126. package/dist/cjs/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js.map +1 -0
  127. package/dist/cjs/node_modules/react-giphy-searchbox/es/style/css.js +15 -0
  128. package/dist/cjs/node_modules/react-giphy-searchbox/es/style/css.js.map +1 -0
  129. package/dist/cjs/node_modules/react-giphy-searchbox/es/style/useStyle.js +34 -0
  130. package/dist/cjs/node_modules/react-giphy-searchbox/es/style/useStyle.js.map +1 -0
  131. package/dist/cjs/node_modules/react-giphy-searchbox/es/utils/masonry.js +46 -0
  132. package/dist/cjs/node_modules/react-giphy-searchbox/es/utils/masonry.js.map +1 -0
  133. package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js +315 -0
  134. package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js.map +1 -0
  135. package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js +16 -0
  136. package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js.map +1 -0
  137. package/dist/cjs/node_modules/react-is/index.js +1 -1
  138. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
  139. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  140. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  141. package/dist/cjs/shared/components/react-editor/BtnGif.js +2 -2
  142. package/dist/esm/_virtual/InfiniteScroll.js +4 -0
  143. package/dist/esm/_virtual/InfiniteScroll.js.map +1 -0
  144. package/dist/esm/_virtual/index11.js +2 -2
  145. package/dist/esm/_virtual/index12.js +2 -2
  146. package/dist/esm/_virtual/index13.js +2 -2
  147. package/dist/esm/_virtual/index14.js +2 -2
  148. package/dist/esm/_virtual/index15.js +4 -0
  149. package/dist/esm/_virtual/index15.js.map +1 -0
  150. package/dist/esm/_virtual/index2.js +6 -2
  151. package/dist/esm/_virtual/index2.js.map +1 -1
  152. package/dist/esm/_virtual/index3.js +2 -6
  153. package/dist/esm/_virtual/index3.js.map +1 -1
  154. package/dist/esm/_virtual/index4.js +4 -4
  155. package/dist/esm/_virtual/index5.js +4 -4
  156. package/dist/esm/_virtual/index6.js +6 -2
  157. package/dist/esm/_virtual/index6.js.map +1 -1
  158. package/dist/esm/_virtual/index7.js +2 -4
  159. package/dist/esm/_virtual/index7.js.map +1 -1
  160. package/dist/esm/_virtual/index8.js +4 -2
  161. package/dist/esm/_virtual/index8.js.map +1 -1
  162. package/dist/esm/_virtual/index9.js +2 -2
  163. package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/index.js +1 -1
  164. package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +1 -1
  165. package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +1 -1
  166. package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +1 -1
  167. package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +1 -1
  168. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +1 -1
  169. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +1 -1
  170. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +1 -1
  171. package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +1 -1
  172. package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +1 -1
  173. package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +1 -1
  174. package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +1 -1
  175. package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +1 -1
  176. package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  177. package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +1 -1
  178. package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +1 -1
  179. package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +1 -1
  180. package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +1 -1
  181. package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +1 -1
  182. package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +1 -1
  183. package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +1 -1
  184. package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +1 -1
  185. package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +1 -1
  186. package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +1 -1
  187. package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
  188. package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +1 -1
  189. package/dist/esm/node_modules/@mui/material/esm/List/List.js +1 -1
  190. package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +1 -1
  191. package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +1 -1
  192. package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +1 -1
  193. package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  194. package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +1 -1
  195. package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +1 -1
  196. package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +1 -1
  197. package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +1 -1
  198. package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +1 -1
  199. package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +1 -1
  200. package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +1 -1
  201. package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +1 -1
  202. package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +1 -1
  203. package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +1 -1
  204. package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +1 -1
  205. package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  206. package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  207. package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +1 -1
  208. package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  209. package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  210. package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  211. package/dist/esm/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
  212. package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  213. package/dist/esm/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  214. package/dist/esm/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  215. package/dist/esm/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  216. package/dist/esm/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  217. package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
  218. package/dist/esm/node_modules/bricks.js/dist/bricks.module.js +277 -0
  219. package/dist/esm/node_modules/bricks.js/dist/bricks.module.js.map +1 -0
  220. package/dist/esm/node_modules/debug/src/index.js +1 -1
  221. package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  222. package/dist/esm/node_modules/mime-types/index.js +1 -1
  223. package/dist/esm/node_modules/prop-types/index.js +1 -1
  224. package/dist/esm/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  225. package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
  226. package/dist/esm/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js +27 -0
  227. package/dist/esm/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js.map +1 -0
  228. package/dist/esm/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js +24 -0
  229. package/dist/esm/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js.map +1 -0
  230. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js +23 -0
  231. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js.map +1 -0
  232. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js +11 -0
  233. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js.map +1 -0
  234. package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js +51 -0
  235. package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js.map +1 -0
  236. package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js +11 -0
  237. package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js.map +1 -0
  238. package/dist/esm/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js +36 -0
  239. package/dist/esm/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js.map +1 -0
  240. package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js +19 -0
  241. package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js.map +1 -0
  242. package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js +11 -0
  243. package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js.map +1 -0
  244. package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js +38 -0
  245. package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js.map +1 -0
  246. package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js +11 -0
  247. package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js.map +1 -0
  248. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js +33 -0
  249. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js.map +1 -0
  250. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js +11 -0
  251. package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js.map +1 -0
  252. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useApi.js +56 -0
  253. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useApi.js.map +1 -0
  254. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js +35 -0
  255. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js.map +1 -0
  256. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useMedia.js +45 -0
  257. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useMedia.js.map +1 -0
  258. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js +26 -0
  259. package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js.map +1 -0
  260. package/dist/esm/node_modules/react-giphy-searchbox/es/index.js +177 -0
  261. package/dist/esm/node_modules/react-giphy-searchbox/es/index.js.map +1 -0
  262. package/dist/esm/node_modules/react-giphy-searchbox/es/indexStyles.js +11 -0
  263. package/dist/esm/node_modules/react-giphy-searchbox/es/indexStyles.js.map +1 -0
  264. package/dist/esm/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js +48 -0
  265. package/dist/esm/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js.map +1 -0
  266. package/dist/esm/node_modules/react-giphy-searchbox/es/style/css.js +13 -0
  267. package/dist/esm/node_modules/react-giphy-searchbox/es/style/css.js.map +1 -0
  268. package/dist/esm/node_modules/react-giphy-searchbox/es/style/useStyle.js +31 -0
  269. package/dist/esm/node_modules/react-giphy-searchbox/es/style/useStyle.js.map +1 -0
  270. package/dist/esm/node_modules/react-giphy-searchbox/es/utils/masonry.js +40 -0
  271. package/dist/esm/node_modules/react-giphy-searchbox/es/utils/masonry.js.map +1 -0
  272. package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js +313 -0
  273. package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js.map +1 -0
  274. package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js +14 -0
  275. package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js.map +1 -0
  276. package/dist/esm/node_modules/react-is/index.js +1 -1
  277. package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -1
  278. package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  279. package/dist/esm/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  280. package/dist/esm/shared/components/react-editor/BtnGif.js +1 -1
  281. package/package.json +3 -2
@@ -0,0 +1,31 @@
1
+ var styles = new Map();
2
+
3
+ function addStyle(name, rules) {
4
+ if (styles.get(name)) {
5
+ return;
6
+ }
7
+ var style = document.createElement('style');
8
+ style.innerHTML = rules;
9
+ style.setAttribute('type', 'text/css');
10
+ style.setAttribute('id', 'ReactGiphySearchbox-' + name);
11
+ document.head.appendChild(style);
12
+ styles.set(name, style);
13
+ }
14
+
15
+ function useStyle(name, rules) {
16
+ addStyle(name, rules);
17
+ }
18
+
19
+ if (module.hot) {
20
+ module.hot.dispose(function () {
21
+ styles.forEach(function (style) {
22
+ if (document.head.contains(style)) {
23
+ document.head.removeChild(style);
24
+ }
25
+ });
26
+ styles.clear();
27
+ });
28
+ }
29
+
30
+ export { addStyle, useStyle };
31
+ //# sourceMappingURL=useStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStyle.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/style/useStyle.js"],"sourcesContent":["var styles = new Map();\n\nexport function addStyle(name, rules) {\n if (styles.get(name)) {\n return;\n }\n var style = document.createElement('style');\n style.innerHTML = rules;\n style.setAttribute('type', 'text/css');\n style.setAttribute('id', 'ReactGiphySearchbox-' + name);\n document.head.appendChild(style);\n styles.set(name, style);\n}\n\nexport function useStyle(name, rules) {\n addStyle(name, rules);\n}\n\nif (module.hot) {\n module.hot.dispose(function () {\n styles.forEach(function (style) {\n if (document.head.contains(style)) {\n document.head.removeChild(style);\n }\n });\n styles.clear();\n });\n}"],"names":[],"mappings":"AAAA,IAAI,MAAM,GAAG,IAAI,GAAG,EAAE;;AAEf,SAAS,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE;AACtC,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;AACxB,IAAI;AACJ,EAAE;AACF,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK;AACzB,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC;AACxC,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI,CAAC;AACzD,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAClC,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC;AACzB;;AAEO,SAAS,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE;AACtC,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;AACvB;;AAEA,IAAI,MAAM,CAAC,GAAG,EAAE;AAChB,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,YAAY;AACjC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACpC,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACzC,QAAQ,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AACxC,MAAM;AACN,IAAI,CAAC,CAAC;AACN,IAAI,MAAM,CAAC,KAAK,EAAE;AAClB,EAAE,CAAC,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,40 @@
1
+ var getMasonryConfig = function getMasonryConfig(masonryConfig) {
2
+ return masonryConfig.map(function (c) {
3
+ return {
4
+ columns: c.columns,
5
+ imageWidth: c.imageWidth,
6
+ gutter: c.gutter
7
+ };
8
+ }).reverse();
9
+ };
10
+
11
+ var getMasonryConfigExceptLast = function getMasonryConfigExceptLast(masonryConfig) {
12
+ var returnedMasonryConfig = getMasonryConfig(masonryConfig);
13
+
14
+ return returnedMasonryConfig.slice(0, returnedMasonryConfig.length - 1);
15
+ };
16
+
17
+ var getDefaultMasonryConfig = function getDefaultMasonryConfig(masonryConfig) {
18
+ var returnedMasonryConfig = getMasonryConfig(masonryConfig);
19
+
20
+ return returnedMasonryConfig[returnedMasonryConfig.length - 1];
21
+ };
22
+
23
+ var getMediaBreakpoints = function getMediaBreakpoints(masonryConfig) {
24
+ return (
25
+ // Export in a reverse order `mp` property in an array and filter out undefined items (the `mq` param
26
+ // for first array item is undefined since you don't have to specify it).
27
+ masonryConfig.map(function (c) {
28
+ return c.mq && "(min-width: " + c.mq + ")";
29
+ }).filter(function (i) {
30
+ return i != null;
31
+ }).reverse()
32
+ );
33
+ };
34
+
35
+ var getComponentWrapperWidth = function getComponentWrapperWidth(masonryConfig) {
36
+ return masonryConfig.imageWidth * masonryConfig.columns + masonryConfig.gutter * (masonryConfig.columns - 1);
37
+ };
38
+
39
+ export { getComponentWrapperWidth, getDefaultMasonryConfig, getMasonryConfig, getMasonryConfigExceptLast, getMediaBreakpoints };
40
+ //# sourceMappingURL=masonry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masonry.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/utils/masonry.js"],"sourcesContent":["export var getMasonryConfig = function getMasonryConfig(masonryConfig) {\n return masonryConfig.map(function (c) {\n return {\n columns: c.columns,\n imageWidth: c.imageWidth,\n gutter: c.gutter\n };\n }).reverse();\n};\n\nexport var getMasonryConfigExceptLast = function getMasonryConfigExceptLast(masonryConfig) {\n var returnedMasonryConfig = getMasonryConfig(masonryConfig);\n\n return returnedMasonryConfig.slice(0, returnedMasonryConfig.length - 1);\n};\n\nexport var getDefaultMasonryConfig = function getDefaultMasonryConfig(masonryConfig) {\n var returnedMasonryConfig = getMasonryConfig(masonryConfig);\n\n return returnedMasonryConfig[returnedMasonryConfig.length - 1];\n};\n\nexport var getMediaBreakpoints = function getMediaBreakpoints(masonryConfig) {\n return (\n // Export in a reverse order `mp` property in an array and filter out undefined items (the `mq` param\n // for first array item is undefined since you don't have to specify it).\n masonryConfig.map(function (c) {\n return c.mq && \"(min-width: \" + c.mq + \")\";\n }).filter(function (i) {\n return i != null;\n }).reverse()\n );\n};\n\nexport var getComponentWrapperWidth = function getComponentWrapperWidth(masonryConfig) {\n return masonryConfig.imageWidth * masonryConfig.columns + masonryConfig.gutter * (masonryConfig.columns - 1);\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,OAAO,GAAG,aAAa,CAAC,MAAM,IAAI,aAAa,CAAC,OAAO,GAAG,CAAC,CAAC;AAC9G;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,313 @@
1
+ import { __module as InfiniteScroll } from '../../../../../_virtual/InfiniteScroll.js';
2
+ import React__default from 'react';
3
+ import { __require as requirePropTypes } from '../../../../prop-types/index.js';
4
+
5
+ var hasRequiredInfiniteScroll;
6
+
7
+ function requireInfiniteScroll () {
8
+ if (hasRequiredInfiniteScroll) return InfiniteScroll.exports;
9
+ hasRequiredInfiniteScroll = 1;
10
+ (function (module, exports$1) {
11
+
12
+ Object.defineProperty(exports$1, "__esModule", {
13
+ value: true
14
+ });
15
+
16
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
17
+
18
+ var _react = React__default;
19
+
20
+ var _react2 = _interopRequireDefault(_react);
21
+
22
+ var _propTypes = /*@__PURE__*/ requirePropTypes();
23
+
24
+ var _propTypes2 = _interopRequireDefault(_propTypes);
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
+
28
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
29
+
30
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
+
32
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
33
+
34
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
35
+
36
+ var InfiniteScroll = function (_Component) {
37
+ _inherits(InfiniteScroll, _Component);
38
+
39
+ function InfiniteScroll(props) {
40
+ _classCallCheck(this, InfiniteScroll);
41
+
42
+ var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props));
43
+
44
+ _this.scrollListener = _this.scrollListener.bind(_this);
45
+ _this.eventListenerOptions = _this.eventListenerOptions.bind(_this);
46
+ _this.mousewheelListener = _this.mousewheelListener.bind(_this);
47
+ return _this;
48
+ }
49
+
50
+ _createClass(InfiniteScroll, [{
51
+ key: 'componentDidMount',
52
+ value: function componentDidMount() {
53
+ this.pageLoaded = this.props.pageStart;
54
+ this.options = this.eventListenerOptions();
55
+ this.attachScrollListener();
56
+ }
57
+ }, {
58
+ key: 'componentDidUpdate',
59
+ value: function componentDidUpdate() {
60
+ if (this.props.isReverse && this.loadMore) {
61
+ var parentElement = this.getParentElement(this.scrollComponent);
62
+ parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop;
63
+ this.loadMore = false;
64
+ }
65
+ this.attachScrollListener();
66
+ }
67
+ }, {
68
+ key: 'componentWillUnmount',
69
+ value: function componentWillUnmount() {
70
+ this.detachScrollListener();
71
+ this.detachMousewheelListener();
72
+ }
73
+ }, {
74
+ key: 'isPassiveSupported',
75
+ value: function isPassiveSupported() {
76
+ var passive = false;
77
+
78
+ var testOptions = {
79
+ get passive() {
80
+ passive = true;
81
+ }
82
+ };
83
+
84
+ try {
85
+ document.addEventListener('test', null, testOptions);
86
+ document.removeEventListener('test', null, testOptions);
87
+ } catch (e) {
88
+ // ignore
89
+ }
90
+ return passive;
91
+ }
92
+ }, {
93
+ key: 'eventListenerOptions',
94
+ value: function eventListenerOptions() {
95
+ var options = this.props.useCapture;
96
+
97
+ if (this.isPassiveSupported()) {
98
+ options = {
99
+ useCapture: this.props.useCapture,
100
+ passive: true
101
+ };
102
+ } else {
103
+ options = {
104
+ passive: false
105
+ };
106
+ }
107
+ return options;
108
+ }
109
+
110
+ // Set a defaut loader for all your `InfiniteScroll` components
111
+
112
+ }, {
113
+ key: 'setDefaultLoader',
114
+ value: function setDefaultLoader(loader) {
115
+ this.defaultLoader = loader;
116
+ }
117
+ }, {
118
+ key: 'detachMousewheelListener',
119
+ value: function detachMousewheelListener() {
120
+ var scrollEl = window;
121
+ if (this.props.useWindow === false) {
122
+ scrollEl = this.scrollComponent.parentNode;
123
+ }
124
+
125
+ scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
126
+ }
127
+ }, {
128
+ key: 'detachScrollListener',
129
+ value: function detachScrollListener() {
130
+ var scrollEl = window;
131
+ if (this.props.useWindow === false) {
132
+ scrollEl = this.getParentElement(this.scrollComponent);
133
+ }
134
+
135
+ scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
136
+ scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
137
+ }
138
+ }, {
139
+ key: 'getParentElement',
140
+ value: function getParentElement(el) {
141
+ var scrollParent = this.props.getScrollParent && this.props.getScrollParent();
142
+ if (scrollParent != null) {
143
+ return scrollParent;
144
+ }
145
+ return el && el.parentNode;
146
+ }
147
+ }, {
148
+ key: 'filterProps',
149
+ value: function filterProps(props) {
150
+ return props;
151
+ }
152
+ }, {
153
+ key: 'attachScrollListener',
154
+ value: function attachScrollListener() {
155
+ var parentElement = this.getParentElement(this.scrollComponent);
156
+
157
+ if (!this.props.hasMore || !parentElement) {
158
+ return;
159
+ }
160
+
161
+ var scrollEl = window;
162
+ if (this.props.useWindow === false) {
163
+ scrollEl = parentElement;
164
+ }
165
+
166
+ scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
167
+ scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
168
+ scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
169
+
170
+ if (this.props.initialLoad) {
171
+ this.scrollListener();
172
+ }
173
+ }
174
+ }, {
175
+ key: 'mousewheelListener',
176
+ value: function mousewheelListener(e) {
177
+ // Prevents Chrome hangups
178
+ // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257
179
+ if (e.deltaY === 1 && !this.isPassiveSupported()) {
180
+ e.preventDefault();
181
+ }
182
+ }
183
+ }, {
184
+ key: 'scrollListener',
185
+ value: function scrollListener() {
186
+ var el = this.scrollComponent;
187
+ var scrollEl = window;
188
+ var parentNode = this.getParentElement(el);
189
+
190
+ var offset = void 0;
191
+ if (this.props.useWindow) {
192
+ var doc = document.documentElement || document.body.parentNode || document.body;
193
+ var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop;
194
+ if (this.props.isReverse) {
195
+ offset = scrollTop;
196
+ } else {
197
+ offset = this.calculateOffset(el, scrollTop);
198
+ }
199
+ } else if (this.props.isReverse) {
200
+ offset = parentNode.scrollTop;
201
+ } else {
202
+ offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;
203
+ }
204
+
205
+ // Here we make sure the element is visible as well as checking the offset
206
+ if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) {
207
+ this.detachScrollListener();
208
+ this.beforeScrollHeight = parentNode.scrollHeight;
209
+ this.beforeScrollTop = parentNode.scrollTop;
210
+ // Call loadMore after detachScrollListener to allow for non-async loadMore functions
211
+ if (typeof this.props.loadMore === 'function') {
212
+ this.props.loadMore(this.pageLoaded += 1);
213
+ this.loadMore = true;
214
+ }
215
+ }
216
+ }
217
+ }, {
218
+ key: 'calculateOffset',
219
+ value: function calculateOffset(el, scrollTop) {
220
+ if (!el) {
221
+ return 0;
222
+ }
223
+
224
+ return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight);
225
+ }
226
+ }, {
227
+ key: 'calculateTopPosition',
228
+ value: function calculateTopPosition(el) {
229
+ if (!el) {
230
+ return 0;
231
+ }
232
+ return el.offsetTop + this.calculateTopPosition(el.offsetParent);
233
+ }
234
+ }, {
235
+ key: 'render',
236
+ value: function render() {
237
+ var _this2 = this;
238
+
239
+ var renderProps = this.filterProps(this.props);
240
+
241
+ var children = renderProps.children,
242
+ element = renderProps.element,
243
+ hasMore = renderProps.hasMore;
244
+ renderProps.initialLoad;
245
+ var isReverse = renderProps.isReverse,
246
+ loader = renderProps.loader;
247
+ renderProps.loadMore;
248
+ renderProps.pageStart;
249
+ var ref = renderProps.ref;
250
+ renderProps.threshold;
251
+ renderProps.useCapture;
252
+ renderProps.useWindow;
253
+ renderProps.getScrollParent;
254
+ var props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']);
255
+
256
+ props.ref = function (node) {
257
+ _this2.scrollComponent = node;
258
+ if (ref) {
259
+ ref(node);
260
+ }
261
+ };
262
+
263
+ var childrenArray = [children];
264
+ if (hasMore) {
265
+ if (loader) {
266
+ isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader);
267
+ } else if (this.defaultLoader) {
268
+ isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader);
269
+ }
270
+ }
271
+ return _react2.default.createElement(element, props, childrenArray);
272
+ }
273
+ }]);
274
+
275
+ return InfiniteScroll;
276
+ }(_react.Component);
277
+
278
+ InfiniteScroll.propTypes = {
279
+ children: _propTypes2.default.node.isRequired,
280
+ element: _propTypes2.default.node,
281
+ hasMore: _propTypes2.default.bool,
282
+ initialLoad: _propTypes2.default.bool,
283
+ isReverse: _propTypes2.default.bool,
284
+ loader: _propTypes2.default.node,
285
+ loadMore: _propTypes2.default.func.isRequired,
286
+ pageStart: _propTypes2.default.number,
287
+ ref: _propTypes2.default.func,
288
+ getScrollParent: _propTypes2.default.func,
289
+ threshold: _propTypes2.default.number,
290
+ useCapture: _propTypes2.default.bool,
291
+ useWindow: _propTypes2.default.bool
292
+ };
293
+ InfiniteScroll.defaultProps = {
294
+ element: 'div',
295
+ hasMore: false,
296
+ initialLoad: true,
297
+ pageStart: 0,
298
+ ref: null,
299
+ threshold: 250,
300
+ useWindow: true,
301
+ isReverse: false,
302
+ useCapture: false,
303
+ loader: null,
304
+ getScrollParent: null
305
+ };
306
+ exports$1.default = InfiniteScroll;
307
+ module.exports = exports$1['default'];
308
+ } (InfiniteScroll, InfiniteScroll.exports));
309
+ return InfiniteScroll.exports;
310
+ }
311
+
312
+ export { requireInfiniteScroll as __require };
313
+ //# sourceMappingURL=InfiniteScroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfiniteScroll.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar InfiniteScroll = function (_Component) {\n _inherits(InfiniteScroll, _Component);\n\n function InfiniteScroll(props) {\n _classCallCheck(this, InfiniteScroll);\n\n var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props));\n\n _this.scrollListener = _this.scrollListener.bind(_this);\n _this.eventListenerOptions = _this.eventListenerOptions.bind(_this);\n _this.mousewheelListener = _this.mousewheelListener.bind(_this);\n return _this;\n }\n\n _createClass(InfiniteScroll, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.pageLoaded = this.props.pageStart;\n this.options = this.eventListenerOptions();\n this.attachScrollListener();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n if (this.props.isReverse && this.loadMore) {\n var parentElement = this.getParentElement(this.scrollComponent);\n parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop;\n this.loadMore = false;\n }\n this.attachScrollListener();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.detachScrollListener();\n this.detachMousewheelListener();\n }\n }, {\n key: 'isPassiveSupported',\n value: function isPassiveSupported() {\n var passive = false;\n\n var testOptions = {\n get passive() {\n passive = true;\n }\n };\n\n try {\n document.addEventListener('test', null, testOptions);\n document.removeEventListener('test', null, testOptions);\n } catch (e) {\n // ignore\n }\n return passive;\n }\n }, {\n key: 'eventListenerOptions',\n value: function eventListenerOptions() {\n var options = this.props.useCapture;\n\n if (this.isPassiveSupported()) {\n options = {\n useCapture: this.props.useCapture,\n passive: true\n };\n } else {\n options = {\n passive: false\n };\n }\n return options;\n }\n\n // Set a defaut loader for all your `InfiniteScroll` components\n\n }, {\n key: 'setDefaultLoader',\n value: function setDefaultLoader(loader) {\n this.defaultLoader = loader;\n }\n }, {\n key: 'detachMousewheelListener',\n value: function detachMousewheelListener() {\n var scrollEl = window;\n if (this.props.useWindow === false) {\n scrollEl = this.scrollComponent.parentNode;\n }\n\n scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n }\n }, {\n key: 'detachScrollListener',\n value: function detachScrollListener() {\n var scrollEl = window;\n if (this.props.useWindow === false) {\n scrollEl = this.getParentElement(this.scrollComponent);\n }\n\n scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n }\n }, {\n key: 'getParentElement',\n value: function getParentElement(el) {\n var scrollParent = this.props.getScrollParent && this.props.getScrollParent();\n if (scrollParent != null) {\n return scrollParent;\n }\n return el && el.parentNode;\n }\n }, {\n key: 'filterProps',\n value: function filterProps(props) {\n return props;\n }\n }, {\n key: 'attachScrollListener',\n value: function attachScrollListener() {\n var parentElement = this.getParentElement(this.scrollComponent);\n\n if (!this.props.hasMore || !parentElement) {\n return;\n }\n\n var scrollEl = window;\n if (this.props.useWindow === false) {\n scrollEl = parentElement;\n }\n\n scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n\n if (this.props.initialLoad) {\n this.scrollListener();\n }\n }\n }, {\n key: 'mousewheelListener',\n value: function mousewheelListener(e) {\n // Prevents Chrome hangups\n // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257\n if (e.deltaY === 1 && !this.isPassiveSupported()) {\n e.preventDefault();\n }\n }\n }, {\n key: 'scrollListener',\n value: function scrollListener() {\n var el = this.scrollComponent;\n var scrollEl = window;\n var parentNode = this.getParentElement(el);\n\n var offset = void 0;\n if (this.props.useWindow) {\n var doc = document.documentElement || document.body.parentNode || document.body;\n var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop;\n if (this.props.isReverse) {\n offset = scrollTop;\n } else {\n offset = this.calculateOffset(el, scrollTop);\n }\n } else if (this.props.isReverse) {\n offset = parentNode.scrollTop;\n } else {\n offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;\n }\n\n // Here we make sure the element is visible as well as checking the offset\n if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) {\n this.detachScrollListener();\n this.beforeScrollHeight = parentNode.scrollHeight;\n this.beforeScrollTop = parentNode.scrollTop;\n // Call loadMore after detachScrollListener to allow for non-async loadMore functions\n if (typeof this.props.loadMore === 'function') {\n this.props.loadMore(this.pageLoaded += 1);\n this.loadMore = true;\n }\n }\n }\n }, {\n key: 'calculateOffset',\n value: function calculateOffset(el, scrollTop) {\n if (!el) {\n return 0;\n }\n\n return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight);\n }\n }, {\n key: 'calculateTopPosition',\n value: function calculateTopPosition(el) {\n if (!el) {\n return 0;\n }\n return el.offsetTop + this.calculateTopPosition(el.offsetParent);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var renderProps = this.filterProps(this.props);\n\n var children = renderProps.children,\n element = renderProps.element,\n hasMore = renderProps.hasMore,\n initialLoad = renderProps.initialLoad,\n isReverse = renderProps.isReverse,\n loader = renderProps.loader,\n loadMore = renderProps.loadMore,\n pageStart = renderProps.pageStart,\n ref = renderProps.ref,\n threshold = renderProps.threshold,\n useCapture = renderProps.useCapture,\n useWindow = renderProps.useWindow,\n getScrollParent = renderProps.getScrollParent,\n props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']);\n\n props.ref = function (node) {\n _this2.scrollComponent = node;\n if (ref) {\n ref(node);\n }\n };\n\n var childrenArray = [children];\n if (hasMore) {\n if (loader) {\n isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader);\n } else if (this.defaultLoader) {\n isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader);\n }\n }\n return _react2.default.createElement(element, props, childrenArray);\n }\n }]);\n\n return InfiniteScroll;\n}(_react.Component);\n\nInfiniteScroll.propTypes = {\n children: _propTypes2.default.node.isRequired,\n element: _propTypes2.default.node,\n hasMore: _propTypes2.default.bool,\n initialLoad: _propTypes2.default.bool,\n isReverse: _propTypes2.default.bool,\n loader: _propTypes2.default.node,\n loadMore: _propTypes2.default.func.isRequired,\n pageStart: _propTypes2.default.number,\n ref: _propTypes2.default.func,\n getScrollParent: _propTypes2.default.func,\n threshold: _propTypes2.default.number,\n useCapture: _propTypes2.default.bool,\n useWindow: _propTypes2.default.bool\n};\nInfiniteScroll.defaultProps = {\n element: 'div',\n hasMore: false,\n initialLoad: true,\n pageStart: 0,\n ref: null,\n threshold: 250,\n useWindow: true,\n isReverse: false,\n useCapture: false,\n loader: null,\n getScrollParent: null\n};\nexports.default = InfiniteScroll;\nmodule.exports = exports['default'];\n"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;;AAEA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,IAAE,KAAK,EAAE;AACT,GAAC,CAAC;;EAEF,IAAI,YA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AAC,OAAO,CAAC;GAChC;EACD,cAAc,CAAC,YAAY,GAAG;IAC5B,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,CAAC;IACZ,GAAG,EAAE,IAAI;IACT,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,IAAI;AACd,IAAE,eAAe,EAAE;GAClB;AACD,EAAAF,SAAA,CAAA,OAAA,GAAkB,cAAc;EAChC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,SAAS,CAAC,CAAA;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ import { __require as requireInfiniteScroll } from './dist/InfiniteScroll.js';
2
+
3
+ var reactInfiniteScroller;
4
+ var hasRequiredReactInfiniteScroller;
5
+
6
+ function requireReactInfiniteScroller () {
7
+ if (hasRequiredReactInfiniteScroller) return reactInfiniteScroller;
8
+ hasRequiredReactInfiniteScroller = 1;
9
+ reactInfiniteScroller = requireInfiniteScroll();
10
+ return reactInfiniteScroller;
11
+ }
12
+
13
+ export { requireReactInfiniteScroller as __require };
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js"],"sourcesContent":["module.exports = require('./dist/InfiniteScroll')\n"],"names":["require$$0"],"mappings":";;;;;;;;AAAA,CAAA,qBAAc,GAAGA,qBAAA;;;;;;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from '../../_virtual/index8.js';
1
+ import { __module as reactIs } from '../../_virtual/index9.js';
2
2
  import { __require as requireReactIs_production } from './cjs/react-is.production.js';
3
3
  import { __require as requireReactIs_development } from './cjs/react-is.development.js';
4
4
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutPropertiesLoose from '../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
2
2
  import _inheritsLoose from '../../@babel/runtime/helpers/esm/inheritsLoose.js';
3
- import PropTypes from '../../../_virtual/index3.js';
3
+ import PropTypes from '../../../_virtual/index4.js';
4
4
  import React__default from 'react';
5
5
  import ReactDOM__default from 'react-dom';
6
6
  import config from './config.js';
@@ -2,7 +2,7 @@ import _objectWithoutPropertiesLoose from '../../@babel/runtime/helpers/esm/obje
2
2
  import _extends from '../../@babel/runtime/helpers/esm/extends.js';
3
3
  import _assertThisInitialized from '../../@babel/runtime/helpers/esm/assertThisInitialized.js';
4
4
  import _inheritsLoose from '../../@babel/runtime/helpers/esm/inheritsLoose.js';
5
- import PropTypes from '../../../_virtual/index3.js';
5
+ import PropTypes from '../../../_virtual/index4.js';
6
6
  import React__default from 'react';
7
7
  import TransitionGroupContext from './TransitionGroupContext.js';
8
8
  import { getInitialChildMapping, getNextChildMapping, getChildMapping } from './utils/ChildMapping.js';
@@ -1,4 +1,4 @@
1
- import PropTypes from '../../../../_virtual/index3.js';
1
+ import PropTypes from '../../../../_virtual/index4.js';
2
2
 
3
3
  var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
4
4
  enter: PropTypes.number,
@@ -2,7 +2,7 @@
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import { useState } from 'react';
4
4
  import GifOutlinedIcon from '../../../node_modules/@mui/icons-material/esm/GifOutlined.js';
5
- import ReactGiphySearchBox from 'react-giphy-searchbox';
5
+ import ReactGiphySearchBox from '../../../node_modules/react-giphy-searchbox/es/index.js';
6
6
  import { theme } from '../../mui/theme.js';
7
7
  import Box from '../../../node_modules/@mui/material/esm/Box/Box.js';
8
8
  import Popover from '../../../node_modules/@mui/material/esm/Popover/Popover.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-easy-wall",
3
- "version": "3.4.0",
3
+ "version": "3.5.1",
4
4
  "main": "./dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -79,7 +79,8 @@
79
79
  "axios": "^1.13.6",
80
80
  "graphql": "^16.13.0",
81
81
  "moment": "^2.30.1",
82
- "react-simple-wysiwyg": "^3.4.1",
82
+ "react-giphy-searchbox": "^1.5.4",
83
+ "react-simple-wysiwyg": "^3.0.0",
83
84
  "rollup-plugin-preserve-directives": "^0.4.0",
84
85
  "universal-cookie": "^8.0.1"
85
86
  }