@class101/cdn-ui-system 0.0.4 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/@types/image.d.js +6 -2
- package/@types/theme.d.js +6 -3
- package/chunk-2VS4JN2V.js +254 -0
- package/chunk-44GVNF2V.js +39 -0
- package/chunk-5UMHOQ7R.js +38 -0
- package/chunk-7BJXCATJ.js +959 -0
- package/chunk-AXJOQSVO.js +84 -0
- package/chunk-AY54FCVA.js +19 -0
- package/chunk-CPDZ2HQZ.js +38 -0
- package/chunk-E2KIAABB.js +217 -0
- package/chunk-F522NW23.js +622 -0
- package/chunk-FRH3NN2M.js +38 -0
- package/chunk-FRNHAL35.js +48 -0
- package/chunk-FTDRDLT4.js +187 -0
- package/chunk-IKYIYCM6.js +5428 -0
- package/chunk-IMWQE6G2.js +182 -0
- package/chunk-K4FOIOQK.js +43 -0
- package/chunk-K4YVFYII.js +462 -0
- package/chunk-KBR5BGSG.js +328 -0
- package/chunk-LVICGF6E.js +49 -0
- package/chunk-QN5Q5NTF.js +19 -0
- package/chunk-RGF42JSA.js +40 -0
- package/chunk-UAWCTQGC.js +1791 -0
- package/chunk-UMKGAET2.js +63 -0
- package/contexts/ImageContext/ImageContext.js +4 -2
- package/contexts/ImageContext/index.js +4 -2
- package/contexts/LinkContext/LinkContext.js +4 -2
- package/contexts/LinkContext/index.js +4 -2
- package/contexts/UiSystemProvider.js +9 -3
- package/core/colors/DarkModeColors.js +4 -2
- package/core/colors/LightModeColors.js +4 -2
- package/core/index.js +4 -2
- package/core/props/action.js +8 -3
- package/core/props/animator.js +8 -3
- package/core/props/background.js +8 -3
- package/core/props/border.js +12 -5
- package/core/props/color.js +8 -3
- package/core/props/flexbox.js +8 -3
- package/core/props/icon.js +8 -3
- package/core/props/image.js +9 -3
- package/core/props/index.js +14 -4
- package/core/props/layout.js +12 -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 +8 -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 +12 -5
- package/core/props/utils/getResponsiveValue.js +12 -6
- package/core/props/utils/skipForwardProps.js +8 -4
- package/core/props/video.js +9 -3
- package/core/theme/baseTheme.js +4 -2
- package/core/theme/defaultTheme.js +4 -2
- package/core/theme/signatureTheme.js +4 -2
- package/core/variants/baseVariant/baseVariant.js +4 -2
- package/core/variants/baseVariant/index.js +4 -2
- package/core/variants/propVariant/index.js +4 -2
- package/core/variants/propVariant/propVariant.js +4 -2
- package/core/variants/propVariant/propVariant.spec.js +4 -2
- package/core/variants/styleVariant/index.js +4 -2
- package/core/variants/styleVariant/styleVariant.js +10 -6
- package/core/variants/styleVariant/styleVariant.spec.js +4 -2
- package/core/variants/system/index.js +4 -2
- package/core/variants/system/system.js +12 -5
- package/hooks/useResponsiveValue/index.js +4 -2
- package/hooks/useResponsiveValue/useResponsiveValue.js +8 -3
- package/index.js +4 -2
- package/lib/Accordion/Accordion.js +5 -2
- package/lib/Accordion/index.js +4 -2
- package/lib/Action/Action.js +8 -7
- package/lib/Action/index.js +4 -2
- package/lib/Alert/Alert.js +5 -2
- package/lib/Alert/index.js +4 -2
- package/lib/Animation/Animator/Animator.js +8 -7
- package/lib/Animation/Animator/Animator.stories.js +9 -3
- package/lib/Animation/Animator/index.js +4 -2
- package/lib/Animation/FadeAnimation/FadeAnimation.js +9 -3
- package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +5 -2
- package/lib/Animation/FadeAnimation/index.js +4 -2
- package/lib/Animation/RotateAnimation/RotateAnimation.js +9 -3
- package/lib/Animation/RotateAnimation/index.js +4 -2
- package/lib/Animation/SlideAnimation/SlideAnimation.js +9 -3
- package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +5 -2
- package/lib/Animation/SlideAnimation/index.js +4 -2
- package/lib/Animation/Transition/Transition.js +5 -2
- package/lib/Animation/Transition/Transition.stories.js +11 -4
- package/lib/Animation/Transition/index.js +4 -2
- package/lib/Avatar/Avatar.js +15 -5
- package/lib/Avatar/index.js +4 -2
- package/lib/Backdrop/Backdrop.js +5 -2
- package/lib/Backdrop/index.js +4 -2
- package/lib/Background/Background.js +8 -7
- package/lib/Background/Background.stories.js +5 -2
- package/lib/Background/index.js +4 -2
- package/lib/BreadCrumb/BreadCrumb.js +13 -5
- package/lib/BreadCrumb/index.js +4 -2
- package/lib/Button/Button/Button.js +5 -2
- package/lib/Button/Button/index.js +4 -2
- package/lib/Button/ButtonIcon/ButtonIcon.js +15 -6
- package/lib/Button/ButtonIcon/index.js +4 -2
- package/lib/Button/ContainedButton/ContainedButton.js +5 -2
- package/lib/Button/ContainedButton/index.js +4 -2
- package/lib/Button/IconButton/IconButton.js +5 -2
- package/lib/Button/IconButton/index.js +4 -2
- package/lib/Button/TextButton/TextButton.js +15 -5
- package/lib/Button/TextButton/TextButton.stories.js +5 -55
- package/lib/Button/TextButton/index.js +4 -2
- package/lib/ConditionalWrapper/ConditionalWrapper.js +5 -2
- package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +5 -2
- package/lib/ConditionalWrapper/index.js +4 -2
- package/lib/Divider/Divider.js +8 -7
- package/lib/Divider/Divider.stories.js +5 -2
- package/lib/Divider/index.js +4 -2
- package/lib/Elevation/Elevation.js +14 -5
- package/lib/Elevation/Elevation.stories.js +5 -2
- package/lib/Elevation/index.js +4 -2
- package/lib/Form/CheckBox/CheckBox.js +11 -4
- package/lib/Form/CheckBox/index.js +4 -2
- package/lib/Form/CheckBoxField/CheckBoxField.js +11 -4
- package/lib/Form/CheckBoxField/index.js +4 -2
- package/lib/Form/Description/Description.js +15 -5
- package/lib/Form/Description/Description.stories.js +5 -2
- package/lib/Form/Description/index.js +4 -2
- package/lib/Form/FormField/FormField.js +5 -2
- package/lib/Form/FormField/FormField.stories.js +5 -32
- package/lib/Form/FormField/index.js +4 -2
- package/lib/Form/HiddenInput/HiddenInput.js +11 -4
- package/lib/Form/HiddenInput/index.js +4 -2
- package/lib/Form/InlineTextLabel/InlineTextLabel.js +5 -2
- package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +11 -4
- package/lib/Form/InlineTextLabel/index.js +4 -2
- package/lib/Form/Input/Input.js +15 -5
- package/lib/Form/Input/Input.stories.js +5 -30
- package/lib/Form/Input/index.js +4 -2
- package/lib/Form/Label/Label.js +5 -2
- package/lib/Form/Label/Label.stories.js +17 -6
- package/lib/Form/Label/index.js +4 -2
- package/lib/Form/Range/Range.js +8 -7
- package/lib/Form/Range/index.js +4 -2
- package/lib/Form/Select/Select.js +16 -6
- package/lib/Form/Select/Select.stories.js +5 -41
- package/lib/Form/Select/index.js +4 -2
- package/lib/Form/SelectField/SelectField.js +5 -2
- package/lib/Form/SelectField/SelectField.stories.js +14 -76
- package/lib/Form/SelectField/index.js +4 -2
- package/lib/Form/TextArea/TextArea.js +5 -2
- package/lib/Form/TextArea/index.js +4 -2
- package/lib/Form/TextField/TextField.js +5 -2
- package/lib/Form/TextField/TextField.stories.js +14 -65
- package/lib/Form/TextField/index.js +4 -2
- package/lib/Form/TextLabel/TextLabel.js +5 -2
- package/lib/Form/TextLabel/TextLabel.stories.js +5 -2
- package/lib/Form/TextLabel/index.js +4 -2
- package/lib/Frame/Frame.js +5 -2
- package/lib/Frame/index.js +4 -2
- package/lib/GlobalStyle/GlobalStyle.js +10 -3
- package/lib/GlobalStyle/index.js +4 -2
- package/lib/GridList/GridList.js +18 -10
- package/lib/GridList/__mocks__/index.js +4 -2
- package/lib/GridList/index.js +4 -2
- package/lib/Highlight/Highlight.js +5 -2
- package/lib/Highlight/Highlight.stories.js +5 -2
- package/lib/Highlight/index.js +4 -2
- package/lib/HtmlContentStyle/HtmlContentStyle.js +10 -4
- package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +5 -2
- package/lib/HtmlContentStyle/index.js +4 -2
- package/lib/Icon/Icon.js +4 -2
- package/lib/Icon/fill/Add.js +5 -2
- package/lib/Icon/fill/AddCircle.js +5 -2
- package/lib/Icon/fill/Alert.js +5 -2
- package/lib/Icon/fill/AlertCircle.js +5 -2
- package/lib/Icon/fill/Analysis.js +5 -2
- package/lib/Icon/fill/AppDownloadCircle.js +5 -2
- package/lib/Icon/fill/AppleCircle.js +5 -2
- package/lib/Icon/fill/Archive.js +5 -2
- package/lib/Icon/fill/ArrowDown.js +5 -2
- package/lib/Icon/fill/ArrowLeft.js +5 -2
- package/lib/Icon/fill/ArrowRight.js +5 -2
- package/lib/Icon/fill/ArrowUp.js +5 -2
- package/lib/Icon/fill/Badge.js +5 -2
- package/lib/Icon/fill/Bell.js +5 -2
- package/lib/Icon/fill/BellOff.js +5 -2
- package/lib/Icon/fill/Bold.js +5 -2
- package/lib/Icon/fill/Bookmark.js +5 -2
- package/lib/Icon/fill/Camera.js +5 -2
- package/lib/Icon/fill/Canlendar.js +5 -2
- package/lib/Icon/fill/Caption.js +5 -2
- package/lib/Icon/fill/Check.js +5 -2
- package/lib/Icon/fill/CheckCircle.js +5 -2
- package/lib/Icon/fill/CheckboxIndeterminated.js +5 -2
- package/lib/Icon/fill/CheckboxOff.js +5 -2
- package/lib/Icon/fill/CheckboxOn.js +5 -2
- package/lib/Icon/fill/ChevronDown.js +5 -2
- package/lib/Icon/fill/ChevronLeft.js +5 -2
- package/lib/Icon/fill/ChevronRight.js +5 -2
- package/lib/Icon/fill/ChevronUp.js +5 -2
- package/lib/Icon/fill/Clap.js +5 -2
- package/lib/Icon/fill/ClearStyle.js +5 -2
- package/lib/Icon/fill/Clip.js +5 -2
- package/lib/Icon/fill/Clock.js +5 -2
- package/lib/Icon/fill/Close.js +5 -2
- package/lib/Icon/fill/CloseCircle.js +5 -2
- package/lib/Icon/fill/Comment.js +5 -2
- package/lib/Icon/fill/Compass.js +5 -2
- package/lib/Icon/fill/Confetti.js +5 -2
- package/lib/Icon/fill/Contents.js +5 -2
- package/lib/Icon/fill/Copy.js +5 -2
- package/lib/Icon/fill/Coupon.js +5 -2
- package/lib/Icon/fill/CreditCard.js +5 -2
- package/lib/Icon/fill/Crop.js +5 -2
- package/lib/Icon/fill/Crown.js +5 -2
- package/lib/Icon/fill/DepositPassbook.js +5 -2
- package/lib/Icon/fill/Design.js +5 -2
- package/lib/Icon/fill/Development.js +5 -2
- package/lib/Icon/fill/DisclosureDown.js +5 -2
- package/lib/Icon/fill/DisclosureUp.js +5 -2
- package/lib/Icon/fill/Dislike.js +5 -2
- package/lib/Icon/fill/Divider.js +5 -2
- package/lib/Icon/fill/Download.js +5 -2
- package/lib/Icon/fill/DropDown.js +5 -2
- package/lib/Icon/fill/DropUp.js +5 -2
- package/lib/Icon/fill/Earybird.js +5 -2
- package/lib/Icon/fill/Edit.js +5 -2
- package/lib/Icon/fill/EyeOff.js +5 -2
- package/lib/Icon/fill/EyeOn.js +5 -2
- package/lib/Icon/fill/FacebookCircle.js +5 -2
- package/lib/Icon/fill/Filter.js +5 -2
- package/lib/Icon/fill/FullScreen.js +5 -2
- package/lib/Icon/fill/FullScreenExit.js +5 -2
- package/lib/Icon/fill/Gear.js +5 -2
- package/lib/Icon/fill/Ghost.js +5 -2
- package/lib/Icon/fill/Gift.js +5 -2
- package/lib/Icon/fill/Groove.js +5 -2
- package/lib/Icon/fill/Hashtag.js +5 -2
- package/lib/Icon/fill/Heart.js +5 -2
- package/lib/Icon/fill/HeartFull.js +5 -2
- package/lib/Icon/fill/HelpCircle.js +5 -2
- package/lib/Icon/fill/Home.js +5 -2
- package/lib/Icon/fill/Hot.js +5 -2
- package/lib/Icon/fill/InfoCircle.js +5 -2
- package/lib/Icon/fill/InstagramCircle.js +5 -2
- package/lib/Icon/fill/Laptop.js +5 -2
- package/lib/Icon/fill/Like.js +5 -2
- package/lib/Icon/fill/Link.js +5 -2
- package/lib/Icon/fill/LinkOutside.js +5 -2
- package/lib/Icon/fill/ListBullet.js +5 -2
- package/lib/Icon/fill/ListNumber.js +5 -2
- package/lib/Icon/fill/Location.js +5 -2
- package/lib/Icon/fill/LocationCurrent.js +5 -2
- package/lib/Icon/fill/Lock.js +5 -2
- package/lib/Icon/fill/LockOff.js +5 -2
- package/lib/Icon/fill/Logout.js +5 -2
- package/lib/Icon/fill/Menu.js +5 -2
- package/lib/Icon/fill/Message.js +5 -2
- package/lib/Icon/fill/Mic.js +5 -2
- package/lib/Icon/fill/Minus.js +5 -2
- package/lib/Icon/fill/MinusCircle.js +5 -2
- package/lib/Icon/fill/Mobile.js +5 -2
- package/lib/Icon/fill/Monitor.js +5 -2
- package/lib/Icon/fill/MoreHorizontal.js +5 -2
- package/lib/Icon/fill/MoreVertical.js +5 -2
- package/lib/Icon/fill/NaverCircle.js +5 -2
- package/lib/Icon/fill/Notice.js +5 -2
- package/lib/Icon/fill/Oa.js +5 -2
- package/lib/Icon/fill/Paper1.js +5 -2
- package/lib/Icon/fill/Paper2.js +5 -2
- package/lib/Icon/fill/Paper3.js +5 -2
- package/lib/Icon/fill/Person.js +5 -2
- package/lib/Icon/fill/Phone.js +5 -2
- package/lib/Icon/fill/Photo.js +5 -2
- package/lib/Icon/fill/PhotoAdd.js +5 -2
- package/lib/Icon/fill/PhotoDouble.js +5 -2
- package/lib/Icon/fill/Pin.js +5 -2
- package/lib/Icon/fill/Pip.js +5 -2
- package/lib/Icon/fill/Play.js +5 -2
- package/lib/Icon/fill/PlayBackA.js +5 -2
- package/lib/Icon/fill/PlayCircle.js +5 -2
- package/lib/Icon/fill/PlayFast.js +5 -2
- package/lib/Icon/fill/PlayFast10Sec.js +5 -2
- package/lib/Icon/fill/PlayFast15Sec.js +5 -2
- package/lib/Icon/fill/PlayFast5Sec.js +5 -2
- package/lib/Icon/fill/PlayNext.js +5 -2
- package/lib/Icon/fill/PlayPause.js +5 -2
- package/lib/Icon/fill/PlayPrev.js +5 -2
- package/lib/Icon/fill/PlayRewind10Sec.js +5 -2
- package/lib/Icon/fill/PlayRewind15Sec.js +5 -2
- package/lib/Icon/fill/PlayRewind5Sec.js +5 -2
- package/lib/Icon/fill/PlaySpeedX025.js +5 -2
- package/lib/Icon/fill/PlaySpeedX05.js +5 -2
- package/lib/Icon/fill/PlaySpeedX1.js +5 -2
- package/lib/Icon/fill/PlaySpeedX15.js +5 -2
- package/lib/Icon/fill/PlaySpeedX2.js +5 -2
- package/lib/Icon/fill/PlaystoreCircle.js +5 -2
- package/lib/Icon/fill/PointCircle.js +5 -2
- package/lib/Icon/fill/Project.js +5 -2
- package/lib/Icon/fill/Quote.js +5 -2
- package/lib/Icon/fill/QuoteReverse.js +5 -2
- package/lib/Icon/fill/Receipt.js +5 -2
- package/lib/Icon/fill/Repeat.js +5 -2
- package/lib/Icon/fill/Replay.js +5 -2
- package/lib/Icon/fill/Reply.js +5 -2
- package/lib/Icon/fill/Report.js +5 -2
- package/lib/Icon/fill/Rocket.js +5 -2
- package/lib/Icon/fill/RotateClockwise.js +5 -2
- package/lib/Icon/fill/Sad.js +5 -2
- package/lib/Icon/fill/Search.js +5 -2
- package/lib/Icon/fill/Send.js +5 -2
- package/lib/Icon/fill/Send2.js +5 -2
- package/lib/Icon/fill/Serious.js +5 -2
- package/lib/Icon/fill/Share.js +5 -2
- package/lib/Icon/fill/Sheild.js +5 -2
- package/lib/Icon/fill/ShippingTruck.js +5 -2
- package/lib/Icon/fill/Smile.js +5 -2
- package/lib/Icon/fill/SocialMedia.js +5 -2
- package/lib/Icon/fill/Sorting.js +5 -2
- package/lib/Icon/fill/Square.js +5 -2
- package/lib/Icon/fill/Star.js +5 -2
- package/lib/Icon/fill/StarFull.js +5 -2
- package/lib/Icon/fill/StarHalf.js +5 -2
- package/lib/Icon/fill/Stock.js +5 -2
- package/lib/Icon/fill/Store.js +5 -2
- package/lib/Icon/fill/Subtitle.js +5 -2
- package/lib/Icon/fill/TalkHelp.js +5 -2
- package/lib/Icon/fill/TextH1.js +5 -2
- package/lib/Icon/fill/TextH2.js +5 -2
- package/lib/Icon/fill/TextH3.js +5 -2
- package/lib/Icon/fill/ThunderCircle.js +5 -2
- package/lib/Icon/fill/Timer.js +5 -2
- package/lib/Icon/fill/ToggleOff.js +5 -2
- package/lib/Icon/fill/ToggleOn.js +5 -2
- package/lib/Icon/fill/ToteBag.js +5 -2
- package/lib/Icon/fill/Trash.js +5 -2
- package/lib/Icon/fill/TwitterCircle.js +5 -2
- package/lib/Icon/fill/Undo.js +5 -2
- package/lib/Icon/fill/Video.js +5 -2
- package/lib/Icon/fill/Volume.js +5 -2
- package/lib/Icon/fill/VolumeMute.js +5 -2
- package/lib/Icon/fill/Web.js +5 -2
- package/lib/Icon/fill/Won.js +5 -2
- package/lib/Icon/fill/WonBadge.js +5 -2
- package/lib/Icon/fill/WonCircle.js +5 -2
- package/lib/Icon/fill/Write.js +5 -2
- package/lib/Icon/fill/YoutubeCircle.js +5 -2
- package/lib/Icon/fill/index.js +4 -2
- package/lib/Icon/index.js +4 -2
- package/lib/Icon/regular/Add.js +5 -2
- package/lib/Icon/regular/AddCircle.js +5 -2
- package/lib/Icon/regular/Alert.js +5 -2
- package/lib/Icon/regular/AlertCircle.js +5 -2
- package/lib/Icon/regular/Analysis.js +5 -2
- package/lib/Icon/regular/AppDownloadCircle.js +5 -2
- package/lib/Icon/regular/AppleCircle.js +5 -2
- package/lib/Icon/regular/Archive.js +5 -2
- package/lib/Icon/regular/ArrowDown.js +5 -2
- package/lib/Icon/regular/ArrowLeft.js +5 -2
- package/lib/Icon/regular/ArrowRight.js +5 -2
- package/lib/Icon/regular/ArrowUp.js +5 -2
- package/lib/Icon/regular/Badge.js +5 -2
- package/lib/Icon/regular/Bell.js +5 -2
- package/lib/Icon/regular/BellOff.js +5 -2
- package/lib/Icon/regular/Bold.js +5 -2
- package/lib/Icon/regular/Bookmark.js +5 -2
- package/lib/Icon/regular/Camera.js +5 -2
- package/lib/Icon/regular/Canlendar.js +5 -2
- package/lib/Icon/regular/Caption.js +5 -2
- package/lib/Icon/regular/Check.js +5 -2
- package/lib/Icon/regular/CheckCircle.js +5 -2
- package/lib/Icon/regular/CheckboxIndeterminated.js +5 -2
- package/lib/Icon/regular/CheckboxOff.js +5 -2
- package/lib/Icon/regular/CheckboxOn.js +5 -2
- package/lib/Icon/regular/ChevronDown.js +5 -2
- package/lib/Icon/regular/ChevronLeft.js +5 -2
- package/lib/Icon/regular/ChevronRight.js +5 -2
- package/lib/Icon/regular/ChevronUp.js +5 -2
- package/lib/Icon/regular/Clap.js +5 -2
- package/lib/Icon/regular/ClearStyle.js +5 -2
- package/lib/Icon/regular/Clip.js +5 -2
- package/lib/Icon/regular/Clock.js +5 -2
- package/lib/Icon/regular/Close.js +5 -2
- package/lib/Icon/regular/CloseCircle.js +5 -2
- package/lib/Icon/regular/Comment.js +5 -2
- package/lib/Icon/regular/Compass.js +5 -2
- package/lib/Icon/regular/Confetti.js +5 -2
- package/lib/Icon/regular/Contents.js +5 -2
- package/lib/Icon/regular/Copy.js +5 -2
- package/lib/Icon/regular/Coupon.js +5 -2
- package/lib/Icon/regular/CreditCard.js +5 -2
- package/lib/Icon/regular/Crop.js +5 -2
- package/lib/Icon/regular/Crown.js +5 -2
- package/lib/Icon/regular/DepositPassbook.js +5 -2
- package/lib/Icon/regular/Design.js +5 -2
- package/lib/Icon/regular/Development.js +5 -2
- package/lib/Icon/regular/DisclosureDown.js +5 -2
- package/lib/Icon/regular/DisclosureUp.js +5 -2
- package/lib/Icon/regular/Dislike.js +5 -2
- package/lib/Icon/regular/Divider.js +5 -2
- package/lib/Icon/regular/Download.js +5 -2
- package/lib/Icon/regular/DropDown.js +5 -2
- package/lib/Icon/regular/DropUp.js +5 -2
- package/lib/Icon/regular/Earybird.js +5 -2
- package/lib/Icon/regular/Edit.js +5 -2
- package/lib/Icon/regular/EyeOff.js +5 -2
- package/lib/Icon/regular/EyeOn.js +5 -2
- package/lib/Icon/regular/FacebookCircle.js +5 -2
- package/lib/Icon/regular/Filter.js +5 -2
- package/lib/Icon/regular/FullScreen.js +5 -2
- package/lib/Icon/regular/FullScreenExit.js +5 -2
- package/lib/Icon/regular/Gear.js +5 -2
- package/lib/Icon/regular/Ghost.js +5 -2
- package/lib/Icon/regular/Gift.js +5 -2
- package/lib/Icon/regular/Groove.js +5 -2
- package/lib/Icon/regular/Hashtag.js +5 -2
- package/lib/Icon/regular/Heart.js +5 -2
- package/lib/Icon/regular/HeartFull.js +5 -2
- package/lib/Icon/regular/HelpCircle.js +5 -2
- package/lib/Icon/regular/Home.js +5 -2
- package/lib/Icon/regular/Hot.js +5 -2
- package/lib/Icon/regular/InfoCircle.js +5 -2
- package/lib/Icon/regular/InstagramCircle.js +5 -2
- package/lib/Icon/regular/Laptop.js +5 -2
- package/lib/Icon/regular/Like.js +5 -2
- package/lib/Icon/regular/Link.js +5 -2
- package/lib/Icon/regular/LinkOutside.js +5 -2
- package/lib/Icon/regular/ListBullet.js +5 -2
- package/lib/Icon/regular/ListNumber.js +5 -2
- package/lib/Icon/regular/Location.js +5 -2
- package/lib/Icon/regular/LocationCurrent.js +5 -2
- package/lib/Icon/regular/Lock.js +5 -2
- package/lib/Icon/regular/LockOff.js +5 -2
- package/lib/Icon/regular/Logout.js +5 -2
- package/lib/Icon/regular/Menu.js +5 -2
- package/lib/Icon/regular/Message.js +5 -2
- package/lib/Icon/regular/Mic.js +5 -2
- package/lib/Icon/regular/Minus.js +5 -2
- package/lib/Icon/regular/MinusCircle.js +5 -2
- package/lib/Icon/regular/Mobile.js +5 -2
- package/lib/Icon/regular/Monitor.js +5 -2
- package/lib/Icon/regular/MoreHorizontal.js +5 -2
- package/lib/Icon/regular/MoreVertical.js +5 -2
- package/lib/Icon/regular/NaverCircle.js +5 -2
- package/lib/Icon/regular/Notice.js +5 -2
- package/lib/Icon/regular/Oa.js +5 -2
- package/lib/Icon/regular/Paper1.js +5 -2
- package/lib/Icon/regular/Paper2.js +5 -2
- package/lib/Icon/regular/Paper3.js +5 -2
- package/lib/Icon/regular/Person.js +5 -2
- package/lib/Icon/regular/Phone.js +5 -2
- package/lib/Icon/regular/Photo.js +5 -2
- package/lib/Icon/regular/PhotoAdd.js +5 -2
- package/lib/Icon/regular/PhotoDouble.js +5 -2
- package/lib/Icon/regular/Pin.js +5 -2
- package/lib/Icon/regular/Pip.js +5 -2
- package/lib/Icon/regular/Play.js +5 -2
- package/lib/Icon/regular/PlayBackA.js +5 -2
- package/lib/Icon/regular/PlayCircle.js +5 -2
- package/lib/Icon/regular/PlayFast.js +5 -2
- package/lib/Icon/regular/PlayFast10Sec.js +5 -2
- package/lib/Icon/regular/PlayFast15Sec.js +5 -2
- package/lib/Icon/regular/PlayFast5Sec.js +5 -2
- package/lib/Icon/regular/PlayNext.js +5 -2
- package/lib/Icon/regular/PlayPause.js +5 -2
- package/lib/Icon/regular/PlayPrev.js +5 -2
- package/lib/Icon/regular/PlayRewind10Sec.js +5 -2
- package/lib/Icon/regular/PlayRewind15Sec.js +5 -2
- package/lib/Icon/regular/PlayRewind5Sec.js +5 -2
- package/lib/Icon/regular/PlaySpeedX025.js +5 -2
- package/lib/Icon/regular/PlaySpeedX05.js +5 -2
- package/lib/Icon/regular/PlaySpeedX1.js +5 -2
- package/lib/Icon/regular/PlaySpeedX15.js +5 -2
- package/lib/Icon/regular/PlaySpeedX2.js +5 -2
- package/lib/Icon/regular/PlaystoreCircle.js +5 -2
- package/lib/Icon/regular/PointCircle.js +5 -2
- package/lib/Icon/regular/Project.js +5 -2
- package/lib/Icon/regular/Quote.js +5 -2
- package/lib/Icon/regular/QuoteReverse.js +5 -2
- package/lib/Icon/regular/Receipt.js +5 -2
- package/lib/Icon/regular/Repeat.js +5 -2
- package/lib/Icon/regular/Replay.js +5 -2
- package/lib/Icon/regular/Reply.js +5 -2
- package/lib/Icon/regular/Report.js +5 -2
- package/lib/Icon/regular/Rocket.js +5 -2
- package/lib/Icon/regular/RotateClockwise.js +5 -2
- package/lib/Icon/regular/Sad.js +5 -2
- package/lib/Icon/regular/Search.js +5 -2
- package/lib/Icon/regular/Send.js +5 -2
- package/lib/Icon/regular/Send2.js +5 -2
- package/lib/Icon/regular/Serious.js +5 -2
- package/lib/Icon/regular/Share.js +5 -2
- package/lib/Icon/regular/Sheild.js +5 -2
- package/lib/Icon/regular/ShippingTruck.js +5 -2
- package/lib/Icon/regular/Smile.js +5 -2
- package/lib/Icon/regular/SocialMedia.js +5 -2
- package/lib/Icon/regular/Sorting.js +5 -2
- package/lib/Icon/regular/Square.js +5 -2
- package/lib/Icon/regular/Star.js +5 -2
- package/lib/Icon/regular/StarFull.js +5 -2
- package/lib/Icon/regular/StarHalf.js +5 -2
- package/lib/Icon/regular/Stock.js +5 -2
- package/lib/Icon/regular/Store.js +5 -2
- package/lib/Icon/regular/Subtitle.js +5 -2
- package/lib/Icon/regular/TalkHelp.js +5 -2
- package/lib/Icon/regular/TextH1.js +5 -2
- package/lib/Icon/regular/TextH2.js +5 -2
- package/lib/Icon/regular/TextH3.js +5 -2
- package/lib/Icon/regular/ThunderCircle.js +5 -2
- package/lib/Icon/regular/Timer.js +5 -2
- package/lib/Icon/regular/ToggleOff.js +5 -2
- package/lib/Icon/regular/ToggleOn.js +5 -2
- package/lib/Icon/regular/ToteBag.js +5 -2
- package/lib/Icon/regular/Trash.js +5 -2
- package/lib/Icon/regular/TwitterCircle.js +5 -2
- package/lib/Icon/regular/Undo.js +5 -2
- package/lib/Icon/regular/Video.js +5 -2
- package/lib/Icon/regular/Volume.js +5 -2
- package/lib/Icon/regular/VolumeMute.js +5 -2
- package/lib/Icon/regular/Web.js +5 -2
- package/lib/Icon/regular/Won.js +5 -2
- package/lib/Icon/regular/WonBadge.js +5 -2
- package/lib/Icon/regular/WonCircle.js +5 -2
- package/lib/Icon/regular/Write.js +5 -2
- package/lib/Icon/regular/YoutubeCircle.js +5 -2
- package/lib/Icon/regular/index.js +4 -2
- package/lib/Icon/thin/Add.js +5 -2
- package/lib/Icon/thin/AddCircle.js +5 -2
- package/lib/Icon/thin/Alert.js +5 -2
- package/lib/Icon/thin/AlertCircle.js +5 -2
- package/lib/Icon/thin/Analysis.js +5 -2
- package/lib/Icon/thin/AppDownloadCircle.js +5 -2
- package/lib/Icon/thin/AppleCircle.js +5 -2
- package/lib/Icon/thin/Archive.js +5 -2
- package/lib/Icon/thin/ArrowDown.js +5 -2
- package/lib/Icon/thin/ArrowLeft.js +5 -2
- package/lib/Icon/thin/ArrowRight.js +5 -2
- package/lib/Icon/thin/ArrowUp.js +5 -2
- package/lib/Icon/thin/Badge.js +5 -2
- package/lib/Icon/thin/Bell.js +5 -2
- package/lib/Icon/thin/BellOff.js +5 -2
- package/lib/Icon/thin/Bold.js +5 -2
- package/lib/Icon/thin/Bookmark.js +5 -2
- package/lib/Icon/thin/Camera.js +5 -2
- package/lib/Icon/thin/Canlendar.js +5 -2
- package/lib/Icon/thin/Caption.js +5 -2
- package/lib/Icon/thin/Check.js +5 -2
- package/lib/Icon/thin/CheckCircle.js +5 -2
- package/lib/Icon/thin/CheckboxIndeterminated.js +5 -2
- package/lib/Icon/thin/CheckboxOff.js +5 -2
- package/lib/Icon/thin/CheckboxOn.js +5 -2
- package/lib/Icon/thin/ChevronDown.js +5 -2
- package/lib/Icon/thin/ChevronLeft.js +5 -2
- package/lib/Icon/thin/ChevronRight.js +5 -2
- package/lib/Icon/thin/ChevronUp.js +5 -2
- package/lib/Icon/thin/Clap.js +5 -2
- package/lib/Icon/thin/ClearStyle.js +5 -2
- package/lib/Icon/thin/Clip.js +5 -2
- package/lib/Icon/thin/Clock.js +5 -2
- package/lib/Icon/thin/Close.js +5 -2
- package/lib/Icon/thin/CloseCircle.js +5 -2
- package/lib/Icon/thin/Comment.js +5 -2
- package/lib/Icon/thin/Compass.js +5 -2
- package/lib/Icon/thin/Confetti.js +5 -2
- package/lib/Icon/thin/Contents.js +5 -2
- package/lib/Icon/thin/Copy.js +5 -2
- package/lib/Icon/thin/Coupon.js +5 -2
- package/lib/Icon/thin/CreditCard.js +5 -2
- package/lib/Icon/thin/Crop.js +5 -2
- package/lib/Icon/thin/Crown.js +5 -2
- package/lib/Icon/thin/DepositPassbook.js +5 -2
- package/lib/Icon/thin/Design.js +5 -2
- package/lib/Icon/thin/Development.js +5 -2
- package/lib/Icon/thin/DisclosureDown.js +5 -2
- package/lib/Icon/thin/DisclosureUp.js +5 -2
- package/lib/Icon/thin/Dislike.js +5 -2
- package/lib/Icon/thin/Divider.js +5 -2
- package/lib/Icon/thin/Download.js +5 -2
- package/lib/Icon/thin/DropDown.js +5 -2
- package/lib/Icon/thin/DropUp.js +5 -2
- package/lib/Icon/thin/Earybird.js +5 -2
- package/lib/Icon/thin/Edit.js +5 -2
- package/lib/Icon/thin/EyeOff.js +5 -2
- package/lib/Icon/thin/EyeOn.js +5 -2
- package/lib/Icon/thin/FacebookCircle.js +5 -2
- package/lib/Icon/thin/Filter.js +5 -2
- package/lib/Icon/thin/FullScreen.js +5 -2
- package/lib/Icon/thin/FullScreenExit.js +5 -2
- package/lib/Icon/thin/Gear.js +5 -2
- package/lib/Icon/thin/Ghost.js +5 -2
- package/lib/Icon/thin/Gift.js +5 -2
- package/lib/Icon/thin/Groove.js +5 -2
- package/lib/Icon/thin/Hashtag.js +5 -2
- package/lib/Icon/thin/Heart.js +5 -2
- package/lib/Icon/thin/HeartFull.js +5 -2
- package/lib/Icon/thin/HelpCircle.js +5 -2
- package/lib/Icon/thin/Home.js +5 -2
- package/lib/Icon/thin/Hot.js +5 -2
- package/lib/Icon/thin/InfoCircle.js +5 -2
- package/lib/Icon/thin/InstagramCircle.js +5 -2
- package/lib/Icon/thin/Laptop.js +5 -2
- package/lib/Icon/thin/Like.js +5 -2
- package/lib/Icon/thin/Link.js +5 -2
- package/lib/Icon/thin/LinkOutside.js +5 -2
- package/lib/Icon/thin/ListBullet.js +5 -2
- package/lib/Icon/thin/ListNumber.js +5 -2
- package/lib/Icon/thin/Location.js +5 -2
- package/lib/Icon/thin/LocationCurrent.js +5 -2
- package/lib/Icon/thin/Lock.js +5 -2
- package/lib/Icon/thin/LockOff.js +5 -2
- package/lib/Icon/thin/Logout.js +5 -2
- package/lib/Icon/thin/Menu.js +5 -2
- package/lib/Icon/thin/Message.js +5 -2
- package/lib/Icon/thin/Mic.js +5 -2
- package/lib/Icon/thin/Minus.js +5 -2
- package/lib/Icon/thin/MinusCircle.js +5 -2
- package/lib/Icon/thin/Mobile.js +5 -2
- package/lib/Icon/thin/Monitor.js +5 -2
- package/lib/Icon/thin/MoreHorizontal.js +5 -2
- package/lib/Icon/thin/MoreVertical.js +5 -2
- package/lib/Icon/thin/NaverCircle.js +5 -2
- package/lib/Icon/thin/Notice.js +5 -2
- package/lib/Icon/thin/Oa.js +5 -2
- package/lib/Icon/thin/Paper1.js +5 -2
- package/lib/Icon/thin/Paper2.js +5 -2
- package/lib/Icon/thin/Paper3.js +5 -2
- package/lib/Icon/thin/Person.js +5 -2
- package/lib/Icon/thin/Phone.js +5 -2
- package/lib/Icon/thin/Photo.js +5 -2
- package/lib/Icon/thin/PhotoAdd.js +5 -2
- package/lib/Icon/thin/PhotoDouble.js +5 -2
- package/lib/Icon/thin/Pin.js +5 -2
- package/lib/Icon/thin/Pip.js +5 -2
- package/lib/Icon/thin/Play.js +5 -2
- package/lib/Icon/thin/PlayBackA.js +5 -2
- package/lib/Icon/thin/PlayCircle.js +5 -2
- package/lib/Icon/thin/PlayFast.js +5 -2
- package/lib/Icon/thin/PlayFast10Sec.js +5 -2
- package/lib/Icon/thin/PlayFast15Sec.js +5 -2
- package/lib/Icon/thin/PlayFast5Sec.js +5 -2
- package/lib/Icon/thin/PlayNext.js +5 -2
- package/lib/Icon/thin/PlayPause.js +5 -2
- package/lib/Icon/thin/PlayPrev.js +5 -2
- package/lib/Icon/thin/PlayRewind10Sec.js +5 -2
- package/lib/Icon/thin/PlayRewind15Sec.js +5 -2
- package/lib/Icon/thin/PlayRewind5Sec.js +5 -2
- package/lib/Icon/thin/PlaySpeedX025.js +5 -2
- package/lib/Icon/thin/PlaySpeedX05.js +5 -2
- package/lib/Icon/thin/PlaySpeedX1.js +5 -2
- package/lib/Icon/thin/PlaySpeedX15.js +5 -2
- package/lib/Icon/thin/PlaySpeedX2.js +5 -2
- package/lib/Icon/thin/PlaystoreCircle.js +5 -2
- package/lib/Icon/thin/PointCircle.js +5 -2
- package/lib/Icon/thin/Project.js +5 -2
- package/lib/Icon/thin/Quote.js +5 -2
- package/lib/Icon/thin/QuoteReverse.js +5 -2
- package/lib/Icon/thin/Receipt.js +5 -2
- package/lib/Icon/thin/Repeat.js +5 -2
- package/lib/Icon/thin/Replay.js +5 -2
- package/lib/Icon/thin/Reply.js +5 -2
- package/lib/Icon/thin/Report.js +5 -2
- package/lib/Icon/thin/Rocket.js +5 -2
- package/lib/Icon/thin/RotateClockwise.js +5 -2
- package/lib/Icon/thin/Sad.js +5 -2
- package/lib/Icon/thin/Search.js +5 -2
- package/lib/Icon/thin/Send.js +5 -2
- package/lib/Icon/thin/Send2.js +5 -2
- package/lib/Icon/thin/Serious.js +5 -2
- package/lib/Icon/thin/Share.js +5 -2
- package/lib/Icon/thin/Sheild.js +5 -2
- package/lib/Icon/thin/ShippingTruck.js +5 -2
- package/lib/Icon/thin/Smile.js +5 -2
- package/lib/Icon/thin/SocialMedia.js +5 -2
- package/lib/Icon/thin/Sorting.js +5 -2
- package/lib/Icon/thin/Square.js +5 -2
- package/lib/Icon/thin/Star.js +5 -2
- package/lib/Icon/thin/StarFull.js +5 -2
- package/lib/Icon/thin/StarHalf.js +5 -2
- package/lib/Icon/thin/Stock.js +5 -2
- package/lib/Icon/thin/Store.js +5 -2
- package/lib/Icon/thin/Subtitle.js +5 -2
- package/lib/Icon/thin/TalkHelp.js +5 -2
- package/lib/Icon/thin/TextH1.js +5 -2
- package/lib/Icon/thin/TextH2.js +5 -2
- package/lib/Icon/thin/TextH3.js +5 -2
- package/lib/Icon/thin/ThunderCircle.js +5 -2
- package/lib/Icon/thin/Timer.js +5 -2
- package/lib/Icon/thin/ToggleOff.js +5 -2
- package/lib/Icon/thin/ToggleOn.js +5 -2
- package/lib/Icon/thin/ToteBag.js +5 -2
- package/lib/Icon/thin/Trash.js +5 -2
- package/lib/Icon/thin/TwitterCircle.js +5 -2
- package/lib/Icon/thin/Undo.js +5 -2
- package/lib/Icon/thin/Video.js +5 -2
- package/lib/Icon/thin/Volume.js +5 -2
- package/lib/Icon/thin/VolumeMute.js +5 -2
- package/lib/Icon/thin/Web.js +5 -2
- package/lib/Icon/thin/Won.js +5 -2
- package/lib/Icon/thin/WonBadge.js +5 -2
- package/lib/Icon/thin/WonCircle.js +5 -2
- package/lib/Icon/thin/Write.js +5 -2
- package/lib/Icon/thin/YoutubeCircle.js +5 -2
- package/lib/Icon/thin/index.js +4 -2
- package/lib/Icon/types.js +6 -2
- package/lib/Layout/Center/Center.js +14 -9
- package/lib/Layout/Center/Center.stories.js +5 -2
- package/lib/Layout/Center/index.js +4 -2
- package/lib/Layout/HStack/HStack.js +5 -2
- package/lib/Layout/HStack/index.js +4 -2
- package/lib/Layout/Position/Position.js +5 -2
- package/lib/Layout/Position/Position.stories.js +5 -2
- package/lib/Layout/Position/index.js +4 -2
- package/lib/Layout/ResponsiveStack/ResponsiveStack.js +5 -2
- package/lib/Layout/ResponsiveStack/index.js +4 -2
- package/lib/Layout/VStack/VStack.js +5 -2
- package/lib/Layout/VStack/index.js +4 -2
- package/lib/Layout/ZStack/ZStack.js +5 -2
- package/lib/Layout/ZStack/index.js +4 -2
- package/lib/Link/Link.js +7 -22
- package/lib/Link/Link.stories.js +5 -2
- package/lib/Link/index.js +4 -2
- package/lib/Media/Image/Image.js +5 -2
- package/lib/Media/Image/Image.stories.js +5 -2
- package/lib/Media/Image/index.js +4 -2
- package/lib/Media/Image/useActualSizes.js +14 -170
- package/lib/Media/SeekBar/SeekBar.js +5 -2
- package/lib/Media/SeekBar/index.js +4 -2
- package/lib/Media/Video/Video.js +5 -2
- package/lib/Media/Video/index.js +4 -2
- package/lib/Media/VideoCaption/VideoCaption.js +5 -2
- package/lib/Media/VideoCaption/index.js +4 -2
- package/lib/Media/VideoOverlay/VideoOverlay.js +5 -2
- package/lib/Media/VideoOverlay/index.js +4 -2
- package/lib/Media/VolumeBar/VolumeBar.js +5 -2
- package/lib/Media/VolumeBar/index.js +4 -2
- package/lib/Menu/Menu/Menu.js +5 -2
- package/lib/Menu/Menu/Menu.stories.js +10 -34
- package/lib/Menu/Menu/index.js +4 -2
- package/lib/Menu/MenuIcon/MenuIcon.js +5 -2
- package/lib/Menu/MenuIcon/MenuIcon.stories.js +5 -2
- package/lib/Menu/MenuIcon/index.js +4 -2
- package/lib/Menu/MenuItem/MenuItem.js +5 -2
- package/lib/Menu/MenuItem/MenuItem.stories.js +5 -35
- package/lib/Menu/MenuItem/index.js +4 -2
- package/lib/Menu/MenuText/MenuText.js +15 -5
- package/lib/Menu/MenuText/MenuText.stories.js +5 -31
- package/lib/Menu/MenuText/index.js +4 -2
- package/lib/Menu/MenuTextButton/MenuTextButton.js +5 -2
- package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +7 -83
- package/lib/Menu/MenuTextButton/index.js +4 -2
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.js +5 -2
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +18 -149
- package/lib/Menu/MenuTextButtonItem/index.js +4 -2
- package/lib/Menu/MenuTextItem/MenuTextItem.js +5 -2
- package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +14 -69
- package/lib/Menu/MenuTextItem/index.js +4 -2
- package/lib/ModalBottomSheet/ModalBottomSheet.js +11 -100
- package/lib/ModalBottomSheet/index.js +4 -2
- package/lib/ModalBottomSheet/useModalBottomSheet.js +4 -2
- package/lib/NewLine/NewLine.js +5 -2
- package/lib/NewLine/index.js +4 -2
- package/lib/Opacity/Opacity.js +5 -2
- package/lib/Opacity/Opacity.stories.js +5 -2
- package/lib/Opacity/index.js +4 -2
- package/lib/Overlay/Overlay.js +5 -2
- package/lib/Overlay/Overlay.stories.js +5 -2
- package/lib/Overlay/index.js +4 -2
- package/lib/Pagination/Pagination.js +18 -7
- package/lib/Pagination/Pagination.stories.js +5 -2
- package/lib/Pagination/index.js +4 -2
- package/lib/PopoverBottomSheet/PopoverBottomSheet.js +14 -103
- package/lib/PopoverBottomSheet/index.js +4 -2
- package/lib/Portal/Portal.js +12 -29
- package/lib/Portal/index.js +4 -2
- package/lib/Profile/Profile.js +5 -2
- package/lib/Profile/index.js +4 -2
- package/lib/ProfileLabel/ProfileLabel.js +19 -8
- package/lib/ProfileLabel/index.js +4 -2
- package/lib/Progress/ProgressBar/ProgressBar.js +5 -2
- package/lib/Progress/ProgressBar/ProgressBar.stories.js +5 -2
- package/lib/Progress/ProgressBar/index.js +4 -2
- package/lib/Progress/ProgressStep/ProgressStep.js +15 -5
- package/lib/Progress/ProgressStep/ProgressStep.stories.js +5 -2
- package/lib/Progress/ProgressStep/index.js +4 -2
- package/lib/Rank/Rank.js +5 -2
- package/lib/Rank/Rank.stories.js +5 -2
- package/lib/Rank/index.js +4 -2
- package/lib/Ratio/Ratio.js +15 -5
- package/lib/Ratio/Ratio.stories.js +5 -2
- package/lib/Ratio/index.js +4 -2
- package/lib/Section/Section.js +11 -4
- package/lib/Section/Section.stories.js +5 -2
- package/lib/Section/index.js +4 -2
- package/lib/SectionHeader/SectionHeader.js +5 -2
- package/lib/SectionHeader/index.js +4 -2
- package/lib/Skeleton/Skeleton.js +5 -2
- package/lib/Skeleton/index.js +4 -2
- package/lib/SlideList/SlideList.js +11 -4
- package/lib/SlideList/SlideList.stories.js +5 -2
- package/lib/SlideList/__mocks__/index.js +4 -2
- package/lib/SlideList/index.js +4 -2
- package/lib/Slider/Slider.js +18 -7
- package/lib/Slider/Slider.stories.js +5 -2
- package/lib/Slider/__mocks__/index.js +4 -2
- package/lib/Slider/constants.js +4 -2
- package/lib/Slider/index.js +4 -2
- package/lib/Slider/internalHooks/useAutoPlay.js +4 -2
- package/lib/Slider/internalHooks/usePageControl.js +4 -2
- package/lib/Slider/internalHooks/useVirtual.js +4 -2
- package/lib/Slider/useSlider.js +4 -2
- package/lib/SliderSection/SliderSection.js +11 -4
- package/lib/SliderSection/SliderSection.stories.js +5 -2
- package/lib/SliderSection/index.js +4 -2
- package/lib/Spinner/Spinner.js +5 -2
- package/lib/Spinner/index.js +4 -2
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +5 -2
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +5 -2
- package/lib/Tab/ScrollTabPanel/index.js +4 -2
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +10 -66
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +5 -2
- package/lib/Tab/ScrollTabPanelWithObserver/index.js +4 -2
- package/lib/Tab/ScrollTabs/ScrollTabs.js +5 -2
- package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +5 -2
- package/lib/Tab/ScrollTabs/index.js +4 -2
- package/lib/Tab/Tab/Tab.js +5 -2
- package/lib/Tab/Tab/Tab.stories.js +5 -2
- package/lib/Tab/Tab/index.js +4 -2
- package/lib/Tab/ViewPagerTabPanel/ViewPagerTabPanel.js +5 -2
- package/lib/Tab/ViewPagerTabPanel/index.js +4 -2
- package/lib/Tab/ViewPagerTabs/ViewPagerTabs.js +5 -2
- package/lib/Tab/ViewPagerTabs/index.js +4 -2
- package/lib/Tag/Chip/Chip.js +15 -5
- package/lib/Tag/Chip/Chip.stories.js +5 -2
- package/lib/Tag/Chip/index.js +4 -2
- package/lib/Tag/IconBadge/IconBadge.js +5 -2
- package/lib/Tag/IconBadge/index.js +4 -2
- package/lib/Tag/StateTag/StateTag.js +5 -2
- package/lib/Tag/StateTag/index.js +4 -2
- package/lib/Tag/Tag/Tag.js +5 -2
- package/lib/Tag/Tag/Tag.stories.js +6 -4
- package/lib/Tag/Tag/index.js +4 -2
- package/lib/Typography/Body/Body.js +5 -2
- package/lib/Typography/Body/Body.stories.js +5 -2
- package/lib/Typography/Body/index.js +4 -2
- package/lib/Typography/Caption/Caption.js +5 -2
- package/lib/Typography/Caption/Caption.stories.js +5 -2
- package/lib/Typography/Caption/index.js +4 -2
- package/lib/Typography/Paragraph/Paragraph.js +5 -2
- package/lib/Typography/Paragraph/Paragraph.stories.js +5 -2
- package/lib/Typography/Paragraph/index.js +4 -2
- package/lib/Typography/Text/Text.js +4 -10
- package/lib/Typography/Text/index.js +4 -2
- package/lib/Typography/Title/Title.js +5 -2
- package/lib/Typography/Title/Title.stories.js +5 -2
- package/lib/Typography/Title/index.js +4 -2
- package/lib/Underline/Underline.js +28 -5
- package/lib/Underline/Underline.stories.js +5 -2
- package/lib/Underline/index.js +4 -2
- package/lib/ViewPager/ViewPager.js +4 -2
- package/lib/ViewPager/ViewPager.stories.js +5 -2
- package/lib/ViewPager/index.js +4 -2
- package/lib/ViewPager/type.js +6 -2
- package/lib/ViewPagerItem/ViewPagerItem.js +5 -2
- package/lib/ViewPagerItem/index.js +4 -2
- package/lib/deprecated/Slide/Slide.js +6 -4
- package/lib/deprecated/Slide/index.js +4 -2
- package/lib/deprecated/Swiper/Swiper.js +11 -4
- package/lib/deprecated/Swiper/Swiper.stories.js +12 -5
- package/lib/deprecated/Swiper/hooks/useAutoPlay.js +4 -2
- package/lib/deprecated/Swiper/hooks/useSwiper.js +8 -4
- package/lib/deprecated/Swiper/index.js +4 -2
- package/lib/deprecated/Swiper/types/SwiperOptions.js +6 -2
- package/mime-types-XQXFL7W2.js +9284 -0
- package/package.json +1 -2
- package/private/Bar/Bar.js +5 -2
- package/private/Bar/index.js +4 -2
- package/private/Box/Box.js +10 -4
- package/private/Box/Box.stories.js +5 -2
- package/private/Box/index.js +4 -2
- package/private/ForwardStyle/ForwardStyle.js +18 -6
- package/private/ForwardStyle/ForwardStyle.stories.js +5 -2
- package/private/ForwardStyle/index.js +4 -2
- package/private/Space/Space.js +5 -2
- package/private/Space/Space.stories.js +5 -2
- package/private/Space/index.js +4 -2
- package/private/Stack/Stack.js +9 -3
- package/private/Stack/index.js +4 -2
- package/private/Svg/Svg.js +5 -2
- package/private/Svg/index.js +4 -2
- package/private/Transform/Transform.js +5 -2
- package/private/Transform/index.js +4 -2
- package/utils/appendCssUnit/appendCssUnit.js +4 -2
- package/utils/appendCssUnit/appendCssUnit.spec.js +4 -2
- package/utils/appendCssUnit/index.js +4 -2
- package/utils/index.js +4 -2
package/@types/image.d.js
CHANGED
package/@types/theme.d.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
import
|
1
|
+
import "../chunk-UAWCTQGC.js";
|
2
|
+
import "../chunk-QN5Q5NTF.js";
|
3
|
+
import {
|
4
|
+
init_react_shim
|
5
|
+
} from "../chunk-CPDZ2HQZ.js";
|
3
6
|
|
4
7
|
// libs/shared/ui-system/src/@types/theme.d.ts
|
5
|
-
|
8
|
+
init_react_shim();
|
@@ -0,0 +1,254 @@
|
|
1
|
+
import {
|
2
|
+
canUseDOM
|
3
|
+
} from "./chunk-FRNHAL35.js";
|
4
|
+
import {
|
5
|
+
__commonJS,
|
6
|
+
__toModule,
|
7
|
+
init_react_shim
|
8
|
+
} from "./chunk-CPDZ2HQZ.js";
|
9
|
+
|
10
|
+
// node_modules/react-fast-compare/index.js
|
11
|
+
var require_react_fast_compare = __commonJS({
|
12
|
+
"node_modules/react-fast-compare/index.js"(exports, module) {
|
13
|
+
init_react_shim();
|
14
|
+
var hasElementType = typeof Element !== "undefined";
|
15
|
+
var hasMap = typeof Map === "function";
|
16
|
+
var hasSet = typeof Set === "function";
|
17
|
+
var hasArrayBuffer = typeof ArrayBuffer === "function" && !!ArrayBuffer.isView;
|
18
|
+
function equal(a, b) {
|
19
|
+
if (a === b)
|
20
|
+
return true;
|
21
|
+
if (a && b && typeof a == "object" && typeof b == "object") {
|
22
|
+
if (a.constructor !== b.constructor)
|
23
|
+
return false;
|
24
|
+
var length, i, keys;
|
25
|
+
if (Array.isArray(a)) {
|
26
|
+
length = a.length;
|
27
|
+
if (length != b.length)
|
28
|
+
return false;
|
29
|
+
for (i = length; i-- !== 0; )
|
30
|
+
if (!equal(a[i], b[i]))
|
31
|
+
return false;
|
32
|
+
return true;
|
33
|
+
}
|
34
|
+
var it;
|
35
|
+
if (hasMap && a instanceof Map && b instanceof Map) {
|
36
|
+
if (a.size !== b.size)
|
37
|
+
return false;
|
38
|
+
it = a.entries();
|
39
|
+
while (!(i = it.next()).done)
|
40
|
+
if (!b.has(i.value[0]))
|
41
|
+
return false;
|
42
|
+
it = a.entries();
|
43
|
+
while (!(i = it.next()).done)
|
44
|
+
if (!equal(i.value[1], b.get(i.value[0])))
|
45
|
+
return false;
|
46
|
+
return true;
|
47
|
+
}
|
48
|
+
if (hasSet && a instanceof Set && b instanceof Set) {
|
49
|
+
if (a.size !== b.size)
|
50
|
+
return false;
|
51
|
+
it = a.entries();
|
52
|
+
while (!(i = it.next()).done)
|
53
|
+
if (!b.has(i.value[0]))
|
54
|
+
return false;
|
55
|
+
return true;
|
56
|
+
}
|
57
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
58
|
+
length = a.length;
|
59
|
+
if (length != b.length)
|
60
|
+
return false;
|
61
|
+
for (i = length; i-- !== 0; )
|
62
|
+
if (a[i] !== b[i])
|
63
|
+
return false;
|
64
|
+
return true;
|
65
|
+
}
|
66
|
+
if (a.constructor === RegExp)
|
67
|
+
return a.source === b.source && a.flags === b.flags;
|
68
|
+
if (a.valueOf !== Object.prototype.valueOf)
|
69
|
+
return a.valueOf() === b.valueOf();
|
70
|
+
if (a.toString !== Object.prototype.toString)
|
71
|
+
return a.toString() === b.toString();
|
72
|
+
keys = Object.keys(a);
|
73
|
+
length = keys.length;
|
74
|
+
if (length !== Object.keys(b).length)
|
75
|
+
return false;
|
76
|
+
for (i = length; i-- !== 0; )
|
77
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
|
78
|
+
return false;
|
79
|
+
if (hasElementType && a instanceof Element)
|
80
|
+
return false;
|
81
|
+
for (i = length; i-- !== 0; ) {
|
82
|
+
if ((keys[i] === "_owner" || keys[i] === "__v" || keys[i] === "__o") && a.$$typeof) {
|
83
|
+
continue;
|
84
|
+
}
|
85
|
+
if (!equal(a[keys[i]], b[keys[i]]))
|
86
|
+
return false;
|
87
|
+
}
|
88
|
+
return true;
|
89
|
+
}
|
90
|
+
return a !== a && b !== b;
|
91
|
+
}
|
92
|
+
module.exports = function isEqual2(a, b) {
|
93
|
+
try {
|
94
|
+
return equal(a, b);
|
95
|
+
} catch (error) {
|
96
|
+
if ((error.message || "").match(/stack|recursion/i)) {
|
97
|
+
console.warn("react-fast-compare cannot handle circular refs");
|
98
|
+
return false;
|
99
|
+
}
|
100
|
+
throw error;
|
101
|
+
}
|
102
|
+
};
|
103
|
+
}
|
104
|
+
});
|
105
|
+
|
106
|
+
// libs/shared/utils-hooks/src/lib/useDeepCompareMemo/useDeepCompareMemo.ts
|
107
|
+
init_react_shim();
|
108
|
+
import {useMemo} from "react";
|
109
|
+
|
110
|
+
// libs/shared/utils-hooks/src/lib/useDeepCompareDeps/index.ts
|
111
|
+
init_react_shim();
|
112
|
+
|
113
|
+
// libs/shared/utils-hooks/src/lib/useDeepCompareDeps/useDeepCompareDeps.ts
|
114
|
+
init_react_shim();
|
115
|
+
var import_react_fast_compare = __toModule(require_react_fast_compare());
|
116
|
+
import {useRef} from "react";
|
117
|
+
function useDeepCompareDeps(value) {
|
118
|
+
const ref = useRef(value);
|
119
|
+
if (!(0, import_react_fast_compare.default)(value, ref.current)) {
|
120
|
+
ref.current = value;
|
121
|
+
}
|
122
|
+
return ref.current;
|
123
|
+
}
|
124
|
+
|
125
|
+
// libs/shared/utils-hooks/src/lib/useDeepCompareMemo/useDeepCompareMemo.ts
|
126
|
+
function useDeepCompareMemo(factory, deps) {
|
127
|
+
return useMemo(factory, useDeepCompareDeps(deps));
|
128
|
+
}
|
129
|
+
|
130
|
+
// libs/shared/utils-hooks/src/lib/useDeepCompareMemo/index.ts
|
131
|
+
init_react_shim();
|
132
|
+
|
133
|
+
// libs/shared/utils-hooks/src/lib/useInView/useInView.tsx
|
134
|
+
init_react_shim();
|
135
|
+
import {useCallback as useCallback2, useState} from "react";
|
136
|
+
|
137
|
+
// libs/shared/utils-hooks/src/lib/useIntersectionObserver/index.ts
|
138
|
+
init_react_shim();
|
139
|
+
|
140
|
+
// libs/shared/utils-hooks/src/lib/useIntersectionObserver/useIntersectionObserver.ts
|
141
|
+
init_react_shim();
|
142
|
+
import {useCallback, useEffect, useRef as useRef2} from "react";
|
143
|
+
var useIntersectionObserver = (callback, options) => {
|
144
|
+
const observerRef = useRef2();
|
145
|
+
const handleIntersection = useCallback(([entry]) => {
|
146
|
+
callback(entry);
|
147
|
+
}, [callback]);
|
148
|
+
const observe = useCallback((node) => {
|
149
|
+
if (!node) {
|
150
|
+
return;
|
151
|
+
}
|
152
|
+
observerRef.current = new IntersectionObserver(handleIntersection, options);
|
153
|
+
observerRef.current.observe(node);
|
154
|
+
}, [handleIntersection, options]);
|
155
|
+
const unobserve = useCallback(() => {
|
156
|
+
observerRef.current?.disconnect();
|
157
|
+
observerRef.current = void 0;
|
158
|
+
}, []);
|
159
|
+
const ref = useCallback((node) => {
|
160
|
+
unobserve();
|
161
|
+
observe(node);
|
162
|
+
}, [observe, unobserve]);
|
163
|
+
useEffect(() => unobserve, [unobserve]);
|
164
|
+
return {ref};
|
165
|
+
};
|
166
|
+
|
167
|
+
// libs/shared/utils-hooks/src/lib/useInView/useInView.tsx
|
168
|
+
var useInView = (initialInView, options) => {
|
169
|
+
const [isInView, setIsInView] = useState(initialInView);
|
170
|
+
const callback = useCallback2((entry) => {
|
171
|
+
if (entry.isIntersecting) {
|
172
|
+
setIsInView(true);
|
173
|
+
} else {
|
174
|
+
setIsInView(false);
|
175
|
+
}
|
176
|
+
}, []);
|
177
|
+
const {ref} = useIntersectionObserver(callback, options);
|
178
|
+
return {ref, isInView};
|
179
|
+
};
|
180
|
+
|
181
|
+
// libs/shared/utils-hooks/src/lib/useInView/index.ts
|
182
|
+
init_react_shim();
|
183
|
+
|
184
|
+
// libs/shared/utils-hooks/src/lib/useLazyUnmount/useLazyUnmount.ts
|
185
|
+
init_react_shim();
|
186
|
+
import {useEffect as useEffect2, useState as useState2} from "react";
|
187
|
+
var useLazyUnmount = (state, delay) => {
|
188
|
+
const [isMounted, setIsMounted] = useState2(state);
|
189
|
+
useEffect2(() => {
|
190
|
+
if (state) {
|
191
|
+
setIsMounted(state);
|
192
|
+
return void 0;
|
193
|
+
}
|
194
|
+
const timer = setTimeout(() => {
|
195
|
+
setIsMounted(false);
|
196
|
+
}, delay);
|
197
|
+
return () => {
|
198
|
+
clearTimeout(timer);
|
199
|
+
};
|
200
|
+
}, [delay, state]);
|
201
|
+
return isMounted;
|
202
|
+
};
|
203
|
+
|
204
|
+
// libs/shared/utils-hooks/src/lib/useLazyUnmount/index.ts
|
205
|
+
init_react_shim();
|
206
|
+
|
207
|
+
// libs/shared/utils-hooks/src/lib/useLockBodyScroll/useLockBodyScroll.ts
|
208
|
+
init_react_shim();
|
209
|
+
import {useEffect as useEffect3, useRef as useRef3} from "react";
|
210
|
+
var useLockBodyScroll = (locked = false) => {
|
211
|
+
const bodyStyleRef = useRef3({paddingRight: "", overflow: ""});
|
212
|
+
const lockBodyScroll = () => {
|
213
|
+
if (!canUseDOM) {
|
214
|
+
return;
|
215
|
+
}
|
216
|
+
bodyStyleRef.current = {
|
217
|
+
paddingRight: document.body.style.paddingRight,
|
218
|
+
overflow: document.body.style.overflow
|
219
|
+
};
|
220
|
+
const scrollBarWidth = window.innerWidth - document.documentElement.clientWidth;
|
221
|
+
document.body.style.paddingRight = `${scrollBarWidth}px`;
|
222
|
+
document.body.style.overflow = "hidden";
|
223
|
+
};
|
224
|
+
const unlockBodyScroll = () => {
|
225
|
+
if (!canUseDOM) {
|
226
|
+
return;
|
227
|
+
}
|
228
|
+
document.body.style.paddingRight = bodyStyleRef.current.paddingRight;
|
229
|
+
document.body.style.overflow = bodyStyleRef.current.overflow;
|
230
|
+
};
|
231
|
+
useEffect3(() => {
|
232
|
+
if (locked) {
|
233
|
+
lockBodyScroll();
|
234
|
+
} else {
|
235
|
+
unlockBodyScroll();
|
236
|
+
}
|
237
|
+
return () => {
|
238
|
+
unlockBodyScroll();
|
239
|
+
};
|
240
|
+
}, [locked]);
|
241
|
+
};
|
242
|
+
|
243
|
+
// libs/shared/utils-hooks/src/lib/useLockBodyScroll/index.ts
|
244
|
+
init_react_shim();
|
245
|
+
|
246
|
+
// libs/shared/utils-hooks/src/index.ts
|
247
|
+
init_react_shim();
|
248
|
+
|
249
|
+
export {
|
250
|
+
useDeepCompareMemo,
|
251
|
+
useInView,
|
252
|
+
useLazyUnmount,
|
253
|
+
useLockBodyScroll
|
254
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
init_react_shim
|
4
|
+
} from "./chunk-CPDZ2HQZ.js";
|
5
|
+
|
6
|
+
// libs/shared/ui-system/src/lib/Menu/MenuText/MenuText.stories.tsx
|
7
|
+
init_react_shim();
|
8
|
+
import {VStack} from "../../Layout/VStack/index.js";
|
9
|
+
import {MenuText} from "./MenuText.js";
|
10
|
+
var MenuText_stories_default = {
|
11
|
+
title: "ui-system/Menu/MenuText",
|
12
|
+
component: MenuText,
|
13
|
+
argTypes: {
|
14
|
+
label: {
|
15
|
+
control: {type: "text"},
|
16
|
+
defaultValue: "\uB9AC\uC2A4\uD2B8 \uC774\uB984\uC744 \uC801\uC5B4\uC8FC\uC138\uC694"
|
17
|
+
},
|
18
|
+
description: {
|
19
|
+
control: {type: "text"},
|
20
|
+
defaultValue: "\uB3C4\uC6C0 \uC124\uBA85\uAE00\uC774 \uD544\uC694\uD55C \uACBD\uC6B0, \uCD5C\uB300 \uB450 \uC904\uB85C \uC791\uC131\uD574\uC8FC\uC138\uC694"
|
21
|
+
},
|
22
|
+
state: {
|
23
|
+
control: {
|
24
|
+
type: "select",
|
25
|
+
options: ["default", "active", "warning", "disabled"]
|
26
|
+
},
|
27
|
+
defaultValue: "default"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
};
|
31
|
+
var Template = (props) => /* @__PURE__ */ React.createElement(VStack, null, /* @__PURE__ */ React.createElement(MenuText, {
|
32
|
+
...props
|
33
|
+
}));
|
34
|
+
var BasicUsage = Template.bind({});
|
35
|
+
|
36
|
+
export {
|
37
|
+
MenuText_stories_default,
|
38
|
+
BasicUsage
|
39
|
+
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import {
|
2
|
+
TextButton_stories_default
|
3
|
+
} from "./chunk-UMKGAET2.js";
|
4
|
+
import {
|
5
|
+
React,
|
6
|
+
init_react_shim
|
7
|
+
} from "./chunk-CPDZ2HQZ.js";
|
8
|
+
|
9
|
+
// libs/shared/ui-system/src/lib/Menu/MenuTextButton/MenuTextButton.stories.tsx
|
10
|
+
init_react_shim();
|
11
|
+
import {Icon} from "../../Icon/index.js";
|
12
|
+
import {MenuTextButton} from "./MenuTextButton.js";
|
13
|
+
var MenuTextButton_stories_default = {
|
14
|
+
title: "ui-system/Menu/MenuTextButton",
|
15
|
+
component: MenuTextButton,
|
16
|
+
argTypes: {
|
17
|
+
state: {
|
18
|
+
control: {
|
19
|
+
type: "select",
|
20
|
+
options: ["default", "active", "warning", "disabled"]
|
21
|
+
},
|
22
|
+
defaultValue: "active"
|
23
|
+
},
|
24
|
+
size: {...TextButton_stories_default.argTypes}.size,
|
25
|
+
icon: {
|
26
|
+
defaultValue: Icon.Regular.ChevronRight
|
27
|
+
}
|
28
|
+
}
|
29
|
+
};
|
30
|
+
var Template = (props) => /* @__PURE__ */ React.createElement(MenuTextButton, {
|
31
|
+
...props
|
32
|
+
}, "\uBC84\uD2BC");
|
33
|
+
var BasicUsage = Template.bind({});
|
34
|
+
|
35
|
+
export {
|
36
|
+
MenuTextButton_stories_default,
|
37
|
+
BasicUsage
|
38
|
+
};
|
@@ -0,0 +1,959 @@
|
|
1
|
+
import {
|
2
|
+
require_object_assign
|
3
|
+
} from "./chunk-AXJOQSVO.js";
|
4
|
+
import {
|
5
|
+
__toModule,
|
6
|
+
init_react_shim
|
7
|
+
} from "./chunk-CPDZ2HQZ.js";
|
8
|
+
|
9
|
+
// node_modules/@class101/styled-system__core/dist/index.esm.js
|
10
|
+
init_react_shim();
|
11
|
+
var import_object_assign = __toModule(require_object_assign());
|
12
|
+
var merge = function merge2(a, b) {
|
13
|
+
var result = (0, import_object_assign.default)({}, a, b);
|
14
|
+
for (var key in a) {
|
15
|
+
var _assign;
|
16
|
+
if (!a[key] || typeof b[key] !== "object")
|
17
|
+
continue;
|
18
|
+
(0, import_object_assign.default)(result, (_assign = {}, _assign[key] = (0, import_object_assign.default)(a[key], b[key]), _assign));
|
19
|
+
}
|
20
|
+
return result;
|
21
|
+
};
|
22
|
+
var sort = function sort2(obj) {
|
23
|
+
var next = {};
|
24
|
+
Object.keys(obj).sort(function(a, b) {
|
25
|
+
return a.localeCompare(b, void 0, {
|
26
|
+
numeric: true,
|
27
|
+
sensitivity: "base"
|
28
|
+
});
|
29
|
+
}).forEach(function(key) {
|
30
|
+
next[key] = obj[key];
|
31
|
+
});
|
32
|
+
return next;
|
33
|
+
};
|
34
|
+
var defaults = {
|
35
|
+
breakpoints: [40, 52, 64].map(function(n) {
|
36
|
+
return n + "em";
|
37
|
+
})
|
38
|
+
};
|
39
|
+
var createMediaQuery = function createMediaQuery2(n) {
|
40
|
+
return "@media screen and (min-width: " + n + ")";
|
41
|
+
};
|
42
|
+
var getValue = function getValue2(n, scale) {
|
43
|
+
return get(scale, n, n);
|
44
|
+
};
|
45
|
+
var get = function get2(obj, key, def, p, undef) {
|
46
|
+
key = key && key.split ? key.split(".") : [key];
|
47
|
+
for (p = 0; p < key.length; p++) {
|
48
|
+
obj = obj ? obj[key[p]] : undef;
|
49
|
+
}
|
50
|
+
return obj === undef ? def : obj;
|
51
|
+
};
|
52
|
+
var createParser = function createParser2(config9) {
|
53
|
+
var cache = {};
|
54
|
+
var parse = function parse2(props) {
|
55
|
+
var styles = {};
|
56
|
+
var shouldSort = false;
|
57
|
+
var isCacheDisabled = props.theme && props.theme.disableStyledSystemCache;
|
58
|
+
for (var _key in props) {
|
59
|
+
if (!config9[_key])
|
60
|
+
continue;
|
61
|
+
var sx = config9[_key];
|
62
|
+
var raw = props[_key];
|
63
|
+
var scale = get(props.theme, sx.scale, sx.defaults);
|
64
|
+
if (typeof raw === "object" && Array.isArray(raw)) {
|
65
|
+
cache.breakpoints = !isCacheDisabled && cache.breakpoints || get(props.theme, "breakpoints", defaults.breakpoints);
|
66
|
+
cache.media = !isCacheDisabled && cache.media || [null].concat(cache.breakpoints.map(createMediaQuery));
|
67
|
+
styles = merge(styles, parseResponsiveStyle(cache.media, sx, scale, raw, props));
|
68
|
+
continue;
|
69
|
+
}
|
70
|
+
(0, import_object_assign.default)(styles, sx(raw, scale, props));
|
71
|
+
}
|
72
|
+
if (shouldSort) {
|
73
|
+
styles = sort(styles);
|
74
|
+
}
|
75
|
+
var sortedStyles = {};
|
76
|
+
var mediaQueryStyles = {};
|
77
|
+
for (var key in styles) {
|
78
|
+
if (key.startsWith("@media")) {
|
79
|
+
mediaQueryStyles[key] = styles[key];
|
80
|
+
continue;
|
81
|
+
}
|
82
|
+
sortedStyles[key] = styles[key];
|
83
|
+
}
|
84
|
+
return merge(sortedStyles, mediaQueryStyles);
|
85
|
+
};
|
86
|
+
parse.config = config9;
|
87
|
+
parse.propNames = Object.keys(config9);
|
88
|
+
parse.cache = cache;
|
89
|
+
var keys = Object.keys(config9).filter(function(k) {
|
90
|
+
return k !== "config";
|
91
|
+
});
|
92
|
+
if (keys.length > 1) {
|
93
|
+
keys.forEach(function(key) {
|
94
|
+
var _createParser;
|
95
|
+
parse[key] = createParser2((_createParser = {}, _createParser[key] = config9[key], _createParser));
|
96
|
+
});
|
97
|
+
}
|
98
|
+
return parse;
|
99
|
+
};
|
100
|
+
var parseResponsiveStyle = function parseResponsiveStyle2(mediaQueries, sx, scale, raw, _props) {
|
101
|
+
var styles = {};
|
102
|
+
raw.slice(0, mediaQueries.length).forEach(function(value, i) {
|
103
|
+
var media = mediaQueries[i];
|
104
|
+
var style = sx(value, scale, _props);
|
105
|
+
if (!media) {
|
106
|
+
(0, import_object_assign.default)(styles, style);
|
107
|
+
} else {
|
108
|
+
var _assign2;
|
109
|
+
(0, import_object_assign.default)(styles, (_assign2 = {}, _assign2[media] = (0, import_object_assign.default)({}, styles[media], style), _assign2));
|
110
|
+
}
|
111
|
+
});
|
112
|
+
return styles;
|
113
|
+
};
|
114
|
+
var createStyleFunction = function createStyleFunction2(_ref) {
|
115
|
+
var properties = _ref.properties, property = _ref.property, scale = _ref.scale, _ref$transform = _ref.transform, transform = _ref$transform === void 0 ? getValue : _ref$transform, defaultScale = _ref.defaultScale;
|
116
|
+
properties = properties || [property];
|
117
|
+
var sx = function sx2(value, scale2, _props) {
|
118
|
+
var result = {};
|
119
|
+
var n = transform(value, scale2, _props);
|
120
|
+
if (n === null)
|
121
|
+
return;
|
122
|
+
properties.forEach(function(prop) {
|
123
|
+
result[prop] = n;
|
124
|
+
});
|
125
|
+
return result;
|
126
|
+
};
|
127
|
+
sx.scale = scale;
|
128
|
+
sx.defaults = defaultScale;
|
129
|
+
return sx;
|
130
|
+
};
|
131
|
+
var system = function system2(args) {
|
132
|
+
if (args === void 0) {
|
133
|
+
args = {};
|
134
|
+
}
|
135
|
+
var config9 = {};
|
136
|
+
Object.keys(args).forEach(function(key) {
|
137
|
+
var conf = args[key];
|
138
|
+
if (conf === true) {
|
139
|
+
config9[key] = createStyleFunction({
|
140
|
+
property: key,
|
141
|
+
scale: key
|
142
|
+
});
|
143
|
+
return;
|
144
|
+
}
|
145
|
+
if (typeof conf === "function") {
|
146
|
+
config9[key] = conf;
|
147
|
+
return;
|
148
|
+
}
|
149
|
+
config9[key] = createStyleFunction(conf);
|
150
|
+
});
|
151
|
+
var parser = createParser(config9);
|
152
|
+
return parser;
|
153
|
+
};
|
154
|
+
var compose = function compose2() {
|
155
|
+
var config9 = {};
|
156
|
+
for (var _len = arguments.length, parsers = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {
|
157
|
+
parsers[_key2] = arguments[_key2];
|
158
|
+
}
|
159
|
+
parsers.forEach(function(parser2) {
|
160
|
+
if (!parser2 || !parser2.config)
|
161
|
+
return;
|
162
|
+
(0, import_object_assign.default)(config9, parser2.config);
|
163
|
+
});
|
164
|
+
var parser = createParser(config9);
|
165
|
+
return parser;
|
166
|
+
};
|
167
|
+
|
168
|
+
// node_modules/@class101/styled-system__layout/dist/index.esm.js
|
169
|
+
init_react_shim();
|
170
|
+
var isNumber = function isNumber2(n) {
|
171
|
+
return typeof n === "number" && !isNaN(n);
|
172
|
+
};
|
173
|
+
var getWidth = function getWidth2(n, scale) {
|
174
|
+
return get(scale, n, !isNumber(n) || n > 1 ? n : n * 100 + "%");
|
175
|
+
};
|
176
|
+
var config = {
|
177
|
+
width: {
|
178
|
+
property: "width",
|
179
|
+
scale: "sizes",
|
180
|
+
transform: getWidth
|
181
|
+
},
|
182
|
+
height: {
|
183
|
+
property: "height",
|
184
|
+
scale: "sizes"
|
185
|
+
},
|
186
|
+
minWidth: {
|
187
|
+
property: "minWidth",
|
188
|
+
scale: "sizes"
|
189
|
+
},
|
190
|
+
minHeight: {
|
191
|
+
property: "minHeight",
|
192
|
+
scale: "sizes"
|
193
|
+
},
|
194
|
+
maxWidth: {
|
195
|
+
property: "maxWidth",
|
196
|
+
scale: "sizes"
|
197
|
+
},
|
198
|
+
maxHeight: {
|
199
|
+
property: "maxHeight",
|
200
|
+
scale: "sizes"
|
201
|
+
},
|
202
|
+
size: {
|
203
|
+
properties: ["width", "height"],
|
204
|
+
scale: "sizes"
|
205
|
+
},
|
206
|
+
overflow: true,
|
207
|
+
overflowX: true,
|
208
|
+
overflowY: true,
|
209
|
+
display: true,
|
210
|
+
verticalAlign: true
|
211
|
+
};
|
212
|
+
var layout = system(config);
|
213
|
+
var index_esm_default = layout;
|
214
|
+
|
215
|
+
// node_modules/@class101/styled-system__color/dist/index.esm.js
|
216
|
+
init_react_shim();
|
217
|
+
var config2 = {
|
218
|
+
color: {
|
219
|
+
property: "color",
|
220
|
+
scale: "colors"
|
221
|
+
},
|
222
|
+
backgroundColor: {
|
223
|
+
property: "backgroundColor",
|
224
|
+
scale: "colors"
|
225
|
+
},
|
226
|
+
opacity: true
|
227
|
+
};
|
228
|
+
config2.bg = config2.backgroundColor;
|
229
|
+
var color = system(config2);
|
230
|
+
var index_esm_default2 = color;
|
231
|
+
|
232
|
+
// node_modules/@class101/styled-system__typography/dist/index.esm.js
|
233
|
+
init_react_shim();
|
234
|
+
var defaults2 = {
|
235
|
+
fontSizes: [12, 14, 16, 20, 24, 32, 48, 64, 72]
|
236
|
+
};
|
237
|
+
var config3 = {
|
238
|
+
fontFamily: {
|
239
|
+
property: "fontFamily",
|
240
|
+
scale: "fonts"
|
241
|
+
},
|
242
|
+
fontSize: {
|
243
|
+
property: "fontSize",
|
244
|
+
scale: "fontSizes",
|
245
|
+
defaultScale: defaults2.fontSizes
|
246
|
+
},
|
247
|
+
fontWeight: {
|
248
|
+
property: "fontWeight",
|
249
|
+
scale: "fontWeights"
|
250
|
+
},
|
251
|
+
lineHeight: {
|
252
|
+
property: "lineHeight",
|
253
|
+
scale: "lineHeights"
|
254
|
+
},
|
255
|
+
letterSpacing: {
|
256
|
+
property: "letterSpacing",
|
257
|
+
scale: "letterSpacings"
|
258
|
+
},
|
259
|
+
textAlign: true,
|
260
|
+
fontStyle: true
|
261
|
+
};
|
262
|
+
var typography = system(config3);
|
263
|
+
var index_esm_default3 = typography;
|
264
|
+
|
265
|
+
// node_modules/@class101/styled-system__flexbox/dist/index.esm.js
|
266
|
+
init_react_shim();
|
267
|
+
var config4 = {
|
268
|
+
alignItems: true,
|
269
|
+
alignContent: true,
|
270
|
+
justifyItems: true,
|
271
|
+
justifyContent: true,
|
272
|
+
flexWrap: true,
|
273
|
+
flexDirection: true,
|
274
|
+
flex: true,
|
275
|
+
flexGrow: true,
|
276
|
+
flexShrink: true,
|
277
|
+
flexBasis: true,
|
278
|
+
justifySelf: true,
|
279
|
+
alignSelf: true,
|
280
|
+
order: true
|
281
|
+
};
|
282
|
+
var flexbox = system(config4);
|
283
|
+
var index_esm_default4 = flexbox;
|
284
|
+
|
285
|
+
// node_modules/@class101/styled-system__border/dist/index.esm.js
|
286
|
+
init_react_shim();
|
287
|
+
var config5 = {
|
288
|
+
border: {
|
289
|
+
property: "border",
|
290
|
+
scale: "borders"
|
291
|
+
},
|
292
|
+
borderWidth: {
|
293
|
+
property: "borderWidth",
|
294
|
+
scale: "borderWidths"
|
295
|
+
},
|
296
|
+
borderStyle: {
|
297
|
+
property: "borderStyle",
|
298
|
+
scale: "borderStyles"
|
299
|
+
},
|
300
|
+
borderColor: {
|
301
|
+
property: "borderColor",
|
302
|
+
scale: "colors"
|
303
|
+
},
|
304
|
+
borderRadius: {
|
305
|
+
property: "borderRadius",
|
306
|
+
scale: "radii"
|
307
|
+
},
|
308
|
+
borderTop: {
|
309
|
+
property: "borderTop",
|
310
|
+
scale: "borders"
|
311
|
+
},
|
312
|
+
borderTopLeftRadius: {
|
313
|
+
property: "borderTopLeftRadius",
|
314
|
+
scale: "radii"
|
315
|
+
},
|
316
|
+
borderTopRightRadius: {
|
317
|
+
property: "borderTopRightRadius",
|
318
|
+
scale: "radii"
|
319
|
+
},
|
320
|
+
borderRight: {
|
321
|
+
property: "borderRight",
|
322
|
+
scale: "borders"
|
323
|
+
},
|
324
|
+
borderBottom: {
|
325
|
+
property: "borderBottom",
|
326
|
+
scale: "borders"
|
327
|
+
},
|
328
|
+
borderBottomLeftRadius: {
|
329
|
+
property: "borderBottomLeftRadius",
|
330
|
+
scale: "radii"
|
331
|
+
},
|
332
|
+
borderBottomRightRadius: {
|
333
|
+
property: "borderBottomRightRadius",
|
334
|
+
scale: "radii"
|
335
|
+
},
|
336
|
+
borderLeft: {
|
337
|
+
property: "borderLeft",
|
338
|
+
scale: "borders"
|
339
|
+
},
|
340
|
+
borderX: {
|
341
|
+
properties: ["borderLeft", "borderRight"],
|
342
|
+
scale: "borders"
|
343
|
+
},
|
344
|
+
borderY: {
|
345
|
+
properties: ["borderTop", "borderBottom"],
|
346
|
+
scale: "borders"
|
347
|
+
}
|
348
|
+
};
|
349
|
+
config5.borderTopWidth = {
|
350
|
+
property: "borderTopWidth",
|
351
|
+
scale: "borderWidths"
|
352
|
+
};
|
353
|
+
config5.borderTopColor = {
|
354
|
+
property: "borderTopColor",
|
355
|
+
scale: "colors"
|
356
|
+
};
|
357
|
+
config5.borderTopStyle = {
|
358
|
+
property: "borderTopStyle",
|
359
|
+
scale: "borderStyles"
|
360
|
+
};
|
361
|
+
config5.borderTopLeftRadius = {
|
362
|
+
property: "borderTopLeftRadius",
|
363
|
+
scale: "radii"
|
364
|
+
};
|
365
|
+
config5.borderTopRightRadius = {
|
366
|
+
property: "borderTopRightRadius",
|
367
|
+
scale: "radii"
|
368
|
+
};
|
369
|
+
config5.borderBottomWidth = {
|
370
|
+
property: "borderBottomWidth",
|
371
|
+
scale: "borderWidths"
|
372
|
+
};
|
373
|
+
config5.borderBottomColor = {
|
374
|
+
property: "borderBottomColor",
|
375
|
+
scale: "colors"
|
376
|
+
};
|
377
|
+
config5.borderBottomStyle = {
|
378
|
+
property: "borderBottomStyle",
|
379
|
+
scale: "borderStyles"
|
380
|
+
};
|
381
|
+
config5.borderBottomLeftRadius = {
|
382
|
+
property: "borderBottomLeftRadius",
|
383
|
+
scale: "radii"
|
384
|
+
};
|
385
|
+
config5.borderBottomRightRadius = {
|
386
|
+
property: "borderBottomRightRadius",
|
387
|
+
scale: "radii"
|
388
|
+
};
|
389
|
+
config5.borderLeftWidth = {
|
390
|
+
property: "borderLeftWidth",
|
391
|
+
scale: "borderWidths"
|
392
|
+
};
|
393
|
+
config5.borderLeftColor = {
|
394
|
+
property: "borderLeftColor",
|
395
|
+
scale: "colors"
|
396
|
+
};
|
397
|
+
config5.borderLeftStyle = {
|
398
|
+
property: "borderLeftStyle",
|
399
|
+
scale: "borderStyles"
|
400
|
+
};
|
401
|
+
config5.borderRightWidth = {
|
402
|
+
property: "borderRightWidth",
|
403
|
+
scale: "borderWidths"
|
404
|
+
};
|
405
|
+
config5.borderRightColor = {
|
406
|
+
property: "borderRightColor",
|
407
|
+
scale: "colors"
|
408
|
+
};
|
409
|
+
config5.borderRightStyle = {
|
410
|
+
property: "borderRightStyle",
|
411
|
+
scale: "borderStyles"
|
412
|
+
};
|
413
|
+
var border = system(config5);
|
414
|
+
var index_esm_default5 = border;
|
415
|
+
|
416
|
+
// node_modules/@class101/styled-system__background/dist/index.esm.js
|
417
|
+
init_react_shim();
|
418
|
+
var config6 = {
|
419
|
+
background: true,
|
420
|
+
backgroundImage: true,
|
421
|
+
backgroundSize: true,
|
422
|
+
backgroundPosition: true,
|
423
|
+
backgroundRepeat: true
|
424
|
+
};
|
425
|
+
config6.bgImage = config6.backgroundImage;
|
426
|
+
config6.bgSize = config6.backgroundSize;
|
427
|
+
config6.bgPosition = config6.backgroundPosition;
|
428
|
+
config6.bgRepeat = config6.backgroundRepeat;
|
429
|
+
var background = system(config6);
|
430
|
+
var index_esm_default6 = background;
|
431
|
+
|
432
|
+
// node_modules/@class101/styled-system__position/dist/index.esm.js
|
433
|
+
init_react_shim();
|
434
|
+
var defaults3 = {
|
435
|
+
space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
|
436
|
+
};
|
437
|
+
var config7 = {
|
438
|
+
position: true,
|
439
|
+
zIndex: {
|
440
|
+
property: "zIndex",
|
441
|
+
scale: "zIndices"
|
442
|
+
},
|
443
|
+
top: {
|
444
|
+
property: "top",
|
445
|
+
scale: "space",
|
446
|
+
defaultScale: defaults3.space
|
447
|
+
},
|
448
|
+
right: {
|
449
|
+
property: "right",
|
450
|
+
scale: "space",
|
451
|
+
defaultScale: defaults3.space
|
452
|
+
},
|
453
|
+
bottom: {
|
454
|
+
property: "bottom",
|
455
|
+
scale: "space",
|
456
|
+
defaultScale: defaults3.space
|
457
|
+
},
|
458
|
+
left: {
|
459
|
+
property: "left",
|
460
|
+
scale: "space",
|
461
|
+
defaultScale: defaults3.space
|
462
|
+
}
|
463
|
+
};
|
464
|
+
var position = system(config7);
|
465
|
+
var index_esm_default7 = position;
|
466
|
+
|
467
|
+
// node_modules/@class101/styled-system__space/dist/index.esm.js
|
468
|
+
init_react_shim();
|
469
|
+
var defaults4 = {
|
470
|
+
space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
|
471
|
+
};
|
472
|
+
var isNumber3 = function isNumber4(n) {
|
473
|
+
return typeof n === "number" && !isNaN(n);
|
474
|
+
};
|
475
|
+
var getMargin = function getMargin2(n, scale) {
|
476
|
+
if (!isNumber3(n)) {
|
477
|
+
return get(scale, n, n);
|
478
|
+
}
|
479
|
+
var isNegative = n < 0;
|
480
|
+
var absolute = Math.abs(n);
|
481
|
+
var value = get(scale, absolute, absolute);
|
482
|
+
if (!isNumber3(value)) {
|
483
|
+
return isNegative ? "-" + value : value;
|
484
|
+
}
|
485
|
+
return value * (isNegative ? -1 : 1);
|
486
|
+
};
|
487
|
+
var configs = {};
|
488
|
+
configs.margin = {
|
489
|
+
margin: {
|
490
|
+
property: "margin",
|
491
|
+
scale: "space",
|
492
|
+
transform: getMargin,
|
493
|
+
defaultScale: defaults4.space
|
494
|
+
},
|
495
|
+
marginTop: {
|
496
|
+
property: "marginTop",
|
497
|
+
scale: "space",
|
498
|
+
transform: getMargin,
|
499
|
+
defaultScale: defaults4.space
|
500
|
+
},
|
501
|
+
marginRight: {
|
502
|
+
property: "marginRight",
|
503
|
+
scale: "space",
|
504
|
+
transform: getMargin,
|
505
|
+
defaultScale: defaults4.space
|
506
|
+
},
|
507
|
+
marginBottom: {
|
508
|
+
property: "marginBottom",
|
509
|
+
scale: "space",
|
510
|
+
transform: getMargin,
|
511
|
+
defaultScale: defaults4.space
|
512
|
+
},
|
513
|
+
marginLeft: {
|
514
|
+
property: "marginLeft",
|
515
|
+
scale: "space",
|
516
|
+
transform: getMargin,
|
517
|
+
defaultScale: defaults4.space
|
518
|
+
},
|
519
|
+
marginX: {
|
520
|
+
properties: ["marginLeft", "marginRight"],
|
521
|
+
scale: "space",
|
522
|
+
transform: getMargin,
|
523
|
+
defaultScale: defaults4.space
|
524
|
+
},
|
525
|
+
marginY: {
|
526
|
+
properties: ["marginTop", "marginBottom"],
|
527
|
+
scale: "space",
|
528
|
+
transform: getMargin,
|
529
|
+
defaultScale: defaults4.space
|
530
|
+
}
|
531
|
+
};
|
532
|
+
configs.margin.m = configs.margin.margin;
|
533
|
+
configs.margin.mt = configs.margin.marginTop;
|
534
|
+
configs.margin.mr = configs.margin.marginRight;
|
535
|
+
configs.margin.mb = configs.margin.marginBottom;
|
536
|
+
configs.margin.ml = configs.margin.marginLeft;
|
537
|
+
configs.margin.mx = configs.margin.marginX;
|
538
|
+
configs.margin.my = configs.margin.marginY;
|
539
|
+
configs.padding = {
|
540
|
+
padding: {
|
541
|
+
property: "padding",
|
542
|
+
scale: "space",
|
543
|
+
defaultScale: defaults4.space
|
544
|
+
},
|
545
|
+
paddingTop: {
|
546
|
+
property: "paddingTop",
|
547
|
+
scale: "space",
|
548
|
+
defaultScale: defaults4.space
|
549
|
+
},
|
550
|
+
paddingRight: {
|
551
|
+
property: "paddingRight",
|
552
|
+
scale: "space",
|
553
|
+
defaultScale: defaults4.space
|
554
|
+
},
|
555
|
+
paddingBottom: {
|
556
|
+
property: "paddingBottom",
|
557
|
+
scale: "space",
|
558
|
+
defaultScale: defaults4.space
|
559
|
+
},
|
560
|
+
paddingLeft: {
|
561
|
+
property: "paddingLeft",
|
562
|
+
scale: "space",
|
563
|
+
defaultScale: defaults4.space
|
564
|
+
},
|
565
|
+
paddingX: {
|
566
|
+
properties: ["paddingLeft", "paddingRight"],
|
567
|
+
scale: "space",
|
568
|
+
defaultScale: defaults4.space
|
569
|
+
},
|
570
|
+
paddingY: {
|
571
|
+
properties: ["paddingTop", "paddingBottom"],
|
572
|
+
scale: "space",
|
573
|
+
defaultScale: defaults4.space
|
574
|
+
}
|
575
|
+
};
|
576
|
+
configs.padding.p = configs.padding.padding;
|
577
|
+
configs.padding.pt = configs.padding.paddingTop;
|
578
|
+
configs.padding.pr = configs.padding.paddingRight;
|
579
|
+
configs.padding.pb = configs.padding.paddingBottom;
|
580
|
+
configs.padding.pl = configs.padding.paddingLeft;
|
581
|
+
configs.padding.px = configs.padding.paddingX;
|
582
|
+
configs.padding.py = configs.padding.paddingY;
|
583
|
+
var margin = system(configs.margin);
|
584
|
+
var padding = system(configs.padding);
|
585
|
+
var space = compose(margin, padding);
|
586
|
+
|
587
|
+
// node_modules/@class101/styled-system__shadow/dist/index.esm.js
|
588
|
+
init_react_shim();
|
589
|
+
var shadow = system({
|
590
|
+
boxShadow: {
|
591
|
+
property: "boxShadow",
|
592
|
+
scale: "shadows"
|
593
|
+
},
|
594
|
+
textShadow: {
|
595
|
+
property: "textShadow",
|
596
|
+
scale: "shadows"
|
597
|
+
}
|
598
|
+
});
|
599
|
+
|
600
|
+
// node_modules/@class101/styled-system__variant/dist/index.esm.js
|
601
|
+
init_react_shim();
|
602
|
+
|
603
|
+
// node_modules/@class101/styled-system__css/dist/index.esm.js
|
604
|
+
init_react_shim();
|
605
|
+
function _extends() {
|
606
|
+
_extends = Object.assign || function(target) {
|
607
|
+
for (var i = 1; i < arguments.length; i++) {
|
608
|
+
var source = arguments[i];
|
609
|
+
for (var key in source) {
|
610
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
611
|
+
target[key] = source[key];
|
612
|
+
}
|
613
|
+
}
|
614
|
+
}
|
615
|
+
return target;
|
616
|
+
};
|
617
|
+
return _extends.apply(this, arguments);
|
618
|
+
}
|
619
|
+
var get3 = function get4(obj, key, def, p, undef) {
|
620
|
+
key = key && key.split ? key.split(".") : [key];
|
621
|
+
for (p = 0; p < key.length; p++) {
|
622
|
+
obj = obj ? obj[key[p]] : undef;
|
623
|
+
}
|
624
|
+
return obj === undef ? def : obj;
|
625
|
+
};
|
626
|
+
var defaultBreakpoints = [40, 52, 64].map(function(n) {
|
627
|
+
return n + "em";
|
628
|
+
});
|
629
|
+
var defaultTheme = {
|
630
|
+
space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
|
631
|
+
fontSizes: [12, 14, 16, 20, 24, 32, 48, 64, 72]
|
632
|
+
};
|
633
|
+
var aliases = {
|
634
|
+
bg: "backgroundColor",
|
635
|
+
m: "margin",
|
636
|
+
mt: "marginTop",
|
637
|
+
mr: "marginRight",
|
638
|
+
mb: "marginBottom",
|
639
|
+
ml: "marginLeft",
|
640
|
+
mx: "marginX",
|
641
|
+
my: "marginY",
|
642
|
+
p: "padding",
|
643
|
+
pt: "paddingTop",
|
644
|
+
pr: "paddingRight",
|
645
|
+
pb: "paddingBottom",
|
646
|
+
pl: "paddingLeft",
|
647
|
+
px: "paddingX",
|
648
|
+
py: "paddingY"
|
649
|
+
};
|
650
|
+
var multiples = {
|
651
|
+
marginX: ["marginLeft", "marginRight"],
|
652
|
+
marginY: ["marginTop", "marginBottom"],
|
653
|
+
paddingX: ["paddingLeft", "paddingRight"],
|
654
|
+
paddingY: ["paddingTop", "paddingBottom"],
|
655
|
+
size: ["width", "height"]
|
656
|
+
};
|
657
|
+
var scales = {
|
658
|
+
color: "colors",
|
659
|
+
backgroundColor: "colors",
|
660
|
+
borderColor: "colors",
|
661
|
+
margin: "space",
|
662
|
+
marginTop: "space",
|
663
|
+
marginRight: "space",
|
664
|
+
marginBottom: "space",
|
665
|
+
marginLeft: "space",
|
666
|
+
marginX: "space",
|
667
|
+
marginY: "space",
|
668
|
+
padding: "space",
|
669
|
+
paddingTop: "space",
|
670
|
+
paddingRight: "space",
|
671
|
+
paddingBottom: "space",
|
672
|
+
paddingLeft: "space",
|
673
|
+
paddingX: "space",
|
674
|
+
paddingY: "space",
|
675
|
+
top: "space",
|
676
|
+
right: "space",
|
677
|
+
bottom: "space",
|
678
|
+
left: "space",
|
679
|
+
gridGap: "space",
|
680
|
+
gridColumnGap: "space",
|
681
|
+
gridRowGap: "space",
|
682
|
+
gap: "space",
|
683
|
+
columnGap: "space",
|
684
|
+
rowGap: "space",
|
685
|
+
fontFamily: "fonts",
|
686
|
+
fontSize: "fontSizes",
|
687
|
+
fontWeight: "fontWeights",
|
688
|
+
lineHeight: "lineHeights",
|
689
|
+
letterSpacing: "letterSpacings",
|
690
|
+
border: "borders",
|
691
|
+
borderTop: "borders",
|
692
|
+
borderRight: "borders",
|
693
|
+
borderBottom: "borders",
|
694
|
+
borderLeft: "borders",
|
695
|
+
borderWidth: "borderWidths",
|
696
|
+
borderStyle: "borderStyles",
|
697
|
+
borderRadius: "radii",
|
698
|
+
borderTopRightRadius: "radii",
|
699
|
+
borderTopLeftRadius: "radii",
|
700
|
+
borderBottomRightRadius: "radii",
|
701
|
+
borderBottomLeftRadius: "radii",
|
702
|
+
borderTopWidth: "borderWidths",
|
703
|
+
borderTopColor: "colors",
|
704
|
+
borderTopStyle: "borderStyles",
|
705
|
+
borderBottomWidth: "borderWidths",
|
706
|
+
borderBottomColor: "colors",
|
707
|
+
borderBottomStyle: "borderStyles",
|
708
|
+
borderLeftWidth: "borderWidths",
|
709
|
+
borderLeftColor: "colors",
|
710
|
+
borderLeftStyle: "borderStyles",
|
711
|
+
borderRightWidth: "borderWidths",
|
712
|
+
borderRightColor: "colors",
|
713
|
+
borderRightStyle: "borderStyles",
|
714
|
+
outlineColor: "colors",
|
715
|
+
boxShadow: "shadows",
|
716
|
+
textShadow: "shadows",
|
717
|
+
zIndex: "zIndices",
|
718
|
+
width: "sizes",
|
719
|
+
minWidth: "sizes",
|
720
|
+
maxWidth: "sizes",
|
721
|
+
height: "sizes",
|
722
|
+
minHeight: "sizes",
|
723
|
+
maxHeight: "sizes",
|
724
|
+
flexBasis: "sizes",
|
725
|
+
size: "sizes",
|
726
|
+
fill: "colors",
|
727
|
+
stroke: "colors"
|
728
|
+
};
|
729
|
+
var positiveOrNegative = function positiveOrNegative2(scale, value) {
|
730
|
+
if (typeof value !== "number" || value >= 0) {
|
731
|
+
return get3(scale, value, value);
|
732
|
+
}
|
733
|
+
var absolute = Math.abs(value);
|
734
|
+
var n = get3(scale, absolute, absolute);
|
735
|
+
if (typeof n === "string")
|
736
|
+
return "-" + n;
|
737
|
+
return n * -1;
|
738
|
+
};
|
739
|
+
var transforms = ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "top", "bottom", "left", "right"].reduce(function(acc, curr) {
|
740
|
+
var _extends2;
|
741
|
+
return _extends({}, acc, (_extends2 = {}, _extends2[curr] = positiveOrNegative, _extends2));
|
742
|
+
}, {});
|
743
|
+
var responsive = function responsive2(styles) {
|
744
|
+
return function(theme) {
|
745
|
+
var next = {};
|
746
|
+
var breakpoints = get3(theme, "breakpoints", defaultBreakpoints);
|
747
|
+
var mediaQueries = [null].concat(breakpoints.map(function(n) {
|
748
|
+
return "@media screen and (min-width: " + n + ")";
|
749
|
+
}));
|
750
|
+
for (var key in styles) {
|
751
|
+
var value = typeof styles[key] === "function" ? styles[key](theme) : styles[key];
|
752
|
+
if (value == null)
|
753
|
+
continue;
|
754
|
+
if (!Array.isArray(value)) {
|
755
|
+
next[key] = value;
|
756
|
+
continue;
|
757
|
+
}
|
758
|
+
for (var i = 0; i < value.slice(0, mediaQueries.length).length; i++) {
|
759
|
+
var media = mediaQueries[i];
|
760
|
+
if (!media) {
|
761
|
+
next[key] = value[i];
|
762
|
+
continue;
|
763
|
+
}
|
764
|
+
next[media] = next[media] || {};
|
765
|
+
if (value[i] == null)
|
766
|
+
continue;
|
767
|
+
next[media][key] = value[i];
|
768
|
+
}
|
769
|
+
}
|
770
|
+
return next;
|
771
|
+
};
|
772
|
+
};
|
773
|
+
var css = function css2(args) {
|
774
|
+
return function(props) {
|
775
|
+
if (props === void 0) {
|
776
|
+
props = {};
|
777
|
+
}
|
778
|
+
var theme = _extends({}, defaultTheme, props.theme || props);
|
779
|
+
var result = {};
|
780
|
+
var obj = typeof args === "function" ? args(theme) : args;
|
781
|
+
var styles = responsive(obj)(theme);
|
782
|
+
for (var key in styles) {
|
783
|
+
var x = styles[key];
|
784
|
+
var val = typeof x === "function" ? x(theme) : x;
|
785
|
+
if (key === "variant") {
|
786
|
+
var variant3 = css2(get3(theme, val))(theme);
|
787
|
+
result = _extends({}, result, variant3);
|
788
|
+
continue;
|
789
|
+
}
|
790
|
+
if (val && typeof val === "object") {
|
791
|
+
result[key] = css2(val)(theme);
|
792
|
+
continue;
|
793
|
+
}
|
794
|
+
var prop = get3(aliases, key, key);
|
795
|
+
var scaleName = get3(scales, prop);
|
796
|
+
var scale = get3(theme, scaleName, get3(theme, prop, {}));
|
797
|
+
var transform = get3(transforms, prop, get3);
|
798
|
+
var value = transform(scale, val, val);
|
799
|
+
if (multiples[prop]) {
|
800
|
+
var dirs = multiples[prop];
|
801
|
+
for (var i = 0; i < dirs.length; i++) {
|
802
|
+
result[dirs[i]] = value;
|
803
|
+
}
|
804
|
+
} else {
|
805
|
+
result[prop] = value;
|
806
|
+
}
|
807
|
+
}
|
808
|
+
return result;
|
809
|
+
};
|
810
|
+
};
|
811
|
+
var index_esm_default8 = css;
|
812
|
+
|
813
|
+
// node_modules/@class101/styled-system__variant/dist/index.esm.js
|
814
|
+
var variant = function variant2(_ref) {
|
815
|
+
var _config;
|
816
|
+
var scale = _ref.scale, _ref$prop = _ref.prop, prop = _ref$prop === void 0 ? "variant" : _ref$prop, _ref$variants = _ref.variants, variants = _ref$variants === void 0 ? {} : _ref$variants, key = _ref.key;
|
817
|
+
var sx;
|
818
|
+
if (Object.keys(variants).length) {
|
819
|
+
sx = function sx2(value, scale2, props) {
|
820
|
+
return index_esm_default8(get(scale2, value, null))(props.theme);
|
821
|
+
};
|
822
|
+
} else {
|
823
|
+
sx = function sx2(value, scale2) {
|
824
|
+
return get(scale2, value, null);
|
825
|
+
};
|
826
|
+
}
|
827
|
+
sx.scale = scale || key;
|
828
|
+
sx.defaults = variants;
|
829
|
+
var config9 = (_config = {}, _config[prop] = sx, _config);
|
830
|
+
var parser = createParser(config9);
|
831
|
+
return parser;
|
832
|
+
};
|
833
|
+
var buttonStyle = variant({
|
834
|
+
key: "buttons"
|
835
|
+
});
|
836
|
+
var textStyle = variant({
|
837
|
+
key: "textStyles",
|
838
|
+
prop: "textStyle"
|
839
|
+
});
|
840
|
+
var colorStyle = variant({
|
841
|
+
key: "colorStyles",
|
842
|
+
prop: "colors"
|
843
|
+
});
|
844
|
+
|
845
|
+
// node_modules/@class101/styled-system/dist/index.esm.js
|
846
|
+
init_react_shim();
|
847
|
+
|
848
|
+
// node_modules/@class101/styled-system__grid/dist/index.esm.js
|
849
|
+
init_react_shim();
|
850
|
+
var defaults5 = {
|
851
|
+
space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
|
852
|
+
};
|
853
|
+
var config8 = {
|
854
|
+
gridGap: {
|
855
|
+
property: "gridGap",
|
856
|
+
scale: "space",
|
857
|
+
defaultScale: defaults5.space
|
858
|
+
},
|
859
|
+
gridColumnGap: {
|
860
|
+
property: "gridColumnGap",
|
861
|
+
scale: "space",
|
862
|
+
defaultScale: defaults5.space
|
863
|
+
},
|
864
|
+
gridRowGap: {
|
865
|
+
property: "gridRowGap",
|
866
|
+
scale: "space",
|
867
|
+
defaultScale: defaults5.space
|
868
|
+
},
|
869
|
+
gridColumn: true,
|
870
|
+
gridRow: true,
|
871
|
+
gridAutoFlow: true,
|
872
|
+
gridAutoColumns: true,
|
873
|
+
gridAutoRows: true,
|
874
|
+
gridTemplateColumns: true,
|
875
|
+
gridTemplateRows: true,
|
876
|
+
gridTemplateAreas: true,
|
877
|
+
gridArea: true
|
878
|
+
};
|
879
|
+
var grid = system(config8);
|
880
|
+
var index_esm_default9 = grid;
|
881
|
+
|
882
|
+
// node_modules/@class101/styled-system/dist/index.esm.js
|
883
|
+
var width = index_esm_default.width;
|
884
|
+
var height = index_esm_default.height;
|
885
|
+
var minWidth = index_esm_default.minWidth;
|
886
|
+
var minHeight = index_esm_default.minHeight;
|
887
|
+
var maxWidth = index_esm_default.maxWidth;
|
888
|
+
var maxHeight = index_esm_default.maxHeight;
|
889
|
+
var size = index_esm_default.size;
|
890
|
+
var verticalAlign = index_esm_default.verticalAlign;
|
891
|
+
var display = index_esm_default.display;
|
892
|
+
var overflow = index_esm_default.overflow;
|
893
|
+
var overflowX = index_esm_default.overflowX;
|
894
|
+
var overflowY = index_esm_default.overflowY;
|
895
|
+
var opacity = index_esm_default2.opacity;
|
896
|
+
var fontSize = index_esm_default3.fontSize;
|
897
|
+
var fontFamily = index_esm_default3.fontFamily;
|
898
|
+
var fontWeight = index_esm_default3.fontWeight;
|
899
|
+
var lineHeight = index_esm_default3.lineHeight;
|
900
|
+
var textAlign = index_esm_default3.textAlign;
|
901
|
+
var fontStyle = index_esm_default3.fontStyle;
|
902
|
+
var letterSpacing = index_esm_default3.letterSpacing;
|
903
|
+
var alignItems = index_esm_default4.alignItems;
|
904
|
+
var alignContent = index_esm_default4.alignContent;
|
905
|
+
var justifyItems = index_esm_default4.justifyItems;
|
906
|
+
var justifyContent = index_esm_default4.justifyContent;
|
907
|
+
var flexWrap = index_esm_default4.flexWrap;
|
908
|
+
var flexDirection = index_esm_default4.flexDirection;
|
909
|
+
var flex = index_esm_default4.flex;
|
910
|
+
var flexGrow = index_esm_default4.flexGrow;
|
911
|
+
var flexShrink = index_esm_default4.flexShrink;
|
912
|
+
var flexBasis = index_esm_default4.flexBasis;
|
913
|
+
var justifySelf = index_esm_default4.justifySelf;
|
914
|
+
var alignSelf = index_esm_default4.alignSelf;
|
915
|
+
var order = index_esm_default4.order;
|
916
|
+
var gridGap = index_esm_default9.gridGap;
|
917
|
+
var gridColumnGap = index_esm_default9.gridColumnGap;
|
918
|
+
var gridRowGap = index_esm_default9.gridRowGap;
|
919
|
+
var gridColumn = index_esm_default9.gridColumn;
|
920
|
+
var gridRow = index_esm_default9.gridRow;
|
921
|
+
var gridAutoFlow = index_esm_default9.gridAutoFlow;
|
922
|
+
var gridAutoColumns = index_esm_default9.gridAutoColumns;
|
923
|
+
var gridAutoRows = index_esm_default9.gridAutoRows;
|
924
|
+
var gridTemplateColumns = index_esm_default9.gridTemplateColumns;
|
925
|
+
var gridTemplateRows = index_esm_default9.gridTemplateRows;
|
926
|
+
var gridTemplateAreas = index_esm_default9.gridTemplateAreas;
|
927
|
+
var gridArea = index_esm_default9.gridArea;
|
928
|
+
var borderWidth = index_esm_default5.borderWidth;
|
929
|
+
var borderStyle = index_esm_default5.borderStyle;
|
930
|
+
var borderColor = index_esm_default5.borderColor;
|
931
|
+
var borderTop = index_esm_default5.borderTop;
|
932
|
+
var borderRight = index_esm_default5.borderRight;
|
933
|
+
var borderBottom = index_esm_default5.borderBottom;
|
934
|
+
var borderLeft = index_esm_default5.borderLeft;
|
935
|
+
var borderRadius = index_esm_default5.borderRadius;
|
936
|
+
var backgroundImage = index_esm_default6.backgroundImage;
|
937
|
+
var backgroundSize = index_esm_default6.backgroundSize;
|
938
|
+
var backgroundPosition = index_esm_default6.backgroundPosition;
|
939
|
+
var backgroundRepeat = index_esm_default6.backgroundRepeat;
|
940
|
+
var zIndex = index_esm_default7.zIndex;
|
941
|
+
var top = index_esm_default7.top;
|
942
|
+
var right = index_esm_default7.right;
|
943
|
+
var bottom = index_esm_default7.bottom;
|
944
|
+
var left = index_esm_default7.left;
|
945
|
+
|
946
|
+
export {
|
947
|
+
system,
|
948
|
+
compose,
|
949
|
+
layout,
|
950
|
+
color,
|
951
|
+
typography,
|
952
|
+
flexbox,
|
953
|
+
border,
|
954
|
+
background,
|
955
|
+
position,
|
956
|
+
space,
|
957
|
+
shadow,
|
958
|
+
variant
|
959
|
+
};
|