meticulous-ui 3.4.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -12
- package/components/components/Button/Button.jsx +0 -87
- package/components/components/Button/constants.js +0 -27
- package/components/components/Button/index.js +0 -3
- package/components/components/Button/styles.js +0 -73
- package/components/components/Carousel/Carousel.jsx +0 -311
- package/components/components/Carousel/index.js +0 -3
- package/components/components/Carousel/styles.js +0 -176
- package/components/components/Dropdown/Dropdown.jsx +0 -336
- package/components/components/Dropdown/constants.js +0 -3
- package/components/components/Dropdown/index.js +0 -3
- package/components/components/Dropdown/styles.js +0 -163
- package/components/components/Glass/Glass.jsx +0 -7
- package/components/components/Glass/index.js +0 -3
- package/components/components/Glass/styles.js +0 -71
- package/components/components/Icons/Add/Add.jsx +0 -44
- package/components/components/Icons/Add/index.js +0 -1
- package/components/components/Icons/AddCircle/AddCircle.jsx +0 -23
- package/components/components/Icons/AddCircle/index.js +0 -1
- package/components/components/Icons/AddCircleFilled/AddCircleFilled.jsx +0 -19
- package/components/components/Icons/AddCircleFilled/index.js +0 -1
- package/components/components/Icons/ArrowDown/ArrowDown.jsx +0 -19
- package/components/components/Icons/ArrowDown/index.js +0 -1
- package/components/components/Icons/ArrowLeft/ArrowLeft.jsx +0 -20
- package/components/components/Icons/ArrowLeft/index.js +0 -1
- package/components/components/Icons/ArrowRight/ArrowRight.jsx +0 -20
- package/components/components/Icons/ArrowRight/index.js +0 -1
- package/components/components/Icons/ArrowUp/ArrowUp.jsx +0 -19
- package/components/components/Icons/ArrowUp/index.js +0 -1
- package/components/components/Icons/BagFilled/BagFilled.jsx +0 -19
- package/components/components/Icons/BagFilled/index.js +0 -1
- package/components/components/Icons/BagOutline/BagOutline.jsx +0 -24
- package/components/components/Icons/BagOutline/index.js +0 -1
- package/components/components/Icons/BellFilled/BellFilled.jsx +0 -25
- package/components/components/Icons/BellFilled/index.js +0 -1
- package/components/components/Icons/BellOffFilled/BellOffFilled.jsx +0 -31
- package/components/components/Icons/BellOffFilled/index.js +0 -1
- package/components/components/Icons/BellOffOutline/BellOffOutline.jsx +0 -33
- package/components/components/Icons/BellOffOutline/index.js +0 -1
- package/components/components/Icons/BellOutline/BellOutline.jsx +0 -27
- package/components/components/Icons/BellOutline/index.js +0 -1
- package/components/components/Icons/BookmarkFilled/BookmarkFilled.jsx +0 -24
- package/components/components/Icons/BookmarkFilled/index.js +0 -1
- package/components/components/Icons/BookmarkOutline/BookmarkOutline.jsx +0 -19
- package/components/components/Icons/BookmarkOutline/index.js +0 -1
- package/components/components/Icons/BoxCoveredFilled/BoxCoveredFilled.jsx +0 -29
- package/components/components/Icons/BoxCoveredFilled/index.js +0 -1
- package/components/components/Icons/BoxCoveredOutline/BoxCoveredOutline.jsx +0 -25
- package/components/components/Icons/BoxCoveredOutline/index.js +0 -1
- package/components/components/Icons/BoxFilled/BoxFilled.jsx +0 -25
- package/components/components/Icons/BoxFilled/index.js +0 -1
- package/components/components/Icons/BoxOutline/BoxOutline.jsx +0 -25
- package/components/components/Icons/BoxOutline/index.js +0 -1
- package/components/components/Icons/CalendarDays/CalendarDays.jsx +0 -19
- package/components/components/Icons/CalendarDays/index.js +0 -1
- package/components/components/Icons/CalendarLinesPen/CalendarLinesPen.jsx +0 -20
- package/components/components/Icons/CalendarLinesPen/index.js +0 -1
- package/components/components/Icons/CartCheckFilled/CartCheckFilled.jsx +0 -27
- package/components/components/Icons/CartCheckFilled/index.js +0 -1
- package/components/components/Icons/CartCheckOutline/CartCheckOutline.jsx +0 -34
- package/components/components/Icons/CartCheckOutline/index.js +0 -1
- package/components/components/Icons/CartCrossFilled/CartCrossFilled.jsx +0 -27
- package/components/components/Icons/CartCrossFilled/index.js +0 -1
- package/components/components/Icons/CartCrossOutline/CartCrossOutline.jsx +0 -33
- package/components/components/Icons/CartCrossOutline/index.js +0 -1
- package/components/components/Icons/CartFilled/CartFilled.jsx +0 -25
- package/components/components/Icons/CartFilled/index.js +0 -1
- package/components/components/Icons/CartMinusFilled/CartMinusFilled.jsx +0 -27
- package/components/components/Icons/CartMinusFilled/index.js +0 -1
- package/components/components/Icons/CartMinusOutline/CartMinusOutline.jsx +0 -35
- package/components/components/Icons/CartMinusOutline/index.js +0 -1
- package/components/components/Icons/CartOutline/CartOutline.jsx +0 -34
- package/components/components/Icons/CartOutline/index.js +0 -1
- package/components/components/Icons/CartPlusFilled/CartPlusFilled.jsx +0 -27
- package/components/components/Icons/CartPlusFilled/index.js +0 -1
- package/components/components/Icons/CartPlusOutline/CartPlusOutline.jsx +0 -33
- package/components/components/Icons/CartPlusOutline/index.js +0 -1
- package/components/components/Icons/Check/Check.jsx +0 -20
- package/components/components/Icons/Check/index.js +0 -1
- package/components/components/Icons/CheckDouble/CheckDouble.jsx +0 -20
- package/components/components/Icons/CheckDouble/index.js +0 -1
- package/components/components/Icons/ChevronDown/ChevronDown.jsx +0 -20
- package/components/components/Icons/ChevronDown/index.js +0 -1
- package/components/components/Icons/ChevronLeft/ChevronLeft.jsx +0 -20
- package/components/components/Icons/ChevronLeft/index.js +0 -1
- package/components/components/Icons/ChevronRight/ChevronRight.jsx +0 -20
- package/components/components/Icons/ChevronRight/index.js +0 -1
- package/components/components/Icons/ChevronUp/ChevronUp.jsx +0 -20
- package/components/components/Icons/ChevronUp/index.js +0 -1
- package/components/components/Icons/ClockCircleOutline/ClockCircleOutline.jsx +0 -21
- package/components/components/Icons/ClockCircleOutline/index.js +0 -1
- package/components/components/Icons/ClockSquareOutline/ClockSquareOutline.jsx +0 -25
- package/components/components/Icons/ClockSquareOutline/index.js +0 -1
- package/components/components/Icons/Close/Close.jsx +0 -17
- package/components/components/Icons/Close/index.js +0 -1
- package/components/components/Icons/CloseCircleFilled/CloseCircleFilled.jsx +0 -19
- package/components/components/Icons/CloseCircleFilled/index.js +0 -1
- package/components/components/Icons/CloseCircleOutline/CloseCircleOutline.jsx +0 -22
- package/components/components/Icons/CloseCircleOutline/index.js +0 -1
- package/components/components/Icons/CommentBubbleFilled/CommentBubbleFilled.jsx +0 -24
- package/components/components/Icons/CommentBubbleFilled/index.js +0 -1
- package/components/components/Icons/CommentBubbleOutline/CommentBubbleOutline.jsx +0 -24
- package/components/components/Icons/CommentBubbleOutline/index.js +0 -1
- package/components/components/Icons/CommentFilled/CommentFilled.jsx +0 -24
- package/components/components/Icons/CommentFilled/index.js +0 -1
- package/components/components/Icons/CommentLineFilled/CommentLineFilled.jsx +0 -24
- package/components/components/Icons/CommentLineFilled/index.js +0 -1
- package/components/components/Icons/CommentLineOutline/CommentLineOutline.jsx +0 -24
- package/components/components/Icons/CommentLineOutline/index.js +0 -1
- package/components/components/Icons/CommentOutline/CommentOutline.jsx +0 -24
- package/components/components/Icons/CommentOutline/index.js +0 -1
- package/components/components/Icons/ContactDetailsFilled/ContactDetailsFilled.jsx +0 -19
- package/components/components/Icons/ContactDetailsFilled/index.js +0 -1
- package/components/components/Icons/ContactDetailsOutline/ContactDetailsOutline.jsx +0 -19
- package/components/components/Icons/ContactDetailsOutline/index.js +0 -1
- package/components/components/Icons/DeliveryTruckFastFilled/DeliveryTruckFastFilled.jsx +0 -29
- package/components/components/Icons/DeliveryTruckFastFilled/index.js +0 -1
- package/components/components/Icons/DeliveryTruckFastOutline/DeliveryTruckFastOutline.jsx +0 -29
- package/components/components/Icons/DeliveryTruckFastOutline/index.js +0 -1
- package/components/components/Icons/DeliveryTruckLeftFilled/DeliveryTruckLeftFilled.jsx +0 -23
- package/components/components/Icons/DeliveryTruckLeftFilled/index.js +0 -1
- package/components/components/Icons/DeliveryTruckLeftOutline/DeliveryTruckLeftOutline.jsx +0 -24
- package/components/components/Icons/DeliveryTruckLeftOutline/index.js +0 -1
- package/components/components/Icons/DeliveryTruckRightFilled/DeliveryTruckRightFilled.jsx +0 -24
- package/components/components/Icons/DeliveryTruckRightFilled/index.js +0 -1
- package/components/components/Icons/DeliveryTruckRightOutline/DeliveryTruckRightOutline.jsx +0 -24
- package/components/components/Icons/DeliveryTruckRightOutline/index.js +0 -1
- package/components/components/Icons/DetailsOutline/DetailsOutline.jsx +0 -19
- package/components/components/Icons/DetailsOutline/index.js +0 -1
- package/components/components/Icons/DiscordConversation/DiscordConversation.jsx +0 -21
- package/components/components/Icons/DiscordConversation/index.js +0 -1
- package/components/components/Icons/DiscordFilled/DiscordFilled.jsx +0 -18
- package/components/components/Icons/DiscordFilled/index.js +0 -1
- package/components/components/Icons/DiscordOutline/DiscordOutline.jsx +0 -22
- package/components/components/Icons/DiscordOutline/index.js +0 -1
- package/components/components/Icons/DoorClosedFilled/DoorClosedFilled.jsx +0 -19
- package/components/components/Icons/DoorClosedFilled/index.js +0 -1
- package/components/components/Icons/DoorClosedOutline/DoorClosedOutline.jsx +0 -20
- package/components/components/Icons/DoorClosedOutline/index.js +0 -1
- package/components/components/Icons/DoorOpenFilled/DoorOpenFilled.jsx +0 -19
- package/components/components/Icons/DoorOpenFilled/index.js +0 -1
- package/components/components/Icons/DoorOpenOutline/DoorOpenOutline.jsx +0 -20
- package/components/components/Icons/DoorOpenOutline/index.js +0 -1
- package/components/components/Icons/DotsHorizontalFilled/DotsHorizontalFilled.jsx +0 -25
- package/components/components/Icons/DotsHorizontalFilled/index.js +0 -1
- package/components/components/Icons/DotsHorizontalOutline/DotsHorizontalOutline.jsx +0 -34
- package/components/components/Icons/DotsHorizontalOutline/index.js +0 -1
- package/components/components/Icons/DotsVerticalFilled/DotsVerticalFilled.jsx +0 -25
- package/components/components/Icons/DotsVerticalFilled/index.js +0 -1
- package/components/components/Icons/DotsVerticalOutline/DotsVerticalOutline.jsx +0 -34
- package/components/components/Icons/DotsVerticalOutline/index.js +0 -1
- package/components/components/Icons/Download/Download.jsx +0 -21
- package/components/components/Icons/Download/index.js +0 -1
- package/components/components/Icons/DownloadBoxFilled/DownloadBoxFilled.jsx +0 -19
- package/components/components/Icons/DownloadBoxFilled/index.js +0 -1
- package/components/components/Icons/DownloadBoxOutline/DownloadBoxOutline.jsx +0 -27
- package/components/components/Icons/DownloadBoxOutline/index.js +0 -1
- package/components/components/Icons/EditBoxThick/EditBoxThick.jsx +0 -20
- package/components/components/Icons/EditBoxThick/index.js +0 -1
- package/components/components/Icons/EditBoxThin/EditBoxThin.jsx +0 -27
- package/components/components/Icons/EditBoxThin/index.js +0 -1
- package/components/components/Icons/EmailFilled/EmailFilled.jsx +0 -28
- package/components/components/Icons/EmailFilled/index.js +0 -1
- package/components/components/Icons/EmailOutline/EmailOutline.jsx +0 -31
- package/components/components/Icons/EmailOutline/index.js +0 -1
- package/components/components/Icons/ExitArrowInOutline/ExitArrowInOutline.jsx +0 -22
- package/components/components/Icons/ExitArrowInOutline/index.js +0 -1
- package/components/components/Icons/ExitArrowOutOutline/ExitArrowOutOutline.jsx +0 -27
- package/components/components/Icons/ExitArrowOutOutline/index.js +0 -1
- package/components/components/Icons/ExitFullScreen/ExitFullScreen.jsx +0 -18
- package/components/components/Icons/ExitFullScreen/index.js +0 -1
- package/components/components/Icons/ExitFullScreenThick/ExitFullScreenThick.jsx +0 -18
- package/components/components/Icons/ExitFullScreenThick/index.js +0 -1
- package/components/components/Icons/EyeClosed/EyeClosed.jsx +0 -19
- package/components/components/Icons/EyeClosed/index.js +0 -1
- package/components/components/Icons/EyeFilled/EyeFilled.jsx +0 -23
- package/components/components/Icons/EyeFilled/index.js +0 -1
- package/components/components/Icons/EyeOutline/EyeOutline.jsx +0 -27
- package/components/components/Icons/EyeOutline/index.js +0 -1
- package/components/components/Icons/FacebookFilled/FacebookFilled.jsx +0 -18
- package/components/components/Icons/FacebookFilled/index.js +0 -1
- package/components/components/Icons/FacebookMessengerOutline/FacebookMessengerOutline.jsx +0 -23
- package/components/components/Icons/FacebookMessengerOutline/index.js +0 -1
- package/components/components/Icons/FacebookOutline/FacebookOutline.jsx +0 -19
- package/components/components/Icons/FacebookOutline/index.js +0 -1
- package/components/components/Icons/FacebookRoundFilled/FacebookRoundFilled.jsx +0 -17
- package/components/components/Icons/FacebookRoundFilled/index.js +0 -1
- package/components/components/Icons/Filter/Filter.jsx +0 -17
- package/components/components/Icons/Filter/index.js +0 -1
- package/components/components/Icons/FilterList/FilterList.jsx +0 -20
- package/components/components/Icons/FilterList/index.js +0 -1
- package/components/components/Icons/FilterThickFilled/FilterThickFilled.jsx +0 -17
- package/components/components/Icons/FilterThickFilled/index.js +0 -1
- package/components/components/Icons/FilterThickOutline/FilterThickOutline.jsx +0 -18
- package/components/components/Icons/FilterThickOutline/index.js +0 -1
- package/components/components/Icons/FullScreenArrowThick/FullScreenArrowThick.jsx +0 -18
- package/components/components/Icons/FullScreenArrowThick/index.js +0 -1
- package/components/components/Icons/FullScreenArrowThin/FullScreenArrowThin.jsx +0 -18
- package/components/components/Icons/FullScreenArrowThin/index.js +0 -1
- package/components/components/Icons/FullScreenExit/FullScreenExit.jsx +0 -29
- package/components/components/Icons/FullScreenExit/index.js +0 -1
- package/components/components/Icons/FullScreenFilled/FullScreenFilled.jsx +0 -19
- package/components/components/Icons/FullScreenFilled/index.js +0 -1
- package/components/components/Icons/FullScreenOutline/FullScreenOutline.jsx +0 -19
- package/components/components/Icons/FullScreenOutline/index.js +0 -1
- package/components/components/Icons/HamburgerMenu/HamburgerMenu.jsx +0 -31
- package/components/components/Icons/HamburgerMenu/index.js +0 -1
- package/components/components/Icons/HamburgerSpaced/HamburgerSpaced.jsx +0 -24
- package/components/components/Icons/HamburgerSpaced/index.js +0 -1
- package/components/components/Icons/HeartFilled/HeartFilled.jsx +0 -17
- package/components/components/Icons/HeartFilled/index.js +0 -1
- package/components/components/Icons/HeartOutline/HeartOutline.jsx +0 -22
- package/components/components/Icons/HeartOutline/index.js +0 -1
- package/components/components/Icons/Help/Help.jsx +0 -22
- package/components/components/Icons/Help/index.js +0 -1
- package/components/components/Icons/HelpCircleFilled/HelpCircleFilled.jsx +0 -19
- package/components/components/Icons/HelpCircleFilled/index.js +0 -1
- package/components/components/Icons/HelpCircleOutline/HelpCircleOutline.jsx +0 -32
- package/components/components/Icons/HelpCircleOutline/index.js +0 -1
- package/components/components/Icons/HomeFilled/HomeFilled.jsx +0 -19
- package/components/components/Icons/HomeFilled/index.js +0 -1
- package/components/components/Icons/HomeOutline/HomeOutline.jsx +0 -19
- package/components/components/Icons/HomeOutline/index.js +0 -1
- package/components/components/Icons/Info/Info.jsx +0 -21
- package/components/components/Icons/Info/index.js +0 -1
- package/components/components/Icons/InfoCircleFilled/InfoCircleFilled.jsx +0 -19
- package/components/components/Icons/InfoCircleFilled/index.js +0 -1
- package/components/components/Icons/InfoCircleOutline/InfoCircleOutline.jsx +0 -16
- package/components/components/Icons/InfoCircleOutline/index.js +0 -1
- package/components/components/Icons/InfoSquareFilled/InfoSquareFilled.jsx +0 -19
- package/components/components/Icons/InfoSquareFilled/index.js +0 -1
- package/components/components/Icons/InfoSquareOutline/InfoSquareOutline.jsx +0 -20
- package/components/components/Icons/InfoSquareOutline/index.js +0 -1
- package/components/components/Icons/InstagramOuline/InstagramOuline.jsx +0 -18
- package/components/components/Icons/InstagramOuline/index.js +0 -1
- package/components/components/Icons/InstagramRoundFilled/InstagramRoundFilled.jsx +0 -35
- package/components/components/Icons/InstagramRoundFilled/index.js +0 -1
- package/components/components/Icons/KeyFilled/KeyFilled.jsx +0 -19
- package/components/components/Icons/KeyFilled/index.js +0 -1
- package/components/components/Icons/KeyInSquareFilled/KeyInSquareFilled.jsx +0 -23
- package/components/components/Icons/KeyInSquareFilled/index.js +0 -1
- package/components/components/Icons/KeyInSquareOutline/KeyInSquareOutline.jsx +0 -29
- package/components/components/Icons/KeyInSquareOutline/index.js +0 -1
- package/components/components/Icons/KeyOutline/KeyOutline.jsx +0 -25
- package/components/components/Icons/KeyOutline/index.js +0 -1
- package/components/components/Icons/KeySideSquareFilled/KeySideSquareFilled.jsx +0 -23
- package/components/components/Icons/KeySideSquareFilled/index.js +0 -1
- package/components/components/Icons/KeySideSquareOutline/KeySideSquareOutline.jsx +0 -19
- package/components/components/Icons/KeySideSquareOutline/index.js +0 -1
- package/components/components/Icons/KeySquareFilled/KeySquareFilled.jsx +0 -23
- package/components/components/Icons/KeySquareFilled/index.js +0 -1
- package/components/components/Icons/KeySquareOutline/KeySquareOutline.jsx +0 -19
- package/components/components/Icons/KeySquareOutline/index.js +0 -1
- package/components/components/Icons/Link/Link.jsx +0 -25
- package/components/components/Icons/Link/index.js +0 -1
- package/components/components/Icons/LinkedinFilled/LinkedinFilled.jsx +0 -20
- package/components/components/Icons/LinkedinFilled/index.js +0 -1
- package/components/components/Icons/LinkedinOutline/LinkedinOutline.jsx +0 -18
- package/components/components/Icons/LinkedinOutline/index.js +0 -1
- package/components/components/Icons/LinkedinRoundFilled/LinkedinRoundFilled.jsx +0 -21
- package/components/components/Icons/LinkedinRoundFilled/index.js +0 -1
- package/components/components/Icons/Loading/Loading.jsx +0 -18
- package/components/components/Icons/Loading/index.js +0 -1
- package/components/components/Icons/LocationArrowFilled/LocationArrowFilled.jsx +0 -14
- package/components/components/Icons/LocationArrowFilled/index.js +0 -1
- package/components/components/Icons/LocationArrowOutline/LocationArrowOutline.jsx +0 -20
- package/components/components/Icons/LocationArrowOutline/index.js +0 -1
- package/components/components/Icons/LocationFilled/LocationFilled.jsx +0 -24
- package/components/components/Icons/LocationFilled/index.js +0 -1
- package/components/components/Icons/LocationOutline/LocationOutline.jsx +0 -24
- package/components/components/Icons/LocationOutline/index.js +0 -1
- package/components/components/Icons/LockKeyhole/LockKeyhole.jsx +0 -19
- package/components/components/Icons/LockKeyhole/index.js +0 -1
- package/components/components/Icons/LockKeyholeOutline/LockKeyholeOutline.jsx +0 -25
- package/components/components/Icons/LockKeyholeOutline/index.js +0 -1
- package/components/components/Icons/LockKeyholeUnlocked/LockKeyholeUnlocked.jsx +0 -19
- package/components/components/Icons/LockKeyholeUnlocked/index.js +0 -1
- package/components/components/Icons/LockKeyholeUnlockedOutline/LockKeyholeUnlockedOutline.jsx +0 -25
- package/components/components/Icons/LockKeyholeUnlockedOutline/index.js +0 -1
- package/components/components/Icons/MediaPauseCircleFilled/MediaPauseCircleFilled.jsx +0 -19
- package/components/components/Icons/MediaPauseCircleFilled/index.js +0 -1
- package/components/components/Icons/MediaPauseCircleOuline/MediaPauseCircleOuline.jsx +0 -27
- package/components/components/Icons/MediaPauseCircleOuline/index.js +0 -1
- package/components/components/Icons/MediaPauseFilled/MediaPauseFilled.jsx +0 -21
- package/components/components/Icons/MediaPauseFilled/index.js +0 -1
- package/components/components/Icons/MediaPauseOutline/MediaPauseOutline.jsx +0 -25
- package/components/components/Icons/MediaPauseOutline/index.js +0 -1
- package/components/components/Icons/MediaPlayCircleFilled/MediaPlayCircleFilled.jsx +0 -19
- package/components/components/Icons/MediaPlayCircleFilled/index.js +0 -1
- package/components/components/Icons/MediaPlayCircleOutline/MediaPlayCircleOutline.jsx +0 -25
- package/components/components/Icons/MediaPlayCircleOutline/index.js +0 -1
- package/components/components/Icons/MediaPlayFilled/MediaPlayFilled.jsx +0 -17
- package/components/components/Icons/MediaPlayFilled/index.js +0 -1
- package/components/components/Icons/MediaPlayOutline/MediaPlayOutline.jsx +0 -19
- package/components/components/Icons/MediaPlayOutline/index.js +0 -1
- package/components/components/Icons/MediaStopCircleFilled/MediaStopCircleFilled.jsx +0 -19
- package/components/components/Icons/MediaStopCircleFilled/index.js +0 -1
- package/components/components/Icons/MediaStopCircleOutline/MediaStopCircleOutline.jsx +0 -25
- package/components/components/Icons/MediaStopCircleOutline/index.js +0 -1
- package/components/components/Icons/MediaStopFilled/MediaStopFilled.jsx +0 -17
- package/components/components/Icons/MediaStopFilled/index.js +0 -1
- package/components/components/Icons/MediaStopOutline/MediaStopOutline.jsx +0 -19
- package/components/components/Icons/MediaStopOutline/index.js +0 -1
- package/components/components/Icons/Minus/Minus.jsx +0 -20
- package/components/components/Icons/Minus/index.js +0 -1
- package/components/components/Icons/MinusCircle/MinusCircle.jsx +0 -24
- package/components/components/Icons/MinusCircle/index.js +0 -1
- package/components/components/Icons/MinusCircleFilled/MinusCircleFilled.jsx +0 -24
- package/components/components/Icons/MinusCircleFilled/index.js +0 -1
- package/components/components/Icons/MoneyBagOutline/MoneyBagOutline.jsx +0 -34
- package/components/components/Icons/MoneyBagOutline/index.js +0 -1
- package/components/components/Icons/MoneyBriefcaseFilled/MoneyBriefcaseFilled.jsx +0 -19
- package/components/components/Icons/MoneyBriefcaseFilled/index.js +0 -1
- package/components/components/Icons/MoneyBriefcaseOutline/MoneyBriefcaseOutline.jsx +0 -29
- package/components/components/Icons/MoneyBriefcaseOutline/index.js +0 -1
- package/components/components/Icons/NoEntry/NoEntry.jsx +0 -18
- package/components/components/Icons/NoEntry/index.js +0 -1
- package/components/components/Icons/NoEntryFilled/NoEntryFilled.jsx +0 -17
- package/components/components/Icons/NoEntryFilled/index.js +0 -1
- package/components/components/Icons/NoEntryOutline/NoEntryOutline.jsx +0 -18
- package/components/components/Icons/NoEntryOutline/index.js +0 -1
- package/components/components/Icons/PaymentCardFilled/PaymentCardFilled.jsx +0 -20
- package/components/components/Icons/PaymentCardFilled/index.js +0 -1
- package/components/components/Icons/PaymentCardOutline/PaymentCardOutline.jsx +0 -20
- package/components/components/Icons/PaymentCardOutline/index.js +0 -1
- package/components/components/Icons/PhoneCallingFilled/PhoneCallingFilled.jsx +0 -27
- package/components/components/Icons/PhoneCallingFilled/index.js +0 -1
- package/components/components/Icons/PhoneCallingOutline/PhoneCallingOutline.jsx +0 -29
- package/components/components/Icons/PhoneCallingOutline/index.js +0 -1
- package/components/components/Icons/PhoneFilled/PhoneFilled.jsx +0 -17
- package/components/components/Icons/PhoneFilled/index.js +0 -1
- package/components/components/Icons/PhoneOutline/PhoneOutline.jsx +0 -17
- package/components/components/Icons/PhoneOutline/index.js +0 -1
- package/components/components/Icons/Pin/Pin.jsx +0 -20
- package/components/components/Icons/Pin/index.js +0 -1
- package/components/components/Icons/PinAddFilled/PinAddFilled.jsx +0 -23
- package/components/components/Icons/PinAddFilled/index.js +0 -1
- package/components/components/Icons/PinAddOutline/PinAddOutline.jsx +0 -23
- package/components/components/Icons/PinAddOutline/index.js +0 -1
- package/components/components/Icons/PinCircleFilled/PinCircleFilled.jsx +0 -19
- package/components/components/Icons/PinCircleFilled/index.js +0 -1
- package/components/components/Icons/PinCircleOutline/PinCircleOutline.jsx +0 -18
- package/components/components/Icons/PinCircleOutline/index.js +0 -1
- package/components/components/Icons/PinFilled/PinFilled.jsx +0 -17
- package/components/components/Icons/PinFilled/index.js +0 -1
- package/components/components/Icons/PinOutline/PinOutline.jsx +0 -19
- package/components/components/Icons/PinOutline/index.js +0 -1
- package/components/components/Icons/PinSubFilled/PinSubFilled.jsx +0 -23
- package/components/components/Icons/PinSubFilled/index.js +0 -1
- package/components/components/Icons/PinSubOutline/PinSubOutline.jsx +0 -23
- package/components/components/Icons/PinSubOutline/index.js +0 -1
- package/components/components/Icons/PinterestFilled/PinterestFilled.jsx +0 -23
- package/components/components/Icons/PinterestFilled/index.js +0 -1
- package/components/components/Icons/PinterestOutline/PinterestOutline.jsx +0 -20
- package/components/components/Icons/PinterestOutline/index.js +0 -1
- package/components/components/Icons/ProfileFemaleOutline/ProfileFemaleOutline.jsx +0 -31
- package/components/components/Icons/ProfileFemaleOutline/index.js +0 -1
- package/components/components/Icons/ProfileGroupFilled/ProfileGroupFilled.jsx +0 -24
- package/components/components/Icons/ProfileGroupFilled/index.js +0 -1
- package/components/components/Icons/ProfileMaleFilled/ProfileMaleFilled.jsx +0 -24
- package/components/components/Icons/ProfileMaleFilled/index.js +0 -1
- package/components/components/Icons/ProfileMaleOutline/ProfileMaleOutline.jsx +0 -32
- package/components/components/Icons/ProfileMaleOutline/index.js +0 -1
- package/components/components/Icons/RedditFilled/RedditFilled.jsx +0 -23
- package/components/components/Icons/RedditFilled/index.js +0 -1
- package/components/components/Icons/RedditOutline/RedditOutline.jsx +0 -31
- package/components/components/Icons/RedditOutline/index.js +0 -1
- package/components/components/Icons/RedditRoundFilled/RedditRoundFilled.jsx +0 -53
- package/components/components/Icons/RedditRoundFilled/index.js +0 -1
- package/components/components/Icons/RedditRoundOutline/RedditRoundOutline.jsx +0 -57
- package/components/components/Icons/RedditRoundOutline/index.js +0 -1
- package/components/components/Icons/RupeeOutlined/RupeeOutlined.jsx +0 -17
- package/components/components/Icons/RupeeOutlined/index.js +0 -1
- package/components/components/Icons/RupeeSign/RupeeSign.jsx +0 -20
- package/components/components/Icons/RupeeSign/index.js +0 -1
- package/components/components/Icons/SaveFilled/SaveFilled.jsx +0 -24
- package/components/components/Icons/SaveFilled/index.js +0 -1
- package/components/components/Icons/SaveOutline/SaveOutline.jsx +0 -24
- package/components/components/Icons/SaveOutline/index.js +0 -1
- package/components/components/Icons/Search/Search.jsx +0 -24
- package/components/components/Icons/Search/index.js +0 -1
- package/components/components/Icons/SettingFilled/SettingFilled.jsx +0 -17
- package/components/components/Icons/SettingFilled/index.js +0 -1
- package/components/components/Icons/SettingOutline/SettingOutline.jsx +0 -17
- package/components/components/Icons/SettingOutline/index.js +0 -1
- package/components/components/Icons/ShareAllFilled/ShareAllFilled.jsx +0 -19
- package/components/components/Icons/ShareAllFilled/index.js +0 -1
- package/components/components/Icons/ShareAllOutline/ShareAllOutline.jsx +0 -30
- package/components/components/Icons/ShareAllOutline/index.js +0 -1
- package/components/components/Icons/ShareBoxOutline/ShareBoxOutline.jsx +0 -17
- package/components/components/Icons/ShareBoxOutline/index.js +0 -1
- package/components/components/Icons/ShareFilled/ShareFilled.jsx +0 -23
- package/components/components/Icons/ShareFilled/index.js +0 -1
- package/components/components/Icons/ShareOutline/ShareOutline.jsx +0 -26
- package/components/components/Icons/ShareOutline/index.js +0 -1
- package/components/components/Icons/ShareThickFilled/ShareThickFilled.jsx +0 -17
- package/components/components/Icons/ShareThickFilled/index.js +0 -1
- package/components/components/Icons/ShieldCheckFilled/ShieldCheckFilled.jsx +0 -19
- package/components/components/Icons/ShieldCheckFilled/index.js +0 -1
- package/components/components/Icons/ShieldCheckOutline/ShieldCheckOutline.jsx +0 -25
- package/components/components/Icons/ShieldCheckOutline/index.js +0 -1
- package/components/components/Icons/ShieldCrossFilled/ShieldCrossFilled.jsx +0 -19
- package/components/components/Icons/ShieldCrossFilled/index.js +0 -1
- package/components/components/Icons/ShieldCrossOutline/ShieldCrossOutline.jsx +0 -24
- package/components/components/Icons/ShieldCrossOutline/index.js +0 -1
- package/components/components/Icons/ShieldFilled/ShieldFilled.jsx +0 -17
- package/components/components/Icons/ShieldFilled/index.js +0 -1
- package/components/components/Icons/ShieldOutline/ShieldOutline.jsx +0 -19
- package/components/components/Icons/ShieldOutline/index.js +0 -1
- package/components/components/Icons/ShieldWarningFilled/ShieldWarningFilled.jsx +0 -19
- package/components/components/Icons/ShieldWarningFilled/index.js +0 -1
- package/components/components/Icons/ShieldWarningOutline/ShieldWarningOutline.jsx +0 -20
- package/components/components/Icons/ShieldWarningOutline/index.js +0 -1
- package/components/components/Icons/SnapchatFilled/SnapchatFilled.jsx +0 -23
- package/components/components/Icons/SnapchatFilled/index.js +0 -1
- package/components/components/Icons/SnapchatOutline/SnapchatOutline.jsx +0 -19
- package/components/components/Icons/SnapchatOutline/index.js +0 -1
- package/components/components/Icons/SortBottomToTop/SortBottomToTop.jsx +0 -23
- package/components/components/Icons/SortBottomToTop/index.js +0 -1
- package/components/components/Icons/SortHorizontal/SortHorizontal.jsx +0 -19
- package/components/components/Icons/SortHorizontal/index.js +0 -1
- package/components/components/Icons/SortTopToBottom/SortTopToBottom.jsx +0 -23
- package/components/components/Icons/SortTopToBottom/index.js +0 -1
- package/components/components/Icons/SortVertical/SortVertical.jsx +0 -19
- package/components/components/Icons/SortVertical/index.js +0 -1
- package/components/components/Icons/StarFilled/StarFilled.jsx +0 -22
- package/components/components/Icons/StarFilled/index.js +0 -1
- package/components/components/Icons/StarOutline/StarOutline.jsx +0 -24
- package/components/components/Icons/StarOutline/index.js +0 -1
- package/components/components/Icons/TelegramFilled/TelegramFilled.jsx +0 -20
- package/components/components/Icons/TelegramFilled/index.js +0 -1
- package/components/components/Icons/TelegramOutline/TelegramOutline.jsx +0 -19
- package/components/components/Icons/TelegramOutline/index.js +0 -1
- package/components/components/Icons/TelegramRoundFilled/TelegramRoundFilled.jsx +0 -20
- package/components/components/Icons/TelegramRoundFilled/index.js +0 -1
- package/components/components/Icons/ThumbsDownFilled/ThumbsDownFilled.jsx +0 -17
- package/components/components/Icons/ThumbsDownFilled/index.js +0 -1
- package/components/components/Icons/ThumbsDownOutline/ThumbsDownOutline.jsx +0 -17
- package/components/components/Icons/ThumbsDownOutline/index.js +0 -1
- package/components/components/Icons/ThumbsUpFilled/ThumbsUpFilled.jsx +0 -17
- package/components/components/Icons/ThumbsUpFilled/index.js +0 -1
- package/components/components/Icons/ThumbsUpOutline/ThumbsUpOutline.jsx +0 -17
- package/components/components/Icons/ThumbsUpOutline/index.js +0 -1
- package/components/components/Icons/TiktokBox/TiktokBox.jsx +0 -17
- package/components/components/Icons/TiktokBox/index.js +0 -1
- package/components/components/Icons/TiktokThickFilled/TiktokThickFilled.jsx +0 -18
- package/components/components/Icons/TiktokThickFilled/index.js +0 -1
- package/components/components/Icons/TiktokThinFilled/TiktokThinFilled.jsx +0 -26
- package/components/components/Icons/TiktokThinFilled/index.js +0 -1
- package/components/components/Icons/TrashBigFilled/TrashBigFilled.jsx +0 -24
- package/components/components/Icons/TrashBigFilled/index.js +0 -1
- package/components/components/Icons/TrashBigOutline/TrashBigOutline.jsx +0 -24
- package/components/components/Icons/TrashBigOutline/index.js +0 -1
- package/components/components/Icons/TrashFilled/TrashFilled.jsx +0 -21
- package/components/components/Icons/TrashFilled/index.js +0 -1
- package/components/components/Icons/TrashLinesFilled/TrashLinesFilled.jsx +0 -23
- package/components/components/Icons/TrashLinesFilled/index.js +0 -1
- package/components/components/Icons/TrashLinesOutline/TrashLinesOutline.jsx +0 -27
- package/components/components/Icons/TrashLinesOutline/index.js +0 -1
- package/components/components/Icons/TrashOutline/TrashOutline.jsx +0 -25
- package/components/components/Icons/TrashOutline/index.js +0 -1
- package/components/components/Icons/Upload/Upload.jsx +0 -21
- package/components/components/Icons/Upload/index.js +0 -1
- package/components/components/Icons/UploadBoxFilled/UploadBoxFilled.jsx +0 -19
- package/components/components/Icons/UploadBoxFilled/index.js +0 -1
- package/components/components/Icons/UploadBoxOutline/UploadBoxOutline.jsx +0 -27
- package/components/components/Icons/UploadBoxOutline/index.js +0 -1
- package/components/components/Icons/VolumeFilled/VolumeFilled.jsx +0 -28
- package/components/components/Icons/VolumeFilled/index.js +0 -1
- package/components/components/Icons/VolumeMuteFilled/VolumeMuteFilled.jsx +0 -28
- package/components/components/Icons/VolumeMuteFilled/index.js +0 -1
- package/components/components/Icons/VolumeMuteOutline/VolumeMuteOutline.jsx +0 -28
- package/components/components/Icons/VolumeMuteOutline/index.js +0 -1
- package/components/components/Icons/VolumeOffFilled/VolumeOffFilled.jsx +0 -28
- package/components/components/Icons/VolumeOffFilled/index.js +0 -1
- package/components/components/Icons/VolumeOffOutline/VolumeOffOutline.jsx +0 -28
- package/components/components/Icons/VolumeOffOutline/index.js +0 -1
- package/components/components/Icons/VolumeOutline/VolumeOutline.jsx +0 -28
- package/components/components/Icons/VolumeOutline/index.js +0 -1
- package/components/components/Icons/WalletFilled/WalletFilled.jsx +0 -24
- package/components/components/Icons/WalletFilled/index.js +0 -1
- package/components/components/Icons/WalletOutline/WalletOutline.jsx +0 -24
- package/components/components/Icons/WalletOutline/index.js +0 -1
- package/components/components/Icons/Warning/Warning.jsx +0 -20
- package/components/components/Icons/Warning/index.js +0 -1
- package/components/components/Icons/WarningCircleFilled/WarningCircleFilled.jsx +0 -17
- package/components/components/Icons/WarningCircleFilled/index.js +0 -1
- package/components/components/Icons/WarningCircleOutline/WarningCircleOutline.jsx +0 -17
- package/components/components/Icons/WarningCircleOutline/index.js +0 -1
- package/components/components/Icons/WarningSmall/WarningSmall.jsx +0 -20
- package/components/components/Icons/WarningSmall/index.js +0 -1
- package/components/components/Icons/WarningTriangleFilled/WarningTriangleFilled.jsx +0 -18
- package/components/components/Icons/WarningTriangleFilled/index.js +0 -1
- package/components/components/Icons/WarningTriangleOutline/WarningTriangleOutline.jsx +0 -20
- package/components/components/Icons/WarningTriangleOutline/index.js +0 -1
- package/components/components/Icons/WhatsappFilled/WhatsappFilled.jsx +0 -23
- package/components/components/Icons/WhatsappFilled/index.js +0 -1
- package/components/components/Icons/WhatsappOutline/WhatsappOutline.jsx +0 -19
- package/components/components/Icons/WhatsappOutline/index.js +0 -1
- package/components/components/Icons/Youtube/Youtube.jsx +0 -17
- package/components/components/Icons/Youtube/index.js +0 -1
- package/components/components/Icons/YoutubeFilled/YoutubeFilled.jsx +0 -26
- package/components/components/Icons/YoutubeFilled/index.js +0 -1
- package/components/components/Icons/YoutubeRoundFilled/YoutubeRoundFilled.jsx +0 -22
- package/components/components/Icons/YoutubeRoundFilled/index.js +0 -1
- package/components/components/Icons/iconsMap.js +0 -251
- package/components/components/Icons/index.js +0 -741
- package/components/components/Image/Image.jsx +0 -64
- package/components/components/Image/index.js +0 -3
- package/components/components/Image/styles.js +0 -45
- package/components/components/Input/Checkbox/Checkbox.jsx +0 -78
- package/components/components/Input/Checkbox/helpers.js +0 -27
- package/components/components/Input/Checkbox/index.js +0 -3
- package/components/components/Input/Checkbox/styles.js +0 -52
- package/components/components/Input/FileUploader/FileUploader.jsx +0 -98
- package/components/components/Input/FileUploader/constants.js +0 -27
- package/components/components/Input/FileUploader/index.js +0 -3
- package/components/components/Input/FileUploader/styles.js +0 -88
- package/components/components/Input/Input/Input.jsx +0 -110
- package/components/components/Input/Input/helpers.js +0 -58
- package/components/components/Input/Input/index.js +0 -3
- package/components/components/Input/Input/styles.js +0 -97
- package/components/components/Input/Radio/Radio.jsx +0 -49
- package/components/components/Input/Radio/index.js +0 -3
- package/components/components/Input/Radio/styles.js +0 -59
- package/components/components/Input/RadioGroup/RadioGroup.jsx +0 -48
- package/components/components/Input/RadioGroup/index.js +0 -3
- package/components/components/Input/RadioGroup/styles.js +0 -19
- package/components/components/Input/Textarea/SvgIcon.jsx +0 -15
- package/components/components/Input/Textarea/Textarea.jsx +0 -127
- package/components/components/Input/Textarea/helpers.js +0 -40
- package/components/components/Input/Textarea/index.js +0 -3
- package/components/components/Input/Textarea/styles.js +0 -104
- package/components/components/Loader/Loader.jsx +0 -34
- package/components/components/Loader/constants.js +0 -20
- package/components/components/Loader/helpers.js +0 -27
- package/components/components/Loader/index.js +0 -3
- package/components/components/Loader/styles.js +0 -62
- package/components/components/MenuItem/MenuItem.jsx +0 -69
- package/components/components/MenuItem/index.js +0 -3
- package/components/components/MenuItem/styles.js +0 -31
- package/components/components/OtpInput/OtpInput.jsx +0 -119
- package/components/components/OtpInput/helpers.jsx +0 -43
- package/components/components/OtpInput/index.js +0 -3
- package/components/components/OtpInput/styles.js +0 -22
- package/components/components/PageLoader/PageLoader.jsx +0 -21
- package/components/components/PageLoader/index.js +0 -3
- package/components/components/PageLoader/styles.js +0 -14
- package/components/components/Pagination/Pagination.jsx +0 -138
- package/components/components/Pagination/constants.js +0 -37
- package/components/components/Pagination/helpers.jsx +0 -66
- package/components/components/Pagination/index.js +0 -3
- package/components/components/Pagination/styles.js +0 -130
- package/components/components/Ripple/Ripple.css +0 -21
- package/components/components/Ripple/Ripple.jsx +0 -63
- package/components/components/Ripple/index.js +0 -3
- package/components/components/RootComponent/RootComponent.jsx +0 -7
- package/components/components/RootComponent/index.js +0 -3
- package/components/components/RootComponent/styles.js +0 -6
- package/components/components/Selectbox/Selectbox.jsx +0 -325
- package/components/components/Selectbox/index.js +0 -3
- package/components/components/Selectbox/styles.js +0 -172
- package/components/components/Shimmer/Shimmer.jsx +0 -27
- package/components/components/Shimmer/index.js +0 -3
- package/components/components/Shimmer/styles.js +0 -29
- package/components/components/Spinner/Spinner.jsx +0 -40
- package/components/components/Spinner/index.js +0 -3
- package/components/components/Spinner/styles.js +0 -31
- package/components/components/Timer/Timer.jsx +0 -267
- package/components/components/Timer/components/TimerRing/TimerRing.jsx +0 -45
- package/components/components/Timer/components/TimerRing/index.js +0 -3
- package/components/components/Timer/components/TimerRing/styles.js +0 -3
- package/components/components/Timer/constants.js +0 -23
- package/components/components/Timer/helpers.js +0 -4
- package/components/components/Timer/index.js +0 -3
- package/components/components/Timer/styles.js +0 -238
- package/components/components/Toast/Toast.jsx +0 -134
- package/components/components/Toast/constants.js +0 -34
- package/components/components/Toast/helpers.jsx +0 -54
- package/components/components/Toast/index.js +0 -4
- package/components/components/Toast/styles.js +0 -289
- package/components/components/Typography/Headings/H1.jsx +0 -16
- package/components/components/Typography/Headings/H2.jsx +0 -16
- package/components/components/Typography/Headings/H3.jsx +0 -16
- package/components/components/Typography/Headings/H4.jsx +0 -16
- package/components/components/Typography/Headings/H5.jsx +0 -16
- package/components/components/Typography/Headings/H6.jsx +0 -16
- package/components/components/Typography/Headings/index.js +0 -9
- package/components/components/Typography/P/P.jsx +0 -11
- package/components/components/Typography/P/index.js +0 -3
- package/components/components/Typography/P/styles.js +0 -9
- package/components/components/VideoPlayer/VideoPlayer.jsx +0 -46
- package/components/components/VideoPlayer/components/Volumebar/Volumebar.jsx +0 -17
- package/components/components/VideoPlayer/components/Volumebar/index.js +0 -3
- package/components/components/VideoPlayer/components/Volumebar/styles.js +0 -39
- package/components/components/VideoPlayer/index.js +0 -3
- package/components/components/VideoPlayer/styles.js +0 -42
- package/components/components/VideoPlayer/useSpacebarToggle.js +0 -75
- package/components/components/VideoPlayer/useVolumeOverlay.js +0 -14
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import { useEffect, useId, useLayoutEffect, useRef, useState, useMemo, useCallback } from 'react';
|
|
2
|
-
import grey from '../../colors/grey';
|
|
3
|
-
import MenuItem from '../MenuItem/MenuItem';
|
|
4
|
-
import colors from '../../colors/colorMap';
|
|
5
|
-
import blue from '../../colors/blue';
|
|
6
|
-
import Spinner from '../Spinner/Spinner';
|
|
7
|
-
import {
|
|
8
|
-
Box,
|
|
9
|
-
PWrapper,
|
|
10
|
-
ChevronDownWrapper,
|
|
11
|
-
OptionWrapper,
|
|
12
|
-
DropdownWrapper,
|
|
13
|
-
SpinnerWrapper,
|
|
14
|
-
SearchInput,
|
|
15
|
-
LoadMoreSentinel,
|
|
16
|
-
OptionsList,
|
|
17
|
-
SearchContainer,
|
|
18
|
-
SearchIcon,
|
|
19
|
-
} from './styles';
|
|
20
|
-
|
|
21
|
-
const getPixelValue = (value) => {
|
|
22
|
-
if (typeof value !== 'string') return value;
|
|
23
|
-
if (value.endsWith('px')) return parseFloat(value);
|
|
24
|
-
if (value.endsWith('rem')) {
|
|
25
|
-
const remValue = parseFloat(value);
|
|
26
|
-
const rootFontSize = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
27
|
-
return remValue * rootFontSize;
|
|
28
|
-
}
|
|
29
|
-
return parseFloat(value);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const Dropdown = ({
|
|
33
|
-
options,
|
|
34
|
-
onChange,
|
|
35
|
-
value,
|
|
36
|
-
width = '32rem',
|
|
37
|
-
menuHeight = '32rem',
|
|
38
|
-
placeholder,
|
|
39
|
-
theme = 'blue',
|
|
40
|
-
isLoading,
|
|
41
|
-
isDisabled,
|
|
42
|
-
loaderColor,
|
|
43
|
-
searchable = false,
|
|
44
|
-
onLoadMore,
|
|
45
|
-
hasMore = false,
|
|
46
|
-
isLoadingMore = false,
|
|
47
|
-
searchPh = 'Search...',
|
|
48
|
-
...rest
|
|
49
|
-
}) => {
|
|
50
|
-
const [isOpen, setOpen] = useState(false);
|
|
51
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
52
|
-
const [position, setPosition] = useState('bottom');
|
|
53
|
-
const [searchQuery, setSearchQuery] = useState('');
|
|
54
|
-
const [activeIndex, setActiveIndex] = useState(-1);
|
|
55
|
-
|
|
56
|
-
const listboxId = useId();
|
|
57
|
-
|
|
58
|
-
const containerRef = useRef(null);
|
|
59
|
-
const menuRef = useRef(null);
|
|
60
|
-
const searchInputRef = useRef(null);
|
|
61
|
-
const sentinelRef = useRef(null);
|
|
62
|
-
const isInitialOpen = useRef(true);
|
|
63
|
-
|
|
64
|
-
const toggle = () => !isLoading && !isDisabled && setOpen((prev) => !prev);
|
|
65
|
-
|
|
66
|
-
const handleChange = (val) => {
|
|
67
|
-
if (val !== value) {
|
|
68
|
-
onChange(val);
|
|
69
|
-
setOpen(false);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const filteredOptions = useMemo(() => {
|
|
74
|
-
if (!searchable || !searchQuery.trim()) return options;
|
|
75
|
-
const q = searchQuery.toLowerCase();
|
|
76
|
-
return options.filter(({ label }) => label.toLowerCase().includes(q));
|
|
77
|
-
}, [options, searchQuery, searchable]);
|
|
78
|
-
|
|
79
|
-
useEffect(() => {
|
|
80
|
-
if (isOpen) {
|
|
81
|
-
const selectedIndex = filteredOptions.findIndex((opt) => opt.value === value);
|
|
82
|
-
|
|
83
|
-
if (selectedIndex !== -1 && !filteredOptions[selectedIndex].disabled) {
|
|
84
|
-
setActiveIndex(selectedIndex);
|
|
85
|
-
} else {
|
|
86
|
-
const firstEnabled = filteredOptions.findIndex((opt) => !opt.disabled);
|
|
87
|
-
setActiveIndex(firstEnabled);
|
|
88
|
-
}
|
|
89
|
-
} else {
|
|
90
|
-
setSearchQuery('');
|
|
91
|
-
setActiveIndex(-1);
|
|
92
|
-
}
|
|
93
|
-
}, [isOpen, searchQuery, filteredOptions, value]);
|
|
94
|
-
|
|
95
|
-
useEffect(() => {
|
|
96
|
-
if (isOpen && activeIndex !== -1 && menuRef.current) {
|
|
97
|
-
const highlightedElement = menuRef.current.children[activeIndex];
|
|
98
|
-
if (highlightedElement) {
|
|
99
|
-
highlightedElement.scrollIntoView({
|
|
100
|
-
block: 'nearest',
|
|
101
|
-
behavior: 'auto',
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}, [activeIndex, isOpen]);
|
|
106
|
-
|
|
107
|
-
useEffect(() => {
|
|
108
|
-
if (isOpen && searchable && searchInputRef.current) {
|
|
109
|
-
searchInputRef.current.focus();
|
|
110
|
-
}
|
|
111
|
-
}, [isOpen, searchable]);
|
|
112
|
-
|
|
113
|
-
useEffect(() => {
|
|
114
|
-
if (!isOpen) isInitialOpen.current = true;
|
|
115
|
-
}, [isOpen]);
|
|
116
|
-
|
|
117
|
-
useEffect(() => {
|
|
118
|
-
const handleOutsideClick = (event) => {
|
|
119
|
-
if (containerRef.current && !containerRef.current.contains(event.target)) {
|
|
120
|
-
setOpen(false);
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
document.addEventListener('mousedown', handleOutsideClick);
|
|
124
|
-
return () => document.removeEventListener('mousedown', handleOutsideClick);
|
|
125
|
-
}, []);
|
|
126
|
-
|
|
127
|
-
useLayoutEffect(() => {
|
|
128
|
-
if (isOpen && menuRef.current && containerRef.current) {
|
|
129
|
-
const containerRect = containerRef.current.getBoundingClientRect();
|
|
130
|
-
const viewportHeight = window.innerHeight;
|
|
131
|
-
const parsedMenuHeight = getPixelValue(menuHeight);
|
|
132
|
-
const spaceBelow = viewportHeight - containerRect.bottom;
|
|
133
|
-
const buffer = 8;
|
|
134
|
-
setPosition(
|
|
135
|
-
spaceBelow < parsedMenuHeight + buffer && containerRect.top > spaceBelow ? 'top' : 'bottom'
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
}, [isOpen, menuHeight]);
|
|
139
|
-
|
|
140
|
-
const getNextEnabledIndex = (currentIndex) => {
|
|
141
|
-
let next = currentIndex + 1;
|
|
142
|
-
while (next < filteredOptions.length) {
|
|
143
|
-
if (!filteredOptions[next].disabled) return next;
|
|
144
|
-
next++;
|
|
145
|
-
}
|
|
146
|
-
return currentIndex;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
const getPrevEnabledIndex = (currentIndex) => {
|
|
150
|
-
let prev = currentIndex - 1;
|
|
151
|
-
while (prev >= 0) {
|
|
152
|
-
if (!filteredOptions[prev].disabled) return prev;
|
|
153
|
-
prev--;
|
|
154
|
-
}
|
|
155
|
-
return currentIndex;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
const handleKeyDown = (e) => {
|
|
159
|
-
if (isLoading || isDisabled) return;
|
|
160
|
-
if (!isOpen) {
|
|
161
|
-
if (e.key === ' ' || e.key === 'Enter' || e.key === 'ArrowDown' || e.key === 'ArrowUp') {
|
|
162
|
-
e.preventDefault();
|
|
163
|
-
setOpen(true);
|
|
164
|
-
}
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
switch (e.key) {
|
|
169
|
-
case 'ArrowDown':
|
|
170
|
-
e.preventDefault();
|
|
171
|
-
const nextIndex = getNextEnabledIndex(activeIndex);
|
|
172
|
-
|
|
173
|
-
if (nextIndex === activeIndex && hasMore && !isLoadingMore) {
|
|
174
|
-
onLoadMore?.();
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
setActiveIndex(nextIndex);
|
|
178
|
-
break;
|
|
179
|
-
case 'ArrowUp':
|
|
180
|
-
e.preventDefault();
|
|
181
|
-
setActiveIndex((prev) => getPrevEnabledIndex(prev));
|
|
182
|
-
break;
|
|
183
|
-
case 'Enter':
|
|
184
|
-
e.preventDefault();
|
|
185
|
-
const selectedOption = filteredOptions[activeIndex];
|
|
186
|
-
if (selectedOption && !selectedOption.disabled) {
|
|
187
|
-
handleChange(selectedOption.value);
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
case 'Escape':
|
|
191
|
-
setOpen(false);
|
|
192
|
-
break;
|
|
193
|
-
default:
|
|
194
|
-
break;
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
const handleLoadMore = useCallback(() => {
|
|
199
|
-
if (hasMore && !isLoadingMore && onLoadMore) {
|
|
200
|
-
onLoadMore();
|
|
201
|
-
}
|
|
202
|
-
}, [hasMore, isLoadingMore, onLoadMore]);
|
|
203
|
-
|
|
204
|
-
useEffect(() => {
|
|
205
|
-
const sentinel = sentinelRef.current;
|
|
206
|
-
if (!sentinel || !onLoadMore || !hasMore) return;
|
|
207
|
-
|
|
208
|
-
const observer = new IntersectionObserver(
|
|
209
|
-
([entry]) => {
|
|
210
|
-
// Use isIntersecting AND check if it's actually visible
|
|
211
|
-
if (entry.isIntersecting && !isLoadingMore) {
|
|
212
|
-
handleLoadMore();
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
root: menuRef.current, // Observe relative to the scrollable container
|
|
217
|
-
threshold: 0.1,
|
|
218
|
-
rootMargin: '20px', // Start loading 20px before the user even hits the bottom
|
|
219
|
-
}
|
|
220
|
-
);
|
|
221
|
-
|
|
222
|
-
observer.observe(sentinel);
|
|
223
|
-
return () => observer.disconnect();
|
|
224
|
-
}, [handleLoadMore, onLoadMore, hasMore, isLoadingMore]);
|
|
225
|
-
|
|
226
|
-
const {
|
|
227
|
-
m50: hoverColor,
|
|
228
|
-
m100: activeColor,
|
|
229
|
-
m200: selectedColor,
|
|
230
|
-
m500: border,
|
|
231
|
-
} = colors[theme] ?? blue;
|
|
232
|
-
|
|
233
|
-
const mouseHighlight = (disabled, index) => () => !disabled && setActiveIndex(index);
|
|
234
|
-
|
|
235
|
-
const getOptionId = (index) => `${listboxId}-opt-${index}`;
|
|
236
|
-
|
|
237
|
-
const renderOption = ({ value: val, label, disabled }, index) => (
|
|
238
|
-
<MenuItem
|
|
239
|
-
{...{ value: val, label, isDisabled: disabled }}
|
|
240
|
-
onSelect={handleChange}
|
|
241
|
-
onMouseEnter={mouseHighlight(disabled, index)}
|
|
242
|
-
isSelected={val === value}
|
|
243
|
-
isHighlighted={index === activeIndex}
|
|
244
|
-
key={val}
|
|
245
|
-
id={getOptionId(index)}
|
|
246
|
-
width={width}
|
|
247
|
-
{...{ selectedColor, hoverColor, activeColor }}
|
|
248
|
-
/>
|
|
249
|
-
);
|
|
250
|
-
|
|
251
|
-
const changeFocus = (focus) => () => {
|
|
252
|
-
setIsFocused(focus);
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
const handleBlur = (e) => {
|
|
256
|
-
setIsFocused(false);
|
|
257
|
-
if (!containerRef.current?.contains(e.relatedTarget)) {
|
|
258
|
-
setOpen(false);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
const handleSearch = (e) => {
|
|
263
|
-
setSearchQuery(e.target.value);
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
const onSearchClick = (e) => {
|
|
267
|
-
e.stopPropagation();
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
return (
|
|
271
|
-
<DropdownWrapper
|
|
272
|
-
ref={containerRef}
|
|
273
|
-
$width={width}
|
|
274
|
-
{...rest}
|
|
275
|
-
tabIndex={isDisabled || isLoading ? -1 : 0}
|
|
276
|
-
onKeyDown={handleKeyDown}
|
|
277
|
-
$isLoading={isLoading}
|
|
278
|
-
$isDisabled={isDisabled}
|
|
279
|
-
role='combobox'
|
|
280
|
-
aria-expanded={isOpen}
|
|
281
|
-
aria-haspopup='listbox'
|
|
282
|
-
aria-controls={listboxId}
|
|
283
|
-
aria-disabled={isDisabled || undefined}
|
|
284
|
-
aria-activedescendant={activeIndex !== -1 ? getOptionId(activeIndex) : undefined}
|
|
285
|
-
onFocus={changeFocus(true)}
|
|
286
|
-
onBlur={handleBlur}
|
|
287
|
-
>
|
|
288
|
-
<Box
|
|
289
|
-
$width={width}
|
|
290
|
-
onClick={toggle}
|
|
291
|
-
$isOpen={isOpen}
|
|
292
|
-
$border={border}
|
|
293
|
-
$isFocused={isFocused && !isOpen}
|
|
294
|
-
>
|
|
295
|
-
<PWrapper $width={width} color={!!value ? grey.m700 : grey.m500} size='1.92rem'>
|
|
296
|
-
{value ? options.find(({ value: opt }) => value === opt)?.label : placeholder}
|
|
297
|
-
</PWrapper>
|
|
298
|
-
<ChevronDownWrapper color={grey.m500} size={22} $isOpen={isOpen} aria-hidden />
|
|
299
|
-
</Box>
|
|
300
|
-
<OptionWrapper $isOpen={isOpen} $width={width} $height={menuHeight} $top={position === 'top'}>
|
|
301
|
-
{searchable && (
|
|
302
|
-
<SearchContainer onClick={onSearchClick}>
|
|
303
|
-
<SearchIcon size={20} color={grey.m600} aria-hidden />
|
|
304
|
-
<SearchInput
|
|
305
|
-
ref={searchInputRef}
|
|
306
|
-
value={searchQuery}
|
|
307
|
-
onChange={handleSearch}
|
|
308
|
-
placeholder={searchPh}
|
|
309
|
-
aria-label={searchPh}
|
|
310
|
-
aria-controls={listboxId}
|
|
311
|
-
aria-autocomplete='list'
|
|
312
|
-
aria-expanded={isOpen}
|
|
313
|
-
role='combobox'
|
|
314
|
-
tabIndex={isOpen ? 0 : -1}
|
|
315
|
-
/>
|
|
316
|
-
</SearchContainer>
|
|
317
|
-
)}
|
|
318
|
-
<OptionsList ref={menuRef} role='listbox' id={listboxId} tabIndex={-1}>
|
|
319
|
-
{filteredOptions.map(renderOption)}
|
|
320
|
-
{onLoadMore && (
|
|
321
|
-
<LoadMoreSentinel ref={sentinelRef}>
|
|
322
|
-
{isLoadingMore && <Spinner size='small' color={loaderColor} />}
|
|
323
|
-
</LoadMoreSentinel>
|
|
324
|
-
)}
|
|
325
|
-
</OptionsList>
|
|
326
|
-
</OptionWrapper>
|
|
327
|
-
{isLoading && (
|
|
328
|
-
<SpinnerWrapper>
|
|
329
|
-
<Spinner size='small' color={loaderColor} />
|
|
330
|
-
</SpinnerWrapper>
|
|
331
|
-
)}
|
|
332
|
-
</DropdownWrapper>
|
|
333
|
-
);
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
export default Dropdown;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import styled, { css, keyframes } from 'styled-components';
|
|
2
|
-
import grey from '../../colors/grey';
|
|
3
|
-
import P from '../Typography/P';
|
|
4
|
-
import ChevronDown from '../Icons/ChevronDown';
|
|
5
|
-
import Search from '../Icons/Search';
|
|
6
|
-
import { DEFAULT_BORDER } from './constants';
|
|
7
|
-
import white from '../../colors/white';
|
|
8
|
-
|
|
9
|
-
const rotate = keyframes`
|
|
10
|
-
from {
|
|
11
|
-
transform: rotate(0deg);
|
|
12
|
-
}
|
|
13
|
-
to {
|
|
14
|
-
transform: rotate(180deg);
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
|
|
18
|
-
const reverse = keyframes`
|
|
19
|
-
from {
|
|
20
|
-
transform: rotate(180deg);
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
transform: rotate(0deg);
|
|
24
|
-
}
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
export const DropdownWrapper = styled.div`
|
|
28
|
-
max-width: ${({ $width }) => $width};
|
|
29
|
-
position: relative;
|
|
30
|
-
outline: none;
|
|
31
|
-
|
|
32
|
-
${({ $isLoading }) =>
|
|
33
|
-
$isLoading &&
|
|
34
|
-
css`
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
opacity: 0.8;
|
|
37
|
-
`}
|
|
38
|
-
|
|
39
|
-
${({ $isDisabled }) =>
|
|
40
|
-
$isDisabled &&
|
|
41
|
-
css`
|
|
42
|
-
pointer-events: none;
|
|
43
|
-
opacity: 0.7;
|
|
44
|
-
`}
|
|
45
|
-
`;
|
|
46
|
-
|
|
47
|
-
export const Box = styled.div`
|
|
48
|
-
height: 3.2rem;
|
|
49
|
-
width: ${({ $width }) => $width};
|
|
50
|
-
border-radius: 0.96rem;
|
|
51
|
-
border: ${({ $isOpen, $isFocused, $border }) =>
|
|
52
|
-
$isOpen || $isFocused ? `2px solid ${$border}` : `1px solid ${DEFAULT_BORDER}`};
|
|
53
|
-
padding: 0.64rem 0.96rem 0.64rem;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
justify-content: space-between;
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
`;
|
|
59
|
-
|
|
60
|
-
export const PWrapper = styled(P)`
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
max-width: calc(${({ $width }) => $width} - 3.2rem);
|
|
65
|
-
pointer-events: none;
|
|
66
|
-
`;
|
|
67
|
-
|
|
68
|
-
export const ChevronDownWrapper = styled(ChevronDown)`
|
|
69
|
-
animation: ${({ $isOpen }) => ($isOpen ? rotate : reverse)} 0.15s linear;
|
|
70
|
-
transform: rotate(${({ $isOpen }) => ($isOpen ? 180 : 0)}deg);
|
|
71
|
-
`;
|
|
72
|
-
|
|
73
|
-
export const OptionWrapper = styled.div`
|
|
74
|
-
border: 1px solid ${grey.m700};
|
|
75
|
-
width: calc(${({ $width }) => $width} + 1.6rem);
|
|
76
|
-
/* Remove overflow: auto from here */
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
position: absolute;
|
|
80
|
-
z-index: 1000;
|
|
81
|
-
background-color: ${white};
|
|
82
|
-
left: 0.24rem;
|
|
83
|
-
max-height: 0;
|
|
84
|
-
transition: max-height 0.15s ease-out;
|
|
85
|
-
opacity: 0;
|
|
86
|
-
overflow: hidden; /* Keep this hidden so the collapse works */
|
|
87
|
-
|
|
88
|
-
${({ $isOpen }) =>
|
|
89
|
-
$isOpen &&
|
|
90
|
-
css`
|
|
91
|
-
max-height: ${({ $height }) => $height};
|
|
92
|
-
opacity: 1;
|
|
93
|
-
`};
|
|
94
|
-
|
|
95
|
-
${({ $top }) =>
|
|
96
|
-
$top
|
|
97
|
-
? css`
|
|
98
|
-
bottom: 100%;
|
|
99
|
-
flex-direction: column-reverse; /* Search at bottom if menu opens upward */
|
|
100
|
-
border-top-right-radius: 0.96rem;
|
|
101
|
-
border-top-left-radius: 0.96rem;
|
|
102
|
-
margin-bottom: 0.16rem;
|
|
103
|
-
`
|
|
104
|
-
: css`
|
|
105
|
-
top: 100%;
|
|
106
|
-
border-bottom-right-radius: 0.96rem;
|
|
107
|
-
border-bottom-left-radius: 0.96rem;
|
|
108
|
-
margin-top: 0.16rem;
|
|
109
|
-
`}
|
|
110
|
-
`;
|
|
111
|
-
|
|
112
|
-
// Add a new styled component for the scrollable area
|
|
113
|
-
export const OptionsList = styled.div`
|
|
114
|
-
overflow-y: auto;
|
|
115
|
-
flex: 1;
|
|
116
|
-
`;
|
|
117
|
-
|
|
118
|
-
export const SpinnerWrapper = styled.div`
|
|
119
|
-
position: absolute;
|
|
120
|
-
top: 1.28rem;
|
|
121
|
-
right: 1.92rem;
|
|
122
|
-
`;
|
|
123
|
-
|
|
124
|
-
export const SearchContainer = styled.div`
|
|
125
|
-
position: relative;
|
|
126
|
-
display: flex;
|
|
127
|
-
align-items: center;
|
|
128
|
-
border-bottom: 1px solid ${grey.m300};
|
|
129
|
-
background: ${white};
|
|
130
|
-
|
|
131
|
-
&:focus-within {
|
|
132
|
-
border-bottom-color: ${grey.m500};
|
|
133
|
-
}
|
|
134
|
-
`;
|
|
135
|
-
|
|
136
|
-
export const SearchInput = styled.input`
|
|
137
|
-
width: 100%;
|
|
138
|
-
box-sizing: border-box;
|
|
139
|
-
border: none;
|
|
140
|
-
/* Add left padding to make room for the icon */
|
|
141
|
-
padding: 0.8rem 1.2rem 0.8rem 0;
|
|
142
|
-
font-size: 1.92rem;
|
|
143
|
-
color: ${grey.m700};
|
|
144
|
-
background: transparent;
|
|
145
|
-
outline: none;
|
|
146
|
-
|
|
147
|
-
&::placeholder {
|
|
148
|
-
color: ${grey.m400};
|
|
149
|
-
}
|
|
150
|
-
`;
|
|
151
|
-
|
|
152
|
-
export const SearchIcon = styled(Search)`
|
|
153
|
-
margin: 0 1.28rem;
|
|
154
|
-
`;
|
|
155
|
-
|
|
156
|
-
export const LoadMoreSentinel = styled.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
align-items: center;
|
|
160
|
-
padding: 1.6rem 0;
|
|
161
|
-
min-height: 1.6rem;
|
|
162
|
-
width: 100%;
|
|
163
|
-
`;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export const GlassWrapper = styled.div`
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
-
border-radius: ${({ $borderRadius }) => $borderRadius};
|
|
7
|
-
position: relative;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
|
|
11
|
-
background:
|
|
12
|
-
radial-gradient(
|
|
13
|
-
60rem 22rem at 50% 45%,
|
|
14
|
-
rgba(20, 40, 20, 0.06),
|
|
15
|
-
rgba(10, 25, 10, 0.02) 50%,
|
|
16
|
-
transparent 70%
|
|
17
|
-
),
|
|
18
|
-
linear-gradient(
|
|
19
|
-
180deg,
|
|
20
|
-
rgba(255, 255, 255, 0.18) 0%,
|
|
21
|
-
rgba(255, 255, 255, 0.06) 40%,
|
|
22
|
-
rgba(255, 255, 255, 0.03) 100%
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
box-shadow:
|
|
26
|
-
0 3rem 6rem rgba(7, 22, 10, 0.3),
|
|
27
|
-
0 2px 0 rgba(255, 255, 255, 0.03) inset;
|
|
28
|
-
|
|
29
|
-
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
30
|
-
color: rgba(8, 34, 16, 0.95);
|
|
31
|
-
|
|
32
|
-
::before {
|
|
33
|
-
content: '';
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: -12%;
|
|
36
|
-
top: -24%;
|
|
37
|
-
width: 62%;
|
|
38
|
-
height: 62%;
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
background: radial-gradient(
|
|
41
|
-
circle,
|
|
42
|
-
rgba(255, 255, 255, 0.24),
|
|
43
|
-
rgba(255, 255, 255, 0.06) 40%,
|
|
44
|
-
transparent 60%
|
|
45
|
-
);
|
|
46
|
-
filter: blur(4.6rem);
|
|
47
|
-
opacity: 0.85;
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
transform: translateZ(0);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
::after {
|
|
53
|
-
content: '';
|
|
54
|
-
position: absolute;
|
|
55
|
-
right: -6%;
|
|
56
|
-
bottom: -18%;
|
|
57
|
-
width: 68%;
|
|
58
|
-
height: 68%;
|
|
59
|
-
border-radius: 50%;
|
|
60
|
-
background: radial-gradient(
|
|
61
|
-
circle at 30% 40%,
|
|
62
|
-
rgba(255, 255, 255, 0.08),
|
|
63
|
-
rgba(255, 255, 255, 0.01) 40%,
|
|
64
|
-
transparent 70%
|
|
65
|
-
);
|
|
66
|
-
filter: blur(5.4rem);
|
|
67
|
-
opacity: 0.45;
|
|
68
|
-
pointer-events: none;
|
|
69
|
-
transform: translateZ(0);
|
|
70
|
-
}
|
|
71
|
-
`;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
const Add = ({ size = 24, color = 'currentColor', ...props }) => (
|
|
2
|
-
<svg
|
|
3
|
-
width={size}
|
|
4
|
-
height={size}
|
|
5
|
-
viewBox='0 0 24 24'
|
|
6
|
-
fill='none'
|
|
7
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
8
|
-
{...props}
|
|
9
|
-
>
|
|
10
|
-
<title />
|
|
11
|
-
|
|
12
|
-
<g>
|
|
13
|
-
<g data-name='add'>
|
|
14
|
-
<g>
|
|
15
|
-
<line
|
|
16
|
-
fill='none'
|
|
17
|
-
stroke={color}
|
|
18
|
-
strokeLinecap='round'
|
|
19
|
-
strokeLinejoin='round'
|
|
20
|
-
strokeWidth='2'
|
|
21
|
-
x1='12'
|
|
22
|
-
x2='12'
|
|
23
|
-
y1='19'
|
|
24
|
-
y2='5'
|
|
25
|
-
/>
|
|
26
|
-
|
|
27
|
-
<line
|
|
28
|
-
fill='none'
|
|
29
|
-
stroke={color}
|
|
30
|
-
strokeLinecap='round'
|
|
31
|
-
strokeLinejoin='round'
|
|
32
|
-
strokeWidth='2'
|
|
33
|
-
x1='5'
|
|
34
|
-
x2='19'
|
|
35
|
-
y1='12'
|
|
36
|
-
y2='12'
|
|
37
|
-
/>
|
|
38
|
-
</g>
|
|
39
|
-
</g>
|
|
40
|
-
</g>
|
|
41
|
-
</svg>
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
export default Add;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Add';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const AddCircle = ({ size = 24, color = 'currentColor', ...props }) => (
|
|
2
|
-
<svg
|
|
3
|
-
width={size}
|
|
4
|
-
height={size}
|
|
5
|
-
viewBox='0 0 24 24'
|
|
6
|
-
fill='none'
|
|
7
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
8
|
-
{...props}
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
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'
|
|
12
|
-
fill={color}
|
|
13
|
-
/>
|
|
14
|
-
<path
|
|
15
|
-
fillRule='evenodd'
|
|
16
|
-
clipRule='evenodd'
|
|
17
|
-
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'
|
|
18
|
-
fill={color}
|
|
19
|
-
/>
|
|
20
|
-
</svg>
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
export default AddCircle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AddCircle';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const AddCircleFilled = ({ size = 24, color = 'currentColor', ...props }) => (
|
|
2
|
-
<svg
|
|
3
|
-
width={size}
|
|
4
|
-
height={size}
|
|
5
|
-
viewBox='0 0 24 24'
|
|
6
|
-
fill='none'
|
|
7
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
8
|
-
{...props}
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
fillRule='evenodd'
|
|
12
|
-
clipRule='evenodd'
|
|
13
|
-
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'
|
|
14
|
-
fill={color}
|
|
15
|
-
/>
|
|
16
|
-
</svg>
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
export default AddCircleFilled;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AddCircleFilled';
|