@evolve.ui/core-components 1.0.1 → 1.1.0
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/evolve-ui.entries.json +556 -0
- package/fileUpload/testUtils/mockFilesAndImages.d.cts +3 -3
- package/fileUpload/testUtils/mockFilesAndImages.d.cts.map +1 -1
- package/fileUpload/testUtils/mockFilesAndImages.d.mts +3 -3
- package/fileUpload/testUtils/mockFilesAndImages.d.mts.map +1 -1
- package/fileUpload/testUtils/testUtils.d.cts +1 -1
- package/fileUpload/testUtils/testUtils.d.cts.map +1 -1
- package/fileUpload/testUtils/testUtils.d.mts +1 -1
- package/fileUpload/testUtils/testUtils.d.mts.map +1 -1
- package/package.json +2 -2
- package/src/Accordion/Accordion.tsx +233 -0
- package/src/AddressDisplay/AddressDisplay.tsx +43 -0
- package/src/AddressDisplay/components/addressComponents.tsx +111 -0
- package/src/AddressDisplay/components/addressField.tsx +25 -0
- package/src/AddressDisplay/components/addressSection.tsx +8 -0
- package/src/AddressDisplay/components/getCountryValue.tsx +31 -0
- package/src/AddressDisplay/types.ts +26 -0
- package/src/AutomatedCarousel/AutomatedCarousel.tsx +163 -0
- package/src/AutomatedCarousel/automatedCarousel.types.ts +7 -0
- package/src/AutomatedCarousel/components/CarouselProgressBar/CarouselProgressBar.tsx +139 -0
- package/src/AutomatedCarousel/components/CarouselProgressBar/components/CarouselProgressBarUnit/CarouselProgressBarUnit.tsx +165 -0
- package/src/Badge/Badge.tsx +104 -0
- package/src/Badge/Badge.types.ts +58 -0
- package/src/Badge/ItemBadge.tsx +97 -0
- package/src/Badge/LiveStatusBadge.tsx +93 -0
- package/src/BannerNotification/BannerNotification.tsx +157 -0
- package/src/BannerNotification/components/BannerNotificationSkeleton.tsx +39 -0
- package/src/BannerNotification/components/CalloutIcon/BannerIcon.tsx +48 -0
- package/src/BannerNotification/utils/getRandomTooltipId.ts +3 -0
- package/src/BottomSheet/BottomSheet.tsx +476 -0
- package/src/BottomSheet/components/BottomSheetBackdrop/BottomSheetBackdrop.tsx +47 -0
- package/src/BottomSheet/components/BottomSheetContentArea/BottomSheetContentArea.tsx +92 -0
- package/src/BottomSheet/components/BottomSheetOverlay/BottomSheetOverlayTranslate3d.tsx +196 -0
- package/src/BottomSheet/components/SheetDescription/SheetDescription.tsx +22 -0
- package/src/BottomSheet/components/SheetTitle/SheetTitle.tsx +21 -0
- package/src/BottomSheet/components/index.tsx +5 -0
- package/src/BottomSheet/hooks/index.tsx +13 -0
- package/src/BottomSheet/hooks/useAriaHider.tsx +91 -0
- package/src/BottomSheet/hooks/useBottomSheetServices.tsx +224 -0
- package/src/BottomSheet/hooks/useDragHandler.tsx +282 -0
- package/src/BottomSheet/hooks/useFocusTrap.tsx +113 -0
- package/src/BottomSheet/hooks/useLayoutEffect.tsx +4 -0
- package/src/BottomSheet/hooks/useOptimizedResizeObserver.tsx +94 -0
- package/src/BottomSheet/hooks/useOptimizedScrollState.tsx +87 -0
- package/src/BottomSheet/hooks/useReady.tsx +34 -0
- package/src/BottomSheet/hooks/useReducedMotion.tsx +22 -0
- package/src/BottomSheet/hooks/useScrollLock.tsx +143 -0
- package/src/BottomSheet/hooks/useSnapPoints.tsx +355 -0
- package/src/BottomSheet/hooks/useSpring.tsx +47 -0
- package/src/BottomSheet/hooks/useSpringInterpolationsTranslate3d.tsx +101 -0
- package/src/BottomSheet/index.tsx +237 -0
- package/src/BottomSheet/state/atoms.ts +147 -0
- package/src/BottomSheet/state/useBottomSheetStateMachine.ts +246 -0
- package/src/BottomSheet/types.ts +172 -0
- package/src/BottomSheet/utils.ts +65 -0
- package/src/Breadcrumbs/Breadcrumbs.tsx +126 -0
- package/src/Button/Button.tsx +164 -0
- package/src/Button/Button.types.ts +80 -0
- package/src/Button/buttonColorClasses.ts +53 -0
- package/src/Callout/Callout.tsx +136 -0
- package/src/Callout/Callout.types.ts +29 -0
- package/src/Callout/components/CalloutIcon/CalloutIcon.tsx +56 -0
- package/src/Card/CardGrid.tsx +263 -0
- package/src/Card/SingleCard.tsx +22 -0
- package/src/Card/cardFactory.tsx +176 -0
- package/src/Card/components/createBadge.tsx +34 -0
- package/src/Card/components/createFavoriteButton.tsx +40 -0
- package/src/Card/components/createImage.tsx +64 -0
- package/src/Card/components/createInfo.tsx +84 -0
- package/src/Card/components/createName.tsx +63 -0
- package/src/Card/components/createPriceStatus.tsx +100 -0
- package/src/Card/components/types.ts +4 -0
- package/src/Card/hooks/useCardVisibilityTracking.ts +82 -0
- package/src/Card/sharedProps.ts +12 -0
- package/src/Card/types.ts +62 -0
- package/src/Carousel/Carousel.tsx +513 -0
- package/src/Carousel/Carousel.types.ts +43 -0
- package/src/Carousel/Carousel.utils.ts +63 -0
- package/src/Carousel/components/DotButton/DotButton.tsx +42 -0
- package/src/Carousel/components/NavigationButtons/NavigationButtons.tsx +77 -0
- package/src/Carousel/components/TitleSection/TitleSection.tsx +61 -0
- package/src/Carousel/components/TitleSection/components/SubHeaderLeft/SubHeaderLeft.tsx +53 -0
- package/src/Carousel/components/TitleSection/components/Title/Title.tsx +46 -0
- package/src/Carousel/index.ts +2 -0
- package/src/Carousel/testUtils.ts +10 -0
- package/src/Chips/Chip.tsx +153 -0
- package/src/Chips/ChipGroup.tsx +173 -0
- package/src/Chips/SuggestionChip.tsx +15 -0
- package/src/Chips/chipTypes.ts +113 -0
- package/src/Chips/index.ts +4 -0
- package/src/ChoiceListItem/Checkbox.tsx +69 -0
- package/src/ChoiceListItem/Radio.tsx +61 -0
- package/src/ChoiceListItem/choiceListItem.tsx +99 -0
- package/src/ChoiceListItem/common.tsx +148 -0
- package/src/ChoiceListItem/index.ts +3 -0
- package/src/Collapsible/Collapsible.tsx +58 -0
- package/src/Confetti/Confetti.tsx +270 -0
- package/src/Confetti/index.ts +2 -0
- package/src/ContentPager/ContentPager.tsx +189 -0
- package/src/ContentPager/components/Page.tsx +24 -0
- package/src/CookieConsent/components/CookieCategoryRow/CookieCategoryRow.tsx +30 -0
- package/src/CookieConsent/components/CookieConsent/CookieConsent.tsx +74 -0
- package/src/CookieConsent/components/CookieConsentBanner/CookieConsentBanner.tsx +51 -0
- package/src/CookieConsent/components/CookieConsentModal/CookieConsentModal.tsx +64 -0
- package/src/CookieConsent/hooks/useCookieConsent.ts +170 -0
- package/src/CookieConsent/hooks/useCookieConsentState.ts +142 -0
- package/src/CookieConsent/index.ts +16 -0
- package/src/CookieConsent/types/cookieConsent.types.ts +79 -0
- package/src/CookieConsent/types/index.ts +7 -0
- package/src/Countdown/Countdown.tsx +161 -0
- package/src/Countdown/Countdown.types.ts +4 -0
- package/src/Countdown/hooks/useGetCountdown.ts +103 -0
- package/src/DateTimeInput/dateInput/DateInput.tsx +199 -0
- package/src/DateTimeInput/datePicker/DatePicker.tsx +138 -0
- package/src/DateTimeInput/datePicker/components/calendar/Calendar.tsx +72 -0
- package/src/DateTimeInput/datePicker/index.ts +2 -0
- package/src/DateTimeInput/timeInput/TimeInput.tsx +128 -0
- package/src/DateTimeInput/timePicker/TimePicker.tsx +118 -0
- package/src/DateTimeInput/timePicker/components/TimePopover/AmPmSwitch.tsx +103 -0
- package/src/DateTimeInput/timePicker/components/TimePopover/TimeFieldInput.tsx +26 -0
- package/src/DateTimeInput/timePicker/components/TimePopover/TimePopover.tsx +84 -0
- package/src/DateTimeInput/timePicker/components/TimePopover/TimePopover.utils.ts +67 -0
- package/src/DateTimeInput/timePicker/components/TimePopover/TimePopoverActions.tsx +26 -0
- package/src/DateTimeInput/timePicker/index.ts +2 -0
- package/src/DateTimeInput/utils/getDisplayDate.ts +15 -0
- package/src/DateTimeInput/utils/getDisplayTime.ts +15 -0
- package/src/DateTimeInput/utils/index.ts +2 -0
- package/src/DateTimeInput/utils/parseTimeValue.ts +54 -0
- package/src/Drawer/Drawer.tsx +446 -0
- package/src/Drawer/atoms.ts +4 -0
- package/src/Drawer/components/DialogActions/DialogActions.tsx +33 -0
- package/src/Drawer/components/DialogContent/DialogContent.tsx +80 -0
- package/src/Drawer/components/DialogHeader/DialogHeader.tsx +68 -0
- package/src/EducationalPopover/EducationalPopover.tsx +174 -0
- package/src/FavoriteButton/FavoriteButton.tsx +64 -0
- package/src/FavoriteButton/components/IconOnlyFavoriteButton/IconOnlyFavoriteButton.tsx +80 -0
- package/src/FavoriteButton/components/LabeledAnimatedFavoriteButton/LabeledAnimatedFavoriteButton.tsx +179 -0
- package/src/FavoriteButton/components/LabeledFavoriteButton/LabeledFavoriteButton.tsx +71 -0
- package/src/FavoriteButton/components/SmallHeartStraightIcon/SmallHeartStraightIcon.tsx +14 -0
- package/src/FavoriteButton/hooks/useFavoriteButtonState.ts +30 -0
- package/src/FavoriteButton/index.ts +2 -0
- package/src/FavoriteButton/types/favoriteButton.ts +87 -0
- package/src/FeatureFlags/devTools/FeatureFlagDevToolsUI.tsx +226 -0
- package/src/FeatureFlags/devTools/getFeatureFlagCookieOverrides.ts +30 -0
- package/src/FeatureFlags/devTools/utils/cookies.ts +169 -0
- package/src/FeatureFlags/hooks/index.ts +2 -0
- package/src/FeatureFlags/hooks/useFeatureFlag.tsx +19 -0
- package/src/FeatureFlags/hooks/useFeatureFlags.tsx +15 -0
- package/src/FileUpload/components/FileCard/FileCard.tsx +50 -0
- package/src/FileUpload/components/FileDropzone/FileDropzone.tsx +221 -0
- package/src/FileUpload/components/FileDropzone/components/DropzoneContent/DropzoneContent.tsx +28 -0
- package/src/FileUpload/components/FileDropzone/components/DropzoneContent/DropzoneText.tsx +81 -0
- package/src/FileUpload/components/FileDropzone/components/FileDropzoneDebugger/FileDropzoneDebugger.tsx +40 -0
- package/src/FileUpload/components/FileDropzone/components/FileDropzoneDebugger/FileRejectionsDisplay.tsx +110 -0
- package/src/FileUpload/components/FileDropzoneOverlay/FileDropzoneOverlay.tsx +183 -0
- package/src/FileUpload/components/FileDropzoneOverlay/components/OverlayDropzoneContent.tsx +146 -0
- package/src/FileUpload/components/FileDropzoneOverlay/components/OverlayDropzoneDragText.tsx +42 -0
- package/src/FileUpload/components/FileDropzoneOverlay/styles.ts +79 -0
- package/src/FileUpload/components/FilePreviewList/FilePreviewList.tsx +251 -0
- package/src/FileUpload/components/FilePreviewList/virtualizerComponents/FilePreviewVirtualizedList/FilePreviewVirtualizedList.tsx +88 -0
- package/src/FileUpload/components/FileUpload/FileUpload.tsx +63 -0
- package/src/FileUpload/components/FileUploadCanvas/FileUploadCanvas.tsx +125 -0
- package/src/FileUpload/components/GridFileCard/GridFileCard.tsx +364 -0
- package/src/FileUpload/components/GridFileCard/utils/sortable.ts +48 -0
- package/src/FileUpload/components/ListFileCard/ListFileCard.tsx +259 -0
- package/src/FileUpload/components/types.ts +78 -0
- package/src/FileUpload/hooks/filePreview/useImageFilePreviewUrl.ts +62 -0
- package/src/FileUpload/hooks/index.ts +11 -0
- package/src/FileUpload/hooks/upload/useHandleDragEnter/useHandleDragEnter.ts +154 -0
- package/src/FileUpload/hooks/upload/useHandleDrop/createFileRejectionHelpers.ts +273 -0
- package/src/FileUpload/hooks/upload/useHandleDrop/useHandleDrop.ts +153 -0
- package/src/FileUpload/hooks/upload/useUploadAvailability/useUploadAvailability.ts +44 -0
- package/src/FileUpload/hooks/validation/createDropzoneValidator.ts +41 -0
- package/src/FileUpload/hooks/validation/useFileValidation.ts +25 -0
- package/src/FileUpload/hooks/validation/useFileValidationLogic.ts +107 -0
- package/src/FileUpload/hooks/validation/useValidationMessages.ts +92 -0
- package/src/FileUpload/hooks/validation/useValidationState.ts +171 -0
- package/src/FileUpload/index.ts +57 -0
- package/src/FileUpload/providers/FileUploadProvider.tsx +219 -0
- package/src/FileUpload/providers/UploadValidationProvider.tsx +159 -0
- package/src/FileUpload/testUtils/mockFilesAndImages.ts +64 -0
- package/src/FileUpload/testUtils/testUtils.ts +111 -0
- package/src/FileUpload/types/commonTypes.ts +267 -0
- package/src/FileUpload/types/index.ts +31 -0
- package/src/FileUpload/types/sharedTypes.ts +159 -0
- package/src/FileUpload/utils/constants.ts +79 -0
- package/src/FileUpload/utils/createMessageContext.ts +180 -0
- package/src/FileUpload/utils/getFileExtensionsFromAcceptedTypes.ts +73 -0
- package/src/FileUpload/utils/getFilePluralizationText.ts +68 -0
- package/src/FileUpload/utils/getMimeTypes.ts +26 -0
- package/src/FileUpload/utils/messageUtils.ts +41 -0
- package/src/FileUpload/utils/styles.ts +68 -0
- package/src/FormLabel/FormLabel.tsx +212 -0
- package/src/IconButton/IconButton.tsx +154 -0
- package/src/Icons/CreditCardIcon/CreditCardIcon.tsx +73 -0
- package/src/Icons/CreditCardIcon/cardIcons.tsx +270 -0
- package/src/Icons/IconBase.tsx +133 -0
- package/src/Icons/anyIcon.ts +3 -0
- package/src/Icons/generatedIcons/Archive.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowClockwise.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowDown.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowLeft.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowRight.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowSquareOut.tsx +51 -0
- package/src/Icons/generatedIcons/ArrowSquareRight.tsx +51 -0
- package/src/Icons/generatedIcons/ArrowUp.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowsCounterClockwise.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowsLeftRight.tsx +48 -0
- package/src/Icons/generatedIcons/ArrowsOutCardinal.tsx +48 -0
- package/src/Icons/generatedIcons/Bank.tsx +48 -0
- package/src/Icons/generatedIcons/Bell.tsx +51 -0
- package/src/Icons/generatedIcons/BookBookmark.tsx +51 -0
- package/src/Icons/generatedIcons/BookmarksSimple.tsx +51 -0
- package/src/Icons/generatedIcons/Broadcast.tsx +48 -0
- package/src/Icons/generatedIcons/CalendarBlank.tsx +48 -0
- package/src/Icons/generatedIcons/CalendarStar.tsx +51 -0
- package/src/Icons/generatedIcons/Camera.tsx +51 -0
- package/src/Icons/generatedIcons/CaretDown.tsx +48 -0
- package/src/Icons/generatedIcons/CaretLeft.tsx +48 -0
- package/src/Icons/generatedIcons/CaretRight.tsx +48 -0
- package/src/Icons/generatedIcons/CaretUp.tsx +48 -0
- package/src/Icons/generatedIcons/Certificate.tsx +51 -0
- package/src/Icons/generatedIcons/ChartBar.tsx +48 -0
- package/src/Icons/generatedIcons/Check.tsx +51 -0
- package/src/Icons/generatedIcons/CheckCircle.tsx +48 -0
- package/src/Icons/generatedIcons/CirclesFour.tsx +51 -0
- package/src/Icons/generatedIcons/Clock.tsx +48 -0
- package/src/Icons/generatedIcons/ClockCountdown.tsx +48 -0
- package/src/Icons/generatedIcons/Close.tsx +51 -0
- package/src/Icons/generatedIcons/CloudArrowUp.tsx +51 -0
- package/src/Icons/generatedIcons/CloudWarning.tsx +51 -0
- package/src/Icons/generatedIcons/Code.tsx +48 -0
- package/src/Icons/generatedIcons/Compass.tsx +51 -0
- package/src/Icons/generatedIcons/Confetti.tsx +51 -0
- package/src/Icons/generatedIcons/Copy.tsx +48 -0
- package/src/Icons/generatedIcons/CornersOut.tsx +48 -0
- package/src/Icons/generatedIcons/CreditCard.tsx +48 -0
- package/src/Icons/generatedIcons/Crown.tsx +51 -0
- package/src/Icons/generatedIcons/CrownSimple.tsx +51 -0
- package/src/Icons/generatedIcons/CurrencyCircleDollar.tsx +48 -0
- package/src/Icons/generatedIcons/CurrencyDollarSimple.tsx +51 -0
- package/src/Icons/generatedIcons/Desktop.tsx +51 -0
- package/src/Icons/generatedIcons/Detective.tsx +51 -0
- package/src/Icons/generatedIcons/DotOutline.tsx +46 -0
- package/src/Icons/generatedIcons/DotsSixVertical.tsx +51 -0
- package/src/Icons/generatedIcons/DotsThreeOutline.tsx +51 -0
- package/src/Icons/generatedIcons/DotsThreeOutlineVertical.tsx +51 -0
- package/src/Icons/generatedIcons/DownloadSimple.tsx +51 -0
- package/src/Icons/generatedIcons/EnvelopeSimple.tsx +48 -0
- package/src/Icons/generatedIcons/Eraser.tsx +51 -0
- package/src/Icons/generatedIcons/Eye.tsx +51 -0
- package/src/Icons/generatedIcons/EyeSlash.tsx +51 -0
- package/src/Icons/generatedIcons/FacebookLogo.tsx +48 -0
- package/src/Icons/generatedIcons/FileArchive.tsx +48 -0
- package/src/Icons/generatedIcons/FileArrowDown.tsx +48 -0
- package/src/Icons/generatedIcons/FileCsv.tsx +48 -0
- package/src/Icons/generatedIcons/FilePdf.tsx +48 -0
- package/src/Icons/generatedIcons/FileText.tsx +48 -0
- package/src/Icons/generatedIcons/Files.tsx +51 -0
- package/src/Icons/generatedIcons/Fire.tsx +51 -0
- package/src/Icons/generatedIcons/Flag.tsx +51 -0
- package/src/Icons/generatedIcons/FlagBannerFold.tsx +48 -0
- package/src/Icons/generatedIcons/FloppyDisk.tsx +51 -0
- package/src/Icons/generatedIcons/Gauge.tsx +51 -0
- package/src/Icons/generatedIcons/Gavel.tsx +51 -0
- package/src/Icons/generatedIcons/Gear.tsx +51 -0
- package/src/Icons/generatedIcons/GlobeHemisphereWest.tsx +51 -0
- package/src/Icons/generatedIcons/GoogleLogo.tsx +48 -0
- package/src/Icons/generatedIcons/GridNine.tsx +51 -0
- package/src/Icons/generatedIcons/HandCoins.tsx +51 -0
- package/src/Icons/generatedIcons/HandbagSimple.tsx +51 -0
- package/src/Icons/generatedIcons/Headset.tsx +51 -0
- package/src/Icons/generatedIcons/HeartStraight.tsx +51 -0
- package/src/Icons/generatedIcons/HourglassLow.tsx +48 -0
- package/src/Icons/generatedIcons/House.tsx +51 -0
- package/src/Icons/generatedIcons/Image.tsx +51 -0
- package/src/Icons/generatedIcons/ImageSquare.tsx +51 -0
- package/src/Icons/generatedIcons/ImagesSquare.tsx +51 -0
- package/src/Icons/generatedIcons/Info.tsx +48 -0
- package/src/Icons/generatedIcons/InstagramLogo.tsx +51 -0
- package/src/Icons/generatedIcons/Lightning.tsx +48 -0
- package/src/Icons/generatedIcons/Link.tsx +51 -0
- package/src/Icons/generatedIcons/LinkedinLogo.tsx +51 -0
- package/src/Icons/generatedIcons/List.tsx +48 -0
- package/src/Icons/generatedIcons/Lock.tsx +51 -0
- package/src/Icons/generatedIcons/LockOpen.tsx +51 -0
- package/src/Icons/generatedIcons/MagnifyingGlass.tsx +48 -0
- package/src/Icons/generatedIcons/MapPin.tsx +51 -0
- package/src/Icons/generatedIcons/MapPinSimpleArea.tsx +48 -0
- package/src/Icons/generatedIcons/Medal.tsx +48 -0
- package/src/Icons/generatedIcons/Megaphone.tsx +48 -0
- package/src/Icons/generatedIcons/Minus.tsx +45 -0
- package/src/Icons/generatedIcons/Money.tsx +51 -0
- package/src/Icons/generatedIcons/Notches.tsx +48 -0
- package/src/Icons/generatedIcons/NotePencil.tsx +48 -0
- package/src/Icons/generatedIcons/Package.tsx +51 -0
- package/src/Icons/generatedIcons/PaintBrush.tsx +51 -0
- package/src/Icons/generatedIcons/PaperPlaneTilt.tsx +51 -0
- package/src/Icons/generatedIcons/Paperclip.tsx +51 -0
- package/src/Icons/generatedIcons/Pause.tsx +51 -0
- package/src/Icons/generatedIcons/PencilLine.tsx +51 -0
- package/src/Icons/generatedIcons/PencilRuler.tsx +51 -0
- package/src/Icons/generatedIcons/PencilSimple.tsx +51 -0
- package/src/Icons/generatedIcons/Phone.tsx +51 -0
- package/src/Icons/generatedIcons/PinterestLogo.tsx +51 -0
- package/src/Icons/generatedIcons/Play.tsx +51 -0
- package/src/Icons/generatedIcons/Plus.tsx +51 -0
- package/src/Icons/generatedIcons/PlusCircle.tsx +48 -0
- package/src/Icons/generatedIcons/Printer.tsx +51 -0
- package/src/Icons/generatedIcons/Question.tsx +48 -0
- package/src/Icons/generatedIcons/Receipt.tsx +51 -0
- package/src/Icons/generatedIcons/Rows.tsx +51 -0
- package/src/Icons/generatedIcons/SealCheck.tsx +51 -0
- package/src/Icons/generatedIcons/SelectionSlash.tsx +48 -0
- package/src/Icons/generatedIcons/ShareNetwork.tsx +51 -0
- package/src/Icons/generatedIcons/ShieldCheck.tsx +51 -0
- package/src/Icons/generatedIcons/ShieldStar.tsx +51 -0
- package/src/Icons/generatedIcons/ShoppingCart.tsx +48 -0
- package/src/Icons/generatedIcons/ShuffleAngular.tsx +48 -0
- package/src/Icons/generatedIcons/SidebarSimple.tsx +48 -0
- package/src/Icons/generatedIcons/SlidersHorizontal.tsx +51 -0
- package/src/Icons/generatedIcons/Smiley.tsx +48 -0
- package/src/Icons/generatedIcons/Sparkle.tsx +51 -0
- package/src/Icons/generatedIcons/SpinnerGap.tsx +48 -0
- package/src/Icons/generatedIcons/StackPlus.tsx +48 -0
- package/src/Icons/generatedIcons/Star.tsx +51 -0
- package/src/Icons/generatedIcons/Storefront.tsx +51 -0
- package/src/Icons/generatedIcons/Swap.tsx +51 -0
- package/src/Icons/generatedIcons/Tag.tsx +51 -0
- package/src/Icons/generatedIcons/ThumbsDown.tsx +48 -0
- package/src/Icons/generatedIcons/ThumbsUp.tsx +48 -0
- package/src/Icons/generatedIcons/Toolbox.tsx +48 -0
- package/src/Icons/generatedIcons/Trash.tsx +48 -0
- package/src/Icons/generatedIcons/TrendUp.tsx +48 -0
- package/src/Icons/generatedIcons/Trophy.tsx +51 -0
- package/src/Icons/generatedIcons/Truck.tsx +51 -0
- package/src/Icons/generatedIcons/UploadSimple.tsx +51 -0
- package/src/Icons/generatedIcons/User.tsx +48 -0
- package/src/Icons/generatedIcons/Users.tsx +48 -0
- package/src/Icons/generatedIcons/UsersThree.tsx +51 -0
- package/src/Icons/generatedIcons/VideoCamera.tsx +51 -0
- package/src/Icons/generatedIcons/Warning.tsx +51 -0
- package/src/Icons/generatedIcons/WarningCircle.tsx +48 -0
- package/src/Icons/generatedIcons/WifiHigh.tsx +51 -0
- package/src/Icons/generatedIcons/XCircle.tsx +48 -0
- package/src/Icons/generatedIcons/XLogo.tsx +48 -0
- package/src/Icons/generatedIcons/YoutubeLogo.tsx +51 -0
- package/src/Icons/importedIcons.ts +152 -0
- package/src/Icons/index.ts +149 -0
- package/src/Icons/socialIcons/appleSocialIcon.tsx +50 -0
- package/src/Icons/socialIcons/facebookSocialIcon.tsx +41 -0
- package/src/Icons/socialIcons/googleSocialIcon.tsx +134 -0
- package/src/ImageCluster/ImageCluster.tsx +125 -0
- package/src/ImageSlider/ImageSlider.tsx +582 -0
- package/src/ImageSlider/ImageSlider.types.ts +90 -0
- package/src/ImageSlider/components/IndexIndicator/IndexIndicator.tsx +21 -0
- package/src/ImageSlider/components/NavigationButtons/NavigationButtons.tsx +113 -0
- package/src/ImageSlider/components/ResponsiveImage/ResponsiveImage.tsx +114 -0
- package/src/ImageSlider/components/ResponsiveImage/index.ts +1 -0
- package/src/ImageSlider/components/Thumbnails/Thumbnails.tsx +184 -0
- package/src/ImageSlider/constants.ts +59 -0
- package/src/ImageSlider/hooks/index.ts +3 -0
- package/src/ImageSlider/hooks/useImageSlider.ts +57 -0
- package/src/ImageSlider/hooks/useImageSliderNavigation.ts +133 -0
- package/src/ImageSlider/hooks/useImageSliderScrollHandler.ts +171 -0
- package/src/ImageSlider/index.ts +3 -0
- package/src/ImageSlider/utils/imageOptimization.ts +97 -0
- package/src/ImageSlider/utils/index.ts +1 -0
- package/src/InlineNotification/InlineNotification.tsx +95 -0
- package/src/JumpMenu/JumpMenu.tsx +395 -0
- package/src/JumpMenu/components/JumpMenuItem/JumpMenuItem.tsx +62 -0
- package/src/JumpMenu/hooks/useContainerTracking.ts +171 -0
- package/src/JumpMenu/hooks/useIntersectionObserver.ts +77 -0
- package/src/JumpMenu/hooks/useKeyboardNavigation.ts +102 -0
- package/src/JumpMenu/hooks/useResizeObserver.ts +53 -0
- package/src/JumpMenu/hooks/useSectionObserver.ts +102 -0
- package/src/JumpMenu/index.ts +2 -0
- package/src/JumpMenu/types/index.ts +19 -0
- package/src/Loading/Loading.tsx +39 -0
- package/src/Loading/components/LoadingDot/LoadingDot.tsx +16 -0
- package/src/LoadingSpinner/LoadingSpinner.tsx +20 -0
- package/src/Menu/Menu.tsx +372 -0
- package/src/Menu/components/MenuDivider/MenuDivider.tsx +5 -0
- package/src/Menu/components/MenuItem/MenuItem.tsx +298 -0
- package/src/Menu/context/menuContext.tsx +20 -0
- package/src/Menu/hooks/useMenu.tsx +18 -0
- package/src/Menu/index.ts +3 -0
- package/src/Modal/ComposableModal.tsx +313 -0
- package/src/Modal/Modal.tsx +231 -0
- package/src/Modal/components/BackButton/BackButton.tsx +43 -0
- package/src/Modal/components/Backdrop/Backdrop.tsx +62 -0
- package/src/Modal/components/CloseButton/CloseButton.tsx +55 -0
- package/src/Modal/components/ModalActions/ModalActions.tsx +135 -0
- package/src/Modal/components/ModalContent/ModalContent.tsx +163 -0
- package/src/Modal/components/ModalHeader/ModalHeader.tsx +84 -0
- package/src/Modal/components/ModalHeader/hooks/useHeaderAnimation.tsx +49 -0
- package/src/Modal/components/ModalProgressSteps/ModalProgressSteps.tsx +26 -0
- package/src/Modal/components/ModalSubTitle/ModalSubTitle.tsx +29 -0
- package/src/Modal/components/ModalTitle/ModalTitle.tsx +22 -0
- package/src/Modal/components/PreventModalScroll/PreventModalScroll.tsx +106 -0
- package/src/Modal/components/index.ts +12 -0
- package/src/Modal/context.ts +33 -0
- package/src/Modal/hooks/useCloseModal.ts +133 -0
- package/src/NotificationBadge/NotificationBadge.tsx +34 -0
- package/src/Pagination/AdvancedPagination.tsx +48 -0
- package/src/Pagination/Pagination.tsx +216 -0
- package/src/Pagination/components/AdvancedPaginator/AdvancedPaginator.tsx +52 -0
- package/src/Pagination/components/AdvancedPaginator/components/PageSelect/PageSelect.tsx +43 -0
- package/src/Pagination/components/ItemCountDisplay/ItemCountDisplay.tsx +32 -0
- package/src/Pagination/components/ItemCountSelect/ItemCountSelect.tsx +33 -0
- package/src/Pagination/index.tsx +3 -0
- package/src/Pagination/paginationProvider.tsx +234 -0
- package/src/Pagination/utils.tsx +36 -0
- package/src/PhoneInput/PhoneInput.tsx +509 -0
- package/src/PhoneInput/useDropdownLogic.tsx +163 -0
- package/src/ProgressCircle/ProgressCircle.tsx +246 -0
- package/src/ProgressCircle/hooks/useProgressStatusTransitions.ts +49 -0
- package/src/ProgressCircle/utils/progressCircle.constants.ts +27 -0
- package/src/ProgressSteps/ProgressSteps.tsx +160 -0
- package/src/SaveConfetti/SaveConfetti.tsx +277 -0
- package/src/SaveConfetti/index.ts +2 -0
- package/src/SearchInput/SearchInput.tsx +236 -0
- package/src/SegmentedControl/SegmentedControl.tsx +111 -0
- package/src/SegmentedControl/SegmentedControlGroup.tsx +94 -0
- package/src/SegmentedControl/index.ts +4 -0
- package/src/Select/Select.tsx +154 -0
- package/src/Select/SelectAsync.tsx +13 -0
- package/src/Select/SelectAsyncCreatable.tsx +14 -0
- package/src/Select/SelectCreatable.tsx +12 -0
- package/src/Select/reexportedComponents.tsx +5 -0
- package/src/Select/selectComponents.tsx +306 -0
- package/src/Skeleton/Skeleton.tsx +13 -0
- package/src/SplitButton/SplitButton.tsx +298 -0
- package/src/SplitButton/SplitButtonTrigger.tsx +55 -0
- package/src/StarRating/StarRating.tsx +165 -0
- package/src/StarRating/components/StarComponent/StarComponent.tsx +44 -0
- package/src/Table/Table.tsx +474 -0
- package/src/Table/components/TableHeader/TableHeader.tsx +166 -0
- package/src/Table/components/TablePagination/TablePagination.tsx +18 -0
- package/src/Table/components/TablePagination/components/ItemCountDisplay/ItemCountDisplay.tsx +17 -0
- package/src/Table/components/TablePagination/components/ItemCountSelect/ItemCountSelect.tsx +31 -0
- package/src/Table/components/TablePagination/components/TablePaginator/TablePaginator.tsx +37 -0
- package/src/Table/components/TablePagination/components/TablePaginator/components/PageSelect/PageSelect.tsx +32 -0
- package/src/Table/components/TableRow/TableRows.tsx +147 -0
- package/src/Table/components/TableRow/components/TableRowCell/TableRowCell.tsx +49 -0
- package/src/Table/components/TableShadow/TableShadow.tsx +46 -0
- package/src/Table/index.ts +2 -0
- package/src/Table/sharedState.ts +30 -0
- package/src/Table/sharedStyles.ts +1 -0
- package/src/Table/types.ts +55 -0
- package/src/Tabs/Tabs.tsx +358 -0
- package/src/TextArea/TextArea.tsx +157 -0
- package/src/TextInput/TextInput.tsx +173 -0
- package/src/Toast/Toast.tsx +64 -0
- package/src/Toast/components/ToastContainer/ToastContainer.tsx +48 -0
- package/src/Toast/index.ts +2 -0
- package/src/Toast/types/role.ts +1 -0
- package/src/Toast/utils/getIcon.tsx +41 -0
- package/src/ToggleSwitch/ToggleSwitch.tsx +188 -0
- package/src/Tooltip/InfoIconTooltip.tsx +47 -0
- package/src/Tooltip/Tooltip.tsx +41 -0
- package/src/Typography/InlineButton/InlineButton.tsx +166 -0
- package/src/Typography/Links/Links.tsx +113 -0
- package/src/Typography/Text/Text.tsx +239 -0
- package/src/ViewMore/ViewMore.tsx +226 -0
- package/src/WebRTCPlayer/WebRTCPlayer.tsx +325 -0
- package/src/WebRTCPlayer/adaptor/NativeWebRTCAdaptor.ts +588 -0
- package/src/WebRTCPlayer/hooks/useWebRTCStream.ts +571 -0
- package/src/WebRTCPlayer/index.ts +22 -0
- package/src/WebRTCPlayer/types.ts +95 -0
- package/src/breakpoints/index.tsx +1 -0
- package/src/breakpoints/utils.tsx +50 -0
- package/src/declarations.d.ts +7 -0
- package/src/grid/gridHighlighter.tsx +83 -0
- package/src/grid/index.ts +3 -0
- package/src/grid/pageGrid.tsx +37 -0
- package/src/grid/useSubGridCSS.tsx +214 -0
- package/src/hooks/useHorizontalScrollFade.ts +44 -0
- package/src/hooks/usePrevious.ts +14 -0
- package/src/index.ts +351 -0
- package/src/intl/index.ts +4 -0
- package/src/intl/utils.ts +67 -0
- package/src/mixins/horizontalScrollFadeMixin.ts +56 -0
- package/src/mixins/index.ts +18 -0
- package/src/mixins/propMixins.ts +389 -0
- package/src/providers/createContextProvider.ts +22 -0
- package/src/providers/designSystemProvider.tsx +218 -0
- package/src/providers/errorBoundaryProvider.tsx +179 -0
- package/src/providers/featureFlagProvider.tsx +18 -0
- package/src/providers/gridSizeProvider.tsx +23 -0
- package/src/providers/index.ts +12 -0
- package/src/providers/linkProvider.tsx +32 -0
- package/src/providers/normalize.tsx +93 -0
- package/src/providers/targets/DatePickerTarget.tsx +10 -0
- package/src/providers/targets/ModalTarget.tsx +14 -0
- package/src/providers/targets/TimePickerTarget.tsx +10 -0
- package/src/providers/themeContext.tsx +24 -0
- package/src/providers/windowSizeProvider.tsx +125 -0
- package/src/spacing/index.ts +1 -0
- package/src/spacing/spacing.ts +11 -0
- package/src/utils/countriesWithISOCodes.ts +1419 -0
- package/src/utils/dateTimeFormat.ts +257 -0
- package/src/utils/effectEventListener.ts +11 -0
- package/src/utils/formatFileSize.ts +18 -0
- package/src/utils/isClientSide.ts +1 -0
- package/src/utils/keepTransition.ts +15 -0
- package/src/utils/nodeEnv.ts +9 -0
- package/src/utils/smoothScrollTo.ts +47 -0
- package/src/utils/utilityTypes.ts +13 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
export const visa = (
|
|
2
|
+
<>
|
|
3
|
+
<rect
|
|
4
|
+
fill="#1A1F71"
|
|
5
|
+
height="20"
|
|
6
|
+
rx="2"
|
|
7
|
+
width="30"
|
|
8
|
+
/>
|
|
9
|
+
<path
|
|
10
|
+
clipRule="evenodd"
|
|
11
|
+
d="M9.34017 13.2299H7.36581L5.84273 7.10171C5.35385 6.52657 4 6.46708 4 6.46708V6.16959H6.57607C7.64786 6.16959 7.74188 6.92322 7.74188 6.92322L8.45641 10.8897L10.1487 6.16959H12.0291L9.34017 13.2299ZM14.6239 6.1101H12.7812L11.6906 13.1902H13.5333L14.6239 6.1101ZM17.5949 6.03077C18.3658 5.93161 19.1556 6.09026 19.9265 6.24892C19.9021 6.41602 19.8777 6.57686 19.854 6.73349C19.8045 7.06019 19.7578 7.36852 19.7197 7.67684C19.7385 7.53802 18.6855 7.35952 18.5726 7.35952C18.2342 7.33969 17.8393 7.35953 17.5573 7.57768C17.4068 7.69667 17.2752 7.895 17.2752 8.09332C17.2564 8.27181 17.3504 8.4503 17.482 8.58912C17.722 8.84219 18.0333 8.98009 18.3446 9.11796C18.692 9.2718 19.0393 9.42561 19.2872 9.73939C19.8137 10.4137 19.7573 11.4846 19.2496 12.1986C18.7607 12.9125 17.9145 13.2894 17.0684 13.329C16.2222 13.3687 15.3949 13.1307 14.6239 12.7935L14.906 11.3061C14.8564 11.6197 15.6049 11.7497 15.9151 11.8035C15.958 11.811 15.9925 11.8169 16.0154 11.8218C16.5607 11.9209 17.2376 12.0201 17.6701 11.5838C17.8017 11.4648 17.8769 11.3061 17.8581 11.1276C17.8205 10.8302 17.5385 10.6517 17.294 10.5128C16.2034 9.89805 15.0376 8.72795 15.6957 7.31986C16.0342 6.56624 16.8239 6.14976 17.5949 6.03077ZM23.4051 6.10981H24.5333L25.9999 13.2891H24.1572L24.0256 12.119H21.8632L21.4307 13.1701H19.5128L22.1828 6.76427C22.1828 6.76427 22.3709 6.10981 23.4051 6.10981ZM23.2546 8.05336L22.2769 10.6712H23.8187L23.2546 8.05336Z"
|
|
12
|
+
fill="white"
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
/>
|
|
15
|
+
</>
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export const discover = (
|
|
19
|
+
<>
|
|
20
|
+
<rect
|
|
21
|
+
fill="white"
|
|
22
|
+
height="19.5"
|
|
23
|
+
rx="1.75"
|
|
24
|
+
stroke="#A2A3A5"
|
|
25
|
+
strokeWidth="0.5"
|
|
26
|
+
width="29.5"
|
|
27
|
+
x="0.25"
|
|
28
|
+
y="0.25"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
d="M5.06904 9.93077C5.06904 10.2907 5.00608 10.5853 4.89591 10.8143C4.78574 11.0271 4.65983 11.2234 4.50245 11.3543C4.28211 11.5507 3.98307 11.6652 3.60534 11.6652H2V8.06545H3.24335C3.43222 8.06545 3.5896 8.08181 3.73125 8.09817C3.85716 8.11454 3.99881 8.16362 4.0775 8.19635C4.18767 8.22907 4.28211 8.29452 4.3608 8.32725C4.43949 8.35997 4.50245 8.44179 4.5654 8.50724C4.65983 8.60541 4.75427 8.71995 4.83296 8.85085C4.91165 8.98175 4.95887 9.14537 5.02182 9.309C5.0533 9.52171 5.06904 9.71806 5.06904 9.93077ZM4.1562 9.88169C4.1562 9.58716 4.12472 9.35809 4.03029 9.21082C3.93585 9.06356 3.82568 8.93266 3.69977 8.88357C3.57387 8.81812 3.43222 8.80176 3.30631 8.80176H2.91284V10.9125H3.30631C3.54239 10.9125 3.74699 10.8471 3.92012 10.7162C4.06176 10.5689 4.1562 10.3071 4.1562 9.88169ZM6.73734 11.6488H5.84023V8.06545H6.73734V11.6488ZM9.80637 10.618C9.80637 10.8471 9.74342 11.0434 9.66473 11.1907C9.57029 11.3379 9.44439 11.4852 9.25552 11.5507C9.0824 11.6325 8.87779 11.6816 8.65745 11.6816C8.5945 11.6816 8.53154 11.6816 8.43711 11.6652C8.34268 11.6652 8.23251 11.6325 8.09086 11.5834C7.94921 11.5507 7.79183 11.4688 7.6187 11.387V10.5198C7.76035 10.6344 7.91774 10.7325 8.05938 10.798C8.20103 10.8798 8.35842 10.9125 8.53154 10.9125C8.67319 10.9125 8.7991 10.8798 8.83058 10.8143C8.86206 10.7489 8.90927 10.6998 8.90927 10.6344C8.90927 10.5362 8.87779 10.4544 8.7991 10.3889C8.72041 10.3235 8.61024 10.258 8.46859 10.1762C8.29546 10.0944 8.15382 9.99622 8.04365 9.89805C7.91774 9.79987 7.8233 9.68534 7.74461 9.53807C7.66592 9.39081 7.63444 9.22719 7.63444 9.01447C7.63444 8.81812 7.66592 8.6545 7.74461 8.49087C7.8233 8.34361 7.94921 8.21271 8.09086 8.1309C8.26399 8.03272 8.43711 8 8.68893 8C8.86206 8 9.0037 8.01636 9.16109 8.06545C9.30274 8.09818 9.42865 8.14726 9.50734 8.19635C9.60177 8.22907 9.64899 8.27816 9.6962 8.31089V9.14537C9.57029 9.0472 9.42865 8.94902 9.287 8.85085C9.14535 8.76904 8.97223 8.73631 8.7991 8.73631C8.68893 8.73631 8.61024 8.75267 8.56302 8.81812C8.5158 8.88357 8.48433 8.93266 8.48433 9.01447C8.48433 9.09629 8.50007 9.14537 8.56302 9.19446C8.62597 9.25991 8.70467 9.309 8.83058 9.39081C9.05092 9.52171 9.23978 9.63625 9.38143 9.73442C9.50734 9.8326 9.61751 9.94714 9.6962 10.078C9.7749 10.2417 9.80637 10.4216 9.80637 10.618ZM13.3318 11.387C13.2059 11.4688 13.0958 11.5179 12.9541 11.5834C12.8282 11.6161 12.6865 11.6652 12.5606 11.6816C12.4347 11.6979 12.2931 11.7143 12.1514 11.7143C11.8839 11.7143 11.6478 11.6816 11.4432 11.5834C11.2386 11.5016 11.0497 11.3707 10.9081 11.1907C10.7664 11.0107 10.6405 10.8307 10.5776 10.618C10.4989 10.3889 10.4674 10.1598 10.4674 9.88169C10.4674 9.5708 10.4989 9.309 10.5933 9.06356C10.6877 8.83449 10.7979 8.63814 10.971 8.49087C11.1442 8.34361 11.3015 8.21271 11.5062 8.14726C11.7108 8.06545 11.9311 8.03272 12.1514 8.03272C12.4819 8.03272 12.8754 8.1309 13.3004 8.31089V9.25991C13.1587 9.14537 13.0013 9.06356 12.8597 8.98175C12.718 8.89994 12.5449 8.86721 12.356 8.86721C12.1829 8.86721 12.0255 8.89994 11.8681 8.98175C11.7265 9.06356 11.5848 9.1781 11.4904 9.32536C11.396 9.47262 11.3645 9.65261 11.3645 9.86532C11.3645 10.0453 11.396 10.2089 11.4747 10.3726C11.5534 10.5198 11.6635 10.6507 11.8052 10.7325C11.9468 10.8143 12.1042 10.8634 12.2931 10.8634C12.4347 10.8634 12.5764 10.8471 12.7023 10.798C12.8282 10.7653 12.9384 10.6998 13.0328 10.6671C13.1272 10.6016 13.2217 10.5525 13.3161 10.4871L13.3318 11.387Z"
|
|
32
|
+
fill="#211614"
|
|
33
|
+
/>
|
|
34
|
+
<path
|
|
35
|
+
d="M17.6445 9.86311C17.6445 10.1904 17.5658 10.5012 17.4399 10.7958C17.314 11.0739 17.0937 11.303 16.8261 11.4666C16.5428 11.6466 16.2123 11.7121 15.8188 11.7121C15.4254 11.7121 15.0791 11.6303 14.8116 11.4666C14.5283 11.2866 14.3237 11.0576 14.1978 10.7958C14.0719 10.534 13.9932 10.2231 13.9932 9.87947C13.9932 9.53586 14.0719 9.2577 14.1978 8.96317C14.3237 8.68501 14.5283 8.45594 14.8116 8.29231C15.0949 8.11232 15.4254 8.04688 15.8346 8.04688C16.1336 8.04688 16.3854 8.11233 16.6373 8.19414C16.8733 8.29231 17.0622 8.42321 17.2196 8.6032C17.377 8.78319 17.4871 8.96317 17.5501 9.17589C17.613 9.3886 17.6445 9.61767 17.6445 9.86311Z"
|
|
36
|
+
fill="#F9A021"
|
|
37
|
+
/>
|
|
38
|
+
<path
|
|
39
|
+
d="M21.3897 8.08375L20.052 11.6999H19.4539L18.1318 8.08375H19.0604L19.7529 10.1618L20.4612 8.08375H21.3897ZM24.2699 11.6508H22.0193V8.06738H24.2384V8.78733H22.9164V9.44183H24.1597V10.1618H22.9164V10.9145H24.2699V11.6508ZM28 11.6508H27.0242L26.7881 11.0126C26.6937 10.7836 26.615 10.6036 26.552 10.5054C26.4733 10.3909 26.4261 10.3254 26.3474 10.2927C26.2687 10.26 26.2058 10.26 26.0799 10.26H25.9854V11.6508H25.0883V8.06738H26.615C26.851 8.06738 27.0556 8.13283 27.2288 8.24737C27.4019 8.36191 27.5121 8.52553 27.5593 8.68916C27.638 8.86914 27.6695 9.01641 27.6695 9.18003C27.6695 9.36002 27.638 9.50728 27.575 9.63818C27.5121 9.75272 27.4648 9.85089 27.3862 9.91634C27.3232 9.98179 27.2602 10.0309 27.1658 10.0636C27.2602 10.1291 27.3389 10.2109 27.4019 10.2927C27.4649 10.3909 27.5435 10.5708 27.6695 10.849L28 11.6508ZM26.7724 9.21276C26.7724 9.03277 26.7409 8.93459 26.6464 8.86914C26.552 8.80369 26.4104 8.77097 26.2058 8.77097H26.0169V9.63818H26.2058C26.4261 9.63818 26.5835 9.62182 26.6464 9.55637C26.7094 9.50728 26.7724 9.37638 26.7724 9.21276Z"
|
|
40
|
+
fill="#211614"
|
|
41
|
+
/>
|
|
42
|
+
</>
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export const mastercard = (
|
|
46
|
+
<>
|
|
47
|
+
<rect
|
|
48
|
+
fill="#211614"
|
|
49
|
+
height="19.5"
|
|
50
|
+
rx="1.75"
|
|
51
|
+
stroke="#211614"
|
|
52
|
+
strokeWidth="0.5"
|
|
53
|
+
width="29.5"
|
|
54
|
+
x="0.25"
|
|
55
|
+
y="0.25"
|
|
56
|
+
/>
|
|
57
|
+
<path
|
|
58
|
+
d="M12 16C15.3137 16 18 13.3137 18 10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10C6 13.3137 8.68629 16 12 16Z"
|
|
59
|
+
fill="#EB001B"
|
|
60
|
+
/>
|
|
61
|
+
<path
|
|
62
|
+
d="M18.8574 16C22.1711 16 24.8574 13.3137 24.8574 10C24.8574 6.68629 22.1711 4 18.8574 4C15.5437 4 12.8574 6.68629 12.8574 10C12.8574 13.3137 15.5437 16 18.8574 16Z"
|
|
63
|
+
fill="#F79E1B"
|
|
64
|
+
/>
|
|
65
|
+
<path
|
|
66
|
+
clipRule="evenodd"
|
|
67
|
+
d="M15.4289 5.07422C13.8744 6.15846 12.8574 7.95985 12.8574 9.99879C12.8574 12.0377 13.8744 13.8391 15.4289 14.9234C16.9833 13.8391 18.0003 12.0377 18.0003 9.99879C18.0003 7.95985 16.9833 6.15846 15.4289 5.07422Z"
|
|
68
|
+
fill="#FF5F00"
|
|
69
|
+
fillRule="evenodd"
|
|
70
|
+
/>
|
|
71
|
+
</>
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
export const diners = (
|
|
75
|
+
<>
|
|
76
|
+
<rect
|
|
77
|
+
fill="white"
|
|
78
|
+
height="19.5"
|
|
79
|
+
rx="1.75"
|
|
80
|
+
stroke="#A2A3A5"
|
|
81
|
+
strokeWidth="0.5"
|
|
82
|
+
width="29.5"
|
|
83
|
+
x="0.25"
|
|
84
|
+
y="0.25"
|
|
85
|
+
/>
|
|
86
|
+
<path
|
|
87
|
+
d="M10.3333 10C10.3333 8.20262 11.6266 6.7073 13.3333 6.39379V13.6062C11.6266 13.2927 10.3333 11.7974 10.3333 10Z"
|
|
88
|
+
fill="#0069AA"
|
|
89
|
+
/>
|
|
90
|
+
<path
|
|
91
|
+
d="M14.6667 13.6062C16.3734 13.2927 17.6667 11.7974 17.6667 10C17.6667 8.20262 16.3734 6.7073 14.6667 6.39379V13.6062Z"
|
|
92
|
+
fill="#0069AA"
|
|
93
|
+
/>
|
|
94
|
+
<path
|
|
95
|
+
clipRule="evenodd"
|
|
96
|
+
d="M15.8333 4H14C10.6863 4 8 6.68629 8 10C8 13.3137 10.6863 16 14 16H15.8333C19.147 16 21.8333 13.3137 21.8333 10C21.8333 6.68629 19.147 4 15.8333 4ZM14 15C16.7614 15 19 12.7614 19 10C19 7.23858 16.7614 5 14 5C11.2386 5 9 7.23858 9 10C9 12.7614 11.2386 15 14 15Z"
|
|
97
|
+
fill="#0069AA"
|
|
98
|
+
fillRule="evenodd"
|
|
99
|
+
/>
|
|
100
|
+
</>
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
export const amex = (
|
|
104
|
+
<>
|
|
105
|
+
<rect
|
|
106
|
+
fill="white"
|
|
107
|
+
height="20"
|
|
108
|
+
width="30"
|
|
109
|
+
/>
|
|
110
|
+
<rect
|
|
111
|
+
fill="#305FAD"
|
|
112
|
+
height="20"
|
|
113
|
+
rx="2"
|
|
114
|
+
width="30"
|
|
115
|
+
/>
|
|
116
|
+
<path
|
|
117
|
+
d="M0 9.47402H1.43387L1.75406 8.76426H2.47796L2.79814 9.47402H5.63805V8.92902L5.88863 9.47402H7.36427L7.61485 8.91635V9.47402H14.6589V8.30798H14.7981C14.8956 8.30798 14.9234 8.32066 14.9234 8.46008V9.47402H18.5568V9.19518C18.8492 9.3346 19.3086 9.47402 19.9072 9.47402H21.4385L21.7726 8.76426H22.4965L22.8167 9.47402H25.768V8.78961L26.2135 9.47402H28.58V5H26.2413V5.53232L25.9211 5H23.5128V5.53232L23.2065 5H19.9629C19.42 5 18.9466 5.06337 18.5568 5.26616V5H16.3155V5.26616C16.065 5.06337 15.7309 5 15.3689 5H7.19722L6.64037 6.15336L6.08353 5H3.50812V5.53232L3.21578 5H1.01624L0 7.12928V9.47402ZM27.8422 8.8403H26.645L25.0441 6.43219V8.8403H23.3318L22.9977 8.13054H21.2436L20.9234 8.8403H19.935C19.5174 8.8403 19.0023 8.75158 18.71 8.48542C18.4037 8.20659 18.2645 7.83904 18.2645 7.25602C18.2645 6.7744 18.3619 6.34347 18.7239 6.00127C19.0023 5.74778 19.42 5.62104 20.0046 5.62104H20.8121V6.30545H20.0186C19.7123 6.30545 19.5313 6.34347 19.3643 6.49556C19.2251 6.63498 19.1276 6.88847 19.1276 7.218C19.1276 7.5602 19.1972 7.81369 19.3643 7.96578C19.4896 8.09252 19.7262 8.13054 19.949 8.13054H20.3248L21.5081 5.60837H22.7749L24.1949 8.65019V5.60837H25.4756L26.9513 7.83904V5.63371H27.8144V8.8403H27.8422ZM17.8608 8.8403H16.9977V5.63371H17.8608V8.8403ZM16.5104 6.49556C16.5104 7.00254 16.1346 7.26869 15.9118 7.34474C16.0928 7.40811 16.2459 7.52218 16.3295 7.6109C16.4548 7.76299 16.4687 7.91508 16.4687 8.19392V8.82763H15.6195V8.42205C15.6195 8.23194 15.6473 7.95311 15.4803 7.80101C15.355 7.68695 15.174 7.6616 14.8678 7.6616H13.9629V8.82763H13.1276V5.63371H15.0626C15.4942 5.63371 15.8144 5.64639 16.0789 5.7858C16.3573 5.92522 16.5104 6.14068 16.5104 6.49556ZM12.5429 8.8403H9.73086V5.63371H12.5429V6.30545H10.5661V6.87579H12.4872V7.53485H10.5661V8.18124H12.5429V8.8403ZM9.10441 8.8403H8.2413V6.3308L7.01624 8.8403H6.27842L5.05336 6.31812V8.8403H3.32715L3.00696 8.13054H1.2529L0.932715 8.8403H0.0139214L1.5174 5.63371H2.7703L4.20418 8.67554V5.63371H5.58237L6.68214 7.81369L7.69838 5.63371H9.10441V8.8403ZM22.7193 7.45881L22.1346 6.17871L21.5638 7.45881H22.7193ZM15.4107 6.95184C15.2993 7.01521 15.1601 7.01521 14.993 7.01521H13.9629V6.30545H15.007C15.1601 6.30545 15.3132 6.30545 15.4107 6.35615C15.522 6.40684 15.5916 6.50824 15.5916 6.63498C15.5777 6.78707 15.522 6.88847 15.4107 6.95184ZM2.7007 7.45881L2.12993 6.17871L1.55917 7.45881H2.7007ZM16.3295 12.2117C16.3295 13.0989 15.6056 13.289 14.8678 13.289H13.8097V14.3663H12.1671L11.123 13.3016L10.051 14.3663H6.70998V11.1597H10.1207L11.1508 12.2117L12.2227 11.1597H14.9095C15.5777 11.1597 16.3295 11.3245 16.3295 12.2117ZM9.63341 13.6946H7.55917V13.0608H9.41067V12.4018H7.55917V11.8188H9.67517L10.594 12.7567L9.63341 13.6946ZM12.9745 14.0748L11.6798 12.7693L12.9745 11.5019V14.0748ZM14.9095 12.6299H13.8237V11.8188H14.9234C15.2297 11.8188 15.4385 11.9328 15.4385 12.2117C15.4246 12.4905 15.2297 12.6299 14.9095 12.6299ZM20.5893 11.1597H23.4014V11.8314H21.4246V12.4144H23.3457V13.0735H21.4246V13.7072H23.4014V14.379H20.5893V11.1597ZM19.5313 12.8707C19.7123 12.9341 19.8654 13.0482 19.949 13.1369C20.0742 13.289 20.0882 13.4411 20.0882 13.7199V14.3536H19.239V13.948C19.239 13.7579 19.2529 13.4664 19.0998 13.327C18.9745 13.2129 18.7935 13.1876 18.4872 13.1876H17.5824V14.3663H16.7332V11.1597H18.6821C19.1137 11.1597 19.42 11.1724 19.6984 11.3118C19.9629 11.4512 20.1299 11.654 20.1299 12.0215C20.1299 12.5285 19.7541 12.7947 19.5313 12.8707ZM19.0162 12.4778C18.9049 12.5412 18.7657 12.5412 18.5986 12.5412H17.5684V11.8188H18.6125C18.7657 11.8188 18.9188 11.8188 19.0162 11.8695C19.1276 11.9202 19.1972 12.0215 19.1972 12.161C19.1972 12.3004 19.1276 12.4144 19.0162 12.4778ZM26.6172 12.6679C26.7842 12.82 26.8678 13.0228 26.8678 13.3523C26.8678 14.0494 26.3944 14.3663 25.5452 14.3663H23.9026V13.6819H25.5452C25.7123 13.6819 25.8237 13.6692 25.8933 13.6058C25.949 13.5551 25.9907 13.4918 25.9907 13.403C25.9907 13.3143 25.949 13.2383 25.8794 13.1876C25.8097 13.1369 25.7262 13.1115 25.587 13.1115C24.7935 13.0862 23.8051 13.1369 23.8051 12.1229C23.8051 11.654 24.1253 11.1724 25.0023 11.1724H26.6868V11.8568H25.1555C25.0023 11.8568 24.9049 11.8568 24.8213 11.9202C24.7239 11.9708 24.6961 12.0469 24.6961 12.1483C24.6961 12.2624 24.7796 12.3511 24.877 12.3891C24.9606 12.4144 25.058 12.4271 25.1972 12.4271L25.6566 12.4398C26.116 12.4271 26.4362 12.5032 26.6172 12.6679ZM29.9861 13.9607C29.7773 14.2395 29.3875 14.3663 28.8445 14.3663H27.2158V13.6819H28.8306C28.9838 13.6819 29.1091 13.6692 29.1647 13.6058C29.2204 13.5551 29.2622 13.4918 29.2622 13.403C29.2622 13.3143 29.2204 13.2383 29.1647 13.1876C29.0951 13.1369 29.0116 13.1115 28.8724 13.1115C28.0789 13.0862 27.0905 13.1369 27.0905 12.1229C27.0905 11.654 27.4107 11.1724 28.3016 11.1724H29.9861V10.5387H28.4269C27.9536 10.5387 27.6195 10.6401 27.3689 10.8048V10.5133H25.058C24.6961 10.5133 24.2645 10.602 24.0557 10.7795V10.5133H19.935V10.7795C19.6009 10.564 19.058 10.5133 18.7935 10.5133H16.0789V10.7795C15.8144 10.5513 15.2436 10.5133 14.8956 10.5133H11.8469L11.1508 11.1977L10.4965 10.5133H5.95824V15H10.413L11.1369 14.3029L11.819 15H14.5615V13.948H14.8399C15.2019 13.948 15.6334 13.9354 16.0093 13.7959V15H18.2784V13.834H18.3898C18.529 13.834 18.5429 13.8466 18.5429 13.9607V15H25.4339C25.8654 15 26.3248 14.8986 26.5754 14.7085V15H28.761C29.2204 15 29.652 14.9366 30 14.7972L29.9861 13.9607ZM29.9861 11.8441H28.4408C28.2877 11.8441 28.1903 11.8441 28.1067 11.9075C28.0232 11.9582 27.9814 12.0342 27.9814 12.1356C27.9814 12.2497 28.051 12.3384 28.1624 12.3764C28.2459 12.4018 28.3434 12.4144 28.4826 12.4144L28.942 12.4271C29.4014 12.4398 29.7077 12.5158 29.9026 12.6806C29.9304 12.706 29.9582 12.7313 29.9861 12.7693V11.8441Z"
|
|
118
|
+
fill="white"
|
|
119
|
+
/>
|
|
120
|
+
</>
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
export const jcb = (
|
|
124
|
+
<>
|
|
125
|
+
<rect
|
|
126
|
+
fill="white"
|
|
127
|
+
height="19.5"
|
|
128
|
+
rx="1.75"
|
|
129
|
+
stroke="#A2A3A5"
|
|
130
|
+
strokeWidth="0.5"
|
|
131
|
+
width="29.5"
|
|
132
|
+
x="0.25"
|
|
133
|
+
y="0.25"
|
|
134
|
+
/>
|
|
135
|
+
<path
|
|
136
|
+
d="M19.1445 11.0727H20.1393C20.1662 11.0727 20.2334 11.0727 20.2603 11.0597C20.4485 11.0207 20.6098 10.8517 20.6098 10.6306C20.6098 10.4095 20.4485 10.2405 20.2603 10.2015C20.2334 10.2015 20.1662 10.1885 20.1393 10.1885H19.1445V11.0727Z"
|
|
137
|
+
fill="#399946"
|
|
138
|
+
/>
|
|
139
|
+
<path
|
|
140
|
+
d="M20.032 5C19.0775 5 18.3113 5.74122 18.3113 6.6645V8.39402H20.9192C21.4704 8.42003 21.8737 8.69311 21.8737 9.17425C21.8737 9.55137 21.5914 9.86346 21.094 9.94148V9.95449C21.6586 9.9935 22.0753 10.2926 22.0753 10.7607C22.0753 11.2679 21.6048 11.593 20.973 11.593H18.2979V14.987H20.8251C21.7796 14.987 22.5458 14.2458 22.5458 13.3225V5H20.032Z"
|
|
141
|
+
fill="#399946"
|
|
142
|
+
/>
|
|
143
|
+
<path
|
|
144
|
+
d="M20.5025 9.30382C20.5025 9.08275 20.3412 8.93971 20.153 8.9007C20.1395 8.9007 20.0858 8.8877 20.0589 8.8877H19.1582V9.69394H20.0589C20.0858 9.69394 20.1395 9.69394 20.153 9.68093C20.3412 9.66793 20.5025 9.51188 20.5025 9.30382Z"
|
|
145
|
+
fill="#399946"
|
|
146
|
+
/>
|
|
147
|
+
<path
|
|
148
|
+
d="M9.72071 5C8.76625 5 8 5.74122 8 6.6645V10.7737C8.48395 10.9948 8.98134 11.1508 9.49217 11.1508C10.0837 11.1508 10.4197 10.7997 10.4197 10.3316V8.39402H11.8985V10.3316C11.8985 11.0858 11.4145 11.697 9.77448 11.697C8.77969 11.697 8.01344 11.4889 8.01344 11.4889V15H10.5407C11.4952 15 12.2614 14.2588 12.2614 13.3355V5H9.72071Z"
|
|
149
|
+
fill="#214298"
|
|
150
|
+
/>
|
|
151
|
+
<path
|
|
152
|
+
d="M14.8828 5C13.9284 5 13.1621 5.74122 13.1621 6.6645V8.84915C13.5923 8.48505 14.3585 8.26398 15.5819 8.31599C16.2406 8.342 16.9396 8.51105 16.9396 8.51105V9.21326C16.5901 9.04421 16.1733 8.88817 15.6356 8.84915C14.7081 8.78414 14.1434 9.22627 14.1434 9.9935C14.1434 10.7737 14.7081 11.2159 15.6356 11.1378C16.1733 11.0988 16.6035 10.9428 16.9396 10.7737V11.4759C16.9396 11.4759 16.2406 11.645 15.5819 11.671C14.3585 11.723 13.6057 11.502 13.1621 11.1378V14.987H15.6894C16.6438 14.987 17.4101 14.2458 17.4101 13.3225V5H14.8828Z"
|
|
153
|
+
fill="#D93528"
|
|
154
|
+
/>
|
|
155
|
+
</>
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
export const cash = (
|
|
159
|
+
<>
|
|
160
|
+
<rect
|
|
161
|
+
fill="#234A37"
|
|
162
|
+
height="20"
|
|
163
|
+
rx="2"
|
|
164
|
+
width="30"
|
|
165
|
+
/>
|
|
166
|
+
<path
|
|
167
|
+
d="M15 6.11111C14.2089 6.11111 13.4355 6.33919 12.7777 6.76651C12.1199 7.19382 11.6072 7.80119 11.3045 8.51179C11.0017 9.22239 10.9225 10.0043 11.0769 10.7587C11.2312 11.5131 11.6122 12.206 12.1716 12.7499C12.731 13.2937 13.4437 13.6641 14.2196 13.8142C14.9956 13.9642 15.7998 13.8872 16.5307 13.5929C17.2616 13.2985 17.8864 12.8001 18.3259 12.1606C18.7654 11.521 19 10.7691 19 10C19 8.9686 18.5786 7.97945 17.8284 7.25014C17.0783 6.52083 16.0609 6.11111 15 6.11111ZM15 12.3333C14.5253 12.3333 14.0613 12.1965 13.6666 11.9401C13.272 11.6837 12.9643 11.3193 12.7827 10.8929C12.601 10.4666 12.5535 9.99741 12.6461 9.54479C12.7387 9.09217 12.9673 8.67641 13.3029 8.35008C13.6386 8.02376 14.0662 7.80153 14.5318 7.7115C14.9973 7.62147 15.4799 7.66768 15.9184 7.84428C16.357 8.02089 16.7318 8.31995 16.9955 8.70367C17.2592 9.08738 17.4 9.53851 17.4 10C17.4 10.6188 17.1471 11.2123 16.6971 11.6499C16.247 12.0875 15.6365 12.3333 15 12.3333ZM26.2 3H3.8C3.58783 3 3.38434 3.08194 3.23431 3.22781C3.08429 3.37367 3 3.5715 3 3.77778V16.2222C3 16.4285 3.08429 16.6263 3.23431 16.7722C3.38434 16.9181 3.58783 17 3.8 17H26.2C26.4122 17 26.6157 16.9181 26.7657 16.7722C26.9157 16.6263 27 16.4285 27 16.2222V3.77778C27 3.5715 26.9157 3.37367 26.7657 3.22781C26.6157 3.08194 26.4122 3 26.2 3ZM21.565 15.4444H8.435C8.16641 14.5613 7.67481 13.7575 7.00498 13.1063C6.33516 12.455 5.5084 11.9771 4.6 11.716V8.28403C5.5084 8.02289 6.33516 7.54495 7.00498 6.89373C7.67481 6.24252 8.16641 5.43872 8.435 4.55556H21.565C21.8336 5.43872 22.3252 6.24252 22.995 6.89373C23.6648 7.54495 24.4916 8.02289 25.4 8.28403V11.716C24.4916 11.9771 23.6648 12.455 22.995 13.1063C22.3252 13.7575 21.8336 14.5613 21.565 15.4444ZM25.4 6.63319C24.4404 6.23205 23.6756 5.48846 23.263 4.55556H25.4V6.63319ZM6.737 4.55556C6.32439 5.48846 5.55956 6.23205 4.6 6.63319V4.55556H6.737ZM4.6 13.3668C5.55956 13.768 6.32439 14.5115 6.737 15.4444H4.6V13.3668ZM23.263 15.4444C23.6756 14.5115 24.4404 13.768 25.4 13.3668V15.4444H23.263Z"
|
|
168
|
+
fill="white"
|
|
169
|
+
/>
|
|
170
|
+
</>
|
|
171
|
+
);
|
|
172
|
+
|
|
173
|
+
export const check = (
|
|
174
|
+
<>
|
|
175
|
+
<rect
|
|
176
|
+
fill="#007BBA"
|
|
177
|
+
height="20"
|
|
178
|
+
rx="2"
|
|
179
|
+
width="30"
|
|
180
|
+
/>
|
|
181
|
+
<path
|
|
182
|
+
d="M26.6073 16.226H18.3538C18.4843 15.9994 18.6154 15.7664 18.7465 15.5295C19.4828 15.6008 20.3457 15.1499 21.3314 14.1831C21.5768 14.7651 22.0407 15.5204 22.8325 15.5342C23.2772 15.542 23.7215 15.3094 24.1785 14.8264C24.5118 15.1775 25.1985 15.5342 26.6073 15.5342C26.7115 15.5342 26.8113 15.4978 26.885 15.4329C26.9586 15.368 27 15.2801 27 15.1883C27 15.0966 26.9586 15.0086 26.885 14.9438C26.8113 14.8789 26.7115 14.8424 26.6073 14.8424C25.1136 14.8424 24.6718 14.3906 24.6438 14.1459C24.6482 14.0717 24.6242 13.9983 24.5756 13.9375C24.527 13.8768 24.4566 13.8321 24.3758 13.8108C24.2918 13.7886 24.2018 13.7913 24.1198 13.8186C24.0377 13.8459 23.9681 13.8962 23.9217 13.9617C23.3293 14.7633 22.9704 14.845 22.8457 14.8424C22.4403 14.8355 22.028 13.9985 21.8866 13.3975C21.8715 13.3331 21.8359 13.2739 21.784 13.2267C21.732 13.1795 21.6659 13.1463 21.5933 13.131C21.5208 13.1157 21.4448 13.119 21.3742 13.1404C21.3036 13.1617 21.2415 13.2004 21.1949 13.2518C20.2034 14.3474 19.5387 14.7162 19.1249 14.8117C19.5417 13.9959 19.8529 13.2795 20.0522 12.6763C20.387 11.6629 20.4115 10.9542 20.1263 10.5102C19.9791 10.2776 19.6678 10 19.0434 10C18.2551 10 17.6332 10.6563 17.3367 11.8008C17.1605 12.48 17.1315 13.2367 17.2572 13.8761C17.3828 14.5156 17.6435 14.9808 18.0224 15.2571C17.8393 15.5909 17.6528 15.9169 17.4712 16.226H16.3972C16.293 16.226 16.1931 16.2624 16.1195 16.3273C16.0458 16.3922 16.0045 16.4802 16.0045 16.5719C16.0045 16.6636 16.0458 16.7516 16.1195 16.8165C16.1931 16.8813 16.293 16.9178 16.3972 16.9178H17.0554C16.4997 17.8257 16.0678 18.4587 16.0609 18.4691C16.0329 18.508 16.014 18.5515 16.0054 18.597C15.9967 18.6425 15.9985 18.689 16.0106 18.7338C16.0226 18.7787 16.0448 18.821 16.0756 18.8582C16.1065 18.8954 16.1455 18.9268 16.1904 18.9506C16.2353 18.9743 16.2851 18.9899 16.3369 18.9965C16.3887 19.003 16.4414 19.0004 16.4921 18.9887C16.5427 18.9771 16.5902 18.9566 16.6317 18.9286C16.6732 18.9005 16.708 18.8654 16.7339 18.8254C16.7413 18.8141 17.2871 18.0129 17.9463 16.9178H26.6073C26.7115 16.9178 26.8113 16.8813 26.885 16.8165C26.9586 16.7516 27 16.6636 27 16.5719C27 16.4802 26.9586 16.3922 26.885 16.3273C26.8113 16.2624 26.7115 16.226 26.6073 16.226ZM18.1024 11.9547C18.2978 11.1994 18.6763 10.6918 19.0434 10.6918C19.3051 10.6918 19.392 10.7722 19.4425 10.8505C19.5898 11.0809 19.7626 11.8963 18.3793 14.5856C17.9738 14.0979 17.8359 12.9833 18.1024 11.9547Z"
|
|
183
|
+
fill="white"
|
|
184
|
+
/>
|
|
185
|
+
<path
|
|
186
|
+
d="M7 3C6.20888 3 5.43552 3.2346 4.77772 3.67412C4.11992 4.11365 3.60723 4.73836 3.30448 5.46927C3.00173 6.20017 2.92252 7.00444 3.07686 7.78036C3.2312 8.55628 3.61216 9.26902 4.17157 9.82843C4.73098 10.3878 5.44372 10.7688 6.21964 10.9231C6.99556 11.0775 7.79983 10.9983 8.53073 10.6955C9.26164 10.3928 9.88635 9.88008 10.3259 9.22228C10.7654 8.56448 11 7.79112 11 7C10.9989 5.93948 10.5771 4.92271 9.82719 4.17281C9.07729 3.42291 8.06052 3.00112 7 3ZM7.61539 9.15384C7.44545 9.15384 7.30769 9.2916 7.30769 9.46154C7.30769 9.54314 7.27528 9.6214 7.21757 9.67911C7.15987 9.73681 7.08161 9.76923 7 9.76923C6.9184 9.76923 6.84013 9.73681 6.78243 9.67911C6.72473 9.6214 6.69231 9.54314 6.69231 9.46154C6.69231 9.2916 6.55455 9.15384 6.38462 9.15384C6.0582 9.15384 5.74515 9.02417 5.51433 8.79336C5.28352 8.56255 5.15385 8.2495 5.15385 7.92308C5.15385 7.84147 5.18626 7.76321 5.24397 7.7055C5.30167 7.6478 5.37993 7.61538 5.46154 7.61538C5.54314 7.61538 5.62141 7.6478 5.67911 7.7055C5.73681 7.76321 5.76923 7.84147 5.76923 7.92308C5.76923 8.08629 5.83407 8.24281 5.94947 8.35822C6.06488 8.47363 6.22141 8.53846 6.38462 8.53846H7.61539C7.7786 8.53846 7.93512 8.47363 8.05053 8.35822C8.16593 8.24281 8.23077 8.08629 8.23077 7.92308C8.23077 7.75987 8.16593 7.60334 8.05053 7.48793C7.93512 7.37253 7.7786 7.30769 7.61539 7.30769H6.53846C6.21204 7.30769 5.89899 7.17802 5.66818 6.94721C5.43736 6.71639 5.30769 6.40334 5.30769 6.07692C5.30769 5.7505 5.43736 5.43745 5.66818 5.20664C5.89899 4.97582 6.21204 4.84615 6.53846 4.84615C6.62343 4.84615 6.69231 4.77727 6.69231 4.69231V4.53846C6.69231 4.45686 6.72473 4.37859 6.78243 4.32089C6.84013 4.26319 6.9184 4.23077 7 4.23077C7.08161 4.23077 7.15987 4.26319 7.21757 4.32089C7.27528 4.37859 7.30769 4.45686 7.30769 4.53846V4.69231C7.30769 4.77727 7.37657 4.84615 7.46154 4.84615C7.78796 4.84615 8.10101 4.97582 8.33182 5.20664C8.56264 5.43745 8.69231 5.7505 8.69231 6.07692C8.69231 6.15853 8.65989 6.23679 8.60219 6.29449C8.54448 6.3522 8.46622 6.38461 8.38462 6.38461C8.30301 6.38461 8.22475 6.3522 8.16704 6.29449C8.10934 6.23679 8.07692 6.15853 8.07692 6.07692C8.07692 5.91371 8.01209 5.75719 7.89668 5.64178C7.78127 5.52637 7.62475 5.46154 7.46154 5.46154H6.53846C6.37525 5.46154 6.21873 5.52637 6.10332 5.64178C5.98791 5.75719 5.92308 5.91371 5.92308 6.07692C5.92308 6.24013 5.98791 6.39666 6.10332 6.51206C6.21873 6.62747 6.37525 6.69231 6.53846 6.69231H7.61539C7.94181 6.69231 8.25486 6.82198 8.48567 7.05279C8.71648 7.2836 8.84615 7.59666 8.84615 7.92308C8.84615 8.2495 8.71648 8.56255 8.48567 8.79336C8.25486 9.02417 7.94181 9.15384 7.61539 9.15384Z"
|
|
187
|
+
fill="white"
|
|
188
|
+
/>
|
|
189
|
+
<rect
|
|
190
|
+
fill="white"
|
|
191
|
+
height="1"
|
|
192
|
+
rx="0.5"
|
|
193
|
+
width="11"
|
|
194
|
+
x="16"
|
|
195
|
+
y="16"
|
|
196
|
+
/>
|
|
197
|
+
<rect
|
|
198
|
+
fill="white"
|
|
199
|
+
height="1"
|
|
200
|
+
rx="0.5"
|
|
201
|
+
width="8"
|
|
202
|
+
x="3"
|
|
203
|
+
y="13"
|
|
204
|
+
/>
|
|
205
|
+
<rect
|
|
206
|
+
fill="white"
|
|
207
|
+
height="1"
|
|
208
|
+
rx="0.5"
|
|
209
|
+
width="8"
|
|
210
|
+
x="3"
|
|
211
|
+
y="16"
|
|
212
|
+
/>
|
|
213
|
+
</>
|
|
214
|
+
);
|
|
215
|
+
|
|
216
|
+
export const moneyOrder = (
|
|
217
|
+
<>
|
|
218
|
+
<rect
|
|
219
|
+
fill="#1B1C1D"
|
|
220
|
+
height="20"
|
|
221
|
+
rx="2"
|
|
222
|
+
width="30"
|
|
223
|
+
/>
|
|
224
|
+
<path
|
|
225
|
+
d="M15.6067 4.43562C15.6404 3.98298 15.7941 3.54656 16.0531 3.16894C16.312 2.79133 16.6672 2.48543 17.084 2.2811C17.5009 2.07677 17.9651 1.98099 18.4314 2.00312C18.8977 2.02525 19.3501 2.16453 19.7445 2.40737C19.7896 2.43604 19.8259 2.476 19.8496 2.52303C19.8733 2.57006 19.8836 2.62244 19.8793 2.67465C19.875 2.72687 19.8563 2.77699 19.8252 2.81976C19.7941 2.86253 19.7517 2.89636 19.7025 2.91771C19.0169 3.21755 18.4349 3.70342 18.0265 4.31695C17.6181 4.93048 17.4005 5.64559 17.4 6.37638C17.4 6.46168 17.4 6.54698 17.409 6.63082C17.4131 6.68382 17.4023 6.7369 17.3776 6.78434C17.353 6.83178 17.3155 6.87177 17.2692 6.89999C17.2228 6.92821 17.1695 6.94359 17.1148 6.94446C17.0601 6.94534 17.0063 6.93167 16.959 6.90495C16.517 6.65919 16.1555 6.29693 15.9162 5.86001C15.677 5.42308 15.5697 4.92928 15.6067 4.43562ZM24 11.9617C24.0011 12.295 23.9061 12.6219 23.7258 12.9054C23.5455 13.1889 23.2872 13.4176 22.98 13.5657L22.947 13.5802L20.0347 14.7861C20.006 14.7984 19.9761 14.8082 19.9455 14.8153L15.1455 15.9818C15.098 15.9937 15.0491 15.9998 15 16H7.2C6.88174 16 6.57652 15.8771 6.35147 15.6583C6.12643 15.4396 6 15.1429 6 14.8335V11.9173C6 11.6079 6.12643 11.3112 6.35147 11.0924C6.57652 10.8737 6.88174 10.7508 7.2 10.7508H9.35175L11.0482 9.10088C11.2707 8.88367 11.5352 8.71147 11.8265 8.59421C12.1179 8.47696 12.4302 8.41699 12.7455 8.41775H16.5C16.8169 8.41772 17.1297 8.48742 17.415 8.62163C17.7003 8.75583 17.9506 8.95107 18.1473 9.1927C18.3439 9.43432 18.4817 9.71608 18.5503 10.0168C18.619 10.3176 18.6167 10.6296 18.5437 10.9294L21.6817 10.228C21.9549 10.1577 22.2411 10.1493 22.5181 10.2034C22.7952 10.2576 23.0557 10.3729 23.2797 10.5404C23.5037 10.7079 23.6851 10.9231 23.81 11.1696C23.9349 11.416 23.9999 11.687 24 11.9617ZM22.8 11.9617C22.7999 11.8653 22.7769 11.7702 22.7329 11.6837C22.6889 11.5973 22.625 11.5219 22.5461 11.4634C22.4673 11.4049 22.3756 11.3648 22.2783 11.3463C22.1809 11.3278 22.0805 11.3313 21.9847 11.3566L21.9615 11.3624L16.9365 12.4859C16.8924 12.4955 16.8474 12.5004 16.8022 12.5005H14.4C14.2409 12.5005 14.0883 12.4391 13.9757 12.3297C13.8632 12.2203 13.8 12.0719 13.8 11.9173C13.8 11.7626 13.8632 11.6142 13.9757 11.5048C14.0883 11.3955 14.2409 11.334 14.4 11.334H16.5C16.7387 11.334 16.9676 11.2418 17.1364 11.0778C17.3052 10.9137 17.4 10.6912 17.4 10.4591C17.4 10.2271 17.3052 10.0046 17.1364 9.8405C16.9676 9.67643 16.7387 9.58425 16.5 9.58425H12.7455C12.5879 9.58376 12.4317 9.61374 12.2861 9.67244C12.1404 9.73114 12.0083 9.81739 11.8972 9.92618L10.2 11.5753V14.8335H14.925L19.6072 13.6954L22.4572 12.5158C22.561 12.4627 22.6478 12.383 22.7082 12.2853C22.7686 12.1876 22.8004 12.0757 22.8 11.9617ZM18.6 6.37638C18.6 6.89548 18.7583 7.40293 19.055 7.83454C19.3517 8.26616 19.7734 8.60256 20.2667 8.80122C20.7601 8.99987 21.303 9.05184 21.8267 8.95057C22.3505 8.8493 22.8316 8.59933 23.2092 8.23227C23.5868 7.86521 23.8439 7.39755 23.9481 6.88842C24.0523 6.37929 23.9988 5.85157 23.7945 5.37198C23.5901 4.89239 23.244 4.48248 22.8 4.19408C22.356 3.90569 21.834 3.75176 21.3 3.75176C20.5839 3.75176 19.8972 4.02828 19.3908 4.52049C18.8845 5.0127 18.6 5.68029 18.6 6.37638Z"
|
|
226
|
+
fill="white"
|
|
227
|
+
/>
|
|
228
|
+
</>
|
|
229
|
+
);
|
|
230
|
+
|
|
231
|
+
export const wireTransfer = (
|
|
232
|
+
<>
|
|
233
|
+
<rect
|
|
234
|
+
fill="#002538"
|
|
235
|
+
height="20"
|
|
236
|
+
rx="2"
|
|
237
|
+
width="30"
|
|
238
|
+
/>
|
|
239
|
+
<path
|
|
240
|
+
d="M11 13.0409C11 13.1182 10.9684 13.1924 10.9121 13.2471C10.8559 13.3018 10.7796 13.3325 10.7 13.3325H2.3C2.22044 13.3325 2.14413 13.3018 2.08787 13.2471C2.03161 13.1924 2 13.1182 2 13.0409C2 12.9635 2.03161 12.8893 2.08787 12.8346C2.14413 12.7799 2.22044 12.7492 2.3 12.7492H10.7C10.7796 12.7492 10.8559 12.7799 10.9121 12.8346C10.9684 12.8893 11 12.9635 11 13.0409ZM2.31125 9.03711C2.29341 8.97595 2.29661 8.91079 2.32037 8.85156C2.34413 8.79233 2.38715 8.74226 2.44287 8.70899L6.34288 6.37572C6.39013 6.34747 6.44452 6.33252 6.5 6.33252C6.55548 6.33252 6.60987 6.34747 6.65713 6.37572L10.5571 8.70899C10.6129 8.74222 10.6559 8.79225 10.6797 8.85146C10.7035 8.91066 10.7068 8.97581 10.689 9.03698C10.6712 9.09816 10.6333 9.152 10.5812 9.19033C10.529 9.22865 10.4654 9.24936 10.4 9.24929H9.5V11.5826H10.1C10.1796 11.5826 10.2559 11.6133 10.3121 11.668C10.3684 11.7227 10.4 11.7969 10.4 11.8742C10.4 11.9516 10.3684 12.0258 10.3121 12.0805C10.2559 12.1352 10.1796 12.1659 10.1 12.1659H2.9C2.82044 12.1659 2.74413 12.1352 2.68787 12.0805C2.63161 12.0258 2.6 11.9516 2.6 11.8742C2.6 11.7969 2.63161 11.7227 2.68787 11.668C2.74413 11.6133 2.82044 11.5826 2.9 11.5826H3.5V9.24929H2.6C2.53467 9.24931 2.47112 9.2286 2.419 9.19031C2.36689 9.15201 2.32905 9.09822 2.31125 9.03711ZM7.1 11.2909C7.1 11.3683 7.13161 11.4424 7.18787 11.4971C7.24413 11.5518 7.32044 11.5826 7.4 11.5826C7.47957 11.5826 7.55587 11.5518 7.61213 11.4971C7.66839 11.4424 7.7 11.3683 7.7 11.2909V9.54095C7.7 9.4636 7.66839 9.38941 7.61213 9.33472C7.55587 9.28002 7.47957 9.24929 7.4 9.24929C7.32044 9.24929 7.24413 9.28002 7.18787 9.33472C7.13161 9.38941 7.1 9.4636 7.1 9.54095V11.2909ZM5.3 11.2909C5.3 11.3683 5.33161 11.4424 5.38787 11.4971C5.44413 11.5518 5.52044 11.5826 5.6 11.5826C5.67957 11.5826 5.75587 11.5518 5.81213 11.4971C5.86839 11.4424 5.9 11.3683 5.9 11.2909V9.54095C5.9 9.4636 5.86839 9.38941 5.81213 9.33472C5.75587 9.28002 5.67957 9.24929 5.6 9.24929C5.52044 9.24929 5.44413 9.28002 5.38787 9.33472C5.33161 9.38941 5.3 9.4636 5.3 9.54095V11.2909Z"
|
|
241
|
+
fill="white"
|
|
242
|
+
/>
|
|
243
|
+
<path
|
|
244
|
+
d="M27 13.0409C27 13.1182 26.9684 13.1924 26.9121 13.2471C26.8559 13.3018 26.7796 13.3325 26.7 13.3325H18.3C18.2204 13.3325 18.1441 13.3018 18.0879 13.2471C18.0316 13.1924 18 13.1182 18 13.0409C18 12.9635 18.0316 12.8893 18.0879 12.8346C18.1441 12.7799 18.2204 12.7492 18.3 12.7492H26.7C26.7796 12.7492 26.8559 12.7799 26.9121 12.8346C26.9684 12.8893 27 12.9635 27 13.0409ZM18.3112 9.03711C18.2934 8.97595 18.2966 8.91079 18.3204 8.85156C18.3441 8.79233 18.3871 8.74226 18.4429 8.70899L22.3429 6.37572C22.3901 6.34747 22.4445 6.33252 22.5 6.33252C22.5555 6.33252 22.6099 6.34747 22.6571 6.37572L26.5571 8.70899C26.6129 8.74222 26.6559 8.79225 26.6797 8.85146C26.7035 8.91066 26.7068 8.97581 26.689 9.03698C26.6712 9.09816 26.6333 9.152 26.5812 9.19033C26.529 9.22865 26.4654 9.24936 26.4 9.24929H25.5V11.5826H26.1C26.1796 11.5826 26.2559 11.6133 26.3121 11.668C26.3684 11.7227 26.4 11.7969 26.4 11.8742C26.4 11.9516 26.3684 12.0258 26.3121 12.0805C26.2559 12.1352 26.1796 12.1659 26.1 12.1659H18.9C18.8204 12.1659 18.7441 12.1352 18.6879 12.0805C18.6316 12.0258 18.6 11.9516 18.6 11.8742C18.6 11.7969 18.6316 11.7227 18.6879 11.668C18.7441 11.6133 18.8204 11.5826 18.9 11.5826H19.5V9.24929H18.6C18.5347 9.24931 18.4711 9.2286 18.419 9.19031C18.3669 9.15201 18.3291 9.09822 18.3112 9.03711ZM23.1 11.2909C23.1 11.3683 23.1316 11.4424 23.1879 11.4971C23.2441 11.5518 23.3204 11.5826 23.4 11.5826C23.4796 11.5826 23.5559 11.5518 23.6121 11.4971C23.6684 11.4424 23.7 11.3683 23.7 11.2909V9.54095C23.7 9.4636 23.6684 9.38941 23.6121 9.33472C23.5559 9.28002 23.4796 9.24929 23.4 9.24929C23.3204 9.24929 23.2441 9.28002 23.1879 9.33472C23.1316 9.38941 23.1 9.4636 23.1 9.54095V11.2909ZM21.3 11.2909C21.3 11.3683 21.3316 11.4424 21.3879 11.4971C21.4441 11.5518 21.5204 11.5826 21.6 11.5826C21.6796 11.5826 21.7559 11.5518 21.8121 11.4971C21.8684 11.4424 21.9 11.3683 21.9 11.2909V9.54095C21.9 9.4636 21.8684 9.38941 21.8121 9.33472C21.7559 9.28002 21.6796 9.24929 21.6 9.24929C21.5204 9.24929 21.4441 9.28002 21.3879 9.33472C21.3316 9.38941 21.3 9.4636 21.3 9.54095V11.2909Z"
|
|
245
|
+
fill="white"
|
|
246
|
+
/>
|
|
247
|
+
<path
|
|
248
|
+
d="M12.0667 9.29725C12.0455 9.27614 12.0288 9.25108 12.0173 9.22349C12.0059 9.1959 12 9.16633 12 9.13646C12 9.1066 12.0059 9.07702 12.0173 9.04944C12.0288 9.02185 12.0455 8.99678 12.0667 8.97568L12.9757 8.06665C13.0075 8.03483 13.048 8.01316 13.0921 8.00438C13.1362 7.99559 13.1819 8.00009 13.2235 8.01731C13.265 8.03452 13.3005 8.06368 13.3255 8.10108C13.3504 8.13849 13.3638 8.18246 13.3637 8.22744V8.9092H16.7726C16.8328 8.9092 16.8906 8.93315 16.9333 8.97577C16.9759 9.01839 16.9998 9.07619 16.9998 9.13646C16.9998 9.19673 16.9759 9.25454 16.9333 9.29716C16.8906 9.33977 16.8328 9.36372 16.7726 9.36372H13.3637V10.0455C13.3638 10.0905 13.3504 10.1344 13.3255 10.1718C13.3005 10.2092 13.265 10.2384 13.2235 10.2556C13.1819 10.2728 13.1362 10.2773 13.0921 10.2685C13.048 10.2598 13.0075 10.2381 12.9757 10.2063L12.0667 9.29725ZM16.9333 11.7028L16.0243 10.7937C15.9925 10.7619 15.952 10.7402 15.9079 10.7315C15.8638 10.7227 15.8181 10.7272 15.7765 10.7444C15.735 10.7616 15.6995 10.7908 15.6745 10.8282C15.6496 10.8656 15.6362 10.9095 15.6363 10.9545V11.6363H12.2274C12.1672 11.6363 12.1094 11.6602 12.0667 11.7028C12.0241 11.7455 12.0002 11.8033 12.0002 11.8635C12.0002 11.9238 12.0241 11.9816 12.0667 12.0242C12.1094 12.0669 12.1672 12.0908 12.2274 12.0908H15.6363V12.7726C15.6362 12.8175 15.6496 12.8615 15.6745 12.8989C15.6995 12.9363 15.735 12.9655 15.7765 12.9827C15.8181 12.9999 15.8638 13.0044 15.9079 12.9956C15.952 12.9868 15.9925 12.9652 16.0243 12.9333L16.9333 12.0243C16.9545 12.0032 16.9712 11.9782 16.9827 11.9506C16.9941 11.923 17 11.8934 17 11.8635C17 11.8337 16.9941 11.8041 16.9827 11.7765C16.9712 11.7489 16.9545 11.7239 16.9333 11.7028Z"
|
|
249
|
+
fill="white"
|
|
250
|
+
/>
|
|
251
|
+
</>
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
export const other = (
|
|
255
|
+
<>
|
|
256
|
+
<path
|
|
257
|
+
d="M0 2C0 0.895431 0.895431 0 2 0H28C29.1046 0 30 0.895431 30 2V18C30 19.1046 29.1046 20 28 20H2C0.89543 20 0 19.1046 0 18V2Z"
|
|
258
|
+
fill="white"
|
|
259
|
+
/>
|
|
260
|
+
<path
|
|
261
|
+
d="M30 8H0V4H30V8Z"
|
|
262
|
+
fill="#595C61"
|
|
263
|
+
/>
|
|
264
|
+
<path
|
|
265
|
+
d="M0.25 7.75V4.25H29.75V7.75H0.25ZM0.25 3.75V2C0.25 1.0335 1.0335 0.25 2 0.25H28C28.9665 0.25 29.75 1.0335 29.75 2V3.75H0.25ZM29.75 8.25V18C29.75 18.9665 28.9665 19.75 28 19.75H2C1.0335 19.75 0.25 18.9665 0.25 18V8.25H29.75Z"
|
|
266
|
+
stroke="#595C61"
|
|
267
|
+
strokeWidth="0.5"
|
|
268
|
+
/>
|
|
269
|
+
</>
|
|
270
|
+
);
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colorIconCritical,
|
|
3
|
+
colorIconDisabled,
|
|
4
|
+
colorIconInfo,
|
|
5
|
+
colorIconInverse,
|
|
6
|
+
colorIconPrimary,
|
|
7
|
+
colorIconSecondary,
|
|
8
|
+
colorIconSuccess,
|
|
9
|
+
colorIconWarning,
|
|
10
|
+
} from '@evolve.ui/theme-system';
|
|
11
|
+
import { cloneElement, forwardRef, ForwardRefExoticComponent, HTMLProps } from 'react';
|
|
12
|
+
|
|
13
|
+
export const iconSizesToPixels = {
|
|
14
|
+
lg: 44,
|
|
15
|
+
md: 30,
|
|
16
|
+
sm: 20,
|
|
17
|
+
xs: 14,
|
|
18
|
+
} as const;
|
|
19
|
+
|
|
20
|
+
export const getColor = (color: IconProps['color']) => {
|
|
21
|
+
switch (color) {
|
|
22
|
+
case 'critical':
|
|
23
|
+
return `rgb(var(${colorIconCritical}))`;
|
|
24
|
+
case 'disabled':
|
|
25
|
+
return `rgb(var(${colorIconDisabled}))`;
|
|
26
|
+
case 'info':
|
|
27
|
+
return `rgb(var(${colorIconInfo}))`;
|
|
28
|
+
case 'inverse':
|
|
29
|
+
return `rgb(var(${colorIconInverse}))`;
|
|
30
|
+
case 'primary':
|
|
31
|
+
return `rgb(var(${colorIconPrimary}))`;
|
|
32
|
+
case 'secondary':
|
|
33
|
+
return `rgb(var(${colorIconSecondary}))`;
|
|
34
|
+
case 'success':
|
|
35
|
+
return `rgb(var(${colorIconSuccess}))`;
|
|
36
|
+
case 'warning':
|
|
37
|
+
return `rgb(var(${colorIconWarning}))`;
|
|
38
|
+
case 'inherit':
|
|
39
|
+
case undefined:
|
|
40
|
+
default:
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const getDisplayName = (name: string | undefined) => {
|
|
46
|
+
if (!name) {
|
|
47
|
+
return '';
|
|
48
|
+
}
|
|
49
|
+
return name.replace(/([A-Z])/g, ' $1').trim();
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type IconWeight = 'regular' | 'bold' | 'fill' | 'duotone';
|
|
53
|
+
|
|
54
|
+
export type IconProps = Omit<
|
|
55
|
+
HTMLProps<SVGSVGElement>,
|
|
56
|
+
'className' | 'color' | 'size' | 'style' | 'ref' | '$withoutAriaLabel'
|
|
57
|
+
> & {
|
|
58
|
+
/**
|
|
59
|
+
* If passed, the aria-label will not be set on the icon and is expected to be set by the parent component.
|
|
60
|
+
*
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
$withoutAriaLabel?: boolean;
|
|
64
|
+
className?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Style the icon with any of the following colors. 'inherit' is a special value that uses the current color of the parent element.
|
|
67
|
+
*
|
|
68
|
+
* @default 'primary'
|
|
69
|
+
*/
|
|
70
|
+
color?: 'critical' | 'disabled' | 'info' | 'inverse' | 'primary' | 'secondary' | 'success' | 'warning' | 'inherit';
|
|
71
|
+
customStyles?: React.CSSProperties;
|
|
72
|
+
displayName?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The key for height and width of icon based on the following mapping
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
* 'ExtraSmall' _ '14px'
|
|
78
|
+
* 'Small' ______ '20px'
|
|
79
|
+
* 'Medium' _____ '30px'
|
|
80
|
+
* 'Large' ______ '44px'
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @default 'md'
|
|
84
|
+
*/
|
|
85
|
+
size?: keyof typeof iconSizesToPixels;
|
|
86
|
+
/**
|
|
87
|
+
* The weight of the icon
|
|
88
|
+
*
|
|
89
|
+
* @default 'regular'
|
|
90
|
+
*/
|
|
91
|
+
style?: Exclude<IconWeight, 'light' | 'thin'>;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export type IconComponent = ForwardRefExoticComponent<IconProps>;
|
|
95
|
+
|
|
96
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
97
|
+
export const IconBase = forwardRef<SVGSVGElement, IconProps & { weights: Record<string, React.ReactElement<any>> }>(
|
|
98
|
+
(
|
|
99
|
+
{
|
|
100
|
+
$withoutAriaLabel,
|
|
101
|
+
className,
|
|
102
|
+
color,
|
|
103
|
+
customStyles,
|
|
104
|
+
displayName,
|
|
105
|
+
size = 'md',
|
|
106
|
+
style = 'regular',
|
|
107
|
+
weights,
|
|
108
|
+
...rest
|
|
109
|
+
},
|
|
110
|
+
ref
|
|
111
|
+
) => {
|
|
112
|
+
const selectedWeight = weights[style];
|
|
113
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
114
|
+
if (!selectedWeight) {
|
|
115
|
+
// eslint-disable-next-line no-console
|
|
116
|
+
console.warn(`IconBase: No weight found for style "${style}" for icon "${displayName}"`);
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
return cloneElement(selectedWeight, {
|
|
120
|
+
// Use aria-label that is passed in or the icon name if `without-aria-label` is false
|
|
121
|
+
'aria-label': $withoutAriaLabel ? rest['aria-label'] : getDisplayName(displayName),
|
|
122
|
+
className,
|
|
123
|
+
fill: getColor(color) ?? 'currentColor',
|
|
124
|
+
height: iconSizesToPixels[size],
|
|
125
|
+
ref,
|
|
126
|
+
style: { minHeight: iconSizesToPixels[size], minWidth: iconSizesToPixels[size], ...customStyles },
|
|
127
|
+
width: iconSizesToPixels[size],
|
|
128
|
+
...rest,
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
IconBase.displayName = 'IconBase';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Code generated by copy-phosphor-icons.ts. DO NOT EDIT.
|
|
2
|
+
import { IconBase, IconProps } from '../IconBase';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
const weights = {
|
|
6
|
+
bold: React.createElement(
|
|
7
|
+
'svg',
|
|
8
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
9
|
+
React.createElement('path', {
|
|
10
|
+
d: 'M224,44H32A20,20,0,0,0,12,64V88a20,20,0,0,0,16,19.6V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V107.6A20,20,0,0,0,244,88V64A20,20,0,0,0,224,44ZM36,68H220V84H36ZM52,188V108H204v80Zm112-52a12,12,0,0,1-12,12H104a12,12,0,0,1,0-24h48A12,12,0,0,1,164,136Z',
|
|
11
|
+
})
|
|
12
|
+
),
|
|
13
|
+
duotone: React.createElement(
|
|
14
|
+
'svg',
|
|
15
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
16
|
+
React.createElement('path', { d: 'M216,96v96a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96Z', opacity: '0.2' }),
|
|
17
|
+
React.createElement('path', {
|
|
18
|
+
d: 'M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z',
|
|
19
|
+
})
|
|
20
|
+
),
|
|
21
|
+
fill: React.createElement(
|
|
22
|
+
'svg',
|
|
23
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
24
|
+
React.createElement('path', {
|
|
25
|
+
d: 'M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm-72,96H104a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm72-56H32V64H224V88Z',
|
|
26
|
+
})
|
|
27
|
+
),
|
|
28
|
+
regular: React.createElement(
|
|
29
|
+
'svg',
|
|
30
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
31
|
+
React.createElement('path', {
|
|
32
|
+
d: 'M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z',
|
|
33
|
+
})
|
|
34
|
+
),
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const Archive = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
|
|
38
|
+
return (
|
|
39
|
+
<IconBase
|
|
40
|
+
displayName="Archive"
|
|
41
|
+
ref={ref}
|
|
42
|
+
{...props}
|
|
43
|
+
weights={weights}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
Archive.displayName = 'Archive';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Code generated by copy-phosphor-icons.ts. DO NOT EDIT.
|
|
2
|
+
import { IconBase, IconProps } from '../IconBase';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
const weights = {
|
|
6
|
+
bold: React.createElement(
|
|
7
|
+
'svg',
|
|
8
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
9
|
+
React.createElement('path', {
|
|
10
|
+
d: 'M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z',
|
|
11
|
+
})
|
|
12
|
+
),
|
|
13
|
+
duotone: React.createElement(
|
|
14
|
+
'svg',
|
|
15
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
16
|
+
React.createElement('path', { d: 'M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z', opacity: '0.2' }),
|
|
17
|
+
React.createElement('path', {
|
|
18
|
+
d: 'M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z',
|
|
19
|
+
})
|
|
20
|
+
),
|
|
21
|
+
fill: React.createElement(
|
|
22
|
+
'svg',
|
|
23
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
24
|
+
React.createElement('path', {
|
|
25
|
+
d: 'M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z',
|
|
26
|
+
})
|
|
27
|
+
),
|
|
28
|
+
regular: React.createElement(
|
|
29
|
+
'svg',
|
|
30
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
31
|
+
React.createElement('path', {
|
|
32
|
+
d: 'M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z',
|
|
33
|
+
})
|
|
34
|
+
),
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const ArrowClockwise = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
|
|
38
|
+
return (
|
|
39
|
+
<IconBase
|
|
40
|
+
displayName="ArrowClockwise"
|
|
41
|
+
ref={ref}
|
|
42
|
+
{...props}
|
|
43
|
+
weights={weights}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
ArrowClockwise.displayName = 'ArrowClockwise';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Code generated by copy-phosphor-icons.ts. DO NOT EDIT.
|
|
2
|
+
import { IconBase, IconProps } from '../IconBase';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
const weights = {
|
|
6
|
+
bold: React.createElement(
|
|
7
|
+
'svg',
|
|
8
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
9
|
+
React.createElement('path', {
|
|
10
|
+
d: 'M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z',
|
|
11
|
+
})
|
|
12
|
+
),
|
|
13
|
+
duotone: React.createElement(
|
|
14
|
+
'svg',
|
|
15
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
16
|
+
React.createElement('path', { d: 'M200,144l-72,72L56,144Z', opacity: '0.2' }),
|
|
17
|
+
React.createElement('path', {
|
|
18
|
+
d: 'M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z',
|
|
19
|
+
})
|
|
20
|
+
),
|
|
21
|
+
fill: React.createElement(
|
|
22
|
+
'svg',
|
|
23
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
24
|
+
React.createElement('path', {
|
|
25
|
+
d: 'M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z',
|
|
26
|
+
})
|
|
27
|
+
),
|
|
28
|
+
regular: React.createElement(
|
|
29
|
+
'svg',
|
|
30
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
31
|
+
React.createElement('path', {
|
|
32
|
+
d: 'M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z',
|
|
33
|
+
})
|
|
34
|
+
),
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const ArrowDown = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
|
|
38
|
+
return (
|
|
39
|
+
<IconBase
|
|
40
|
+
displayName="ArrowDown"
|
|
41
|
+
ref={ref}
|
|
42
|
+
{...props}
|
|
43
|
+
weights={weights}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
ArrowDown.displayName = 'ArrowDown';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Code generated by copy-phosphor-icons.ts. DO NOT EDIT.
|
|
2
|
+
import { IconBase, IconProps } from '../IconBase';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
const weights = {
|
|
6
|
+
bold: React.createElement(
|
|
7
|
+
'svg',
|
|
8
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
9
|
+
React.createElement('path', {
|
|
10
|
+
d: 'M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z',
|
|
11
|
+
})
|
|
12
|
+
),
|
|
13
|
+
duotone: React.createElement(
|
|
14
|
+
'svg',
|
|
15
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
16
|
+
React.createElement('path', { d: 'M112,56V200L40,128Z', opacity: '0.2' }),
|
|
17
|
+
React.createElement('path', {
|
|
18
|
+
d: 'M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z',
|
|
19
|
+
})
|
|
20
|
+
),
|
|
21
|
+
fill: React.createElement(
|
|
22
|
+
'svg',
|
|
23
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
24
|
+
React.createElement('path', {
|
|
25
|
+
d: 'M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z',
|
|
26
|
+
})
|
|
27
|
+
),
|
|
28
|
+
regular: React.createElement(
|
|
29
|
+
'svg',
|
|
30
|
+
{ fill: 'currentColor', viewBox: '0 0 256 256', xmlns: 'http://www.w3.org/2000/svg' },
|
|
31
|
+
React.createElement('path', {
|
|
32
|
+
d: 'M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z',
|
|
33
|
+
})
|
|
34
|
+
),
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const ArrowLeft = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
|
|
38
|
+
return (
|
|
39
|
+
<IconBase
|
|
40
|
+
displayName="ArrowLeft"
|
|
41
|
+
ref={ref}
|
|
42
|
+
{...props}
|
|
43
|
+
weights={weights}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
ArrowLeft.displayName = 'ArrowLeft';
|