@class101/cdn-ui-system 0.0.10 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/{chunk-AY54FCVA.js → chunk-3KYAQ2NT.js} +12 -2
- package/{chunk-KBR5BGSG.js → chunk-7BBOJQDQ.js} +6 -34
- package/chunk-7YEJCBTL.js +9145 -0
- package/chunk-CX6TK7VK.js +254 -0
- package/{chunk-7BJXCATJ.js → chunk-DNFIUSBY.js} +6 -13
- package/chunk-FUJTAKKV.js +42 -0
- package/{chunk-F522NW23.js → chunk-GDCJAODR.js} +7 -26
- package/chunk-HW26YLKP.js +21 -0
- package/{chunk-E2KIAABB.js → chunk-I6RNEIJ3.js} +1 -1
- package/{chunk-UAWCTQGC.js → chunk-IANUYI35.js} +72 -353
- package/chunk-IPJCOOHW.js +70 -0
- package/chunk-KAXHKCBQ.js +326 -0
- package/{chunk-2VS4JN2V.js → chunk-M6Q4VQQO.js} +14 -13
- package/{chunk-IMWQE6G2.js → chunk-PIK2PPCH.js} +3 -2
- package/{chunk-FTDRDLT4.js → chunk-PLVSTHAU.js} +2 -2
- package/chunk-PXGPVISY.js +29 -0
- package/{chunk-QN5Q5NTF.js → chunk-QFKGGJAB.js} +1 -1
- package/{chunk-FRNHAL35.js → chunk-RBRSEVW3.js} +16 -17
- package/chunk-SBVDM6EP.js +58 -0
- package/{chunk-AXJOQSVO.js → chunk-XYFEP7P7.js} +1 -1
- package/{chunk-IKYIYCM6.js → chunk-YJWVUALA.js} +8 -8
- package/contexts/ImageContext/ImageContext.js +2 -2
- package/contexts/ImageContext/index.js +2 -2
- package/contexts/LinkContext/LinkContext.js +2 -2
- package/contexts/LinkContext/index.js +2 -2
- 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 +12 -10
- package/core/colors/DarkModeColors.js +3 -2
- package/core/colors/LightModeColors.js +3 -2
- package/core/index.js +18 -8
- package/core/props/action.js +3 -3
- package/core/props/animator.js +3 -3
- package/core/props/background.js +10 -5
- package/core/props/border.js +25 -4
- package/core/props/color.js +3 -3
- package/core/props/flexbox.js +13 -5
- package/core/props/icon.js +3 -3
- package/core/props/image.js +10 -7
- package/core/props/index.js +40 -25
- package/core/props/layout.js +29 -4
- package/core/props/position.js +3 -3
- package/core/props/shadow.js +3 -3
- package/core/props/space.js +3 -3
- package/core/props/transform.js +29 -3
- package/core/props/transition.js +3 -3
- package/core/props/types/ResponsiveValue.js +1 -1
- package/core/props/types/SystemComponent.js +1 -1
- package/core/props/typography.js +6 -3
- package/core/props/utils/calculateResponsiveValues.js +27 -0
- package/core/props/utils/getResponsiveValue.js +7 -6
- package/core/props/utils/skipForwardProps.js +2 -2
- package/core/props/video.js +3 -3
- package/core/theme/baseTheme.js +14 -3
- package/core/theme/defaultTheme.js +9 -9
- package/core/theme/signatureTheme.js +11 -10
- package/core/variants/baseVariant/baseVariant.js +4 -4
- package/core/variants/baseVariant/index.js +2 -2
- package/core/variants/makeStyled/index.js +11 -0
- package/core/variants/makeStyled/makeStyled.js +18 -0
- package/core/variants/propVariant/index.js +2 -2
- package/core/variants/propVariant/propVariant.js +9 -13
- package/core/variants/propVariant/propVariant.spec.js +10 -10
- 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 +2 -2
- package/core/variants/styleVariant/styleVariant.js +14 -11
- package/core/variants/styleVariant/styleVariant.spec.js +14 -12
- 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 +2 -2
- package/core/variants/system/system.js +21 -21
- 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 +12 -0
- package/hooks/useResponsiveValue/index.js +2 -2
- package/hooks/useResponsiveValue/useResponsiveValue.js +12 -8
- package/hooks/useWindowResizeEvent/index.js +10 -0
- package/hooks/useWindowResizeEvent/useWindowResizeEvent.js +27 -0
- package/index.js +159 -101
- package/lib/Accordion/Accordion.js +23 -16
- package/lib/Accordion/index.js +2 -2
- package/lib/Action/Action.js +12 -10
- package/lib/Action/index.js +2 -2
- package/lib/Alert/Alert.js +12 -10
- package/lib/Alert/index.js +2 -2
- package/lib/Animation/Animator/Animator.js +31 -20
- package/lib/Animation/Animator/index.js +2 -2
- package/lib/Animation/FadeAnimation/FadeAnimation.js +21 -15
- package/lib/Animation/FadeAnimation/index.js +2 -2
- package/lib/Animation/RotateAnimation/RotateAnimation.js +9 -8
- package/lib/Animation/RotateAnimation/index.js +2 -2
- package/lib/Animation/SlideAnimation/SlideAnimation.js +13 -10
- package/lib/Animation/SlideAnimation/index.js +2 -2
- package/lib/Animation/Transition/Transition.js +23 -15
- package/lib/Animation/Transition/index.js +2 -2
- package/lib/Avatar/Avatar.js +96 -88
- package/lib/Avatar/index.js +2 -2
- package/lib/Backdrop/Backdrop.js +11 -8
- package/lib/Backdrop/index.js +2 -2
- package/lib/Background/Background.js +11 -22
- package/lib/Background/index.js +2 -2
- package/lib/BackgroundImage/BackgroundImage.js +20 -0
- package/lib/BackgroundImage/index.js +10 -0
- package/lib/BreadCrumb/BreadCrumb.js +12 -12
- package/lib/BreadCrumb/index.js +2 -2
- package/lib/BulletPagination/BulletPagination.js +37 -0
- package/lib/BulletPagination/index.js +10 -0
- package/lib/Button/Button/Button.js +65 -18
- package/lib/Button/Button/index.js +2 -2
- package/lib/Button/ContainedButton/ContainedButton.js +143 -122
- package/lib/Button/ContainedButton/index.js +2 -2
- package/lib/Button/GhostButton/GhostButton.js +155 -0
- package/lib/Button/GhostButton/index.js +10 -0
- package/lib/Button/TextButton/TextButton.js +108 -110
- package/lib/Button/TextButton/index.js +2 -2
- 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 +1441 -0
- package/lib/Chip/InputChip/index.js +10 -0
- package/lib/ConditionalWrapper/ConditionalWrapper.js +2 -2
- package/lib/ConditionalWrapper/index.js +2 -2
- package/lib/ContentArea/ContentArea.js +40 -0
- package/lib/ContentArea/index.js +10 -0
- package/lib/Divider/Divider.js +13 -10
- package/lib/Divider/index.js +2 -2
- 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 +10 -9
- package/lib/Elevation/index.js +2 -2
- 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 +22 -23
- package/lib/Form/CheckBox/index.js +2 -2
- package/lib/Form/CheckBoxField/CheckBoxField.js +17 -15
- package/lib/Form/CheckBoxField/index.js +2 -2
- package/lib/Form/Description/Description.js +24 -25
- package/lib/Form/Description/index.js +2 -2
- package/lib/Form/FormField/FormField.js +6 -6
- package/lib/Form/FormField/index.js +2 -2
- package/lib/Form/HiddenInput/HiddenInput.js +22 -25
- package/lib/Form/HiddenInput/index.js +2 -2
- package/lib/Form/InlineTextLabel/InlineTextLabel.js +74 -19
- package/lib/Form/InlineTextLabel/index.js +2 -2
- package/lib/Form/Input/Input.js +19 -52
- package/lib/Form/Input/index.js +2 -2
- package/lib/Form/Label/Label.js +2 -2
- package/lib/Form/Label/index.js +2 -2
- 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 +15 -12
- package/lib/Form/Range/index.js +2 -2
- package/lib/Form/SearchInput/SearchInput.js +72 -0
- package/lib/Form/SearchInput/index.js +10 -0
- package/lib/Form/Select/Select.js +50 -45
- package/lib/Form/Select/index.js +2 -2
- package/lib/Form/SelectField/SelectField.js +19 -15
- package/lib/Form/SelectField/index.js +2 -2
- package/lib/Form/TextArea/TextArea.js +12 -9
- package/lib/Form/TextArea/index.js +2 -2
- package/lib/Form/TextAreaField/TextAreaField.js +28 -0
- package/lib/Form/TextAreaField/index.js +10 -0
- package/lib/Form/TextField/TextField.js +19 -15
- package/lib/Form/TextField/index.js +2 -2
- 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 +5 -5
- package/lib/Form/TextLabel/index.js +2 -2
- package/lib/GlobalStyle/GlobalStyle.js +25 -5
- package/lib/GlobalStyle/index.js +2 -2
- package/lib/GridList/GridList.js +31 -20
- package/lib/GridList/__mocks__/index.js +1 -1
- package/lib/GridList/index.js +2 -2
- package/lib/Highlight/Highlight.js +3 -3
- package/lib/Highlight/index.js +2 -2
- package/lib/HtmlContentStyle/HtmlContentStyle.js +31 -45
- package/lib/HtmlContentStyle/index.js +2 -2
- package/lib/Icon/Icon.js +1 -1
- package/lib/Icon/fill/Add.js +22 -12
- package/lib/Icon/fill/AddCircle.js +22 -12
- package/lib/Icon/fill/Alert.js +29 -19
- package/lib/Icon/fill/AlertCircle.js +22 -12
- package/lib/Icon/fill/Analysis.js +22 -12
- package/lib/Icon/fill/AppDownloadCircle.js +22 -12
- package/lib/Icon/fill/AppleCircle.js +22 -12
- package/lib/Icon/fill/Archive.js +22 -12
- package/lib/Icon/fill/ArrowDown.js +22 -12
- package/lib/Icon/fill/ArrowLeft.js +22 -12
- package/lib/Icon/fill/ArrowRight.js +22 -12
- package/lib/Icon/fill/ArrowUp.js +22 -12
- package/lib/Icon/fill/Badge.js +22 -12
- package/lib/Icon/fill/Bell.js +22 -12
- package/lib/Icon/fill/BellOff.js +22 -12
- package/lib/Icon/fill/Bold.js +22 -12
- package/lib/Icon/fill/Bookmark.js +22 -12
- package/lib/Icon/fill/Camera.js +22 -12
- package/lib/Icon/fill/Canlendar.js +22 -12
- package/lib/Icon/fill/Caption.js +25 -15
- package/lib/Icon/fill/Cart.js +32 -0
- package/lib/Icon/fill/Check.js +29 -19
- package/lib/Icon/fill/CheckCircle.js +22 -12
- package/lib/Icon/fill/CheckboxIndeterminated.js +22 -12
- package/lib/Icon/fill/CheckboxOff.js +22 -12
- package/lib/Icon/fill/CheckboxOn.js +22 -12
- package/lib/Icon/fill/ChevronDown.js +22 -12
- package/lib/Icon/fill/ChevronLeft.js +22 -12
- package/lib/Icon/fill/ChevronRight.js +22 -12
- package/lib/Icon/fill/ChevronUp.js +22 -12
- package/lib/Icon/fill/Clap.js +22 -12
- package/lib/Icon/fill/ClearStyle.js +22 -12
- package/lib/Icon/fill/Clip.js +22 -12
- package/lib/Icon/fill/Clock.js +29 -19
- package/lib/Icon/fill/Close.js +22 -12
- package/lib/Icon/fill/CloseCircle.js +22 -12
- package/lib/Icon/fill/Comment.js +22 -12
- package/lib/Icon/fill/Compass.js +22 -12
- package/lib/Icon/fill/Confetti.js +30 -20
- package/lib/Icon/fill/Contents.js +22 -12
- package/lib/Icon/fill/Copy.js +25 -15
- package/lib/Icon/fill/Coupon.js +22 -12
- package/lib/Icon/fill/CreditCard.js +22 -12
- package/lib/Icon/fill/Crop.js +22 -12
- package/lib/Icon/fill/Crown.js +22 -12
- package/lib/Icon/fill/DepositPassbook.js +22 -12
- package/lib/Icon/fill/Design.js +25 -15
- package/lib/Icon/fill/Development.js +22 -12
- package/lib/Icon/fill/DisclosureDown.js +22 -12
- package/lib/Icon/fill/DisclosureUp.js +22 -12
- package/lib/Icon/fill/Dislike.js +22 -12
- package/lib/Icon/fill/Divider.js +22 -12
- package/lib/Icon/fill/Download.js +25 -15
- package/lib/Icon/fill/DropDown.js +22 -12
- package/lib/Icon/fill/DropUp.js +22 -12
- package/lib/Icon/fill/Earybird.js +22 -12
- package/lib/Icon/fill/Edit.js +24 -14
- package/lib/Icon/fill/EyeOff.js +22 -12
- package/lib/Icon/fill/EyeOn.js +25 -15
- package/lib/Icon/fill/FacebookCircle.js +22 -12
- package/lib/Icon/fill/Filter.js +22 -12
- package/lib/Icon/fill/FullScreen.js +22 -12
- package/lib/Icon/fill/FullScreenExit.js +22 -12
- package/lib/Icon/fill/Gear.js +24 -14
- package/lib/Icon/fill/Ghost.js +22 -12
- package/lib/Icon/fill/Gift.js +22 -12
- package/lib/Icon/fill/Groove.js +22 -12
- package/lib/Icon/fill/Hashtag.js +22 -12
- package/lib/Icon/fill/Heart.js +22 -12
- package/lib/Icon/fill/HeartFull.js +22 -12
- package/lib/Icon/fill/HelpCircle.js +22 -12
- package/lib/Icon/fill/Home.js +22 -12
- package/lib/Icon/fill/Hot.js +22 -12
- package/lib/Icon/fill/InfoCircle.js +22 -12
- package/lib/Icon/fill/InstagramCircle.js +25 -15
- package/lib/Icon/fill/Laptop.js +22 -12
- package/lib/Icon/fill/Like.js +22 -12
- package/lib/Icon/fill/Link.js +25 -15
- package/lib/Icon/fill/LinkOutside.js +25 -15
- package/lib/Icon/fill/ListBullet.js +22 -12
- package/lib/Icon/fill/ListNumber.js +22 -12
- package/lib/Icon/fill/Location.js +22 -12
- package/lib/Icon/fill/LocationCurrent.js +22 -12
- package/lib/Icon/fill/Lock.js +22 -12
- package/lib/Icon/fill/LockOff.js +22 -12
- package/lib/Icon/fill/Logout.js +22 -12
- package/lib/Icon/fill/Menu.js +22 -12
- package/lib/Icon/fill/Message.js +28 -18
- package/lib/Icon/fill/Mic.js +25 -15
- package/lib/Icon/fill/Minus.js +22 -12
- package/lib/Icon/fill/MinusCircle.js +22 -12
- package/lib/Icon/fill/Mobile.js +22 -12
- package/lib/Icon/fill/Monitor.js +22 -12
- package/lib/Icon/fill/MoreHorizontal.js +22 -12
- package/lib/Icon/fill/MoreVertical.js +22 -12
- package/lib/Icon/fill/NaverCircle.js +22 -12
- package/lib/Icon/fill/Notice.js +22 -12
- package/lib/Icon/fill/Oa.js +22 -12
- package/lib/Icon/fill/Paper1.js +22 -12
- package/lib/Icon/fill/Paper2.js +22 -12
- package/lib/Icon/fill/Paper3.js +22 -12
- package/lib/Icon/fill/Person.js +25 -15
- package/lib/Icon/fill/Phone.js +22 -12
- package/lib/Icon/fill/Photo.js +25 -15
- package/lib/Icon/fill/PhotoAdd.js +25 -15
- package/lib/Icon/fill/PhotoDouble.js +28 -18
- package/lib/Icon/fill/Pin.js +22 -12
- package/lib/Icon/fill/Pip.js +25 -15
- package/lib/Icon/fill/Play.js +22 -12
- package/lib/Icon/fill/PlayBackA.js +28 -18
- package/lib/Icon/fill/PlayCircle.js +22 -12
- package/lib/Icon/fill/PlayFast.js +22 -12
- package/lib/Icon/fill/PlayFast10Sec.js +25 -15
- package/lib/Icon/fill/PlayFast15Sec.js +25 -15
- package/lib/Icon/fill/PlayFast5Sec.js +25 -15
- package/lib/Icon/fill/PlayNext.js +22 -12
- package/lib/Icon/fill/PlayPause.js +22 -12
- package/lib/Icon/fill/PlayPrev.js +22 -12
- package/lib/Icon/fill/PlayRewind10Sec.js +25 -15
- package/lib/Icon/fill/PlayRewind15Sec.js +25 -15
- package/lib/Icon/fill/PlayRewind5Sec.js +25 -15
- package/lib/Icon/fill/PlaySpeedX025.js +22 -12
- package/lib/Icon/fill/PlaySpeedX05.js +22 -12
- package/lib/Icon/fill/PlaySpeedX1.js +22 -12
- package/lib/Icon/fill/PlaySpeedX15.js +22 -12
- package/lib/Icon/fill/PlaySpeedX2.js +22 -12
- package/lib/Icon/fill/PlaystoreCircle.js +22 -12
- package/lib/Icon/fill/PointCircle.js +25 -15
- package/lib/Icon/fill/Project.js +22 -12
- package/lib/Icon/fill/Quote.js +22 -12
- package/lib/Icon/fill/QuoteReverse.js +22 -12
- package/lib/Icon/fill/Receipt.js +22 -12
- package/lib/Icon/fill/Repeat.js +22 -12
- package/lib/Icon/fill/Replay.js +25 -15
- package/lib/Icon/fill/Reply.js +22 -12
- package/lib/Icon/fill/Report.js +22 -12
- package/lib/Icon/fill/Rocket.js +22 -12
- package/lib/Icon/fill/RotateClockwise.js +29 -19
- package/lib/Icon/fill/Sad.js +22 -12
- package/lib/Icon/fill/Search.js +22 -12
- package/lib/Icon/fill/Send.js +22 -12
- package/lib/Icon/fill/Send2.js +22 -12
- package/lib/Icon/fill/Serious.js +22 -12
- package/lib/Icon/fill/Share.js +25 -15
- package/lib/Icon/fill/Sheild.js +22 -12
- package/lib/Icon/fill/ShippingTruck.js +25 -15
- package/lib/Icon/fill/Smile.js +22 -12
- package/lib/Icon/fill/SocialMedia.js +22 -12
- package/lib/Icon/fill/Sorting.js +28 -18
- package/lib/Icon/fill/Square.js +22 -12
- package/lib/Icon/fill/Star.js +22 -12
- package/lib/Icon/fill/StarFull.js +22 -12
- package/lib/Icon/fill/StarHalf.js +22 -12
- package/lib/Icon/fill/Stock.js +22 -12
- package/lib/Icon/fill/Store.js +22 -12
- package/lib/Icon/fill/Subtitle.js +22 -12
- package/lib/Icon/fill/TalkHelp.js +29 -19
- package/lib/Icon/fill/TextH1.js +22 -12
- package/lib/Icon/fill/TextH2.js +22 -12
- package/lib/Icon/fill/TextH3.js +22 -12
- package/lib/Icon/fill/ThunderCircle.js +22 -12
- package/lib/Icon/fill/Timer.js +22 -12
- package/lib/Icon/fill/ToggleOff.js +22 -12
- package/lib/Icon/fill/ToggleOn.js +22 -12
- package/lib/Icon/fill/ToteBag.js +22 -12
- package/lib/Icon/fill/Trash.js +22 -12
- package/lib/Icon/fill/TwitterCircle.js +22 -12
- package/lib/Icon/fill/Undo.js +22 -12
- package/lib/Icon/fill/Video.js +22 -12
- package/lib/Icon/fill/Volume.js +25 -15
- package/lib/Icon/fill/VolumeMute.js +22 -12
- package/lib/Icon/fill/Web.js +22 -12
- package/lib/Icon/fill/Won.js +22 -12
- package/lib/Icon/fill/WonBadge.js +22 -12
- package/lib/Icon/fill/WonCircle.js +22 -12
- package/lib/Icon/fill/Write.js +22 -12
- package/lib/Icon/fill/YoutubeCircle.js +25 -15
- package/lib/Icon/fill/index.js +179 -177
- package/lib/Icon/index.js +1 -1
- package/lib/Icon/regular/Add.js +22 -12
- package/lib/Icon/regular/AddCircle.js +25 -15
- package/lib/Icon/regular/Alert.js +25 -15
- package/lib/Icon/regular/AlertCircle.js +25 -15
- package/lib/Icon/regular/Analysis.js +22 -12
- package/lib/Icon/regular/AppDownloadCircle.js +28 -18
- package/lib/Icon/regular/AppleCircle.js +27 -17
- package/lib/Icon/regular/Archive.js +25 -15
- package/lib/Icon/regular/ArrowDown.js +22 -12
- package/lib/Icon/regular/ArrowLeft.js +22 -12
- package/lib/Icon/regular/ArrowRight.js +22 -12
- package/lib/Icon/regular/ArrowUp.js +22 -12
- package/lib/Icon/regular/Badge.js +25 -15
- package/lib/Icon/regular/Bell.js +27 -17
- package/lib/Icon/regular/BellOff.js +27 -17
- package/lib/Icon/regular/Bold.js +22 -12
- package/lib/Icon/regular/Bookmark.js +22 -12
- package/lib/Icon/regular/Camera.js +25 -15
- package/lib/Icon/regular/Canlendar.js +25 -15
- package/lib/Icon/regular/Caption.js +25 -15
- package/lib/Icon/regular/Cart.js +32 -0
- package/lib/Icon/regular/Check.js +22 -12
- package/lib/Icon/regular/CheckCircle.js +25 -15
- package/lib/Icon/regular/CheckboxIndeterminated.js +22 -12
- package/lib/Icon/regular/CheckboxOff.js +22 -12
- package/lib/Icon/regular/CheckboxOn.js +22 -12
- package/lib/Icon/regular/ChevronDown.js +22 -12
- package/lib/Icon/regular/ChevronLeft.js +22 -12
- package/lib/Icon/regular/ChevronRight.js +22 -12
- package/lib/Icon/regular/ChevronUp.js +22 -12
- package/lib/Icon/regular/Clap.js +25 -15
- package/lib/Icon/regular/ClearStyle.js +22 -12
- package/lib/Icon/regular/Clip.js +22 -12
- package/lib/Icon/regular/Clock.js +27 -17
- package/lib/Icon/regular/Close.js +22 -12
- package/lib/Icon/regular/CloseCircle.js +25 -15
- package/lib/Icon/regular/Comment.js +25 -15
- package/lib/Icon/regular/Compass.js +25 -15
- package/lib/Icon/regular/Confetti.js +22 -12
- package/lib/Icon/regular/Contents.js +25 -15
- package/lib/Icon/regular/Copy.js +25 -15
- package/lib/Icon/regular/Coupon.js +22 -12
- package/lib/Icon/regular/CreditCard.js +22 -12
- package/lib/Icon/regular/Crop.js +22 -12
- package/lib/Icon/regular/Crown.js +22 -12
- package/lib/Icon/regular/DepositPassbook.js +22 -12
- package/lib/Icon/regular/Design.js +25 -15
- package/lib/Icon/regular/Development.js +22 -12
- package/lib/Icon/regular/DisclosureDown.js +22 -12
- package/lib/Icon/regular/DisclosureUp.js +22 -12
- package/lib/Icon/regular/Dislike.js +29 -19
- package/lib/Icon/regular/Divider.js +22 -12
- package/lib/Icon/regular/Download.js +25 -15
- package/lib/Icon/regular/DropDown.js +22 -12
- package/lib/Icon/regular/DropUp.js +22 -12
- package/lib/Icon/regular/Earybird.js +25 -15
- package/lib/Icon/regular/Edit.js +22 -12
- package/lib/Icon/regular/EyeOff.js +22 -12
- package/lib/Icon/regular/EyeOn.js +25 -15
- package/lib/Icon/regular/FacebookCircle.js +27 -17
- package/lib/Icon/regular/Filter.js +22 -12
- package/lib/Icon/regular/FullScreen.js +22 -12
- package/lib/Icon/regular/FullScreenExit.js +22 -12
- package/lib/Icon/regular/Gear.js +24 -14
- package/lib/Icon/regular/Ghost.js +25 -15
- package/lib/Icon/regular/Gift.js +22 -12
- package/lib/Icon/regular/Groove.js +22 -12
- package/lib/Icon/regular/Hashtag.js +22 -12
- package/lib/Icon/regular/Heart.js +22 -12
- package/lib/Icon/regular/HeartFull.js +22 -12
- package/lib/Icon/regular/HelpCircle.js +25 -15
- package/lib/Icon/regular/Home.js +25 -15
- package/lib/Icon/regular/Hot.js +25 -15
- package/lib/Icon/regular/InfoCircle.js +25 -15
- package/lib/Icon/regular/InstagramCircle.js +28 -18
- package/lib/Icon/regular/Laptop.js +22 -12
- package/lib/Icon/regular/Like.js +22 -12
- package/lib/Icon/regular/Link.js +25 -15
- package/lib/Icon/regular/LinkOutside.js +25 -15
- package/lib/Icon/regular/ListBullet.js +22 -12
- package/lib/Icon/regular/ListNumber.js +22 -12
- package/lib/Icon/regular/Location.js +25 -15
- package/lib/Icon/regular/LocationCurrent.js +22 -12
- package/lib/Icon/regular/Lock.js +25 -15
- package/lib/Icon/regular/LockOff.js +25 -15
- package/lib/Icon/regular/Logout.js +22 -12
- package/lib/Icon/regular/Menu.js +22 -12
- package/lib/Icon/regular/Message.js +22 -12
- package/lib/Icon/regular/Mic.js +25 -15
- package/lib/Icon/regular/Minus.js +22 -12
- package/lib/Icon/regular/MinusCircle.js +25 -15
- package/lib/Icon/regular/Mobile.js +25 -15
- package/lib/Icon/regular/Monitor.js +22 -12
- package/lib/Icon/regular/MoreHorizontal.js +22 -12
- package/lib/Icon/regular/MoreVertical.js +22 -12
- package/lib/Icon/regular/NaverCircle.js +25 -15
- package/lib/Icon/regular/Notice.js +22 -12
- package/lib/Icon/regular/Oa.js +22 -12
- package/lib/Icon/regular/Paper1.js +22 -12
- package/lib/Icon/regular/Paper2.js +25 -15
- package/lib/Icon/regular/Paper3.js +25 -15
- package/lib/Icon/regular/Person.js +22 -12
- package/lib/Icon/regular/Phone.js +22 -12
- package/lib/Icon/regular/Photo.js +25 -15
- package/lib/Icon/regular/PhotoAdd.js +28 -18
- package/lib/Icon/regular/PhotoDouble.js +28 -18
- package/lib/Icon/regular/Pin.js +22 -12
- package/lib/Icon/regular/Pip.js +25 -15
- package/lib/Icon/regular/Play.js +22 -12
- package/lib/Icon/regular/PlayBackA.js +28 -18
- package/lib/Icon/regular/PlayCircle.js +25 -15
- package/lib/Icon/regular/PlayFast.js +22 -12
- package/lib/Icon/regular/PlayFast10Sec.js +25 -15
- package/lib/Icon/regular/PlayFast15Sec.js +25 -15
- package/lib/Icon/regular/PlayFast5Sec.js +25 -15
- package/lib/Icon/regular/PlayNext.js +22 -12
- package/lib/Icon/regular/PlayPause.js +22 -12
- package/lib/Icon/regular/PlayPrev.js +22 -12
- package/lib/Icon/regular/PlayRewind10Sec.js +25 -15
- package/lib/Icon/regular/PlayRewind15Sec.js +25 -15
- package/lib/Icon/regular/PlayRewind5Sec.js +25 -15
- package/lib/Icon/regular/PlaySpeedX025.js +22 -12
- package/lib/Icon/regular/PlaySpeedX05.js +22 -12
- package/lib/Icon/regular/PlaySpeedX1.js +22 -12
- package/lib/Icon/regular/PlaySpeedX15.js +22 -12
- package/lib/Icon/regular/PlaySpeedX2.js +22 -12
- package/lib/Icon/regular/PlaystoreCircle.js +25 -15
- package/lib/Icon/regular/PointCircle.js +25 -15
- package/lib/Icon/regular/Project.js +22 -12
- package/lib/Icon/regular/Quote.js +22 -12
- package/lib/Icon/regular/QuoteReverse.js +22 -12
- package/lib/Icon/regular/Receipt.js +25 -15
- package/lib/Icon/regular/Repeat.js +22 -12
- package/lib/Icon/regular/Replay.js +25 -15
- package/lib/Icon/regular/Reply.js +27 -17
- package/lib/Icon/regular/Report.js +22 -12
- package/lib/Icon/regular/Rocket.js +25 -15
- package/lib/Icon/regular/RotateClockwise.js +22 -12
- package/lib/Icon/regular/Sad.js +28 -18
- package/lib/Icon/regular/Search.js +22 -12
- package/lib/Icon/regular/Send.js +22 -12
- package/lib/Icon/regular/Send2.js +22 -12
- package/lib/Icon/regular/Serious.js +25 -15
- package/lib/Icon/regular/Share.js +25 -15
- package/lib/Icon/regular/Sheild.js +25 -15
- package/lib/Icon/regular/ShippingTruck.js +22 -12
- package/lib/Icon/regular/Smile.js +25 -15
- package/lib/Icon/regular/SocialMedia.js +25 -15
- package/lib/Icon/regular/Sorting.js +28 -18
- package/lib/Icon/regular/Square.js +22 -12
- package/lib/Icon/regular/Star.js +22 -12
- package/lib/Icon/regular/StarFull.js +22 -12
- package/lib/Icon/regular/StarHalf.js +22 -12
- package/lib/Icon/regular/Stock.js +22 -12
- package/lib/Icon/regular/Store.js +22 -12
- package/lib/Icon/regular/Subtitle.js +25 -15
- package/lib/Icon/regular/TalkHelp.js +25 -15
- package/lib/Icon/regular/TextH1.js +22 -12
- package/lib/Icon/regular/TextH2.js +22 -12
- package/lib/Icon/regular/TextH3.js +22 -12
- package/lib/Icon/regular/ThunderCircle.js +25 -15
- package/lib/Icon/regular/Timer.js +27 -17
- package/lib/Icon/regular/ToggleOff.js +22 -12
- package/lib/Icon/regular/ToggleOn.js +22 -12
- package/lib/Icon/regular/ToteBag.js +22 -12
- package/lib/Icon/regular/Trash.js +25 -15
- package/lib/Icon/regular/Twitter.js +32 -0
- package/lib/Icon/regular/TwitterCircle.js +25 -15
- package/lib/Icon/regular/Undo.js +22 -12
- package/lib/Icon/regular/Video.js +25 -15
- package/lib/Icon/regular/Volume.js +25 -15
- package/lib/Icon/regular/VolumeMute.js +22 -12
- package/lib/Icon/regular/Web.js +22 -12
- package/lib/Icon/regular/Won.js +22 -12
- package/lib/Icon/regular/WonBadge.js +25 -15
- package/lib/Icon/regular/WonCircle.js +25 -15
- package/lib/Icon/regular/Write.js +22 -12
- package/lib/Icon/regular/YoutubeCircle.js +25 -15
- package/lib/Icon/regular/index.js +181 -177
- package/lib/Icon/thin/Add.js +22 -12
- package/lib/Icon/thin/AddCircle.js +25 -15
- package/lib/Icon/thin/Alert.js +31 -21
- package/lib/Icon/thin/AlertCircle.js +25 -15
- package/lib/Icon/thin/Analysis.js +22 -12
- package/lib/Icon/thin/AppDownloadCircle.js +25 -15
- package/lib/Icon/thin/AppleCircle.js +27 -17
- package/lib/Icon/thin/Archive.js +25 -15
- package/lib/Icon/thin/ArrowDown.js +22 -12
- package/lib/Icon/thin/ArrowLeft.js +22 -12
- package/lib/Icon/thin/ArrowRight.js +22 -12
- package/lib/Icon/thin/ArrowUp.js +22 -12
- package/lib/Icon/thin/Badge.js +25 -15
- package/lib/Icon/thin/Bell.js +22 -12
- package/lib/Icon/thin/BellOff.js +22 -12
- package/lib/Icon/thin/Bold.js +22 -12
- package/lib/Icon/thin/Bookmark.js +22 -12
- package/lib/Icon/thin/Camera.js +25 -15
- package/lib/Icon/thin/Canlendar.js +25 -15
- package/lib/Icon/thin/Caption.js +25 -15
- package/lib/Icon/thin/Cart.js +32 -0
- package/lib/Icon/thin/Check.js +22 -12
- package/lib/Icon/thin/CheckCircle.js +25 -15
- package/lib/Icon/thin/CheckboxIndeterminated.js +24 -14
- package/lib/Icon/thin/CheckboxOff.js +22 -12
- package/lib/Icon/thin/CheckboxOn.js +24 -14
- package/lib/Icon/thin/ChevronDown.js +22 -12
- package/lib/Icon/thin/ChevronLeft.js +22 -12
- package/lib/Icon/thin/ChevronRight.js +22 -12
- package/lib/Icon/thin/ChevronUp.js +22 -12
- package/lib/Icon/thin/Clap.js +22 -12
- package/lib/Icon/thin/ClearStyle.js +22 -12
- package/lib/Icon/thin/Clip.js +22 -12
- package/lib/Icon/thin/Clock.js +25 -15
- package/lib/Icon/thin/Close.js +22 -12
- package/lib/Icon/thin/CloseCircle.js +25 -15
- package/lib/Icon/thin/Comment.js +25 -15
- package/lib/Icon/thin/Compass.js +25 -15
- package/lib/Icon/thin/Confetti.js +22 -12
- package/lib/Icon/thin/Contents.js +25 -15
- package/lib/Icon/thin/Copy.js +25 -15
- package/lib/Icon/thin/Coupon.js +22 -12
- package/lib/Icon/thin/CreditCard.js +22 -12
- package/lib/Icon/thin/Crop.js +22 -12
- package/lib/Icon/thin/Crown.js +22 -12
- package/lib/Icon/thin/DepositPassbook.js +22 -12
- package/lib/Icon/thin/Design.js +25 -15
- package/lib/Icon/thin/Development.js +22 -12
- package/lib/Icon/thin/DisclosureDown.js +22 -12
- package/lib/Icon/thin/DisclosureUp.js +22 -12
- package/lib/Icon/thin/Dislike.js +29 -19
- package/lib/Icon/thin/Divider.js +22 -12
- package/lib/Icon/thin/Download.js +25 -15
- package/lib/Icon/thin/DropDown.js +22 -12
- package/lib/Icon/thin/DropUp.js +22 -12
- package/lib/Icon/thin/Earybird.js +25 -15
- package/lib/Icon/thin/Edit.js +22 -12
- package/lib/Icon/thin/EyeOff.js +22 -12
- package/lib/Icon/thin/EyeOn.js +25 -15
- package/lib/Icon/thin/FacebookCircle.js +27 -17
- package/lib/Icon/thin/Filter.js +22 -12
- package/lib/Icon/thin/FullScreen.js +22 -12
- package/lib/Icon/thin/FullScreenExit.js +22 -12
- package/lib/Icon/thin/Gear.js +22 -12
- package/lib/Icon/thin/Ghost.js +25 -15
- package/lib/Icon/thin/Gift.js +22 -12
- package/lib/Icon/thin/Groove.js +22 -12
- package/lib/Icon/thin/Hashtag.js +22 -12
- package/lib/Icon/thin/Heart.js +22 -12
- package/lib/Icon/thin/HeartFull.js +22 -12
- package/lib/Icon/thin/HelpCircle.js +25 -15
- package/lib/Icon/thin/Home.js +25 -15
- package/lib/Icon/thin/Hot.js +25 -15
- package/lib/Icon/thin/InfoCircle.js +25 -15
- package/lib/Icon/thin/InstagramCircle.js +28 -18
- package/lib/Icon/thin/Laptop.js +22 -12
- package/lib/Icon/thin/Like.js +22 -12
- package/lib/Icon/thin/Link.js +25 -15
- package/lib/Icon/thin/LinkOutside.js +25 -15
- package/lib/Icon/thin/ListBullet.js +22 -12
- package/lib/Icon/thin/ListNumber.js +22 -12
- package/lib/Icon/thin/Location.js +25 -15
- package/lib/Icon/thin/LocationCurrent.js +22 -12
- package/lib/Icon/thin/Lock.js +25 -15
- package/lib/Icon/thin/LockOff.js +25 -15
- package/lib/Icon/thin/Logout.js +22 -12
- package/lib/Icon/thin/Menu.js +22 -12
- package/lib/Icon/thin/Message.js +22 -12
- package/lib/Icon/thin/Mic.js +25 -15
- package/lib/Icon/thin/Minus.js +22 -12
- package/lib/Icon/thin/MinusCircle.js +25 -15
- package/lib/Icon/thin/Mobile.js +25 -15
- package/lib/Icon/thin/Monitor.js +22 -12
- package/lib/Icon/thin/MoreHorizontal.js +22 -12
- package/lib/Icon/thin/MoreVertical.js +22 -12
- package/lib/Icon/thin/NaverCircle.js +25 -15
- package/lib/Icon/thin/Notice.js +22 -12
- package/lib/Icon/thin/Oa.js +22 -12
- package/lib/Icon/thin/Paper1.js +22 -12
- package/lib/Icon/thin/Paper2.js +25 -15
- package/lib/Icon/thin/Paper3.js +25 -15
- package/lib/Icon/thin/Person.js +22 -12
- package/lib/Icon/thin/Phone.js +22 -12
- package/lib/Icon/thin/Photo.js +25 -15
- package/lib/Icon/thin/PhotoAdd.js +25 -15
- package/lib/Icon/thin/PhotoDouble.js +25 -15
- package/lib/Icon/thin/Pin.js +22 -12
- package/lib/Icon/thin/Pip.js +25 -15
- package/lib/Icon/thin/Play.js +22 -12
- package/lib/Icon/thin/PlayBackA.js +22 -12
- package/lib/Icon/thin/PlayCircle.js +25 -15
- package/lib/Icon/thin/PlayFast.js +22 -12
- package/lib/Icon/thin/PlayFast10Sec.js +25 -15
- package/lib/Icon/thin/PlayFast15Sec.js +25 -15
- package/lib/Icon/thin/PlayFast5Sec.js +25 -15
- package/lib/Icon/thin/PlayNext.js +22 -12
- package/lib/Icon/thin/PlayPause.js +22 -12
- package/lib/Icon/thin/PlayPrev.js +22 -12
- package/lib/Icon/thin/PlayRewind10Sec.js +25 -15
- package/lib/Icon/thin/PlayRewind15Sec.js +25 -15
- package/lib/Icon/thin/PlayRewind5Sec.js +25 -15
- package/lib/Icon/thin/PlaySpeedX025.js +22 -12
- package/lib/Icon/thin/PlaySpeedX05.js +22 -12
- package/lib/Icon/thin/PlaySpeedX1.js +22 -12
- package/lib/Icon/thin/PlaySpeedX15.js +22 -12
- package/lib/Icon/thin/PlaySpeedX2.js +22 -12
- package/lib/Icon/thin/PlaystoreCircle.js +25 -15
- package/lib/Icon/thin/PointCircle.js +25 -15
- package/lib/Icon/thin/Project.js +22 -12
- package/lib/Icon/thin/Quote.js +22 -12
- package/lib/Icon/thin/QuoteReverse.js +22 -12
- package/lib/Icon/thin/Receipt.js +25 -15
- package/lib/Icon/thin/Repeat.js +22 -12
- package/lib/Icon/thin/Replay.js +25 -15
- package/lib/Icon/thin/Reply.js +25 -15
- package/lib/Icon/thin/Report.js +22 -12
- package/lib/Icon/thin/Rocket.js +25 -15
- package/lib/Icon/thin/RotateClockwise.js +25 -15
- package/lib/Icon/thin/Sad.js +28 -18
- package/lib/Icon/thin/Search.js +22 -12
- package/lib/Icon/thin/Send.js +22 -12
- package/lib/Icon/thin/Send2.js +22 -12
- package/lib/Icon/thin/Serious.js +31 -21
- package/lib/Icon/thin/Share.js +25 -15
- package/lib/Icon/thin/Sheild.js +25 -15
- package/lib/Icon/thin/ShippingTruck.js +22 -12
- package/lib/Icon/thin/Smile.js +28 -18
- package/lib/Icon/thin/SocialMedia.js +25 -15
- package/lib/Icon/thin/Sorting.js +22 -12
- package/lib/Icon/thin/Square.js +22 -12
- package/lib/Icon/thin/Star.js +22 -12
- package/lib/Icon/thin/StarFull.js +22 -12
- package/lib/Icon/thin/StarHalf.js +22 -12
- package/lib/Icon/thin/Stock.js +22 -12
- package/lib/Icon/thin/Store.js +22 -12
- package/lib/Icon/thin/Subtitle.js +25 -15
- package/lib/Icon/thin/TalkHelp.js +25 -15
- package/lib/Icon/thin/TextH1.js +22 -12
- package/lib/Icon/thin/TextH2.js +22 -12
- package/lib/Icon/thin/TextH3.js +22 -12
- package/lib/Icon/thin/ThunderCircle.js +25 -15
- package/lib/Icon/thin/Timer.js +25 -15
- package/lib/Icon/thin/ToggleOff.js +22 -12
- package/lib/Icon/thin/ToggleOn.js +22 -12
- package/lib/Icon/thin/ToteBag.js +22 -12
- package/lib/Icon/thin/Trash.js +25 -15
- package/lib/Icon/thin/TwitterCircle.js +25 -15
- package/lib/Icon/thin/Undo.js +22 -12
- package/lib/Icon/thin/Video.js +25 -15
- package/lib/Icon/thin/Volume.js +25 -15
- package/lib/Icon/thin/VolumeMute.js +25 -15
- package/lib/Icon/thin/Web.js +22 -12
- package/lib/Icon/thin/Won.js +22 -12
- package/lib/Icon/thin/WonBadge.js +25 -15
- package/lib/Icon/thin/WonCircle.js +25 -15
- package/lib/Icon/thin/Write.js +22 -12
- package/lib/Icon/thin/YoutubeCircle.js +25 -15
- package/lib/Icon/thin/index.js +179 -177
- package/lib/Icon/types.js +1 -1
- package/lib/ImageThumbnail/ImageThumbnail.js +27 -0
- package/lib/ImageThumbnail/index.js +10 -0
- package/lib/Layout/Center/Center.js +13 -24
- package/lib/Layout/Center/index.js +2 -2
- package/lib/Layout/HStack/HStack.js +14 -8
- package/lib/Layout/HStack/index.js +2 -2
- package/lib/Layout/Position/Position.js +4 -5
- package/lib/Layout/Position/index.js +2 -2
- package/lib/Layout/ResponsiveStack/ResponsiveStack.js +11 -7
- package/lib/Layout/ResponsiveStack/index.js +2 -2
- package/lib/Layout/VStack/VStack.js +14 -8
- package/lib/Layout/VStack/index.js +2 -2
- package/lib/Layout/ZStack/ZStack.js +34 -24
- package/lib/Layout/ZStack/index.js +2 -2
- package/lib/LinearGradient/LinearGradient.js +51 -0
- package/lib/LinearGradient/index.js +10 -0
- package/lib/Link/Link.js +15 -19
- package/lib/Link/index.js +2 -2
- package/lib/Linkify/Linkify.js +74 -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 +39 -20
- package/lib/Media/Image/index.js +2 -2
- package/lib/Media/Image/useActualSizes.js +37 -11
- package/lib/Media/SeekBar/SeekBar.js +6 -6
- package/lib/Media/SeekBar/index.js +2 -2
- package/lib/Media/Video/Video.js +7 -7
- package/lib/Media/Video/index.js +2 -2
- package/lib/Media/VideoCaption/VideoCaption.js +6 -6
- package/lib/Media/VideoCaption/index.js +2 -2
- package/lib/Media/VideoOverlay/VideoOverlay.js +19 -22
- package/lib/Media/VideoOverlay/index.js +2 -2
- package/lib/Media/VolumeBar/VolumeBar.js +10 -10
- package/lib/Media/VolumeBar/index.js +2 -2
- package/lib/Menu/Menu/Menu.js +15 -12
- package/lib/Menu/Menu/index.js +2 -2
- package/lib/Menu/MenuIcon/MenuIcon.js +11 -7
- package/lib/Menu/MenuIcon/index.js +2 -2
- package/lib/Menu/MenuItem/MenuItem.js +13 -13
- package/lib/Menu/MenuItem/index.js +2 -2
- package/lib/Menu/MenuText/MenuText.js +46 -41
- package/lib/Menu/MenuText/index.js +2 -2
- package/lib/Menu/MenuTextButton/MenuTextButton.js +12 -8
- package/lib/Menu/MenuTextButton/index.js +2 -2
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.js +34 -26
- package/lib/Menu/MenuTextButtonItem/index.js +2 -2
- package/lib/Menu/MenuTextItem/MenuTextItem.js +14 -10
- package/lib/Menu/MenuTextItem/index.js +2 -2
- package/lib/ModalBottomSheet/ModalBottomSheet.js +23 -27
- package/lib/ModalBottomSheet/index.js +3 -3
- package/lib/ModalBottomSheet/useModalBottomSheet.js +3 -3
- package/lib/NewLine/NewLine.js +9 -8
- package/lib/NewLine/index.js +2 -2
- package/lib/Opacity/Opacity.js +4 -3
- package/lib/Opacity/index.js +2 -2
- package/lib/Overlay/Overlay.js +6 -5
- package/lib/Overlay/index.js +2 -2
- package/lib/Pagination/Pagination.js +12 -11
- package/lib/Pagination/index.js +2 -2
- package/lib/Paper/Paper.js +111 -0
- package/lib/Paper/index.js +10 -0
- package/lib/PopoverBottomSheet/PopoverBottomSheet.js +57 -26
- package/lib/PopoverBottomSheet/index.js +2 -2
- package/lib/Portal/Portal.js +20 -12
- package/lib/Portal/index.js +2 -2
- package/lib/Profile/Profile.js +5 -5
- package/lib/Profile/index.js +2 -2
- package/lib/ProfileLabel/ProfileLabel.js +88 -64
- package/lib/ProfileLabel/index.js +2 -2
- package/lib/Progress/ProgressBar/ProgressBar.js +8 -8
- package/lib/Progress/ProgressBar/index.js +2 -2
- package/lib/Progress/ProgressStep/ProgressStep.js +61 -58
- package/lib/Progress/ProgressStep/index.js +2 -2
- package/lib/Rank/Rank.js +17 -17
- package/lib/Rank/index.js +2 -2
- package/lib/Ratio/Ratio.js +40 -41
- package/lib/Ratio/index.js +2 -2
- 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 +14 -22
- package/lib/Section/index.js +2 -2
- package/lib/SectionHeader/SectionHeader.js +11 -10
- package/lib/SectionHeader/index.js +2 -2
- 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 +22 -18
- package/lib/Skeleton/index.js +2 -2
- package/lib/SlideList/SlideList.js +12 -12
- package/lib/SlideList/__mocks__/index.js +1 -1
- package/lib/SlideList/index.js +2 -2
- package/lib/Slider/Slider.js +1226 -123
- package/lib/Slider/hooks/usePageControl.js +98 -0
- package/lib/Slider/index.js +4 -4
- 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 +11 -10
- package/lib/SliderSection/index.js +2 -2
- package/lib/Space/Space.js +26 -0
- package/lib/Space/index.js +10 -0
- package/lib/Spinner/Spinner.js +30 -21
- package/lib/Spinner/index.js +2 -2
- package/lib/Svg/Svg.js +49 -0
- package/lib/Svg/index.js +10 -0
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +2 -2
- package/lib/Tab/ScrollTabPanel/index.js +2 -2
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +6 -6
- package/lib/Tab/ScrollTabPanelWithObserver/index.js +2 -2
- package/lib/Tab/ScrollTabs/ScrollTabs.js +40 -30
- package/lib/Tab/ScrollTabs/index.js +2 -2
- package/lib/Tab/Tab/Tab.js +36 -48
- package/lib/Tab/Tab/index.js +2 -2
- package/lib/Tab/ViewPagerTabPanel/ViewPagerTabPanel.js +8 -5
- package/lib/Tab/ViewPagerTabPanel/index.js +2 -2
- package/lib/Tab/ViewPagerTabs/ViewPagerTabs.js +43 -18
- package/lib/Tab/ViewPagerTabs/index.js +2 -2
- package/lib/Table/Table.js +7452 -0
- package/lib/Table/index.js +10 -0
- package/lib/Tag/Chip/Chip.js +62 -68
- package/lib/Tag/Chip/index.js +2 -2
- package/lib/Tag/IconBadge/IconBadge.js +21 -17
- package/lib/Tag/IconBadge/index.js +2 -2
- package/lib/Tag/StateTag/StateTag.js +18 -14
- package/lib/Tag/StateTag/index.js +2 -2
- package/lib/Tag/Tag/Tag.js +17 -23
- package/lib/Tag/Tag/index.js +2 -2
- package/lib/Tooltip/Tooltip.js +184 -0
- package/lib/Tooltip/index.js +10 -0
- package/lib/Typography/Body/Body.js +20 -9
- package/lib/Typography/Body/index.js +2 -2
- package/lib/Typography/Paragraph/Paragraph.js +13 -9
- package/lib/Typography/Paragraph/index.js +2 -2
- package/lib/Typography/Text/Text.js +42 -45
- package/lib/Typography/Text/index.js +2 -2
- package/lib/Typography/Title/Title.js +18 -13
- package/lib/Typography/Title/index.js +2 -2
- package/lib/Underline/Underline.js +42 -52
- package/lib/Underline/index.js +2 -2
- package/lib/ViewPager/ViewPager.js +11 -7
- package/lib/ViewPager/index.js +2 -2
- package/lib/ViewPager/type.js +1 -1
- package/lib/ViewPagerItem/ViewPagerItem.js +5 -5
- package/lib/ViewPagerItem/index.js +2 -2
- package/lib/VirtualizedList/VirtualizedList.js +49 -0
- package/lib/VirtualizedList/index.js +10 -0
- package/lib/VirtualizedList/variants.js +6 -0
- package/lib/deprecated/Slide/Slide.js +3 -3
- package/lib/deprecated/Slide/index.js +1 -1
- package/lib/deprecated/Swiper/Swiper.js +11 -9
- package/lib/deprecated/Swiper/hooks/useAutoPlay.js +3 -3
- package/lib/deprecated/Swiper/hooks/useSwiper.js +465 -13
- package/lib/deprecated/Swiper/index.js +1 -1
- package/lib/deprecated/Swiper/types/SwiperOptions.js +1 -1
- package/{mime-types-XQXFL7W2.js → mime-types-HSLMJAIU.js} +3 -3
- package/package.json +3 -2
- package/private/Bar/Bar.js +4 -4
- package/private/Bar/index.js +2 -2
- package/private/Box/Box.js +6 -5
- package/private/Box/index.js +2 -2
- package/private/Box/variants.js +6 -0
- package/private/ForwardStyle/ForwardStyle.js +10 -22
- package/private/ForwardStyle/StyledChildren.js +34 -0
- package/private/ForwardStyle/index.js +2 -2
- package/private/Stack/Stack.js +69 -66
- package/private/Stack/index.js +2 -2
- package/private/Transform/Transform.js +4 -5
- package/private/Transform/index.js +2 -2
- package/@types/image.d.js +0 -6
- package/@types/theme.d.js +0 -8
- package/chunk-44GVNF2V.js +0 -39
- package/chunk-5UMHOQ7R.js +0 -38
- package/chunk-CPDZ2HQZ.js +0 -38
- package/chunk-FRH3NN2M.js +0 -38
- package/chunk-K4FOIOQK.js +0 -43
- package/chunk-K4YVFYII.js +0 -462
- package/chunk-LVICGF6E.js +0 -49
- package/chunk-RGF42JSA.js +0 -40
- package/chunk-UMKGAET2.js +0 -63
- package/lib/Animation/Animator/Animator.stories.js +0 -69
- package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +0 -45
- package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +0 -38
- package/lib/Animation/Transition/Transition.stories.js +0 -54
- package/lib/Background/Background.stories.js +0 -38
- package/lib/Button/ButtonIcon/ButtonIcon.js +0 -57
- package/lib/Button/ButtonIcon/index.js +0 -10
- package/lib/Button/IconButton/IconButton.js +0 -144
- package/lib/Button/IconButton/index.js +0 -10
- package/lib/Button/TextButton/TextButton.stories.js +0 -9
- package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +0 -43
- package/lib/Divider/Divider.stories.js +0 -81
- package/lib/Elevation/Elevation.stories.js +0 -36
- package/lib/Form/Description/Description.stories.js +0 -37
- package/lib/Form/FormField/FormField.stories.js +0 -9
- package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +0 -47
- package/lib/Form/Input/Input.stories.js +0 -9
- package/lib/Form/Label/Label.stories.js +0 -51
- package/lib/Form/Select/Select.stories.js +0 -9
- package/lib/Form/SelectField/SelectField.stories.js +0 -27
- package/lib/Form/TextField/TextField.stories.js +0 -33
- package/lib/Form/TextLabel/TextLabel.stories.js +0 -34
- package/lib/Frame/Frame.js +0 -73
- package/lib/Frame/index.js +0 -10
- package/lib/Highlight/Highlight.stories.js +0 -30
- package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +0 -22
- package/lib/Layout/Center/Center.stories.js +0 -43
- package/lib/Layout/Position/Position.stories.js +0 -42
- package/lib/Link/Link.stories.js +0 -37
- package/lib/Media/Image/Image.stories.js +0 -27
- package/lib/Menu/Menu/Menu.stories.js +0 -36
- package/lib/Menu/MenuIcon/MenuIcon.stories.js +0 -31
- package/lib/Menu/MenuItem/MenuItem.stories.js +0 -9
- package/lib/Menu/MenuText/MenuText.stories.js +0 -9
- package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +0 -10
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +0 -39
- package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +0 -30
- package/lib/Opacity/Opacity.stories.js +0 -33
- package/lib/Overlay/Overlay.stories.js +0 -33
- package/lib/Pagination/Pagination.stories.js +0 -37
- package/lib/Progress/ProgressBar/ProgressBar.stories.js +0 -57
- package/lib/Progress/ProgressStep/ProgressStep.stories.js +0 -43
- package/lib/Rank/Rank.stories.js +0 -39
- package/lib/Ratio/Ratio.stories.js +0 -34
- package/lib/Section/Section.stories.js +0 -49
- package/lib/SlideList/SlideList.stories.js +0 -60
- package/lib/Slider/Slider.stories.js +0 -47
- package/lib/Slider/__mocks__/index.js +0 -51
- package/lib/Slider/constants.js +0 -22
- package/lib/Slider/internalHooks/useAutoPlay.js +0 -40
- package/lib/Slider/internalHooks/usePageControl.js +0 -44
- package/lib/Slider/internalHooks/useVirtual.js +0 -27
- package/lib/Slider/useSlider.js +0 -42
- package/lib/SliderSection/SliderSection.stories.js +0 -84
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +0 -21
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +0 -21
- package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +0 -58
- package/lib/Tab/Tab/Tab.stories.js +0 -47
- package/lib/Tag/Chip/Chip.stories.js +0 -56
- package/lib/Tag/Tag/Tag.stories.js +0 -42
- package/lib/Typography/Body/Body.stories.js +0 -36
- package/lib/Typography/Caption/Caption.js +0 -23
- package/lib/Typography/Caption/Caption.stories.js +0 -43
- package/lib/Typography/Caption/index.js +0 -10
- package/lib/Typography/Paragraph/Paragraph.stories.js +0 -43
- package/lib/Typography/Title/Title.stories.js +0 -41
- package/lib/Underline/Underline.stories.js +0 -38
- package/lib/ViewPager/ViewPager.stories.js +0 -77
- package/lib/deprecated/Swiper/Swiper.stories.js +0 -184
- package/private/Box/Box.stories.js +0 -63
- package/private/ForwardStyle/ForwardStyle.stories.js +0 -26
- package/private/Space/Space.js +0 -15
- package/private/Space/Space.stories.js +0 -39
- package/private/Space/index.js +0 -10
- package/private/Svg/Svg.js +0 -37
- package/private/Svg/index.js +0 -10
- package/utils/appendCssUnit/appendCssUnit.js +0 -15
- package/utils/appendCssUnit/appendCssUnit.spec.js +0 -33
- package/utils/appendCssUnit/index.js +0 -10
- package/utils/index.js +0 -10
@@ -0,0 +1,37 @@
|
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
init_react_shim
|
4
|
+
} from "../../chunk-IPJCOOHW.js";
|
5
|
+
|
6
|
+
// libs/shared/ui-system/src/lib/BulletPagination/BulletPagination.tsx
|
7
|
+
init_react_shim();
|
8
|
+
import { Box } from "../../private/Box/index.js";
|
9
|
+
import { HStack } from "../Layout/HStack/index.js";
|
10
|
+
var BulletPagination = ({
|
11
|
+
totalPage,
|
12
|
+
currentIndex,
|
13
|
+
defaultColor = "gray.300",
|
14
|
+
activeColor = "orange.500",
|
15
|
+
onChange
|
16
|
+
}) => {
|
17
|
+
const handleChange = (index) => () => {
|
18
|
+
onChange == null ? void 0 : onChange(index);
|
19
|
+
};
|
20
|
+
const isActiveIndex = (index) => index === currentIndex;
|
21
|
+
return /* @__PURE__ */ React.createElement(HStack, {
|
22
|
+
as: "ul",
|
23
|
+
spacing: 4,
|
24
|
+
alignment: "center"
|
25
|
+
}, [...Array(totalPage).keys()].map((key, index) => /* @__PURE__ */ React.createElement(Box, {
|
26
|
+
as: "li",
|
27
|
+
key,
|
28
|
+
width: isActiveIndex(index) ? 8 : 6,
|
29
|
+
height: isActiveIndex(index) ? 8 : 6,
|
30
|
+
backgroundColor: isActiveIndex(index) ? activeColor : defaultColor,
|
31
|
+
borderRadius: "50%",
|
32
|
+
onClick: handleChange(index)
|
33
|
+
})));
|
34
|
+
};
|
35
|
+
export {
|
36
|
+
BulletPagination
|
37
|
+
};
|
@@ -1,42 +1,89 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadProps,
|
5
|
+
__spreadValues,
|
3
6
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
7
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
8
|
|
6
9
|
// libs/shared/ui-system/src/lib/Button/Button/Button.tsx
|
7
10
|
init_react_shim();
|
8
|
-
import {forwardRef} from "react";
|
9
|
-
import {system} from "../../../core/index.js";
|
10
|
-
import {Box} from "../../../private/Box/index.js";
|
11
|
-
import {ForwardStyle} from "../../../private/ForwardStyle/index.js";
|
12
|
-
import {
|
13
|
-
|
14
|
-
|
11
|
+
import { forwardRef } from "react";
|
12
|
+
import { propsVariant, propVariant, system } from "../../../core/index.js";
|
13
|
+
import { Box } from "../../../private/Box/index.js";
|
14
|
+
import { ForwardStyle } from "../../../private/ForwardStyle/index.js";
|
15
|
+
import { ZStack } from "../../Layout/ZStack/index.js";
|
16
|
+
import { Link } from "../../Link/index.js";
|
17
|
+
import { Spinner } from "../../Spinner/index.js";
|
18
|
+
var Button = system()(propVariant({
|
19
|
+
prop: "size",
|
20
|
+
variants: {
|
21
|
+
sm: {
|
22
|
+
iconSize: 10
|
23
|
+
},
|
24
|
+
md: {
|
25
|
+
iconSize: 14
|
26
|
+
},
|
27
|
+
lg: {
|
28
|
+
iconSize: 16
|
29
|
+
},
|
30
|
+
xl: {
|
31
|
+
iconSize: 16
|
32
|
+
}
|
33
|
+
},
|
34
|
+
responsive: true,
|
35
|
+
skipForward: true
|
36
|
+
}), propsVariant({
|
37
|
+
props: [
|
38
|
+
{
|
39
|
+
name: "spinnerTheme",
|
40
|
+
skipForward: true
|
41
|
+
},
|
42
|
+
{
|
43
|
+
name: "iconSize",
|
44
|
+
responsive: true,
|
45
|
+
skipForward: true
|
46
|
+
}
|
47
|
+
],
|
48
|
+
variants: ({ spinnerTheme, iconSize }) => ({
|
49
|
+
SpinnerComponent: /* @__PURE__ */ React.createElement(Spinner, {
|
50
|
+
size: iconSize,
|
51
|
+
trackColor: spinnerTheme === "dark" ? "alpha.black.5" : "alpha.white.60",
|
52
|
+
color: spinnerTheme === "dark" ? "gray.500" : "gray.0"
|
53
|
+
})
|
54
|
+
})
|
55
|
+
}))(forwardRef((_a, ref) => {
|
56
|
+
var _b = _a, { disabled, as, to, loading, children, onClick, SpinnerComponent } = _b, props = __objRest(_b, ["disabled", "as", "to", "loading", "children", "onClick", "SpinnerComponent"]);
|
15
57
|
if (to) {
|
16
|
-
return /* @__PURE__ */ React.createElement(ForwardStyle, {
|
17
|
-
...props,
|
58
|
+
return /* @__PURE__ */ React.createElement(ForwardStyle, __spreadProps(__spreadValues({}, props), {
|
18
59
|
display: "inline-flex",
|
19
60
|
justifyContent: "center",
|
20
61
|
alignItems: "center",
|
21
62
|
border: "none",
|
22
63
|
cursor: disabled || loading ? "not-allowed" : "pointer"
|
23
|
-
}, /* @__PURE__ */ React.createElement(Link, {
|
64
|
+
}), /* @__PURE__ */ React.createElement(Link, {
|
24
65
|
to,
|
25
66
|
innerRef: ref,
|
26
|
-
onClick: loading ? (event) => event.preventDefault() : onClick
|
67
|
+
onClick: disabled || loading ? (event) => event.preventDefault() : onClick
|
27
68
|
}, children));
|
28
69
|
}
|
29
|
-
return /* @__PURE__ */ React.createElement(Box, {
|
30
|
-
|
31
|
-
as: as ?? "button",
|
70
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadProps(__spreadValues({}, props), {
|
71
|
+
as: as != null ? as : "button",
|
32
72
|
ref,
|
33
73
|
display: "inline-flex",
|
34
74
|
justifyContent: "center",
|
35
75
|
alignItems: "center",
|
36
|
-
|
76
|
+
borderWidth: 0,
|
37
77
|
cursor: disabled || loading ? "not-allowed" : "pointer",
|
38
|
-
onClick: loading ? (event) => event.preventDefault() : onClick
|
39
|
-
})
|
78
|
+
onClick: disabled || loading ? (event) => event.preventDefault() : onClick
|
79
|
+
}), loading ? /* @__PURE__ */ React.createElement(ZStack, {
|
80
|
+
as: "span",
|
81
|
+
verticalAlignment: "center",
|
82
|
+
horizontalAlignment: "center"
|
83
|
+
}, /* @__PURE__ */ React.createElement(Box, {
|
84
|
+
as: "span",
|
85
|
+
visibility: "hidden"
|
86
|
+
}, children), SpinnerComponent) : children);
|
40
87
|
}));
|
41
88
|
export {
|
42
89
|
Button
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-IPJCOOHW.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Button/Button/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Button} from "./Button.js";
|
7
|
+
import { Button } from "./Button.js";
|
8
8
|
export {
|
9
9
|
Button
|
10
10
|
};
|
@@ -1,109 +1,122 @@
|
|
1
|
+
import {
|
2
|
+
isDefined
|
3
|
+
} from "../../../chunk-3KYAQ2NT.js";
|
1
4
|
import {
|
2
5
|
React,
|
6
|
+
__objRest,
|
7
|
+
__spreadProps,
|
8
|
+
__spreadValues,
|
3
9
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
10
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
11
|
|
6
12
|
// libs/shared/ui-system/src/lib/Button/ContainedButton/ContainedButton.tsx
|
7
13
|
init_react_shim();
|
8
|
-
import {forwardRef} from "react";
|
9
|
-
import {propVariant, styleVariant, system} from "../../../core/index.js";
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
var ContainedButton = system()(propVariant({
|
18
|
-
prop: "size",
|
19
|
-
variants: {
|
20
|
-
sm: {
|
21
|
-
iconSize: 10,
|
22
|
-
iconGap: 2
|
23
|
-
},
|
24
|
-
md: {
|
25
|
-
iconSize: 14,
|
26
|
-
iconGap: 2
|
27
|
-
},
|
28
|
-
lg: {
|
29
|
-
iconSize: 16,
|
30
|
-
iconGap: 4
|
14
|
+
import { forwardRef } from "react";
|
15
|
+
import { propsVariant, propVariant, styleVariant, system } from "../../../core/index.js";
|
16
|
+
import { HStack } from "../../Layout/HStack/index.js";
|
17
|
+
import { Text } from "../../Typography/Text/index.js";
|
18
|
+
import { Button } from "../Button/index.js";
|
19
|
+
var ContainedButton = system()(propsVariant({
|
20
|
+
props: [
|
21
|
+
{
|
22
|
+
name: "IconComponent"
|
31
23
|
},
|
32
|
-
|
33
|
-
|
34
|
-
|
24
|
+
{
|
25
|
+
name: "size",
|
26
|
+
responsive: true
|
35
27
|
}
|
36
|
-
|
37
|
-
|
28
|
+
],
|
29
|
+
variants: ({ IconComponent, size }) => {
|
30
|
+
const iconStyle = size.map((value) => {
|
31
|
+
if (value === "xl") {
|
32
|
+
return {
|
33
|
+
size: isDefined(IconComponent) ? 20 : 16,
|
34
|
+
spacing: isDefined(IconComponent) ? 0 : 4
|
35
|
+
};
|
36
|
+
}
|
37
|
+
if (value === "lg") {
|
38
|
+
return {
|
39
|
+
size: isDefined(IconComponent) ? 18 : 16,
|
40
|
+
spacing: isDefined(IconComponent) ? 0 : 4
|
41
|
+
};
|
42
|
+
}
|
43
|
+
if (value === "md") {
|
44
|
+
return {
|
45
|
+
size: isDefined(IconComponent) ? 18 : 14,
|
46
|
+
spacing: isDefined(IconComponent) ? 0 : 2
|
47
|
+
};
|
48
|
+
}
|
49
|
+
return {
|
50
|
+
size: isDefined(IconComponent) ? 12 : 10,
|
51
|
+
spacing: isDefined(IconComponent) ? 0 : 2
|
52
|
+
};
|
53
|
+
});
|
54
|
+
return {
|
55
|
+
iconSize: iconStyle.map((style) => style.size),
|
56
|
+
iconGap: iconStyle.map((style) => style.spacing)
|
57
|
+
};
|
58
|
+
}
|
38
59
|
}), propVariant({
|
39
60
|
prop: "kind",
|
40
61
|
variants: {
|
41
62
|
primary: {
|
42
|
-
|
43
|
-
|
63
|
+
color: "gray.0",
|
64
|
+
fontWeight: "700",
|
65
|
+
iconFill: "gray.0",
|
66
|
+
spinnerTheme: "light",
|
67
|
+
backgroundColor: "primary.500"
|
44
68
|
},
|
45
69
|
secondary: {
|
46
|
-
|
47
|
-
|
70
|
+
color: "gray.0",
|
71
|
+
fontWeight: "700",
|
72
|
+
iconFill: "gray.0",
|
73
|
+
spinnerTheme: "light",
|
74
|
+
backgroundColor: "black"
|
48
75
|
},
|
49
76
|
tertiary: {
|
50
|
-
|
51
|
-
|
77
|
+
color: "gray.700",
|
78
|
+
fontWeight: "700",
|
79
|
+
iconFill: "gray.700",
|
80
|
+
spinnerTheme: "dark",
|
81
|
+
backgroundColor: "gray.100"
|
52
82
|
},
|
53
83
|
outline: {
|
54
|
-
|
55
|
-
|
84
|
+
color: "gray.900",
|
85
|
+
iconFill: "gray.900",
|
86
|
+
spinnerTheme: "dark",
|
87
|
+
backgroundColor: "gray.0"
|
56
88
|
}
|
57
89
|
}
|
90
|
+
}), propVariant({
|
91
|
+
prop: "disabled",
|
92
|
+
variants: {
|
93
|
+
true: {
|
94
|
+
color: "gray.500",
|
95
|
+
iconFill: "gray.500",
|
96
|
+
backgroundColor: "gray.100"
|
97
|
+
},
|
98
|
+
false: {}
|
99
|
+
},
|
100
|
+
defaultValue: false
|
58
101
|
}), styleVariant({
|
59
102
|
prop: "kind",
|
60
103
|
variants: {
|
61
104
|
primary: {
|
62
|
-
|
63
|
-
|
64
|
-
backgroundColor: "primary.500",
|
65
|
-
"svg > path": {fill: "white"},
|
66
|
-
"&:hover": {backgroundColor: "primary.700"},
|
67
|
-
"&:active": {backgroundColor: "primary.800"},
|
68
|
-
"&:disabled": {
|
69
|
-
color: "primary.200",
|
70
|
-
backgroundColor: "primary.100",
|
71
|
-
"svg > path": {fill: "primary.200"}
|
72
|
-
}
|
105
|
+
"&:hover": { backgroundColor: "primary.700" },
|
106
|
+
"&:active": { backgroundColor: "primary.800" }
|
73
107
|
},
|
74
108
|
secondary: {
|
75
|
-
|
76
|
-
|
77
|
-
"svg > path": {fill: "white"},
|
78
|
-
backgroundColor: "black",
|
79
|
-
"&:hover": {backgroundColor: "gray.800"},
|
80
|
-
"&:active": {backgroundColor: "gray.700"},
|
81
|
-
"&:disabled": {
|
82
|
-
color: "gray.400",
|
83
|
-
backgroundColor: "gray.100",
|
84
|
-
"svg > path": {fill: "gray.400"}
|
85
|
-
}
|
109
|
+
"&:hover": { backgroundColor: "gray.800" },
|
110
|
+
"&:active": { backgroundColor: "gray.700" }
|
86
111
|
},
|
87
112
|
tertiary: {
|
88
|
-
|
89
|
-
|
90
|
-
backgroundColor: "gray.100",
|
91
|
-
"svg > path": {fill: "gray.700"},
|
92
|
-
"&:hover": {backgroundColor: "gray.200"},
|
93
|
-
"&:active": {backgroundColor: "gray.300"},
|
94
|
-
"&:disabled": {
|
95
|
-
color: "gray.400",
|
96
|
-
backgroundColor: "gray.100",
|
97
|
-
"svg > path": {fill: "gray.400"}
|
98
|
-
}
|
113
|
+
"&:hover": { backgroundColor: "gray.200" },
|
114
|
+
"&:active": { backgroundColor: "gray.300" }
|
99
115
|
},
|
100
116
|
outline: {
|
101
|
-
color: "black",
|
102
|
-
backgroundColor: "white",
|
103
117
|
borderWidth: 1,
|
104
118
|
borderStyle: "solid",
|
105
|
-
borderColor: "gray.
|
106
|
-
"svg > path": {fill: "black"},
|
119
|
+
borderColor: "gray.400",
|
107
120
|
"&:hover": {
|
108
121
|
backgroundColor: "gray.200",
|
109
122
|
borderColor: "gray.400"
|
@@ -111,47 +124,38 @@ var ContainedButton = system()(propVariant({
|
|
111
124
|
"&:active": {
|
112
125
|
backgroundColor: "gray.300",
|
113
126
|
borderColor: "gray.500"
|
114
|
-
},
|
115
|
-
"&:disabled": {
|
116
|
-
color: "gray.400",
|
117
|
-
backgroundColor: "white",
|
118
|
-
borderColor: "gray.300",
|
119
|
-
"svg > path": {fill: "gray.400"}
|
120
127
|
}
|
121
128
|
}
|
122
|
-
}
|
123
|
-
|
124
|
-
}), styleVariant({
|
129
|
+
}
|
130
|
+
}), propVariant({
|
125
131
|
prop: "size",
|
126
132
|
variants: {
|
127
133
|
sm: {
|
128
134
|
height: 30,
|
129
135
|
paddingY: 8,
|
130
136
|
paddingX: 10,
|
131
|
-
|
137
|
+
kind: "body5"
|
132
138
|
},
|
133
139
|
md: {
|
134
140
|
height: 38,
|
135
141
|
paddingY: 10,
|
136
142
|
paddingX: 10,
|
137
|
-
|
143
|
+
kind: "body2"
|
138
144
|
},
|
139
145
|
lg: {
|
140
146
|
height: 44,
|
141
147
|
paddingY: 12,
|
142
148
|
paddingX: 12,
|
143
|
-
|
149
|
+
kind: "body1"
|
144
150
|
},
|
145
151
|
xl: {
|
146
152
|
height: 50,
|
147
153
|
paddingY: 14,
|
148
154
|
paddingX: 14,
|
149
|
-
|
150
|
-
...textWeightVariants.bold
|
155
|
+
kind: "body1"
|
151
156
|
}
|
152
157
|
},
|
153
|
-
responsive: true
|
154
|
-
skipForward: true
|
158
|
+
responsive: true
|
155
159
|
}), styleVariant({
|
156
160
|
prop: "full",
|
157
161
|
variants: {
|
@@ -163,38 +167,55 @@ var ContainedButton = system()(propVariant({
|
|
163
167
|
}
|
164
168
|
},
|
165
169
|
skipForward: true,
|
166
|
-
defaultValue: false
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
},
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
170
|
+
defaultValue: false,
|
171
|
+
responsive: true
|
172
|
+
}))(forwardRef((_a, ref) => {
|
173
|
+
var _b = _a, {
|
174
|
+
IconComponent,
|
175
|
+
StartIconComponent,
|
176
|
+
EndIconComponent,
|
177
|
+
iconSize,
|
178
|
+
iconGap,
|
179
|
+
children,
|
180
|
+
color,
|
181
|
+
kind,
|
182
|
+
iconFill
|
183
|
+
} = _b, props = __objRest(_b, [
|
184
|
+
"IconComponent",
|
185
|
+
"StartIconComponent",
|
186
|
+
"EndIconComponent",
|
187
|
+
"iconSize",
|
188
|
+
"iconGap",
|
189
|
+
"children",
|
190
|
+
"color",
|
191
|
+
"kind",
|
192
|
+
"iconFill"
|
193
|
+
]);
|
194
|
+
return /* @__PURE__ */ React.createElement(Button, __spreadProps(__spreadValues({}, props), {
|
195
|
+
ref,
|
196
|
+
borderRadius: 2
|
197
|
+
}), IconComponent ? /* @__PURE__ */ React.createElement(IconComponent, {
|
198
|
+
size: iconSize,
|
199
|
+
fill: iconFill
|
200
|
+
}) : /* @__PURE__ */ React.createElement(HStack, {
|
201
|
+
as: "span",
|
202
|
+
alignment: "center",
|
203
|
+
spacing: iconGap,
|
204
|
+
ml: children === void 0 || !StartIconComponent ? 2 : 0,
|
205
|
+
mr: children === void 0 || !EndIconComponent ? 2 : 0
|
206
|
+
}, StartIconComponent && /* @__PURE__ */ React.createElement(StartIconComponent, {
|
207
|
+
size: iconSize,
|
208
|
+
fill: iconFill
|
209
|
+
}), children !== void 0 && /* @__PURE__ */ React.createElement(Text, {
|
210
|
+
as: "span",
|
211
|
+
kind,
|
212
|
+
color,
|
213
|
+
weight: "bold"
|
214
|
+
}, children), EndIconComponent && /* @__PURE__ */ React.createElement(EndIconComponent, {
|
215
|
+
size: iconSize,
|
216
|
+
fill: iconFill
|
217
|
+
})));
|
218
|
+
}));
|
198
219
|
ContainedButton.forwardStyle = true;
|
199
220
|
export {
|
200
221
|
ContainedButton
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-IPJCOOHW.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Button/ContainedButton/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {ContainedButton} from "./ContainedButton.js";
|
7
|
+
import { ContainedButton } from "./ContainedButton.js";
|
8
8
|
export {
|
9
9
|
ContainedButton
|
10
10
|
};
|
@@ -0,0 +1,155 @@
|
|
1
|
+
import {
|
2
|
+
isDefined
|
3
|
+
} from "../../../chunk-3KYAQ2NT.js";
|
4
|
+
import {
|
5
|
+
React,
|
6
|
+
__objRest,
|
7
|
+
__spreadProps,
|
8
|
+
__spreadValues,
|
9
|
+
init_react_shim
|
10
|
+
} from "../../../chunk-IPJCOOHW.js";
|
11
|
+
|
12
|
+
// libs/shared/ui-system/src/lib/Button/GhostButton/GhostButton.tsx
|
13
|
+
init_react_shim();
|
14
|
+
import { forwardRef } from "react";
|
15
|
+
import { propsVariant, propVariant, styleVariant, system } from "../../../core/index.js";
|
16
|
+
import { Box } from "../../../private/Box/index.js";
|
17
|
+
import { HStack } from "../../Layout/HStack/index.js";
|
18
|
+
import { kindVariants as textKindVariants, weightVariants as textWeightVariants } from "../../Typography/Text/index.js";
|
19
|
+
import { Button } from "../Button/index.js";
|
20
|
+
var GhostButton = system()(propsVariant({
|
21
|
+
props: [
|
22
|
+
{
|
23
|
+
name: "IconComponent"
|
24
|
+
},
|
25
|
+
{ name: "children" },
|
26
|
+
{
|
27
|
+
name: "size",
|
28
|
+
responsive: true
|
29
|
+
}
|
30
|
+
],
|
31
|
+
variants: ({ children, size }) => {
|
32
|
+
const iconStyle = size.map((value) => {
|
33
|
+
if (value === "xl") {
|
34
|
+
return {
|
35
|
+
size: isDefined(children) ? 16 : 20,
|
36
|
+
spacing: isDefined(children) ? 4 : 0
|
37
|
+
};
|
38
|
+
}
|
39
|
+
if (value === "lg") {
|
40
|
+
return {
|
41
|
+
size: isDefined(children) ? 16 : 18,
|
42
|
+
spacing: isDefined(children) ? 4 : 0
|
43
|
+
};
|
44
|
+
}
|
45
|
+
if (value === "md") {
|
46
|
+
return {
|
47
|
+
size: isDefined(children) ? 14 : 18,
|
48
|
+
spacing: isDefined(children) ? 2 : 0
|
49
|
+
};
|
50
|
+
}
|
51
|
+
return {
|
52
|
+
size: isDefined(children) ? 10 : 12,
|
53
|
+
spacing: isDefined(children) ? 2 : 0
|
54
|
+
};
|
55
|
+
});
|
56
|
+
return {
|
57
|
+
iconSize: iconStyle.map((style) => style.size),
|
58
|
+
iconGap: iconStyle.map((style) => style.spacing)
|
59
|
+
};
|
60
|
+
}
|
61
|
+
}), propsVariant({
|
62
|
+
props: [{ name: "kind" }, { name: "disabled" }],
|
63
|
+
variants({ kind, disabled }) {
|
64
|
+
switch (kind) {
|
65
|
+
default:
|
66
|
+
case "primary":
|
67
|
+
return {
|
68
|
+
color: disabled ? "primary.200" : "primary.500",
|
69
|
+
iconFill: disabled ? "primary.200" : "primary.500"
|
70
|
+
};
|
71
|
+
case "secondary":
|
72
|
+
return {
|
73
|
+
color: disabled ? "gray.400" : "gray.1000",
|
74
|
+
iconFill: disabled ? "gray.400" : "gray.1000"
|
75
|
+
};
|
76
|
+
case "tertiary":
|
77
|
+
return {
|
78
|
+
color: disabled ? "gray.400" : "gray.700",
|
79
|
+
iconFill: disabled ? "gray.400" : "gray.700"
|
80
|
+
};
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}), styleVariant({
|
84
|
+
prop: "kind",
|
85
|
+
variants: {
|
86
|
+
primary: {
|
87
|
+
"&:hover": {
|
88
|
+
span: { color: "primary.700" }
|
89
|
+
},
|
90
|
+
"&:active": {
|
91
|
+
span: { color: "primary.800" }
|
92
|
+
}
|
93
|
+
},
|
94
|
+
secondary: {
|
95
|
+
"&:hover": {
|
96
|
+
span: { color: "gray.800" }
|
97
|
+
},
|
98
|
+
"&:active": {
|
99
|
+
span: { color: "gray.700" }
|
100
|
+
}
|
101
|
+
},
|
102
|
+
tertiary: {
|
103
|
+
"&:hover": {
|
104
|
+
span: { color: "gray.900" }
|
105
|
+
},
|
106
|
+
"&:active": {
|
107
|
+
span: { color: "gray.1000" }
|
108
|
+
}
|
109
|
+
}
|
110
|
+
},
|
111
|
+
skipForward: true
|
112
|
+
}), propVariant({
|
113
|
+
prop: "size",
|
114
|
+
variants: {
|
115
|
+
sm: __spreadValues({}, textKindVariants.body5),
|
116
|
+
md: __spreadValues({}, textKindVariants.body2),
|
117
|
+
lg: __spreadValues({}, textKindVariants.body1),
|
118
|
+
xl: __spreadValues(__spreadValues({}, textKindVariants.title5), textWeightVariants.bold)
|
119
|
+
},
|
120
|
+
responsive: true
|
121
|
+
}), styleVariant({
|
122
|
+
prop: "full",
|
123
|
+
variants: {
|
124
|
+
true: {
|
125
|
+
width: "100%"
|
126
|
+
},
|
127
|
+
false: {
|
128
|
+
width: "auto"
|
129
|
+
}
|
130
|
+
},
|
131
|
+
skipForward: true,
|
132
|
+
defaultValue: false
|
133
|
+
}))(forwardRef((_a, ref) => {
|
134
|
+
var _b = _a, { IconComponent, iconSize, iconGap, children, color, fontSize, lineHeight, iconFill } = _b, props = __objRest(_b, ["IconComponent", "iconSize", "iconGap", "children", "color", "fontSize", "lineHeight", "iconFill"]);
|
135
|
+
return /* @__PURE__ */ React.createElement(Button, __spreadProps(__spreadValues({}, props), {
|
136
|
+
ref,
|
137
|
+
borderRadius: 2,
|
138
|
+
spinnerTheme: "dark"
|
139
|
+
}), /* @__PURE__ */ React.createElement(HStack, {
|
140
|
+
alignment: "center",
|
141
|
+
spacing: iconGap
|
142
|
+
}, IconComponent && /* @__PURE__ */ React.createElement(IconComponent, {
|
143
|
+
size: iconSize,
|
144
|
+
fill: iconFill
|
145
|
+
}), children !== void 0 && /* @__PURE__ */ React.createElement(Box, {
|
146
|
+
as: "span",
|
147
|
+
color,
|
148
|
+
fontSize,
|
149
|
+
lineHeight
|
150
|
+
}, children)));
|
151
|
+
}));
|
152
|
+
GhostButton.forwardStyle = true;
|
153
|
+
export {
|
154
|
+
GhostButton
|
155
|
+
};
|