react-easy-wall 1.3.1 → 1.3.2
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.
- package/dist/cjs/_virtual/InfiniteScroll.js +6 -0
- package/dist/cjs/_virtual/InfiniteScroll.js.map +1 -0
- package/dist/cjs/_virtual/index10.js +2 -2
- package/dist/cjs/_virtual/index11.js +2 -2
- package/dist/cjs/_virtual/index13.js +2 -2
- package/dist/cjs/_virtual/index14.js +2 -2
- package/dist/cjs/_virtual/index15.js +6 -0
- package/dist/cjs/_virtual/index15.js.map +1 -0
- package/dist/cjs/_virtual/index2.js +8 -2
- package/dist/cjs/_virtual/index2.js.map +1 -1
- package/dist/cjs/_virtual/index3.js +2 -8
- package/dist/cjs/_virtual/index3.js.map +1 -1
- package/dist/cjs/_virtual/index4.js +4 -4
- package/dist/cjs/_virtual/index5.js +4 -4
- package/dist/cjs/_virtual/index6.js +8 -2
- package/dist/cjs/_virtual/index6.js.map +1 -1
- package/dist/cjs/_virtual/index7.js +2 -4
- package/dist/cjs/_virtual/index7.js.map +1 -1
- package/dist/cjs/_virtual/index8.js +4 -2
- package/dist/cjs/_virtual/index8.js.map +1 -1
- package/dist/cjs/_virtual/index9.js +2 -2
- package/dist/cjs/node_modules/@cobuildlab/react-simple-state/lib/index.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/List.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.js +2 -2
- package/dist/cjs/node_modules/bricks.js/dist/bricks.module.js +281 -0
- package/dist/cjs/node_modules/bricks.js/dist/bricks.module.js.map +1 -0
- package/dist/cjs/node_modules/debug/src/index.js +1 -1
- package/dist/cjs/node_modules/follow-redirects/index.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/mime-types/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/proxy-from-env/index.js +1 -1
- package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js +31 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js +28 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js +27 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js +55 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js +58 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js +23 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js +42 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js +37 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useApi.js +60 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useApi.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js +39 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useMedia.js +49 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useMedia.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js +30 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/index.js +181 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/index.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/indexStyles.js +13 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/indexStyles.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js +52 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/style/css.js +15 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/style/css.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/style/useStyle.js +34 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/style/useStyle.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/utils/masonry.js +46 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/es/utils/masonry.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js +315 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js.map +1 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js +16 -0
- package/dist/cjs/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js.map +1 -0
- package/dist/cjs/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/cjs/shared/components/react-editor/BtnGif.js +2 -2
- package/dist/cjs/shared/components/react-editor/BtnGif.js.map +1 -1
- package/dist/esm/_virtual/InfiniteScroll.js +4 -0
- package/dist/esm/_virtual/InfiniteScroll.js.map +1 -0
- package/dist/esm/_virtual/index10.js +2 -2
- package/dist/esm/_virtual/index11.js +2 -2
- package/dist/esm/_virtual/index13.js +2 -2
- package/dist/esm/_virtual/index14.js +2 -2
- package/dist/esm/_virtual/index15.js +4 -0
- package/dist/esm/_virtual/index15.js.map +1 -0
- package/dist/esm/_virtual/index2.js +6 -2
- package/dist/esm/_virtual/index2.js.map +1 -1
- package/dist/esm/_virtual/index3.js +2 -6
- package/dist/esm/_virtual/index3.js.map +1 -1
- package/dist/esm/_virtual/index4.js +4 -4
- package/dist/esm/_virtual/index5.js +4 -4
- package/dist/esm/_virtual/index6.js +6 -2
- package/dist/esm/_virtual/index6.js.map +1 -1
- package/dist/esm/_virtual/index7.js +2 -4
- package/dist/esm/_virtual/index7.js.map +1 -1
- package/dist/esm/_virtual/index8.js +4 -2
- package/dist/esm/_virtual/index8.js.map +1 -1
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/index.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/List.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
- package/dist/esm/node_modules/bricks.js/dist/bricks.module.js +277 -0
- package/dist/esm/node_modules/bricks.js/dist/bricks.module.js.map +1 -0
- package/dist/esm/node_modules/debug/src/index.js +1 -1
- package/dist/esm/node_modules/follow-redirects/index.js +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/mime-types/index.js +1 -1
- package/dist/esm/node_modules/prop-types/index.js +1 -1
- package/dist/esm/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
- package/dist/esm/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js +27 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/assets/PoweredByGiphyLogo.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js +24 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js +23 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/Alert.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js +51 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js +36 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js +19 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js +38 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js +33 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useApi.js +56 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useApi.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js +35 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useDebounce.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useMedia.js +45 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useMedia.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js +26 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/index.js +177 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/index.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/indexStyles.js +11 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/indexStyles.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js +48 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/reducers/dataFetchReducer.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/style/css.js +13 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/style/css.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/style/useStyle.js +31 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/style/useStyle.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/utils/masonry.js +40 -0
- package/dist/esm/node_modules/react-giphy-searchbox/es/utils/masonry.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js +313 -0
- package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/dist/InfiniteScroll.js.map +1 -0
- package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js +14 -0
- package/dist/esm/node_modules/react-giphy-searchbox/node_modules/react-infinite-scroller/index.js.map +1 -0
- package/dist/esm/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/esm/shared/components/react-editor/BtnGif.js +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpinnerIcon.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/assets/SpinnerIcon.js"],"sourcesContent":["import React from 'react';\n\nvar SpinnerIcon = function SpinnerIcon() {\n return React.createElement(\n \"svg\",\n {\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 100 100\",\n xmlSpace: \"preserve\"\n },\n React.createElement(\"path\", {\n fill: \"#939393\",\n className: \"st0\",\n d: \"M50,99c-6.6,0-13-1.3-19-3.8c-2-0.9-3-3.2-2.1-5.2c0.9-2,3.2-3,5.2-2.1c5,2.1,10.4,3.2,15.9,3.2 c22.6,0,41-18.4,41-41S72.6,9,50,9c-2.2,0-4-1.8-4-4s1.8-4,4-4c27,0,49,22,49,49S77,99,50,99z\"\n })\n );\n};\n\nexport default SpinnerIcon;"],"names":[],"mappings":";;;;;;AAEG,IAAC,WAAW,GAAG,SAAS,WAAW,GAAG;AACzC,EAAE,OAAO,KAAK,CAAC,aAAa;AAC5B,IAAI,KAAK;AACT,IAAI;AACJ,MAAM,OAAO,EAAE,KAAK;AACpB,MAAM,KAAK,EAAE,4BAA4B;AACzC,MAAM,UAAU,EAAE,8BAA8B;AAChD,MAAM,CAAC,EAAE,KAAK;AACd,MAAM,CAAC,EAAE,KAAK;AACd,MAAM,OAAO,EAAE,aAAa;AAC5B,MAAM,QAAQ,EAAE;AAChB,KAAK;AACL,IAAI,KAAK,CAAC,aAAa,CAAC,MAAM,EAAE;AAChC,MAAM,IAAI,EAAE,SAAS;AACrB,MAAM,SAAS,EAAE,KAAK;AACtB,MAAM,CAAC,EAAE;AACT,KAAK;AACL,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var useStyle = require('../../style/useStyle.js');
|
|
7
|
+
var alertStyles = require('./alertStyles.js');
|
|
8
|
+
|
|
9
|
+
var Alert = function Alert(_ref) {
|
|
10
|
+
var show = _ref.show,
|
|
11
|
+
message = _ref.message;
|
|
12
|
+
|
|
13
|
+
useStyle.useStyle('Alert', alertStyles.styles);
|
|
14
|
+
|
|
15
|
+
return show && React.createElement(
|
|
16
|
+
'p',
|
|
17
|
+
{
|
|
18
|
+
role: 'alert',
|
|
19
|
+
'data-testid': 'Alert',
|
|
20
|
+
className: 'reactGiphySearchbox-message'
|
|
21
|
+
},
|
|
22
|
+
message
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.default = Alert;
|
|
27
|
+
//# sourceMappingURL=Alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/Alert/Alert.js"],"sourcesContent":["import React from 'react';\nimport { useStyle } from '../../style';\nimport { styles } from './alertStyles';\n\nvar Alert = function Alert(_ref) {\n var show = _ref.show,\n message = _ref.message;\n\n useStyle('Alert', styles);\n\n return show && React.createElement(\n 'p',\n {\n role: 'alert',\n 'data-testid': 'Alert',\n className: 'reactGiphySearchbox-message'\n },\n message\n );\n};\n\nexport default Alert;"],"names":["useStyle","styles"],"mappings":";;;;;;;;AAIG,IAAC,KAAK,GAAG,SAAS,KAAK,CAAC,IAAI,EAAE;AACjC,EAAE,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI;AACtB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO;;AAE5B,EAAEA,iBAAQ,CAAC,OAAO,EAAEC,kBAAM,CAAC;;AAE3B,EAAE,OAAO,IAAI,IAAI,KAAK,CAAC,aAAa;AACpC,IAAI,GAAG;AACP,IAAI;AACJ,MAAM,IAAI,EAAE,OAAO;AACnB,MAAM,aAAa,EAAE,OAAO;AAC5B,MAAM,SAAS,EAAE;AACjB,KAAK;AACL,IAAI;AACJ,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var css = require('../../style/css.js');
|
|
4
|
+
require('../../style/useStyle.js');
|
|
5
|
+
|
|
6
|
+
var _templateObject = _taggedTemplateLiteralLoose(['\n .reactGiphySearchbox-message {\n margin: 0;\n }\n'], ['\n .reactGiphySearchbox-message {\n margin: 0;\n }\n']);
|
|
7
|
+
|
|
8
|
+
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
|
|
9
|
+
|
|
10
|
+
var styles = css.css(_templateObject);
|
|
11
|
+
|
|
12
|
+
exports.styles = styles;
|
|
13
|
+
//# sourceMappingURL=alertStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alertStyles.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/Alert/alertStyles.js"],"sourcesContent":["var _templateObject = _taggedTemplateLiteralLoose(['\\n .reactGiphySearchbox-message {\\n margin: 0;\\n }\\n'], ['\\n .reactGiphySearchbox-message {\\n margin: 0;\\n }\\n']);\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\n/* eslint-disable import/prefer-default-export */\nimport { css } from '../../style';\n\nexport var styles = css(_templateObject);"],"names":["css"],"mappings":";;;;;AAAA,IAAI,eAAe,GAAG,2BAA2B,CAAC,CAAC,2DAA2D,CAAC,EAAE,CAAC,2DAA2D,CAAC,CAAC;;AAE/K,SAAS,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC;;AAK9E,IAAC,MAAM,GAAGA,OAAG,CAAC,eAAe;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var useStyle = require('../../style/useStyle.js');
|
|
7
|
+
var imageItemStyles = require('./imageItemStyles.js');
|
|
8
|
+
|
|
9
|
+
var getUrl = function getUrl(fileType) {
|
|
10
|
+
if (fileType === 'gif') {
|
|
11
|
+
return 'url';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
return fileType;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
var ImageItem = function ImageItem(_ref) {
|
|
18
|
+
var backgroundColor = _ref.backgroundColor,
|
|
19
|
+
item = _ref.item,
|
|
20
|
+
imageRenditionName = _ref.imageRenditionName,
|
|
21
|
+
imageRenditionFileType = _ref.imageRenditionFileType,
|
|
22
|
+
size = _ref.size,
|
|
23
|
+
listItemClassName = _ref.listItemClassName,
|
|
24
|
+
onSelect = _ref.onSelect;
|
|
25
|
+
|
|
26
|
+
useStyle.useStyle('ImageItem', imageItemStyles.styles);
|
|
27
|
+
|
|
28
|
+
return React.createElement(
|
|
29
|
+
'button',
|
|
30
|
+
{
|
|
31
|
+
'data-testid': 'ImageItemButton',
|
|
32
|
+
type: 'button',
|
|
33
|
+
className: 'reactGiphySearchbox-imageButton' + (listItemClassName ? ' ' + listItemClassName : ''),
|
|
34
|
+
style: {
|
|
35
|
+
backgroundColor: backgroundColor,
|
|
36
|
+
width: size + 'px',
|
|
37
|
+
height: item.images[imageRenditionName].height * size / item.images[imageRenditionName].width + 'px'
|
|
38
|
+
},
|
|
39
|
+
onClick: function onClick() {
|
|
40
|
+
return onSelect(item);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
React.createElement('img', {
|
|
44
|
+
'data-testid': 'ImageItemImage',
|
|
45
|
+
width: item.images[imageRenditionName].width,
|
|
46
|
+
height: item.images[imageRenditionName].height,
|
|
47
|
+
alt: item.title,
|
|
48
|
+
src: item.images[imageRenditionName][getUrl(imageRenditionFileType)],
|
|
49
|
+
className: 'reactGiphySearchbox-image'
|
|
50
|
+
})
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.default = ImageItem;
|
|
55
|
+
//# sourceMappingURL=ImageItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageItem.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/ImageItem/ImageItem.js"],"sourcesContent":["import React from 'react';\nimport { useStyle } from '../../style';\nimport { styles } from './imageItemStyles';\n\n\nvar getUrl = function getUrl(fileType) {\n if (fileType === 'gif') {\n return 'url';\n }\n\n return fileType;\n};\n\nvar ImageItem = function ImageItem(_ref) {\n var backgroundColor = _ref.backgroundColor,\n item = _ref.item,\n imageRenditionName = _ref.imageRenditionName,\n imageRenditionFileType = _ref.imageRenditionFileType,\n size = _ref.size,\n listItemClassName = _ref.listItemClassName,\n onSelect = _ref.onSelect;\n\n useStyle('ImageItem', styles);\n\n return React.createElement(\n 'button',\n {\n 'data-testid': 'ImageItemButton',\n type: 'button',\n className: 'reactGiphySearchbox-imageButton' + (listItemClassName ? ' ' + listItemClassName : ''),\n style: {\n backgroundColor: backgroundColor,\n width: size + 'px',\n height: item.images[imageRenditionName].height * size / item.images[imageRenditionName].width + 'px'\n },\n onClick: function onClick() {\n return onSelect(item);\n }\n },\n React.createElement('img', {\n 'data-testid': 'ImageItemImage',\n width: item.images[imageRenditionName].width,\n height: item.images[imageRenditionName].height,\n alt: item.title,\n src: item.images[imageRenditionName][getUrl(imageRenditionFileType)],\n className: 'reactGiphySearchbox-image'\n })\n );\n};\n\nexport default ImageItem;"],"names":["useStyle","styles"],"mappings":";;;;;;;;AAKA,IAAI,MAAM,GAAG,SAAS,MAAM,CAAC,QAAQ,EAAE;AACvC,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,OAAO,KAAK;AAChB,EAAE;;AAEF,EAAE,OAAO,QAAQ;AACjB,CAAC;;AAEE,IAAC,SAAS,GAAG,SAAS,SAAS,CAAC,IAAI,EAAE;AACzC,EAAE,IAAI,eAAe,GAAG,IAAI,CAAC,eAAe;AAC5C,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI;AACtB,MAAM,kBAAkB,GAAG,IAAI,CAAC,kBAAkB;AAClD,MAAM,sBAAsB,GAAG,IAAI,CAAC,sBAAsB;AAC1D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI;AACtB,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB;AAChD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ;;AAE9B,EAAEA,iBAAQ,CAAC,WAAW,EAAEC,sBAAM,CAAC;;AAE/B,EAAE,OAAO,KAAK,CAAC,aAAa;AAC5B,IAAI,QAAQ;AACZ,IAAI;AACJ,MAAM,aAAa,EAAE,iBAAiB;AACtC,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,SAAS,EAAE,iCAAiC,IAAI,iBAAiB,GAAG,GAAG,GAAG,iBAAiB,GAAG,EAAE,CAAC;AACvG,MAAM,KAAK,EAAE;AACb,QAAQ,eAAe,EAAE,eAAe;AACxC,QAAQ,KAAK,EAAE,IAAI,GAAG,IAAI;AAC1B,QAAQ,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,KAAK,GAAG;AACxG,OAAO;AACP,MAAM,OAAO,EAAE,SAAS,OAAO,GAAG;AAClC,QAAQ,OAAO,QAAQ,CAAC,IAAI,CAAC;AAC7B,MAAM;AACN,KAAK;AACL,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE;AAC/B,MAAM,aAAa,EAAE,gBAAgB;AACrC,MAAM,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,KAAK;AAClD,MAAM,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM;AACpD,MAAM,GAAG,EAAE,IAAI,CAAC,KAAK;AACrB,MAAM,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAC1E,MAAM,SAAS,EAAE;AACjB,KAAK;AACL,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var css = require('../../style/css.js');
|
|
4
|
+
require('../../style/useStyle.js');
|
|
5
|
+
|
|
6
|
+
var _templateObject = _taggedTemplateLiteralLoose(['\n .reactGiphySearchbox-imageButton {\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n animation: fadeIn 300ms ease-in;\n }\n\n .reactGiphySearchbox-imageButton:focus {\n opacity: 0.6;\n }\n\n .reactGiphySearchbox-image {\n display: block;\n width: 100%;\n height: auto;\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n'], ['\n .reactGiphySearchbox-imageButton {\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n animation: fadeIn 300ms ease-in;\n }\n\n .reactGiphySearchbox-imageButton:focus {\n opacity: 0.6;\n }\n\n .reactGiphySearchbox-image {\n display: block;\n width: 100%;\n height: auto;\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n']);
|
|
7
|
+
|
|
8
|
+
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
|
|
9
|
+
|
|
10
|
+
var styles = css.css(_templateObject);
|
|
11
|
+
|
|
12
|
+
exports.styles = styles;
|
|
13
|
+
//# sourceMappingURL=imageItemStyles.js.map
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageItemStyles.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/ImageItem/imageItemStyles.js"],"sourcesContent":["var _templateObject = _taggedTemplateLiteralLoose(['\\n .reactGiphySearchbox-imageButton {\\n color: inherit;\\n border: none;\\n padding: 0;\\n font: inherit;\\n cursor: pointer;\\n outline: inherit;\\n animation: fadeIn 300ms ease-in;\\n }\\n\\n .reactGiphySearchbox-imageButton:focus {\\n opacity: 0.6;\\n }\\n\\n .reactGiphySearchbox-image {\\n display: block;\\n width: 100%;\\n height: auto;\\n }\\n\\n @keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n to {\\n opacity: 1;\\n }\\n }\\n'], ['\\n .reactGiphySearchbox-imageButton {\\n color: inherit;\\n border: none;\\n padding: 0;\\n font: inherit;\\n cursor: pointer;\\n outline: inherit;\\n animation: fadeIn 300ms ease-in;\\n }\\n\\n .reactGiphySearchbox-imageButton:focus {\\n opacity: 0.6;\\n }\\n\\n .reactGiphySearchbox-image {\\n display: block;\\n width: 100%;\\n height: auto;\\n }\\n\\n @keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n to {\\n opacity: 1;\\n }\\n }\\n']);\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\n/* eslint-disable import/prefer-default-export */\nimport { css } from '../../style';\n\nexport var styles = css(_templateObject);"],"names":["css"],"mappings":";;;;;AAAA,IAAI,eAAe,GAAG,2BAA2B,CAAC,CAAC,8dAA8d,CAAC,EAAE,CAAC,8dAA8d,CAAC,CAAC;;AAEr/B,SAAS,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC;;AAK9E,IAAC,MAAM,GAAGA,OAAG,CAAC,eAAe;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var bricks_module = require('../../../../bricks.js/dist/bricks.module.js');
|
|
7
|
+
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
26
|
+
|
|
27
|
+
/* eslint-disable import/no-duplicates */
|
|
28
|
+
|
|
29
|
+
var MasonryLayout = function MasonryLayout(_ref) {
|
|
30
|
+
var children = _ref.children,
|
|
31
|
+
sizes = _ref.sizes;
|
|
32
|
+
|
|
33
|
+
var container = React.useRef(null);
|
|
34
|
+
|
|
35
|
+
React.useEffect(function () {
|
|
36
|
+
var bricks = bricks_module.default({
|
|
37
|
+
container: container.current,
|
|
38
|
+
packed: 'data-packed',
|
|
39
|
+
sizes: sizes,
|
|
40
|
+
position: true
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
bricks.resize(true);
|
|
44
|
+
|
|
45
|
+
if (React.Children.count(children) > 0) {
|
|
46
|
+
bricks.pack();
|
|
47
|
+
}
|
|
48
|
+
}, [children]);
|
|
49
|
+
|
|
50
|
+
return React__namespace.createElement(
|
|
51
|
+
'div',
|
|
52
|
+
{ ref: container, 'data-testid': 'MasonryLayoutContainer' },
|
|
53
|
+
children
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
exports.default = MasonryLayout;
|
|
58
|
+
//# sourceMappingURL=MasonryLayout.js.map
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MasonryLayout.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/MasonryLayout/MasonryLayout.js"],"sourcesContent":["/* eslint-disable import/no-duplicates */\nimport * as React from 'react';\nimport { useRef, useEffect, Children } from 'react';\nimport Bricks from 'bricks.js';\n\nvar MasonryLayout = function MasonryLayout(_ref) {\n var children = _ref.children,\n sizes = _ref.sizes;\n\n var container = useRef(null);\n\n useEffect(function () {\n var bricks = Bricks({\n container: container.current,\n packed: 'data-packed',\n sizes: sizes,\n position: true\n });\n\n bricks.resize(true);\n\n if (Children.count(children) > 0) {\n bricks.pack();\n }\n }, [children]);\n\n return React.createElement(\n 'div',\n { ref: container, 'data-testid': 'MasonryLayoutContainer' },\n children\n );\n};\n\nexport default MasonryLayout;"],"names":["useRef","useEffect","Bricks","Children","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAKG,IAAC,aAAa,GAAG,SAAS,aAAa,CAAC,IAAI,EAAE;AACjD,EAAE,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC9B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK;;AAExB,EAAE,IAAI,SAAS,GAAGA,YAAM,CAAC,IAAI,CAAC;;AAE9B,EAAEC,eAAS,CAAC,YAAY;AACxB,IAAI,IAAI,MAAM,GAAGC,qBAAM,CAAC;AACxB,MAAM,SAAS,EAAE,SAAS,CAAC,OAAO;AAClC,MAAM,MAAM,EAAE,aAAa;AAC3B,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,QAAQ,EAAE;AAChB,KAAK,CAAC;;AAEN,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;;AAEvB,IAAI,IAAIC,cAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AACtC,MAAM,MAAM,CAAC,IAAI,EAAE;AACnB,IAAI;AACJ,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;;AAEhB,EAAE,OAAOC,gBAAK,CAAC,aAAa;AAC5B,IAAI,KAAK;AACT,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,EAAE,wBAAwB,EAAE;AAC/D,IAAI;AACJ,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var useStyle = require('../../style/useStyle.js');
|
|
7
|
+
var poweredByGiphyStyles = require('./poweredByGiphyStyles.js');
|
|
8
|
+
var PoweredByGiphyLogo = require('../../assets/PoweredByGiphyLogo.js');
|
|
9
|
+
|
|
10
|
+
var PoweredByGiphy = function PoweredByGiphy(_ref) {
|
|
11
|
+
var image = _ref.image;
|
|
12
|
+
|
|
13
|
+
useStyle.useStyle('PoweredByGiphy', poweredByGiphyStyles.styles);
|
|
14
|
+
|
|
15
|
+
return React.createElement(
|
|
16
|
+
'div',
|
|
17
|
+
{ className: 'reactGiphySearchbox-poweredByGiphy' },
|
|
18
|
+
image ? React.createElement('img', { src: image, alt: 'Powered by Giphy', 'data-testid': 'PoweredByGiphy' }) : React.createElement(PoweredByGiphyLogo.default, null)
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.default = PoweredByGiphy;
|
|
23
|
+
//# sourceMappingURL=PoweredByGiphy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PoweredByGiphy.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/PoweredByGiphy.js"],"sourcesContent":["import React from 'react';\nimport { useStyle } from '../../style';\nimport { styles } from './poweredByGiphyStyles';\nimport PoweredByGiphyLogo from '../../assets/PoweredByGiphyLogo';\n\nvar PoweredByGiphy = function PoweredByGiphy(_ref) {\n var image = _ref.image;\n\n useStyle('PoweredByGiphy', styles);\n\n return React.createElement(\n 'div',\n { className: 'reactGiphySearchbox-poweredByGiphy' },\n image ? React.createElement('img', { src: image, alt: 'Powered by Giphy', 'data-testid': 'PoweredByGiphy' }) : React.createElement(PoweredByGiphyLogo, null)\n );\n};\n\nexport default PoweredByGiphy;"],"names":["useStyle","styles","PoweredByGiphyLogo"],"mappings":";;;;;;;;;AAKG,IAAC,cAAc,GAAG,SAAS,cAAc,CAAC,IAAI,EAAE;AACnD,EAAE,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK;;AAExB,EAAEA,iBAAQ,CAAC,gBAAgB,EAAEC,2BAAM,CAAC;;AAEpC,EAAE,OAAO,KAAK,CAAC,aAAa;AAC5B,IAAI,KAAK;AACT,IAAI,EAAE,SAAS,EAAE,oCAAoC,EAAE;AACvD,IAAI,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,CAACC,0BAAkB,EAAE,IAAI;AAC/J,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var css = require('../../style/css.js');
|
|
4
|
+
require('../../style/useStyle.js');
|
|
5
|
+
|
|
6
|
+
var _templateObject = _taggedTemplateLiteralLoose(['\n .reactGiphySearchbox-poweredByGiphy {\n padding-top: 10px;\n width: 100px;\n }\n\n .reactGiphySearchbox-poweredByGiphy img {\n display: block;\n width: 100%;\n }\n'], ['\n .reactGiphySearchbox-poweredByGiphy {\n padding-top: 10px;\n width: 100px;\n }\n\n .reactGiphySearchbox-poweredByGiphy img {\n display: block;\n width: 100%;\n }\n']);
|
|
7
|
+
|
|
8
|
+
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
|
|
9
|
+
|
|
10
|
+
var styles = css.css(_templateObject);
|
|
11
|
+
|
|
12
|
+
exports.styles = styles;
|
|
13
|
+
//# sourceMappingURL=poweredByGiphyStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poweredByGiphyStyles.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/PoweredByGiphy/poweredByGiphyStyles.js"],"sourcesContent":["var _templateObject = _taggedTemplateLiteralLoose(['\\n .reactGiphySearchbox-poweredByGiphy {\\n padding-top: 10px;\\n width: 100px;\\n }\\n\\n .reactGiphySearchbox-poweredByGiphy img {\\n display: block;\\n width: 100%;\\n }\\n'], ['\\n .reactGiphySearchbox-poweredByGiphy {\\n padding-top: 10px;\\n width: 100px;\\n }\\n\\n .reactGiphySearchbox-poweredByGiphy img {\\n display: block;\\n width: 100%;\\n }\\n']);\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\n/* eslint-disable import/prefer-default-export */\nimport { css } from '../../style';\n\nexport var styles = css(_templateObject);"],"names":["css"],"mappings":";;;;;AAAA,IAAI,eAAe,GAAG,2BAA2B,CAAC,CAAC,wLAAwL,CAAC,EAAE,CAAC,wLAAwL,CAAC,CAAC;;AAEza,SAAS,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC;;AAK9E,IAAC,MAAM,GAAGA,OAAG,CAAC,eAAe;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var useStyle = require('../../style/useStyle.js');
|
|
7
|
+
var searchFormStyles = require('./searchFormStyles.js');
|
|
8
|
+
|
|
9
|
+
var SearchForm = function SearchForm(_ref) {
|
|
10
|
+
var onSubmit = _ref.onSubmit,
|
|
11
|
+
placeholder = _ref.placeholder,
|
|
12
|
+
searchFormClassName = _ref.searchFormClassName,
|
|
13
|
+
setValue = _ref.setValue,
|
|
14
|
+
value = _ref.value,
|
|
15
|
+
autoFocus = _ref.autoFocus;
|
|
16
|
+
|
|
17
|
+
useStyle.useStyle('SearchForm', searchFormStyles.styles);
|
|
18
|
+
|
|
19
|
+
return React.createElement(
|
|
20
|
+
'form',
|
|
21
|
+
{
|
|
22
|
+
'data-testid': 'SearchFormForm',
|
|
23
|
+
onSubmit: onSubmit,
|
|
24
|
+
autoComplete: 'off',
|
|
25
|
+
className: 'reactGiphySearchbox-searchForm-form' + (searchFormClassName ? ' ' + searchFormClassName : '')
|
|
26
|
+
},
|
|
27
|
+
React.createElement('input', {
|
|
28
|
+
'data-testid': 'SearchFormInput',
|
|
29
|
+
type: 'text',
|
|
30
|
+
placeholder: placeholder,
|
|
31
|
+
onChange: setValue,
|
|
32
|
+
value: value,
|
|
33
|
+
name: 'search',
|
|
34
|
+
className: 'reactGiphySearchbox-searchForm-input'
|
|
35
|
+
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
36
|
+
, autoFocus: autoFocus
|
|
37
|
+
})
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
exports.default = SearchForm;
|
|
42
|
+
//# sourceMappingURL=SearchForm.js.map
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchForm.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/SearchForm/SearchForm.js"],"sourcesContent":["import React from 'react';\nimport { useStyle } from '../../style';\nimport { styles } from './searchFormStyles';\n\nvar SearchForm = function SearchForm(_ref) {\n var onSubmit = _ref.onSubmit,\n placeholder = _ref.placeholder,\n searchFormClassName = _ref.searchFormClassName,\n setValue = _ref.setValue,\n value = _ref.value,\n autoFocus = _ref.autoFocus;\n\n useStyle('SearchForm', styles);\n\n return React.createElement(\n 'form',\n {\n 'data-testid': 'SearchFormForm',\n onSubmit: onSubmit,\n autoComplete: 'off',\n className: 'reactGiphySearchbox-searchForm-form' + (searchFormClassName ? ' ' + searchFormClassName : '')\n },\n React.createElement('input', {\n 'data-testid': 'SearchFormInput',\n type: 'text',\n placeholder: placeholder,\n onChange: setValue,\n value: value,\n name: 'search',\n className: 'reactGiphySearchbox-searchForm-input'\n // eslint-disable-next-line jsx-a11y/no-autofocus\n , autoFocus: autoFocus\n })\n );\n};\nexport default SearchForm;"],"names":["useStyle","styles"],"mappings":";;;;;;;;AAIG,IAAC,UAAU,GAAG,SAAS,UAAU,CAAC,IAAI,EAAE;AAC3C,EAAE,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC9B,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW;AACpC,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB;AACpD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC9B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK;AACxB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS;;AAEhC,EAAEA,iBAAQ,CAAC,YAAY,EAAEC,uBAAM,CAAC;;AAEhC,EAAE,OAAO,KAAK,CAAC,aAAa;AAC5B,IAAI,MAAM;AACV,IAAI;AACJ,MAAM,aAAa,EAAE,gBAAgB;AACrC,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,YAAY,EAAE,KAAK;AACzB,MAAM,SAAS,EAAE,qCAAqC,IAAI,mBAAmB,GAAG,GAAG,GAAG,mBAAmB,GAAG,EAAE;AAC9G,KAAK;AACL,IAAI,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE;AACjC,MAAM,aAAa,EAAE,iBAAiB;AACtC,MAAM,IAAI,EAAE,MAAM;AAClB,MAAM,WAAW,EAAE,WAAW;AAC9B,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,SAAS,EAAE;AACjB;AACA,QAAQ,SAAS,EAAE;AACnB,KAAK;AACL,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var css = require('../../style/css.js');
|
|
4
|
+
require('../../style/useStyle.js');
|
|
5
|
+
|
|
6
|
+
var _templateObject = _taggedTemplateLiteralLoose(['\n .reactGiphySearchbox-searchForm-form {\n position: relative;\n margin-bottom: 10px;\n }\n\n .reactGiphySearchbox-searchForm-input {\n padding: 6px 4px;\n width: 100%;\n font-size: 1em;\n font-family: inherit;\n outline: none;\n border: 1px solid #ddd;\n }\n\n .reactGiphySearchbox-searchForm-input:focus {\n border-color: #bbb;\n }\n'], ['\n .reactGiphySearchbox-searchForm-form {\n position: relative;\n margin-bottom: 10px;\n }\n\n .reactGiphySearchbox-searchForm-input {\n padding: 6px 4px;\n width: 100%;\n font-size: 1em;\n font-family: inherit;\n outline: none;\n border: 1px solid #ddd;\n }\n\n .reactGiphySearchbox-searchForm-input:focus {\n border-color: #bbb;\n }\n']);
|
|
7
|
+
|
|
8
|
+
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
|
|
9
|
+
|
|
10
|
+
var styles = css.css(_templateObject);
|
|
11
|
+
|
|
12
|
+
exports.styles = styles;
|
|
13
|
+
//# sourceMappingURL=searchFormStyles.js.map
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchFormStyles.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/SearchForm/searchFormStyles.js"],"sourcesContent":["var _templateObject = _taggedTemplateLiteralLoose(['\\n .reactGiphySearchbox-searchForm-form {\\n position: relative;\\n margin-bottom: 10px;\\n }\\n\\n .reactGiphySearchbox-searchForm-input {\\n padding: 6px 4px;\\n width: 100%;\\n font-size: 1em;\\n font-family: inherit;\\n outline: none;\\n border: 1px solid #ddd;\\n }\\n\\n .reactGiphySearchbox-searchForm-input:focus {\\n border-color: #bbb;\\n }\\n'], ['\\n .reactGiphySearchbox-searchForm-form {\\n position: relative;\\n margin-bottom: 10px;\\n }\\n\\n .reactGiphySearchbox-searchForm-input {\\n padding: 6px 4px;\\n width: 100%;\\n font-size: 1em;\\n font-family: inherit;\\n outline: none;\\n border: 1px solid #ddd;\\n }\\n\\n .reactGiphySearchbox-searchForm-input:focus {\\n border-color: #bbb;\\n }\\n']);\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\n/* eslint-disable import/prefer-default-export */\nimport { css } from '../../style';\n\nexport var styles = css(_templateObject);"],"names":["css"],"mappings":";;;;;AAAA,IAAI,eAAe,GAAG,2BAA2B,CAAC,CAAC,mXAAmX,CAAC,EAAE,CAAC,mXAAmX,CAAC,CAAC;;AAE/xB,SAAS,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC;;AAK9E,IAAC,MAAM,GAAGA,OAAG,CAAC,eAAe;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var useStyle = require('../../style/useStyle.js');
|
|
7
|
+
var spinnerStyles = require('./spinnerStyles.js');
|
|
8
|
+
var SpinnerIcon = require('../../assets/SpinnerIcon.js');
|
|
9
|
+
|
|
10
|
+
var Spinner = function Spinner(_ref) {
|
|
11
|
+
var show = _ref.show,
|
|
12
|
+
message = _ref.message,
|
|
13
|
+
image = _ref.image;
|
|
14
|
+
|
|
15
|
+
useStyle.useStyle('Spinner', spinnerStyles.styles);
|
|
16
|
+
|
|
17
|
+
return show && React.createElement(
|
|
18
|
+
'div',
|
|
19
|
+
{ role: 'status', className: 'reactGiphySearchbox-spinnerWrapper' },
|
|
20
|
+
React.createElement(
|
|
21
|
+
'div',
|
|
22
|
+
{ className: 'reactGiphySearchbox-spinner', 'data-testid': 'Spinner' },
|
|
23
|
+
image ? React.createElement('img', { src: image, alt: 'Loading icon' }) : React.createElement(SpinnerIcon.default, null)
|
|
24
|
+
),
|
|
25
|
+
React.createElement(
|
|
26
|
+
'div',
|
|
27
|
+
{
|
|
28
|
+
className: 'reactGiphySearchbox-spinnerText',
|
|
29
|
+
'data-testid': 'SpinnerText'
|
|
30
|
+
},
|
|
31
|
+
message
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.default = Spinner;
|
|
37
|
+
//# sourceMappingURL=Spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/Spinner/Spinner.js"],"sourcesContent":["import React from 'react';\nimport { useStyle } from '../../style';\nimport { styles } from './spinnerStyles';\nimport SpinnerIcon from '../../assets/SpinnerIcon';\n\nvar Spinner = function Spinner(_ref) {\n var show = _ref.show,\n message = _ref.message,\n image = _ref.image;\n\n useStyle('Spinner', styles);\n\n return show && React.createElement(\n 'div',\n { role: 'status', className: 'reactGiphySearchbox-spinnerWrapper' },\n React.createElement(\n 'div',\n { className: 'reactGiphySearchbox-spinner', 'data-testid': 'Spinner' },\n image ? React.createElement('img', { src: image, alt: 'Loading icon' }) : React.createElement(SpinnerIcon, null)\n ),\n React.createElement(\n 'div',\n {\n className: 'reactGiphySearchbox-spinnerText',\n 'data-testid': 'SpinnerText'\n },\n message\n )\n );\n};\n\nexport default Spinner;"],"names":["useStyle","styles","SpinnerIcon"],"mappings":";;;;;;;;;AAKG,IAAC,OAAO,GAAG,SAAS,OAAO,CAAC,IAAI,EAAE;AACrC,EAAE,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI;AACtB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO;AAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK;;AAExB,EAAEA,iBAAQ,CAAC,SAAS,EAAEC,oBAAM,CAAC;;AAE7B,EAAE,OAAO,IAAI,IAAI,KAAK,CAAC,aAAa;AACpC,IAAI,KAAK;AACT,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,oCAAoC,EAAE;AACvE,IAAI,KAAK,CAAC,aAAa;AACvB,MAAM,KAAK;AACX,MAAM,EAAE,SAAS,EAAE,6BAA6B,EAAE,aAAa,EAAE,SAAS,EAAE;AAC5E,MAAM,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,CAACC,mBAAW,EAAE,IAAI;AACrH,KAAK;AACL,IAAI,KAAK,CAAC,aAAa;AACvB,MAAM,KAAK;AACX,MAAM;AACN,QAAQ,SAAS,EAAE,iCAAiC;AACpD,QAAQ,aAAa,EAAE;AACvB,OAAO;AACP,MAAM;AACN;AACA,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var css = require('../../style/css.js');
|
|
4
|
+
require('../../style/useStyle.js');
|
|
5
|
+
|
|
6
|
+
var _templateObject = _taggedTemplateLiteralLoose(['\n .reactGiphySearchbox-spinnerWrapper {\n text-align: center;\n padding-bottom: 10px;\n }\n\n .reactGiphySearchbox-spinner {\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n background-size: contain;\n animation: spin 500ms linear infinite;\n }\n\n .reactGiphySearchbox-spinner img {\n display: block;\n width: 100%;\n }\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n\n /* https://hugogiraudel.com/2016/10/13/css-hide-and-seek/ */\n .reactGiphySearchbox-spinnerText {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n }\n'], ['\n .reactGiphySearchbox-spinnerWrapper {\n text-align: center;\n padding-bottom: 10px;\n }\n\n .reactGiphySearchbox-spinner {\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n background-size: contain;\n animation: spin 500ms linear infinite;\n }\n\n .reactGiphySearchbox-spinner img {\n display: block;\n width: 100%;\n }\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n\n /* https://hugogiraudel.com/2016/10/13/css-hide-and-seek/ */\n .reactGiphySearchbox-spinnerText {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n }\n']);
|
|
7
|
+
|
|
8
|
+
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
|
|
9
|
+
|
|
10
|
+
var styles = css.css(_templateObject);
|
|
11
|
+
|
|
12
|
+
exports.styles = styles;
|
|
13
|
+
//# sourceMappingURL=spinnerStyles.js.map
|
package/dist/cjs/node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinnerStyles.js","sources":["../../../../../../../node_modules/react-giphy-searchbox/es/components/Spinner/spinnerStyles.js"],"sourcesContent":["var _templateObject = _taggedTemplateLiteralLoose(['\\n .reactGiphySearchbox-spinnerWrapper {\\n text-align: center;\\n padding-bottom: 10px;\\n }\\n\\n .reactGiphySearchbox-spinner {\\n display: inline-block;\\n vertical-align: middle;\\n width: 20px;\\n height: 20px;\\n background-size: contain;\\n animation: spin 500ms linear infinite;\\n }\\n\\n .reactGiphySearchbox-spinner img {\\n display: block;\\n width: 100%;\\n }\\n\\n @keyframes spin {\\n 0% {\\n transform: rotate(0deg);\\n }\\n 100% {\\n transform: rotate(360deg);\\n }\\n }\\n\\n /* https://hugogiraudel.com/2016/10/13/css-hide-and-seek/ */\\n .reactGiphySearchbox-spinnerText {\\n border: 0;\\n clip: rect(1px, 1px, 1px, 1px);\\n -webkit-clip-path: inset(50%);\\n clip-path: inset(50%);\\n height: 1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n white-space: nowrap;\\n }\\n'], ['\\n .reactGiphySearchbox-spinnerWrapper {\\n text-align: center;\\n padding-bottom: 10px;\\n }\\n\\n .reactGiphySearchbox-spinner {\\n display: inline-block;\\n vertical-align: middle;\\n width: 20px;\\n height: 20px;\\n background-size: contain;\\n animation: spin 500ms linear infinite;\\n }\\n\\n .reactGiphySearchbox-spinner img {\\n display: block;\\n width: 100%;\\n }\\n\\n @keyframes spin {\\n 0% {\\n transform: rotate(0deg);\\n }\\n 100% {\\n transform: rotate(360deg);\\n }\\n }\\n\\n /* https://hugogiraudel.com/2016/10/13/css-hide-and-seek/ */\\n .reactGiphySearchbox-spinnerText {\\n border: 0;\\n clip: rect(1px, 1px, 1px, 1px);\\n -webkit-clip-path: inset(50%);\\n clip-path: inset(50%);\\n height: 1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n white-space: nowrap;\\n }\\n']);\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\n/* eslint-disable import/prefer-default-export */\nimport { css } from '../../style';\n\nexport var styles = css(_templateObject);"],"names":["css"],"mappings":";;;;;AAAA,IAAI,eAAe,GAAG,2BAA2B,CAAC,CAAC,82BAA82B,CAAC,EAAE,CAAC,82BAA82B,CAAC,CAAC;;AAErxD,SAAS,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC;;AAK9E,IAAC,MAAM,GAAGA,OAAG,CAAC,eAAe;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var dataFetchReducer = require('../reducers/dataFetchReducer.js');
|
|
7
|
+
|
|
8
|
+
var useApi = function useApi() {
|
|
9
|
+
var _useReducer = React.useReducer(dataFetchReducer.default, {
|
|
10
|
+
loading: false,
|
|
11
|
+
error: false,
|
|
12
|
+
data: [],
|
|
13
|
+
lastPage: false
|
|
14
|
+
}),
|
|
15
|
+
state = _useReducer[0],
|
|
16
|
+
dispatch = _useReducer[1];
|
|
17
|
+
|
|
18
|
+
var fetchImages = function fetchImages(url, isMore) {
|
|
19
|
+
if (isMore) {
|
|
20
|
+
dispatch({ type: 'FETCH_MORE_INIT' });
|
|
21
|
+
} else {
|
|
22
|
+
dispatch({ type: 'FETCH_INIT' });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
fetch(url).then(function (response) {
|
|
26
|
+
if (!response.ok) {
|
|
27
|
+
return response.json().then(function (json) {
|
|
28
|
+
throw json;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return response.json();
|
|
33
|
+
}).then(function (response) {
|
|
34
|
+
if (!response.pagination) {
|
|
35
|
+
return dispatch({ type: 'FETCH_FAILURE' });
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (isMore) {
|
|
39
|
+
return dispatch({
|
|
40
|
+
type: 'FETCH_MORE_SUCCESS',
|
|
41
|
+
payload: response.data,
|
|
42
|
+
pagination: response.pagination
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return dispatch({
|
|
47
|
+
type: 'FETCH_SUCCESS',
|
|
48
|
+
payload: response.data,
|
|
49
|
+
pagination: response.pagination
|
|
50
|
+
});
|
|
51
|
+
}).catch(function () {
|
|
52
|
+
dispatch({ type: 'FETCH_FAILURE' });
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
return [state, fetchImages];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
exports.default = useApi;
|
|
60
|
+
//# sourceMappingURL=useApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/hooks/useApi.js"],"sourcesContent":["import { useReducer } from 'react';\nimport dataFetchReducer from '../reducers/dataFetchReducer';\n\nvar useApi = function useApi() {\n var _useReducer = useReducer(dataFetchReducer, {\n loading: false,\n error: false,\n data: [],\n lastPage: false\n }),\n state = _useReducer[0],\n dispatch = _useReducer[1];\n\n var fetchImages = function fetchImages(url, isMore) {\n if (isMore) {\n dispatch({ type: 'FETCH_MORE_INIT' });\n } else {\n dispatch({ type: 'FETCH_INIT' });\n }\n\n fetch(url).then(function (response) {\n if (!response.ok) {\n return response.json().then(function (json) {\n throw json;\n });\n }\n\n return response.json();\n }).then(function (response) {\n if (!response.pagination) {\n return dispatch({ type: 'FETCH_FAILURE' });\n }\n\n if (isMore) {\n return dispatch({\n type: 'FETCH_MORE_SUCCESS',\n payload: response.data,\n pagination: response.pagination\n });\n }\n\n return dispatch({\n type: 'FETCH_SUCCESS',\n payload: response.data,\n pagination: response.pagination\n });\n }).catch(function () {\n dispatch({ type: 'FETCH_FAILURE' });\n });\n };\n\n return [state, fetchImages];\n};\n\nexport default useApi;"],"names":["useReducer","dataFetchReducer"],"mappings":";;;;;;;AAGG,IAAC,MAAM,GAAG,SAAS,MAAM,GAAG;AAC/B,EAAE,IAAI,WAAW,GAAGA,gBAAU,CAACC,wBAAgB,EAAE;AACjD,IAAI,OAAO,EAAE,KAAK;AAClB,IAAI,KAAK,EAAE,KAAK;AAChB,IAAI,IAAI,EAAE,EAAE;AACZ,IAAI,QAAQ,EAAE;AACd,GAAG,CAAC;AACJ,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC;AAC5B,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC;;AAE/B,EAAE,IAAI,WAAW,GAAG,SAAS,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE;AACtD,IAAI,IAAI,MAAM,EAAE;AAChB,MAAM,QAAQ,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;AAC3C,IAAI,CAAC,MAAM;AACX,MAAM,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;AACtC,IAAI;;AAEJ,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU,QAAQ,EAAE;AACxC,MAAM,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;AACxB,QAAQ,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE;AACpD,UAAU,MAAM,IAAI;AACpB,QAAQ,CAAC,CAAC;AACV,MAAM;;AAEN,MAAM,OAAO,QAAQ,CAAC,IAAI,EAAE;AAC5B,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,QAAQ,EAAE;AAChC,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;AAChC,QAAQ,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;AAClD,MAAM;;AAEN,MAAM,IAAI,MAAM,EAAE;AAClB,QAAQ,OAAO,QAAQ,CAAC;AACxB,UAAU,IAAI,EAAE,oBAAoB;AACpC,UAAU,OAAO,EAAE,QAAQ,CAAC,IAAI;AAChC,UAAU,UAAU,EAAE,QAAQ,CAAC;AAC/B,SAAS,CAAC;AACV,MAAM;;AAEN,MAAM,OAAO,QAAQ,CAAC;AACtB,QAAQ,IAAI,EAAE,eAAe;AAC7B,QAAQ,OAAO,EAAE,QAAQ,CAAC,IAAI;AAC9B,QAAQ,UAAU,EAAE,QAAQ,CAAC;AAC7B,OAAO,CAAC;AACR,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY;AACzB,MAAM,QAAQ,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;AACzC,IAAI,CAAC,CAAC;AACN,EAAE,CAAC;;AAEH,EAAE,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;AAC7B;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function useDebounce(value, delay) {
|
|
8
|
+
var _useState = React.useState(value),
|
|
9
|
+
debouncedValue = _useState[0],
|
|
10
|
+
setDebouncedValue = _useState[1];
|
|
11
|
+
|
|
12
|
+
React.useEffect(function () {
|
|
13
|
+
// Set debouncedValue to value (passed in) after the specified delay
|
|
14
|
+
var handler = setTimeout(function () {
|
|
15
|
+
setDebouncedValue(value);
|
|
16
|
+
}, delay);
|
|
17
|
+
|
|
18
|
+
// Return a cleanup function that will be called every time
|
|
19
|
+
// useEffect is re-called. useEffect will only be re-called
|
|
20
|
+
// if value changes (see the inputs array below).
|
|
21
|
+
// This is how we prevent debouncedValue from changing if value is
|
|
22
|
+
// changed within the delay period. Timeout gets cleared and restarted.
|
|
23
|
+
// To put it in context, if the user is typing within our app's
|
|
24
|
+
// search box, we don't want the debouncedValue to update until
|
|
25
|
+
// they've stopped typing for more than 500ms.
|
|
26
|
+
return function () {
|
|
27
|
+
clearTimeout(handler);
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
// Only re-call effect if value changes
|
|
31
|
+
// You could also add the "delay" var to inputs array if you
|
|
32
|
+
// need to be able to change that dynamically.
|
|
33
|
+
[value]);
|
|
34
|
+
|
|
35
|
+
return debouncedValue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.default = useDebounce;
|
|
39
|
+
//# sourceMappingURL=useDebounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebounce.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/hooks/useDebounce.js"],"sourcesContent":["import { useState, useEffect } from 'react';\n\nfunction useDebounce(value, delay) {\n var _useState = useState(value),\n debouncedValue = _useState[0],\n setDebouncedValue = _useState[1];\n\n useEffect(function () {\n // Set debouncedValue to value (passed in) after the specified delay\n var handler = setTimeout(function () {\n setDebouncedValue(value);\n }, delay);\n\n // Return a cleanup function that will be called every time\n // useEffect is re-called. useEffect will only be re-called\n // if value changes (see the inputs array below).\n // This is how we prevent debouncedValue from changing if value is\n // changed within the delay period. Timeout gets cleared and restarted.\n // To put it in context, if the user is typing within our app's\n // search box, we don't want the debouncedValue to update until\n // they've stopped typing for more than 500ms.\n return function () {\n clearTimeout(handler);\n };\n },\n // Only re-call effect if value changes\n // You could also add the \"delay\" var to inputs array if you\n // need to be able to change that dynamically.\n [value]);\n\n return debouncedValue;\n}\n\nexport default useDebounce;"],"names":["useState","useEffect"],"mappings":";;;;;;AAEA,SAAS,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE;AACnC,EAAE,IAAI,SAAS,GAAGA,cAAQ,CAAC,KAAK,CAAC;AACjC,MAAM,cAAc,GAAG,SAAS,CAAC,CAAC,CAAC;AACnC,MAAM,iBAAiB,GAAG,SAAS,CAAC,CAAC,CAAC;;AAEtC,EAAEC,eAAS,CAAC,YAAY;AACxB;AACA,IAAI,IAAI,OAAO,GAAG,UAAU,CAAC,YAAY;AACzC,MAAM,iBAAiB,CAAC,KAAK,CAAC;AAC9B,IAAI,CAAC,EAAE,KAAK,CAAC;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,YAAY;AACvB,MAAM,YAAY,CAAC,OAAO,CAAC;AAC3B,IAAI,CAAC;AACL,EAAE,CAAC;AACH;AACA;AACA;AACA,EAAE,CAAC,KAAK,CAAC,CAAC;;AAEV,EAAE,OAAO,cAAc;AACvB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function useMedia(queries, values, defaultValue) {
|
|
8
|
+
var mediaQueryLists = queries.map(function (q) {
|
|
9
|
+
return window.matchMedia(q);
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
var getValue = function getValue() {
|
|
13
|
+
// Get index of first media query that matches
|
|
14
|
+
var index = mediaQueryLists.findIndex(function (mql) {
|
|
15
|
+
return mql.matches;
|
|
16
|
+
});
|
|
17
|
+
// Return related value or defaultValue if none
|
|
18
|
+
return typeof values[index] !== 'undefined' ? values[index] : defaultValue;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// State and setter for matched value
|
|
22
|
+
|
|
23
|
+
var _useState = React.useState(getValue),
|
|
24
|
+
value = _useState[0],
|
|
25
|
+
setValue = _useState[1];
|
|
26
|
+
|
|
27
|
+
React.useEffect(function () {
|
|
28
|
+
var handler = function handler() {
|
|
29
|
+
return setValue(getValue);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// Set a listener for each media query with above handler as callback.
|
|
33
|
+
mediaQueryLists.forEach(function (mql) {
|
|
34
|
+
return mql.addListener(handler);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// Remove listeners on cleanup
|
|
38
|
+
return function () {
|
|
39
|
+
return mediaQueryLists.forEach(function (mql) {
|
|
40
|
+
return mql.removeListener(handler);
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
}, []);
|
|
44
|
+
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
exports.default = useMedia;
|
|
49
|
+
//# sourceMappingURL=useMedia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMedia.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/hooks/useMedia.js"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport default function useMedia(queries, values, defaultValue) {\n var mediaQueryLists = queries.map(function (q) {\n return window.matchMedia(q);\n });\n\n var getValue = function getValue() {\n // Get index of first media query that matches\n var index = mediaQueryLists.findIndex(function (mql) {\n return mql.matches;\n });\n // Return related value or defaultValue if none\n return typeof values[index] !== 'undefined' ? values[index] : defaultValue;\n };\n\n // State and setter for matched value\n\n var _useState = useState(getValue),\n value = _useState[0],\n setValue = _useState[1];\n\n useEffect(function () {\n var handler = function handler() {\n return setValue(getValue);\n };\n\n // Set a listener for each media query with above handler as callback.\n mediaQueryLists.forEach(function (mql) {\n return mql.addListener(handler);\n });\n\n // Remove listeners on cleanup\n return function () {\n return mediaQueryLists.forEach(function (mql) {\n return mql.removeListener(handler);\n });\n };\n }, []);\n\n return value;\n}"],"names":["useState","useEffect"],"mappings":";;;;;;AAEe,SAAS,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE;AAChE,EAAE,IAAI,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;AACjD,IAAI,OAAO,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAC/B,EAAE,CAAC,CAAC;;AAEJ,EAAE,IAAI,QAAQ,GAAG,SAAS,QAAQ,GAAG;AACrC;AACA,IAAI,IAAI,KAAK,GAAG,eAAe,CAAC,SAAS,CAAC,UAAU,GAAG,EAAE;AACzD,MAAM,OAAO,GAAG,CAAC,OAAO;AACxB,IAAI,CAAC,CAAC;AACN;AACA,IAAI,OAAO,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,YAAY;AAC9E,EAAE,CAAC;;AAEH;;AAEA,EAAE,IAAI,SAAS,GAAGA,cAAQ,CAAC,QAAQ,CAAC;AACpC,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;AAC1B,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC;;AAE7B,EAAEC,eAAS,CAAC,YAAY;AACxB,IAAI,IAAI,OAAO,GAAG,SAAS,OAAO,GAAG;AACrC,MAAM,OAAO,QAAQ,CAAC,QAAQ,CAAC;AAC/B,IAAI,CAAC;;AAEL;AACA,IAAI,eAAe,CAAC,OAAO,CAAC,UAAU,GAAG,EAAE;AAC3C,MAAM,OAAO,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC;AACrC,IAAI,CAAC,CAAC;;AAEN;AACA,IAAI,OAAO,YAAY;AACvB,MAAM,OAAO,eAAe,CAAC,OAAO,CAAC,UAAU,GAAG,EAAE;AACpD,QAAQ,OAAO,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC;AAC1C,MAAM,CAAC,CAAC;AACR,IAAI,CAAC;AACL,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
var useSearchForm = function useSearchForm() {
|
|
8
|
+
var _useState = React.useState(''),
|
|
9
|
+
query = _useState[0],
|
|
10
|
+
setInputs = _useState[1];
|
|
11
|
+
|
|
12
|
+
var handleSubmit = function handleSubmit(e) {
|
|
13
|
+
if (e) {
|
|
14
|
+
e.preventDefault();
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var handleInputChange = function handleInputChange(e) {
|
|
18
|
+
e.persist();
|
|
19
|
+
setInputs(e.target.value);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
return {
|
|
23
|
+
handleSubmit: handleSubmit,
|
|
24
|
+
handleInputChange: handleInputChange,
|
|
25
|
+
query: query
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
exports.default = useSearchForm;
|
|
30
|
+
//# sourceMappingURL=useSearchForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSearchForm.js","sources":["../../../../../../node_modules/react-giphy-searchbox/es/hooks/useSearchForm.js"],"sourcesContent":["import { useState } from 'react';\n\nvar useSearchForm = function useSearchForm() {\n var _useState = useState(''),\n query = _useState[0],\n setInputs = _useState[1];\n\n var handleSubmit = function handleSubmit(e) {\n if (e) {\n e.preventDefault();\n }\n };\n var handleInputChange = function handleInputChange(e) {\n e.persist();\n setInputs(e.target.value);\n };\n\n return {\n handleSubmit: handleSubmit,\n handleInputChange: handleInputChange,\n query: query\n };\n};\n\nexport default useSearchForm;"],"names":["useState"],"mappings":";;;;;;AAEG,IAAC,aAAa,GAAG,SAAS,aAAa,GAAG;AAC7C,EAAE,IAAI,SAAS,GAAGA,cAAQ,CAAC,EAAE,CAAC;AAC9B,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;AAC1B,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC;;AAE9B,EAAE,IAAI,YAAY,GAAG,SAAS,YAAY,CAAC,CAAC,EAAE;AAC9C,IAAI,IAAI,CAAC,EAAE;AACX,MAAM,CAAC,CAAC,cAAc,EAAE;AACxB,IAAI;AACJ,EAAE,CAAC;AACH,EAAE,IAAI,iBAAiB,GAAG,SAAS,iBAAiB,CAAC,CAAC,EAAE;AACxD,IAAI,CAAC,CAAC,OAAO,EAAE;AACf,IAAI,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AAC7B,EAAE,CAAC;;AAEH,EAAE,OAAO;AACT,IAAI,YAAY,EAAE,YAAY;AAC9B,IAAI,iBAAiB,EAAE,iBAAiB;AACxC,IAAI,KAAK,EAAE;AACX,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|