@consta/uikit 3.18.2 → 3.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Attach/package.json +1 -1
- package/Attachment/package.json +1 -1
- package/Avatar/package.json +1 -1
- package/Badge/package.json +1 -1
- package/BasicSelectDeprecated/package.json +1 -1
- package/Breadcrumbs/package.json +1 -1
- package/BreadcrumbsCanary/package.json +1 -1
- package/Button/package.json +1 -1
- package/CHANGELOG.md +24 -40
- package/Calendar/package.json +1 -1
- package/Card/package.json +1 -1
- package/Checkbox/package.json +1 -1
- package/CheckboxGroup/package.json +1 -1
- package/ChoiceGroup/package.json +1 -1
- package/Collapse/package.json +1 -1
- package/CollapseGroup/package.json +1 -1
- package/Combobox/package.json +1 -1
- package/ComboboxDeprecated/package.json +1 -1
- package/ContextMenu/package.json +1 -1
- package/ContextMenuCanary/package.json +1 -1
- package/DatePickerCanary/package.json +1 -1
- package/DateTimeCanary/package.json +1 -1
- package/DragNDropField/package.json +1 -1
- package/EventInterceptor/package.json +1 -1
- package/FieldCaption/package.json +1 -1
- package/FieldLabel/package.json +1 -1
- package/File/package.json +1 -1
- package/FileField/package.json +1 -1
- package/FileIcon/package.json +1 -1
- package/FileIconAvi/package.json +1 -1
- package/FileIconBmp/package.json +1 -1
- package/FileIconCsv/package.json +1 -1
- package/FileIconDoc/package.json +1 -1
- package/FileIconExe/package.json +1 -1
- package/FileIconGif/package.json +1 -1
- package/FileIconJpg/package.json +1 -1
- package/FileIconJson/package.json +1 -1
- package/FileIconLoading/package.json +1 -1
- package/FileIconMov/package.json +1 -1
- package/FileIconMp3/package.json +1 -1
- package/FileIconMp4/package.json +1 -1
- package/FileIconPdf/package.json +1 -1
- package/FileIconPng/package.json +1 -1
- package/FileIconPtt/package.json +1 -1
- package/FileIconRar/package.json +1 -1
- package/FileIconRtf/package.json +1 -1
- package/FileIconTiff/package.json +1 -1
- package/FileIconTxt/package.json +1 -1
- package/FileIconUndefined/package.json +1 -1
- package/FileIconWav/package.json +1 -1
- package/FileIconXls/package.json +1 -1
- package/FileIconZip/package.json +1 -1
- package/Grid/package.json +1 -1
- package/Header/package.json +1 -1
- package/Icon/package.json +1 -1
- package/IconAdd/package.json +1 -1
- package/IconAddToComparison/package.json +1 -1
- package/IconAlert/package.json +1 -1
- package/IconAlignBlocksLeft/package.json +1 -1
- package/IconAlignBlocksRight/package.json +1 -1
- package/IconAlignCenter/package.json +1 -1
- package/IconAlignJustify/package.json +1 -1
- package/IconAlignLeft/package.json +1 -1
- package/IconAlignRight/package.json +1 -1
- package/IconAllDone/package.json +1 -1
- package/IconArrowDown/package.json +1 -1
- package/IconArrowLeft/package.json +1 -1
- package/IconArrowRight/package.json +1 -1
- package/IconArrowUp/package.json +1 -1
- package/IconArtBrush/package.json +1 -1
- package/IconAttach/package.json +1 -1
- package/IconBackward/package.json +1 -1
- package/IconBag/package.json +1 -1
- package/IconBarrier/package.json +1 -1
- package/IconBento/package.json +1 -1
- package/IconBold/package.json +1 -1
- package/IconBook/package.json +1 -1
- package/IconBookmarkFilled/package.json +1 -1
- package/IconBookmarkStroked/package.json +1 -1
- package/IconCalculator/package.json +1 -1
- package/IconCalendar/package.json +1 -1
- package/IconCamera/package.json +1 -1
- package/IconCancel/package.json +1 -1
- package/IconCards/package.json +1 -1
- package/IconChat/package.json +1 -1
- package/IconCheck/package.json +1 -1
- package/IconClose/package.json +1 -1
- package/IconCollapse/package.json +1 -1
- package/IconColorFill/package.json +1 -1
- package/IconColorText/package.json +1 -1
- package/IconColumns/package.json +1 -1
- package/IconComment/package.json +1 -1
- package/IconConnection/package.json +1 -1
- package/IconCopy/package.json +1 -1
- package/IconCrown/package.json +1 -1
- package/IconCursorMouse/package.json +1 -1
- package/IconDataNull/package.json +1 -1
- package/IconDiamond/package.json +1 -1
- package/IconDinosaur/package.json +1 -1
- package/IconDisconnection/package.json +1 -1
- package/IconDocAdd/package.json +1 -1
- package/IconDocBlank/package.json +1 -1
- package/IconDocDelete/package.json +1 -1
- package/IconDocExport/package.json +1 -1
- package/IconDocFilled/package.json +1 -1
- package/IconDown/package.json +1 -1
- package/IconDownload/package.json +1 -1
- package/IconDrag/package.json +1 -1
- package/IconDraggable/package.json +1 -1
- package/IconDrillingRig/package.json +1 -1
- package/IconDrop/package.json +1 -1
- package/IconEdit/package.json +1 -1
- package/IconExit/package.json +1 -1
- package/IconExpand/package.json +1 -1
- package/IconEye/package.json +1 -1
- package/IconEyeClose/package.json +1 -1
- package/IconFacebook/package.json +1 -1
- package/IconFavorite/package.json +1 -1
- package/IconFilter/package.json +1 -1
- package/IconFitToDefault/package.json +1 -1
- package/IconFlagFilled/package.json +1 -1
- package/IconFlagStroked/package.json +1 -1
- package/IconFolders/package.json +1 -1
- package/IconForward/package.json +1 -1
- package/IconFunnel/package.json +1 -1
- package/IconGas/package.json +1 -1
- package/IconGeo/package.json +1 -1
- package/IconGrouping/package.json +1 -1
- package/IconHamburger/package.json +1 -1
- package/IconHand/package.json +1 -1
- package/IconHealth/package.json +1 -1
- package/IconHome/package.json +1 -1
- package/IconInComparison/package.json +1 -1
- package/IconInfo/package.json +1 -1
- package/IconInstagram/package.json +1 -1
- package/IconIntroduction/package.json +1 -1
- package/IconIpad/package.json +1 -1
- package/IconItalic/package.json +1 -1
- package/IconKebab/package.json +1 -1
- package/IconLaptop/package.json +1 -1
- package/IconLayers/package.json +1 -1
- package/IconLeaf/package.json +1 -1
- package/IconLightningBolt/package.json +1 -1
- package/IconLineAndBarChart/package.json +1 -1
- package/IconLink/package.json +1 -1
- package/IconList/package.json +1 -1
- package/IconListNumbered/package.json +1 -1
- package/IconLock/package.json +1 -1
- package/IconLogicalElement/package.json +1 -1
- package/IconMBU/package.json +1 -1
- package/IconMGRP/package.json +1 -1
- package/IconMLSP/package.json +1 -1
- package/IconMMP/package.json +1 -1
- package/IconMail/package.json +1 -1
- package/IconMap/package.json +1 -1
- package/IconMaxHeight/package.json +1 -1
- package/IconMaxWidth/package.json +1 -1
- package/IconMeatball/package.json +1 -1
- package/IconMic/package.json +1 -1
- package/IconMolecules/package.json +1 -1
- package/IconMoon/package.json +1 -1
- package/IconNodeEnd/package.json +1 -1
- package/IconNodeStart/package.json +1 -1
- package/IconNodeStep/package.json +1 -1
- package/IconNodes/package.json +1 -1
- package/IconOpenInNew/package.json +1 -1
- package/IconOperators/package.json +1 -1
- package/IconPanelBottom/package.json +1 -1
- package/IconPanelLeft/package.json +1 -1
- package/IconPanelRight/package.json +1 -1
- package/IconPanelTop/package.json +1 -1
- package/IconPaste/package.json +1 -1
- package/IconPause/package.json +1 -1
- package/IconPhone/package.json +1 -1
- package/IconPhoto/package.json +1 -1
- package/IconPicture/package.json +1 -1
- package/IconPlay/package.json +1 -1
- package/IconPressure/package.json +1 -1
- package/IconPriceLabel/package.json +1 -1
- package/IconProcessing/package.json +1 -1
- package/IconQuestion/package.json +1 -1
- package/IconQuote/package.json +1 -1
- package/IconRUO/package.json +1 -1
- package/IconRUS/package.json +1 -1
- package/IconRecord/package.json +1 -1
- package/IconRemove/package.json +1 -1
- package/IconRemoveFromComparison/package.json +1 -1
- package/IconReply/package.json +1 -1
- package/IconResize/package.json +1 -1
- package/IconRestart/package.json +1 -1
- package/IconRevert/package.json +1 -1
- package/IconRing/package.json +1 -1
- package/IconRouble/package.json +1 -1
- package/IconRuler/package.json +1 -1
- package/IconSave/package.json +1 -1
- package/IconScreen/package.json +1 -1
- package/IconSearch/package.json +1 -1
- package/IconSelect/package.json +1 -1
- package/IconSelectOpen/package.json +1 -1
- package/IconSendMessage/package.json +1 -1
- package/IconSettings/package.json +1 -1
- package/IconShape/package.json +1 -1
- package/IconShuffle/package.json +1 -1
- package/IconSmile/package.json +1 -1
- package/IconSortDown/package.json +1 -1
- package/IconSortDownCenter/package.json +1 -1
- package/IconSortUp/package.json +1 -1
- package/IconSortUpCenter/package.json +1 -1
- package/IconStop/package.json +1 -1
- package/IconStorage/package.json +1 -1
- package/IconStrikethrough/package.json +1 -1
- package/IconSun/package.json +1 -1
- package/IconTable/package.json +1 -1
- package/IconTable2/package.json +1 -1
- package/IconTarget/package.json +1 -1
- package/IconTeam/package.json +1 -1
- package/IconTechResponse/package.json +1 -1
- package/IconTest/package.json +1 -1
- package/IconThumbUp/package.json +1 -1
- package/IconTie/package.json +1 -1
- package/IconTop/package.json +1 -1
- package/IconTrash/package.json +1 -1
- package/IconType/package.json +1 -1
- package/IconUnderline/package.json +1 -1
- package/IconUnlock/package.json +1 -1
- package/IconUnsort/package.json +1 -1
- package/IconUnsortCenter/package.json +1 -1
- package/IconUpload/package.json +1 -1
- package/IconUser/package.json +1 -1
- package/IconVZD/package.json +1 -1
- package/IconVideo/package.json +1 -1
- package/IconVkontakte/package.json +1 -1
- package/IconWarning/package.json +1 -1
- package/IconWatch/package.json +1 -1
- package/IconWideScreen/package.json +1 -1
- package/IconWorld/package.json +1 -1
- package/IconWrench/package.json +1 -1
- package/IconYandexDzen/package.json +1 -1
- package/IconYoutube/package.json +1 -1
- package/Informer/package.json +1 -1
- package/LayoutCanary/package.json +1 -1
- package/Loader/package.json +1 -1
- package/MixCard/package.json +1 -1
- package/MixFocus/package.json +1 -1
- package/MixPopoverAnimate/package.json +1 -1
- package/MixPopoverArrow/package.json +1 -1
- package/MixSpace/package.json +1 -1
- package/MixVisuallyHidden/package.json +1 -1
- package/Modal/package.json +1 -1
- package/MultiComboboxDeprecated/package.json +1 -1
- package/Pagination/package.json +1 -1
- package/Popover/package.json +1 -1
- package/PortalWithTheme/package.json +1 -1
- package/ProgressSpin/package.json +1 -1
- package/ProgressStepBarCanary/package.json +1 -1
- package/README.md +6 -6
- package/Radio/package.json +1 -1
- package/RadioGroup/package.json +1 -1
- package/Responses/package.json +1 -1
- package/Responses403/package.json +1 -1
- package/Responses404/package.json +1 -1
- package/Responses500/package.json +1 -1
- package/Responses503/package.json +1 -1
- package/ResponsesConnectionError/package.json +1 -1
- package/ResponsesDeleted/package.json +1 -1
- package/ResponsesEmptyBox/package.json +1 -1
- package/ResponsesEmptyPockets/package.json +1 -1
- package/ResponsesExit/package.json +1 -1
- package/ResponsesImage/package.json +1 -1
- package/ResponsesImage403/package.json +1 -1
- package/ResponsesImage404/package.json +1 -1
- package/ResponsesImage500/package.json +1 -1
- package/ResponsesImage503/package.json +1 -1
- package/ResponsesImageConnectionError/package.json +1 -1
- package/ResponsesImageDeleted/package.json +1 -1
- package/ResponsesImageEmptyBox/package.json +1 -1
- package/ResponsesImageEmptyPockets/package.json +1 -1
- package/ResponsesImageNothingFound/package.json +1 -1
- package/ResponsesImageSuccess/package.json +1 -1
- package/ResponsesNothingFound/package.json +1 -1
- package/ResponsesSuccess/package.json +1 -1
- package/Select/package.json +1 -1
- package/Sidebar/package.json +1 -1
- package/Skeleton/package.json +1 -1
- package/SliderCanary/package.json +1 -1
- package/SnackBar/package.json +1 -1
- package/Steps/package.json +1 -1
- package/Switch/package.json +1 -1
- package/SwitchGroup/package.json +1 -1
- package/Table/package.json +1 -1
- package/Tabs/package.json +1 -1
- package/Tag/package.json +1 -1
- package/TagBase/package.json +1 -1
- package/Text/package.json +1 -1
- package/TextField/package.json +1 -1
- package/Theme/package.json +1 -1
- package/ThemeToggler/package.json +1 -1
- package/Timer/package.json +1 -1
- package/Tooltip/package.json +1 -1
- package/User/package.json +1 -1
- package/UserSelect/package.json +1 -1
- package/UserSelectDeprecated/package.json +1 -1
- package/__internal__/cjs-src/components/ChoiceGroup/ChoiceGroup.css +4 -1
- package/__internal__/cjs-src/components/ChoiceGroup/ChoiceGroup.d.ts +1 -0
- package/__internal__/cjs-src/components/ChoiceGroup/ChoiceGroup.js +4 -2
- package/__internal__/cjs-src/components/ContextMenuCanary/ContextMenuLevel/ContextMenuLevel.d.ts +1 -0
- package/__internal__/cjs-src/components/ContextMenuCanary/ContextMenuLevel/ContextMenuLevel.js +27 -5
- package/__internal__/cjs-src/components/ContextMenuCanary/ContextMenuLevels/ContextMenuLevels.js +2 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerCanary.js +12 -8
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.js +6 -70
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDate/helpers.d.ts +1 -1
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDate/helpers.js +82 -13
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDateTime/DatePickerFieldTypeDateTime.js +9 -2
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDateTime/helpers.d.ts +0 -2
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDateTime/helpers.js +12 -22
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeTime/DatePickerFieldTypeTime.d.ts +48 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeTime/DatePickerFieldTypeTime.js +75 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeTime/helpers.d.ts +49 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeTime/helpers.js +83 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerTypeDateTime/DatePickerTypeDateTime.js +3 -3
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerTypeTime/DatePickerTypeTime.d.ts +2 -0
- package/__internal__/cjs-src/components/DatePickerCanary/DatePickerTypeTime/DatePickerTypeTime.js +35 -0
- package/__internal__/cjs-src/components/DatePickerCanary/helpers.d.ts +6 -1
- package/__internal__/cjs-src/components/DatePickerCanary/helpers.js +33 -4
- package/__internal__/cjs-src/components/EventInterceptor/types.d.ts +1 -1
- package/__internal__/cjs-src/components/Modal/Modal.css +50 -25
- package/__internal__/cjs-src/components/Modal/Modal.js +3 -3
- package/__internal__/cjs-src/components/Pagination/Pagination.d.ts +0 -1
- package/__internal__/cjs-src/components/Pagination/Pagination.js +6 -9
- package/__internal__/cjs-src/components/PortalWithTheme/PortalWithTheme.js +15 -4
- package/__internal__/cjs-src/components/PortalWithTheme/PortalWithThemeContext/PortalWithThemeContext.d.ts +4 -1
- package/__internal__/cjs-src/components/PortalWithTheme/PortalWithThemeContext/PortalWithThemeContext.js +3 -2
- package/__internal__/cjs-src/components/SelectComponents/SelectDropdown/SelectDropdown.js +1 -1
- package/__internal__/cjs-src/components/Sidebar/Sidebar.css +10 -10
- package/__internal__/cjs-src/components/Sidebar/Sidebar.js +2 -2
- package/__internal__/cjs-src/hooks/useClickOutside/useClickOutside.d.ts +3 -3
- package/__internal__/cjs-src/hooks/useClickOutside/useClickOutside.js +18 -7
- package/__internal__/cjs-src/icons/IconFacebook/IconFacebook_size_m.js +1 -1
- package/__internal__/cjs-src/icons/IconFacebook/IconFacebook_size_s.js +1 -1
- package/__internal__/cjs-src/icons/IconInstagram/IconInstagram_size_m.js +1 -1
- package/__internal__/cjs-src/icons/IconInstagram/IconInstagram_size_s.js +1 -1
- package/__internal__/cjs-src/icons/IconVkontakte/IconVkontakte_size_m.js +1 -1
- package/__internal__/cjs-src/icons/IconVkontakte/IconVkontakte_size_s.js +1 -1
- package/__internal__/cjs-src/icons/IconYandexDzen/IconYandexDzen_size_m.js +1 -1
- package/__internal__/cjs-src/icons/IconYandexDzen/IconYandexDzen_size_s.js +1 -1
- package/__internal__/cjs-src/icons/IconYoutube/IconYoutube_size_m.js +1 -1
- package/__internal__/cjs-src/icons/IconYoutube/IconYoutube_size_s.js +1 -1
- package/__internal__/src/components/ChoiceGroup/ChoiceGroup.css +4 -1
- package/__internal__/src/components/ChoiceGroup/ChoiceGroup.d.ts +1 -0
- package/__internal__/src/components/ChoiceGroup/ChoiceGroup.js +4 -2
- package/__internal__/src/components/ContextMenuCanary/ContextMenuLevel/ContextMenuLevel.d.ts +1 -0
- package/__internal__/src/components/ContextMenuCanary/ContextMenuLevel/ContextMenuLevel.js +25 -4
- package/__internal__/src/components/ContextMenuCanary/ContextMenuLevels/ContextMenuLevels.js +3 -1
- package/__internal__/src/components/DatePickerCanary/DatePickerCanary.js +14 -10
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.js +9 -73
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDate/helpers.d.ts +1 -1
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDate/helpers.js +81 -12
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDateTime/DatePickerFieldTypeDateTime.js +11 -4
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDateTime/helpers.d.ts +0 -2
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDateTime/helpers.js +13 -23
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeTime/DatePickerFieldTypeTime.d.ts +48 -0
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeTime/DatePickerFieldTypeTime.js +72 -0
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeTime/helpers.d.ts +49 -0
- package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeTime/helpers.js +80 -0
- package/__internal__/src/components/DatePickerCanary/DatePickerTypeDateTime/DatePickerTypeDateTime.js +3 -3
- package/__internal__/src/components/DatePickerCanary/DatePickerTypeTime/DatePickerTypeTime.d.ts +2 -0
- package/__internal__/src/components/DatePickerCanary/DatePickerTypeTime/DatePickerTypeTime.js +32 -0
- package/__internal__/src/components/DatePickerCanary/helpers.d.ts +6 -1
- package/__internal__/src/components/DatePickerCanary/helpers.js +32 -3
- package/__internal__/src/components/EventInterceptor/types.d.ts +1 -1
- package/__internal__/src/components/Modal/Modal.css +50 -25
- package/__internal__/src/components/Modal/Modal.js +3 -3
- package/__internal__/src/components/Pagination/Pagination.d.ts +0 -1
- package/__internal__/src/components/Pagination/Pagination.js +5 -8
- package/__internal__/src/components/PortalWithTheme/PortalWithTheme.js +15 -4
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeContext/PortalWithThemeContext.d.ts +4 -1
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeContext/PortalWithThemeContext.js +3 -2
- package/__internal__/src/components/SelectComponents/SelectDropdown/SelectDropdown.js +1 -1
- package/__internal__/src/components/Sidebar/Sidebar.css +10 -10
- package/__internal__/src/components/Sidebar/Sidebar.js +2 -2
- package/__internal__/src/hooks/useClickOutside/useClickOutside.d.ts +3 -3
- package/__internal__/src/hooks/useClickOutside/useClickOutside.js +18 -7
- package/__internal__/src/icons/IconFacebook/IconFacebook_size_m.js +1 -1
- package/__internal__/src/icons/IconFacebook/IconFacebook_size_s.js +1 -1
- package/__internal__/src/icons/IconInstagram/IconInstagram_size_m.js +1 -1
- package/__internal__/src/icons/IconInstagram/IconInstagram_size_s.js +1 -1
- package/__internal__/src/icons/IconVkontakte/IconVkontakte_size_m.js +1 -1
- package/__internal__/src/icons/IconVkontakte/IconVkontakte_size_s.js +1 -1
- package/__internal__/src/icons/IconYandexDzen/IconYandexDzen_size_m.js +1 -1
- package/__internal__/src/icons/IconYandexDzen/IconYandexDzen_size_s.js +1 -1
- package/__internal__/src/icons/IconYoutube/IconYoutube_size_m.js +1 -1
- package/__internal__/src/icons/IconYoutube/IconYoutube_size_s.js +1 -1
- package/createIcon/package.json +1 -1
- package/createResponsesImage/package.json +1 -1
- package/package.json +1 -1
- package/useBreakpoints/package.json +1 -1
- package/useChoiceGroup/package.json +1 -1
- package/useChoiceGroupIndexed/package.json +1 -1
- package/useClickOutside/package.json +1 -1
- package/useComponentSize/package.json +1 -1
- package/useDebounce/package.json +1 -1
- package/useFlag/package.json +1 -1
- package/useForkRef/package.json +1 -1
- package/useGlobalKeys/package.json +1 -1
- package/useHideElementsInLine/package.json +1 -1
- package/useKeys/package.json +1 -1
- package/useMutableRef/package.json +1 -1
- package/useOverflow/package.json +1 -1
- package/usePrevious/package.json +1 -1
- package/useRefs/package.json +1 -1
- package/useResizeObserved/package.json +1 -1
- package/useScrollElements/package.json +1 -1
- package/useScrollPosition/package.json +1 -1
- package/useSelect/package.json +1 -1
- package/useSortSteps/package.json +1 -1
- package/useThemeVars/package.json +1 -1
- package/useTimer/package.json +1 -1
- package/withTooltip/package.json +1 -1
package/__internal__/cjs-src/components/DatePickerCanary/DatePickerTypeTime/DatePickerTypeTime.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.DatePickerTypeTime = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var react_1 = tslib_1.__importStar(require("react"));
|
|
6
|
+
var useClickOutside_1 = require("../../../hooks/useClickOutside/useClickOutside");
|
|
7
|
+
var useFlag_1 = require("../../../hooks/useFlag/useFlag");
|
|
8
|
+
var setRef_1 = require("../../../utils/setRef");
|
|
9
|
+
var DatePickerDropdown_1 = require("../DatePickerDropdown/DatePickerDropdown");
|
|
10
|
+
var DatePickerFieldTypeTime_1 = require("../DatePickerFieldTypeTime/DatePickerFieldTypeTime");
|
|
11
|
+
var helpers_1 = require("../helpers");
|
|
12
|
+
exports.DatePickerTypeTime = react_1.forwardRef(function (props, ref) {
|
|
13
|
+
var events = props.events, dateTimeView = props.dateTimeView, locale = props.locale, dropdownForm = props.dropdownForm, onFocus = props.onFocus, multiplicityHoursProp = props.multiplicityHours, multiplicityMinutesProp = props.multiplicityMinutes, multiplicitySecondsProp = props.multiplicitySeconds, renderAdditionalControls = props.renderAdditionalControls, style = props.style, currentVisibleDate = props.currentVisibleDate, onChangeCurrentVisibleDate = props.onChangeCurrentVisibleDate, otherProps = tslib_1.__rest(props, ["events", "dateTimeView", "locale", "dropdownForm", "onFocus", "multiplicityHours", "multiplicityMinutes", "multiplicitySeconds", "renderAdditionalControls", "style", "currentVisibleDate", "onChangeCurrentVisibleDate"]);
|
|
14
|
+
var _a = tslib_1.__read(helpers_1.getMultiplicityTime(otherProps.format || helpers_1.datePickerPropFormatTypeDateTime, multiplicityHoursProp, multiplicityMinutesProp, multiplicitySecondsProp), 3), multiplicityHours = _a[0], multiplicityMinutes = _a[1], multiplicitySeconds = _a[2];
|
|
15
|
+
var fieldRef = react_1.useRef(null);
|
|
16
|
+
var calendarRef = react_1.useRef(null);
|
|
17
|
+
var _b = tslib_1.__read(useFlag_1.useFlag(false), 2), calendarVisible = _b[0], setCalendarVisible = _b[1];
|
|
18
|
+
var onFocusHandler = function (e) {
|
|
19
|
+
onFocus && onFocus(e);
|
|
20
|
+
setCalendarVisible.on();
|
|
21
|
+
};
|
|
22
|
+
react_1.useEffect(function () {
|
|
23
|
+
if (ref) {
|
|
24
|
+
setRef_1.setRef(ref, fieldRef.current);
|
|
25
|
+
}
|
|
26
|
+
}, [ref, fieldRef]);
|
|
27
|
+
useClickOutside_1.useClickOutside({
|
|
28
|
+
isActive: calendarVisible,
|
|
29
|
+
ignoreClicksInsideRefs: [fieldRef, calendarRef],
|
|
30
|
+
handler: function () { return setCalendarVisible.off(); }
|
|
31
|
+
});
|
|
32
|
+
return (react_1["default"].createElement(react_1["default"].Fragment, null,
|
|
33
|
+
react_1["default"].createElement(DatePickerFieldTypeTime_1.DatePickerFieldTypeTime, tslib_1.__assign({}, otherProps, { ref: fieldRef, onFocus: onFocusHandler, multiplicityHours: multiplicityHours, multiplicitySeconds: multiplicitySeconds, multiplicityMinutes: multiplicityMinutes, style: style })),
|
|
34
|
+
react_1["default"].createElement(DatePickerDropdown_1.DatePickerDropdown, { ref: calendarRef, anchorRef: fieldRef, isOpen: calendarVisible, value: props.value || undefined, type: "time", view: dateTimeView, events: events, locale: locale, minDate: props.minDate, maxDate: props.maxDate, form: dropdownForm, onChange: props.onChange, renderAdditionalControls: renderAdditionalControls, multiplicityHours: multiplicityHours, multiplicitySeconds: multiplicitySeconds, multiplicityMinutes: multiplicityMinutes, zIndex: typeof (style === null || style === void 0 ? void 0 : style.zIndex) === 'number' ? style.zIndex + 1 : undefined })));
|
|
35
|
+
});
|
|
@@ -5,7 +5,7 @@ import { DateRange } from '../../utils/types/Date';
|
|
|
5
5
|
import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
|
|
6
6
|
import { DateTimeAdditionalControlRenderProp, DateTimePropView } from '../DateTimeCanary/helpers';
|
|
7
7
|
import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView, TextFieldPropWidth } from '../TextField/TextField';
|
|
8
|
-
export declare const datePickerPropType: readonly ["date", "date-range", "date-time", "date-time-range"];
|
|
8
|
+
export declare const datePickerPropType: readonly ["date", "date-range", "date-time", "date-time-range", "time"];
|
|
9
9
|
export declare type DatePickerPropType = typeof datePickerPropType[number];
|
|
10
10
|
export declare const datePickerPropTypeDefault: "date";
|
|
11
11
|
export declare type DatePickerPropDateTimeView = DateTimePropView;
|
|
@@ -106,6 +106,8 @@ export declare type DatePickerPropOnError = (props: {
|
|
|
106
106
|
export declare const datePickerPropSeparatorDefault = ".";
|
|
107
107
|
export declare const datePickerPropFormatTypeDate: string;
|
|
108
108
|
export declare const datePickerPropPlaceholderTypeDate: string;
|
|
109
|
+
export declare const datePickerPropFormatTypeTime = "HH:mm:ss";
|
|
110
|
+
export declare const datePickerPropPlaceholderTypeTime = "\u0427\u0427:\u041C\u041C:\u0421\u0421";
|
|
109
111
|
export declare const datePickerPropFormatTypeDateTime: string;
|
|
110
112
|
export declare const datePickerPropPlaceholderTypeDateTime: string;
|
|
111
113
|
export declare const normalizeRangeValue: (dateRange: DateRange) => DateRange;
|
|
@@ -113,4 +115,7 @@ export declare const getMultiplicityTime: (format: string, multiplicityHours: nu
|
|
|
113
115
|
export declare const getTimeEnum: (length: number, multiplicity: number | undefined, startOfUnits: (date: Date) => Date, addUnits: (date: Date, amount: number) => Date, getItemLabel: (date: Date) => string) => string[];
|
|
114
116
|
export declare const getFormForStart: (form: TextFieldPropForm) => "default" | "round" | "brick" | "brickRound" | "roundBrick" | "brickDefault" | "defaultBrick" | "clearRound" | "roundClear" | "clearDefault" | "defaultClear" | "brickClear" | "clearBrick" | "clearClear";
|
|
115
117
|
export declare const getFormForEnd: (form: TextFieldPropForm) => "default" | "round" | "brick" | "brickRound" | "roundBrick" | "brickDefault" | "defaultBrick" | "clearRound" | "roundClear" | "clearDefault" | "defaultClear" | "brickClear" | "clearBrick" | "clearClear";
|
|
118
|
+
export declare const getParts: (format: string, separator: string, withTime?: boolean | undefined) => string[];
|
|
119
|
+
export declare const getPartsDate: (value: string, format: string, separator: string, withTime: boolean, markers: string[]) => (string | undefined)[];
|
|
120
|
+
export declare const isTypeWithTime: (type: DatePickerPropType) => boolean;
|
|
116
121
|
export {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
|
-
exports.getFormForEnd = exports.getFormForStart = exports.getTimeEnum = exports.getMultiplicityTime = exports.normalizeRangeValue = exports.datePickerPropPlaceholderTypeDateTime = exports.datePickerPropFormatTypeDateTime = exports.datePickerPropPlaceholderTypeDate = exports.datePickerPropFormatTypeDate = exports.datePickerPropSeparatorDefault = exports.datePickerPropDropdownFormDefault = exports.datePickerPropDropdownForm = exports.datePickerErrorTypes = exports.datePickerPropTypeDefault = exports.datePickerPropType = void 0;
|
|
3
|
+
exports.isTypeWithTime = exports.getPartsDate = exports.getParts = exports.getFormForEnd = exports.getFormForStart = exports.getTimeEnum = exports.getMultiplicityTime = exports.normalizeRangeValue = exports.datePickerPropPlaceholderTypeDateTime = exports.datePickerPropFormatTypeDateTime = exports.datePickerPropPlaceholderTypeTime = exports.datePickerPropFormatTypeTime = exports.datePickerPropPlaceholderTypeDate = exports.datePickerPropFormatTypeDate = exports.datePickerPropSeparatorDefault = exports.datePickerPropDropdownFormDefault = exports.datePickerPropDropdownForm = exports.datePickerErrorTypes = exports.datePickerPropTypeDefault = exports.datePickerPropType = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
4
5
|
var date_fns_1 = require("date-fns");
|
|
5
6
|
var array_1 = require("../../utils/array");
|
|
6
7
|
var getByMap_1 = require("../../utils/getByMap");
|
|
7
|
-
exports.datePickerPropType = [
|
|
8
|
+
exports.datePickerPropType = [
|
|
9
|
+
'date',
|
|
10
|
+
'date-range',
|
|
11
|
+
'date-time',
|
|
12
|
+
'date-time-range',
|
|
13
|
+
'time',
|
|
14
|
+
];
|
|
8
15
|
exports.datePickerPropTypeDefault = exports.datePickerPropType[0];
|
|
9
16
|
exports.datePickerErrorTypes = [
|
|
10
17
|
'outOfRange',
|
|
@@ -16,8 +23,10 @@ exports.datePickerPropDropdownFormDefault = exports.datePickerPropDropdownForm[0
|
|
|
16
23
|
exports.datePickerPropSeparatorDefault = '.';
|
|
17
24
|
exports.datePickerPropFormatTypeDate = "dd" + exports.datePickerPropSeparatorDefault + "MM" + exports.datePickerPropSeparatorDefault + "yyyy";
|
|
18
25
|
exports.datePickerPropPlaceholderTypeDate = "\u0414\u0414" + exports.datePickerPropSeparatorDefault + "\u041C\u041C" + exports.datePickerPropSeparatorDefault + "\u0413\u0413\u0413\u0413";
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
26
|
+
exports.datePickerPropFormatTypeTime = "HH:mm:ss";
|
|
27
|
+
exports.datePickerPropPlaceholderTypeTime = "\u0427\u0427:\u041C\u041C:\u0421\u0421";
|
|
28
|
+
exports.datePickerPropFormatTypeDateTime = exports.datePickerPropFormatTypeDate + " " + exports.datePickerPropFormatTypeTime;
|
|
29
|
+
exports.datePickerPropPlaceholderTypeDateTime = exports.datePickerPropPlaceholderTypeDate + " " + exports.datePickerPropPlaceholderTypeTime;
|
|
21
30
|
exports.normalizeRangeValue = function (dateRange) {
|
|
22
31
|
var _a, _b;
|
|
23
32
|
if (dateRange[0] && dateRange[1] && ((_a = dateRange[0]) === null || _a === void 0 ? void 0 : _a.getTime()) > ((_b = dateRange[1]) === null || _b === void 0 ? void 0 : _b.getTime())) {
|
|
@@ -81,3 +90,23 @@ var mapFormForEnd = {
|
|
|
81
90
|
};
|
|
82
91
|
exports.getFormForStart = function (form) { return getByMap_1.getByMap(mapFormForStart, form); };
|
|
83
92
|
exports.getFormForEnd = function (form) { return getByMap_1.getByMap(mapFormForEnd, form); };
|
|
93
|
+
var getPartDate = function (formatArray, stringArray, marker) {
|
|
94
|
+
var index = formatArray.indexOf(marker);
|
|
95
|
+
if (index >= 0 && stringArray[index] && stringArray[index].length === marker.length) {
|
|
96
|
+
return stringArray[index];
|
|
97
|
+
}
|
|
98
|
+
return undefined;
|
|
99
|
+
};
|
|
100
|
+
exports.getParts = function (format, separator, withTime) {
|
|
101
|
+
if (withTime) {
|
|
102
|
+
var _a = tslib_1.__read(format.split(' '), 2), date = _a[0], time = _a[1];
|
|
103
|
+
return tslib_1.__spread((date ? date.split(separator) : []), (time ? time.split(':') : []));
|
|
104
|
+
}
|
|
105
|
+
return format.split(separator);
|
|
106
|
+
};
|
|
107
|
+
exports.getPartsDate = function (value, format, separator, withTime, markers) {
|
|
108
|
+
var formatArray = exports.getParts(format, separator, withTime);
|
|
109
|
+
var stringArray = exports.getParts(value, separator, withTime);
|
|
110
|
+
return markers.map(function (marker) { return getPartDate(formatArray, stringArray, marker); });
|
|
111
|
+
};
|
|
112
|
+
exports.isTypeWithTime = function (type) { return type.indexOf('time') !== -1; };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type EventInterceptorComponentName = 'Attachment' | 'Avatar' | 'Badge' | 'Breadcrumbs' | 'Button' | 'Calendar' | 'Card' | 'Checkbox' | 'CheckboxGroup' | 'ChoiceGroup' | 'Collapse' | 'CollapseGroup' | 'Combobox' | 'ContextMenu' | 'DatePicker' | 'DateTime' | 'DragNDropField' | 'File' | 'FileField' | 'Grid' | 'Header' | 'Informer' | 'Layout' | 'Loader' | 'Modal' | '
|
|
1
|
+
export declare type EventInterceptorComponentName = 'Attachment' | 'Avatar' | 'Badge' | 'Breadcrumbs' | 'Button' | 'Calendar' | 'Card' | 'Checkbox' | 'CheckboxGroup' | 'ChoiceGroup' | 'Collapse' | 'CollapseGroup' | 'Combobox' | 'ContextMenu' | 'DatePicker' | 'DateTime' | 'DragNDropField' | 'File' | 'FileField' | 'Grid' | 'Header' | 'Informer' | 'Layout' | 'Loader' | 'Modal' | 'Popover' | 'ProgressSpin' | 'ProgressStepBar' | 'Radio' | 'RadioGroup' | 'Select' | 'Sidebar' | 'Skeleton' | 'Slider' | 'SnackBar' | 'Steps' | 'Switch' | 'SwitchGroup' | 'Table' | 'Tabs' | 'Tag' | 'TagBase' | 'Text' | 'TextField' | 'ThemeToggler' | 'Timer' | 'Tooltip' | 'User' | 'UserSelect';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.Modal {
|
|
2
|
+
--modal-window-animate-space: var(--space-xl);
|
|
2
3
|
position: fixed;
|
|
3
4
|
top: 0;
|
|
4
5
|
right: 0;
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.Modal-Window {
|
|
21
|
-
|
|
22
|
+
position: absolute;
|
|
22
23
|
overflow: auto;
|
|
23
24
|
min-width: 400px;
|
|
24
25
|
max-width: 90%;
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.Modal-Overlay {
|
|
45
|
-
position:
|
|
46
|
+
position: absolute;
|
|
46
47
|
top: 0;
|
|
47
48
|
left: 0;
|
|
48
49
|
width: 100%;
|
|
@@ -52,30 +53,54 @@
|
|
|
52
53
|
border: none;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
.Modal_animate_appear,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
.Modal_animate_appear .Modal-Overlay, .Modal_animate_enter .Modal-Overlay, .Modal_animate_exit .Modal-Overlay, .Modal_animate_appearActive .Modal-Overlay, .Modal_animate_enterActive .Modal-Overlay, .Modal_animate_exitActive .Modal-Overlay {
|
|
57
|
+
-webkit-transition: opacity 0.24s ease;
|
|
58
|
+
transition: opacity 0.24s ease;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.Modal_animate_appear .Modal-Window, .Modal_animate_enter .Modal-Window, .Modal_animate_exit .Modal-Window, .Modal_animate_appearActive .Modal-Window, .Modal_animate_enterActive .Modal-Window, .Modal_animate_exitActive .Modal-Window {
|
|
62
|
+
-webkit-transition: opacity 0.24s, -webkit-transform 0.24s;
|
|
63
|
+
transition: opacity 0.24s, -webkit-transform 0.24s;
|
|
64
|
+
transition: opacity 0.24s, transform 0.24s;
|
|
65
|
+
transition: opacity 0.24s, transform 0.24s, -webkit-transform 0.24s;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.Modal_animate_appear .Modal-Overlay, .Modal_animate_enter .Modal-Overlay {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
}
|
|
64
71
|
|
|
65
|
-
.Modal_animate_appear,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
.Modal_animate_appear .Modal-Window, .Modal_animate_enter .Modal-Window {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
-webkit-transform: translate(0, calc(-1 * var(--modal-window-animate-space)));
|
|
75
|
+
transform: translate(0, calc(-1 * var(--modal-window-animate-space)));
|
|
76
|
+
}
|
|
69
77
|
|
|
70
|
-
.Modal_animate_appearActive,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
78
|
+
.Modal_animate_appearActive .Modal-Overlay, .Modal_animate_enterActive .Modal-Overlay {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
74
81
|
|
|
75
|
-
.
|
|
76
|
-
|
|
77
|
-
|
|
82
|
+
.Modal_animate_appearActive .Modal-Window, .Modal_animate_enterActive .Modal-Window {
|
|
83
|
+
opacity: 1;
|
|
84
|
+
-webkit-transform: translate(0, 0);
|
|
85
|
+
transform: translate(0, 0);
|
|
86
|
+
}
|
|
78
87
|
|
|
79
|
-
.
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
.Modal_animate_exit .Modal-Overlay {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Modal_animate_exit .Modal-Window {
|
|
93
|
+
opacity: 1;
|
|
94
|
+
-webkit-transform: translate(0, 0);
|
|
95
|
+
transform: translate(0, 0);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.Modal_animate_exitActive .Modal-Overlay {
|
|
99
|
+
opacity: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.Modal_animate_exitActive .Modal-Window {
|
|
103
|
+
opacity: 0;
|
|
104
|
+
-webkit-transform: translate(0, var(--modal-window-animate-space));
|
|
105
|
+
transform: translate(0, var(--modal-window-animate-space));
|
|
106
|
+
}
|
|
@@ -27,7 +27,7 @@ var ContextConsumer = function (_a) {
|
|
|
27
27
|
useClickOutside_1.useClickOutside({
|
|
28
28
|
isActive: !!onClickOutside,
|
|
29
29
|
ignoreClicksInsideRefs: tslib_1.__spread((ignoreClicksInsideRefs || []), (refs || [])),
|
|
30
|
-
handler:
|
|
30
|
+
handler: onClickOutside
|
|
31
31
|
});
|
|
32
32
|
return react_1["default"].createElement(react_1["default"].Fragment, null, children);
|
|
33
33
|
};
|
|
@@ -47,9 +47,9 @@ exports.Modal = function (props) {
|
|
|
47
47
|
useGlobalKeys_1.useGlobalKeys({
|
|
48
48
|
Escape: function (e) { return isOpen && onEsc && onEsc(e); }
|
|
49
49
|
});
|
|
50
|
-
return (react_1["default"].createElement(react_transition_group_1.CSSTransition, { "in": isOpen, unmountOnExit: true, appear: true, classNames: cnForCssTransition_1.cnForCssTransition(cnModal), timeout:
|
|
50
|
+
return (react_1["default"].createElement(react_transition_group_1.CSSTransition, { "in": isOpen, unmountOnExit: true, appear: true, classNames: cnForCssTransition_1.cnForCssTransition(cnModal), timeout: 240, nodeRef: portalRef },
|
|
51
51
|
react_1["default"].createElement(PortalWithTheme_1.PortalWithTheme, { preset: theme, container: container, className: cnModal({ hasOverlay: hasOverlay }, [rootClassName]), ref: portalRef, style: typeof (style === null || style === void 0 ? void 0 : style.zIndex) === 'number' ? { zIndex: style.zIndex } : undefined },
|
|
52
52
|
hasOverlay && react_1["default"].createElement("div", { className: cnModal('Overlay'), "aria-label": "Overlay" }),
|
|
53
|
-
react_1["default"].createElement("div", tslib_1.__assign({}, otherProps, { style: tslib_1.__assign(tslib_1.__assign({}, style),
|
|
53
|
+
react_1["default"].createElement("div", tslib_1.__assign({}, otherProps, { style: tslib_1.__assign(tslib_1.__assign({}, style), { zIndex: undefined }), className: cnModal('Window', { width: width, position: position }, [className]), ref: ref }),
|
|
54
54
|
react_1["default"].createElement(ContextConsumer, { onClickOutside: onClickOutside || onOverlayClick, ignoreClicksInsideRefs: tslib_1.__spread((refsForExcludeClickOutside || []), [ref]) }, children)))));
|
|
55
55
|
};
|
|
@@ -41,6 +41,5 @@ declare type Props = {
|
|
|
41
41
|
position?: PaginationPropPosition;
|
|
42
42
|
});
|
|
43
43
|
declare type Pagination = (props: PropsWithHTMLAttributesAndRef<Props, HTMLDivElement>) => React.ReactElement | null;
|
|
44
|
-
export declare const COMPONENT_NAME: "Pagination";
|
|
45
44
|
export declare const Pagination: Pagination;
|
|
46
45
|
export {};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
|
-
exports.Pagination = exports.
|
|
3
|
+
exports.Pagination = exports.cnPagination = exports.paginationDefaultPosition = exports.paginationPositions = exports.paginationDefaultType = exports.paginationTypes = exports.paginationDefaultSize = exports.paginationSizes = exports.paginationDefaultForm = exports.paginationForms = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
require("./Pagination.css");
|
|
6
|
-
var react_1 = tslib_1.
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
7
|
var IconBackward_1 = require("../../icons/IconBackward/IconBackward");
|
|
8
8
|
var IconForward_1 = require("../../icons/IconForward/IconForward");
|
|
9
9
|
var bem_1 = require("../../utils/bem");
|
|
10
10
|
var Button_1 = require("../Button/Button");
|
|
11
|
-
var usePropsHandler_1 = require("../EventInterceptor/usePropsHandler");
|
|
12
11
|
var Text_1 = require("../Text/Text");
|
|
13
12
|
var TextField_1 = require("../TextField/TextField");
|
|
14
13
|
var helpers_1 = require("./helpers");
|
|
@@ -22,10 +21,8 @@ exports.paginationPositions = ['left', 'center', 'right'];
|
|
|
22
21
|
exports.paginationDefaultPosition = 'center';
|
|
23
22
|
var getDefaultLabel = function (totalPages) { return "\u0438\u0437 " + totalPages; };
|
|
24
23
|
exports.cnPagination = bem_1.cn('Pagination');
|
|
25
|
-
exports.COMPONENT_NAME = 'Pagination';
|
|
26
24
|
exports.Pagination = react_1["default"].forwardRef(function (props, ref) {
|
|
27
|
-
var
|
|
28
|
-
var _a = usePropsHandler_1.usePropsHandler(exports.COMPONENT_NAME, props, paginationRef), _b = _a.currentPage, currentPage = _b === void 0 ? 0 : _b, _c = _a.totalPages, totalPages = _c === void 0 ? 0 : _c, onChange = _a.onChange, _d = _a.getLabel, getLabel = _d === void 0 ? getDefaultLabel(totalPages) : _d, _e = _a.form, form = _e === void 0 ? exports.paginationDefaultForm : _e, _f = _a.size, size = _f === void 0 ? exports.paginationDefaultSize : _f, _g = _a.type, type = _g === void 0 ? exports.paginationDefaultType : _g, _h = _a.position, position = _h === void 0 ? exports.paginationDefaultPosition : _h, _j = _a.minified, minified = _j === void 0 ? false : _j, _k = _a.hotkeys, hotkeys = _k === void 0 ? {
|
|
25
|
+
var _a = props.currentPage, currentPage = _a === void 0 ? 0 : _a, _b = props.totalPages, totalPages = _b === void 0 ? 0 : _b, onChange = props.onChange, _c = props.getLabel, getLabel = _c === void 0 ? getDefaultLabel(totalPages) : _c, _d = props.form, form = _d === void 0 ? exports.paginationDefaultForm : _d, _e = props.size, size = _e === void 0 ? exports.paginationDefaultSize : _e, _f = props.type, type = _f === void 0 ? exports.paginationDefaultType : _f, _g = props.position, position = _g === void 0 ? exports.paginationDefaultPosition : _g, _h = props.minified, minified = _h === void 0 ? false : _h, _j = props.hotkeys, hotkeys = _j === void 0 ? {
|
|
29
26
|
nextPage: {
|
|
30
27
|
label: 'Alt →',
|
|
31
28
|
values: ['Alt', 'ArrowRight']
|
|
@@ -34,10 +31,10 @@ exports.Pagination = react_1["default"].forwardRef(function (props, ref) {
|
|
|
34
31
|
label: '← Alt',
|
|
35
32
|
values: ['Alt', 'ArrowLeft']
|
|
36
33
|
}
|
|
37
|
-
} :
|
|
34
|
+
} : _j, _k = props.containerEventListener, containerEventListener = _k === void 0 ? window : _k, className = props.className, otherProps = tslib_1.__rest(props, ["currentPage", "totalPages", "onChange", "getLabel", "form", "size", "type", "position", "minified", "hotkeys", "containerEventListener", "className"]);
|
|
38
35
|
var currPage = currentPage + 1;
|
|
39
|
-
var
|
|
40
|
-
var
|
|
36
|
+
var _l = helpers_1.getPaginationInfo(currPage, totalPages), prevPage = _l.prevPage, nextPage = _l.nextPage, isStartDots = _l.isStartDots, isEndDots = _l.isEndDots, pages = _l.pages, isEmpty = _l.isEmpty;
|
|
37
|
+
var _m = tslib_1.__read(react_1["default"].useState([]), 2), keys = _m[0], setKeys = _m[1];
|
|
41
38
|
var changePage = function (page) {
|
|
42
39
|
if (page && page !== currPage && onChange) {
|
|
43
40
|
onChange(page - 1);
|
|
@@ -8,13 +8,24 @@ var useForkRef_1 = require("../../hooks/useForkRef/useForkRef");
|
|
|
8
8
|
var Theme_1 = require("../Theme/Theme");
|
|
9
9
|
var PortalWithThemeContext_1 = require("./PortalWithThemeContext/PortalWithThemeContext");
|
|
10
10
|
exports.usePortalContext = PortalWithThemeContext_1.usePortalContext;
|
|
11
|
+
var getZIndex = function (contextZindex, propZindex) {
|
|
12
|
+
if (typeof propZindex === 'number') {
|
|
13
|
+
return propZindex;
|
|
14
|
+
}
|
|
15
|
+
if (contextZindex) {
|
|
16
|
+
return contextZindex + 1;
|
|
17
|
+
}
|
|
18
|
+
return undefined;
|
|
19
|
+
};
|
|
11
20
|
exports.PortalWithTheme = react_1["default"].forwardRef(function (_a, ref) {
|
|
12
|
-
var children = _a.children, _b = _a.container, container = _b === void 0 ? window.document.body : _b, rest = tslib_1.__rest(_a, ["children", "container"]);
|
|
13
|
-
var
|
|
21
|
+
var children = _a.children, _b = _a.container, container = _b === void 0 ? window.document.body : _b, styleProp = _a.style, rest = tslib_1.__rest(_a, ["children", "container", "style"]);
|
|
22
|
+
var _c = PortalWithThemeContext_1.usePortalContext(), addRefs = _c.addRefs, zIndexContext = _c.zIndex;
|
|
14
23
|
var themeRef = react_1.useRef(null);
|
|
24
|
+
var zIndex = getZIndex(zIndexContext, styleProp === null || styleProp === void 0 ? void 0 : styleProp.zIndex);
|
|
25
|
+
var style = tslib_1.__assign(tslib_1.__assign({}, styleProp), { zIndex: zIndex });
|
|
15
26
|
react_1.useEffect(function () {
|
|
16
27
|
addRefs && addRefs([themeRef]);
|
|
17
28
|
}, [themeRef]);
|
|
18
|
-
return react_dom_1["default"].createPortal(react_1["default"].createElement(PortalWithThemeContext_1.PortalWithThemeProvider,
|
|
19
|
-
react_1["default"].createElement(Theme_1.Theme, tslib_1.__assign({ ref: useForkRef_1.useForkRef([themeRef, ref]) }, rest), children)), container);
|
|
29
|
+
return react_dom_1["default"].createPortal(react_1["default"].createElement(PortalWithThemeContext_1.PortalWithThemeProvider, { zIndex: zIndex },
|
|
30
|
+
react_1["default"].createElement(Theme_1.Theme, tslib_1.__assign({ ref: useForkRef_1.useForkRef([themeRef, ref]), style: style }, rest), children)), container);
|
|
20
31
|
});
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export declare function usePortalContext(): {
|
|
3
3
|
refs: React.RefObject<HTMLElement>[];
|
|
4
4
|
addRefs?: ((ref: React.RefObject<HTMLElement>[]) => void) | undefined;
|
|
5
|
+
zIndex?: number | undefined;
|
|
5
6
|
};
|
|
6
7
|
/**
|
|
7
8
|
* PortalWithThemeProvider
|
|
@@ -12,4 +13,6 @@ export declare function usePortalContext(): {
|
|
|
12
13
|
* компонент думал ччто клик произашел вне компонента и срабатывал onOutsideClick.
|
|
13
14
|
* Сечас когда мы знаем рефы всех вложенных порталов мы можем игнорировать события кликов на вложенных порталах
|
|
14
15
|
*/
|
|
15
|
-
export declare const PortalWithThemeProvider: React.FC
|
|
16
|
+
export declare const PortalWithThemeProvider: React.FC<{
|
|
17
|
+
zIndex?: number;
|
|
18
|
+
}>;
|
|
@@ -4,7 +4,8 @@ exports.PortalWithThemeProvider = exports.usePortalContext = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
var Context = react_1.createContext({
|
|
7
|
-
refs: []
|
|
7
|
+
refs: [],
|
|
8
|
+
zIndex: undefined
|
|
8
9
|
});
|
|
9
10
|
function usePortalContext() {
|
|
10
11
|
return react_1.useContext(Context);
|
|
@@ -44,5 +45,5 @@ exports.PortalWithThemeProvider = function (props) {
|
|
|
44
45
|
contextAddRefs && contextAddRefs(refs);
|
|
45
46
|
}, [refs]);
|
|
46
47
|
react_1.useEffect(function () { return function () { return setRefs([]); }; }, []);
|
|
47
|
-
return react_1["default"].createElement(Context.Provider, { value: { refs: refs, addRefs: addRefs } }, props.children);
|
|
48
|
+
return (react_1["default"].createElement(Context.Provider, { value: { refs: refs, addRefs: addRefs, zIndex: props.zIndex } }, props.children));
|
|
48
49
|
};
|
|
@@ -44,6 +44,6 @@ exports.SelectDropdown = function (props) {
|
|
|
44
44
|
return (react_1["default"].createElement(react_1.Fragment, { key: group.key + "-" + i }, renderItem(tslib_1.__assign({ item: item }, getOptionProps({ index: getIndex(), item: item })))));
|
|
45
45
|
})));
|
|
46
46
|
}),
|
|
47
|
-
!isLoading && notFound && labelForNotFound && (react_1["default"].createElement(Text_1.Text, { className: cnSelectDropdown('LabelForNotFound') }, labelForNotFound)),
|
|
47
|
+
!isLoading && hasItems && notFound && labelForNotFound && (react_1["default"].createElement(Text_1.Text, { className: cnSelectDropdown('LabelForNotFound') }, labelForNotFound)),
|
|
48
48
|
!isLoading && !hasItems && labelForEmptyItems && (react_1["default"].createElement(Text_1.Text, { className: cnSelectDropdown('LabelForEmptyItems') }, labelForEmptyItems))))); }));
|
|
49
49
|
};
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.Sidebar-Overlay {
|
|
50
|
-
position:
|
|
50
|
+
position: absolute;
|
|
51
51
|
top: 0;
|
|
52
|
+
right: 0;
|
|
52
53
|
left: 0;
|
|
53
|
-
|
|
54
|
-
height: 100%;
|
|
54
|
+
bottom: 0;
|
|
55
55
|
padding: 0;
|
|
56
56
|
background: var(--color-bg-tone);
|
|
57
57
|
border: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.Sidebar-Window {
|
|
61
|
-
|
|
61
|
+
position: absolute;
|
|
62
62
|
display: -webkit-box;
|
|
63
63
|
display: -ms-flexbox;
|
|
64
64
|
display: flex;
|
|
@@ -143,15 +143,15 @@
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.Sidebar_animate_appear .Sidebar-Overlay, .Sidebar_animate_enter .Sidebar-Overlay, .Sidebar_animate_exit .Sidebar-Overlay, .Sidebar_animate_appearActive .Sidebar-Overlay, .Sidebar_animate_enterActive .Sidebar-Overlay, .Sidebar_animate_exitActive .Sidebar-Overlay {
|
|
146
|
-
-webkit-transition: opacity 0.
|
|
147
|
-
transition: opacity 0.
|
|
146
|
+
-webkit-transition: opacity 0.24s ease;
|
|
147
|
+
transition: opacity 0.24s ease;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.Sidebar_animate_appear .Sidebar-Window, .Sidebar_animate_enter .Sidebar-Window, .Sidebar_animate_exit .Sidebar-Window, .Sidebar_animate_appearActive .Sidebar-Window, .Sidebar_animate_enterActive .Sidebar-Window, .Sidebar_animate_exitActive .Sidebar-Window {
|
|
151
|
-
-webkit-transition: -webkit-transform 0.
|
|
152
|
-
transition: -webkit-transform 0.
|
|
153
|
-
transition: transform 0.
|
|
154
|
-
transition: transform 0.
|
|
151
|
+
-webkit-transition: -webkit-transform 0.24s ease;
|
|
152
|
+
transition: -webkit-transform 0.24s ease;
|
|
153
|
+
transition: transform 0.24s ease;
|
|
154
|
+
transition: transform 0.24s ease, -webkit-transform 0.24s ease;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.Sidebar_animate_appear .Sidebar-Overlay, .Sidebar_animate_enter .Sidebar-Overlay {
|
|
@@ -50,10 +50,10 @@ exports.Sidebar = function (props) {
|
|
|
50
50
|
useGlobalKeys_1.useGlobalKeys({
|
|
51
51
|
Escape: function (e) { return isOpen && onEsc && onEsc(e); }
|
|
52
52
|
});
|
|
53
|
-
return (react_1["default"].createElement(react_transition_group_1.CSSTransition, { "in": isOpen, unmountOnExit: true, className: exports.cnSidebar({ position: position, hasOverlay: hasOverlay }), classNames: cnForCssTransition_1.cnForCssTransition(exports.cnSidebar), timeout:
|
|
53
|
+
return (react_1["default"].createElement(react_transition_group_1.CSSTransition, { "in": isOpen, unmountOnExit: true, className: exports.cnSidebar({ position: position, hasOverlay: hasOverlay }), classNames: cnForCssTransition_1.cnForCssTransition(exports.cnSidebar), timeout: 240, nodeRef: portalRef },
|
|
54
54
|
react_1["default"].createElement(PortalWithTheme_1.PortalWithTheme, { preset: theme, ref: portalRef, container: container, className: rootClassName, style: typeof (style === null || style === void 0 ? void 0 : style.zIndex) === 'number' ? { zIndex: style.zIndex } : undefined },
|
|
55
55
|
hasOverlay && react_1["default"].createElement("div", { className: exports.cnSidebar('Overlay'), "aria-label": "Overlay" }),
|
|
56
|
-
react_1["default"].createElement("div", tslib_1.__assign({}, otherProps, { style: tslib_1.__assign(tslib_1.__assign({}, style),
|
|
56
|
+
react_1["default"].createElement("div", tslib_1.__assign({}, otherProps, { style: tslib_1.__assign(tslib_1.__assign({}, style), { zIndex: undefined }), className: exports.cnSidebar('Window', { size: size, position: position }, [className]), ref: ref }),
|
|
57
57
|
react_1["default"].createElement(ContextConsumer, { onClickOutside: onClickOutside || onOverlayClick, ignoreClicksInsideRefs: [ref] }, children)))));
|
|
58
58
|
};
|
|
59
59
|
exports.Sidebar.Content = SidebarContent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
export declare type ClickOutsideHandler = (event: MouseEvent) => void;
|
|
3
3
|
declare type UseClickOutsideProps = {
|
|
4
|
-
isActive
|
|
5
|
-
ignoreClicksInsideRefs
|
|
6
|
-
handler
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
ignoreClicksInsideRefs?: ReadonlyArray<RefObject<HTMLElement>>;
|
|
6
|
+
handler?: ClickOutsideHandler;
|
|
7
7
|
};
|
|
8
8
|
export declare function useClickOutside({ isActive, ignoreClicksInsideRefs, handler, }: UseClickOutsideProps): void;
|
|
9
9
|
export {};
|
|
@@ -2,19 +2,30 @@
|
|
|
2
2
|
exports.__esModule = true;
|
|
3
3
|
exports.useClickOutside = void 0;
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
+
var useMutableRef_1 = require("../useMutableRef/useMutableRef");
|
|
5
6
|
function useClickOutside(_a) {
|
|
7
|
+
// Аргументы вынесены в рефки за тем, чтобы не пересоздавать подписку `mousedown` при кажом чихе.
|
|
8
|
+
// Бывают кейсы когда на странице несколко `useClickOutside` и один вызывает рендер,
|
|
9
|
+
// А второй не успевает отрабатывать а просто пересоздается
|
|
10
|
+
// С такой реализацией пересоздание только при удалении из дома, а аргументы всегда актуалны.
|
|
6
11
|
var isActive = _a.isActive, ignoreClicksInsideRefs = _a.ignoreClicksInsideRefs, handler = _a.handler;
|
|
12
|
+
var handlerRef = useMutableRef_1.useMutableRef(handler);
|
|
13
|
+
var ignoreClicksInsideRefsRef = useMutableRef_1.useMutableRef(ignoreClicksInsideRefs);
|
|
14
|
+
var isActiveRef = useMutableRef_1.useMutableRef(isActive);
|
|
7
15
|
react_1.useEffect(function () {
|
|
8
|
-
if (!isActive) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
16
|
var handleClick = function (event) {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
if (!isActiveRef.current) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
12
21
|
var target = event.target;
|
|
13
|
-
var shouldCallHandler =
|
|
14
|
-
shouldCallHandler &&
|
|
22
|
+
var shouldCallHandler = (_a = ignoreClicksInsideRefsRef.current) === null || _a === void 0 ? void 0 : _a.every(function (ref) { var _a; return !((_a = ref.current) === null || _a === void 0 ? void 0 : _a.contains(target)); });
|
|
23
|
+
shouldCallHandler && ((_b = handlerRef.current) === null || _b === void 0 ? void 0 : _b.call(handlerRef, event));
|
|
15
24
|
};
|
|
16
25
|
document.addEventListener('mousedown', handleClick);
|
|
17
|
-
return function () {
|
|
18
|
-
|
|
26
|
+
return function () {
|
|
27
|
+
document.removeEventListener('mousedown', handleClick);
|
|
28
|
+
};
|
|
29
|
+
}, []);
|
|
19
30
|
}
|
|
20
31
|
exports.useClickOutside = useClickOutside;
|
|
@@ -4,6 +4,6 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var React = tslib_1.__importStar(require("react"));
|
|
5
5
|
function IconFacebookSizeM(props) {
|
|
6
6
|
return (React.createElement("svg", tslib_1.__assign({ viewBox: "0 0 24 24" }, props),
|
|
7
|
-
React.createElement("path", { d: "M22
|
|
7
|
+
React.createElement("path", { d: "M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12s4.477 10 10 10c.059 0 .117 0 .176-.004v-7.781h-2.149V11.71h2.149V9.867c0-2.137 1.304-3.3 3.21-3.3.915 0 1.7.066 1.927.097v2.234H16c-1.035 0-1.238.493-1.238 1.215v1.594h2.48l-.324 2.504h-2.156v7.402C18.942 20.414 22 16.566 22 12z" })));
|
|
8
8
|
}
|
|
9
9
|
exports["default"] = IconFacebookSizeM;
|
|
@@ -4,6 +4,6 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var React = tslib_1.__importStar(require("react"));
|
|
5
5
|
function IconFacebookSizeS(props) {
|
|
6
6
|
return (React.createElement("svg", tslib_1.__assign({ viewBox: "0 0 16 16" }, props),
|
|
7
|
-
React.createElement("path", { d: "M14
|
|
7
|
+
React.createElement("path", { d: "M14 8A6 6 0 102 8a6 6 0 006 6c.035 0 .07 0 .105-.002v-4.67H6.816V7.828h1.29V6.72c0-1.282.782-1.98 1.926-1.98.549 0 1.02.04 1.155.058V6.14H10.4c-.621 0-.743.295-.743.729v.956h1.488l-.194 1.503H9.657v4.441A6.002 6.002 0 0014 8z" })));
|
|
8
8
|
}
|
|
9
9
|
exports["default"] = IconFacebookSizeS;
|
|
@@ -4,6 +4,6 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var React = tslib_1.__importStar(require("react"));
|
|
5
5
|
function IconInstagramSizeM(props) {
|
|
6
6
|
return (React.createElement("svg", tslib_1.__assign({ viewBox: "0 0 24 24" }, props),
|
|
7
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.
|
|
7
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.95 7.88c-.048-1.063-.22-1.793-.466-2.426a4.88 4.88 0 00-1.157-1.774 4.923 4.923 0 00-1.77-1.153c-.637-.246-1.364-.418-2.426-.464C15.06 2.012 14.72 2 12.004 2c-2.716 0-3.056.012-4.123.059-1.063.046-1.793.218-2.426.464A4.881 4.881 0 003.68 3.68a4.924 4.924 0 00-1.152 1.77c-.247.637-.419 1.363-.465 2.426C2.012 8.946 2 9.286 2 12.002c0 2.715.012 3.055.059 4.122.046 1.063.219 1.793.465 2.426a4.931 4.931 0 001.156 1.774c.5.508 1.106.902 1.77 1.152.638.247 1.364.419 2.427.465C8.944 21.988 9.284 22 12 22s3.056-.012 4.123-.059c1.063-.046 1.793-.218 2.426-.464a5.116 5.116 0 002.927-2.927c.247-.637.419-1.363.465-2.426.047-1.067.059-1.407.059-4.122s-.004-3.055-.05-4.122zm-1.802 8.166c-.043.977-.207 1.504-.344 1.856a3.318 3.318 0 01-1.9 1.898c-.351.137-.882.301-1.856.344-1.055.047-1.371.059-4.04.059-2.67 0-2.99-.012-4.04-.059-.978-.043-1.505-.207-1.857-.343a3.079 3.079 0 01-1.149-.747 3.11 3.11 0 01-.746-1.148c-.137-.352-.301-.883-.344-1.856-.047-1.055-.059-1.372-.059-4.04 0-2.669.012-2.99.059-4.04.043-.977.207-1.504.344-1.856a3.04 3.04 0 01.75-1.149 3.105 3.105 0 011.149-.746c.352-.137.883-.3 1.856-.344 1.055-.046 1.372-.058 4.04-.058 2.674 0 2.99.012 4.041.058.977.043 1.505.207 1.857.344.433.16.828.414 1.148.746.333.325.587.715.747 1.15.137.35.3.882.344 1.855.047 1.055.058 1.371.058 4.04 0 2.668-.011 2.98-.058 4.036zm-8.144-9.182a5.14 5.14 0 00-5.139 5.138 5.14 5.14 0 0010.278 0 5.14 5.14 0 00-5.14-5.138zm0 8.47a3.334 3.334 0 110-6.667 3.334 3.334 0 010 6.668zm5.342-7.474a1.2 1.2 0 100-2.399 1.2 1.2 0 000 2.4z" })));
|
|
8
8
|
}
|
|
9
9
|
exports["default"] = IconInstagramSizeM;
|
|
@@ -4,6 +4,6 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var React = tslib_1.__importStar(require("react"));
|
|
5
5
|
function IconInstagramSizeS(props) {
|
|
6
6
|
return (React.createElement("svg", tslib_1.__assign({ viewBox: "0 0 16 16" }, props),
|
|
7
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.
|
|
7
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.97 5.528c-.029-.638-.132-1.076-.28-1.456a2.928 2.928 0 00-.694-1.064 2.954 2.954 0 00-1.062-.692c-.382-.147-.818-.25-1.456-.278C9.836 2.008 9.632 2 8.002 2s-1.833.007-2.473.035c-.638.028-1.076.131-1.456.28a2.929 2.929 0 00-1.065.693c-.305.3-.541.663-.691 1.062-.148.382-.251.818-.28 1.456C2.008 6.168 2 6.372 2 8c0 1.63.007 1.833.035 2.473.028.638.132 1.076.28 1.456.152.403.388.764.693 1.064.3.305.664.542 1.062.692.383.148.819.25 1.456.279.64.028.845.035 2.474.035 1.63 0 1.834-.007 2.474-.035.637-.028 1.076-.131 1.456-.28a3.07 3.07 0 001.756-1.755c.148-.382.25-.818.279-1.456.028-.64.035-.844.035-2.473s-.002-1.833-.03-2.473zm-1.081 4.9c-.026.585-.125.902-.207 1.113a1.991 1.991 0 01-1.14 1.14c-.21.081-.53.18-1.113.206-.633.028-.823.035-2.424.035-1.602 0-1.794-.007-2.425-.036-.586-.025-.902-.124-1.113-.206a1.847 1.847 0 01-.69-.447 1.865 1.865 0 01-.448-.69c-.082-.21-.18-.53-.206-1.113-.028-.633-.035-.823-.035-2.424s.007-1.793.035-2.424c.026-.586.124-.903.206-1.114.097-.26.249-.496.45-.689.195-.199.43-.351.69-.447.211-.083.53-.18 1.114-.207.633-.028.823-.035 2.424-.035 1.604 0 1.794.007 2.424.035.587.026.903.124 1.114.207.26.096.497.248.69.447.199.195.351.43.447.69.082.21.18.53.207 1.113.028.633.035.823.035 2.424s-.007 1.789-.035 2.421zm-4.887-5.51a3.084 3.084 0 10.001 6.168 3.084 3.084 0 000-6.167zm0 5.083a2 2 0 110-4 2 2 0 010 4zm3.205-4.485a.72.72 0 100-1.44.72.72 0 000 1.44z" })));
|
|
8
8
|
}
|
|
9
9
|
exports["default"] = IconInstagramSizeS;
|