@class101/cdn-ui-system 0.0.7 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/chunk-2A2YD3YP.js +22244 -0
- package/chunk-37VQUPZR.js +217 -0
- package/chunk-BDSNAS3L.js +183 -0
- package/chunk-CGEEKALF.js +184 -0
- package/chunk-ESGHR2XF.js +603 -0
- package/chunk-IFZN3H2K.js +515 -0
- package/chunk-IPFBPHEG.js +9145 -0
- package/chunk-J3Q2BPOW.js +19 -0
- package/chunk-KBZLTPPY.js +58 -0
- package/chunk-KTYFPJF3.js +5428 -0
- package/chunk-LE44IRCL.js +152 -0
- package/chunk-LN36XQS3.js +47 -0
- package/chunk-MBYCGPJ2.js +29 -0
- package/chunk-O6RRFC57.js +255 -0
- package/chunk-QNI6E7MT.js +39 -0
- package/chunk-R4HM35UZ.js +84 -0
- package/chunk-RYCV4KQR.js +187 -0
- package/chunk-SFQY5CLW.js +300 -0
- package/chunk-SFWBAQL4.js +21 -0
- package/chunk-SPRM5WZD.js +29 -0
- package/chunk-SU3NURQK.js +254 -0
- package/chunk-T7TBQTBE.js +1510 -0
- package/chunk-VIIHQGZ3.js +76 -0
- package/chunk-XXMJSYNO.js +952 -0
- package/contexts/ImageContext/ImageContext.js +5 -3
- package/contexts/ImageContext/index.js +5 -3
- package/contexts/LinkContext/LinkContext.js +5 -3
- package/contexts/LinkContext/index.js +5 -3
- package/contexts/SafeAreaContext/SafeAreaContext.js +11 -0
- package/contexts/SafeAreaContext/index.js +10 -0
- package/contexts/ScrollContext/ScrollContext.js +18 -0
- package/contexts/ScrollContext/index.js +11 -0
- package/contexts/UiSystemProvider.js +19 -10
- package/core/colors/DarkModeColors.js +6 -3
- package/core/colors/LightModeColors.js +6 -3
- package/core/index.js +21 -9
- package/core/props/action.js +8 -3
- package/core/props/animator.js +8 -3
- package/core/props/background.js +14 -4
- package/core/props/border.js +33 -5
- package/core/props/color.js +8 -3
- package/core/props/flexbox.js +17 -4
- package/core/props/icon.js +8 -3
- package/core/props/image.js +15 -6
- package/core/props/index.js +47 -22
- package/core/props/layout.js +37 -5
- package/core/props/position.js +8 -3
- package/core/props/shadow.js +8 -3
- package/core/props/space.js +8 -3
- package/core/props/transform.js +34 -3
- package/core/props/transition.js +8 -3
- package/core/props/types/ResponsiveValue.js +6 -2
- package/core/props/types/SystemComponent.js +6 -2
- package/core/props/typography.js +15 -5
- package/core/props/utils/calculateResponsiveValues.js +27 -0
- package/core/props/utils/getResponsiveValue.js +17 -10
- package/core/props/utils/skipForwardProps.js +8 -4
- package/core/props/video.js +9 -3
- package/core/theme/baseTheme.js +17 -4
- package/core/theme/defaultTheme.js +12 -10
- package/core/theme/signatureTheme.js +14 -11
- package/core/variants/baseVariant/baseVariant.js +7 -5
- package/core/variants/baseVariant/index.js +5 -3
- package/core/variants/makeStyled/index.js +11 -0
- package/core/variants/makeStyled/makeStyled.js +19 -0
- package/core/variants/propVariant/index.js +5 -3
- package/core/variants/propVariant/propVariant.js +12 -14
- package/core/variants/propVariant/propVariant.spec.js +13 -11
- package/core/variants/propsVariant/index.js +10 -0
- package/core/variants/propsVariant/propsVariant.js +32 -0
- package/core/variants/propsVariant/propsVariant.spec.js +73 -0
- package/core/variants/styleVariant/index.js +5 -3
- package/core/variants/styleVariant/styleVariant.js +21 -14
- package/core/variants/styleVariant/styleVariant.spec.js +17 -13
- package/core/variants/stylesVariant/index.js +10 -0
- package/core/variants/stylesVariant/stylesVariant.js +40 -0
- package/core/variants/stylesVariant/stylesVariant.spec.js +52 -0
- package/core/variants/system/index.js +5 -3
- package/core/variants/system/system.js +27 -19
- package/core/variants/system/type.js +6 -0
- package/hooks/useIsMobile/index.js +10 -0
- package/hooks/useIsMobile/useIsMobile.js +12 -0
- package/hooks/useMediaQuery/index.js +10 -0
- package/hooks/useMediaQuery/useMediaQuery.js +32 -0
- package/hooks/useNativeResponsiveValue/index.js +10 -0
- package/hooks/useNativeResponsiveValue/useNativeResponsiveValue.js +42 -0
- package/hooks/useResponsiveValue/index.js +5 -3
- package/hooks/useResponsiveValue/useResponsiveValue.js +18 -8
- package/hooks/useWindowResizeEvent/index.js +10 -0
- package/hooks/useWindowResizeEvent/useWindowResizeEvent.js +27 -0
- package/index.js +160 -100
- package/lib/Accordion/Accordion.js +27 -17
- package/lib/Accordion/index.js +5 -3
- package/lib/Action/Action.js +18 -15
- package/lib/Action/index.js +5 -3
- package/lib/Alert/Alert.js +16 -11
- package/lib/Alert/index.js +5 -3
- package/lib/Animation/Animator/Animator.js +37 -25
- package/lib/Animation/Animator/index.js +5 -3
- package/lib/Animation/FadeAnimation/FadeAnimation.js +28 -15
- package/lib/Animation/FadeAnimation/index.js +5 -3
- package/lib/Animation/RotateAnimation/RotateAnimation.js +16 -8
- package/lib/Animation/RotateAnimation/index.js +5 -3
- package/lib/Animation/SlideAnimation/SlideAnimation.js +20 -10
- package/lib/Animation/SlideAnimation/index.js +5 -3
- package/lib/Animation/Transition/Transition.js +27 -16
- package/lib/Animation/Transition/index.js +5 -3
- package/lib/Avatar/Avatar.js +100 -82
- package/lib/Avatar/index.js +5 -3
- package/lib/Backdrop/Backdrop.js +15 -9
- package/lib/Backdrop/index.js +5 -3
- package/lib/Background/Background.js +15 -25
- package/lib/Background/index.js +5 -3
- package/lib/BackgroundImage/BackgroundImage.js +20 -0
- package/lib/BackgroundImage/index.js +10 -0
- package/lib/BreadCrumb/BreadCrumb.js +21 -12
- package/lib/BreadCrumb/index.js +5 -3
- package/lib/BulletPagination/BulletPagination.js +37 -0
- package/lib/BulletPagination/index.js +10 -0
- package/lib/Button/Button/Button.js +69 -19
- package/lib/Button/Button/index.js +5 -3
- package/lib/Button/ContainedButton/ContainedButton.js +147 -123
- package/lib/Button/ContainedButton/index.js +5 -3
- package/lib/Button/GhostButton/GhostButton.js +155 -0
- package/lib/Button/GhostButton/index.js +10 -0
- package/lib/Button/TextButton/TextButton.js +112 -104
- package/lib/Button/TextButton/index.js +5 -3
- package/lib/Callout/Callout.js +71 -0
- package/lib/Callout/index.js +10 -0
- package/lib/Chip/FilterChip/FilterChip.js +77 -0
- package/lib/Chip/FilterChip/index.js +10 -0
- package/lib/Chip/InputChip/InputChip.js +1443 -0
- package/lib/Chip/InputChip/index.js +10 -0
- package/lib/ConditionalWrapper/ConditionalWrapper.js +6 -3
- package/lib/ConditionalWrapper/index.js +5 -3
- package/lib/ContentArea/ContentArea.js +41 -0
- package/lib/ContentArea/index.js +10 -0
- package/lib/Divider/Divider.js +19 -15
- package/lib/Divider/index.js +5 -3
- package/lib/Dot/Dot.js +29 -0
- package/lib/Dot/index.js +10 -0
- package/lib/Drawer/Drawer.js +57 -0
- package/lib/Drawer/index.js +10 -0
- package/lib/Elevation/Elevation.js +18 -7
- package/lib/Elevation/index.js +5 -3
- package/lib/Form/CardNumberField/CardNumberField.js +28 -0
- package/lib/Form/CardNumberField/index.js +10 -0
- package/lib/Form/CardNumberInput/CardNumberInput.js +50 -0
- package/lib/Form/CardNumberInput/constants.js +16 -0
- package/lib/Form/CardNumberInput/index.js +10 -0
- package/lib/Form/CardNumberInput/utils.js +48 -0
- package/lib/Form/CheckBox/CheckBox.js +26 -20
- package/lib/Form/CheckBox/index.js +5 -3
- package/lib/Form/CheckBoxField/CheckBoxField.js +26 -17
- package/lib/Form/CheckBoxField/index.js +5 -3
- package/lib/Form/Description/Description.js +28 -19
- package/lib/Form/Description/index.js +5 -3
- package/lib/Form/FormField/FormField.js +10 -7
- package/lib/Form/FormField/index.js +5 -3
- package/lib/Form/HiddenInput/HiddenInput.js +26 -22
- package/lib/Form/HiddenInput/index.js +5 -3
- package/lib/Form/InlineTextLabel/InlineTextLabel.js +78 -20
- package/lib/Form/InlineTextLabel/index.js +5 -3
- package/lib/Form/Input/Input.js +23 -46
- package/lib/Form/Input/index.js +5 -3
- package/lib/Form/Label/Label.js +6 -3
- package/lib/Form/Label/index.js +5 -3
- package/lib/Form/Radio/Radio.js +47 -0
- package/lib/Form/Radio/index.js +10 -0
- package/lib/Form/RadioField/RadioField.js +38 -0
- package/lib/Form/RadioField/index.js +10 -0
- package/lib/Form/RadioGroupField/RadioGroupField.js +49 -0
- package/lib/Form/RadioGroupField/index.js +10 -0
- package/lib/Form/Range/Range.js +21 -17
- package/lib/Form/Range/index.js +5 -3
- package/lib/Form/SearchInput/SearchInput.js +72 -0
- package/lib/Form/SearchInput/index.js +10 -0
- package/lib/Form/Select/Select.js +60 -44
- package/lib/Form/Select/index.js +5 -3
- package/lib/Form/SelectField/SelectField.js +23 -16
- package/lib/Form/SelectField/index.js +5 -3
- package/lib/Form/TextArea/TextArea.js +16 -10
- package/lib/Form/TextArea/index.js +5 -3
- package/lib/Form/TextAreaField/TextAreaField.js +28 -0
- package/lib/Form/TextAreaField/index.js +10 -0
- package/lib/Form/TextField/TextField.js +23 -16
- package/lib/Form/TextField/index.js +5 -3
- package/lib/Form/TextInput/TextInput.js +32 -0
- package/lib/Form/TextInput/index.js +10 -0
- package/lib/Form/TextInput/variants.js +42 -0
- package/lib/Form/TextLabel/TextLabel.js +9 -6
- package/lib/Form/TextLabel/index.js +5 -3
- package/lib/GlobalStyle/GlobalStyle.js +33 -5
- package/lib/GlobalStyle/index.js +5 -3
- package/lib/GridList/GridList.js +44 -24
- package/lib/GridList/__mocks__/index.js +4 -2
- package/lib/GridList/index.js +5 -3
- package/lib/Highlight/Highlight.js +7 -4
- package/lib/Highlight/index.js +5 -3
- package/lib/HtmlContentStyle/HtmlContentStyle.js +38 -45
- package/lib/HtmlContentStyle/index.js +5 -3
- package/lib/Icon/Icon.js +4 -2
- package/lib/Icon/fill/Add.js +26 -13
- package/lib/Icon/fill/AddCircle.js +26 -13
- package/lib/Icon/fill/Alert.js +33 -20
- package/lib/Icon/fill/AlertCircle.js +26 -13
- package/lib/Icon/fill/Analysis.js +26 -13
- package/lib/Icon/fill/AppDownloadCircle.js +26 -13
- package/lib/Icon/fill/AppleCircle.js +26 -13
- package/lib/Icon/fill/Archive.js +26 -13
- package/lib/Icon/fill/ArrowDown.js +26 -13
- package/lib/Icon/fill/ArrowLeft.js +26 -13
- package/lib/Icon/fill/ArrowRight.js +26 -13
- package/lib/Icon/fill/ArrowUp.js +26 -13
- package/lib/Icon/fill/Badge.js +26 -13
- package/lib/Icon/fill/Bell.js +26 -13
- package/lib/Icon/fill/BellOff.js +26 -13
- package/lib/Icon/fill/Bold.js +26 -13
- package/lib/Icon/fill/Bookmark.js +26 -13
- package/lib/Icon/fill/Camera.js +26 -13
- package/lib/Icon/fill/Canlendar.js +26 -13
- package/lib/Icon/fill/Caption.js +29 -16
- package/lib/Icon/fill/Cart.js +32 -0
- package/lib/Icon/fill/Check.js +33 -20
- package/lib/Icon/fill/CheckCircle.js +26 -13
- package/lib/Icon/fill/CheckboxIndeterminated.js +26 -13
- package/lib/Icon/fill/CheckboxOff.js +26 -13
- package/lib/Icon/fill/CheckboxOn.js +26 -13
- package/lib/Icon/fill/ChevronDown.js +26 -13
- package/lib/Icon/fill/ChevronLeft.js +26 -13
- package/lib/Icon/fill/ChevronRight.js +26 -13
- package/lib/Icon/fill/ChevronUp.js +26 -13
- package/lib/Icon/fill/Clap.js +26 -13
- package/lib/Icon/fill/ClearStyle.js +26 -13
- package/lib/Icon/fill/Clip.js +26 -13
- package/lib/Icon/fill/Clock.js +33 -20
- package/lib/Icon/fill/Close.js +26 -13
- package/lib/Icon/fill/CloseCircle.js +26 -13
- package/lib/Icon/fill/Comment.js +26 -13
- package/lib/Icon/fill/Compass.js +26 -13
- package/lib/Icon/fill/Confetti.js +34 -21
- package/lib/Icon/fill/Contents.js +26 -13
- package/lib/Icon/fill/Copy.js +29 -16
- package/lib/Icon/fill/Coupon.js +26 -13
- package/lib/Icon/fill/CreditCard.js +26 -13
- package/lib/Icon/fill/Crop.js +26 -13
- package/lib/Icon/fill/Crown.js +26 -13
- package/lib/Icon/fill/DepositPassbook.js +26 -13
- package/lib/Icon/fill/Design.js +29 -16
- package/lib/Icon/fill/Development.js +26 -13
- package/lib/Icon/fill/DisclosureDown.js +26 -13
- package/lib/Icon/fill/DisclosureUp.js +26 -13
- package/lib/Icon/fill/Dislike.js +26 -13
- package/lib/Icon/fill/Divider.js +26 -13
- package/lib/Icon/fill/Download.js +29 -16
- package/lib/Icon/fill/DropDown.js +26 -13
- package/lib/Icon/fill/DropUp.js +26 -13
- package/lib/Icon/fill/Earybird.js +26 -13
- package/lib/Icon/fill/Edit.js +28 -15
- package/lib/Icon/fill/EyeOff.js +26 -13
- package/lib/Icon/fill/EyeOn.js +29 -16
- package/lib/Icon/fill/FacebookCircle.js +26 -13
- package/lib/Icon/fill/Filter.js +26 -13
- package/lib/Icon/fill/FullScreen.js +26 -13
- package/lib/Icon/fill/FullScreenExit.js +26 -13
- package/lib/Icon/fill/Gear.js +28 -15
- package/lib/Icon/fill/Ghost.js +26 -13
- package/lib/Icon/fill/Gift.js +26 -13
- package/lib/Icon/fill/Groove.js +26 -13
- package/lib/Icon/fill/Hashtag.js +26 -13
- package/lib/Icon/fill/Heart.js +26 -13
- package/lib/Icon/fill/HeartFull.js +26 -13
- package/lib/Icon/fill/HelpCircle.js +26 -13
- package/lib/Icon/fill/Home.js +26 -13
- package/lib/Icon/fill/Hot.js +26 -13
- package/lib/Icon/fill/InfoCircle.js +26 -13
- package/lib/Icon/fill/InstagramCircle.js +29 -16
- package/lib/Icon/fill/Laptop.js +26 -13
- package/lib/Icon/fill/Like.js +26 -13
- package/lib/Icon/fill/Link.js +29 -16
- package/lib/Icon/fill/LinkOutside.js +29 -16
- package/lib/Icon/fill/ListBullet.js +26 -13
- package/lib/Icon/fill/ListNumber.js +26 -13
- package/lib/Icon/fill/Location.js +26 -13
- package/lib/Icon/fill/LocationCurrent.js +26 -13
- package/lib/Icon/fill/Lock.js +26 -13
- package/lib/Icon/fill/LockOff.js +26 -13
- package/lib/Icon/fill/Logout.js +26 -13
- package/lib/Icon/fill/Menu.js +26 -13
- package/lib/Icon/fill/Message.js +32 -19
- package/lib/Icon/fill/Mic.js +29 -16
- package/lib/Icon/fill/Minus.js +26 -13
- package/lib/Icon/fill/MinusCircle.js +26 -13
- package/lib/Icon/fill/Mobile.js +26 -13
- package/lib/Icon/fill/Monitor.js +26 -13
- package/lib/Icon/fill/MoreHorizontal.js +26 -13
- package/lib/Icon/fill/MoreVertical.js +26 -13
- package/lib/Icon/fill/NaverCircle.js +26 -13
- package/lib/Icon/fill/Notice.js +26 -13
- package/lib/Icon/fill/Oa.js +26 -13
- package/lib/Icon/fill/Paper1.js +26 -13
- package/lib/Icon/fill/Paper2.js +26 -13
- package/lib/Icon/fill/Paper3.js +26 -13
- package/lib/Icon/fill/Person.js +29 -16
- package/lib/Icon/fill/Phone.js +26 -13
- package/lib/Icon/fill/Photo.js +29 -16
- package/lib/Icon/fill/PhotoAdd.js +29 -16
- package/lib/Icon/fill/PhotoDouble.js +32 -19
- package/lib/Icon/fill/Pin.js +26 -13
- package/lib/Icon/fill/Pip.js +29 -16
- package/lib/Icon/fill/Play.js +26 -13
- package/lib/Icon/fill/PlayBackA.js +32 -19
- package/lib/Icon/fill/PlayCircle.js +26 -13
- package/lib/Icon/fill/PlayFast.js +26 -13
- package/lib/Icon/fill/PlayFast10Sec.js +29 -16
- package/lib/Icon/fill/PlayFast15Sec.js +29 -16
- package/lib/Icon/fill/PlayFast5Sec.js +29 -16
- package/lib/Icon/fill/PlayNext.js +26 -13
- package/lib/Icon/fill/PlayPause.js +26 -13
- package/lib/Icon/fill/PlayPrev.js +26 -13
- package/lib/Icon/fill/PlayRewind10Sec.js +29 -16
- package/lib/Icon/fill/PlayRewind15Sec.js +29 -16
- package/lib/Icon/fill/PlayRewind5Sec.js +29 -16
- package/lib/Icon/fill/PlaySpeedX025.js +26 -13
- package/lib/Icon/fill/PlaySpeedX05.js +26 -13
- package/lib/Icon/fill/PlaySpeedX1.js +26 -13
- package/lib/Icon/fill/PlaySpeedX15.js +26 -13
- package/lib/Icon/fill/PlaySpeedX2.js +26 -13
- package/lib/Icon/fill/PlaystoreCircle.js +26 -13
- package/lib/Icon/fill/PointCircle.js +29 -16
- package/lib/Icon/fill/Project.js +26 -13
- package/lib/Icon/fill/Quote.js +26 -13
- package/lib/Icon/fill/QuoteReverse.js +26 -13
- package/lib/Icon/fill/Receipt.js +26 -13
- package/lib/Icon/fill/Repeat.js +26 -13
- package/lib/Icon/fill/Replay.js +29 -16
- package/lib/Icon/fill/Reply.js +26 -13
- package/lib/Icon/fill/Report.js +26 -13
- package/lib/Icon/fill/Rocket.js +26 -13
- package/lib/Icon/fill/RotateClockwise.js +33 -20
- package/lib/Icon/fill/Sad.js +26 -13
- package/lib/Icon/fill/Search.js +26 -13
- package/lib/Icon/fill/Send.js +26 -13
- package/lib/Icon/fill/Send2.js +26 -13
- package/lib/Icon/fill/Serious.js +26 -13
- package/lib/Icon/fill/Share.js +29 -16
- package/lib/Icon/fill/Sheild.js +26 -13
- package/lib/Icon/fill/ShippingTruck.js +29 -16
- package/lib/Icon/fill/Smile.js +26 -13
- package/lib/Icon/fill/SocialMedia.js +26 -13
- package/lib/Icon/fill/Sorting.js +32 -19
- package/lib/Icon/fill/Square.js +26 -13
- package/lib/Icon/fill/Star.js +26 -13
- package/lib/Icon/fill/StarFull.js +26 -13
- package/lib/Icon/fill/StarHalf.js +26 -13
- package/lib/Icon/fill/Stock.js +26 -13
- package/lib/Icon/fill/Store.js +26 -13
- package/lib/Icon/fill/Subtitle.js +26 -13
- package/lib/Icon/fill/TalkHelp.js +33 -20
- package/lib/Icon/fill/TextH1.js +26 -13
- package/lib/Icon/fill/TextH2.js +26 -13
- package/lib/Icon/fill/TextH3.js +26 -13
- package/lib/Icon/fill/ThunderCircle.js +26 -13
- package/lib/Icon/fill/Timer.js +26 -13
- package/lib/Icon/fill/ToggleOff.js +26 -13
- package/lib/Icon/fill/ToggleOn.js +26 -13
- package/lib/Icon/fill/ToteBag.js +26 -13
- package/lib/Icon/fill/Trash.js +26 -13
- package/lib/Icon/fill/TwitterCircle.js +26 -13
- package/lib/Icon/fill/Undo.js +26 -13
- package/lib/Icon/fill/Video.js +26 -13
- package/lib/Icon/fill/Volume.js +29 -16
- package/lib/Icon/fill/VolumeMute.js +26 -13
- package/lib/Icon/fill/Web.js +26 -13
- package/lib/Icon/fill/Won.js +26 -13
- package/lib/Icon/fill/WonBadge.js +26 -13
- package/lib/Icon/fill/WonCircle.js +26 -13
- package/lib/Icon/fill/Write.js +26 -13
- package/lib/Icon/fill/YoutubeCircle.js +29 -16
- package/lib/Icon/fill/index.js +182 -178
- package/lib/Icon/index.js +4 -2
- package/lib/Icon/regular/Add.js +26 -13
- package/lib/Icon/regular/AddCircle.js +29 -16
- package/lib/Icon/regular/Alert.js +29 -16
- package/lib/Icon/regular/AlertCircle.js +29 -16
- package/lib/Icon/regular/Analysis.js +26 -13
- package/lib/Icon/regular/AppDownloadCircle.js +32 -19
- package/lib/Icon/regular/AppleCircle.js +31 -18
- package/lib/Icon/regular/Archive.js +29 -16
- package/lib/Icon/regular/ArrowDown.js +26 -13
- package/lib/Icon/regular/ArrowLeft.js +26 -13
- package/lib/Icon/regular/ArrowRight.js +26 -13
- package/lib/Icon/regular/ArrowUp.js +26 -13
- package/lib/Icon/regular/Badge.js +29 -16
- package/lib/Icon/regular/Bell.js +31 -18
- package/lib/Icon/regular/BellOff.js +31 -18
- package/lib/Icon/regular/Bold.js +26 -13
- package/lib/Icon/regular/Bookmark.js +26 -13
- package/lib/Icon/regular/Camera.js +29 -16
- package/lib/Icon/regular/Canlendar.js +29 -16
- package/lib/Icon/regular/Caption.js +29 -16
- package/lib/Icon/regular/Cart.js +32 -0
- package/lib/Icon/regular/Check.js +26 -13
- package/lib/Icon/regular/CheckCircle.js +29 -16
- package/lib/Icon/regular/CheckboxIndeterminated.js +26 -13
- package/lib/Icon/regular/CheckboxOff.js +26 -13
- package/lib/Icon/regular/CheckboxOn.js +26 -13
- package/lib/Icon/regular/ChevronDown.js +26 -13
- package/lib/Icon/regular/ChevronLeft.js +26 -13
- package/lib/Icon/regular/ChevronRight.js +26 -13
- package/lib/Icon/regular/ChevronUp.js +26 -13
- package/lib/Icon/regular/Clap.js +29 -16
- package/lib/Icon/regular/ClearStyle.js +26 -13
- package/lib/Icon/regular/Clip.js +26 -13
- package/lib/Icon/regular/Clock.js +31 -18
- package/lib/Icon/regular/Close.js +26 -13
- package/lib/Icon/regular/CloseCircle.js +29 -16
- package/lib/Icon/regular/Comment.js +29 -16
- package/lib/Icon/regular/Compass.js +29 -16
- package/lib/Icon/regular/Confetti.js +26 -13
- package/lib/Icon/regular/Contents.js +29 -16
- package/lib/Icon/regular/Copy.js +29 -16
- package/lib/Icon/regular/Coupon.js +26 -13
- package/lib/Icon/regular/CreditCard.js +26 -13
- package/lib/Icon/regular/Crop.js +26 -13
- package/lib/Icon/regular/Crown.js +26 -13
- package/lib/Icon/regular/DepositPassbook.js +26 -13
- package/lib/Icon/regular/Design.js +29 -16
- package/lib/Icon/regular/Development.js +26 -13
- package/lib/Icon/regular/DisclosureDown.js +26 -13
- package/lib/Icon/regular/DisclosureUp.js +26 -13
- package/lib/Icon/regular/Dislike.js +33 -20
- package/lib/Icon/regular/Divider.js +26 -13
- package/lib/Icon/regular/Download.js +29 -16
- package/lib/Icon/regular/DropDown.js +26 -13
- package/lib/Icon/regular/DropUp.js +26 -13
- package/lib/Icon/regular/Earybird.js +29 -16
- package/lib/Icon/regular/Edit.js +26 -13
- package/lib/Icon/regular/EyeOff.js +26 -13
- package/lib/Icon/regular/EyeOn.js +29 -16
- package/lib/Icon/regular/FacebookCircle.js +31 -18
- package/lib/Icon/regular/Filter.js +26 -13
- package/lib/Icon/regular/FullScreen.js +26 -13
- package/lib/Icon/regular/FullScreenExit.js +26 -13
- package/lib/Icon/regular/Gear.js +28 -15
- package/lib/Icon/regular/Ghost.js +29 -16
- package/lib/Icon/regular/Gift.js +26 -13
- package/lib/Icon/regular/Groove.js +26 -13
- package/lib/Icon/regular/Hashtag.js +26 -13
- package/lib/Icon/regular/Heart.js +26 -13
- package/lib/Icon/regular/HeartFull.js +26 -13
- package/lib/Icon/regular/HelpCircle.js +29 -16
- package/lib/Icon/regular/Home.js +29 -16
- package/lib/Icon/regular/Hot.js +29 -16
- package/lib/Icon/regular/InfoCircle.js +29 -16
- package/lib/Icon/regular/InstagramCircle.js +32 -19
- package/lib/Icon/regular/Laptop.js +26 -13
- package/lib/Icon/regular/Like.js +26 -13
- package/lib/Icon/regular/Link.js +29 -16
- package/lib/Icon/regular/LinkOutside.js +29 -16
- package/lib/Icon/regular/ListBullet.js +26 -13
- package/lib/Icon/regular/ListNumber.js +26 -13
- package/lib/Icon/regular/Location.js +29 -16
- package/lib/Icon/regular/LocationCurrent.js +26 -13
- package/lib/Icon/regular/Lock.js +29 -16
- package/lib/Icon/regular/LockOff.js +29 -16
- package/lib/Icon/regular/Logout.js +26 -13
- package/lib/Icon/regular/Menu.js +26 -13
- package/lib/Icon/regular/Message.js +26 -13
- package/lib/Icon/regular/Mic.js +29 -16
- package/lib/Icon/regular/Minus.js +26 -13
- package/lib/Icon/regular/MinusCircle.js +29 -16
- package/lib/Icon/regular/Mobile.js +29 -16
- package/lib/Icon/regular/Monitor.js +26 -13
- package/lib/Icon/regular/MoreHorizontal.js +26 -13
- package/lib/Icon/regular/MoreVertical.js +26 -13
- package/lib/Icon/regular/NaverCircle.js +29 -16
- package/lib/Icon/regular/Notice.js +26 -13
- package/lib/Icon/regular/Oa.js +26 -13
- package/lib/Icon/regular/Paper1.js +26 -13
- package/lib/Icon/regular/Paper2.js +29 -16
- package/lib/Icon/regular/Paper3.js +29 -16
- package/lib/Icon/regular/Person.js +26 -13
- package/lib/Icon/regular/Phone.js +26 -13
- package/lib/Icon/regular/Photo.js +29 -16
- package/lib/Icon/regular/PhotoAdd.js +32 -19
- package/lib/Icon/regular/PhotoDouble.js +32 -19
- package/lib/Icon/regular/Pin.js +26 -13
- package/lib/Icon/regular/Pip.js +29 -16
- package/lib/Icon/regular/Play.js +26 -13
- package/lib/Icon/regular/PlayBackA.js +32 -19
- package/lib/Icon/regular/PlayCircle.js +29 -16
- package/lib/Icon/regular/PlayFast.js +26 -13
- package/lib/Icon/regular/PlayFast10Sec.js +29 -16
- package/lib/Icon/regular/PlayFast15Sec.js +29 -16
- package/lib/Icon/regular/PlayFast5Sec.js +29 -16
- package/lib/Icon/regular/PlayNext.js +26 -13
- package/lib/Icon/regular/PlayPause.js +26 -13
- package/lib/Icon/regular/PlayPrev.js +26 -13
- package/lib/Icon/regular/PlayRewind10Sec.js +29 -16
- package/lib/Icon/regular/PlayRewind15Sec.js +29 -16
- package/lib/Icon/regular/PlayRewind5Sec.js +29 -16
- package/lib/Icon/regular/PlaySpeedX025.js +26 -13
- package/lib/Icon/regular/PlaySpeedX05.js +26 -13
- package/lib/Icon/regular/PlaySpeedX1.js +26 -13
- package/lib/Icon/regular/PlaySpeedX15.js +26 -13
- package/lib/Icon/regular/PlaySpeedX2.js +26 -13
- package/lib/Icon/regular/PlaystoreCircle.js +29 -16
- package/lib/Icon/regular/PointCircle.js +29 -16
- package/lib/Icon/regular/Project.js +26 -13
- package/lib/Icon/regular/Quote.js +26 -13
- package/lib/Icon/regular/QuoteReverse.js +26 -13
- package/lib/Icon/regular/Receipt.js +29 -16
- package/lib/Icon/regular/Repeat.js +26 -13
- package/lib/Icon/regular/Replay.js +29 -16
- package/lib/Icon/regular/Reply.js +31 -18
- package/lib/Icon/regular/Report.js +26 -13
- package/lib/Icon/regular/Rocket.js +29 -16
- package/lib/Icon/regular/RotateClockwise.js +26 -13
- package/lib/Icon/regular/Sad.js +32 -19
- package/lib/Icon/regular/Search.js +26 -13
- package/lib/Icon/regular/Send.js +26 -13
- package/lib/Icon/regular/Send2.js +26 -13
- package/lib/Icon/regular/Serious.js +29 -16
- package/lib/Icon/regular/Share.js +29 -16
- package/lib/Icon/regular/Sheild.js +29 -16
- package/lib/Icon/regular/ShippingTruck.js +26 -13
- package/lib/Icon/regular/Smile.js +29 -16
- package/lib/Icon/regular/SocialMedia.js +29 -16
- package/lib/Icon/regular/Sorting.js +32 -19
- package/lib/Icon/regular/Square.js +26 -13
- package/lib/Icon/regular/Star.js +26 -13
- package/lib/Icon/regular/StarFull.js +26 -13
- package/lib/Icon/regular/StarHalf.js +26 -13
- package/lib/Icon/regular/Stock.js +26 -13
- package/lib/Icon/regular/Store.js +26 -13
- package/lib/Icon/regular/Subtitle.js +29 -16
- package/lib/Icon/regular/TalkHelp.js +29 -16
- package/lib/Icon/regular/TextH1.js +26 -13
- package/lib/Icon/regular/TextH2.js +26 -13
- package/lib/Icon/regular/TextH3.js +26 -13
- package/lib/Icon/regular/ThunderCircle.js +29 -16
- package/lib/Icon/regular/Timer.js +31 -18
- package/lib/Icon/regular/ToggleOff.js +26 -13
- package/lib/Icon/regular/ToggleOn.js +26 -13
- package/lib/Icon/regular/ToteBag.js +26 -13
- package/lib/Icon/regular/Trash.js +29 -16
- package/lib/Icon/regular/Twitter.js +32 -0
- package/lib/Icon/regular/TwitterCircle.js +29 -16
- package/lib/Icon/regular/Undo.js +26 -13
- package/lib/Icon/regular/Video.js +29 -16
- package/lib/Icon/regular/Volume.js +29 -16
- package/lib/Icon/regular/VolumeMute.js +26 -13
- package/lib/Icon/regular/Web.js +26 -13
- package/lib/Icon/regular/Won.js +26 -13
- package/lib/Icon/regular/WonBadge.js +29 -16
- package/lib/Icon/regular/WonCircle.js +29 -16
- package/lib/Icon/regular/Write.js +26 -13
- package/lib/Icon/regular/YoutubeCircle.js +29 -16
- package/lib/Icon/regular/index.js +184 -178
- package/lib/Icon/thin/Add.js +26 -13
- package/lib/Icon/thin/AddCircle.js +29 -16
- package/lib/Icon/thin/Alert.js +35 -22
- package/lib/Icon/thin/AlertCircle.js +29 -16
- package/lib/Icon/thin/Analysis.js +26 -13
- package/lib/Icon/thin/AppDownloadCircle.js +29 -16
- package/lib/Icon/thin/AppleCircle.js +31 -18
- package/lib/Icon/thin/Archive.js +29 -16
- package/lib/Icon/thin/ArrowDown.js +26 -13
- package/lib/Icon/thin/ArrowLeft.js +26 -13
- package/lib/Icon/thin/ArrowRight.js +26 -13
- package/lib/Icon/thin/ArrowUp.js +26 -13
- package/lib/Icon/thin/Badge.js +29 -16
- package/lib/Icon/thin/Bell.js +26 -13
- package/lib/Icon/thin/BellOff.js +26 -13
- package/lib/Icon/thin/Bold.js +26 -13
- package/lib/Icon/thin/Bookmark.js +26 -13
- package/lib/Icon/thin/Camera.js +29 -16
- package/lib/Icon/thin/Canlendar.js +29 -16
- package/lib/Icon/thin/Caption.js +29 -16
- package/lib/Icon/thin/Cart.js +32 -0
- package/lib/Icon/thin/Check.js +26 -13
- package/lib/Icon/thin/CheckCircle.js +29 -16
- package/lib/Icon/thin/CheckboxIndeterminated.js +28 -15
- package/lib/Icon/thin/CheckboxOff.js +26 -13
- package/lib/Icon/thin/CheckboxOn.js +28 -15
- package/lib/Icon/thin/ChevronDown.js +26 -13
- package/lib/Icon/thin/ChevronLeft.js +26 -13
- package/lib/Icon/thin/ChevronRight.js +26 -13
- package/lib/Icon/thin/ChevronUp.js +26 -13
- package/lib/Icon/thin/Clap.js +26 -13
- package/lib/Icon/thin/ClearStyle.js +26 -13
- package/lib/Icon/thin/Clip.js +26 -13
- package/lib/Icon/thin/Clock.js +29 -16
- package/lib/Icon/thin/Close.js +26 -13
- package/lib/Icon/thin/CloseCircle.js +29 -16
- package/lib/Icon/thin/Comment.js +29 -16
- package/lib/Icon/thin/Compass.js +29 -16
- package/lib/Icon/thin/Confetti.js +26 -13
- package/lib/Icon/thin/Contents.js +29 -16
- package/lib/Icon/thin/Copy.js +29 -16
- package/lib/Icon/thin/Coupon.js +26 -13
- package/lib/Icon/thin/CreditCard.js +26 -13
- package/lib/Icon/thin/Crop.js +26 -13
- package/lib/Icon/thin/Crown.js +26 -13
- package/lib/Icon/thin/DepositPassbook.js +26 -13
- package/lib/Icon/thin/Design.js +29 -16
- package/lib/Icon/thin/Development.js +26 -13
- package/lib/Icon/thin/DisclosureDown.js +26 -13
- package/lib/Icon/thin/DisclosureUp.js +26 -13
- package/lib/Icon/thin/Dislike.js +33 -20
- package/lib/Icon/thin/Divider.js +26 -13
- package/lib/Icon/thin/Download.js +29 -16
- package/lib/Icon/thin/DropDown.js +26 -13
- package/lib/Icon/thin/DropUp.js +26 -13
- package/lib/Icon/thin/Earybird.js +29 -16
- package/lib/Icon/thin/Edit.js +26 -13
- package/lib/Icon/thin/EyeOff.js +26 -13
- package/lib/Icon/thin/EyeOn.js +29 -16
- package/lib/Icon/thin/FacebookCircle.js +31 -18
- package/lib/Icon/thin/Filter.js +26 -13
- package/lib/Icon/thin/FullScreen.js +26 -13
- package/lib/Icon/thin/FullScreenExit.js +26 -13
- package/lib/Icon/thin/Gear.js +26 -13
- package/lib/Icon/thin/Ghost.js +29 -16
- package/lib/Icon/thin/Gift.js +26 -13
- package/lib/Icon/thin/Groove.js +26 -13
- package/lib/Icon/thin/Hashtag.js +26 -13
- package/lib/Icon/thin/Heart.js +26 -13
- package/lib/Icon/thin/HeartFull.js +26 -13
- package/lib/Icon/thin/HelpCircle.js +29 -16
- package/lib/Icon/thin/Home.js +29 -16
- package/lib/Icon/thin/Hot.js +29 -16
- package/lib/Icon/thin/InfoCircle.js +29 -16
- package/lib/Icon/thin/InstagramCircle.js +32 -19
- package/lib/Icon/thin/Laptop.js +26 -13
- package/lib/Icon/thin/Like.js +26 -13
- package/lib/Icon/thin/Link.js +29 -16
- package/lib/Icon/thin/LinkOutside.js +29 -16
- package/lib/Icon/thin/ListBullet.js +26 -13
- package/lib/Icon/thin/ListNumber.js +26 -13
- package/lib/Icon/thin/Location.js +29 -16
- package/lib/Icon/thin/LocationCurrent.js +26 -13
- package/lib/Icon/thin/Lock.js +29 -16
- package/lib/Icon/thin/LockOff.js +29 -16
- package/lib/Icon/thin/Logout.js +26 -13
- package/lib/Icon/thin/Menu.js +26 -13
- package/lib/Icon/thin/Message.js +26 -13
- package/lib/Icon/thin/Mic.js +29 -16
- package/lib/Icon/thin/Minus.js +26 -13
- package/lib/Icon/thin/MinusCircle.js +29 -16
- package/lib/Icon/thin/Mobile.js +29 -16
- package/lib/Icon/thin/Monitor.js +26 -13
- package/lib/Icon/thin/MoreHorizontal.js +26 -13
- package/lib/Icon/thin/MoreVertical.js +26 -13
- package/lib/Icon/thin/NaverCircle.js +29 -16
- package/lib/Icon/thin/Notice.js +26 -13
- package/lib/Icon/thin/Oa.js +26 -13
- package/lib/Icon/thin/Paper1.js +26 -13
- package/lib/Icon/thin/Paper2.js +29 -16
- package/lib/Icon/thin/Paper3.js +29 -16
- package/lib/Icon/thin/Person.js +26 -13
- package/lib/Icon/thin/Phone.js +26 -13
- package/lib/Icon/thin/Photo.js +29 -16
- package/lib/Icon/thin/PhotoAdd.js +29 -16
- package/lib/Icon/thin/PhotoDouble.js +29 -16
- package/lib/Icon/thin/Pin.js +26 -13
- package/lib/Icon/thin/Pip.js +29 -16
- package/lib/Icon/thin/Play.js +26 -13
- package/lib/Icon/thin/PlayBackA.js +26 -13
- package/lib/Icon/thin/PlayCircle.js +29 -16
- package/lib/Icon/thin/PlayFast.js +26 -13
- package/lib/Icon/thin/PlayFast10Sec.js +29 -16
- package/lib/Icon/thin/PlayFast15Sec.js +29 -16
- package/lib/Icon/thin/PlayFast5Sec.js +29 -16
- package/lib/Icon/thin/PlayNext.js +26 -13
- package/lib/Icon/thin/PlayPause.js +26 -13
- package/lib/Icon/thin/PlayPrev.js +26 -13
- package/lib/Icon/thin/PlayRewind10Sec.js +29 -16
- package/lib/Icon/thin/PlayRewind15Sec.js +29 -16
- package/lib/Icon/thin/PlayRewind5Sec.js +29 -16
- package/lib/Icon/thin/PlaySpeedX025.js +26 -13
- package/lib/Icon/thin/PlaySpeedX05.js +26 -13
- package/lib/Icon/thin/PlaySpeedX1.js +26 -13
- package/lib/Icon/thin/PlaySpeedX15.js +26 -13
- package/lib/Icon/thin/PlaySpeedX2.js +26 -13
- package/lib/Icon/thin/PlaystoreCircle.js +29 -16
- package/lib/Icon/thin/PointCircle.js +29 -16
- package/lib/Icon/thin/Project.js +26 -13
- package/lib/Icon/thin/Quote.js +26 -13
- package/lib/Icon/thin/QuoteReverse.js +26 -13
- package/lib/Icon/thin/Receipt.js +29 -16
- package/lib/Icon/thin/Repeat.js +26 -13
- package/lib/Icon/thin/Replay.js +29 -16
- package/lib/Icon/thin/Reply.js +29 -16
- package/lib/Icon/thin/Report.js +26 -13
- package/lib/Icon/thin/Rocket.js +29 -16
- package/lib/Icon/thin/RotateClockwise.js +29 -16
- package/lib/Icon/thin/Sad.js +32 -19
- package/lib/Icon/thin/Search.js +26 -13
- package/lib/Icon/thin/Send.js +26 -13
- package/lib/Icon/thin/Send2.js +26 -13
- package/lib/Icon/thin/Serious.js +35 -22
- package/lib/Icon/thin/Share.js +29 -16
- package/lib/Icon/thin/Sheild.js +29 -16
- package/lib/Icon/thin/ShippingTruck.js +26 -13
- package/lib/Icon/thin/Smile.js +32 -19
- package/lib/Icon/thin/SocialMedia.js +29 -16
- package/lib/Icon/thin/Sorting.js +26 -13
- package/lib/Icon/thin/Square.js +26 -13
- package/lib/Icon/thin/Star.js +26 -13
- package/lib/Icon/thin/StarFull.js +26 -13
- package/lib/Icon/thin/StarHalf.js +26 -13
- package/lib/Icon/thin/Stock.js +26 -13
- package/lib/Icon/thin/Store.js +26 -13
- package/lib/Icon/thin/Subtitle.js +29 -16
- package/lib/Icon/thin/TalkHelp.js +29 -16
- package/lib/Icon/thin/TextH1.js +26 -13
- package/lib/Icon/thin/TextH2.js +26 -13
- package/lib/Icon/thin/TextH3.js +26 -13
- package/lib/Icon/thin/ThunderCircle.js +29 -16
- package/lib/Icon/thin/Timer.js +29 -16
- package/lib/Icon/thin/ToggleOff.js +26 -13
- package/lib/Icon/thin/ToggleOn.js +26 -13
- package/lib/Icon/thin/ToteBag.js +26 -13
- package/lib/Icon/thin/Trash.js +29 -16
- package/lib/Icon/thin/TwitterCircle.js +29 -16
- package/lib/Icon/thin/Undo.js +26 -13
- package/lib/Icon/thin/Video.js +29 -16
- package/lib/Icon/thin/Volume.js +29 -16
- package/lib/Icon/thin/VolumeMute.js +29 -16
- package/lib/Icon/thin/Web.js +26 -13
- package/lib/Icon/thin/Won.js +26 -13
- package/lib/Icon/thin/WonBadge.js +29 -16
- package/lib/Icon/thin/WonCircle.js +29 -16
- package/lib/Icon/thin/Write.js +26 -13
- package/lib/Icon/thin/YoutubeCircle.js +29 -16
- package/lib/Icon/thin/index.js +182 -178
- package/lib/Icon/types.js +6 -2
- package/lib/ImageThumbnail/ImageThumbnail.js +27 -0
- package/lib/ImageThumbnail/index.js +10 -0
- package/lib/Layout/Center/Center.js +17 -23
- package/lib/Layout/Center/index.js +5 -3
- package/lib/Layout/HStack/HStack.js +18 -9
- package/lib/Layout/HStack/index.js +5 -3
- package/lib/Layout/Position/Position.js +8 -6
- package/lib/Layout/Position/index.js +5 -3
- package/lib/Layout/ResponsiveStack/ResponsiveStack.js +15 -8
- package/lib/Layout/ResponsiveStack/index.js +5 -3
- package/lib/Layout/VStack/VStack.js +18 -9
- package/lib/Layout/VStack/index.js +5 -3
- package/lib/Layout/ZStack/ZStack.js +38 -25
- package/lib/Layout/ZStack/index.js +5 -3
- package/lib/LinearGradient/LinearGradient.js +52 -0
- package/lib/LinearGradient/index.js +10 -0
- package/lib/Link/Link.js +20 -39
- package/lib/Link/index.js +5 -3
- package/lib/Linkify/Linkify.js +2171 -0
- package/lib/Linkify/index.js +10 -0
- package/lib/List/List.js +51 -0
- package/lib/List/index.js +10 -0
- package/lib/Media/Image/Image.js +40 -21
- package/lib/Media/Image/index.js +5 -3
- package/lib/Media/Image/useActualSizes.js +27 -165
- package/lib/Media/SeekBar/SeekBar.js +10 -7
- package/lib/Media/SeekBar/index.js +5 -3
- package/lib/Media/Video/Video.js +11 -8
- package/lib/Media/Video/index.js +5 -3
- package/lib/Media/VideoCaption/VideoCaption.js +10 -7
- package/lib/Media/VideoCaption/index.js +5 -3
- package/lib/Media/VideoOverlay/VideoOverlay.js +23 -23
- package/lib/Media/VideoOverlay/index.js +5 -3
- package/lib/Media/VolumeBar/VolumeBar.js +14 -11
- package/lib/Media/VolumeBar/index.js +5 -3
- package/lib/Menu/Menu/Menu.js +19 -13
- package/lib/Menu/Menu/index.js +5 -3
- package/lib/Menu/MenuIcon/MenuIcon.js +15 -8
- package/lib/Menu/MenuIcon/index.js +5 -3
- package/lib/Menu/MenuItem/MenuItem.js +17 -14
- package/lib/Menu/MenuItem/index.js +5 -3
- package/lib/Menu/MenuText/MenuText.js +50 -35
- package/lib/Menu/MenuText/index.js +5 -3
- package/lib/Menu/MenuTextButton/MenuTextButton.js +16 -9
- package/lib/Menu/MenuTextButton/index.js +5 -3
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.js +38 -27
- package/lib/Menu/MenuTextButtonItem/index.js +5 -3
- package/lib/Menu/MenuTextItem/MenuTextItem.js +18 -11
- package/lib/Menu/MenuTextItem/index.js +5 -3
- package/lib/ModalBottomSheet/ModalBottomSheet.js +30 -123
- package/lib/ModalBottomSheet/index.js +6 -4
- package/lib/ModalBottomSheet/useModalBottomSheet.js +6 -4
- package/lib/NewLine/NewLine.js +13 -9
- package/lib/NewLine/index.js +5 -3
- package/lib/Opacity/Opacity.js +8 -4
- package/lib/Opacity/index.js +5 -3
- package/lib/Overlay/Overlay.js +10 -6
- package/lib/Overlay/index.js +5 -3
- package/lib/Pagination/Pagination.js +388 -14
- package/lib/Pagination/index.js +5 -3
- package/lib/Paper/Paper.js +111 -0
- package/lib/Paper/index.js +10 -0
- package/lib/PopoverBottomSheet/PopoverBottomSheet.js +64 -122
- package/lib/PopoverBottomSheet/index.js +5 -3
- package/lib/Portal/Portal.js +28 -36
- package/lib/Portal/index.js +5 -3
- package/lib/Profile/Profile.js +9 -6
- package/lib/Profile/index.js +5 -3
- package/lib/ProfileLabel/ProfileLabel.js +92 -57
- package/lib/ProfileLabel/index.js +5 -3
- package/lib/Progress/ProgressBar/ProgressBar.js +12 -9
- package/lib/Progress/ProgressBar/index.js +5 -3
- package/lib/Progress/ProgressStep/ProgressStep.js +65 -52
- package/lib/Progress/ProgressStep/index.js +5 -3
- package/lib/Rank/Rank.js +21 -18
- package/lib/Rank/index.js +5 -3
- package/lib/Ratio/Ratio.js +44 -35
- package/lib/Ratio/index.js +5 -3
- package/lib/SafeAreaContent/SafeAreaContent.js +26 -0
- package/lib/SafeAreaContent/index.js +10 -0
- package/lib/Scroll/Scroll.js +48 -0
- package/lib/Scroll/index.js +10 -0
- package/lib/Scroll/variant.js +6 -0
- package/lib/ScrollTarget/ScrollTarget.js +34 -0
- package/lib/ScrollTarget/index.js +10 -0
- package/lib/Section/Section.js +18 -19
- package/lib/Section/index.js +5 -3
- package/lib/SectionHeader/SectionHeader.js +15 -11
- package/lib/SectionHeader/index.js +5 -3
- package/lib/SideNavigation/SideNavigation/SideNavigation.js +15 -0
- package/lib/SideNavigation/SideNavigation/index.js +10 -0
- package/lib/SideNavigation/SideNavigationMenu/SideNavigationMenu.js +69 -0
- package/lib/SideNavigation/SideNavigationMenu/index.js +10 -0
- package/lib/SideNavigation/SideNavigationMenuGroup/SideNavigationMenuGroup.js +20 -0
- package/lib/SideNavigation/SideNavigationMenuGroup/index.js +10 -0
- package/lib/SideNavigation/SideNavigationSubMenu/SideNavigationSubMenu.js +44 -0
- package/lib/SideNavigation/SideNavigationSubMenu/index.js +10 -0
- package/lib/Skeleton/Skeleton.js +26 -19
- package/lib/Skeleton/index.js +5 -3
- package/lib/SlideList/SlideList.js +21 -14
- package/lib/SlideList/__mocks__/index.js +4 -2
- package/lib/SlideList/index.js +5 -3
- package/lib/Slider/Slider.js +1236 -121
- package/lib/Slider/hooks/usePageControl.js +98 -0
- package/lib/Slider/index.js +7 -5
- package/lib/Slider/plugins/AutoPlay.js +82 -0
- package/lib/Slider/useSliderState.js +40 -0
- package/lib/Slider/variants.js +25 -0
- package/lib/SliderSection/SliderSection.js +19 -10
- package/lib/SliderSection/index.js +5 -3
- package/lib/Space/Space.js +26 -0
- package/lib/Space/index.js +10 -0
- package/lib/Spinner/Spinner.js +34 -22
- package/lib/Spinner/index.js +5 -3
- package/lib/Svg/Svg.js +49 -0
- package/lib/Svg/index.js +10 -0
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +6 -3
- package/lib/Tab/ScrollTabPanel/index.js +5 -3
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +12 -68
- package/lib/Tab/ScrollTabPanelWithObserver/index.js +5 -3
- package/lib/Tab/ScrollTabs/ScrollTabs.js +44 -31
- package/lib/Tab/ScrollTabs/index.js +5 -3
- package/lib/Tab/Tab/Tab.js +41 -50
- package/lib/Tab/Tab/index.js +5 -3
- package/lib/Tab/ViewPagerTabPanel/ViewPagerTabPanel.js +12 -6
- package/lib/Tab/ViewPagerTabPanel/index.js +5 -3
- package/lib/Tab/ViewPagerTabs/ViewPagerTabs.js +47 -19
- package/lib/Tab/ViewPagerTabs/index.js +5 -3
- package/lib/Table/Table.js +6950 -0
- package/lib/Table/index.js +10 -0
- package/lib/Tag/Chip/Chip.js +66 -62
- package/lib/Tag/Chip/index.js +5 -3
- package/lib/Tag/IconBadge/IconBadge.js +25 -18
- package/lib/Tag/IconBadge/index.js +5 -3
- package/lib/Tag/StateTag/StateTag.js +22 -15
- package/lib/Tag/StateTag/index.js +5 -3
- package/lib/Tag/Tag/Tag.js +21 -24
- package/lib/Tag/Tag/index.js +5 -3
- package/lib/Tooltip/Tooltip.js +184 -0
- package/lib/Tooltip/index.js +10 -0
- package/lib/Typography/Body/Body.js +24 -10
- package/lib/Typography/Body/index.js +5 -3
- package/lib/Typography/Paragraph/Paragraph.js +17 -10
- package/lib/Typography/Paragraph/index.js +5 -3
- package/lib/Typography/Text/Text.js +41 -54
- package/lib/Typography/Text/index.js +5 -3
- package/lib/Typography/Title/Title.js +22 -14
- package/lib/Typography/Title/index.js +5 -3
- package/lib/Underline/Underline.js +47 -34
- package/lib/Underline/index.js +5 -3
- package/lib/ViewPager/ViewPager.js +14 -8
- package/lib/ViewPager/index.js +5 -3
- package/lib/ViewPager/type.js +6 -2
- package/lib/ViewPagerItem/ViewPagerItem.js +9 -6
- package/lib/ViewPagerItem/index.js +5 -3
- package/lib/VirtualizedList/VirtualizedList.js +56 -0
- package/lib/VirtualizedList/index.js +10 -0
- package/lib/VirtualizedList/variants.js +6 -0
- package/lib/deprecated/Slide/Slide.js +7 -5
- package/lib/deprecated/Slide/index.js +4 -2
- package/lib/deprecated/Swiper/Swiper.js +19 -9
- package/lib/deprecated/Swiper/hooks/useAutoPlay.js +6 -4
- package/lib/deprecated/Swiper/hooks/useSwiper.js +468 -12
- package/lib/deprecated/Swiper/index.js +4 -2
- package/lib/deprecated/Swiper/types/SwiperOptions.js +6 -2
- package/mime-types-SLPLVYDI.js +9284 -0
- package/package.json +3 -2
- package/private/Bar/Bar.js +8 -5
- package/private/Bar/index.js +5 -3
- package/private/Box/Box.js +13 -5
- package/private/Box/index.js +5 -3
- package/private/Box/variants.js +6 -0
- package/private/ForwardStyle/ForwardStyle.js +14 -14
- package/private/ForwardStyle/StyledChildren.js +35 -0
- package/private/ForwardStyle/index.js +5 -3
- package/private/Stack/Stack.js +75 -64
- package/private/Stack/index.js +5 -3
- package/private/Transform/Transform.js +8 -6
- package/private/Transform/index.js +5 -3
- package/@types/image.d.js +0 -2
- package/@types/theme.d.js +0 -5
- package/lib/Animation/Animator/Animator.stories.js +0 -63
- package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +0 -42
- package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +0 -35
- package/lib/Animation/Transition/Transition.stories.js +0 -47
- package/lib/Background/Background.stories.js +0 -35
- package/lib/Button/ButtonIcon/ButtonIcon.js +0 -48
- package/lib/Button/ButtonIcon/index.js +0 -8
- package/lib/Button/IconButton/IconButton.js +0 -141
- package/lib/Button/IconButton/index.js +0 -8
- package/lib/Button/TextButton/TextButton.stories.js +0 -59
- package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +0 -40
- package/lib/Divider/Divider.stories.js +0 -78
- package/lib/Elevation/Elevation.stories.js +0 -33
- package/lib/Form/Description/Description.stories.js +0 -34
- package/lib/Form/FormField/FormField.stories.js +0 -36
- package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +0 -40
- package/lib/Form/Input/Input.stories.js +0 -34
- package/lib/Form/Label/Label.stories.js +0 -40
- package/lib/Form/Select/Select.stories.js +0 -45
- package/lib/Form/SelectField/SelectField.stories.js +0 -89
- package/lib/Form/TextField/TextField.stories.js +0 -84
- package/lib/Form/TextLabel/TextLabel.stories.js +0 -31
- package/lib/Frame/Frame.js +0 -70
- package/lib/Frame/index.js +0 -8
- package/lib/Highlight/Highlight.stories.js +0 -27
- package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +0 -19
- package/lib/Layout/Center/Center.stories.js +0 -40
- package/lib/Layout/Position/Position.stories.js +0 -39
- package/lib/Link/Link.stories.js +0 -34
- package/lib/Media/Image/Image.stories.js +0 -24
- package/lib/Menu/Menu/Menu.stories.js +0 -60
- package/lib/Menu/MenuIcon/MenuIcon.stories.js +0 -28
- package/lib/Menu/MenuItem/MenuItem.stories.js +0 -39
- package/lib/Menu/MenuText/MenuText.stories.js +0 -35
- package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +0 -86
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +0 -170
- package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +0 -85
- package/lib/Opacity/Opacity.stories.js +0 -30
- package/lib/Overlay/Overlay.stories.js +0 -30
- package/lib/Pagination/Pagination.stories.js +0 -34
- package/lib/Progress/ProgressBar/ProgressBar.stories.js +0 -54
- package/lib/Progress/ProgressStep/ProgressStep.stories.js +0 -40
- package/lib/Rank/Rank.stories.js +0 -36
- package/lib/Ratio/Ratio.stories.js +0 -31
- package/lib/Section/Section.stories.js +0 -46
- package/lib/SlideList/SlideList.stories.js +0 -57
- package/lib/Slider/Slider.stories.js +0 -44
- package/lib/Slider/__mocks__/index.js +0 -49
- package/lib/Slider/constants.js +0 -20
- package/lib/Slider/internalHooks/useAutoPlay.js +0 -38
- package/lib/Slider/internalHooks/usePageControl.js +0 -42
- package/lib/Slider/internalHooks/useVirtual.js +0 -25
- package/lib/Slider/useSlider.js +0 -40
- package/lib/SliderSection/SliderSection.stories.js +0 -81
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +0 -18
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +0 -18
- package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +0 -55
- package/lib/Tab/Tab/Tab.stories.js +0 -44
- package/lib/Tag/Chip/Chip.stories.js +0 -53
- package/lib/Tag/Tag/Tag.stories.js +0 -40
- package/lib/Typography/Body/Body.stories.js +0 -33
- package/lib/Typography/Caption/Caption.js +0 -20
- package/lib/Typography/Caption/Caption.stories.js +0 -40
- package/lib/Typography/Caption/index.js +0 -8
- package/lib/Typography/Paragraph/Paragraph.stories.js +0 -40
- package/lib/Typography/Title/Title.stories.js +0 -38
- package/lib/Underline/Underline.stories.js +0 -35
- package/lib/ViewPager/ViewPager.stories.js +0 -74
- package/lib/deprecated/Swiper/Swiper.stories.js +0 -177
- package/private/Box/Box.stories.js +0 -60
- package/private/ForwardStyle/ForwardStyle.stories.js +0 -23
- package/private/Space/Space.js +0 -12
- package/private/Space/Space.stories.js +0 -36
- package/private/Space/index.js +0 -8
- package/private/Svg/Svg.js +0 -34
- package/private/Svg/index.js +0 -8
- package/utils/appendCssUnit/appendCssUnit.js +0 -13
- package/utils/appendCssUnit/appendCssUnit.spec.js +0 -31
- package/utils/appendCssUnit/index.js +0 -8
- package/utils/index.js +0 -8
@@ -0,0 +1,1443 @@
|
|
1
|
+
import {
|
2
|
+
is_prop_valid_browser_esm_default
|
3
|
+
} from "../../../chunk-SPRM5WZD.js";
|
4
|
+
import {
|
5
|
+
require_hoist_non_react_statics_cjs,
|
6
|
+
unitless_browser_esm_default
|
7
|
+
} from "../../../chunk-LE44IRCL.js";
|
8
|
+
import {
|
9
|
+
require_react_is
|
10
|
+
} from "../../../chunk-CGEEKALF.js";
|
11
|
+
import {
|
12
|
+
React,
|
13
|
+
__commonJS,
|
14
|
+
__objRest,
|
15
|
+
__spreadProps,
|
16
|
+
__spreadValues,
|
17
|
+
__toModule,
|
18
|
+
init_react_shim
|
19
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
20
|
+
|
21
|
+
// node_modules/shallowequal/index.js
|
22
|
+
var require_shallowequal = __commonJS({
|
23
|
+
"node_modules/shallowequal/index.js"(exports, module) {
|
24
|
+
init_react_shim();
|
25
|
+
module.exports = function shallowEqual(objA, objB, compare, compareContext) {
|
26
|
+
var ret = compare ? compare.call(compareContext, objA, objB) : void 0;
|
27
|
+
if (ret !== void 0) {
|
28
|
+
return !!ret;
|
29
|
+
}
|
30
|
+
if (objA === objB) {
|
31
|
+
return true;
|
32
|
+
}
|
33
|
+
if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) {
|
34
|
+
return false;
|
35
|
+
}
|
36
|
+
var keysA = Object.keys(objA);
|
37
|
+
var keysB = Object.keys(objB);
|
38
|
+
if (keysA.length !== keysB.length) {
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);
|
42
|
+
for (var idx = 0; idx < keysA.length; idx++) {
|
43
|
+
var key = keysA[idx];
|
44
|
+
if (!bHasOwnProperty(key)) {
|
45
|
+
return false;
|
46
|
+
}
|
47
|
+
var valueA = objA[key];
|
48
|
+
var valueB = objB[key];
|
49
|
+
ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;
|
50
|
+
if (ret === false || ret === void 0 && valueA !== valueB) {
|
51
|
+
return false;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
return true;
|
55
|
+
};
|
56
|
+
}
|
57
|
+
});
|
58
|
+
|
59
|
+
// libs/shared/ui-system/src/lib/Chip/InputChip/InputChip.tsx
|
60
|
+
init_react_shim();
|
61
|
+
|
62
|
+
// libs/shared/legacy-ui/src/index.ts
|
63
|
+
init_react_shim();
|
64
|
+
|
65
|
+
// node_modules/styled-components/dist/styled-components.browser.esm.js
|
66
|
+
init_react_shim();
|
67
|
+
var import_react_is = __toModule(require_react_is());
|
68
|
+
var import_shallowequal = __toModule(require_shallowequal());
|
69
|
+
import r, { useState as o, useContext as s, useMemo as i, useEffect as a, useRef as c, createElement as u, useDebugValue as l, useLayoutEffect as d } from "react";
|
70
|
+
|
71
|
+
// node_modules/@emotion/stylis/dist/stylis.browser.esm.js
|
72
|
+
init_react_shim();
|
73
|
+
function stylis_min(W2) {
|
74
|
+
function M2(d2, c2, e2, h2, a2) {
|
75
|
+
for (var m = 0, b2 = 0, v2 = 0, n2 = 0, q2, g2, x2 = 0, K2 = 0, k2, u2 = k2 = q2 = 0, l2 = 0, r2 = 0, I2 = 0, t2 = 0, B3 = e2.length, J2 = B3 - 1, y2, f = "", p = "", F3 = "", G3 = "", C; l2 < B3; ) {
|
76
|
+
g2 = e2.charCodeAt(l2);
|
77
|
+
l2 === J2 && b2 + n2 + v2 + m !== 0 && (b2 !== 0 && (g2 = b2 === 47 ? 10 : 47), n2 = v2 = m = 0, B3++, J2++);
|
78
|
+
if (b2 + n2 + v2 + m === 0) {
|
79
|
+
if (l2 === J2 && (0 < r2 && (f = f.replace(N2, "")), 0 < f.trim().length)) {
|
80
|
+
switch (g2) {
|
81
|
+
case 32:
|
82
|
+
case 9:
|
83
|
+
case 59:
|
84
|
+
case 13:
|
85
|
+
case 10:
|
86
|
+
break;
|
87
|
+
default:
|
88
|
+
f += e2.charAt(l2);
|
89
|
+
}
|
90
|
+
g2 = 59;
|
91
|
+
}
|
92
|
+
switch (g2) {
|
93
|
+
case 123:
|
94
|
+
f = f.trim();
|
95
|
+
q2 = f.charCodeAt(0);
|
96
|
+
k2 = 1;
|
97
|
+
for (t2 = ++l2; l2 < B3; ) {
|
98
|
+
switch (g2 = e2.charCodeAt(l2)) {
|
99
|
+
case 123:
|
100
|
+
k2++;
|
101
|
+
break;
|
102
|
+
case 125:
|
103
|
+
k2--;
|
104
|
+
break;
|
105
|
+
case 47:
|
106
|
+
switch (g2 = e2.charCodeAt(l2 + 1)) {
|
107
|
+
case 42:
|
108
|
+
case 47:
|
109
|
+
a: {
|
110
|
+
for (u2 = l2 + 1; u2 < J2; ++u2) {
|
111
|
+
switch (e2.charCodeAt(u2)) {
|
112
|
+
case 47:
|
113
|
+
if (g2 === 42 && e2.charCodeAt(u2 - 1) === 42 && l2 + 2 !== u2) {
|
114
|
+
l2 = u2 + 1;
|
115
|
+
break a;
|
116
|
+
}
|
117
|
+
break;
|
118
|
+
case 10:
|
119
|
+
if (g2 === 47) {
|
120
|
+
l2 = u2 + 1;
|
121
|
+
break a;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
l2 = u2;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
break;
|
129
|
+
case 91:
|
130
|
+
g2++;
|
131
|
+
case 40:
|
132
|
+
g2++;
|
133
|
+
case 34:
|
134
|
+
case 39:
|
135
|
+
for (; l2++ < J2 && e2.charCodeAt(l2) !== g2; ) {
|
136
|
+
}
|
137
|
+
}
|
138
|
+
if (k2 === 0)
|
139
|
+
break;
|
140
|
+
l2++;
|
141
|
+
}
|
142
|
+
k2 = e2.substring(t2, l2);
|
143
|
+
q2 === 0 && (q2 = (f = f.replace(ca, "").trim()).charCodeAt(0));
|
144
|
+
switch (q2) {
|
145
|
+
case 64:
|
146
|
+
0 < r2 && (f = f.replace(N2, ""));
|
147
|
+
g2 = f.charCodeAt(1);
|
148
|
+
switch (g2) {
|
149
|
+
case 100:
|
150
|
+
case 109:
|
151
|
+
case 115:
|
152
|
+
case 45:
|
153
|
+
r2 = c2;
|
154
|
+
break;
|
155
|
+
default:
|
156
|
+
r2 = O;
|
157
|
+
}
|
158
|
+
k2 = M2(c2, r2, k2, g2, a2 + 1);
|
159
|
+
t2 = k2.length;
|
160
|
+
0 < A2 && (r2 = X2(O, f, I2), C = H2(3, k2, r2, c2, D2, z2, t2, g2, a2, h2), f = r2.join(""), C !== void 0 && (t2 = (k2 = C.trim()).length) === 0 && (g2 = 0, k2 = ""));
|
161
|
+
if (0 < t2)
|
162
|
+
switch (g2) {
|
163
|
+
case 115:
|
164
|
+
f = f.replace(da, ea);
|
165
|
+
case 100:
|
166
|
+
case 109:
|
167
|
+
case 45:
|
168
|
+
k2 = f + "{" + k2 + "}";
|
169
|
+
break;
|
170
|
+
case 107:
|
171
|
+
f = f.replace(fa, "$1 $2");
|
172
|
+
k2 = f + "{" + k2 + "}";
|
173
|
+
k2 = w2 === 1 || w2 === 2 && L2("@" + k2, 3) ? "@-webkit-" + k2 + "@" + k2 : "@" + k2;
|
174
|
+
break;
|
175
|
+
default:
|
176
|
+
k2 = f + k2, h2 === 112 && (k2 = (p += k2, ""));
|
177
|
+
}
|
178
|
+
else
|
179
|
+
k2 = "";
|
180
|
+
break;
|
181
|
+
default:
|
182
|
+
k2 = M2(c2, X2(c2, f, I2), k2, h2, a2 + 1);
|
183
|
+
}
|
184
|
+
F3 += k2;
|
185
|
+
k2 = I2 = r2 = u2 = q2 = 0;
|
186
|
+
f = "";
|
187
|
+
g2 = e2.charCodeAt(++l2);
|
188
|
+
break;
|
189
|
+
case 125:
|
190
|
+
case 59:
|
191
|
+
f = (0 < r2 ? f.replace(N2, "") : f).trim();
|
192
|
+
if (1 < (t2 = f.length))
|
193
|
+
switch (u2 === 0 && (q2 = f.charCodeAt(0), q2 === 45 || 96 < q2 && 123 > q2) && (t2 = (f = f.replace(" ", ":")).length), 0 < A2 && (C = H2(1, f, c2, d2, D2, z2, p.length, h2, a2, h2)) !== void 0 && (t2 = (f = C.trim()).length) === 0 && (f = "\0\0"), q2 = f.charCodeAt(0), g2 = f.charCodeAt(1), q2) {
|
194
|
+
case 0:
|
195
|
+
break;
|
196
|
+
case 64:
|
197
|
+
if (g2 === 105 || g2 === 99) {
|
198
|
+
G3 += f + e2.charAt(l2);
|
199
|
+
break;
|
200
|
+
}
|
201
|
+
default:
|
202
|
+
f.charCodeAt(t2 - 1) !== 58 && (p += P2(f, q2, g2, f.charCodeAt(2)));
|
203
|
+
}
|
204
|
+
I2 = r2 = u2 = q2 = 0;
|
205
|
+
f = "";
|
206
|
+
g2 = e2.charCodeAt(++l2);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
switch (g2) {
|
210
|
+
case 13:
|
211
|
+
case 10:
|
212
|
+
b2 === 47 ? b2 = 0 : 1 + q2 === 0 && h2 !== 107 && 0 < f.length && (r2 = 1, f += "\0");
|
213
|
+
0 < A2 * Y2 && H2(0, f, c2, d2, D2, z2, p.length, h2, a2, h2);
|
214
|
+
z2 = 1;
|
215
|
+
D2++;
|
216
|
+
break;
|
217
|
+
case 59:
|
218
|
+
case 125:
|
219
|
+
if (b2 + n2 + v2 + m === 0) {
|
220
|
+
z2++;
|
221
|
+
break;
|
222
|
+
}
|
223
|
+
default:
|
224
|
+
z2++;
|
225
|
+
y2 = e2.charAt(l2);
|
226
|
+
switch (g2) {
|
227
|
+
case 9:
|
228
|
+
case 32:
|
229
|
+
if (n2 + m + b2 === 0)
|
230
|
+
switch (x2) {
|
231
|
+
case 44:
|
232
|
+
case 58:
|
233
|
+
case 9:
|
234
|
+
case 32:
|
235
|
+
y2 = "";
|
236
|
+
break;
|
237
|
+
default:
|
238
|
+
g2 !== 32 && (y2 = " ");
|
239
|
+
}
|
240
|
+
break;
|
241
|
+
case 0:
|
242
|
+
y2 = "\\0";
|
243
|
+
break;
|
244
|
+
case 12:
|
245
|
+
y2 = "\\f";
|
246
|
+
break;
|
247
|
+
case 11:
|
248
|
+
y2 = "\\v";
|
249
|
+
break;
|
250
|
+
case 38:
|
251
|
+
n2 + b2 + m === 0 && (r2 = I2 = 1, y2 = "\f" + y2);
|
252
|
+
break;
|
253
|
+
case 108:
|
254
|
+
if (n2 + b2 + m + E2 === 0 && 0 < u2)
|
255
|
+
switch (l2 - u2) {
|
256
|
+
case 2:
|
257
|
+
x2 === 112 && e2.charCodeAt(l2 - 3) === 58 && (E2 = x2);
|
258
|
+
case 8:
|
259
|
+
K2 === 111 && (E2 = K2);
|
260
|
+
}
|
261
|
+
break;
|
262
|
+
case 58:
|
263
|
+
n2 + b2 + m === 0 && (u2 = l2);
|
264
|
+
break;
|
265
|
+
case 44:
|
266
|
+
b2 + v2 + n2 + m === 0 && (r2 = 1, y2 += "\r");
|
267
|
+
break;
|
268
|
+
case 34:
|
269
|
+
case 39:
|
270
|
+
b2 === 0 && (n2 = n2 === g2 ? 0 : n2 === 0 ? g2 : n2);
|
271
|
+
break;
|
272
|
+
case 91:
|
273
|
+
n2 + b2 + v2 === 0 && m++;
|
274
|
+
break;
|
275
|
+
case 93:
|
276
|
+
n2 + b2 + v2 === 0 && m--;
|
277
|
+
break;
|
278
|
+
case 41:
|
279
|
+
n2 + b2 + m === 0 && v2--;
|
280
|
+
break;
|
281
|
+
case 40:
|
282
|
+
if (n2 + b2 + m === 0) {
|
283
|
+
if (q2 === 0)
|
284
|
+
switch (2 * x2 + 3 * K2) {
|
285
|
+
case 533:
|
286
|
+
break;
|
287
|
+
default:
|
288
|
+
q2 = 1;
|
289
|
+
}
|
290
|
+
v2++;
|
291
|
+
}
|
292
|
+
break;
|
293
|
+
case 64:
|
294
|
+
b2 + v2 + n2 + m + u2 + k2 === 0 && (k2 = 1);
|
295
|
+
break;
|
296
|
+
case 42:
|
297
|
+
case 47:
|
298
|
+
if (!(0 < n2 + m + v2))
|
299
|
+
switch (b2) {
|
300
|
+
case 0:
|
301
|
+
switch (2 * g2 + 3 * e2.charCodeAt(l2 + 1)) {
|
302
|
+
case 235:
|
303
|
+
b2 = 47;
|
304
|
+
break;
|
305
|
+
case 220:
|
306
|
+
t2 = l2, b2 = 42;
|
307
|
+
}
|
308
|
+
break;
|
309
|
+
case 42:
|
310
|
+
g2 === 47 && x2 === 42 && t2 + 2 !== l2 && (e2.charCodeAt(t2 + 2) === 33 && (p += e2.substring(t2, l2 + 1)), y2 = "", b2 = 0);
|
311
|
+
}
|
312
|
+
}
|
313
|
+
b2 === 0 && (f += y2);
|
314
|
+
}
|
315
|
+
K2 = x2;
|
316
|
+
x2 = g2;
|
317
|
+
l2++;
|
318
|
+
}
|
319
|
+
t2 = p.length;
|
320
|
+
if (0 < t2) {
|
321
|
+
r2 = c2;
|
322
|
+
if (0 < A2 && (C = H2(2, p, r2, d2, D2, z2, t2, h2, a2, h2), C !== void 0 && (p = C).length === 0))
|
323
|
+
return G3 + p + F3;
|
324
|
+
p = r2.join(",") + "{" + p + "}";
|
325
|
+
if (w2 * E2 !== 0) {
|
326
|
+
w2 !== 2 || L2(p, 2) || (E2 = 0);
|
327
|
+
switch (E2) {
|
328
|
+
case 111:
|
329
|
+
p = p.replace(ha, ":-moz-$1") + p;
|
330
|
+
break;
|
331
|
+
case 112:
|
332
|
+
p = p.replace(Q2, "::-webkit-input-$1") + p.replace(Q2, "::-moz-$1") + p.replace(Q2, ":-ms-input-$1") + p;
|
333
|
+
}
|
334
|
+
E2 = 0;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
return G3 + p + F3;
|
338
|
+
}
|
339
|
+
function X2(d2, c2, e2) {
|
340
|
+
var h2 = c2.trim().split(ia);
|
341
|
+
c2 = h2;
|
342
|
+
var a2 = h2.length, m = d2.length;
|
343
|
+
switch (m) {
|
344
|
+
case 0:
|
345
|
+
case 1:
|
346
|
+
var b2 = 0;
|
347
|
+
for (d2 = m === 0 ? "" : d2[0] + " "; b2 < a2; ++b2) {
|
348
|
+
c2[b2] = Z2(d2, c2[b2], e2).trim();
|
349
|
+
}
|
350
|
+
break;
|
351
|
+
default:
|
352
|
+
var v2 = b2 = 0;
|
353
|
+
for (c2 = []; b2 < a2; ++b2) {
|
354
|
+
for (var n2 = 0; n2 < m; ++n2) {
|
355
|
+
c2[v2++] = Z2(d2[n2] + " ", h2[b2], e2).trim();
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
359
|
+
return c2;
|
360
|
+
}
|
361
|
+
function Z2(d2, c2, e2) {
|
362
|
+
var h2 = c2.charCodeAt(0);
|
363
|
+
33 > h2 && (h2 = (c2 = c2.trim()).charCodeAt(0));
|
364
|
+
switch (h2) {
|
365
|
+
case 38:
|
366
|
+
return c2.replace(F2, "$1" + d2.trim());
|
367
|
+
case 58:
|
368
|
+
return d2.trim() + c2.replace(F2, "$1" + d2.trim());
|
369
|
+
default:
|
370
|
+
if (0 < 1 * e2 && 0 < c2.indexOf("\f"))
|
371
|
+
return c2.replace(F2, (d2.charCodeAt(0) === 58 ? "" : "$1") + d2.trim());
|
372
|
+
}
|
373
|
+
return d2 + c2;
|
374
|
+
}
|
375
|
+
function P2(d2, c2, e2, h2) {
|
376
|
+
var a2 = d2 + ";", m = 2 * c2 + 3 * e2 + 4 * h2;
|
377
|
+
if (m === 944) {
|
378
|
+
d2 = a2.indexOf(":", 9) + 1;
|
379
|
+
var b2 = a2.substring(d2, a2.length - 1).trim();
|
380
|
+
b2 = a2.substring(0, d2).trim() + b2 + ";";
|
381
|
+
return w2 === 1 || w2 === 2 && L2(b2, 1) ? "-webkit-" + b2 + b2 : b2;
|
382
|
+
}
|
383
|
+
if (w2 === 0 || w2 === 2 && !L2(a2, 1))
|
384
|
+
return a2;
|
385
|
+
switch (m) {
|
386
|
+
case 1015:
|
387
|
+
return a2.charCodeAt(10) === 97 ? "-webkit-" + a2 + a2 : a2;
|
388
|
+
case 951:
|
389
|
+
return a2.charCodeAt(3) === 116 ? "-webkit-" + a2 + a2 : a2;
|
390
|
+
case 963:
|
391
|
+
return a2.charCodeAt(5) === 110 ? "-webkit-" + a2 + a2 : a2;
|
392
|
+
case 1009:
|
393
|
+
if (a2.charCodeAt(4) !== 100)
|
394
|
+
break;
|
395
|
+
case 969:
|
396
|
+
case 942:
|
397
|
+
return "-webkit-" + a2 + a2;
|
398
|
+
case 978:
|
399
|
+
return "-webkit-" + a2 + "-moz-" + a2 + a2;
|
400
|
+
case 1019:
|
401
|
+
case 983:
|
402
|
+
return "-webkit-" + a2 + "-moz-" + a2 + "-ms-" + a2 + a2;
|
403
|
+
case 883:
|
404
|
+
if (a2.charCodeAt(8) === 45)
|
405
|
+
return "-webkit-" + a2 + a2;
|
406
|
+
if (0 < a2.indexOf("image-set(", 11))
|
407
|
+
return a2.replace(ja, "$1-webkit-$2") + a2;
|
408
|
+
break;
|
409
|
+
case 932:
|
410
|
+
if (a2.charCodeAt(4) === 45)
|
411
|
+
switch (a2.charCodeAt(5)) {
|
412
|
+
case 103:
|
413
|
+
return "-webkit-box-" + a2.replace("-grow", "") + "-webkit-" + a2 + "-ms-" + a2.replace("grow", "positive") + a2;
|
414
|
+
case 115:
|
415
|
+
return "-webkit-" + a2 + "-ms-" + a2.replace("shrink", "negative") + a2;
|
416
|
+
case 98:
|
417
|
+
return "-webkit-" + a2 + "-ms-" + a2.replace("basis", "preferred-size") + a2;
|
418
|
+
}
|
419
|
+
return "-webkit-" + a2 + "-ms-" + a2 + a2;
|
420
|
+
case 964:
|
421
|
+
return "-webkit-" + a2 + "-ms-flex-" + a2 + a2;
|
422
|
+
case 1023:
|
423
|
+
if (a2.charCodeAt(8) !== 99)
|
424
|
+
break;
|
425
|
+
b2 = a2.substring(a2.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify");
|
426
|
+
return "-webkit-box-pack" + b2 + "-webkit-" + a2 + "-ms-flex-pack" + b2 + a2;
|
427
|
+
case 1005:
|
428
|
+
return ka.test(a2) ? a2.replace(aa, ":-webkit-") + a2.replace(aa, ":-moz-") + a2 : a2;
|
429
|
+
case 1e3:
|
430
|
+
b2 = a2.substring(13).trim();
|
431
|
+
c2 = b2.indexOf("-") + 1;
|
432
|
+
switch (b2.charCodeAt(0) + b2.charCodeAt(c2)) {
|
433
|
+
case 226:
|
434
|
+
b2 = a2.replace(G2, "tb");
|
435
|
+
break;
|
436
|
+
case 232:
|
437
|
+
b2 = a2.replace(G2, "tb-rl");
|
438
|
+
break;
|
439
|
+
case 220:
|
440
|
+
b2 = a2.replace(G2, "lr");
|
441
|
+
break;
|
442
|
+
default:
|
443
|
+
return a2;
|
444
|
+
}
|
445
|
+
return "-webkit-" + a2 + "-ms-" + b2 + a2;
|
446
|
+
case 1017:
|
447
|
+
if (a2.indexOf("sticky", 9) === -1)
|
448
|
+
break;
|
449
|
+
case 975:
|
450
|
+
c2 = (a2 = d2).length - 10;
|
451
|
+
b2 = (a2.charCodeAt(c2) === 33 ? a2.substring(0, c2) : a2).substring(d2.indexOf(":", 7) + 1).trim();
|
452
|
+
switch (m = b2.charCodeAt(0) + (b2.charCodeAt(7) | 0)) {
|
453
|
+
case 203:
|
454
|
+
if (111 > b2.charCodeAt(8))
|
455
|
+
break;
|
456
|
+
case 115:
|
457
|
+
a2 = a2.replace(b2, "-webkit-" + b2) + ";" + a2;
|
458
|
+
break;
|
459
|
+
case 207:
|
460
|
+
case 102:
|
461
|
+
a2 = a2.replace(b2, "-webkit-" + (102 < m ? "inline-" : "") + "box") + ";" + a2.replace(b2, "-webkit-" + b2) + ";" + a2.replace(b2, "-ms-" + b2 + "box") + ";" + a2;
|
462
|
+
}
|
463
|
+
return a2 + ";";
|
464
|
+
case 938:
|
465
|
+
if (a2.charCodeAt(5) === 45)
|
466
|
+
switch (a2.charCodeAt(6)) {
|
467
|
+
case 105:
|
468
|
+
return b2 = a2.replace("-items", ""), "-webkit-" + a2 + "-webkit-box-" + b2 + "-ms-flex-" + b2 + a2;
|
469
|
+
case 115:
|
470
|
+
return "-webkit-" + a2 + "-ms-flex-item-" + a2.replace(ba, "") + a2;
|
471
|
+
default:
|
472
|
+
return "-webkit-" + a2 + "-ms-flex-line-pack" + a2.replace("align-content", "").replace(ba, "") + a2;
|
473
|
+
}
|
474
|
+
break;
|
475
|
+
case 973:
|
476
|
+
case 989:
|
477
|
+
if (a2.charCodeAt(3) !== 45 || a2.charCodeAt(4) === 122)
|
478
|
+
break;
|
479
|
+
case 931:
|
480
|
+
case 953:
|
481
|
+
if (la.test(d2) === true)
|
482
|
+
return (b2 = d2.substring(d2.indexOf(":") + 1)).charCodeAt(0) === 115 ? P2(d2.replace("stretch", "fill-available"), c2, e2, h2).replace(":fill-available", ":stretch") : a2.replace(b2, "-webkit-" + b2) + a2.replace(b2, "-moz-" + b2.replace("fill-", "")) + a2;
|
483
|
+
break;
|
484
|
+
case 962:
|
485
|
+
if (a2 = "-webkit-" + a2 + (a2.charCodeAt(5) === 102 ? "-ms-" + a2 : "") + a2, e2 + h2 === 211 && a2.charCodeAt(13) === 105 && 0 < a2.indexOf("transform", 10))
|
486
|
+
return a2.substring(0, a2.indexOf(";", 27) + 1).replace(ma, "$1-webkit-$2") + a2;
|
487
|
+
}
|
488
|
+
return a2;
|
489
|
+
}
|
490
|
+
function L2(d2, c2) {
|
491
|
+
var e2 = d2.indexOf(c2 === 1 ? ":" : "{"), h2 = d2.substring(0, c2 !== 3 ? e2 : 10);
|
492
|
+
e2 = d2.substring(e2 + 1, d2.length - 1);
|
493
|
+
return R2(c2 !== 2 ? h2 : h2.replace(na, "$1"), e2, c2);
|
494
|
+
}
|
495
|
+
function ea(d2, c2) {
|
496
|
+
var e2 = P2(c2, c2.charCodeAt(0), c2.charCodeAt(1), c2.charCodeAt(2));
|
497
|
+
return e2 !== c2 + ";" ? e2.replace(oa, " or ($1)").substring(4) : "(" + c2 + ")";
|
498
|
+
}
|
499
|
+
function H2(d2, c2, e2, h2, a2, m, b2, v2, n2, q2) {
|
500
|
+
for (var g2 = 0, x2 = c2, w3; g2 < A2; ++g2) {
|
501
|
+
switch (w3 = S2[g2].call(B2, d2, x2, e2, h2, a2, m, b2, v2, n2, q2)) {
|
502
|
+
case void 0:
|
503
|
+
case false:
|
504
|
+
case true:
|
505
|
+
case null:
|
506
|
+
break;
|
507
|
+
default:
|
508
|
+
x2 = w3;
|
509
|
+
}
|
510
|
+
}
|
511
|
+
if (x2 !== c2)
|
512
|
+
return x2;
|
513
|
+
}
|
514
|
+
function T2(d2) {
|
515
|
+
switch (d2) {
|
516
|
+
case void 0:
|
517
|
+
case null:
|
518
|
+
A2 = S2.length = 0;
|
519
|
+
break;
|
520
|
+
default:
|
521
|
+
if (typeof d2 === "function")
|
522
|
+
S2[A2++] = d2;
|
523
|
+
else if (typeof d2 === "object")
|
524
|
+
for (var c2 = 0, e2 = d2.length; c2 < e2; ++c2) {
|
525
|
+
T2(d2[c2]);
|
526
|
+
}
|
527
|
+
else
|
528
|
+
Y2 = !!d2 | 0;
|
529
|
+
}
|
530
|
+
return T2;
|
531
|
+
}
|
532
|
+
function U2(d2) {
|
533
|
+
d2 = d2.prefix;
|
534
|
+
d2 !== void 0 && (R2 = null, d2 ? typeof d2 !== "function" ? w2 = 1 : (w2 = 2, R2 = d2) : w2 = 0);
|
535
|
+
return U2;
|
536
|
+
}
|
537
|
+
function B2(d2, c2) {
|
538
|
+
var e2 = d2;
|
539
|
+
33 > e2.charCodeAt(0) && (e2 = e2.trim());
|
540
|
+
V2 = e2;
|
541
|
+
e2 = [V2];
|
542
|
+
if (0 < A2) {
|
543
|
+
var h2 = H2(-1, c2, e2, e2, D2, z2, 0, 0, 0, 0);
|
544
|
+
h2 !== void 0 && typeof h2 === "string" && (c2 = h2);
|
545
|
+
}
|
546
|
+
var a2 = M2(O, e2, c2, 0, 0);
|
547
|
+
0 < A2 && (h2 = H2(-2, a2, e2, e2, D2, z2, a2.length, 0, 0, 0), h2 !== void 0 && (a2 = h2));
|
548
|
+
V2 = "";
|
549
|
+
E2 = 0;
|
550
|
+
z2 = D2 = 1;
|
551
|
+
return a2;
|
552
|
+
}
|
553
|
+
var ca = /^\0+/g, N2 = /[\0\r\f]/g, aa = /: */g, ka = /zoo|gra/, ma = /([,: ])(transform)/g, ia = /,\r+?/g, F2 = /([\t\r\n ])*\f?&/g, fa = /@(k\w+)\s*(\S*)\s*/, Q2 = /::(place)/g, ha = /:(read-only)/g, G2 = /[svh]\w+-[tblr]{2}/, da = /\(\s*(.*)\s*\)/g, oa = /([\s\S]*?);/g, ba = /-self|flex-/g, na = /[^]*?(:[rp][el]a[\w-]+)[^]*/, la = /stretch|:\s*\w+\-(?:conte|avail)/, ja = /([^-])(image-set\()/, z2 = 1, D2 = 1, E2 = 0, w2 = 1, O = [], S2 = [], A2 = 0, R2 = null, Y2 = 0, V2 = "";
|
554
|
+
B2.use = T2;
|
555
|
+
B2.set = U2;
|
556
|
+
W2 !== void 0 && U2(W2);
|
557
|
+
return B2;
|
558
|
+
}
|
559
|
+
var stylis_browser_esm_default = stylis_min;
|
560
|
+
|
561
|
+
// node_modules/styled-components/dist/styled-components.browser.esm.js
|
562
|
+
var import_hoist_non_react_statics = __toModule(require_hoist_non_react_statics_cjs());
|
563
|
+
function v() {
|
564
|
+
return (v = Object.assign || function(e2) {
|
565
|
+
for (var t2 = 1; t2 < arguments.length; t2++) {
|
566
|
+
var n2 = arguments[t2];
|
567
|
+
for (var r2 in n2)
|
568
|
+
Object.prototype.hasOwnProperty.call(n2, r2) && (e2[r2] = n2[r2]);
|
569
|
+
}
|
570
|
+
return e2;
|
571
|
+
}).apply(this, arguments);
|
572
|
+
}
|
573
|
+
var g = function(e2, t2) {
|
574
|
+
for (var n2 = [e2[0]], r2 = 0, o2 = t2.length; r2 < o2; r2 += 1)
|
575
|
+
n2.push(t2[r2], e2[r2 + 1]);
|
576
|
+
return n2;
|
577
|
+
};
|
578
|
+
var S = function(t2) {
|
579
|
+
return t2 !== null && typeof t2 == "object" && (t2.toString ? t2.toString() : Object.prototype.toString.call(t2)) === "[object Object]" && !(0, import_react_is.typeOf)(t2);
|
580
|
+
};
|
581
|
+
var w = Object.freeze([]);
|
582
|
+
var E = Object.freeze({});
|
583
|
+
function b(e2) {
|
584
|
+
return typeof e2 == "function";
|
585
|
+
}
|
586
|
+
function _(e2) {
|
587
|
+
return typeof e2 == "string" && e2 || e2.displayName || e2.name || "Component";
|
588
|
+
}
|
589
|
+
function N(e2) {
|
590
|
+
return e2 && typeof e2.styledComponentId == "string";
|
591
|
+
}
|
592
|
+
var A = typeof process != "undefined" && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
|
593
|
+
var I = typeof window != "undefined" && "HTMLElement" in window;
|
594
|
+
var P = Boolean(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : true);
|
595
|
+
var R = true ? { 1: "Cannot create styled-component for component: %s.\n\n", 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n", 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n", 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n", 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n", 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n", 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n', 9: "Missing document `<head>`\n\n", 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n", 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n", 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n", 14: 'ThemeProvider: "theme" prop is required.\n\n', 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n", 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n" } : {};
|
596
|
+
function D() {
|
597
|
+
for (var e2 = arguments.length <= 0 ? void 0 : arguments[0], t2 = [], n2 = 1, r2 = arguments.length; n2 < r2; n2 += 1)
|
598
|
+
t2.push(n2 < 0 || arguments.length <= n2 ? void 0 : arguments[n2]);
|
599
|
+
return t2.forEach(function(t3) {
|
600
|
+
e2 = e2.replace(/%[a-z]/, t3);
|
601
|
+
}), e2;
|
602
|
+
}
|
603
|
+
function j(e2) {
|
604
|
+
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++)
|
605
|
+
n2[r2 - 1] = arguments[r2];
|
606
|
+
throw false ? new Error("An error occurred. See https://git.io/JUIaE#" + e2 + " for more information." + (n2.length > 0 ? " Args: " + n2.join(", ") : "")) : new Error(D.apply(void 0, [R[e2]].concat(n2)).trim());
|
607
|
+
}
|
608
|
+
var T = function() {
|
609
|
+
function e2(e3) {
|
610
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e3;
|
611
|
+
}
|
612
|
+
var t2 = e2.prototype;
|
613
|
+
return t2.indexOfGroup = function(e3) {
|
614
|
+
for (var t3 = 0, n2 = 0; n2 < e3; n2++)
|
615
|
+
t3 += this.groupSizes[n2];
|
616
|
+
return t3;
|
617
|
+
}, t2.insertRules = function(e3, t3) {
|
618
|
+
if (e3 >= this.groupSizes.length) {
|
619
|
+
for (var n2 = this.groupSizes, r2 = n2.length, o2 = r2; e3 >= o2; )
|
620
|
+
(o2 <<= 1) < 0 && j(16, "" + e3);
|
621
|
+
this.groupSizes = new Uint32Array(o2), this.groupSizes.set(n2), this.length = o2;
|
622
|
+
for (var s2 = r2; s2 < o2; s2++)
|
623
|
+
this.groupSizes[s2] = 0;
|
624
|
+
}
|
625
|
+
for (var i2 = this.indexOfGroup(e3 + 1), a2 = 0, c2 = t3.length; a2 < c2; a2++)
|
626
|
+
this.tag.insertRule(i2, t3[a2]) && (this.groupSizes[e3]++, i2++);
|
627
|
+
}, t2.clearGroup = function(e3) {
|
628
|
+
if (e3 < this.length) {
|
629
|
+
var t3 = this.groupSizes[e3], n2 = this.indexOfGroup(e3), r2 = n2 + t3;
|
630
|
+
this.groupSizes[e3] = 0;
|
631
|
+
for (var o2 = n2; o2 < r2; o2++)
|
632
|
+
this.tag.deleteRule(n2);
|
633
|
+
}
|
634
|
+
}, t2.getGroup = function(e3) {
|
635
|
+
var t3 = "";
|
636
|
+
if (e3 >= this.length || this.groupSizes[e3] === 0)
|
637
|
+
return t3;
|
638
|
+
for (var n2 = this.groupSizes[e3], r2 = this.indexOfGroup(e3), o2 = r2 + n2, s2 = r2; s2 < o2; s2++)
|
639
|
+
t3 += this.tag.getRule(s2) + "/*!sc*/\n";
|
640
|
+
return t3;
|
641
|
+
}, e2;
|
642
|
+
}();
|
643
|
+
var x = new Map();
|
644
|
+
var k = new Map();
|
645
|
+
var V = 1;
|
646
|
+
var B = function(e2) {
|
647
|
+
if (x.has(e2))
|
648
|
+
return x.get(e2);
|
649
|
+
for (; k.has(V); )
|
650
|
+
V++;
|
651
|
+
var t2 = V++;
|
652
|
+
return ((0 | t2) < 0 || t2 > 1 << 30) && j(16, "" + t2), x.set(e2, t2), k.set(t2, e2), t2;
|
653
|
+
};
|
654
|
+
var z = function(e2) {
|
655
|
+
return k.get(e2);
|
656
|
+
};
|
657
|
+
var M = function(e2, t2) {
|
658
|
+
t2 >= V && (V = t2 + 1), x.set(e2, t2), k.set(t2, e2);
|
659
|
+
};
|
660
|
+
var G = "style[" + A + '][data-styled-version="5.3.3"]';
|
661
|
+
var L = new RegExp("^" + A + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)');
|
662
|
+
var F = function(e2, t2, n2) {
|
663
|
+
for (var r2, o2 = n2.split(","), s2 = 0, i2 = o2.length; s2 < i2; s2++)
|
664
|
+
(r2 = o2[s2]) && e2.registerName(t2, r2);
|
665
|
+
};
|
666
|
+
var Y = function(e2, t2) {
|
667
|
+
for (var n2 = (t2.textContent || "").split("/*!sc*/\n"), r2 = [], o2 = 0, s2 = n2.length; o2 < s2; o2++) {
|
668
|
+
var i2 = n2[o2].trim();
|
669
|
+
if (i2) {
|
670
|
+
var a2 = i2.match(L);
|
671
|
+
if (a2) {
|
672
|
+
var c2 = 0 | parseInt(a2[1], 10), u2 = a2[2];
|
673
|
+
c2 !== 0 && (M(u2, c2), F(e2, u2, a2[3]), e2.getTag().insertRules(c2, r2)), r2.length = 0;
|
674
|
+
} else
|
675
|
+
r2.push(i2);
|
676
|
+
}
|
677
|
+
}
|
678
|
+
};
|
679
|
+
var q = function() {
|
680
|
+
return typeof window != "undefined" && window.__webpack_nonce__ !== void 0 ? window.__webpack_nonce__ : null;
|
681
|
+
};
|
682
|
+
var H = function(e2) {
|
683
|
+
var t2 = document.head, n2 = e2 || t2, r2 = document.createElement("style"), o2 = function(e3) {
|
684
|
+
for (var t3 = e3.childNodes, n3 = t3.length; n3 >= 0; n3--) {
|
685
|
+
var r3 = t3[n3];
|
686
|
+
if (r3 && r3.nodeType === 1 && r3.hasAttribute(A))
|
687
|
+
return r3;
|
688
|
+
}
|
689
|
+
}(n2), s2 = o2 !== void 0 ? o2.nextSibling : null;
|
690
|
+
r2.setAttribute(A, "active"), r2.setAttribute("data-styled-version", "5.3.3");
|
691
|
+
var i2 = q();
|
692
|
+
return i2 && r2.setAttribute("nonce", i2), n2.insertBefore(r2, s2), r2;
|
693
|
+
};
|
694
|
+
var $ = function() {
|
695
|
+
function e2(e3) {
|
696
|
+
var t3 = this.element = H(e3);
|
697
|
+
t3.appendChild(document.createTextNode("")), this.sheet = function(e4) {
|
698
|
+
if (e4.sheet)
|
699
|
+
return e4.sheet;
|
700
|
+
for (var t4 = document.styleSheets, n2 = 0, r2 = t4.length; n2 < r2; n2++) {
|
701
|
+
var o2 = t4[n2];
|
702
|
+
if (o2.ownerNode === e4)
|
703
|
+
return o2;
|
704
|
+
}
|
705
|
+
j(17);
|
706
|
+
}(t3), this.length = 0;
|
707
|
+
}
|
708
|
+
var t2 = e2.prototype;
|
709
|
+
return t2.insertRule = function(e3, t3) {
|
710
|
+
try {
|
711
|
+
return this.sheet.insertRule(t3, e3), this.length++, true;
|
712
|
+
} catch (e4) {
|
713
|
+
return false;
|
714
|
+
}
|
715
|
+
}, t2.deleteRule = function(e3) {
|
716
|
+
this.sheet.deleteRule(e3), this.length--;
|
717
|
+
}, t2.getRule = function(e3) {
|
718
|
+
var t3 = this.sheet.cssRules[e3];
|
719
|
+
return t3 !== void 0 && typeof t3.cssText == "string" ? t3.cssText : "";
|
720
|
+
}, e2;
|
721
|
+
}();
|
722
|
+
var W = function() {
|
723
|
+
function e2(e3) {
|
724
|
+
var t3 = this.element = H(e3);
|
725
|
+
this.nodes = t3.childNodes, this.length = 0;
|
726
|
+
}
|
727
|
+
var t2 = e2.prototype;
|
728
|
+
return t2.insertRule = function(e3, t3) {
|
729
|
+
if (e3 <= this.length && e3 >= 0) {
|
730
|
+
var n2 = document.createTextNode(t3), r2 = this.nodes[e3];
|
731
|
+
return this.element.insertBefore(n2, r2 || null), this.length++, true;
|
732
|
+
}
|
733
|
+
return false;
|
734
|
+
}, t2.deleteRule = function(e3) {
|
735
|
+
this.element.removeChild(this.nodes[e3]), this.length--;
|
736
|
+
}, t2.getRule = function(e3) {
|
737
|
+
return e3 < this.length ? this.nodes[e3].textContent : "";
|
738
|
+
}, e2;
|
739
|
+
}();
|
740
|
+
var U = function() {
|
741
|
+
function e2(e3) {
|
742
|
+
this.rules = [], this.length = 0;
|
743
|
+
}
|
744
|
+
var t2 = e2.prototype;
|
745
|
+
return t2.insertRule = function(e3, t3) {
|
746
|
+
return e3 <= this.length && (this.rules.splice(e3, 0, t3), this.length++, true);
|
747
|
+
}, t2.deleteRule = function(e3) {
|
748
|
+
this.rules.splice(e3, 1), this.length--;
|
749
|
+
}, t2.getRule = function(e3) {
|
750
|
+
return e3 < this.length ? this.rules[e3] : "";
|
751
|
+
}, e2;
|
752
|
+
}();
|
753
|
+
var J = I;
|
754
|
+
var X = { isServer: !I, useCSSOMInjection: !P };
|
755
|
+
var Z = function() {
|
756
|
+
function e2(e3, t3, n2) {
|
757
|
+
e3 === void 0 && (e3 = E), t3 === void 0 && (t3 = {}), this.options = v({}, X, {}, e3), this.gs = t3, this.names = new Map(n2), this.server = !!e3.isServer, !this.server && I && J && (J = false, function(e4) {
|
758
|
+
for (var t4 = document.querySelectorAll(G), n3 = 0, r2 = t4.length; n3 < r2; n3++) {
|
759
|
+
var o2 = t4[n3];
|
760
|
+
o2 && o2.getAttribute(A) !== "active" && (Y(e4, o2), o2.parentNode && o2.parentNode.removeChild(o2));
|
761
|
+
}
|
762
|
+
}(this));
|
763
|
+
}
|
764
|
+
e2.registerId = function(e3) {
|
765
|
+
return B(e3);
|
766
|
+
};
|
767
|
+
var t2 = e2.prototype;
|
768
|
+
return t2.reconstructWithOptions = function(t3, n2) {
|
769
|
+
return n2 === void 0 && (n2 = true), new e2(v({}, this.options, {}, t3), this.gs, n2 && this.names || void 0);
|
770
|
+
}, t2.allocateGSInstance = function(e3) {
|
771
|
+
return this.gs[e3] = (this.gs[e3] || 0) + 1;
|
772
|
+
}, t2.getTag = function() {
|
773
|
+
return this.tag || (this.tag = (n2 = (t3 = this.options).isServer, r2 = t3.useCSSOMInjection, o2 = t3.target, e3 = n2 ? new U(o2) : r2 ? new $(o2) : new W(o2), new T(e3)));
|
774
|
+
var e3, t3, n2, r2, o2;
|
775
|
+
}, t2.hasNameForId = function(e3, t3) {
|
776
|
+
return this.names.has(e3) && this.names.get(e3).has(t3);
|
777
|
+
}, t2.registerName = function(e3, t3) {
|
778
|
+
if (B(e3), this.names.has(e3))
|
779
|
+
this.names.get(e3).add(t3);
|
780
|
+
else {
|
781
|
+
var n2 = new Set();
|
782
|
+
n2.add(t3), this.names.set(e3, n2);
|
783
|
+
}
|
784
|
+
}, t2.insertRules = function(e3, t3, n2) {
|
785
|
+
this.registerName(e3, t3), this.getTag().insertRules(B(e3), n2);
|
786
|
+
}, t2.clearNames = function(e3) {
|
787
|
+
this.names.has(e3) && this.names.get(e3).clear();
|
788
|
+
}, t2.clearRules = function(e3) {
|
789
|
+
this.getTag().clearGroup(B(e3)), this.clearNames(e3);
|
790
|
+
}, t2.clearTag = function() {
|
791
|
+
this.tag = void 0;
|
792
|
+
}, t2.toString = function() {
|
793
|
+
return function(e3) {
|
794
|
+
for (var t3 = e3.getTag(), n2 = t3.length, r2 = "", o2 = 0; o2 < n2; o2++) {
|
795
|
+
var s2 = z(o2);
|
796
|
+
if (s2 !== void 0) {
|
797
|
+
var i2 = e3.names.get(s2), a2 = t3.getGroup(o2);
|
798
|
+
if (i2 && a2 && i2.size) {
|
799
|
+
var c2 = A + ".g" + o2 + '[id="' + s2 + '"]', u2 = "";
|
800
|
+
i2 !== void 0 && i2.forEach(function(e4) {
|
801
|
+
e4.length > 0 && (u2 += e4 + ",");
|
802
|
+
}), r2 += "" + a2 + c2 + '{content:"' + u2 + '"}/*!sc*/\n';
|
803
|
+
}
|
804
|
+
}
|
805
|
+
}
|
806
|
+
return r2;
|
807
|
+
}(this);
|
808
|
+
}, e2;
|
809
|
+
}();
|
810
|
+
var K = /(a)(d)/gi;
|
811
|
+
var Q = function(e2) {
|
812
|
+
return String.fromCharCode(e2 + (e2 > 25 ? 39 : 97));
|
813
|
+
};
|
814
|
+
function ee(e2) {
|
815
|
+
var t2, n2 = "";
|
816
|
+
for (t2 = Math.abs(e2); t2 > 52; t2 = t2 / 52 | 0)
|
817
|
+
n2 = Q(t2 % 52) + n2;
|
818
|
+
return (Q(t2 % 52) + n2).replace(K, "$1-$2");
|
819
|
+
}
|
820
|
+
var te = function(e2, t2) {
|
821
|
+
for (var n2 = t2.length; n2; )
|
822
|
+
e2 = 33 * e2 ^ t2.charCodeAt(--n2);
|
823
|
+
return e2;
|
824
|
+
};
|
825
|
+
var ne = function(e2) {
|
826
|
+
return te(5381, e2);
|
827
|
+
};
|
828
|
+
function re(e2) {
|
829
|
+
for (var t2 = 0; t2 < e2.length; t2 += 1) {
|
830
|
+
var n2 = e2[t2];
|
831
|
+
if (b(n2) && !N(n2))
|
832
|
+
return false;
|
833
|
+
}
|
834
|
+
return true;
|
835
|
+
}
|
836
|
+
var oe = ne("5.3.3");
|
837
|
+
var se = function() {
|
838
|
+
function e2(e3, t2, n2) {
|
839
|
+
this.rules = e3, this.staticRulesId = "", this.isStatic = false, this.componentId = t2, this.baseHash = te(oe, t2), this.baseStyle = n2, Z.registerId(t2);
|
840
|
+
}
|
841
|
+
return e2.prototype.generateAndInjectStyles = function(e3, t2, n2) {
|
842
|
+
var r2 = this.componentId, o2 = [];
|
843
|
+
if (this.baseStyle && o2.push(this.baseStyle.generateAndInjectStyles(e3, t2, n2)), this.isStatic && !n2.hash)
|
844
|
+
if (this.staticRulesId && t2.hasNameForId(r2, this.staticRulesId))
|
845
|
+
o2.push(this.staticRulesId);
|
846
|
+
else {
|
847
|
+
var s2 = Ne(this.rules, e3, t2, n2).join(""), i2 = ee(te(this.baseHash, s2) >>> 0);
|
848
|
+
if (!t2.hasNameForId(r2, i2)) {
|
849
|
+
var a2 = n2(s2, "." + i2, void 0, r2);
|
850
|
+
t2.insertRules(r2, i2, a2);
|
851
|
+
}
|
852
|
+
o2.push(i2), this.staticRulesId = i2;
|
853
|
+
}
|
854
|
+
else {
|
855
|
+
for (var c2 = this.rules.length, u2 = te(this.baseHash, n2.hash), l2 = "", d2 = 0; d2 < c2; d2++) {
|
856
|
+
var h2 = this.rules[d2];
|
857
|
+
if (typeof h2 == "string")
|
858
|
+
l2 += h2, u2 = te(u2, h2 + d2);
|
859
|
+
else if (h2) {
|
860
|
+
var p = Ne(h2, e3, t2, n2), f = Array.isArray(p) ? p.join("") : p;
|
861
|
+
u2 = te(u2, f + d2), l2 += f;
|
862
|
+
}
|
863
|
+
}
|
864
|
+
if (l2) {
|
865
|
+
var m = ee(u2 >>> 0);
|
866
|
+
if (!t2.hasNameForId(r2, m)) {
|
867
|
+
var y2 = n2(l2, "." + m, void 0, r2);
|
868
|
+
t2.insertRules(r2, m, y2);
|
869
|
+
}
|
870
|
+
o2.push(m);
|
871
|
+
}
|
872
|
+
}
|
873
|
+
return o2.join(" ");
|
874
|
+
}, e2;
|
875
|
+
}();
|
876
|
+
var ie = /^\s*\/\/.*$/gm;
|
877
|
+
var ae = [":", "[", ".", "#"];
|
878
|
+
function ce(e2) {
|
879
|
+
var t2, n2, r2, o2, s2 = e2 === void 0 ? E : e2, i2 = s2.options, a2 = i2 === void 0 ? E : i2, c2 = s2.plugins, u2 = c2 === void 0 ? w : c2, l2 = new stylis_browser_esm_default(a2), d2 = [], h2 = function(e3) {
|
880
|
+
function t3(t4) {
|
881
|
+
if (t4)
|
882
|
+
try {
|
883
|
+
e3(t4 + "}");
|
884
|
+
} catch (e4) {
|
885
|
+
}
|
886
|
+
}
|
887
|
+
return function(n3, r3, o3, s3, i3, a3, c3, u3, l3, d3) {
|
888
|
+
switch (n3) {
|
889
|
+
case 1:
|
890
|
+
if (l3 === 0 && r3.charCodeAt(0) === 64)
|
891
|
+
return e3(r3 + ";"), "";
|
892
|
+
break;
|
893
|
+
case 2:
|
894
|
+
if (u3 === 0)
|
895
|
+
return r3 + "/*|*/";
|
896
|
+
break;
|
897
|
+
case 3:
|
898
|
+
switch (u3) {
|
899
|
+
case 102:
|
900
|
+
case 112:
|
901
|
+
return e3(o3[0] + r3), "";
|
902
|
+
default:
|
903
|
+
return r3 + (d3 === 0 ? "/*|*/" : "");
|
904
|
+
}
|
905
|
+
case -2:
|
906
|
+
r3.split("/*|*/}").forEach(t3);
|
907
|
+
}
|
908
|
+
};
|
909
|
+
}(function(e3) {
|
910
|
+
d2.push(e3);
|
911
|
+
}), f = function(e3, r3, s3) {
|
912
|
+
return r3 === 0 && ae.indexOf(s3[n2.length]) !== -1 || s3.match(o2) ? e3 : "." + t2;
|
913
|
+
};
|
914
|
+
function m(e3, s3, i3, a3) {
|
915
|
+
a3 === void 0 && (a3 = "&");
|
916
|
+
var c3 = e3.replace(ie, ""), u3 = s3 && i3 ? i3 + " " + s3 + " { " + c3 + " }" : c3;
|
917
|
+
return t2 = a3, n2 = s3, r2 = new RegExp("\\" + n2 + "\\b", "g"), o2 = new RegExp("(\\" + n2 + "\\b){2,}"), l2(i3 || !s3 ? "" : s3, u3);
|
918
|
+
}
|
919
|
+
return l2.use([].concat(u2, [function(e3, t3, o3) {
|
920
|
+
e3 === 2 && o3.length && o3[0].lastIndexOf(n2) > 0 && (o3[0] = o3[0].replace(r2, f));
|
921
|
+
}, h2, function(e3) {
|
922
|
+
if (e3 === -2) {
|
923
|
+
var t3 = d2;
|
924
|
+
return d2 = [], t3;
|
925
|
+
}
|
926
|
+
}])), m.hash = u2.length ? u2.reduce(function(e3, t3) {
|
927
|
+
return t3.name || j(15), te(e3, t3.name);
|
928
|
+
}, 5381).toString() : "", m;
|
929
|
+
}
|
930
|
+
var ue = r.createContext();
|
931
|
+
var le = ue.Consumer;
|
932
|
+
var de = r.createContext();
|
933
|
+
var he = (de.Consumer, new Z());
|
934
|
+
var pe = ce();
|
935
|
+
function fe() {
|
936
|
+
return s(ue) || he;
|
937
|
+
}
|
938
|
+
function me() {
|
939
|
+
return s(de) || pe;
|
940
|
+
}
|
941
|
+
function ye(e2) {
|
942
|
+
var t2 = o(e2.stylisPlugins), n2 = t2[0], s2 = t2[1], c2 = fe(), u2 = i(function() {
|
943
|
+
var t3 = c2;
|
944
|
+
return e2.sheet ? t3 = e2.sheet : e2.target && (t3 = t3.reconstructWithOptions({ target: e2.target }, false)), e2.disableCSSOMInjection && (t3 = t3.reconstructWithOptions({ useCSSOMInjection: false })), t3;
|
945
|
+
}, [e2.disableCSSOMInjection, e2.sheet, e2.target]), l2 = i(function() {
|
946
|
+
return ce({ options: { prefix: !e2.disableVendorPrefixes }, plugins: n2 });
|
947
|
+
}, [e2.disableVendorPrefixes, n2]);
|
948
|
+
return a(function() {
|
949
|
+
(0, import_shallowequal.default)(n2, e2.stylisPlugins) || s2(e2.stylisPlugins);
|
950
|
+
}, [e2.stylisPlugins]), r.createElement(ue.Provider, { value: u2 }, r.createElement(de.Provider, { value: l2 }, true ? r.Children.only(e2.children) : e2.children));
|
951
|
+
}
|
952
|
+
var ve = function() {
|
953
|
+
function e2(e3, t2) {
|
954
|
+
var n2 = this;
|
955
|
+
this.inject = function(e4, t3) {
|
956
|
+
t3 === void 0 && (t3 = pe);
|
957
|
+
var r2 = n2.name + t3.hash;
|
958
|
+
e4.hasNameForId(n2.id, r2) || e4.insertRules(n2.id, r2, t3(n2.rules, r2, "@keyframes"));
|
959
|
+
}, this.toString = function() {
|
960
|
+
return j(12, String(n2.name));
|
961
|
+
}, this.name = e3, this.id = "sc-keyframes-" + e3, this.rules = t2;
|
962
|
+
}
|
963
|
+
return e2.prototype.getName = function(e3) {
|
964
|
+
return e3 === void 0 && (e3 = pe), this.name + e3.hash;
|
965
|
+
}, e2;
|
966
|
+
}();
|
967
|
+
var ge = /([A-Z])/;
|
968
|
+
var Se = /([A-Z])/g;
|
969
|
+
var we = /^ms-/;
|
970
|
+
var Ee = function(e2) {
|
971
|
+
return "-" + e2.toLowerCase();
|
972
|
+
};
|
973
|
+
function be(e2) {
|
974
|
+
return ge.test(e2) ? e2.replace(Se, Ee).replace(we, "-ms-") : e2;
|
975
|
+
}
|
976
|
+
var _e = function(e2) {
|
977
|
+
return e2 == null || e2 === false || e2 === "";
|
978
|
+
};
|
979
|
+
function Ne(e2, n2, r2, o2) {
|
980
|
+
if (Array.isArray(e2)) {
|
981
|
+
for (var s2, i2 = [], a2 = 0, c2 = e2.length; a2 < c2; a2 += 1)
|
982
|
+
(s2 = Ne(e2[a2], n2, r2, o2)) !== "" && (Array.isArray(s2) ? i2.push.apply(i2, s2) : i2.push(s2));
|
983
|
+
return i2;
|
984
|
+
}
|
985
|
+
if (_e(e2))
|
986
|
+
return "";
|
987
|
+
if (N(e2))
|
988
|
+
return "." + e2.styledComponentId;
|
989
|
+
if (b(e2)) {
|
990
|
+
if (typeof (l2 = e2) != "function" || l2.prototype && l2.prototype.isReactComponent || !n2)
|
991
|
+
return e2;
|
992
|
+
var u2 = e2(n2);
|
993
|
+
return (0, import_react_is.isElement)(u2) && console.warn(_(e2) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), Ne(u2, n2, r2, o2);
|
994
|
+
}
|
995
|
+
var l2;
|
996
|
+
return e2 instanceof ve ? r2 ? (e2.inject(r2, o2), e2.getName(o2)) : e2 : S(e2) ? function e3(t2, n3) {
|
997
|
+
var r3, o3, s3 = [];
|
998
|
+
for (var i3 in t2)
|
999
|
+
t2.hasOwnProperty(i3) && !_e(t2[i3]) && (Array.isArray(t2[i3]) && t2[i3].isCss || b(t2[i3]) ? s3.push(be(i3) + ":", t2[i3], ";") : S(t2[i3]) ? s3.push.apply(s3, e3(t2[i3], i3)) : s3.push(be(i3) + ": " + (r3 = i3, (o3 = t2[i3]) == null || typeof o3 == "boolean" || o3 === "" ? "" : typeof o3 != "number" || o3 === 0 || r3 in unitless_browser_esm_default ? String(o3).trim() : o3 + "px") + ";"));
|
1000
|
+
return n3 ? [n3 + " {"].concat(s3, ["}"]) : s3;
|
1001
|
+
}(e2) : e2.toString();
|
1002
|
+
}
|
1003
|
+
var Ae = function(e2) {
|
1004
|
+
return Array.isArray(e2) && (e2.isCss = true), e2;
|
1005
|
+
};
|
1006
|
+
function Ce(e2) {
|
1007
|
+
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++)
|
1008
|
+
n2[r2 - 1] = arguments[r2];
|
1009
|
+
return b(e2) || S(e2) ? Ae(Ne(g(w, [e2].concat(n2)))) : n2.length === 0 && e2.length === 1 && typeof e2[0] == "string" ? e2 : Ae(Ne(g(e2, n2)));
|
1010
|
+
}
|
1011
|
+
var Ie = /invalid hook call/i;
|
1012
|
+
var Pe = new Set();
|
1013
|
+
var Oe = function(e2, t2) {
|
1014
|
+
if (true) {
|
1015
|
+
var n2 = "The component " + e2 + (t2 ? ' with the id of "' + t2 + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.", r2 = console.error;
|
1016
|
+
try {
|
1017
|
+
var o2 = true;
|
1018
|
+
console.error = function(e3) {
|
1019
|
+
if (Ie.test(e3))
|
1020
|
+
o2 = false, Pe.delete(n2);
|
1021
|
+
else {
|
1022
|
+
for (var t3 = arguments.length, s2 = new Array(t3 > 1 ? t3 - 1 : 0), i2 = 1; i2 < t3; i2++)
|
1023
|
+
s2[i2 - 1] = arguments[i2];
|
1024
|
+
r2.apply(void 0, [e3].concat(s2));
|
1025
|
+
}
|
1026
|
+
}, c(), o2 && !Pe.has(n2) && (console.warn(n2), Pe.add(n2));
|
1027
|
+
} catch (e3) {
|
1028
|
+
Ie.test(e3.message) && Pe.delete(n2);
|
1029
|
+
} finally {
|
1030
|
+
console.error = r2;
|
1031
|
+
}
|
1032
|
+
}
|
1033
|
+
};
|
1034
|
+
var Re = function(e2, t2, n2) {
|
1035
|
+
return n2 === void 0 && (n2 = E), e2.theme !== n2.theme && e2.theme || t2 || n2.theme;
|
1036
|
+
};
|
1037
|
+
var De = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g;
|
1038
|
+
var je = /(^-|-$)/g;
|
1039
|
+
function Te(e2) {
|
1040
|
+
return e2.replace(De, "-").replace(je, "");
|
1041
|
+
}
|
1042
|
+
var xe = function(e2) {
|
1043
|
+
return ee(ne(e2) >>> 0);
|
1044
|
+
};
|
1045
|
+
function ke(e2) {
|
1046
|
+
return typeof e2 == "string" && e2.charAt(0) === e2.charAt(0).toLowerCase();
|
1047
|
+
}
|
1048
|
+
var Ve = function(e2) {
|
1049
|
+
return typeof e2 == "function" || typeof e2 == "object" && e2 !== null && !Array.isArray(e2);
|
1050
|
+
};
|
1051
|
+
var Be = function(e2) {
|
1052
|
+
return e2 !== "__proto__" && e2 !== "constructor" && e2 !== "prototype";
|
1053
|
+
};
|
1054
|
+
function ze(e2, t2, n2) {
|
1055
|
+
var r2 = e2[n2];
|
1056
|
+
Ve(t2) && Ve(r2) ? Me(r2, t2) : e2[n2] = t2;
|
1057
|
+
}
|
1058
|
+
function Me(e2) {
|
1059
|
+
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++)
|
1060
|
+
n2[r2 - 1] = arguments[r2];
|
1061
|
+
for (var o2 = 0, s2 = n2; o2 < s2.length; o2++) {
|
1062
|
+
var i2 = s2[o2];
|
1063
|
+
if (Ve(i2))
|
1064
|
+
for (var a2 in i2)
|
1065
|
+
Be(a2) && ze(e2, i2[a2], a2);
|
1066
|
+
}
|
1067
|
+
return e2;
|
1068
|
+
}
|
1069
|
+
var Ge = r.createContext();
|
1070
|
+
var Le = Ge.Consumer;
|
1071
|
+
var Ye = {};
|
1072
|
+
function qe(e2, t2, n2) {
|
1073
|
+
var o2 = N(e2), i2 = !ke(e2), a2 = t2.attrs, c2 = a2 === void 0 ? w : a2, d2 = t2.componentId, h2 = d2 === void 0 ? function(e3, t3) {
|
1074
|
+
var n3 = typeof e3 != "string" ? "sc" : Te(e3);
|
1075
|
+
Ye[n3] = (Ye[n3] || 0) + 1;
|
1076
|
+
var r2 = n3 + "-" + xe("5.3.3" + n3 + Ye[n3]);
|
1077
|
+
return t3 ? t3 + "-" + r2 : r2;
|
1078
|
+
}(t2.displayName, t2.parentComponentId) : d2, p = t2.displayName, f = p === void 0 ? function(e3) {
|
1079
|
+
return ke(e3) ? "styled." + e3 : "Styled(" + _(e3) + ")";
|
1080
|
+
}(e2) : p, g2 = t2.displayName && t2.componentId ? Te(t2.displayName) + "-" + t2.componentId : t2.componentId || h2, S2 = o2 && e2.attrs ? Array.prototype.concat(e2.attrs, c2).filter(Boolean) : c2, A2 = t2.shouldForwardProp;
|
1081
|
+
o2 && e2.shouldForwardProp && (A2 = t2.shouldForwardProp ? function(n3, r2, o3) {
|
1082
|
+
return e2.shouldForwardProp(n3, r2, o3) && t2.shouldForwardProp(n3, r2, o3);
|
1083
|
+
} : e2.shouldForwardProp);
|
1084
|
+
var C, I2 = new se(n2, g2, o2 ? e2.componentStyle : void 0), P2 = I2.isStatic && c2.length === 0, O = function(e3, t3) {
|
1085
|
+
return function(e4, t4, n3, r2) {
|
1086
|
+
var o3 = e4.attrs, i3 = e4.componentStyle, a3 = e4.defaultProps, c3 = e4.foldedComponentIds, d3 = e4.shouldForwardProp, h3 = e4.styledComponentId, p2 = e4.target;
|
1087
|
+
l(h3);
|
1088
|
+
var f2 = function(e5, t5, n4) {
|
1089
|
+
e5 === void 0 && (e5 = E);
|
1090
|
+
var r3 = v({}, t5, { theme: e5 }), o4 = {};
|
1091
|
+
return n4.forEach(function(e6) {
|
1092
|
+
var t6, n5, s2, i4 = e6;
|
1093
|
+
for (t6 in b(i4) && (i4 = i4(r3)), i4)
|
1094
|
+
r3[t6] = o4[t6] = t6 === "className" ? (n5 = o4[t6], s2 = i4[t6], n5 && s2 ? n5 + " " + s2 : n5 || s2) : i4[t6];
|
1095
|
+
}), [r3, o4];
|
1096
|
+
}(Re(t4, s(Ge), a3) || E, t4, o3), y2 = f2[0], g3 = f2[1], S3 = function(e5, t5, n4, r3) {
|
1097
|
+
var o4 = fe(), s2 = me(), i4 = t5 ? e5.generateAndInjectStyles(E, o4, s2) : e5.generateAndInjectStyles(n4, o4, s2);
|
1098
|
+
return l(i4), !t5 && r3 && r3(i4), i4;
|
1099
|
+
}(i3, r2, y2, true ? e4.warnTooManyClasses : void 0), w2 = n3, _2 = g3.$as || t4.$as || g3.as || t4.as || p2, N2 = ke(_2), A3 = g3 !== t4 ? v({}, t4, {}, g3) : t4, C2 = {};
|
1100
|
+
for (var I3 in A3)
|
1101
|
+
I3[0] !== "$" && I3 !== "as" && (I3 === "forwardedAs" ? C2.as = A3[I3] : (d3 ? d3(I3, is_prop_valid_browser_esm_default, _2) : !N2 || is_prop_valid_browser_esm_default(I3)) && (C2[I3] = A3[I3]));
|
1102
|
+
return t4.style && g3.style !== t4.style && (C2.style = v({}, t4.style, {}, g3.style)), C2.className = Array.prototype.concat(c3, h3, S3 !== h3 ? S3 : null, t4.className, g3.className).filter(Boolean).join(" "), C2.ref = w2, u(_2, C2);
|
1103
|
+
}(C, e3, t3, P2);
|
1104
|
+
};
|
1105
|
+
return O.displayName = f, (C = r.forwardRef(O)).attrs = S2, C.componentStyle = I2, C.displayName = f, C.shouldForwardProp = A2, C.foldedComponentIds = o2 ? Array.prototype.concat(e2.foldedComponentIds, e2.styledComponentId) : w, C.styledComponentId = g2, C.target = o2 ? e2.target : e2, C.withComponent = function(e3) {
|
1106
|
+
var r2 = t2.componentId, o3 = function(e4, t3) {
|
1107
|
+
if (e4 == null)
|
1108
|
+
return {};
|
1109
|
+
var n3, r3, o4 = {}, s3 = Object.keys(e4);
|
1110
|
+
for (r3 = 0; r3 < s3.length; r3++)
|
1111
|
+
n3 = s3[r3], t3.indexOf(n3) >= 0 || (o4[n3] = e4[n3]);
|
1112
|
+
return o4;
|
1113
|
+
}(t2, ["componentId"]), s2 = r2 && r2 + "-" + (ke(e3) ? e3 : Te(_(e3)));
|
1114
|
+
return qe(e3, v({}, o3, { attrs: S2, componentId: s2 }), n2);
|
1115
|
+
}, Object.defineProperty(C, "defaultProps", { get: function() {
|
1116
|
+
return this._foldedDefaultProps;
|
1117
|
+
}, set: function(t3) {
|
1118
|
+
this._foldedDefaultProps = o2 ? Me({}, e2.defaultProps, t3) : t3;
|
1119
|
+
} }), Oe(f, g2), C.warnTooManyClasses = function(e3, t3) {
|
1120
|
+
var n3 = {}, r2 = false;
|
1121
|
+
return function(o3) {
|
1122
|
+
if (!r2 && (n3[o3] = true, Object.keys(n3).length >= 200)) {
|
1123
|
+
var s2 = t3 ? ' with the id of "' + t3 + '"' : "";
|
1124
|
+
console.warn("Over 200 classes were generated for component " + e3 + s2 + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r2 = true, n3 = {};
|
1125
|
+
}
|
1126
|
+
};
|
1127
|
+
}(f, g2), C.toString = function() {
|
1128
|
+
return "." + C.styledComponentId;
|
1129
|
+
}, i2 && (0, import_hoist_non_react_statics.default)(C, e2, { attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true, withComponent: true }), C;
|
1130
|
+
}
|
1131
|
+
var He = function(e2) {
|
1132
|
+
return function e3(t2, r2, o2) {
|
1133
|
+
if (o2 === void 0 && (o2 = E), !(0, import_react_is.isValidElementType)(r2))
|
1134
|
+
return j(1, String(r2));
|
1135
|
+
var s2 = function() {
|
1136
|
+
return t2(r2, o2, Ce.apply(void 0, arguments));
|
1137
|
+
};
|
1138
|
+
return s2.withConfig = function(n2) {
|
1139
|
+
return e3(t2, r2, v({}, o2, {}, n2));
|
1140
|
+
}, s2.attrs = function(n2) {
|
1141
|
+
return e3(t2, r2, v({}, o2, { attrs: Array.prototype.concat(o2.attrs, n2).filter(Boolean) }));
|
1142
|
+
}, s2;
|
1143
|
+
}(qe, e2);
|
1144
|
+
};
|
1145
|
+
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(e2) {
|
1146
|
+
He[e2] = He(e2);
|
1147
|
+
});
|
1148
|
+
var $e = function() {
|
1149
|
+
function e2(e3, t3) {
|
1150
|
+
this.rules = e3, this.componentId = t3, this.isStatic = re(e3), Z.registerId(this.componentId + 1);
|
1151
|
+
}
|
1152
|
+
var t2 = e2.prototype;
|
1153
|
+
return t2.createStyles = function(e3, t3, n2, r2) {
|
1154
|
+
var o2 = r2(Ne(this.rules, t3, n2, r2).join(""), ""), s2 = this.componentId + e3;
|
1155
|
+
n2.insertRules(s2, s2, o2);
|
1156
|
+
}, t2.removeStyles = function(e3, t3) {
|
1157
|
+
t3.clearRules(this.componentId + e3);
|
1158
|
+
}, t2.renderStyles = function(e3, t3, n2, r2) {
|
1159
|
+
e3 > 2 && Z.registerId(this.componentId + e3), this.removeStyles(e3, n2), this.createStyles(e3, t3, n2, r2);
|
1160
|
+
}, e2;
|
1161
|
+
}();
|
1162
|
+
var Je = function() {
|
1163
|
+
function e2() {
|
1164
|
+
var e3 = this;
|
1165
|
+
this._emitSheetCSS = function() {
|
1166
|
+
var t3 = e3.instance.toString();
|
1167
|
+
if (!t3)
|
1168
|
+
return "";
|
1169
|
+
var n2 = q();
|
1170
|
+
return "<style " + [n2 && 'nonce="' + n2 + '"', A + '="true"', 'data-styled-version="5.3.3"'].filter(Boolean).join(" ") + ">" + t3 + "</style>";
|
1171
|
+
}, this.getStyleTags = function() {
|
1172
|
+
return e3.sealed ? j(2) : e3._emitSheetCSS();
|
1173
|
+
}, this.getStyleElement = function() {
|
1174
|
+
var t3;
|
1175
|
+
if (e3.sealed)
|
1176
|
+
return j(2);
|
1177
|
+
var n2 = ((t3 = {})[A] = "", t3["data-styled-version"] = "5.3.3", t3.dangerouslySetInnerHTML = { __html: e3.instance.toString() }, t3), o2 = q();
|
1178
|
+
return o2 && (n2.nonce = o2), [r.createElement("style", v({}, n2, { key: "sc-0-0" }))];
|
1179
|
+
}, this.seal = function() {
|
1180
|
+
e3.sealed = true;
|
1181
|
+
}, this.instance = new Z({ isServer: true }), this.sealed = false;
|
1182
|
+
}
|
1183
|
+
var t2 = e2.prototype;
|
1184
|
+
return t2.collectStyles = function(e3) {
|
1185
|
+
return this.sealed ? j(2) : r.createElement(ye, { sheet: this.instance }, e3);
|
1186
|
+
}, t2.interleaveWithNodeStream = function(e3) {
|
1187
|
+
return j(3);
|
1188
|
+
}, e2;
|
1189
|
+
}();
|
1190
|
+
typeof navigator != "undefined" && navigator.product === "ReactNative" && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), typeof window != "undefined" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
|
1191
|
+
var styled_components_browser_esm_default = He;
|
1192
|
+
|
1193
|
+
// libs/shared/legacy-ui/src/core/Colors/index.ts
|
1194
|
+
init_react_shim();
|
1195
|
+
var gray000 = "#f8f8f8";
|
1196
|
+
var gray100 = gray000;
|
1197
|
+
|
1198
|
+
// libs/shared/legacy-ui/src/core/Position/index.ts
|
1199
|
+
init_react_shim();
|
1200
|
+
var Position = {
|
1201
|
+
BOTTOM: "bottom",
|
1202
|
+
BOTTOM_LEFT: "bottom-left",
|
1203
|
+
BOTTOM_RIGHT: "bottom-right",
|
1204
|
+
LEFT: "left",
|
1205
|
+
LEFT_BOTTOM: "left-bottom",
|
1206
|
+
LEFT_TOP: "left-top",
|
1207
|
+
RIGHT: "right",
|
1208
|
+
RIGHT_BOTTOM: "right-bottom",
|
1209
|
+
RIGHT_TOP: "right-top",
|
1210
|
+
TOP: "top",
|
1211
|
+
TOP_LEFT: "top-left",
|
1212
|
+
TOP_RIGHT: "top-right"
|
1213
|
+
};
|
1214
|
+
|
1215
|
+
// libs/shared/legacy-ui/src/components/Avatar/index.tsx
|
1216
|
+
init_react_shim();
|
1217
|
+
import React2, { PureComponent } from "react";
|
1218
|
+
var AvatarSize;
|
1219
|
+
(function(AvatarSize2) {
|
1220
|
+
AvatarSize2["SMALL"] = "sm";
|
1221
|
+
AvatarSize2["MEDIUM"] = "md";
|
1222
|
+
AvatarSize2["LARGE"] = "lg";
|
1223
|
+
})(AvatarSize || (AvatarSize = {}));
|
1224
|
+
var Avatar = class extends PureComponent {
|
1225
|
+
constructor() {
|
1226
|
+
super(...arguments);
|
1227
|
+
this.state = {
|
1228
|
+
isError: false
|
1229
|
+
};
|
1230
|
+
this.handleImageError = (e2) => {
|
1231
|
+
const { onError } = this.props;
|
1232
|
+
this.setState({
|
1233
|
+
isError: true
|
1234
|
+
});
|
1235
|
+
if (onError) {
|
1236
|
+
onError(e2);
|
1237
|
+
}
|
1238
|
+
};
|
1239
|
+
}
|
1240
|
+
render() {
|
1241
|
+
const {
|
1242
|
+
size,
|
1243
|
+
src,
|
1244
|
+
text,
|
1245
|
+
className,
|
1246
|
+
icon,
|
1247
|
+
iconRatio,
|
1248
|
+
iconPosition,
|
1249
|
+
srcSet,
|
1250
|
+
alt,
|
1251
|
+
onClick,
|
1252
|
+
onIconClick,
|
1253
|
+
"data-element-name": dataElementName
|
1254
|
+
} = this.props;
|
1255
|
+
const { isError } = this.state;
|
1256
|
+
const avatarSize = typeof size === "number" ? size : avatarSizeBySize[size];
|
1257
|
+
const iconSize = typeof size === "number" ? avatarSize * iconRatio : iconSizeBySize[size];
|
1258
|
+
const sizedIcon = icon && React2.cloneElement(icon, { size: iconSize });
|
1259
|
+
return /* @__PURE__ */ React2.createElement(Container, {
|
1260
|
+
onClick,
|
1261
|
+
size: avatarSize,
|
1262
|
+
className,
|
1263
|
+
"data-element-name": dataElementName
|
1264
|
+
}, src && !isError ? /* @__PURE__ */ React2.createElement(AvatarImage, {
|
1265
|
+
src,
|
1266
|
+
srcSet,
|
1267
|
+
alt,
|
1268
|
+
onError: this.handleImageError
|
1269
|
+
}) : text && /* @__PURE__ */ React2.createElement(TextWrapper, null, text.substr(0, 2).toUpperCase()), sizedIcon && /* @__PURE__ */ React2.createElement(IconWrapper, {
|
1270
|
+
position: iconPosition,
|
1271
|
+
onClick: onIconClick
|
1272
|
+
}, sizedIcon));
|
1273
|
+
}
|
1274
|
+
};
|
1275
|
+
Avatar.defaultProps = {
|
1276
|
+
size: AvatarSize.MEDIUM,
|
1277
|
+
iconRatio: 0.55,
|
1278
|
+
iconPosition: Position.BOTTOM_RIGHT
|
1279
|
+
};
|
1280
|
+
var iconPositionByPosition = {
|
1281
|
+
[Position.BOTTOM]: Ce`
|
1282
|
+
bottom: -2px;
|
1283
|
+
right: 50%;
|
1284
|
+
transform: translateX(50%);
|
1285
|
+
`,
|
1286
|
+
[Position.BOTTOM_RIGHT]: Ce`
|
1287
|
+
bottom: -2px;
|
1288
|
+
right: -2px;
|
1289
|
+
`,
|
1290
|
+
[Position.BOTTOM_LEFT]: Ce`
|
1291
|
+
bottom: -2px;
|
1292
|
+
left: -2px;
|
1293
|
+
`,
|
1294
|
+
[Position.TOP]: Ce`
|
1295
|
+
top: -2px;
|
1296
|
+
right: 50%;
|
1297
|
+
transform: translateX(50%);
|
1298
|
+
`,
|
1299
|
+
[Position.TOP_RIGHT]: Ce`
|
1300
|
+
top: -2px;
|
1301
|
+
right: -2px;
|
1302
|
+
`,
|
1303
|
+
[Position.TOP_LEFT]: Ce`
|
1304
|
+
top: -2px;
|
1305
|
+
left: -2px;
|
1306
|
+
`,
|
1307
|
+
[Position.LEFT]: Ce`
|
1308
|
+
bottom: 50%;
|
1309
|
+
left: -2px;
|
1310
|
+
transform: translateY(50%);
|
1311
|
+
`,
|
1312
|
+
[Position.RIGHT]: Ce`
|
1313
|
+
bottom: 50%;
|
1314
|
+
right: -2px;
|
1315
|
+
transform: translateY(50%);
|
1316
|
+
`
|
1317
|
+
};
|
1318
|
+
var avatarSizeBySize = {
|
1319
|
+
[AvatarSize.LARGE]: 40,
|
1320
|
+
[AvatarSize.MEDIUM]: 24,
|
1321
|
+
[AvatarSize.SMALL]: 18
|
1322
|
+
};
|
1323
|
+
var iconSizeBySize = {
|
1324
|
+
[AvatarSize.LARGE]: 20,
|
1325
|
+
[AvatarSize.MEDIUM]: 16,
|
1326
|
+
[AvatarSize.SMALL]: 12
|
1327
|
+
};
|
1328
|
+
var Container = styled_components_browser_esm_default.span`
|
1329
|
+
display: inline-block;
|
1330
|
+
position: relative;
|
1331
|
+
${(props) => Ce`
|
1332
|
+
width: ${props.size}px;
|
1333
|
+
height: ${props.size}px;
|
1334
|
+
`};
|
1335
|
+
border-radius: 50%;
|
1336
|
+
background: ${gray100};
|
1337
|
+
text-align: center;
|
1338
|
+
vertical-align: top;
|
1339
|
+
`;
|
1340
|
+
var AvatarImage = styled_components_browser_esm_default.img`
|
1341
|
+
width: 100%;
|
1342
|
+
border-radius: 50%;
|
1343
|
+
height: 100%;
|
1344
|
+
display: block;
|
1345
|
+
object-fit: cover;
|
1346
|
+
`;
|
1347
|
+
var TextWrapper = styled_components_browser_esm_default.span`
|
1348
|
+
font-size: 13px;
|
1349
|
+
text-align: center;
|
1350
|
+
`;
|
1351
|
+
var IconWrapper = styled_components_browser_esm_default.div`
|
1352
|
+
display: flex;
|
1353
|
+
position: absolute;
|
1354
|
+
z-index: 0;
|
1355
|
+
${(props) => iconPositionByPosition[props.position]}
|
1356
|
+
`;
|
1357
|
+
|
1358
|
+
// libs/shared/ui-system/src/lib/Chip/InputChip/InputChip.tsx
|
1359
|
+
import { propVariant, system } from "../../../core/index.js";
|
1360
|
+
import { Box } from "../../../private/Box/index.js";
|
1361
|
+
import { Action } from "../../Action/index.js";
|
1362
|
+
import { Icon } from "../../Icon/index.js";
|
1363
|
+
import { HStack } from "../../Layout/HStack/index.js";
|
1364
|
+
import { Space } from "../../Space/index.js";
|
1365
|
+
import { Body } from "../../Typography/Body/index.js";
|
1366
|
+
var InputChip = system()(propVariant({
|
1367
|
+
prop: "size",
|
1368
|
+
variants: {
|
1369
|
+
sm: {
|
1370
|
+
iconSize: 12,
|
1371
|
+
TextComponent: (props) => /* @__PURE__ */ React.createElement(Body, __spreadProps(__spreadValues({}, props), {
|
1372
|
+
level: 5,
|
1373
|
+
color: "gray.900",
|
1374
|
+
weight: "medium"
|
1375
|
+
})),
|
1376
|
+
paddingX: 6,
|
1377
|
+
paddingY: 6,
|
1378
|
+
avatarSize: 16,
|
1379
|
+
horizontalSpacing: 4
|
1380
|
+
},
|
1381
|
+
md: {
|
1382
|
+
iconSize: 16,
|
1383
|
+
TextComponent: (props) => /* @__PURE__ */ React.createElement(Body, __spreadProps(__spreadValues({}, props), {
|
1384
|
+
level: 2,
|
1385
|
+
color: "gray.900",
|
1386
|
+
weight: "medium"
|
1387
|
+
})),
|
1388
|
+
paddingX: 8,
|
1389
|
+
paddingY: 8,
|
1390
|
+
avatarSize: 22,
|
1391
|
+
horizontalSpacing: 6
|
1392
|
+
}
|
1393
|
+
},
|
1394
|
+
skipForward: true
|
1395
|
+
}))((_a) => {
|
1396
|
+
var _b = _a, {
|
1397
|
+
children,
|
1398
|
+
onDelete,
|
1399
|
+
horizontalSpacing,
|
1400
|
+
avatarSize,
|
1401
|
+
IconComponent,
|
1402
|
+
avatarSrc,
|
1403
|
+
iconSize,
|
1404
|
+
TextComponent
|
1405
|
+
} = _b, restProps = __objRest(_b, [
|
1406
|
+
"children",
|
1407
|
+
"onDelete",
|
1408
|
+
"horizontalSpacing",
|
1409
|
+
"avatarSize",
|
1410
|
+
"IconComponent",
|
1411
|
+
"avatarSrc",
|
1412
|
+
"iconSize",
|
1413
|
+
"TextComponent"
|
1414
|
+
]);
|
1415
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadProps(__spreadValues({}, restProps), {
|
1416
|
+
display: "inline-flex",
|
1417
|
+
backgroundColor: "gray.100",
|
1418
|
+
borderWidth: 1,
|
1419
|
+
borderStyle: "solid",
|
1420
|
+
borderColor: "gray.300",
|
1421
|
+
borderRadius: 24
|
1422
|
+
}), /* @__PURE__ */ React.createElement(HStack, {
|
1423
|
+
alignment: "center"
|
1424
|
+
}, IconComponent && /* @__PURE__ */ React.createElement(IconComponent, {
|
1425
|
+
fill: "gray.900",
|
1426
|
+
size: iconSize
|
1427
|
+
}), avatarSrc && /* @__PURE__ */ React.createElement(Avatar, {
|
1428
|
+
src: avatarSrc,
|
1429
|
+
size: avatarSize
|
1430
|
+
}), /* @__PURE__ */ React.createElement(Space, {
|
1431
|
+
width: horizontalSpacing
|
1432
|
+
}), /* @__PURE__ */ React.createElement(TextComponent, null, children), /* @__PURE__ */ React.createElement(Space, {
|
1433
|
+
width: horizontalSpacing
|
1434
|
+
}), onDelete && /* @__PURE__ */ React.createElement(Action, {
|
1435
|
+
onClick: onDelete
|
1436
|
+
}, /* @__PURE__ */ React.createElement(Icon.Fill.Close, {
|
1437
|
+
fill: "gray.900",
|
1438
|
+
size: iconSize
|
1439
|
+
}))));
|
1440
|
+
});
|
1441
|
+
export {
|
1442
|
+
InputChip
|
1443
|
+
};
|