meticulous-ui 3.7.11 → 3.7.13
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/cjs/colors/amber.cjs +1 -19
- package/cjs/colors/black.cjs +1 -16
- package/cjs/colors/blue.cjs +1 -20
- package/cjs/colors/blueGray.cjs +1 -15
- package/cjs/colors/brown.cjs +1 -16
- package/cjs/colors/cider.cjs +1 -15
- package/cjs/colors/colorMap.cjs +1 -51
- package/cjs/colors/cyan.cjs +1 -19
- package/cjs/colors/deepOrange.cjs +1 -19
- package/cjs/colors/deepPurple.cjs +1 -19
- package/cjs/colors/green.cjs +1 -20
- package/cjs/colors/grey.cjs +1 -16
- package/cjs/colors/indigo.cjs +1 -20
- package/cjs/colors/lightBlue.cjs +1 -19
- package/cjs/colors/lightGreen.cjs +1 -19
- package/cjs/colors/lime.cjs +1 -19
- package/cjs/colors/orange.cjs +1 -20
- package/cjs/colors/pink.cjs +1 -20
- package/cjs/colors/purple.cjs +1 -20
- package/cjs/colors/red.cjs +1 -20
- package/cjs/colors/teal.cjs +1 -20
- package/cjs/colors/violet.cjs +1 -20
- package/cjs/colors/white.cjs +1 -5
- package/cjs/colors/yellow.cjs +1 -20
- package/cjs/components/Button/Button.cjs +20 -155
- package/cjs/components/Button/constants.cjs +1 -33
- package/cjs/components/Button/index.cjs +1 -4
- package/cjs/components/Carousel/Carousel.cjs +24 -250
- package/cjs/components/Carousel/index.cjs +1 -4
- package/cjs/components/DatePicker/DatePicker.cjs +48 -373
- package/cjs/components/DatePicker/constants.cjs +1 -11
- package/cjs/components/DatePicker/index.cjs +1 -4
- package/cjs/components/DatePicker/utils.cjs +1 -44
- package/cjs/components/Dropdown/Dropdown.cjs +34 -363
- package/cjs/components/Dropdown/constants.cjs +1 -5
- package/cjs/components/Dropdown/index.cjs +1 -4
- package/cjs/components/Glass/Glass.cjs +3 -17
- package/cjs/components/Glass/index.cjs +1 -4
- package/cjs/components/Icons/Add.cjs +1 -15
- package/cjs/components/Icons/AddCircle.cjs +1 -12
- package/cjs/components/Icons/AddCircleFilled.cjs +1 -9
- package/cjs/components/Icons/ArrowDown.cjs +1 -9
- package/cjs/components/Icons/ArrowLeft.cjs +1 -9
- package/cjs/components/Icons/ArrowRight.cjs +1 -9
- package/cjs/components/Icons/ArrowUp.cjs +1 -9
- package/cjs/components/Icons/BagFilled.cjs +1 -9
- package/cjs/components/Icons/BagOutline.cjs +1 -12
- package/cjs/components/Icons/BellFilled.cjs +1 -12
- package/cjs/components/Icons/BellOffFilled.cjs +1 -13
- package/cjs/components/Icons/BellOffOutline.cjs +1 -13
- package/cjs/components/Icons/BellOutline.cjs +1 -12
- package/cjs/components/Icons/BookmarkFilled.cjs +1 -14
- package/cjs/components/Icons/BookmarkOutline.cjs +1 -9
- package/cjs/components/Icons/BoxCoveredFilled.cjs +1 -14
- package/cjs/components/Icons/BoxCoveredOutline.cjs +1 -12
- package/cjs/components/Icons/BoxFilled.cjs +1 -13
- package/cjs/components/Icons/BoxOutline.cjs +1 -12
- package/cjs/components/Icons/CalendarDays.cjs +1 -9
- package/cjs/components/Icons/CalendarLinesPen.cjs +1 -9
- package/cjs/components/Icons/CartCheckFilled.cjs +1 -13
- package/cjs/components/Icons/CartCheckOutline.cjs +1 -14
- package/cjs/components/Icons/CartCrossFilled.cjs +1 -13
- package/cjs/components/Icons/CartCrossOutline.cjs +1 -14
- package/cjs/components/Icons/CartFilled.cjs +1 -13
- package/cjs/components/Icons/CartMinusFilled.cjs +1 -13
- package/cjs/components/Icons/CartMinusOutline.cjs +1 -15
- package/cjs/components/Icons/CartOutline.cjs +1 -14
- package/cjs/components/Icons/CartPlusFilled.cjs +1 -13
- package/cjs/components/Icons/CartPlusOutline.cjs +1 -14
- package/cjs/components/Icons/Check.cjs +1 -9
- package/cjs/components/Icons/CheckDouble.cjs +1 -9
- package/cjs/components/Icons/ChevronDown.cjs +1 -9
- package/cjs/components/Icons/ChevronLeft.cjs +1 -9
- package/cjs/components/Icons/ChevronRight.cjs +1 -9
- package/cjs/components/Icons/ChevronUp.cjs +1 -9
- package/cjs/components/Icons/ClockCircleOutline.cjs +1 -12
- package/cjs/components/Icons/ClockSquareOutline.cjs +1 -12
- package/cjs/components/Icons/Close.cjs +1 -9
- package/cjs/components/Icons/CloseCircleFilled.cjs +1 -9
- package/cjs/components/Icons/CloseCircleOutline.cjs +1 -9
- package/cjs/components/Icons/CommentBubbleFilled.cjs +1 -14
- package/cjs/components/Icons/CommentBubbleOutline.cjs +1 -14
- package/cjs/components/Icons/CommentFilled.cjs +1 -14
- package/cjs/components/Icons/CommentLineFilled.cjs +1 -14
- package/cjs/components/Icons/CommentLineOutline.cjs +1 -14
- package/cjs/components/Icons/CommentOutline.cjs +1 -14
- package/cjs/components/Icons/ContactDetailsFilled.cjs +1 -12
- package/cjs/components/Icons/ContactDetailsOutline.cjs +1 -12
- package/cjs/components/Icons/DeliveryTruckFastFilled.cjs +1 -17
- package/cjs/components/Icons/DeliveryTruckFastOutline.cjs +1 -17
- package/cjs/components/Icons/DeliveryTruckLeftFilled.cjs +4 -12
- package/cjs/components/Icons/DeliveryTruckLeftOutline.cjs +5 -12
- package/cjs/components/Icons/DeliveryTruckRightFilled.cjs +1 -12
- package/cjs/components/Icons/DeliveryTruckRightOutline.cjs +1 -12
- package/cjs/components/Icons/DetailsOutline.cjs +1 -12
- package/cjs/components/Icons/DiscordConversation.cjs +1 -12
- package/cjs/components/Icons/DiscordFilled.cjs +1 -12
- package/cjs/components/Icons/DiscordOutline.cjs +1 -13
- package/cjs/components/Icons/DoorClosedFilled.cjs +1 -9
- package/cjs/components/Icons/DoorClosedOutline.cjs +1 -9
- package/cjs/components/Icons/DoorOpenFilled.cjs +1 -9
- package/cjs/components/Icons/DoorOpenOutline.cjs +1 -9
- package/cjs/components/Icons/DotsHorizontalFilled.cjs +1 -13
- package/cjs/components/Icons/DotsHorizontalOutline.cjs +1 -13
- package/cjs/components/Icons/DotsVerticalFilled.cjs +1 -13
- package/cjs/components/Icons/DotsVerticalOutline.cjs +1 -13
- package/cjs/components/Icons/Download.cjs +1 -12
- package/cjs/components/Icons/DownloadBoxFilled.cjs +1 -9
- package/cjs/components/Icons/DownloadBoxOutline.cjs +1 -13
- package/cjs/components/Icons/EditBoxThick.cjs +1 -9
- package/cjs/components/Icons/EditBoxThin.cjs +1 -12
- package/cjs/components/Icons/EmailFilled.cjs +10 -9
- package/cjs/components/Icons/EmailOutline.cjs +13 -9
- package/cjs/components/Icons/ExitArrowInOutline.cjs +1 -9
- package/cjs/components/Icons/ExitArrowOutOutline.cjs +1 -12
- package/cjs/components/Icons/ExitFullScreen.cjs +1 -9
- package/cjs/components/Icons/ExitFullScreenThick.cjs +1 -9
- package/cjs/components/Icons/EyeClosed.cjs +1 -9
- package/cjs/components/Icons/EyeFilled.cjs +1 -12
- package/cjs/components/Icons/EyeOutline.cjs +1 -12
- package/cjs/components/Icons/FacebookFilled.cjs +2 -9
- package/cjs/components/Icons/FacebookMessengerOutline.cjs +1 -12
- package/cjs/components/Icons/FacebookOutline.cjs +1 -9
- package/cjs/components/Icons/FacebookRoundFilled.cjs +1 -9
- package/cjs/components/Icons/Filter.cjs +1 -14
- package/cjs/components/Icons/FilterList.cjs +1 -9
- package/cjs/components/Icons/FilterThickFilled.cjs +1 -9
- package/cjs/components/Icons/FilterThickOutline.cjs +1 -9
- package/cjs/components/Icons/FullScreenArrowThick.cjs +1 -9
- package/cjs/components/Icons/FullScreenArrowThin.cjs +1 -9
- package/cjs/components/Icons/FullScreenExit.cjs +1 -14
- package/cjs/components/Icons/FullScreenFilled.cjs +1 -9
- package/cjs/components/Icons/FullScreenOutline.cjs +1 -9
- package/cjs/components/Icons/HamburgerMenu.cjs +1 -13
- package/cjs/components/Icons/HamburgerSpaced.cjs +1 -14
- package/cjs/components/Icons/HeartFilled.cjs +1 -9
- package/cjs/components/Icons/HeartOutline.cjs +1 -9
- package/cjs/components/Icons/Help.cjs +1 -9
- package/cjs/components/Icons/HelpCircleFilled.cjs +1 -9
- package/cjs/components/Icons/HelpCircleOutline.cjs +1 -13
- package/cjs/components/Icons/HomeFilled.cjs +1 -9
- package/cjs/components/Icons/HomeOutline.cjs +1 -9
- package/cjs/components/Icons/Info.cjs +1 -12
- package/cjs/components/Icons/InfoCircleFilled.cjs +1 -9
- package/cjs/components/Icons/InfoCircleOutline.cjs +1 -13
- package/cjs/components/Icons/InfoSquareFilled.cjs +1 -9
- package/cjs/components/Icons/InfoSquareOutline.cjs +1 -13
- package/cjs/components/Icons/InstagramOuline.cjs +1 -12
- package/cjs/components/Icons/InstagramRoundFilled.cjs +5 -14
- package/cjs/components/Icons/KeyFilled.cjs +1 -9
- package/cjs/components/Icons/KeyInSquareFilled.cjs +1 -12
- package/cjs/components/Icons/KeyInSquareOutline.cjs +1 -13
- package/cjs/components/Icons/KeyOutline.cjs +1 -12
- package/cjs/components/Icons/KeySideSquareFilled.cjs +1 -12
- package/cjs/components/Icons/KeySideSquareOutline.cjs +1 -9
- package/cjs/components/Icons/KeySquareFilled.cjs +1 -12
- package/cjs/components/Icons/KeySquareOutline.cjs +1 -9
- package/cjs/components/Icons/Link.cjs +1 -12
- package/cjs/components/Icons/LinkedinFilled.cjs +4 -9
- package/cjs/components/Icons/LinkedinOutline.cjs +1 -9
- package/cjs/components/Icons/LinkedinRoundFilled.cjs +5 -9
- package/cjs/components/Icons/Loading.cjs +1 -12
- package/cjs/components/Icons/LocationArrowFilled.cjs +1 -9
- package/cjs/components/Icons/LocationArrowOutline.cjs +1 -9
- package/cjs/components/Icons/LocationFilled.cjs +1 -14
- package/cjs/components/Icons/LocationOutline.cjs +1 -14
- package/cjs/components/Icons/LockKeyhole.cjs +1 -9
- package/cjs/components/Icons/LockKeyholeOutline.cjs +1 -13
- package/cjs/components/Icons/LockKeyholeUnlocked.cjs +1 -9
- package/cjs/components/Icons/LockKeyholeUnlockedOutline.cjs +1 -13
- package/cjs/components/Icons/MediaPauseCircleFilled.cjs +1 -9
- package/cjs/components/Icons/MediaPauseCircleOuline.cjs +1 -13
- package/cjs/components/Icons/MediaPauseFilled.cjs +1 -12
- package/cjs/components/Icons/MediaPauseOutline.cjs +1 -12
- package/cjs/components/Icons/MediaPlayCircleFilled.cjs +1 -9
- package/cjs/components/Icons/MediaPlayCircleOutline.cjs +1 -12
- package/cjs/components/Icons/MediaPlayFilled.cjs +1 -9
- package/cjs/components/Icons/MediaPlayOutline.cjs +1 -9
- package/cjs/components/Icons/MediaStopCircleFilled.cjs +1 -9
- package/cjs/components/Icons/MediaStopCircleOutline.cjs +1 -12
- package/cjs/components/Icons/MediaStopFilled.cjs +1 -9
- package/cjs/components/Icons/MediaStopOutline.cjs +1 -9
- package/cjs/components/Icons/Minus.cjs +1 -9
- package/cjs/components/Icons/MinusCircle.cjs +1 -14
- package/cjs/components/Icons/MinusCircleFilled.cjs +1 -14
- package/cjs/components/Icons/MoneyBagOutline.cjs +1 -14
- package/cjs/components/Icons/MoneyBriefcaseFilled.cjs +1 -9
- package/cjs/components/Icons/MoneyBriefcaseOutline.cjs +1 -13
- package/cjs/components/Icons/NoEntry.cjs +1 -9
- package/cjs/components/Icons/NoEntryFilled.cjs +1 -9
- package/cjs/components/Icons/NoEntryOutline.cjs +1 -12
- package/cjs/components/Icons/PaymentCardFilled.cjs +1 -13
- package/cjs/components/Icons/PaymentCardOutline.cjs +1 -13
- package/cjs/components/Icons/PhoneCallingFilled.cjs +1 -13
- package/cjs/components/Icons/PhoneCallingOutline.cjs +1 -13
- package/cjs/components/Icons/PhoneFilled.cjs +1 -9
- package/cjs/components/Icons/PhoneOutline.cjs +1 -9
- package/cjs/components/Icons/Pin.cjs +1 -9
- package/cjs/components/Icons/PinAddFilled.cjs +1 -14
- package/cjs/components/Icons/PinAddOutline.cjs +1 -14
- package/cjs/components/Icons/PinCircleFilled.cjs +1 -9
- package/cjs/components/Icons/PinCircleOutline.cjs +1 -12
- package/cjs/components/Icons/PinFilled.cjs +1 -9
- package/cjs/components/Icons/PinOutline.cjs +1 -9
- package/cjs/components/Icons/PinSubFilled.cjs +1 -14
- package/cjs/components/Icons/PinSubOutline.cjs +1 -14
- package/cjs/components/Icons/PinterestFilled.cjs +1 -14
- package/cjs/components/Icons/PinterestOutline.cjs +1 -9
- package/cjs/components/Icons/ProfileFemaleOutline.cjs +13 -9
- package/cjs/components/Icons/ProfileGroupFilled.cjs +1 -12
- package/cjs/components/Icons/ProfileMaleFilled.cjs +1 -12
- package/cjs/components/Icons/ProfileMaleOutline.cjs +14 -9
- package/cjs/components/Icons/RedditFilled.cjs +1 -14
- package/cjs/components/Icons/RedditOutline.cjs +1 -14
- package/cjs/components/Icons/RedditRoundFilled.cjs +19 -15
- package/cjs/components/Icons/RedditRoundOutline.cjs +23 -15
- package/cjs/components/Icons/RupeeOutlined.cjs +1 -9
- package/cjs/components/Icons/RupeeSign.cjs +1 -9
- package/cjs/components/Icons/SaveFilled.cjs +1 -14
- package/cjs/components/Icons/SaveOutline.cjs +1 -14
- package/cjs/components/Icons/Search.cjs +1 -14
- package/cjs/components/Icons/SettingFilled.cjs +1 -9
- package/cjs/components/Icons/SettingOutline.cjs +1 -9
- package/cjs/components/Icons/ShareAllFilled.cjs +1 -9
- package/cjs/components/Icons/ShareAllOutline.cjs +1 -15
- package/cjs/components/Icons/ShareBoxOutline.cjs +1 -9
- package/cjs/components/Icons/ShareFilled.cjs +1 -12
- package/cjs/components/Icons/ShareOutline.cjs +1 -12
- package/cjs/components/Icons/ShareThickFilled.cjs +1 -9
- package/cjs/components/Icons/ShieldCheckFilled.cjs +1 -9
- package/cjs/components/Icons/ShieldCheckOutline.cjs +1 -12
- package/cjs/components/Icons/ShieldCrossFilled.cjs +1 -9
- package/cjs/components/Icons/ShieldCrossOutline.cjs +1 -12
- package/cjs/components/Icons/ShieldFilled.cjs +1 -9
- package/cjs/components/Icons/ShieldOutline.cjs +1 -9
- package/cjs/components/Icons/ShieldWarningFilled.cjs +1 -9
- package/cjs/components/Icons/ShieldWarningOutline.cjs +1 -13
- package/cjs/components/Icons/SnapchatFilled.cjs +1 -14
- package/cjs/components/Icons/SnapchatOutline.cjs +1 -9
- package/cjs/components/Icons/SortBottomToTop.cjs +1 -14
- package/cjs/components/Icons/SortHorizontal.cjs +1 -9
- package/cjs/components/Icons/SortTopToBottom.cjs +1 -14
- package/cjs/components/Icons/SortVertical.cjs +1 -9
- package/cjs/components/Icons/StarFilled.cjs +6 -9
- package/cjs/components/Icons/StarOutline.cjs +8 -9
- package/cjs/components/Icons/TelegramFilled.cjs +3 -12
- package/cjs/components/Icons/TelegramOutline.cjs +1 -9
- package/cjs/components/Icons/TelegramRoundFilled.cjs +3 -12
- package/cjs/components/Icons/ThumbsDownFilled.cjs +1 -9
- package/cjs/components/Icons/ThumbsDownOutline.cjs +1 -9
- package/cjs/components/Icons/ThumbsUpFilled.cjs +1 -9
- package/cjs/components/Icons/ThumbsUpOutline.cjs +1 -9
- package/cjs/components/Icons/TiktokBox.cjs +1 -9
- package/cjs/components/Icons/TiktokThickFilled.cjs +1 -12
- package/cjs/components/Icons/TiktokThinFilled.cjs +1 -12
- package/cjs/components/Icons/TrashBigFilled.cjs +1 -14
- package/cjs/components/Icons/TrashBigOutline.cjs +1 -14
- package/cjs/components/Icons/TrashFilled.cjs +1 -12
- package/cjs/components/Icons/TrashLinesFilled.cjs +1 -12
- package/cjs/components/Icons/TrashLinesOutline.cjs +1 -15
- package/cjs/components/Icons/TrashOutline.cjs +1 -13
- package/cjs/components/Icons/Upload.cjs +1 -12
- package/cjs/components/Icons/UploadBoxFilled.cjs +1 -9
- package/cjs/components/Icons/UploadBoxOutline.cjs +1 -13
- package/cjs/components/Icons/VolumeFilled.cjs +1 -15
- package/cjs/components/Icons/VolumeMuteFilled.cjs +1 -15
- package/cjs/components/Icons/VolumeMuteOutline.cjs +1 -15
- package/cjs/components/Icons/VolumeOffFilled.cjs +1 -15
- package/cjs/components/Icons/VolumeOffOutline.cjs +1 -15
- package/cjs/components/Icons/VolumeOutline.cjs +1 -15
- package/cjs/components/Icons/WalletFilled.cjs +1 -14
- package/cjs/components/Icons/WalletOutline.cjs +1 -14
- package/cjs/components/Icons/Warning.cjs +1 -9
- package/cjs/components/Icons/WarningCircleFilled.cjs +1 -9
- package/cjs/components/Icons/WarningCircleOutline.cjs +1 -9
- package/cjs/components/Icons/WarningSmall.cjs +1 -9
- package/cjs/components/Icons/WarningTriangleFilled.cjs +1 -12
- package/cjs/components/Icons/WarningTriangleOutline.cjs +1 -9
- package/cjs/components/Icons/WhatsappFilled.cjs +1 -14
- package/cjs/components/Icons/WhatsappOutline.cjs +1 -9
- package/cjs/components/Icons/Youtube.cjs +1 -9
- package/cjs/components/Icons/YoutubeFilled.cjs +1 -14
- package/cjs/components/Icons/YoutubeRoundFilled.cjs +3 -12
- package/cjs/components/Icons/index.cjs +1 -740
- package/cjs/components/Image/Image.cjs +13 -69
- package/cjs/components/Image/index.cjs +1 -4
- package/cjs/components/Input/Checkbox/Checkbox.cjs +9 -130
- package/cjs/components/Input/Checkbox/index.cjs +1 -4
- package/cjs/components/Input/FileUploader/FileUploader.cjs +22 -182
- package/cjs/components/Input/FileUploader/constants.cjs +1 -33
- package/cjs/components/Input/FileUploader/index.cjs +1 -4
- package/cjs/components/Input/Input/Input.cjs +21 -186
- package/cjs/components/Input/Input/index.cjs +1 -4
- package/cjs/components/Input/Radio/Radio.cjs +11 -61
- package/cjs/components/Input/RadioGroup/RadioGroup.cjs +5 -93
- package/cjs/components/Input/RadioGroup/index.cjs +1 -4
- package/cjs/components/Input/Textarea/SvgIcon.cjs +1 -16
- package/cjs/components/Input/Textarea/Textarea.cjs +20 -199
- package/cjs/components/Input/Textarea/index.cjs +1 -4
- package/cjs/components/Loader/Loader.cjs +13 -103
- package/cjs/components/Loader/constants.cjs +1 -29
- package/cjs/components/Loader/index.cjs +1 -4
- package/cjs/components/MenuItem/MenuItem.cjs +9 -88
- package/cjs/components/Modal/Modal.cjs +31 -181
- package/cjs/components/Modal/index.cjs +1 -4
- package/cjs/components/OtpInput/OtpInput.cjs +5 -154
- package/cjs/components/OtpInput/index.cjs +1 -4
- package/cjs/components/PageLoader/PageLoader.cjs +5 -53
- package/cjs/components/PageLoader/index.cjs +1 -4
- package/cjs/components/Pagination/Pagination.cjs +25 -247
- package/cjs/components/Pagination/constants.cjs +1 -41
- package/cjs/components/Pagination/index.cjs +1 -4
- package/cjs/components/Ripple/Ripple.cjs +1 -45
- package/cjs/components/Ripple/index.cjs +1 -4
- package/cjs/components/RootComponent/RootComponent.cjs +2 -21
- package/cjs/components/RootComponent/index.cjs +1 -4
- package/cjs/components/Selectbox/Selectbox.cjs +40 -347
- package/cjs/components/Selectbox/index.cjs +1 -4
- package/cjs/components/Shimmer/Shimmer.cjs +9 -49
- package/cjs/components/Shimmer/index.cjs +1 -4
- package/cjs/components/Spinner/Spinner.cjs +7 -56
- package/cjs/components/Spinner/index.cjs +1 -4
- package/cjs/components/Timer/Timer.cjs +80 -367
- package/cjs/components/Timer/components/TimerRing/TimerRing.cjs +1 -57
- package/cjs/components/Timer/constants.cjs +1 -25
- package/cjs/components/Timer/index.cjs +1 -4
- package/cjs/components/Toast/Toast.cjs +40 -266
- package/cjs/components/Toast/constants.cjs +1 -39
- package/cjs/components/Toast/index.cjs +1 -5
- package/cjs/components/Typography/Headings/H1.cjs +3 -27
- package/cjs/components/Typography/Headings/H2.cjs +3 -27
- package/cjs/components/Typography/Headings/H3.cjs +3 -27
- package/cjs/components/Typography/Headings/H4.cjs +3 -27
- package/cjs/components/Typography/Headings/H5.cjs +3 -27
- package/cjs/components/Typography/Headings/H6.cjs +3 -27
- package/cjs/components/Typography/Headings/index.cjs +1 -23
- package/cjs/components/Typography/P/P.cjs +4 -34
- package/cjs/components/Typography/P/index.cjs +1 -4
- package/cjs/components/VideoPlayer/VideoPlayer.cjs +11 -61
- package/cjs/components/VideoPlayer/components/Volumebar/Volumebar.cjs +6 -28
- package/cjs/components/VideoPlayer/index.cjs +1 -4
- package/cjs/components/VideoPlayer/useSpacebarToggle.cjs +1 -56
- package/cjs/components/VideoPlayer/useVolumeOverlay.cjs +1 -17
- package/cjs/hooks/index.cjs +1 -38
- package/cjs/hooks/useCopyToClipboard.cjs +1 -17
- package/cjs/hooks/useDebounce.cjs +1 -12
- package/cjs/hooks/useEventListener.cjs +1 -17
- package/cjs/hooks/useFirstRender.cjs +1 -11
- package/cjs/hooks/useIntersectionObserver.cjs +1 -15
- package/cjs/hooks/useInterval.cjs +1 -15
- package/cjs/hooks/useIsMounted.cjs +1 -14
- package/cjs/hooks/useLocalStorage.cjs +1 -30
- package/cjs/hooks/useMediaQuery.cjs +1 -14
- package/cjs/hooks/useOnlineStatus.cjs +1 -18
- package/cjs/hooks/useOutsideClick.cjs +1 -17
- package/cjs/hooks/usePrevious.cjs +1 -11
- package/cjs/hooks/useSessionStorage.cjs +1 -30
- package/cjs/hooks/useThrottle.cjs +1 -17
- package/cjs/hooks/useTimeout.cjs +1 -15
- package/cjs/hooks/useToggle.cjs +1 -11
- package/cjs/hooks/useUnmount.cjs +1 -13
- package/cjs/hooks/useWindowSize.cjs +1 -19
- package/cjs/index.cjs +1 -379
- package/cjs/reactUtils/composeProviders.cjs +1 -7
- package/cjs/reactUtils/createContextHook.cjs +1 -13
- package/cjs/reactUtils/createPortalNode.cjs +1 -8
- package/cjs/reactUtils/index.cjs +1 -16
- package/cjs/reactUtils/lazyImport.cjs +1 -9
- package/cjs/reactUtils/memoCompare.cjs +1 -5
- package/cjs/reactUtils/withErrorBoundary.cjs +1 -33
- package/cjs/reactUtils/withSuspense.cjs +1 -11
- package/cjs/utils/addDays.cjs +1 -8
- package/cjs/utils/announceToScreenReader.cjs +1 -14
- package/cjs/utils/auditLog.cjs +1 -18
- package/cjs/utils/buildURL.cjs +1 -10
- package/cjs/utils/camelCase.cjs +1 -7
- package/cjs/utils/cancelablePromise.cjs +1 -19
- package/cjs/utils/capFirstLetter.cjs +1 -9
- package/cjs/utils/capitalize.cjs +1 -7
- package/cjs/utils/captureException.cjs +1 -17
- package/cjs/utils/chunk.cjs +1 -10
- package/cjs/utils/clamp.cjs +1 -4
- package/cjs/utils/clearStorage.cjs +1 -7
- package/cjs/utils/compose.cjs +1 -4
- package/cjs/utils/copyToClipboard.cjs +1 -17
- package/cjs/utils/countdown.cjs +1 -13
- package/cjs/utils/createPubSub.cjs +1 -21
- package/cjs/utils/debounce.cjs +1 -10
- package/cjs/utils/decodeJWT.cjs +1 -11
- package/cjs/utils/deepClone.cjs +1 -9
- package/cjs/utils/deepFreeze.cjs +1 -10
- package/cjs/utils/detectOutsideClick.cjs +1 -12
- package/cjs/utils/differenceInDays.cjs +1 -8
- package/cjs/utils/downloadFile.cjs +1 -11
- package/cjs/utils/fadeIn.cjs +1 -13
- package/cjs/utils/fadeOut.cjs +1 -10
- package/cjs/utils/fallback.cjs +1 -4
- package/cjs/utils/featureGate.cjs +1 -9
- package/cjs/utils/filterByKey.cjs +1 -4
- package/cjs/utils/flattenObject.cjs +1 -12
- package/cjs/utils/focusElement.cjs +1 -8
- package/cjs/utils/formatCompactNumber.cjs +1 -10
- package/cjs/utils/formatCurrency.cjs +1 -10
- package/cjs/utils/formatDate.cjs +1 -12
- package/cjs/utils/formatNumber.cjs +1 -7
- package/cjs/utils/formatTime.cjs +1 -12
- package/cjs/utils/fuzzySearch.cjs +1 -21
- package/cjs/utils/generateAriaId.cjs +1 -5
- package/cjs/utils/generateInitials.cjs +1 -7
- package/cjs/utils/getCurrentPath.cjs +1 -4
- package/cjs/utils/getGreetingByTime.cjs +1 -9
- package/cjs/utils/getLocalStorage.cjs +1 -11
- package/cjs/utils/getQueryParams.cjs +1 -10
- package/cjs/utils/getScreenSize.cjs +1 -10
- package/cjs/utils/getSessionStorage.cjs +1 -11
- package/cjs/utils/getToken.cjs +1 -4
- package/cjs/utils/getVariant.cjs +1 -12
- package/cjs/utils/groupBy.cjs +1 -9
- package/cjs/utils/handleKeyboardNavigation.cjs +1 -29
- package/cjs/utils/hasEqualProps.cjs +1 -13
- package/cjs/utils/hasPermission.cjs +1 -14
- package/cjs/utils/identity.cjs +1 -4
- package/cjs/utils/index.cjs +1 -280
- package/cjs/utils/isAadhaar.cjs +1 -8
- package/cjs/utils/isActiveRoute.cjs +1 -4
- package/cjs/utils/isAndroid.cjs +1 -6
- package/cjs/utils/isAuthenticated.cjs +1 -20
- package/cjs/utils/isDarkMode.cjs +1 -6
- package/cjs/utils/isEmail.cjs +1 -7
- package/cjs/utils/isEmpty.cjs +1 -9
- package/cjs/utils/isEqual.cjs +1 -13
- package/cjs/utils/isFeatureEnabled.cjs +1 -12
- package/cjs/utils/isGST.cjs +1 -7
- package/cjs/utils/isIOS.cjs +1 -6
- package/cjs/utils/isMobile.cjs +1 -6
- package/cjs/utils/isNonEmptyArray.cjs +1 -4
- package/cjs/utils/isOnline.cjs +1 -6
- package/cjs/utils/isPAN.cjs +1 -7
- package/cjs/utils/isPasswordStrong.cjs +1 -7
- package/cjs/utils/isPast.cjs +1 -7
- package/cjs/utils/isPhone.cjs +1 -7
- package/cjs/utils/isRequired.cjs +1 -9
- package/cjs/utils/isSafari.cjs +1 -6
- package/cjs/utils/isToday.cjs +1 -8
- package/cjs/utils/isURL.cjs +1 -12
- package/cjs/utils/kebabCase.cjs +1 -7
- package/cjs/utils/keyBy.cjs +1 -7
- package/cjs/utils/lazyLoadComponent.cjs +1 -5
- package/cjs/utils/lockBodyScroll.cjs +1 -6
- package/cjs/utils/logError.cjs +1 -11
- package/cjs/utils/logInfo.cjs +1 -18
- package/cjs/utils/logWarn.cjs +1 -18
- package/cjs/utils/maskEmail.cjs +1 -9
- package/cjs/utils/maskPhone.cjs +1 -10
- package/cjs/utils/maxLength.cjs +1 -7
- package/cjs/utils/measureElement.cjs +1 -9
- package/cjs/utils/measurePerformance.cjs +1 -19
- package/cjs/utils/memoize.cjs +1 -13
- package/cjs/utils/mergeDeep.cjs +1 -13
- package/cjs/utils/minLength.cjs +1 -7
- package/cjs/utils/multiSort.cjs +1 -15
- package/cjs/utils/noop.cjs +1 -5
- package/cjs/utils/omit.cjs +1 -7
- package/cjs/utils/once.cjs +1 -14
- package/cjs/utils/openInNewTab.cjs +1 -6
- package/cjs/utils/paginate.cjs +1 -15
- package/cjs/utils/parallel.cjs +1 -4
- package/cjs/utils/percentage.cjs +1 -11
- package/cjs/utils/permissionGuard.cjs +1 -9
- package/cjs/utils/pick.cjs +1 -4
- package/cjs/utils/pipe.cjs +1 -4
- package/cjs/utils/rafThrottle.cjs +1 -13
- package/cjs/utils/randomBetween.cjs +1 -4
- package/cjs/utils/randomInt.cjs +1 -7
- package/cjs/utils/randomValue.cjs +1 -6
- package/cjs/utils/redirectTo.cjs +1 -6
- package/cjs/utils/removeExtraSpaces.cjs +1 -7
- package/cjs/utils/removeLocalStorage.cjs +1 -6
- package/cjs/utils/removeQueryParam.cjs +1 -8
- package/cjs/utils/removeToken.cjs +1 -4
- package/cjs/utils/requestIdleTask.cjs +1 -10
- package/cjs/utils/retry.cjs +1 -14
- package/cjs/utils/roundTo.cjs +1 -8
- package/cjs/utils/safeAsync.cjs +1 -11
- package/cjs/utils/safeJSONParse.cjs +1 -10
- package/cjs/utils/safeJSONStringify.cjs +1 -10
- package/cjs/utils/scrollToElement.cjs +1 -10
- package/cjs/utils/scrollToTop.cjs +1 -9
- package/cjs/utils/sequential.cjs +1 -10
- package/cjs/utils/setLocalStorage.cjs +1 -9
- package/cjs/utils/setQueryParam.cjs +1 -8
- package/cjs/utils/setSessionStorage.cjs +1 -9
- package/cjs/utils/setToken.cjs +1 -4
- package/cjs/utils/singleton.cjs +1 -10
- package/cjs/utils/sleep.cjs +1 -4
- package/cjs/utils/slugify.cjs +1 -7
- package/cjs/utils/smoothScroll.cjs +1 -19
- package/cjs/utils/snakeCase.cjs +1 -7
- package/cjs/utils/sortBy.cjs +1 -8
- package/cjs/utils/throttle.cjs +1 -13
- package/cjs/utils/timeAgo.cjs +1 -21
- package/cjs/utils/titleCase.cjs +1 -7
- package/cjs/utils/toggleFullscreen.cjs +1 -11
- package/cjs/utils/trackEvent.cjs +1 -17
- package/cjs/utils/trackPageView.cjs +1 -17
- package/cjs/utils/trapFocus.cjs +1 -31
- package/cjs/utils/truncate.cjs +1 -7
- package/cjs/utils/uniqueBy.cjs +1 -12
- package/cjs/utils/unlockBodyScroll.cjs +1 -6
- package/cjs/utils/waitForTransitionEnd.cjs +1 -11
- package/cjs/utils/withTimeout.cjs +1 -7
- package/colors/amber.js +2 -2
- package/colors/black.js +3 -3
- package/colors/blue.js +3 -3
- package/colors/blueGray.js +2 -2
- package/colors/brown.js +3 -3
- package/colors/cider.js +2 -2
- package/colors/colorMap.js +48 -48
- package/colors/cyan.js +2 -2
- package/colors/deepOrange.js +2 -2
- package/colors/deepPurple.js +2 -2
- package/colors/green.js +3 -3
- package/colors/grey.js +3 -3
- package/colors/indigo.js +3 -3
- package/colors/lightBlue.js +2 -2
- package/colors/lightGreen.js +2 -2
- package/colors/lime.js +2 -2
- package/colors/orange.js +3 -3
- package/colors/pink.js +3 -3
- package/colors/purple.js +3 -3
- package/colors/red.js +3 -3
- package/colors/teal.js +3 -3
- package/colors/violet.js +3 -3
- package/colors/white.js +3 -3
- package/colors/yellow.js +3 -3
- package/components/Button/Button.js +89 -135
- package/components/Button/constants.js +10 -14
- package/components/Button/index.js +2 -2
- package/components/Carousel/Carousel.js +210 -241
- package/components/Carousel/index.js +2 -2
- package/components/DatePicker/DatePicker.js +273 -343
- package/components/DatePicker/constants.js +17 -6
- package/components/DatePicker/index.js +2 -2
- package/components/DatePicker/utils.js +18 -41
- package/components/Dropdown/Dropdown.js +277 -326
- package/components/Dropdown/constants.js +3 -3
- package/components/Dropdown/index.js +2 -2
- package/components/Glass/Glass.js +6 -13
- package/components/Glass/index.js +2 -2
- package/components/Icons/Add.js +46 -13
- package/components/Icons/AddCircle.js +31 -10
- package/components/Icons/AddCircleFilled.js +22 -7
- package/components/Icons/ArrowDown.js +22 -7
- package/components/Icons/ArrowLeft.js +23 -7
- package/components/Icons/ArrowRight.js +23 -7
- package/components/Icons/ArrowUp.js +22 -7
- package/components/Icons/BagFilled.js +22 -7
- package/components/Icons/BagOutline.js +32 -10
- package/components/Icons/BellFilled.js +33 -10
- package/components/Icons/BellOffFilled.js +42 -11
- package/components/Icons/BellOffOutline.js +44 -11
- package/components/Icons/BellOutline.js +35 -10
- package/components/Icons/BookmarkFilled.js +25 -12
- package/components/Icons/BookmarkOutline.js +22 -7
- package/components/Icons/BoxCoveredFilled.js +43 -12
- package/components/Icons/BoxCoveredOutline.js +33 -10
- package/components/Icons/BoxFilled.js +36 -11
- package/components/Icons/BoxOutline.js +33 -10
- package/components/Icons/CalendarDays.js +22 -7
- package/components/Icons/CalendarLinesPen.js +23 -7
- package/components/Icons/CartCheckFilled.js +38 -11
- package/components/Icons/CartCheckOutline.js +48 -12
- package/components/Icons/CartCrossFilled.js +38 -11
- package/components/Icons/CartCrossOutline.js +47 -12
- package/components/Icons/CartFilled.js +36 -11
- package/components/Icons/CartMinusFilled.js +38 -11
- package/components/Icons/CartMinusOutline.js +49 -13
- package/components/Icons/CartOutline.js +48 -12
- package/components/Icons/CartPlusFilled.js +38 -11
- package/components/Icons/CartPlusOutline.js +47 -12
- package/components/Icons/Check.js +23 -7
- package/components/Icons/CheckDouble.js +23 -7
- package/components/Icons/ChevronDown.js +23 -7
- package/components/Icons/ChevronLeft.js +23 -7
- package/components/Icons/ChevronRight.js +23 -7
- package/components/Icons/ChevronUp.js +23 -7
- package/components/Icons/ClockCircleOutline.js +26 -10
- package/components/Icons/ClockSquareOutline.js +33 -10
- package/components/Icons/Close.js +20 -7
- package/components/Icons/CloseCircleFilled.js +22 -7
- package/components/Icons/CloseCircleOutline.js +23 -7
- package/components/Icons/CommentBubbleFilled.js +25 -12
- package/components/Icons/CommentBubbleOutline.js +25 -12
- package/components/Icons/CommentFilled.js +25 -12
- package/components/Icons/CommentLineFilled.js +25 -12
- package/components/Icons/CommentLineOutline.js +25 -12
- package/components/Icons/CommentOutline.js +25 -12
- package/components/Icons/ContactDetailsFilled.js +17 -10
- package/components/Icons/ContactDetailsOutline.js +17 -10
- package/components/Icons/DeliveryTruckFastFilled.js +28 -15
- package/components/Icons/DeliveryTruckFastOutline.js +28 -15
- package/components/Icons/DeliveryTruckLeftFilled.js +26 -10
- package/components/Icons/DeliveryTruckLeftOutline.js +27 -10
- package/components/Icons/DeliveryTruckRightFilled.js +23 -10
- package/components/Icons/DeliveryTruckRightOutline.js +23 -10
- package/components/Icons/DetailsOutline.js +17 -10
- package/components/Icons/DiscordConversation.js +29 -10
- package/components/Icons/DiscordFilled.js +23 -10
- package/components/Icons/DiscordOutline.js +27 -11
- package/components/Icons/DoorClosedFilled.js +22 -7
- package/components/Icons/DoorClosedOutline.js +23 -7
- package/components/Icons/DoorOpenFilled.js +22 -7
- package/components/Icons/DoorOpenOutline.js +23 -7
- package/components/Icons/DotsHorizontalFilled.js +36 -11
- package/components/Icons/DotsHorizontalOutline.js +45 -11
- package/components/Icons/DotsVerticalFilled.js +36 -11
- package/components/Icons/DotsVerticalOutline.js +45 -11
- package/components/Icons/Download.js +29 -10
- package/components/Icons/DownloadBoxFilled.js +22 -7
- package/components/Icons/DownloadBoxOutline.js +38 -11
- package/components/Icons/EditBoxThick.js +23 -7
- package/components/Icons/EditBoxThin.js +35 -10
- package/components/Icons/EmailFilled.js +29 -7
- package/components/Icons/EmailOutline.js +32 -7
- package/components/Icons/ExitArrowInOutline.js +23 -7
- package/components/Icons/ExitArrowOutOutline.js +35 -10
- package/components/Icons/ExitFullScreen.js +21 -7
- package/components/Icons/ExitFullScreenThick.js +21 -7
- package/components/Icons/EyeClosed.js +22 -7
- package/components/Icons/EyeFilled.js +31 -10
- package/components/Icons/EyeOutline.js +35 -10
- package/components/Icons/FacebookFilled.js +21 -7
- package/components/Icons/FacebookMessengerOutline.js +31 -10
- package/components/Icons/FacebookOutline.js +22 -7
- package/components/Icons/FacebookRoundFilled.js +20 -7
- package/components/Icons/Filter.js +19 -12
- package/components/Icons/FilterList.js +23 -7
- package/components/Icons/FilterThickFilled.js +20 -7
- package/components/Icons/FilterThickOutline.js +21 -7
- package/components/Icons/FullScreenArrowThick.js +21 -7
- package/components/Icons/FullScreenArrowThin.js +21 -7
- package/components/Icons/FullScreenExit.js +43 -12
- package/components/Icons/FullScreenFilled.js +22 -7
- package/components/Icons/FullScreenOutline.js +22 -7
- package/components/Icons/HamburgerMenu.js +42 -11
- package/components/Icons/HamburgerSpaced.js +25 -12
- package/components/Icons/HeartFilled.js +20 -7
- package/components/Icons/HeartOutline.js +25 -7
- package/components/Icons/Help.js +23 -7
- package/components/Icons/HelpCircleFilled.js +22 -7
- package/components/Icons/HelpCircleOutline.js +43 -11
- package/components/Icons/HomeFilled.js +22 -7
- package/components/Icons/HomeOutline.js +22 -7
- package/components/Icons/Info.js +29 -10
- package/components/Icons/InfoCircleFilled.js +22 -7
- package/components/Icons/InfoCircleOutline.js +18 -11
- package/components/Icons/InfoSquareFilled.js +22 -7
- package/components/Icons/InfoSquareOutline.js +25 -11
- package/components/Icons/InstagramOuline.js +23 -10
- package/components/Icons/InstagramRoundFilled.js +47 -12
- package/components/Icons/KeyFilled.js +22 -7
- package/components/Icons/KeyInSquareFilled.js +31 -10
- package/components/Icons/KeyInSquareOutline.js +40 -11
- package/components/Icons/KeyOutline.js +33 -10
- package/components/Icons/KeySideSquareFilled.js +31 -10
- package/components/Icons/KeySideSquareOutline.js +22 -7
- package/components/Icons/KeySquareFilled.js +31 -10
- package/components/Icons/KeySquareOutline.js +22 -7
- package/components/Icons/Link.js +33 -10
- package/components/Icons/LinkedinFilled.js +23 -7
- package/components/Icons/LinkedinOutline.js +21 -7
- package/components/Icons/LinkedinRoundFilled.js +24 -7
- package/components/Icons/Loading.js +23 -10
- package/components/Icons/LocationArrowFilled.js +14 -7
- package/components/Icons/LocationArrowOutline.js +23 -7
- package/components/Icons/LocationFilled.js +25 -12
- package/components/Icons/LocationOutline.js +25 -12
- package/components/Icons/LockKeyhole.js +22 -7
- package/components/Icons/LockKeyholeOutline.js +33 -11
- package/components/Icons/LockKeyholeUnlocked.js +22 -7
- package/components/Icons/LockKeyholeUnlockedOutline.js +33 -11
- package/components/Icons/MediaPauseCircleFilled.js +22 -7
- package/components/Icons/MediaPauseCircleOuline.js +38 -11
- package/components/Icons/MediaPauseFilled.js +29 -10
- package/components/Icons/MediaPauseOutline.js +33 -10
- package/components/Icons/MediaPlayCircleFilled.js +22 -7
- package/components/Icons/MediaPlayCircleOutline.js +33 -10
- package/components/Icons/MediaPlayFilled.js +20 -7
- package/components/Icons/MediaPlayOutline.js +22 -7
- package/components/Icons/MediaStopCircleFilled.js +22 -7
- package/components/Icons/MediaStopCircleOutline.js +33 -10
- package/components/Icons/MediaStopFilled.js +20 -7
- package/components/Icons/MediaStopOutline.js +22 -7
- package/components/Icons/Minus.js +23 -7
- package/components/Icons/MinusCircle.js +25 -12
- package/components/Icons/MinusCircleFilled.js +25 -12
- package/components/Icons/MoneyBagOutline.js +48 -12
- package/components/Icons/MoneyBriefcaseFilled.js +22 -7
- package/components/Icons/MoneyBriefcaseOutline.js +40 -11
- package/components/Icons/NoEntry.js +21 -7
- package/components/Icons/NoEntryFilled.js +20 -7
- package/components/Icons/NoEntryOutline.js +23 -10
- package/components/Icons/PaymentCardFilled.js +18 -11
- package/components/Icons/PaymentCardOutline.js +18 -11
- package/components/Icons/PhoneCallingFilled.js +38 -11
- package/components/Icons/PhoneCallingOutline.js +40 -11
- package/components/Icons/PhoneFilled.js +20 -7
- package/components/Icons/PhoneOutline.js +20 -7
- package/components/Icons/Pin.js +23 -7
- package/components/Icons/PinAddFilled.js +19 -12
- package/components/Icons/PinAddOutline.js +19 -12
- package/components/Icons/PinCircleFilled.js +22 -7
- package/components/Icons/PinCircleOutline.js +23 -10
- package/components/Icons/PinFilled.js +20 -7
- package/components/Icons/PinOutline.js +22 -7
- package/components/Icons/PinSubFilled.js +19 -12
- package/components/Icons/PinSubOutline.js +19 -12
- package/components/Icons/PinterestFilled.js +19 -12
- package/components/Icons/PinterestOutline.js +23 -7
- package/components/Icons/ProfileFemaleOutline.js +32 -7
- package/components/Icons/ProfileGroupFilled.js +30 -10
- package/components/Icons/ProfileMaleFilled.js +30 -10
- package/components/Icons/ProfileMaleOutline.js +33 -7
- package/components/Icons/RedditFilled.js +19 -12
- package/components/Icons/RedditOutline.js +45 -12
- package/components/Icons/RedditRoundFilled.js +68 -13
- package/components/Icons/RedditRoundOutline.js +72 -13
- package/components/Icons/RupeeOutlined.js +20 -7
- package/components/Icons/RupeeSign.js +23 -7
- package/components/Icons/SaveFilled.js +25 -12
- package/components/Icons/SaveOutline.js +25 -12
- package/components/Icons/Search.js +25 -12
- package/components/Icons/SettingFilled.js +20 -7
- package/components/Icons/SettingOutline.js +20 -7
- package/components/Icons/ShareAllFilled.js +22 -7
- package/components/Icons/ShareAllOutline.js +41 -13
- package/components/Icons/ShareBoxOutline.js +20 -7
- package/components/Icons/ShareFilled.js +31 -10
- package/components/Icons/ShareOutline.js +34 -10
- package/components/Icons/ShareThickFilled.js +20 -7
- package/components/Icons/ShieldCheckFilled.js +22 -7
- package/components/Icons/ShieldCheckOutline.js +33 -10
- package/components/Icons/ShieldCrossFilled.js +22 -7
- package/components/Icons/ShieldCrossOutline.js +32 -10
- package/components/Icons/ShieldFilled.js +20 -7
- package/components/Icons/ShieldOutline.js +22 -7
- package/components/Icons/ShieldWarningFilled.js +22 -7
- package/components/Icons/ShieldWarningOutline.js +25 -11
- package/components/Icons/SnapchatFilled.js +19 -12
- package/components/Icons/SnapchatOutline.js +22 -7
- package/components/Icons/SortBottomToTop.js +28 -12
- package/components/Icons/SortHorizontal.js +22 -7
- package/components/Icons/SortTopToBottom.js +28 -12
- package/components/Icons/SortVertical.js +22 -7
- package/components/Icons/StarFilled.js +25 -7
- package/components/Icons/StarOutline.js +27 -7
- package/components/Icons/TelegramFilled.js +25 -10
- package/components/Icons/TelegramOutline.js +22 -7
- package/components/Icons/TelegramRoundFilled.js +25 -10
- package/components/Icons/ThumbsDownFilled.js +20 -7
- package/components/Icons/ThumbsDownOutline.js +20 -7
- package/components/Icons/ThumbsUpFilled.js +20 -7
- package/components/Icons/ThumbsUpOutline.js +20 -7
- package/components/Icons/TiktokBox.js +20 -7
- package/components/Icons/TiktokThickFilled.js +23 -10
- package/components/Icons/TiktokThinFilled.js +34 -10
- package/components/Icons/TrashBigFilled.js +25 -12
- package/components/Icons/TrashBigOutline.js +25 -12
- package/components/Icons/TrashFilled.js +29 -10
- package/components/Icons/TrashLinesFilled.js +31 -10
- package/components/Icons/TrashLinesOutline.js +35 -13
- package/components/Icons/TrashOutline.js +33 -11
- package/components/Icons/Upload.js +29 -10
- package/components/Icons/UploadBoxFilled.js +22 -7
- package/components/Icons/UploadBoxOutline.js +38 -11
- package/components/Icons/VolumeFilled.js +32 -13
- package/components/Icons/VolumeMuteFilled.js +32 -13
- package/components/Icons/VolumeMuteOutline.js +32 -13
- package/components/Icons/VolumeOffFilled.js +32 -13
- package/components/Icons/VolumeOffOutline.js +32 -13
- package/components/Icons/VolumeOutline.js +32 -13
- package/components/Icons/WalletFilled.js +25 -12
- package/components/Icons/WalletOutline.js +25 -12
- package/components/Icons/Warning.js +23 -7
- package/components/Icons/WarningCircleFilled.js +20 -7
- package/components/Icons/WarningCircleOutline.js +20 -7
- package/components/Icons/WarningSmall.js +23 -7
- package/components/Icons/WarningTriangleFilled.js +23 -10
- package/components/Icons/WarningTriangleOutline.js +23 -7
- package/components/Icons/WhatsappFilled.js +19 -12
- package/components/Icons/WhatsappOutline.js +22 -7
- package/components/Icons/Youtube.js +20 -7
- package/components/Icons/YoutubeFilled.js +25 -12
- package/components/Icons/YoutubeRoundFilled.js +25 -10
- package/components/Icons/index.js +737 -737
- package/components/Image/Image.js +57 -62
- package/components/Image/index.js +2 -2
- package/components/Input/Checkbox/Checkbox.js +101 -107
- package/components/Input/Checkbox/index.js +2 -2
- package/components/Input/FileUploader/FileUploader.js +125 -160
- package/components/Input/FileUploader/constants.js +10 -14
- package/components/Input/FileUploader/index.js +2 -2
- package/components/Input/Input/Input.js +115 -177
- package/components/Input/Input/index.js +2 -2
- package/components/Input/Radio/Radio.js +45 -54
- package/components/Input/RadioGroup/RadioGroup.js +86 -76
- package/components/Input/RadioGroup/index.js +2 -2
- package/components/Input/Textarea/SvgIcon.js +4 -14
- package/components/Input/Textarea/Textarea.js +126 -190
- package/components/Input/Textarea/index.js +2 -2
- package/components/Loader/Loader.js +67 -90
- package/components/Loader/constants.js +12 -27
- package/components/Loader/index.js +2 -2
- package/components/MenuItem/MenuItem.js +59 -82
- package/components/Modal/Modal.js +132 -162
- package/components/Modal/index.js +2 -2
- package/components/OtpInput/OtpInput.js +82 -138
- package/components/OtpInput/index.js +2 -2
- package/components/PageLoader/PageLoader.js +47 -48
- package/components/PageLoader/index.js +2 -2
- package/components/Pagination/Pagination.js +148 -237
- package/components/Pagination/constants.js +22 -39
- package/components/Pagination/index.js +2 -2
- package/components/Ripple/Ripple.js +36 -39
- package/components/Ripple/index.js +2 -2
- package/components/RootComponent/RootComponent.js +8 -14
- package/components/RootComponent/index.js +2 -2
- package/components/Selectbox/Selectbox.js +294 -313
- package/components/Selectbox/index.js +2 -2
- package/components/Shimmer/Shimmer.js +38 -39
- package/components/Shimmer/index.js +2 -2
- package/components/Spinner/Spinner.js +48 -47
- package/components/Spinner/index.js +2 -2
- package/components/Timer/Timer.js +278 -335
- package/components/Timer/components/TimerRing/TimerRing.js +82 -44
- package/components/Timer/constants.js +22 -22
- package/components/Timer/index.js +2 -2
- package/components/Toast/Toast.js +159 -245
- package/components/Toast/constants.js +28 -33
- package/components/Toast/index.js +4 -4
- package/components/Typography/Headings/H1.js +10 -19
- package/components/Typography/Headings/H2.js +10 -19
- package/components/Typography/Headings/H3.js +10 -19
- package/components/Typography/Headings/H4.js +10 -19
- package/components/Typography/Headings/H5.js +10 -19
- package/components/Typography/Headings/H6.js +10 -19
- package/components/Typography/Headings/index.js +14 -21
- package/components/Typography/P/P.js +13 -25
- package/components/Typography/P/index.js +2 -2
- package/components/VideoPlayer/VideoPlayer.js +43 -54
- package/components/VideoPlayer/components/Volumebar/Volumebar.js +14 -22
- package/components/VideoPlayer/index.js +2 -2
- package/components/VideoPlayer/useSpacebarToggle.js +43 -48
- package/components/VideoPlayer/useVolumeOverlay.js +6 -13
- package/hooks/index.js +36 -36
- package/hooks/useCopyToClipboard.js +9 -12
- package/hooks/useDebounce.js +8 -9
- package/hooks/useEventListener.js +12 -14
- package/hooks/useFirstRender.js +7 -8
- package/hooks/useIntersectionObserver.js +10 -12
- package/hooks/useInterval.js +11 -12
- package/hooks/useIsMounted.js +7 -11
- package/hooks/useLocalStorage.js +18 -20
- package/hooks/useMediaQuery.js +8 -11
- package/hooks/useOnlineStatus.js +9 -14
- package/hooks/useOutsideClick.js +9 -12
- package/hooks/usePrevious.js +7 -8
- package/hooks/useSessionStorage.js +18 -20
- package/hooks/useThrottle.js +13 -14
- package/hooks/useTimeout.js +11 -12
- package/hooks/useToggle.js +6 -7
- package/hooks/useUnmount.js +7 -10
- package/hooks/useWindowSize.js +8 -13
- package/index.js +377 -377
- package/package.json +1 -1
- package/reactUtils/composeProviders.js +3 -5
- package/reactUtils/createContextHook.js +8 -9
- package/reactUtils/createPortalNode.js +4 -5
- package/reactUtils/index.js +14 -14
- package/reactUtils/lazyImport.js +4 -6
- package/reactUtils/memoCompare.js +3 -3
- package/reactUtils/withErrorBoundary.js +14 -22
- package/reactUtils/withSuspense.js +7 -8
- package/utils/addDays.js +4 -5
- package/utils/announceToScreenReader.js +5 -10
- package/utils/auditLog.js +8 -13
- package/utils/buildURL.js +6 -7
- package/utils/camelCase.js +2 -5
- package/utils/cancelablePromise.js +10 -12
- package/utils/capFirstLetter.js +2 -7
- package/utils/capitalize.js +2 -5
- package/utils/captureException.js +7 -12
- package/utils/chunk.js +6 -7
- package/utils/clamp.js +2 -2
- package/utils/clearStorage.js +3 -4
- package/utils/compose.js +2 -2
- package/utils/copyToClipboard.js +7 -12
- package/utils/countdown.js +7 -8
- package/utils/createPubSub.js +11 -17
- package/utils/debounce.js +5 -6
- package/utils/decodeJWT.js +5 -5
- package/utils/deepClone.js +2 -7
- package/utils/deepFreeze.js +5 -8
- package/utils/detectOutsideClick.js +7 -8
- package/utils/differenceInDays.js +4 -5
- package/utils/downloadFile.js +4 -8
- package/utils/fadeIn.js +4 -7
- package/utils/fadeOut.js +5 -7
- package/utils/fallback.js +2 -2
- package/utils/featureGate.js +2 -7
- package/utils/filterByKey.js +2 -2
- package/utils/flattenObject.js +4 -9
- package/utils/focusElement.js +5 -5
- package/utils/formatCompactNumber.js +4 -8
- package/utils/formatCurrency.js +2 -8
- package/utils/formatDate.js +6 -9
- package/utils/formatNumber.js +2 -5
- package/utils/formatTime.js +6 -7
- package/utils/fuzzySearch.js +11 -16
- package/utils/generateAriaId.js +3 -3
- package/utils/generateInitials.js +2 -5
- package/utils/getCurrentPath.js +2 -2
- package/utils/getGreetingByTime.js +4 -6
- package/utils/getLocalStorage.js +5 -5
- package/utils/getQueryParams.js +6 -7
- package/utils/getScreenSize.js +2 -2
- package/utils/getSessionStorage.js +5 -5
- package/utils/getToken.js +2 -2
- package/utils/getVariant.js +4 -5
- package/utils/groupBy.js +5 -6
- package/utils/handleKeyboardNavigation.js +13 -25
- package/utils/hasEqualProps.js +7 -11
- package/utils/hasPermission.js +11 -11
- package/utils/identity.js +2 -2
- package/utils/index.js +278 -278
- package/utils/isAadhaar.js +5 -5
- package/utils/isActiveRoute.js +2 -2
- package/utils/isAndroid.js +2 -4
- package/utils/isAuthenticated.js +8 -14
- package/utils/isDarkMode.js +2 -4
- package/utils/isEmail.js +2 -5
- package/utils/isEmpty.js +2 -7
- package/utils/isEqual.js +7 -10
- package/utils/isFeatureEnabled.js +6 -7
- package/utils/isGST.js +2 -5
- package/utils/isIOS.js +2 -4
- package/utils/isMobile.js +2 -4
- package/utils/isNonEmptyArray.js +2 -2
- package/utils/isOnline.js +2 -4
- package/utils/isPAN.js +2 -5
- package/utils/isPasswordStrong.js +2 -5
- package/utils/isPast.js +2 -5
- package/utils/isPhone.js +2 -5
- package/utils/isRequired.js +2 -7
- package/utils/isSafari.js +2 -4
- package/utils/isToday.js +4 -5
- package/utils/isURL.js +7 -7
- package/utils/kebabCase.js +2 -5
- package/utils/keyBy.js +2 -5
- package/utils/lazyLoadComponent.js +3 -3
- package/utils/lockBodyScroll.js +2 -2
- package/utils/logError.js +4 -8
- package/utils/logInfo.js +5 -15
- package/utils/logWarn.js +5 -15
- package/utils/maskEmail.js +5 -6
- package/utils/maskPhone.js +6 -7
- package/utils/maxLength.js +2 -5
- package/utils/measureElement.js +5 -6
- package/utils/measurePerformance.js +8 -14
- package/utils/memoize.js +8 -9
- package/utils/mergeDeep.js +6 -10
- package/utils/minLength.js +2 -5
- package/utils/multiSort.js +6 -10
- package/utils/noop.js +2 -2
- package/utils/omit.js +4 -4
- package/utils/once.js +4 -11
- package/utils/openInNewTab.js +3 -3
- package/utils/paginate.js +8 -10
- package/utils/parallel.js +2 -2
- package/utils/percentage.js +4 -8
- package/utils/permissionGuard.js +2 -7
- package/utils/pick.js +2 -2
- package/utils/pipe.js +2 -2
- package/utils/rafThrottle.js +7 -9
- package/utils/randomBetween.js +2 -2
- package/utils/randomInt.js +3 -5
- package/utils/randomValue.js +2 -4
- package/utils/redirectTo.js +3 -3
- package/utils/removeExtraSpaces.js +2 -5
- package/utils/removeLocalStorage.js +3 -3
- package/utils/removeQueryParam.js +4 -5
- package/utils/removeToken.js +2 -2
- package/utils/requestIdleTask.js +3 -7
- package/utils/retry.js +8 -9
- package/utils/roundTo.js +5 -5
- package/utils/safeAsync.js +5 -6
- package/utils/safeJSONParse.js +5 -5
- package/utils/safeJSONStringify.js +4 -4
- package/utils/scrollToElement.js +4 -7
- package/utils/scrollToTop.js +3 -6
- package/utils/sequential.js +6 -7
- package/utils/setLocalStorage.js +3 -3
- package/utils/setQueryParam.js +4 -5
- package/utils/setSessionStorage.js +3 -3
- package/utils/setToken.js +2 -2
- package/utils/singleton.js +4 -7
- package/utils/sleep.js +2 -2
- package/utils/slugify.js +2 -5
- package/utils/smoothScroll.js +10 -15
- package/utils/snakeCase.js +2 -5
- package/utils/sortBy.js +4 -5
- package/utils/throttle.js +6 -9
- package/utils/timeAgo.js +12 -18
- package/utils/titleCase.js +2 -5
- package/utils/toggleFullscreen.js +4 -8
- package/utils/trackEvent.js +5 -14
- package/utils/trackPageView.js +7 -12
- package/utils/trapFocus.js +12 -26
- package/utils/truncate.js +2 -5
- package/utils/uniqueBy.js +6 -8
- package/utils/unlockBodyScroll.js +2 -2
- package/utils/waitForTransitionEnd.js +5 -7
- package/utils/withTimeout.js +6 -4
|
@@ -1,449 +1,120 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const react = require("react");
|
|
5
|
-
const PropTypes = require("prop-types");
|
|
6
|
-
const grey = require("../../colors/grey.cjs");
|
|
7
|
-
const MenuItem = require("../MenuItem/MenuItem.cjs");
|
|
8
|
-
const colorMap = require("../../colors/colorMap.cjs");
|
|
9
|
-
const blue = require("../../colors/blue.cjs");
|
|
10
|
-
const Spinner = require("../Spinner/Spinner.cjs");
|
|
11
|
-
const styled = require("styled-components");
|
|
12
|
-
const P = require("../Typography/P/P.cjs");
|
|
13
|
-
const ChevronDown = require("../Icons/ChevronDown.cjs");
|
|
14
|
-
const Search = require("../Icons/Search.cjs");
|
|
15
|
-
const constants = require("./constants.cjs");
|
|
16
|
-
const white = require("../../colors/white.cjs");
|
|
17
|
-
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
18
|
-
const PropTypes__default = /* @__PURE__ */ _interopDefault(PropTypes);
|
|
19
|
-
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
20
|
-
const rotate = /*@__PURE__*/styled.keyframes`
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),o=require("react"),fe=require("prop-types"),p=require("../../colors/grey.cjs"),pe=require("../MenuItem/MenuItem.cjs"),me=require("../../colors/colorMap.cjs"),he=require("../../colors/blue.cjs"),H=require("../Spinner/Spinner.cjs"),h=require("styled-components"),be=require("../Typography/P/P.cjs"),ge=require("../Icons/ChevronDown.cjs"),xe=require("../Icons/Search.cjs"),we=require("./constants.cjs"),K=require("../../colors/white.cjs"),U=t=>t&&t.__esModule?t:{default:t},n=U(fe),c=U(h),ve=h.keyframes`
|
|
21
2
|
from {
|
|
22
3
|
transform: rotate(0deg);
|
|
23
4
|
}
|
|
24
5
|
to {
|
|
25
6
|
transform: rotate(180deg);
|
|
26
7
|
}
|
|
27
|
-
|
|
28
|
-
const reverse = /*@__PURE__*/styled.keyframes`
|
|
8
|
+
`,ye=h.keyframes`
|
|
29
9
|
from {
|
|
30
10
|
transform: rotate(180deg);
|
|
31
11
|
}
|
|
32
12
|
to {
|
|
33
13
|
transform: rotate(0deg);
|
|
34
14
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
max-width: ${({
|
|
38
|
-
$width
|
|
39
|
-
}) => $width};
|
|
15
|
+
`,$e=c.default.div`
|
|
16
|
+
max-width: ${({$width:t})=>t};
|
|
40
17
|
position: relative;
|
|
41
18
|
outline: none;
|
|
42
19
|
|
|
43
|
-
${({
|
|
44
|
-
$isLoading
|
|
45
|
-
}) => $isLoading && /*@__PURE__*/styled.css`
|
|
20
|
+
${({$isLoading:t})=>t&&h.css`
|
|
46
21
|
pointer-events: none;
|
|
47
22
|
opacity: 0.8;
|
|
48
23
|
`}
|
|
49
24
|
|
|
50
|
-
${({
|
|
51
|
-
$isDisabled
|
|
52
|
-
}) => $isDisabled && /*@__PURE__*/styled.css`
|
|
25
|
+
${({$isDisabled:t})=>t&&h.css`
|
|
53
26
|
pointer-events: none;
|
|
54
27
|
opacity: 0.7;
|
|
55
28
|
`}
|
|
56
|
-
|
|
57
|
-
const Box = styled__default.default.div`
|
|
29
|
+
`,Se=c.default.div`
|
|
58
30
|
height: 3.2rem;
|
|
59
|
-
width: ${({
|
|
60
|
-
$width
|
|
61
|
-
}) => $width};
|
|
31
|
+
width: ${({$width:t})=>t};
|
|
62
32
|
border-radius: 0.96rem;
|
|
63
|
-
border: ${({
|
|
64
|
-
$isOpen,
|
|
65
|
-
$isFocused,
|
|
66
|
-
$border
|
|
67
|
-
}) => $isOpen || $isFocused ? `2px solid ${$border}` : `1px solid ${constants.DEFAULT_BORDER}`};
|
|
33
|
+
border: ${({$isOpen:t,$isFocused:b,$border:l})=>t||b?`2px solid ${l}`:`1px solid ${we.DEFAULT_BORDER}`};
|
|
68
34
|
padding: 0.64rem 0.96rem 0.64rem;
|
|
69
35
|
display: flex;
|
|
70
36
|
align-items: center;
|
|
71
37
|
justify-content: space-between;
|
|
72
38
|
cursor: pointer;
|
|
73
|
-
|
|
74
|
-
const PWrapper = styled__default.default(P.default)`
|
|
39
|
+
`,ke=c.default(be.default)`
|
|
75
40
|
overflow: hidden;
|
|
76
41
|
white-space: nowrap;
|
|
77
42
|
text-overflow: ellipsis;
|
|
78
|
-
max-width: calc(${({
|
|
79
|
-
$width
|
|
80
|
-
}) => $width} - 3.2rem);
|
|
43
|
+
max-width: calc(${({$width:t})=>t} - 3.2rem);
|
|
81
44
|
pointer-events: none;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
$isOpen
|
|
89
|
-
}) => $isOpen ? 180 : 0}deg);
|
|
90
|
-
`;
|
|
91
|
-
const OptionWrapper = styled__default.default.div`
|
|
92
|
-
border: 1px solid ${grey.default.m700};
|
|
93
|
-
width: calc(${({
|
|
94
|
-
$width
|
|
95
|
-
}) => $width} + 1.6rem);
|
|
45
|
+
`,Ee=c.default(ge.default)`
|
|
46
|
+
animation: ${({$isOpen:t})=>t?ve:ye} 0.15s linear;
|
|
47
|
+
transform: rotate(${({$isOpen:t})=>t?180:0}deg);
|
|
48
|
+
`,Ie=c.default.div`
|
|
49
|
+
border: 1px solid ${p.default.m700};
|
|
50
|
+
width: calc(${({$width:t})=>t} + 1.6rem);
|
|
96
51
|
/* Remove overflow: auto from here */
|
|
97
52
|
display: flex;
|
|
98
53
|
flex-direction: column;
|
|
99
54
|
position: absolute;
|
|
100
55
|
z-index: 1000;
|
|
101
|
-
background-color: ${
|
|
56
|
+
background-color: ${K.default};
|
|
102
57
|
left: 0.24rem;
|
|
103
58
|
max-height: 0;
|
|
104
59
|
transition: max-height 0.15s ease-out;
|
|
105
60
|
opacity: 0;
|
|
106
61
|
overflow: hidden; /* Keep this hidden so the collapse works */
|
|
107
62
|
|
|
108
|
-
${({
|
|
109
|
-
|
|
110
|
-
}) => $isOpen && /*@__PURE__*/styled.css`
|
|
111
|
-
max-height: ${({
|
|
112
|
-
$height
|
|
113
|
-
}) => $height};
|
|
63
|
+
${({$isOpen:t})=>t&&h.css`
|
|
64
|
+
max-height: ${({$height:b})=>b};
|
|
114
65
|
opacity: 1;
|
|
115
66
|
`};
|
|
116
67
|
|
|
117
|
-
${({
|
|
118
|
-
$top
|
|
119
|
-
}) => $top ? /*@__PURE__*/styled.css`
|
|
68
|
+
${({$top:t})=>t?h.css`
|
|
120
69
|
bottom: 100%;
|
|
121
70
|
flex-direction: column-reverse; /* Search at bottom if menu opens upward */
|
|
122
71
|
border-top-right-radius: 0.96rem;
|
|
123
72
|
border-top-left-radius: 0.96rem;
|
|
124
73
|
margin-bottom: 0.16rem;
|
|
125
|
-
|
|
74
|
+
`:h.css`
|
|
126
75
|
top: 100%;
|
|
127
76
|
border-bottom-right-radius: 0.96rem;
|
|
128
77
|
border-bottom-left-radius: 0.96rem;
|
|
129
78
|
margin-top: 0.16rem;
|
|
130
79
|
`}
|
|
131
|
-
|
|
132
|
-
const OptionsList = styled__default.default.div`
|
|
80
|
+
`,Ce=c.default.div`
|
|
133
81
|
overflow-y: auto;
|
|
134
82
|
flex: 1;
|
|
135
|
-
|
|
136
|
-
const SpinnerWrapper = styled__default.default.div`
|
|
83
|
+
`,je=c.default.div`
|
|
137
84
|
position: absolute;
|
|
138
85
|
top: 1.28rem;
|
|
139
86
|
right: 1.92rem;
|
|
140
|
-
|
|
141
|
-
const SearchContainer = styled__default.default.div`
|
|
87
|
+
`,Oe=c.default.div`
|
|
142
88
|
position: relative;
|
|
143
89
|
display: flex;
|
|
144
90
|
align-items: center;
|
|
145
|
-
border-bottom: 1px solid ${
|
|
146
|
-
background: ${
|
|
91
|
+
border-bottom: 1px solid ${p.default.m300};
|
|
92
|
+
background: ${K.default};
|
|
147
93
|
|
|
148
94
|
&:focus-within {
|
|
149
|
-
border-bottom-color: ${
|
|
95
|
+
border-bottom-color: ${p.default.m500};
|
|
150
96
|
}
|
|
151
|
-
|
|
152
|
-
const SearchInput = styled__default.default.input`
|
|
97
|
+
`,qe=c.default.input`
|
|
153
98
|
width: 100%;
|
|
154
99
|
box-sizing: border-box;
|
|
155
100
|
border: none;
|
|
156
101
|
/* Add left padding to make room for the icon */
|
|
157
102
|
padding: 0.8rem 1.2rem 0.8rem 0;
|
|
158
103
|
font-size: 1.92rem;
|
|
159
|
-
color: ${
|
|
104
|
+
color: ${p.default.m700};
|
|
160
105
|
background: transparent;
|
|
161
106
|
outline: none;
|
|
162
107
|
|
|
163
108
|
&::placeholder {
|
|
164
|
-
color: ${
|
|
109
|
+
color: ${p.default.m400};
|
|
165
110
|
}
|
|
166
|
-
|
|
167
|
-
const SearchIcon = styled__default.default(Search.default)`
|
|
111
|
+
`,Re=c.default(xe.default)`
|
|
168
112
|
margin: 0 1.28rem;
|
|
169
|
-
|
|
170
|
-
const LoadMoreSentinel = styled__default.default.div`
|
|
113
|
+
`,De=c.default.div`
|
|
171
114
|
display: flex;
|
|
172
115
|
justify-content: center;
|
|
173
116
|
align-items: center;
|
|
174
117
|
padding: 1.6rem 0;
|
|
175
118
|
min-height: 1.6rem;
|
|
176
119
|
width: 100%;
|
|
177
|
-
|
|
178
|
-
const getPixelValue = (value) => {
|
|
179
|
-
if (typeof value !== "string") return value;
|
|
180
|
-
if (value.endsWith("px")) return parseFloat(value);
|
|
181
|
-
if (value.endsWith("rem")) {
|
|
182
|
-
const remValue = parseFloat(value);
|
|
183
|
-
const rootFontSize = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
184
|
-
return remValue * rootFontSize;
|
|
185
|
-
}
|
|
186
|
-
return parseFloat(value);
|
|
187
|
-
};
|
|
188
|
-
const Dropdown = ({
|
|
189
|
-
options,
|
|
190
|
-
onChange,
|
|
191
|
-
value,
|
|
192
|
-
width = "32rem",
|
|
193
|
-
menuHeight = "32rem",
|
|
194
|
-
placeholder,
|
|
195
|
-
theme = "blue",
|
|
196
|
-
isLoading,
|
|
197
|
-
isDisabled,
|
|
198
|
-
loaderColor,
|
|
199
|
-
searchable = false,
|
|
200
|
-
onLoadMore,
|
|
201
|
-
hasMore = false,
|
|
202
|
-
isLoadingMore = false,
|
|
203
|
-
searchPh = "Search...",
|
|
204
|
-
...rest
|
|
205
|
-
}) => {
|
|
206
|
-
var _a, _b;
|
|
207
|
-
const [isOpen, setOpen] = react.useState(false);
|
|
208
|
-
const [isFocused, setIsFocused] = react.useState(false);
|
|
209
|
-
const [position, setPosition] = react.useState("bottom");
|
|
210
|
-
const [searchQuery, setSearchQuery] = react.useState("");
|
|
211
|
-
const [activeIndex, setActiveIndex] = react.useState(-1);
|
|
212
|
-
const listboxId = react.useId();
|
|
213
|
-
const containerRef = react.useRef(null);
|
|
214
|
-
const menuRef = react.useRef(null);
|
|
215
|
-
const searchInputRef = react.useRef(null);
|
|
216
|
-
const sentinelRef = react.useRef(null);
|
|
217
|
-
const isInitialOpen = react.useRef(true);
|
|
218
|
-
const toggle = () => !isLoading && !isDisabled && setOpen((prev) => !prev);
|
|
219
|
-
const handleChange = (val) => {
|
|
220
|
-
if (val !== value) {
|
|
221
|
-
onChange(val);
|
|
222
|
-
setOpen(false);
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
const filteredOptions = react.useMemo(() => {
|
|
226
|
-
if (!searchable || !searchQuery.trim()) return options;
|
|
227
|
-
const q = searchQuery.toLowerCase();
|
|
228
|
-
return options.filter(({
|
|
229
|
-
label
|
|
230
|
-
}) => label.toLowerCase().includes(q));
|
|
231
|
-
}, [options, searchQuery, searchable]);
|
|
232
|
-
react.useEffect(() => {
|
|
233
|
-
if (isOpen) {
|
|
234
|
-
const selectedIndex = filteredOptions.findIndex((opt) => opt.value === value);
|
|
235
|
-
if (selectedIndex !== -1 && !filteredOptions[selectedIndex].disabled) {
|
|
236
|
-
setActiveIndex(selectedIndex);
|
|
237
|
-
} else {
|
|
238
|
-
const firstEnabled = filteredOptions.findIndex((opt) => !opt.disabled);
|
|
239
|
-
setActiveIndex(firstEnabled);
|
|
240
|
-
}
|
|
241
|
-
} else {
|
|
242
|
-
setSearchQuery("");
|
|
243
|
-
setActiveIndex(-1);
|
|
244
|
-
}
|
|
245
|
-
}, [isOpen, searchQuery, filteredOptions, value]);
|
|
246
|
-
react.useEffect(() => {
|
|
247
|
-
if (isOpen && activeIndex !== -1 && menuRef.current) {
|
|
248
|
-
const highlightedElement = menuRef.current.children[activeIndex];
|
|
249
|
-
if (highlightedElement) {
|
|
250
|
-
highlightedElement.scrollIntoView({
|
|
251
|
-
block: "nearest",
|
|
252
|
-
behavior: "auto"
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}, [activeIndex, isOpen]);
|
|
257
|
-
react.useEffect(() => {
|
|
258
|
-
if (isOpen && searchable && searchInputRef.current) {
|
|
259
|
-
searchInputRef.current.focus();
|
|
260
|
-
}
|
|
261
|
-
}, [isOpen, searchable]);
|
|
262
|
-
react.useEffect(() => {
|
|
263
|
-
if (!isOpen) isInitialOpen.current = true;
|
|
264
|
-
}, [isOpen]);
|
|
265
|
-
react.useEffect(() => {
|
|
266
|
-
const handleOutsideClick = (event) => {
|
|
267
|
-
if (containerRef.current && !containerRef.current.contains(event.target)) {
|
|
268
|
-
setOpen(false);
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
document.addEventListener("mousedown", handleOutsideClick);
|
|
272
|
-
return () => document.removeEventListener("mousedown", handleOutsideClick);
|
|
273
|
-
}, []);
|
|
274
|
-
react.useLayoutEffect(() => {
|
|
275
|
-
if (isOpen && menuRef.current && containerRef.current) {
|
|
276
|
-
const containerRect = containerRef.current.getBoundingClientRect();
|
|
277
|
-
const viewportHeight = window.innerHeight;
|
|
278
|
-
const parsedMenuHeight = getPixelValue(menuHeight);
|
|
279
|
-
const spaceBelow = viewportHeight - containerRect.bottom;
|
|
280
|
-
const buffer = 8;
|
|
281
|
-
setPosition(spaceBelow < parsedMenuHeight + buffer && containerRect.top > spaceBelow ? "top" : "bottom");
|
|
282
|
-
}
|
|
283
|
-
}, [isOpen, menuHeight]);
|
|
284
|
-
const getNextEnabledIndex = (currentIndex) => {
|
|
285
|
-
let next = currentIndex + 1;
|
|
286
|
-
while (next < filteredOptions.length) {
|
|
287
|
-
if (!filteredOptions[next].disabled) return next;
|
|
288
|
-
next++;
|
|
289
|
-
}
|
|
290
|
-
return currentIndex;
|
|
291
|
-
};
|
|
292
|
-
const getPrevEnabledIndex = (currentIndex) => {
|
|
293
|
-
let prev = currentIndex - 1;
|
|
294
|
-
while (prev >= 0) {
|
|
295
|
-
if (!filteredOptions[prev].disabled) return prev;
|
|
296
|
-
prev--;
|
|
297
|
-
}
|
|
298
|
-
return currentIndex;
|
|
299
|
-
};
|
|
300
|
-
const handleKeyDown = (e) => {
|
|
301
|
-
if (isLoading || isDisabled) return;
|
|
302
|
-
if (!isOpen) {
|
|
303
|
-
if (e.key === " " || e.key === "Enter" || e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
304
|
-
e.preventDefault();
|
|
305
|
-
setOpen(true);
|
|
306
|
-
}
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
switch (e.key) {
|
|
310
|
-
case "ArrowDown":
|
|
311
|
-
e.preventDefault();
|
|
312
|
-
const nextIndex = getNextEnabledIndex(activeIndex);
|
|
313
|
-
if (nextIndex === activeIndex && hasMore && !isLoadingMore) {
|
|
314
|
-
onLoadMore == null ? void 0 : onLoadMore();
|
|
315
|
-
}
|
|
316
|
-
setActiveIndex(nextIndex);
|
|
317
|
-
break;
|
|
318
|
-
case "ArrowUp":
|
|
319
|
-
e.preventDefault();
|
|
320
|
-
setActiveIndex((prev) => getPrevEnabledIndex(prev));
|
|
321
|
-
break;
|
|
322
|
-
case "Enter":
|
|
323
|
-
e.preventDefault();
|
|
324
|
-
const selectedOption = filteredOptions[activeIndex];
|
|
325
|
-
if (selectedOption && !selectedOption.disabled) {
|
|
326
|
-
handleChange(selectedOption.value);
|
|
327
|
-
}
|
|
328
|
-
break;
|
|
329
|
-
case "Escape":
|
|
330
|
-
setOpen(false);
|
|
331
|
-
break;
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
const handleLoadMore = react.useCallback(() => {
|
|
335
|
-
if (hasMore && !isLoadingMore && onLoadMore) {
|
|
336
|
-
onLoadMore();
|
|
337
|
-
}
|
|
338
|
-
}, [hasMore, isLoadingMore, onLoadMore]);
|
|
339
|
-
react.useEffect(() => {
|
|
340
|
-
const sentinel = sentinelRef.current;
|
|
341
|
-
if (!sentinel || !onLoadMore || !hasMore) return;
|
|
342
|
-
const observer = new IntersectionObserver(([entry]) => {
|
|
343
|
-
if (entry.isIntersecting && !isLoadingMore) {
|
|
344
|
-
handleLoadMore();
|
|
345
|
-
}
|
|
346
|
-
}, {
|
|
347
|
-
root: menuRef.current,
|
|
348
|
-
// Observe relative to the scrollable container
|
|
349
|
-
threshold: 0.1,
|
|
350
|
-
rootMargin: "20px"
|
|
351
|
-
// Start loading 20px before the user even hits the bottom
|
|
352
|
-
});
|
|
353
|
-
observer.observe(sentinel);
|
|
354
|
-
return () => observer.disconnect();
|
|
355
|
-
}, [handleLoadMore, onLoadMore, hasMore, isLoadingMore]);
|
|
356
|
-
const {
|
|
357
|
-
m50: hoverColor,
|
|
358
|
-
m100: activeColor,
|
|
359
|
-
m200: selectedColor,
|
|
360
|
-
m500: border
|
|
361
|
-
} = (_a = colorMap.default[theme]) != null ? _a : blue.blue;
|
|
362
|
-
const mouseHighlight = (disabled, index) => () => !disabled && setActiveIndex(index);
|
|
363
|
-
const getOptionId = (index) => `${listboxId}-opt-${index}`;
|
|
364
|
-
const renderOption = ({
|
|
365
|
-
value: val,
|
|
366
|
-
label,
|
|
367
|
-
disabled
|
|
368
|
-
}, index) => /* @__PURE__ */ react.createElement(MenuItem.default, { ...{
|
|
369
|
-
value: val,
|
|
370
|
-
label,
|
|
371
|
-
isDisabled: disabled
|
|
372
|
-
}, onSelect: handleChange, onMouseEnter: mouseHighlight(disabled, index), isSelected: val === value, isHighlighted: index === activeIndex, key: val, id: getOptionId(index), width, ...{
|
|
373
|
-
selectedColor,
|
|
374
|
-
hoverColor,
|
|
375
|
-
activeColor
|
|
376
|
-
} });
|
|
377
|
-
const changeFocus = (focus) => () => {
|
|
378
|
-
setIsFocused(focus);
|
|
379
|
-
};
|
|
380
|
-
const handleBlur = (e) => {
|
|
381
|
-
var _a2;
|
|
382
|
-
setIsFocused(false);
|
|
383
|
-
if (!((_a2 = containerRef.current) == null ? void 0 : _a2.contains(e.relatedTarget))) {
|
|
384
|
-
setOpen(false);
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
const handleSearch = (e) => {
|
|
388
|
-
setSearchQuery(e.target.value);
|
|
389
|
-
};
|
|
390
|
-
const onSearchClick = (e) => {
|
|
391
|
-
e.stopPropagation();
|
|
392
|
-
};
|
|
393
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(DropdownWrapper, { ref: containerRef, $width: width, ...rest, tabIndex: isDisabled || isLoading ? -1 : 0, onKeyDown: handleKeyDown, $isLoading: isLoading, $isDisabled: isDisabled, role: "combobox", "aria-expanded": isOpen, "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": isDisabled || void 0, "aria-activedescendant": activeIndex !== -1 ? getOptionId(activeIndex) : void 0, onFocus: changeFocus(true), onBlur: handleBlur, children: [
|
|
394
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Box, { $width: width, onClick: toggle, $isOpen: isOpen, $border: border, $isFocused: isFocused && !isOpen, children: [
|
|
395
|
-
/* @__PURE__ */ jsxRuntime.jsx(PWrapper, { $width: width, color: !!value ? grey.default.m700 : grey.default.m500, size: "1.92rem", children: value ? (_b = options.find(({
|
|
396
|
-
value: opt
|
|
397
|
-
}) => value === opt)) == null ? void 0 : _b.label : placeholder }),
|
|
398
|
-
/* @__PURE__ */ jsxRuntime.jsx(ChevronDownWrapper, { color: grey.default.m500, size: 22, $isOpen: isOpen, "aria-hidden": true })
|
|
399
|
-
] }),
|
|
400
|
-
/* @__PURE__ */ jsxRuntime.jsxs(OptionWrapper, { $isOpen: isOpen, $width: width, $height: menuHeight, $top: position === "top", children: [
|
|
401
|
-
searchable && /* @__PURE__ */ jsxRuntime.jsxs(SearchContainer, { onClick: onSearchClick, children: [
|
|
402
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon, { size: 20, color: grey.default.m600, "aria-hidden": true }),
|
|
403
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchInput, { ref: searchInputRef, value: searchQuery, onChange: handleSearch, placeholder: searchPh, "aria-label": searchPh, "aria-controls": listboxId, "aria-autocomplete": "list", "aria-expanded": isOpen, role: "combobox", tabIndex: isOpen ? 0 : -1 })
|
|
404
|
-
] }),
|
|
405
|
-
/* @__PURE__ */ jsxRuntime.jsxs(OptionsList, { ref: menuRef, role: "listbox", id: listboxId, tabIndex: -1, children: [
|
|
406
|
-
filteredOptions.map(renderOption),
|
|
407
|
-
onLoadMore && /* @__PURE__ */ jsxRuntime.jsx(LoadMoreSentinel, { ref: sentinelRef, children: isLoadingMore && /* @__PURE__ */ jsxRuntime.jsx(Spinner.default, { size: "small", color: loaderColor }) })
|
|
408
|
-
] })
|
|
409
|
-
] }),
|
|
410
|
-
isLoading && /* @__PURE__ */ jsxRuntime.jsx(SpinnerWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(Spinner.default, { size: "small", color: loaderColor }) })
|
|
411
|
-
] });
|
|
412
|
-
};
|
|
413
|
-
Dropdown.propTypes = {
|
|
414
|
-
/** Array of option objects: `{ value, label, disabled? }` */
|
|
415
|
-
options: /* @__PURE__ */ PropTypes__default.default.arrayOf(/* @__PURE__ */ PropTypes__default.default.shape({
|
|
416
|
-
value: PropTypes__default.default.any,
|
|
417
|
-
label: PropTypes__default.default.string,
|
|
418
|
-
disabled: PropTypes__default.default.bool
|
|
419
|
-
})),
|
|
420
|
-
/** Currently selected value (controlled) */
|
|
421
|
-
value: PropTypes__default.default.any,
|
|
422
|
-
/** Called with the selected value when an option is picked */
|
|
423
|
-
onChange: PropTypes__default.default.func,
|
|
424
|
-
/** CSS width of the dropdown trigger. Defaults to `'32rem'` */
|
|
425
|
-
width: PropTypes__default.default.string,
|
|
426
|
-
/** Maximum CSS height of the dropdown menu. Defaults to `'32rem'` */
|
|
427
|
-
menuHeight: PropTypes__default.default.string,
|
|
428
|
-
/** Placeholder text shown when no value is selected */
|
|
429
|
-
placeholder: PropTypes__default.default.string,
|
|
430
|
-
/** Color theme key. Defaults to `'blue'` */
|
|
431
|
-
theme: PropTypes__default.default.string,
|
|
432
|
-
/** Shows a spinner inside the trigger and disables interaction */
|
|
433
|
-
isLoading: PropTypes__default.default.bool,
|
|
434
|
-
/** Disables the dropdown */
|
|
435
|
-
isDisabled: PropTypes__default.default.bool,
|
|
436
|
-
/** Color key for the loading spinner */
|
|
437
|
-
loaderColor: PropTypes__default.default.string,
|
|
438
|
-
/** Adds a search input inside the dropdown menu */
|
|
439
|
-
searchable: PropTypes__default.default.bool,
|
|
440
|
-
/** Placeholder text for the search input. Defaults to `'Search...'` */
|
|
441
|
-
searchPh: PropTypes__default.default.string,
|
|
442
|
-
/** Called when the user scrolls to the bottom of the list (infinite scroll) */
|
|
443
|
-
onLoadMore: PropTypes__default.default.func,
|
|
444
|
-
/** Whether more options are available to load */
|
|
445
|
-
hasMore: PropTypes__default.default.bool,
|
|
446
|
-
/** Shows a spinner at the bottom while loading more options */
|
|
447
|
-
isLoadingMore: PropTypes__default.default.bool
|
|
448
|
-
};
|
|
449
|
-
exports.default = Dropdown;
|
|
120
|
+
`,Fe=t=>{if(typeof t!="string")return t;if(t.endsWith("px"))return parseFloat(t);if(t.endsWith("rem")){const b=parseFloat(t),l=parseFloat(getComputedStyle(document.documentElement).fontSize);return b*l}return parseFloat(t)},V=({options:t,onChange:b,value:l,width:y="32rem",menuHeight:O="32rem",placeholder:Q,theme:N="blue",isLoading:$,isDisabled:S,loaderColor:R,searchable:k=!1,onLoadMore:d,hasMore:E=!1,isLoadingMore:g=!1,searchPh:D="Search...",...G})=>{var B,T;const[s,x]=o.useState(!1),[J,F]=o.useState(!1),[X,Y]=o.useState("bottom"),[I,z]=o.useState(""),[u,w]=o.useState(-1),j=o.useId(),v=o.useRef(null),C=o.useRef(null),q=o.useRef(null),_=o.useRef(null),Z=o.useRef(!0),M=()=>!$&&!S&&x(e=>!e),P=e=>{e!==l&&(b(e),x(!1))},f=o.useMemo(()=>{if(!k||!I.trim())return t;const e=I.toLowerCase();return t.filter(({label:r})=>r.toLowerCase().includes(e))},[t,I,k]);o.useEffect(()=>{if(s){const e=f.findIndex(r=>r.value===l);if(e!==-1&&!f[e].disabled)w(e);else{const r=f.findIndex(a=>!a.disabled);w(r)}}else z(""),w(-1)},[s,I,f,l]),o.useEffect(()=>{if(s&&u!==-1&&C.current){const e=C.current.children[u];e&&e.scrollIntoView({block:"nearest",behavior:"auto"})}},[u,s]),o.useEffect(()=>{s&&k&&q.current&&q.current.focus()},[s,k]),o.useEffect(()=>{s||(Z.current=!0)},[s]),o.useEffect(()=>{const e=r=>{v.current&&!v.current.contains(r.target)&&x(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),o.useLayoutEffect(()=>{if(s&&C.current&&v.current){const e=v.current.getBoundingClientRect(),r=window.innerHeight,a=Fe(O),m=r-e.bottom;Y(m<a+8&&e.top>m?"top":"bottom")}},[s,O]);const L=e=>{let r=e+1;for(;r<f.length;){if(!f[r].disabled)return r;r++}return e},ee=e=>{let r=e-1;for(;r>=0;){if(!f[r].disabled)return r;r--}return e},te=e=>{if(!($||S)){if(!s){(e.key===" "||e.key==="Enter"||e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),x(!0));return}switch(e.key){case"ArrowDown":e.preventDefault();const r=L(u);r===u&&E&&!g&&(d==null||d()),w(r);break;case"ArrowUp":e.preventDefault(),w(m=>ee(m));break;case"Enter":e.preventDefault();const a=f[u];a&&!a.disabled&&P(a.value);break;case"Escape":x(!1);break}}},A=o.useCallback(()=>{E&&!g&&d&&d()},[E,g,d]);o.useEffect(()=>{const e=_.current;if(!e||!d||!E)return;const r=new IntersectionObserver(([a])=>{a.isIntersecting&&!g&&A()},{root:C.current,threshold:.1,rootMargin:"20px"});return r.observe(e),()=>r.disconnect()},[A,d,E,g]);const{m50:re,m100:oe,m200:ne,m500:se}=(B=me.default[N])!=null?B:he.blue,ie=(e,r)=>()=>!e&&w(r),W=e=>`${j}-opt-${e}`,ae=({value:e,label:r,disabled:a},m)=>o.createElement(pe.default,{value:e,label:r,isDisabled:a,onSelect:P,onMouseEnter:ie(a,m),isSelected:e===l,isHighlighted:m===u,key:e,id:W(m),width:y,selectedColor:ne,hoverColor:re,activeColor:oe}),le=e=>()=>{F(e)},ce=e=>{var r;F(!1),(r=v.current)!=null&&r.contains(e.relatedTarget)||x(!1)},de=e=>{z(e.target.value)},ue=e=>{e.stopPropagation()};return i.jsxs($e,{ref:v,$width:y,...G,tabIndex:S||$?-1:0,onKeyDown:te,$isLoading:$,$isDisabled:S,role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-controls":j,"aria-disabled":S||void 0,"aria-activedescendant":u!==-1?W(u):void 0,onFocus:le(!0),onBlur:ce,children:[i.jsxs(Se,{$width:y,onClick:M,$isOpen:s,$border:se,$isFocused:J&&!s,children:[i.jsx(ke,{$width:y,color:l?p.default.m700:p.default.m500,size:"1.92rem",children:l?(T=t.find(({value:e})=>l===e))==null?void 0:T.label:Q}),i.jsx(Ee,{color:p.default.m500,size:22,$isOpen:s,"aria-hidden":!0})]}),i.jsxs(Ie,{$isOpen:s,$width:y,$height:O,$top:X==="top",children:[k&&i.jsxs(Oe,{onClick:ue,children:[i.jsx(Re,{size:20,color:p.default.m600,"aria-hidden":!0}),i.jsx(qe,{ref:q,value:I,onChange:de,placeholder:D,"aria-label":D,"aria-controls":j,"aria-autocomplete":"list","aria-expanded":s,role:"combobox",tabIndex:s?0:-1})]}),i.jsxs(Ce,{ref:C,role:"listbox",id:j,tabIndex:-1,children:[f.map(ae),d&&i.jsx(De,{ref:_,children:g&&i.jsx(H.default,{size:"small",color:R})})]})]}),$&&i.jsx(je,{children:i.jsx(H.default,{size:"small",color:R})})]})};V.propTypes={options:n.default.arrayOf(n.default.shape({value:n.default.any,label:n.default.string,disabled:n.default.bool})),value:n.default.any,onChange:n.default.func,width:n.default.string,menuHeight:n.default.string,placeholder:n.default.string,theme:n.default.string,isLoading:n.default.bool,isDisabled:n.default.bool,loaderColor:n.default.string,searchable:n.default.bool,searchPh:n.default.string,onLoadMore:n.default.func,hasMore:n.default.bool,isLoadingMore:n.default.bool};exports.default=V;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const grey = require("../../colors/grey.cjs");
|
|
4
|
-
const DEFAULT_BORDER = grey.default.m500;
|
|
5
|
-
exports.DEFAULT_BORDER = DEFAULT_BORDER;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../colors/grey.cjs"),t=e.default.m500;exports.DEFAULT_BORDER=t;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const Dropdown = require("./Dropdown.cjs");
|
|
4
|
-
exports.default = Dropdown.default;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Dropdown.cjs");exports.default=e.default;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const styled = require("styled-components");
|
|
5
|
-
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
6
|
-
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
7
|
-
const GlassWrapper = styled__default.default.div`
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react/jsx-runtime"),o=require("styled-components"),i=r=>r&&r.__esModule?r:{default:r},n=i(o),s=n.default.div`
|
|
8
2
|
width: 100%;
|
|
9
3
|
height: 100%;
|
|
10
|
-
border-radius: ${({
|
|
11
|
-
$borderRadius
|
|
12
|
-
}) => $borderRadius};
|
|
4
|
+
border-radius: ${({$borderRadius:r})=>r};
|
|
13
5
|
position: relative;
|
|
14
6
|
overflow: hidden;
|
|
15
7
|
box-sizing: border-box;
|
|
@@ -74,10 +66,4 @@ const GlassWrapper = styled__default.default.div`
|
|
|
74
66
|
pointer-events: none;
|
|
75
67
|
transform: translateZ(0);
|
|
76
68
|
}
|
|
77
|
-
|
|
78
|
-
const Glass = ({
|
|
79
|
-
border = "none",
|
|
80
|
-
borderRadius = 0,
|
|
81
|
-
...rest
|
|
82
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(GlassWrapper, { $border: border, $borderRadius: borderRadius, ...rest });
|
|
83
|
-
exports.default = Glass;
|
|
69
|
+
`,d=({border:r="none",borderRadius:e=0,...t})=>a.jsx(s,{$border:r,$borderRadius:e,...t});exports.default=d;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const Glass = require("./Glass.cjs");
|
|
4
|
-
exports.default = Glass.default;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Glass.cjs");exports.default=e.default;
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const Add = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
9
|
-
/* @__PURE__ */ jsxRuntime.jsx("title", {}),
|
|
10
|
-
/* @__PURE__ */ jsxRuntime.jsx("g", { children: /* @__PURE__ */ jsxRuntime.jsx("g", { "data-name": "add", children: /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
|
|
11
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { fill: "none", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", x1: "12", x2: "12", y1: "19", y2: "5" }),
|
|
12
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { fill: "none", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", x1: "5", x2: "19", y1: "12", y2: "12" })
|
|
13
|
-
] }) }) })
|
|
14
|
-
] });
|
|
15
|
-
exports.default = Add;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=({size:n=24,color:t="currentColor",...i})=>e.jsxs("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[e.jsx("title",{}),e.jsx("g",{children:e.jsx("g",{"data-name":"add",children:e.jsxs("g",{children:[e.jsx("line",{fill:"none",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x1:"12",x2:"12",y1:"19",y2:"5"}),e.jsx("line",{fill:"none",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x1:"5",x2:"19",y1:"12",y2:"12"})]})})})]});exports.default=o;
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const AddCircle = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
9
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8V11H16C16.5523 11 17 11.4477 17 12C17 12.5523 16.5523 13 16 13H13V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V13H8C7.44771 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11H11V8Z", fill: color }),
|
|
10
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00683 12C3.00683 16.9668 7.03321 20.9932 12 20.9932C16.9668 20.9932 20.9932 16.9668 20.9932 12C20.9932 7.03321 16.9668 3.00683 12 3.00683C7.03321 3.00683 3.00683 7.03321 3.00683 12Z", fill: color })
|
|
11
|
-
] });
|
|
12
|
-
exports.default = AddCircle;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),i=({size:l=24,color:t="currentColor",...C})=>e.jsxs("svg",{width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,children:[e.jsx("path",{d:"M11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8V11H16C16.5523 11 17 11.4477 17 12C17 12.5523 16.5523 13 16 13H13V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V13H8C7.44771 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11H11V8Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00683 12C3.00683 16.9668 7.03321 20.9932 12 20.9932C16.9668 20.9932 20.9932 16.9668 20.9932 12C20.9932 7.03321 16.9668 3.00683 12 3.00683C7.03321 3.00683 3.00683 7.03321 3.00683 12Z",fill:t})]});exports.default=i;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const AddCircleFilled = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12.75 9C12.75 8.58579 12.4142 8.25 12 8.25C11.5858 8.25 11.25 8.58579 11.25 9L11.25 11.25H9C8.58579 11.25 8.25 11.5858 8.25 12C8.25 12.4142 8.58579 12.75 9 12.75H11.25V15C11.25 15.4142 11.5858 15.75 12 15.75C12.4142 15.75 12.75 15.4142 12.75 15L12.75 12.75H15C15.4142 12.75 15.75 12.4142 15.75 12C15.75 11.5858 15.4142 11.25 15 11.25H12.75V9Z", fill: color }) });
|
|
9
|
-
exports.default = AddCircleFilled;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),d=({size:e=24,color:t="currentColor",...i})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12.75 9C12.75 8.58579 12.4142 8.25 12 8.25C11.5858 8.25 11.25 8.58579 11.25 9L11.25 11.25H9C8.58579 11.25 8.25 11.5858 8.25 12C8.25 12.4142 8.58579 12.75 9 12.75H11.25V15C11.25 15.4142 11.5858 15.75 12 15.75C12.4142 15.75 12.75 15.4142 12.75 15L12.75 12.75H15C15.4142 12.75 15.75 12.4142 15.75 12C15.75 11.5858 15.4142 11.25 15 11.25H12.75V9Z",fill:t})});exports.default=d;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const ArrowDown = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3C12.5523 3 13 3.44772 13 4V17.5858L18.2929 12.2929C18.6834 11.9024 19.3166 11.9024 19.7071 12.2929C20.0976 12.6834 20.0976 13.3166 19.7071 13.7071L12.7071 20.7071C12.3166 21.0976 11.6834 21.0976 11.2929 20.7071L4.29289 13.7071C3.90237 13.3166 3.90237 12.6834 4.29289 12.2929C4.68342 11.9024 5.31658 11.9024 5.70711 12.2929L11 17.5858V4C11 3.44772 11.4477 3 12 3Z", fill: color }) });
|
|
9
|
-
exports.default = ArrowDown;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),r=({size:e=24,color:t="currentColor",...o})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C12.5523 3 13 3.44772 13 4V17.5858L18.2929 12.2929C18.6834 11.9024 19.3166 11.9024 19.7071 12.2929C20.0976 12.6834 20.0976 13.3166 19.7071 13.7071L12.7071 20.7071C12.3166 21.0976 11.6834 21.0976 11.2929 20.7071L4.29289 13.7071C3.90237 13.3166 3.90237 12.6834 4.29289 12.2929C4.68342 11.9024 5.31658 11.9024 5.70711 12.2929L11 17.5858V4C11 3.44772 11.4477 3 12 3Z",fill:t})});exports.default=r;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const ArrowLeft = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12H19M5 12L11 6M5 12L11 18", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
9
|
-
exports.default = ArrowLeft;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),n=({size:e=24,color:o="currentColor",...r})=>t.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsx("path",{d:"M5 12H19M5 12L11 6M5 12L11 18",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});exports.default=n;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const ArrowRight = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12H19M19 12L13 6M19 12L13 18", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
9
|
-
exports.default = ArrowRight;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),i=({size:e=24,color:o="currentColor",...r})=>t.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsx("path",{d:"M5 12H19M19 12L13 6M19 12L13 18",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});exports.default=i;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const ArrowUp = ({
|
|
5
|
-
size = 24,
|
|
6
|
-
color = "currentColor",
|
|
7
|
-
...props
|
|
8
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3C12.2652 3 12.5196 3.10536 12.7071 3.29289L19.7071 10.2929C20.0976 10.6834 20.0976 11.3166 19.7071 11.7071C19.3166 12.0976 18.6834 12.0976 18.2929 11.7071L13 6.41421V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V6.41421L5.70711 11.7071C5.31658 12.0976 4.68342 12.0976 4.29289 11.7071C3.90237 11.3166 3.90237 10.6834 4.29289 10.2929L11.2929 3.29289C11.4804 3.10536 11.7348 3 12 3Z", fill: color }) });
|
|
9
|
-
exports.default = ArrowUp;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),r=({size:e=24,color:t="currentColor",...o})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C12.2652 3 12.5196 3.10536 12.7071 3.29289L19.7071 10.2929C20.0976 10.6834 20.0976 11.3166 19.7071 11.7071C19.3166 12.0976 18.6834 12.0976 18.2929 11.7071L13 6.41421V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V6.41421L5.70711 11.7071C5.31658 12.0976 4.68342 12.0976 4.29289 11.7071C3.90237 11.3166 3.90237 10.6834 4.29289 10.2929L11.2929 3.29289C11.4804 3.10536 11.7348 3 12 3Z",fill:t})});exports.default=r;
|