@homecode/ui 5.1.9 → 5.1.10
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/esm/index.js +109 -2
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.js +28 -2
- package/dist/esm/src/components/AssistiveText/AssistiveText.js +10 -2
- package/dist/esm/src/components/AssistiveText/AssistiveText.styl.js +7 -2
- package/dist/esm/src/components/Autocomplete/Autocomplete.js +429 -2
- package/dist/esm/src/components/Autocomplete/Autocomplete.styl.js +7 -2
- package/dist/esm/src/components/Button/Button.helpers.js +12 -2
- package/dist/esm/src/components/Button/Button.js +38 -2
- package/dist/esm/src/components/Button/Button.styl.js +7 -2
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.js +10 -2
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.styl.js +7 -2
- package/dist/esm/src/components/Calendar/Calendar.helpers.js +65 -2
- package/dist/esm/src/components/Calendar/Calendar.js +136 -2
- package/dist/esm/src/components/Calendar/Calendar.styl.js +7 -2
- package/dist/esm/src/components/Card/Card.js +55 -2
- package/dist/esm/src/components/Card/Card.styl.js +7 -2
- package/dist/esm/src/components/Checkbox/Checkbox.js +19 -2
- package/dist/esm/src/components/Checkbox/Checkbox.styl.js +7 -2
- package/dist/esm/src/components/Chip/Chip.js +16 -2
- package/dist/esm/src/components/Chip/Chip.styl.js +7 -2
- package/dist/esm/src/components/Container/Container.js +13 -2
- package/dist/esm/src/components/Container/Container.styl.js +7 -2
- package/dist/esm/src/components/DatePicker/DatePicker.helpers.js +33 -2
- package/dist/esm/src/components/DatePicker/DatePicker.js +47 -2
- package/dist/esm/src/components/DatePicker/DatePicker.styl.js +7 -2
- package/dist/esm/src/components/DatePickerInput/DatePickerInput.js +44 -2
- package/dist/esm/src/components/DatePickerInput/DatePickerInput.styl.js +7 -2
- package/dist/esm/src/components/DateTime/DateTime.js +17 -2
- package/dist/esm/src/components/Dialogue/Dialogue.js +107 -2
- package/dist/esm/src/components/Dialogue/Dialogue.styl.js +7 -2
- package/dist/esm/src/components/Draggable/Draggable.js +147 -2
- package/dist/esm/src/components/Draggable/Draggable.styl.js +7 -2
- package/dist/esm/src/components/DropZone/DropZone.js +112 -2
- package/dist/esm/src/components/DropZone/DropZone.styl.js +7 -2
- package/dist/esm/src/components/Expand/Expand.js +24 -2
- package/dist/esm/src/components/Expand/Expand.styl.js +7 -2
- package/dist/esm/src/components/Flex/Flex.js +24 -2
- package/dist/esm/src/components/Flex/Flex.styl.js +7 -2
- package/dist/esm/src/components/Form/Form.helpers.js +42 -2
- package/dist/esm/src/components/Form/Form.js +272 -2
- package/dist/esm/src/components/Form/Form.styl.js +7 -2
- package/dist/esm/src/components/Form/Form.types.js +0 -1
- package/dist/esm/src/components/Form/SubmitButtons/SubmitButtons.js +8 -2
- package/dist/esm/src/components/Form/SubmitButtons/SubmitButtons.styl.js +7 -2
- package/dist/esm/src/components/Form/Validator.js +24 -6
- package/dist/esm/src/components/Gallery/Dots/Dots.js +9 -2
- package/dist/esm/src/components/Gallery/Dots/Dots.styl.js +7 -2
- package/dist/esm/src/components/Gallery/Gallery.js +222 -2
- package/dist/esm/src/components/Gallery/Gallery.styl.js +7 -2
- package/dist/esm/src/components/Heading/Heading.js +37 -2
- package/dist/esm/src/components/Heading/Heading.styl.js +7 -2
- package/dist/esm/src/components/Icon/Icon.js +21 -2
- package/dist/esm/src/components/Icon/Icon.styl.js +7 -2
- package/dist/esm/src/components/Icon/icons/apple.svg.js +16 -2
- package/dist/esm/src/components/Icon/icons/arrowDown.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/arrowLeft.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/arrowRight.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/arrowUp.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/attach.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/avatar.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/bookmark.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/bookmarkAdd.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/brain.svg.js +22 -2
- package/dist/esm/src/components/Icon/icons/brokenImage.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/call.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/camera.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/chat.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/check.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/checkers.svg.js +18 -2
- package/dist/esm/src/components/Icon/icons/chevronDown.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/chevronLeft.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/chevronRight.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/chevronUp.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/clearAll.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/close.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/colors.svg.js +60 -2
- package/dist/esm/src/components/Icon/icons/compass.svg.js +56 -2
- package/dist/esm/src/components/Icon/icons/copy.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/cubes.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/delete.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/discord.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/draft.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/dragHandlerHorizontal.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/dragHandlerVertical.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/edit.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/email.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/externalLink.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/eye.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/flyover.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/folder.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/folderOpen.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/forward.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/fullscreen.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/fullscreenExit.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/function.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/gear.svg.js +21 -2
- package/dist/esm/src/components/Icon/icons/geolocation.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/github.svg.js +18 -2
- package/dist/esm/src/components/Icon/icons/globe.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/google.svg.js +42 -2
- package/dist/esm/src/components/Icon/icons/group.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/history.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/home.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/image.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/index.js +95 -2
- package/dist/esm/src/components/Icon/icons/instagram.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/layers.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/link.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/linkedin.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/loader.svg.js +45 -2
- package/dist/esm/src/components/Icon/icons/lock.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/lockOpen.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/map.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/menu.svg.js +18 -2
- package/dist/esm/src/components/Icon/icons/mic.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/micMuted.svg.js +27 -2
- package/dist/esm/src/components/Icon/icons/minus.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/moreHorizontal.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/moreVertical.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/output.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/pause.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/play.svg.js +20 -2
- package/dist/esm/src/components/Icon/icons/plus.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/redo.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/requiredStar.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/rewind.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/rocket.svg.js +22 -2
- package/dist/esm/src/components/Icon/icons/route.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/routeFrom.svg.js +31 -2
- package/dist/esm/src/components/Icon/icons/routeTo.svg.js +31 -2
- package/dist/esm/src/components/Icon/icons/save.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/search.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/send.svg.js +16 -2
- package/dist/esm/src/components/Icon/icons/settings.svg.js +52 -2
- package/dist/esm/src/components/Icon/icons/shoppingBag.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/smile.svg.js +30 -2
- package/dist/esm/src/components/Icon/icons/soundWave.svg.js +66 -2
- package/dist/esm/src/components/Icon/icons/sparks.svg.js +21 -2
- package/dist/esm/src/components/Icon/icons/star.svg.js +18 -2
- package/dist/esm/src/components/Icon/icons/stop.svg.js +22 -2
- package/dist/esm/src/components/Icon/icons/stopInCircle.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/syncArrows.svg.js +22 -2
- package/dist/esm/src/components/Icon/icons/table.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/telegram.svg.js +19 -2
- package/dist/esm/src/components/Icon/icons/tool.svg.js +17 -2
- package/dist/esm/src/components/Icon/icons/trafficLight.svg.js +49 -2
- package/dist/esm/src/components/Icon/icons/undo.svg.js +15 -2
- package/dist/esm/src/components/Icon/icons/usage.svg.js +25 -2
- package/dist/esm/src/components/Icon/icons/youtube.svg.js +20 -2
- package/dist/esm/src/components/Input/Input.js +281 -2
- package/dist/esm/src/components/Input/Input.styl.js +7 -2
- package/dist/esm/src/components/InputFile/InputFile.js +314 -2
- package/dist/esm/src/components/InputFile/InputFile.styl.js +7 -2
- package/dist/esm/src/components/InputFile/InputFile.types.js +0 -1
- package/dist/esm/src/components/InputFile/Item/Item.js +18 -2
- package/dist/esm/src/components/InputFile/Item/Item.styl.js +7 -2
- package/dist/esm/src/components/Label/Label.constants.json.js +8 -2
- package/dist/esm/src/components/Label/Label.helpers.js +35 -2
- package/dist/esm/src/components/Label/Label.js +58 -2
- package/dist/esm/src/components/Label/Label.styl.js +7 -2
- package/dist/esm/src/components/LangSelector/LangSelector.js +10 -2
- package/dist/esm/src/components/Lazy/Lazy.js +74 -2
- package/dist/esm/src/components/LightBox/LightBox.js +28 -2
- package/dist/esm/src/components/LightBox/LightBox.styl.js +7 -2
- package/dist/esm/src/components/Menu/Menu.js +27 -2
- package/dist/esm/src/components/Menu/Menu.styl.js +7 -2
- package/dist/esm/src/components/Notifications/Notifications.constants.json.js +6 -2
- package/dist/esm/src/components/Notifications/Notifications.js +67 -2
- package/dist/esm/src/components/Notifications/Notifications.styl.js +7 -2
- package/dist/esm/src/components/Notifications/store.js +72 -2
- package/dist/esm/src/components/Paranja/Paranja.js +14 -2
- package/dist/esm/src/components/Paranja/Paranja.styl.js +7 -2
- package/dist/esm/src/components/Popup/Popup.helpers.js +130 -2
- package/dist/esm/src/components/Popup/Popup.js +484 -2
- package/dist/esm/src/components/Popup/Popup.styl.js +7 -2
- package/dist/esm/src/components/PopupMenu/PopupMenu.js +15 -2
- package/dist/esm/src/components/PopupMenu/PopupMenu.styl.js +7 -2
- package/dist/esm/src/components/Portal/Portal.js +33 -2
- package/dist/esm/src/components/Progress/Progress.helpers.js +5 -2
- package/dist/esm/src/components/Progress/Progress.js +12 -2
- package/dist/esm/src/components/Progress/Progress.styl.js +7 -2
- package/dist/esm/src/components/ProgressCircular/ProgressCircular.js +23 -2
- package/dist/esm/src/components/ProgressCircular/ProgressCircular.styl.js +7 -2
- package/dist/esm/src/components/RadioButton/RadioButton.js +33 -2
- package/dist/esm/src/components/RadioButton/RadioButton.styl.js +7 -2
- package/dist/esm/src/components/RadioGroup/RadioGroup.js +31 -2
- package/dist/esm/src/components/RadioGroup/RadioGroup.styl.js +7 -2
- package/dist/esm/src/components/RadioGroup/RadioGroupContext.js +8 -2
- package/dist/esm/src/components/RequiredStar/RequiredStar.js +12 -2
- package/dist/esm/src/components/RequiredStar/RequiredStar.styl.js +7 -2
- package/dist/esm/src/components/Router/Link/Link.js +62 -2
- package/dist/esm/src/components/Router/Link/Link.styl.js +7 -2
- package/dist/esm/src/components/Router/Redirect.js +12 -2
- package/dist/esm/src/components/Router/Route.js +6 -2
- package/dist/esm/src/components/Router/Router.helpers.js +33 -2
- package/dist/esm/src/components/Router/Router.js +72 -2
- package/dist/esm/src/components/Router/context.js +5 -2
- package/dist/esm/src/components/Router/store.js +75 -2
- package/dist/esm/src/components/Scroll/Scroll.js +308 -2
- package/dist/esm/src/components/Scroll/Scroll.styl.js +7 -2
- package/dist/esm/src/components/Select/Select.helpers.js +37 -2
- package/dist/esm/src/components/Select/Select.js +601 -2
- package/dist/esm/src/components/Select/Select.styl.js +7 -2
- package/dist/esm/src/components/Select/Select2.js +334 -2
- package/dist/esm/src/components/Shimmer/Shimmer.js +7 -2
- package/dist/esm/src/components/Shimmer/Shimmer.styl.js +7 -2
- package/dist/esm/src/components/Spinner/Spinner.js +11 -2
- package/dist/esm/src/components/Spinner/Spinner.styl.js +7 -2
- package/dist/esm/src/components/Spinner/spinner.svg.js +24 -2
- package/dist/esm/src/components/Table/Table.js +24 -2
- package/dist/esm/src/components/Table/Table.styl.js +7 -2
- package/dist/esm/src/components/Tabs/Tabs.js +48 -2
- package/dist/esm/src/components/Tabs/Tabs.styl.js +7 -2
- package/dist/esm/src/components/Text/Text.js +44 -2
- package/dist/esm/src/components/Text/Text.styl.js +7 -2
- package/dist/esm/src/components/TextShimmer/TextShimmer.js +29 -0
- package/dist/esm/src/components/TextShimmer/TextShimmer.styl.js +7 -0
- package/dist/esm/src/components/Theme/Theme.defaults.js +53 -2
- package/dist/esm/src/components/Theme/Theme.helpers.js +67 -2
- package/dist/esm/src/components/Theme/Theme.js +15 -2
- package/dist/esm/src/components/Theme/ThemeProvider.js +50 -2
- package/dist/esm/src/components/Toggle/Toggle.js +18 -2
- package/dist/esm/src/components/Toggle/Toggle.styl.js +7 -2
- package/dist/esm/src/components/Tooltip/Tooltip.js +86 -2
- package/dist/esm/src/components/Tooltip/Tooltip.styl.js +7 -2
- package/dist/esm/src/components/VH/VH.js +33 -2
- package/dist/esm/src/components/Virtualized/List/List.js +136 -2
- package/dist/esm/src/components/Virtualized/List/List.styl.js +7 -2
- package/dist/esm/src/components/Virtualized/List/ListScroll.js +22 -2
- package/dist/esm/src/components/Virtualized/List/ListScroll.styl.js +7 -2
- package/dist/esm/src/components/Virtualized/Virtualized.helpers.js +14 -2
- package/dist/esm/src/components/Virtualized/Virtualized.js +218 -2
- package/dist/esm/src/components/Virtualized/Virtualized.styl.js +7 -2
- package/dist/esm/src/components/Virtualized/Virtualized.types.js +0 -1
- package/dist/esm/src/hooks/useDebounce.js +11 -2
- package/dist/esm/src/hooks/useEvent.js +27 -2
- package/dist/esm/src/hooks/useIsMounted.js +11 -2
- package/dist/esm/src/hooks/useListKeyboardControl.js +50 -2
- package/dist/esm/src/hooks/useResizeObserver.js +15 -2
- package/dist/esm/src/hooks/useThrottle.js +31 -2
- package/dist/esm/src/hooks/useToggleState.js +35 -2
- package/dist/esm/src/services/i18n.js +112 -2
- package/dist/esm/src/tools/array.js +60 -2
- package/dist/esm/src/tools/config.js +9 -2
- package/dist/esm/src/tools/date.js +11 -2
- package/dist/esm/src/tools/debounce.js +11 -2
- package/dist/esm/src/tools/dom.js +57 -2
- package/dist/esm/src/tools/env.js +3 -2
- package/dist/esm/src/tools/file.js +11 -2
- package/dist/esm/src/tools/localStorage.js +31 -2
- package/dist/esm/src/tools/number.js +27 -2
- package/dist/esm/src/tools/object.js +5 -2
- package/dist/esm/src/tools/queryParams.js +40 -2
- package/dist/esm/src/tools/rangeMap.js +3 -2
- package/dist/esm/src/tools/resizeObserver.js +68 -2
- package/dist/esm/src/tools/scroll.js +41 -2
- package/dist/esm/src/tools/string.js +7 -2
- package/dist/esm/src/tools/throttle.js +30 -2
- package/dist/esm/src/tools/uid.js +7 -2
- package/dist/esm/types/src/components/Notifications/Notifications.types.d.ts +4 -2
- package/dist/esm/types/src/components/TextShimmer/TextShimmer.d.ts +5 -0
- package/dist/esm/types/src/components/TextShimmer/TextShimmer.types.d.ts +9 -0
- package/dist/esm/types/src/components/TextShimmer/index.d.ts +2 -0
- package/dist/esm/types/src/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
- package/dist/esm/src/components/AssistiveText/AssistiveText.js.map +0 -1
- package/dist/esm/src/components/AssistiveText/AssistiveText.styl.js.map +0 -1
- package/dist/esm/src/components/Autocomplete/Autocomplete.js.map +0 -1
- package/dist/esm/src/components/Autocomplete/Autocomplete.styl.js.map +0 -1
- package/dist/esm/src/components/Button/Button.helpers.js.map +0 -1
- package/dist/esm/src/components/Button/Button.js.map +0 -1
- package/dist/esm/src/components/Button/Button.styl.js.map +0 -1
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.js.map +0 -1
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.styl.js.map +0 -1
- package/dist/esm/src/components/Calendar/Calendar.helpers.js.map +0 -1
- package/dist/esm/src/components/Calendar/Calendar.js.map +0 -1
- package/dist/esm/src/components/Calendar/Calendar.styl.js.map +0 -1
- package/dist/esm/src/components/Card/Card.js.map +0 -1
- package/dist/esm/src/components/Card/Card.styl.js.map +0 -1
- package/dist/esm/src/components/Checkbox/Checkbox.js.map +0 -1
- package/dist/esm/src/components/Checkbox/Checkbox.styl.js.map +0 -1
- package/dist/esm/src/components/Chip/Chip.js.map +0 -1
- package/dist/esm/src/components/Chip/Chip.styl.js.map +0 -1
- package/dist/esm/src/components/Container/Container.js.map +0 -1
- package/dist/esm/src/components/Container/Container.styl.js.map +0 -1
- package/dist/esm/src/components/DatePicker/DatePicker.helpers.js.map +0 -1
- package/dist/esm/src/components/DatePicker/DatePicker.js.map +0 -1
- package/dist/esm/src/components/DatePicker/DatePicker.styl.js.map +0 -1
- package/dist/esm/src/components/DatePickerInput/DatePickerInput.js.map +0 -1
- package/dist/esm/src/components/DatePickerInput/DatePickerInput.styl.js.map +0 -1
- package/dist/esm/src/components/DateTime/DateTime.js.map +0 -1
- package/dist/esm/src/components/Dialogue/Dialogue.js.map +0 -1
- package/dist/esm/src/components/Dialogue/Dialogue.styl.js.map +0 -1
- package/dist/esm/src/components/Draggable/Draggable.js.map +0 -1
- package/dist/esm/src/components/Draggable/Draggable.styl.js.map +0 -1
- package/dist/esm/src/components/DropZone/DropZone.js.map +0 -1
- package/dist/esm/src/components/DropZone/DropZone.styl.js.map +0 -1
- package/dist/esm/src/components/Expand/Expand.js.map +0 -1
- package/dist/esm/src/components/Expand/Expand.styl.js.map +0 -1
- package/dist/esm/src/components/Flex/Flex.js.map +0 -1
- package/dist/esm/src/components/Flex/Flex.styl.js.map +0 -1
- package/dist/esm/src/components/Form/Form.helpers.js.map +0 -1
- package/dist/esm/src/components/Form/Form.js.map +0 -1
- package/dist/esm/src/components/Form/Form.styl.js.map +0 -1
- package/dist/esm/src/components/Form/Form.types.js.map +0 -1
- package/dist/esm/src/components/Form/SubmitButtons/SubmitButtons.js.map +0 -1
- package/dist/esm/src/components/Form/SubmitButtons/SubmitButtons.styl.js.map +0 -1
- package/dist/esm/src/components/Form/Validator.js.map +0 -1
- package/dist/esm/src/components/Gallery/Dots/Dots.js.map +0 -1
- package/dist/esm/src/components/Gallery/Dots/Dots.styl.js.map +0 -1
- package/dist/esm/src/components/Gallery/Gallery.js.map +0 -1
- package/dist/esm/src/components/Gallery/Gallery.styl.js.map +0 -1
- package/dist/esm/src/components/Heading/Heading.js.map +0 -1
- package/dist/esm/src/components/Heading/Heading.styl.js.map +0 -1
- package/dist/esm/src/components/Icon/Icon.js.map +0 -1
- package/dist/esm/src/components/Icon/Icon.styl.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/apple.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/arrowDown.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/arrowLeft.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/arrowRight.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/arrowUp.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/attach.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/avatar.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/bookmark.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/bookmarkAdd.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/brain.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/brokenImage.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/call.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/camera.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/chat.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/check.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/checkers.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/chevronDown.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/chevronLeft.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/chevronRight.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/chevronUp.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/clearAll.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/close.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/colors.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/compass.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/copy.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/cubes.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/delete.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/discord.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/draft.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/dragHandlerHorizontal.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/dragHandlerVertical.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/edit.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/email.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/externalLink.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/eye.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/flyover.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/folder.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/folderOpen.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/forward.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/fullscreen.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/fullscreenExit.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/function.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/gear.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/geolocation.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/github.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/globe.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/google.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/group.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/history.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/home.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/image.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/index.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/instagram.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/layers.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/link.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/linkedin.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/loader.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/lock.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/lockOpen.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/map.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/menu.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/mic.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/micMuted.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/minus.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/moreHorizontal.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/moreVertical.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/output.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/pause.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/play.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/plus.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/redo.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/requiredStar.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/rewind.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/rocket.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/route.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/routeFrom.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/routeTo.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/save.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/search.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/send.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/settings.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/shoppingBag.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/smile.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/soundWave.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/sparks.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/star.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/stop.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/stopInCircle.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/syncArrows.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/table.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/telegram.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/tool.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/trafficLight.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/undo.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/usage.svg.js.map +0 -1
- package/dist/esm/src/components/Icon/icons/youtube.svg.js.map +0 -1
- package/dist/esm/src/components/Input/Input.js.map +0 -1
- package/dist/esm/src/components/Input/Input.styl.js.map +0 -1
- package/dist/esm/src/components/InputFile/InputFile.js.map +0 -1
- package/dist/esm/src/components/InputFile/InputFile.styl.js.map +0 -1
- package/dist/esm/src/components/InputFile/InputFile.types.js.map +0 -1
- package/dist/esm/src/components/InputFile/Item/Item.js.map +0 -1
- package/dist/esm/src/components/InputFile/Item/Item.styl.js.map +0 -1
- package/dist/esm/src/components/Label/Label.constants.json.js.map +0 -1
- package/dist/esm/src/components/Label/Label.helpers.js.map +0 -1
- package/dist/esm/src/components/Label/Label.js.map +0 -1
- package/dist/esm/src/components/Label/Label.styl.js.map +0 -1
- package/dist/esm/src/components/LangSelector/LangSelector.js.map +0 -1
- package/dist/esm/src/components/Lazy/Lazy.js.map +0 -1
- package/dist/esm/src/components/LightBox/LightBox.js.map +0 -1
- package/dist/esm/src/components/LightBox/LightBox.styl.js.map +0 -1
- package/dist/esm/src/components/Menu/Menu.js.map +0 -1
- package/dist/esm/src/components/Menu/Menu.styl.js.map +0 -1
- package/dist/esm/src/components/Notifications/Notifications.constants.json.js.map +0 -1
- package/dist/esm/src/components/Notifications/Notifications.js.map +0 -1
- package/dist/esm/src/components/Notifications/Notifications.styl.js.map +0 -1
- package/dist/esm/src/components/Notifications/store.js.map +0 -1
- package/dist/esm/src/components/Paranja/Paranja.js.map +0 -1
- package/dist/esm/src/components/Paranja/Paranja.styl.js.map +0 -1
- package/dist/esm/src/components/Popup/Popup.helpers.js.map +0 -1
- package/dist/esm/src/components/Popup/Popup.js.map +0 -1
- package/dist/esm/src/components/Popup/Popup.styl.js.map +0 -1
- package/dist/esm/src/components/PopupMenu/PopupMenu.js.map +0 -1
- package/dist/esm/src/components/PopupMenu/PopupMenu.styl.js.map +0 -1
- package/dist/esm/src/components/Portal/Portal.js.map +0 -1
- package/dist/esm/src/components/Progress/Progress.helpers.js.map +0 -1
- package/dist/esm/src/components/Progress/Progress.js.map +0 -1
- package/dist/esm/src/components/Progress/Progress.styl.js.map +0 -1
- package/dist/esm/src/components/ProgressCircular/ProgressCircular.js.map +0 -1
- package/dist/esm/src/components/ProgressCircular/ProgressCircular.styl.js.map +0 -1
- package/dist/esm/src/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/esm/src/components/RadioButton/RadioButton.styl.js.map +0 -1
- package/dist/esm/src/components/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/esm/src/components/RadioGroup/RadioGroup.styl.js.map +0 -1
- package/dist/esm/src/components/RadioGroup/RadioGroupContext.js.map +0 -1
- package/dist/esm/src/components/RequiredStar/RequiredStar.js.map +0 -1
- package/dist/esm/src/components/RequiredStar/RequiredStar.styl.js.map +0 -1
- package/dist/esm/src/components/Router/Link/Link.js.map +0 -1
- package/dist/esm/src/components/Router/Link/Link.styl.js.map +0 -1
- package/dist/esm/src/components/Router/Redirect.js.map +0 -1
- package/dist/esm/src/components/Router/Route.js.map +0 -1
- package/dist/esm/src/components/Router/Router.helpers.js.map +0 -1
- package/dist/esm/src/components/Router/Router.js.map +0 -1
- package/dist/esm/src/components/Router/context.js.map +0 -1
- package/dist/esm/src/components/Router/store.js.map +0 -1
- package/dist/esm/src/components/Scroll/Scroll.js.map +0 -1
- package/dist/esm/src/components/Scroll/Scroll.styl.js.map +0 -1
- package/dist/esm/src/components/Select/Select.helpers.js.map +0 -1
- package/dist/esm/src/components/Select/Select.js.map +0 -1
- package/dist/esm/src/components/Select/Select.styl.js.map +0 -1
- package/dist/esm/src/components/Select/Select2.js.map +0 -1
- package/dist/esm/src/components/Shimmer/Shimmer.js.map +0 -1
- package/dist/esm/src/components/Shimmer/Shimmer.styl.js.map +0 -1
- package/dist/esm/src/components/Spinner/Spinner.js.map +0 -1
- package/dist/esm/src/components/Spinner/Spinner.styl.js.map +0 -1
- package/dist/esm/src/components/Spinner/spinner.svg.js.map +0 -1
- package/dist/esm/src/components/Table/Table.js.map +0 -1
- package/dist/esm/src/components/Table/Table.styl.js.map +0 -1
- package/dist/esm/src/components/Tabs/Tabs.js.map +0 -1
- package/dist/esm/src/components/Tabs/Tabs.styl.js.map +0 -1
- package/dist/esm/src/components/Text/Text.js.map +0 -1
- package/dist/esm/src/components/Text/Text.styl.js.map +0 -1
- package/dist/esm/src/components/Theme/Theme.defaults.js.map +0 -1
- package/dist/esm/src/components/Theme/Theme.helpers.js.map +0 -1
- package/dist/esm/src/components/Theme/Theme.js.map +0 -1
- package/dist/esm/src/components/Theme/ThemeProvider.js.map +0 -1
- package/dist/esm/src/components/Toggle/Toggle.js.map +0 -1
- package/dist/esm/src/components/Toggle/Toggle.styl.js.map +0 -1
- package/dist/esm/src/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/esm/src/components/Tooltip/Tooltip.styl.js.map +0 -1
- package/dist/esm/src/components/VH/VH.js.map +0 -1
- package/dist/esm/src/components/Virtualized/List/List.js.map +0 -1
- package/dist/esm/src/components/Virtualized/List/List.styl.js.map +0 -1
- package/dist/esm/src/components/Virtualized/List/ListScroll.js.map +0 -1
- package/dist/esm/src/components/Virtualized/List/ListScroll.styl.js.map +0 -1
- package/dist/esm/src/components/Virtualized/Virtualized.helpers.js.map +0 -1
- package/dist/esm/src/components/Virtualized/Virtualized.js.map +0 -1
- package/dist/esm/src/components/Virtualized/Virtualized.styl.js.map +0 -1
- package/dist/esm/src/components/Virtualized/Virtualized.types.js.map +0 -1
- package/dist/esm/src/hooks/useDebounce.js.map +0 -1
- package/dist/esm/src/hooks/useEvent.js.map +0 -1
- package/dist/esm/src/hooks/useIsMounted.js.map +0 -1
- package/dist/esm/src/hooks/useListKeyboardControl.js.map +0 -1
- package/dist/esm/src/hooks/useResizeObserver.js.map +0 -1
- package/dist/esm/src/hooks/useThrottle.js.map +0 -1
- package/dist/esm/src/hooks/useToggleState.js.map +0 -1
- package/dist/esm/src/services/i18n.js.map +0 -1
- package/dist/esm/src/tools/array.js.map +0 -1
- package/dist/esm/src/tools/config.js.map +0 -1
- package/dist/esm/src/tools/date.js.map +0 -1
- package/dist/esm/src/tools/debounce.js.map +0 -1
- package/dist/esm/src/tools/dom.js.map +0 -1
- package/dist/esm/src/tools/env.js.map +0 -1
- package/dist/esm/src/tools/file.js.map +0 -1
- package/dist/esm/src/tools/localStorage.js.map +0 -1
- package/dist/esm/src/tools/number.js.map +0 -1
- package/dist/esm/src/tools/object.js.map +0 -1
- package/dist/esm/src/tools/queryParams.js.map +0 -1
- package/dist/esm/src/tools/rangeMap.js.map +0 -1
- package/dist/esm/src/tools/resizeObserver.js.map +0 -1
- package/dist/esm/src/tools/scroll.js.map +0 -1
- package/dist/esm/src/tools/string.js.map +0 -1
- package/dist/esm/src/tools/throttle.js.map +0 -1
- package/dist/esm/src/tools/uid.js.map +0 -1
|
@@ -1,2 +1,222 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { Component, createRef, useState, useRef, useLayoutEffect } from 'react';
|
|
3
|
+
import { createStore } from 'justorm/react';
|
|
4
|
+
import Time from 'timen';
|
|
5
|
+
import compare from 'compareq';
|
|
6
|
+
import cn from 'classnames';
|
|
7
|
+
import omit from 'lodash.omit';
|
|
8
|
+
import { Button } from '../Button/Button.js';
|
|
9
|
+
import { Icon } from '../Icon/Icon.js';
|
|
10
|
+
import { Spinner } from '../Spinner/Spinner.js';
|
|
11
|
+
import throttle from '../../tools/throttle.js';
|
|
12
|
+
import { circularSlice } from '../../tools/array.js';
|
|
13
|
+
import S from './Gallery.styl.js';
|
|
14
|
+
import { Lazy } from '../Lazy/Lazy.js';
|
|
15
|
+
|
|
16
|
+
const THRESHOLD = 50;
|
|
17
|
+
const DURATION = 200;
|
|
18
|
+
const DIR_NAME = {
|
|
19
|
+
'1': 'left',
|
|
20
|
+
'-1': 'right',
|
|
21
|
+
};
|
|
22
|
+
function galleryStoreTarget(store) {
|
|
23
|
+
const o = store;
|
|
24
|
+
if (o.originalObject == null) {
|
|
25
|
+
throw new Error('Gallery: justorm store missing originalObject');
|
|
26
|
+
}
|
|
27
|
+
return o.originalObject;
|
|
28
|
+
}
|
|
29
|
+
function getInitialState(items, startIndex) {
|
|
30
|
+
return circularSlice(items, startIndex, 3);
|
|
31
|
+
}
|
|
32
|
+
function Arr({ className, size, icon, ...rest }) {
|
|
33
|
+
return (jsx(Button, { className: cn(S.arr, className), size: size, variant: "clear", ...rest, children: jsx(Icon, { type: icon, size: size }) }));
|
|
34
|
+
}
|
|
35
|
+
function Item({ src, size }) {
|
|
36
|
+
const [loaded, setLoaded] = useState(false);
|
|
37
|
+
const [isError, setIsError] = useState(false);
|
|
38
|
+
const style = {};
|
|
39
|
+
const imgRef = useRef(null);
|
|
40
|
+
useLayoutEffect(() => {
|
|
41
|
+
const img = imgRef.current;
|
|
42
|
+
if (!img || isError)
|
|
43
|
+
return;
|
|
44
|
+
let cancelled = false;
|
|
45
|
+
const notify = () => {
|
|
46
|
+
if (!cancelled)
|
|
47
|
+
setLoaded(true);
|
|
48
|
+
};
|
|
49
|
+
// Cached images may never fire `load` after mount; `decode()` covers that path.
|
|
50
|
+
if (img.complete && img.naturalWidth > 0 && img.naturalHeight > 0) {
|
|
51
|
+
notify();
|
|
52
|
+
return () => {
|
|
53
|
+
cancelled = true;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
if (typeof img.decode === 'function') {
|
|
57
|
+
img.decode().then(notify).catch(() => { });
|
|
58
|
+
return () => {
|
|
59
|
+
cancelled = true;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
requestAnimationFrame(() => {
|
|
63
|
+
if (!cancelled &&
|
|
64
|
+
img.complete &&
|
|
65
|
+
(img.naturalWidth > 0 || img.naturalHeight > 0))
|
|
66
|
+
notify();
|
|
67
|
+
});
|
|
68
|
+
return () => {
|
|
69
|
+
cancelled = true;
|
|
70
|
+
};
|
|
71
|
+
}, [src, isError]);
|
|
72
|
+
if (loaded)
|
|
73
|
+
style.backgroundImage = `url(${src})`;
|
|
74
|
+
return (jsx("div", { className: S.item, style: style, children: !loaded &&
|
|
75
|
+
(isError ? (jsx(Icon, { type: "brokenImage", className: S.brokenImage })) : (jsxs(Fragment, { children: [jsx("img", { ref: imgRef, src: src, onLoad: () => setLoaded(true), onError: () => setIsError(true) }), jsx(Spinner, { size: size })] }))) }));
|
|
76
|
+
}
|
|
77
|
+
class Gallery extends Component {
|
|
78
|
+
store;
|
|
79
|
+
items;
|
|
80
|
+
index = 0;
|
|
81
|
+
timers = Time.create();
|
|
82
|
+
startX = null;
|
|
83
|
+
innerRef = createRef();
|
|
84
|
+
static defaultProps = {
|
|
85
|
+
size: 'm',
|
|
86
|
+
animation: true,
|
|
87
|
+
startIndex: 0,
|
|
88
|
+
};
|
|
89
|
+
constructor(props) {
|
|
90
|
+
super(props);
|
|
91
|
+
const { startIndex } = props;
|
|
92
|
+
this.recenter();
|
|
93
|
+
this.index = startIndex;
|
|
94
|
+
this.store = createStore(this, {
|
|
95
|
+
items: this.getStateItems(),
|
|
96
|
+
movingDirection: 0,
|
|
97
|
+
isDragging: false,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
componentDidMount() {
|
|
101
|
+
this.init();
|
|
102
|
+
}
|
|
103
|
+
componentWillUnmount() {
|
|
104
|
+
this.timers.clear();
|
|
105
|
+
}
|
|
106
|
+
componentDidUpdate(prevProps) {
|
|
107
|
+
const { items, startIndex } = this.props;
|
|
108
|
+
if (prevProps.startIndex !== startIndex ||
|
|
109
|
+
!compare(prevProps.items, items)) {
|
|
110
|
+
this.index = startIndex;
|
|
111
|
+
this.recenter();
|
|
112
|
+
const next = this.getStateItems();
|
|
113
|
+
Object.assign(galleryStoreTarget(this.store), { items: next });
|
|
114
|
+
this.setState({});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
getStateItems() {
|
|
118
|
+
return this.isSingle()
|
|
119
|
+
? [this.props.items[0]]
|
|
120
|
+
: getInitialState(this.items, this.index);
|
|
121
|
+
}
|
|
122
|
+
recenter() {
|
|
123
|
+
const [...items] = this.props.items;
|
|
124
|
+
this.items = [items.pop(), ...items];
|
|
125
|
+
}
|
|
126
|
+
init() {
|
|
127
|
+
const { items } = this.store;
|
|
128
|
+
if (items.length > 1)
|
|
129
|
+
this.subscribe();
|
|
130
|
+
}
|
|
131
|
+
subscribe() {
|
|
132
|
+
document.addEventListener('keydown', this.onKeyDown);
|
|
133
|
+
}
|
|
134
|
+
isSingle = () => this.props.items.length < 2;
|
|
135
|
+
onKeyDown = e => {
|
|
136
|
+
if (this.isSingle())
|
|
137
|
+
return;
|
|
138
|
+
if (e.key === 'ArrowRight') {
|
|
139
|
+
e.stopPropagation();
|
|
140
|
+
return this.move(-1);
|
|
141
|
+
}
|
|
142
|
+
if (e.key === 'ArrowLeft') {
|
|
143
|
+
e.stopPropagation();
|
|
144
|
+
return this.move(1);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
onPointerDown = e => {
|
|
148
|
+
this.startX = e.pageX;
|
|
149
|
+
};
|
|
150
|
+
onPointerMove = e => {
|
|
151
|
+
if (this.startX === null)
|
|
152
|
+
return;
|
|
153
|
+
const delta = this.getDelta(e);
|
|
154
|
+
if (Math.abs(delta) < THRESHOLD)
|
|
155
|
+
return;
|
|
156
|
+
this.store.isDragging = true;
|
|
157
|
+
this.setTransformDelta(delta);
|
|
158
|
+
};
|
|
159
|
+
onPointerUp = e => {
|
|
160
|
+
if (!this.startX)
|
|
161
|
+
return;
|
|
162
|
+
const delta = this.getDelta(e);
|
|
163
|
+
this.startX = null;
|
|
164
|
+
if (!this.store.isDragging || !delta)
|
|
165
|
+
return;
|
|
166
|
+
this.store.isDragging = false;
|
|
167
|
+
const dir = delta / Math.abs(delta);
|
|
168
|
+
this.move(dir);
|
|
169
|
+
};
|
|
170
|
+
getDelta = e => e.pageX - this.startX;
|
|
171
|
+
setTransformDelta = (delta) => {
|
|
172
|
+
this.innerRef.current.style.transform = `translateX(calc(-100% / 3 + ${delta}px))`;
|
|
173
|
+
};
|
|
174
|
+
removeTransformDelta = () => {
|
|
175
|
+
this.innerRef.current.style.transform = '';
|
|
176
|
+
};
|
|
177
|
+
move = throttle(function (direction) {
|
|
178
|
+
const { animation } = this.props;
|
|
179
|
+
this.store.isDragging = false;
|
|
180
|
+
this.startX = null;
|
|
181
|
+
if (!animation)
|
|
182
|
+
return this.switch(direction);
|
|
183
|
+
this.store.movingDirection = direction;
|
|
184
|
+
this.timers.clear();
|
|
185
|
+
this.timers.after(DURATION, () => this.switch(direction));
|
|
186
|
+
}, DURATION);
|
|
187
|
+
switch(direction) {
|
|
188
|
+
this.index += direction * -1;
|
|
189
|
+
const nextItems = circularSlice(this.items, this.index, 3);
|
|
190
|
+
// justorm v3: proxy set skips when compareq sees no change; bypass via originalObject.
|
|
191
|
+
Object.assign(galleryStoreTarget(this.store), {
|
|
192
|
+
items: nextItems,
|
|
193
|
+
movingDirection: 0,
|
|
194
|
+
});
|
|
195
|
+
this.removeTransformDelta();
|
|
196
|
+
this.setState({});
|
|
197
|
+
const { onChange } = this.props;
|
|
198
|
+
onChange?.(this.index, this.items[this.index]);
|
|
199
|
+
}
|
|
200
|
+
render() {
|
|
201
|
+
const { className, size, showArrows, showDots, initialBounce, cover, ...rest } = this.props;
|
|
202
|
+
const { items, movingDirection, isDragging } = this.store;
|
|
203
|
+
const dirName = DIR_NAME[movingDirection];
|
|
204
|
+
const isSingle = this.isSingle();
|
|
205
|
+
const props = omit(rest, ['items', 'onChange', 'animation', 'startIndex']);
|
|
206
|
+
const classes = cn(S.root, isSingle && S.single, cover && S.cover, className);
|
|
207
|
+
const innerClasses = cn(S.inner, initialBounce && S.initialBounce, S[dirName]);
|
|
208
|
+
if (!isSingle) {
|
|
209
|
+
props.onPointerDown = this.onPointerDown;
|
|
210
|
+
props.onPointerMove = this.onPointerMove;
|
|
211
|
+
if (isDragging) {
|
|
212
|
+
props.onPointerUp = this.onPointerUp;
|
|
213
|
+
props.onPointerLeave = this.onPointerUp;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return (jsxs("div", { className: classes, ...props, children: [jsx("div", { className: innerClasses, ref: this.innerRef, children: items.map((src, i) => (jsx(Item, { src: src, size: size }, `${i}_${src}`))) }), !isSingle && showArrows && !isDragging && (jsxs(Fragment, { children: [jsx(Arr, { className: S.left, size: size, icon: "chevronLeft", onClick: () => this.move(1) }), jsx(Arr, { className: S.right, size: size, icon: "chevronRight", onClick: () => this.move(-1) })] })), showDots && (jsx(Lazy, { hideSpinner: true, loader: () => import('./Dots/Dots.js'),
|
|
217
|
+
// @ts-ignore
|
|
218
|
+
index: this.index % items.length, count: items.length }))] }));
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export { Gallery };
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import styleInject from
|
|
2
|
-
|
|
1
|
+
import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".Gallery_item__P4qTJ,.Gallery_root__-Crit{height:100%;width:100%}.Gallery_root__-Crit{overflow:hidden;position:relative}.Gallery_inner__4FAPt{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;height:100%;position:absolute;touch-action:none;transform:translate3d(-33.33333%,0,0);width:calc(300% + 1px)}.Gallery_single__Wfd9h .Gallery_inner__4FAPt{transform:none;width:100%}.Gallery_single__Wfd9h .Gallery_item__P4qTJ{width:100%}.Gallery_inner__4FAPt.Gallery_left__zrrmv,.Gallery_inner__4FAPt.Gallery_right__dpZ-m{transition:transform 0s ease-out;transition-duration:.2s}.Gallery_inner__4FAPt.Gallery_left__zrrmv{transform:translateZ(0)!important}.Gallery_inner__4FAPt.Gallery_right__dpZ-m{transform:translate3d(-66.66667%,0,0)!important}.Gallery_inner__4FAPt.Gallery_initialBounce__nZnKd{animation:Gallery_bounce__buqva 1s ease-out}.Gallery_item__P4qTJ{align-items:center;background-position:50%;background-repeat:no-repeat;background-size:contain;display:flex;justify-content:center;width:33.33333%}.Gallery_cover__ZGx5X .Gallery_item__P4qTJ{background-size:cover}.Gallery_item__P4qTJ>img{opacity:0;pointer-events:none;position:absolute}.Gallery_brokenImage__Bj3O-{height:50%;opacity:.2;width:50%}.Gallery_arr__knicI{background:transparent!important;height:100%;min-height:100%;opacity:0;padding:10%;position:absolute;top:0;transition:opacity .1s ease-out;z-index:1}.Gallery_arr__knicI.Gallery_left__zrrmv{justify-content:flex-start;left:0}.Gallery_arr__knicI.Gallery_right__dpZ-m{justify-content:flex-end;right:0;width:77%}.Gallery_arr__knicI:hover{opacity:1}@keyframes Gallery_bounce__buqva{0%{left:0}50%{left:-20%}80%{left:10%}to{left:0}}";
|
|
4
|
+
var S = {"root":"Gallery_root__-Crit","item":"Gallery_item__P4qTJ","inner":"Gallery_inner__4FAPt","single":"Gallery_single__Wfd9h","left":"Gallery_left__zrrmv","right":"Gallery_right__dpZ-m","initialBounce":"Gallery_initialBounce__nZnKd","bounce":"Gallery_bounce__buqva","cover":"Gallery_cover__ZGx5X","brokenImage":"Gallery_brokenImage__Bj3O-","arr":"Gallery_arr__knicI"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { S as default };
|
|
@@ -1,2 +1,37 @@
|
|
|
1
|
-
import{jsxs,jsx}from
|
|
2
|
-
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { memo, useEffect } from 'react';
|
|
3
|
+
import { scrollIntoView } from '../../tools/scroll.js';
|
|
4
|
+
import S from './Heading.styl.js';
|
|
5
|
+
|
|
6
|
+
let subscribersCount = 0;
|
|
7
|
+
function onClick(e) {
|
|
8
|
+
const href = e.target?.getAttribute('href');
|
|
9
|
+
if (!href || !/#/.test(href))
|
|
10
|
+
return;
|
|
11
|
+
const [path, hash] = href.split('#');
|
|
12
|
+
const heading = document.getElementById(hash);
|
|
13
|
+
if (heading) {
|
|
14
|
+
scrollIntoView(heading);
|
|
15
|
+
e.stopPropagation();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function subscribe() {
|
|
19
|
+
if (subscribersCount === 0) {
|
|
20
|
+
window.addEventListener('click', onClick, true);
|
|
21
|
+
}
|
|
22
|
+
subscribersCount++;
|
|
23
|
+
}
|
|
24
|
+
function unsubscribe() {
|
|
25
|
+
if (--subscribersCount === 0) {
|
|
26
|
+
window.removeEventListener('click', onClick, true);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const Heading = memo(function Heading({ id, text }) {
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
subscribe();
|
|
32
|
+
return unsubscribe;
|
|
33
|
+
});
|
|
34
|
+
return (jsxs("h2", { className: S.root, id: id, children: [jsx("a", { href: `${location.pathname}#${id}`, className: S.link, children: "#" }), text] }));
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { Heading };
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import styleInject from
|
|
2
|
-
|
|
1
|
+
import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".Heading_root__Y4E8o{margin:1em 0;position:relative}.Heading_root__Y4E8o,.Heading_root__Y4E8o>a{color:var(--accent-color)!important}.Heading_root__Y4E8o .Heading_link__JTd0P{bottom:0;display:block;left:-1.7em;min-height:100%;opacity:0;padding:.8em 1em 0!important;pointer-events:all!important;position:absolute;right:1.7em;text-decoration:none;transition:all .2s ease-out}.Heading_root__Y4E8o:hover .Heading_link__JTd0P{opacity:1;transform:translateX(-5px)}";
|
|
4
|
+
var S = {"root":"Heading_root__Y4E8o","link":"Heading_link__JTd0P"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { S as default };
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
import{jsx}from
|
|
2
|
-
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import cn from 'classnames';
|
|
3
|
+
import S from './Icon.styl.js';
|
|
4
|
+
import * as index from './icons/index.js';
|
|
5
|
+
|
|
6
|
+
function Icon(props) {
|
|
7
|
+
const { className, icon: CustomIcon, type, size = 'm', ...rest } = props;
|
|
8
|
+
const iconProps = {
|
|
9
|
+
className: cn(S.root, S[`size-${size}`], className),
|
|
10
|
+
role: 'img',
|
|
11
|
+
...rest,
|
|
12
|
+
};
|
|
13
|
+
if (CustomIcon)
|
|
14
|
+
return jsx(CustomIcon, { ...iconProps });
|
|
15
|
+
const LibIcon = index[type];
|
|
16
|
+
if (LibIcon)
|
|
17
|
+
return jsx(LibIcon, { ...iconProps });
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { Icon };
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import styleInject from
|
|
2
|
-
|
|
1
|
+
import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".Icon_root__Uzney{color:inherit;display:inline-block;pointer-events:none}.Icon_size-xs__T-Npk{height:12px;width:12px}.Icon_size-s__qftZG{height:18px;width:18px}.Icon_size-m__7xCDX{height:22px;width:22px}.Icon_size-l__Eq1Fb{height:28px;width:28px}.Icon_size-xl__ChZL5{height:34px;width:34px}";
|
|
4
|
+
var S = {"root":"Icon_root__Uzney","size-xs":"Icon_size-xs__T-Npk","size-s":"Icon_size-s__qftZG","size-m":"Icon_size-m__7xCDX","size-l":"Icon_size-l__Eq1Fb","size-xl":"Icon_size-xl__ChZL5"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { S as default };
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
var SvgApple = function SvgApple(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
d: "M15.649 4c.865-1 1.447-2.395 1.288-3.783-1.246.047-2.753.795-3.646 1.795-.801.888-1.502 2.307-1.313 3.668 1.389.103 2.807-.676 3.67-1.678m3.117 8.81c.035 3.588 3.284 4.782 3.32 4.797-.026.084-.52 1.7-1.712 3.373-1.032 1.443-2.102 2.88-3.79 2.912-1.655.03-2.19-.941-4.084-.941s-2.486.91-4.054.97c-1.628.059-2.868-1.562-3.908-3-2.126-2.944-3.75-8.32-1.57-11.946 1.085-1.8 3.02-2.942 5.124-2.97 1.598-.03 3.107 1.03 4.084 1.03s2.81-1.275 4.739-1.088c.807.032 3.072.312 4.526 2.352-.117.07-2.703 1.512-2.674 4.51"
|
|
13
|
+
})));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { SvgApple as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgArrowDown = function SvgArrowDown(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M11.993 22.802.737 15.298a1.178 1.178 0 0 1 1.307-1.96l8.77 5.846V2.533a1.179 1.179 0 0 1 2.357 0v16.65l8.77-5.845a1.178 1.178 0 0 1 1.308 1.96z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 1.17804
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgArrowDown as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgArrowLeft = function SvgArrowLeft(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M1.1 12.084 8.603 23.34a1.178 1.178 0 0 0 1.96-1.307l-5.845-8.77h16.65a1.179 1.179 0 0 0 0-2.357H4.719l5.846-8.77A1.178 1.178 0 0 0 8.604.828z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 1.17804
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgArrowLeft as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgArrowRight = function SvgArrowRight(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M22.547 12.084 15.043 23.34a1.178 1.178 0 0 1-1.96-1.307l5.846-8.77H2.278a1.178 1.178 0 0 1 0-2.357h16.651l-5.846-8.77a1.178 1.178 0 0 1 1.96-1.308z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 1.17804
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgArrowRight as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgArrowUp = function SvgArrowUp(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "m12.038 1.354 11.256 7.504a1.178 1.178 0 0 1-1.307 1.96l-8.77-5.846v16.651a1.179 1.179 0 0 1-2.357 0V4.973l-8.77 5.845a1.178 1.178 0 0 1-1.308-1.96Z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 1.17804
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgArrowUp as default };
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
var SvgAttach = function SvgAttach(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeLinecap: "round",
|
|
13
|
+
strokeLinejoin: "round",
|
|
14
|
+
strokeWidth: 2.074,
|
|
15
|
+
d: "m14.05 8.92-7.57 6.62c-.878.77-.878 2.016 0 2.785.877.767 2.3.767 3.177 0L21.464 7.992c1.754-1.538 1.754-4.03 0-5.567s-4.6-1.538-6.354 0L3.302 12.756c-2.632 2.307-2.632 6.046 0 8.352 2.631 2.306 6.898 2.306 9.53 0l8.63-7.548"
|
|
16
|
+
})));
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { SvgAttach as default };
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
var SvgAvatar = function SvgAvatar(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m0 1.5c2 0 3.6 1.6 3.6 3.6S14 10.8 12 10.8 8.4 9.1 8.4 7.1 10 3.5 12 3.5m0 17.2c-3 0-5.7-1.5-7.3-3.9.9-2.9 4.8-3.7 7.3-3.7 2.4 0 6 .8 7.3 3.7-1.6 2.3-4.3 3.9-7.3 3.9"
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { SvgAvatar as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgBookmark = function SvgBookmark(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M2.881 23.695V3.289q0-1.052.752-1.802.752-.749 1.809-.749h12.802q1.056 0 1.809.75.752.749.752 1.8v20.407l-8.962-3.827zm2.56-3.89 6.402-2.742 6.401 2.742V3.289H5.442Zm0-16.516h12.803Z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 0.0319452
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgBookmark as default };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgBookmarkAdd = function SvgBookmarkAdd(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M2.772 23.628V3.322q0-1.047.749-1.792.75-.746 1.801-.746h7.652v2.538H5.322v16.435l6.376-2.728 6.376 2.728V9.647h2.55v13.98l-8.926-3.806zm2.55-20.306h7.652Zm11.845 4.431V5.215h-2.55V2.677h2.55V.139h2.55v2.538h2.55v2.538h-2.55v2.538z",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 0.0318037
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgBookmarkAdd as default };
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
var SvgBrain = function SvgBrain(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M9.108.189c-.767.246-1.4.842-1.64 1.543l-.133.394-.336-.022c-1.155-.09-2.317.611-2.831 1.7-.187.402-.239.595-.254 1.124l-.03.641-.365.284c-.67.506-1.17 1.468-1.296 2.496-.082.678.171 1.617.633 2.362.09.142.082.18-.142.366-.931.775-1.497 1.982-1.497 3.16 0 1.304.775 2.734 1.863 3.427.365.239.372.246.372.626.008 1.245.813 2.527 1.945 3.078.261.127.537.254.604.276s.216.223.32.447a3.22 3.22 0 0 0 3.168 1.81c.886-.074 1.721-.506 2.183-1.132.127-.179.253-.328.276-.328.022-.007.112.112.201.254.238.365.842.82 1.341 1.006 1.58.596 3.421-.134 4.054-1.595.157-.365.217-.425.507-.53 1.312-.446 2.392-1.937 2.392-3.286v-.395l.41-.275a4.3 4.3 0 0 0 1.379-1.565c.79-1.603.484-3.428-.783-4.703-.484-.484-.521-.544-.424-.67.06-.075.208-.35.335-.611.179-.388.231-.597.26-1.156.06-1.252-.223-2.004-1.08-2.869l-.551-.551-.015-.604c-.022-.805-.306-1.416-.947-2.004-.566-.53-1.095-.738-1.892-.76l-.59-.015-.111-.328c-.224-.671-.7-1.178-1.416-1.506-.276-.126-.492-.156-1.02-.164-.62 0-.709.023-1.141.254-.253.141-.566.372-.693.514l-.231.26-.216-.267c-.12-.15-.44-.373-.708-.507-.582-.29-1.342-.358-1.9-.18m1.408.97c.35.149.589.372.782.745.135.253.164.462.187 1.356l.03 1.066h-.373c-.306 0-.388-.03-.425-.142-.074-.23-.596-.663-.931-.76-.246-.074-.38-.074-.656 0-.7.186-1.058.649-1.058 1.364 0 .797.588 1.364 1.393 1.356.47-.007.798-.193 1.103-.603.209-.291.253-.313.581-.313l.35-.008v2.46H8.7l-.231-.321c-.254-.358-.641-.574-1.126-.633-.313-.038-.328-.053-.656-.612-.178-.32-.387-.626-.454-.685-.067-.052-.388-.112-.76-.134l-.641-.038.015-.387c.03-.678.447-1.304 1.088-1.632.358-.186 1.013-.216 1.49-.067.462.141.7.082.753-.209.015-.09.067-.365.112-.61.149-.798.73-1.305 1.52-1.305.238 0 .551.052.708.112m4.173 0c.35.149.589.372.768.723.223.432.186.663-.142.886-.283.194-.76.828-.76.999 0 .052.067.179.157.29.238.299.454.254.827-.186.417-.499.842-.745 1.378-.79.56-.052.962.06 1.387.388.678.522.939 1.513.588 2.288-.134.313-.633.88-.767.88-.038 0-.12.081-.187.185-.104.157-.104.224-.03.41.202.485.709.343 1.35-.357.365-.395.372-.403.55-.284.277.18.679.843.828 1.342.209.745.052 1.624-.417 2.28-.127.186-.187.209-.298.15-.075-.045-.261-.075-.403-.075-.201 0-.298.044-.387.193-.216.328-.075.544.506.775.992.403 1.64 1.074 1.93 2.005.47 1.513-.245 3.145-1.684 3.853-.424.209-.491.216-1.46.216-1.11 0-1.26.045-1.26.41 0 .112.06.253.134.32.202.187.94.298 1.61.246l.589-.044-.045.365c-.082.685-.536 1.386-1.155 1.788-.551.35-1.237.5-1.856.395-.626-.104-.842-.007-.842.395 0 .313.194.462.686.53.194.03.358.074.358.104 0 .156-.671.79-1.006.939-.47.223-1.245.238-1.781.052-.5-.179-1.029-.67-1.245-1.155l-.179-.395-.022-3.69c-.023-4.023-.015-3.949-.447-3.949-.373 0-.462.179-.462.91v.655h-1.454l-.275-.484-.276-.492.142-.239c.283-.462.141-1.34-.269-1.699a1.47 1.47 0 0 0-.916-.365c-.291 0-.298 0-.671-.663-.209-.365-.432-.686-.5-.708-.066-.022-.849-.045-1.743-.045H3.907l-.187-.246c-.395-.521-.529-.931-.529-1.654 0-.559.038-.738.194-1.08.224-.485.566-.895.924-1.118.209-.127.35-.15.827-.135l.582.023.253.432.253.44-.156.357c-.194.447-.194.76-.015 1.155.462 1.029 1.81 1.133 2.437.187l.201-.298h2.81v.76c0 .596.022.782.126.894.15.164.455.171.634.007.126-.111.134-.335.134-3.912 0-2.489.03-3.905.082-4.114.104-.417.462-.85.842-1.02.373-.172.999-.18 1.371-.03M9.742 4.444c.067.06.12.209.12.328 0 .268-.18.447-.448.447a.48.48 0 0 1-.447-.447c0-.373.514-.589.775-.328M7.64 7.805c.291.26.082.768-.32.768-.26 0-.44-.18-.44-.425a.45.45 0 0 1 .76-.343m-.58 4.084.282.484-.156.32c-.432.888.119 1.894 1.08 1.976l.41.037.38.648c.224.38.455.693.56.738.096.045.558.082 1.028.082h.857v2.37c0 2.6-.038 2.884-.448 3.48-.588.857-1.78 1.2-2.742.782-.53-.23-1.066-.82-1.237-1.363-.075-.231-.171-.447-.224-.492s-.313-.15-.58-.231c-1.052-.32-1.782-1.222-1.864-2.28l-.022-.366 1.542-.022 1.543-.015.29.5.291.499-.126.223a1.43 1.43 0 0 0 .089 1.558c.328.462 1.185.648 1.751.38.537-.261.872-1.021.708-1.588-.179-.588-.767-1.043-1.356-1.05-.246 0-.276-.03-.67-.693l-.41-.686-2.05-.037c-2.355-.045-2.266-.015-3.003-.82-.38-.41-.619-.857-.768-1.453-.045-.187-.045-.187.447-.187.462 0 .492.008.596.217.254.477.917.82 1.409.708.857-.18 1.356-.895 1.177-1.677-.283-1.252-1.997-1.483-2.586-.358-.104.201-.134.216-.588.216-.269 0-.485-.03-.485-.06 0-.037.052-.23.112-.44.164-.558.656-1.244 1.14-1.586l.41-.299h2.929zm1.639 1.088c.23.186.253.455.044.663-.179.179-.357.186-.574.037-.29-.2-.253-.648.068-.782.238-.09.238-.09.462.082m-3.89.939c.283.253.081.767-.299.767a.451.451 0 0 1-.335-.76c.15-.164.455-.171.633-.007m4.643 5.73c.187.187.12.56-.126.701-.187.097-.231.097-.41 0a.435.435 0 0 1 .208-.82c.112 0 .261.053.328.12",
|
|
11
|
+
style: {
|
|
12
|
+
strokeWidth: 0.0518715
|
|
13
|
+
}
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M13.267 5.13c-.418.462.387 1.2 1.453 1.326.723.082 1.826-.372 1.997-.834.164-.433-.268-.775-.663-.53-.634.395-.775.44-1.207.41-.343-.022-.507-.082-.768-.268-.373-.268-.633-.305-.812-.104M16.5 9.057c-.12.104-.32.388-.432.619-.172.357-.209.521-.209 1.02 0 .5.037.664.209 1.022.223.454.574.804.805.804.2 0 .44-.26.44-.477 0-.104-.083-.283-.187-.402a1.34 1.34 0 0 1-.335-.946c0-.395.097-.656.335-.947.224-.268.239-.529.037-.73-.2-.201-.387-.186-.663.037m-4.874 2.63c-.164.18-.156.485.008.634.298.268.76.067.76-.335 0-.38-.514-.581-.768-.298m3.779 3.696c-.73.335-1.2 1.148-1.133 1.953.037.462.208.7.507.7.283 0 .462-.224.447-.574a5.45 5.45 0 0 1-.008-.484c.008-.231.388-.7.626-.775.239-.067.5-.328.5-.492s-.32-.507-.463-.507c-.052 0-.268.082-.476.18",
|
|
16
|
+
style: {
|
|
17
|
+
strokeWidth: 0.0518715
|
|
18
|
+
}
|
|
19
|
+
}));
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { SvgBrain as default };
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import*as React from
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
var SvgBrokenImage = function SvgBrokenImage(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5v-4.58l.99.99 4-4 4 4 4-3.99L19 12.43zm0-9.41-1.01-1.01-4 4.01-4-4-4 4-.99-1V5h14z"
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { SvgBrokenImage as default };
|