@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
package/lib/Tag/Chip/Chip.js
CHANGED
@@ -1,72 +1,76 @@
|
|
1
|
-
import {
|
2
|
-
emotion_styled_browser_esm_default
|
3
|
-
} from "../../../chunk-KBR5BGSG.js";
|
4
|
-
import {
|
5
|
-
variant
|
6
|
-
} from "../../../chunk-7BJXCATJ.js";
|
7
|
-
import "../../../chunk-AXJOQSVO.js";
|
8
|
-
import "../../../chunk-UAWCTQGC.js";
|
9
|
-
import "../../../chunk-QN5Q5NTF.js";
|
10
1
|
import {
|
11
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadValues,
|
12
5
|
init_react_shim
|
13
|
-
} from "../../../chunk-
|
6
|
+
} from "../../../chunk-IPJCOOHW.js";
|
14
7
|
|
15
8
|
// libs/shared/ui-system/src/lib/Tag/Chip/Chip.tsx
|
16
9
|
init_react_shim();
|
17
|
-
import {
|
18
|
-
import {Box} from "../../../private/Box/index.js";
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
10
|
+
import { propVariant, styleVariant, system } from "../../../core/index.js";
|
11
|
+
import { Box } from "../../../private/Box/index.js";
|
12
|
+
import { Icon } from "../../Icon/index.js";
|
13
|
+
import { kindVariants as textKindVariants } from "../../Typography/Text/index.js";
|
14
|
+
var Chip = system()(styleVariant({
|
15
|
+
prop: "kind",
|
16
|
+
variants: {
|
17
|
+
fill: {
|
18
|
+
backgroundColor: "gray.100",
|
19
|
+
"&:hover": {
|
20
|
+
backgroundColor: "gray.200"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
outline: {
|
24
|
+
backgroundColor: "white",
|
25
|
+
borderWidth: 1,
|
26
|
+
borderStyle: "solid",
|
27
|
+
borderColor: "gray.300"
|
28
|
+
},
|
29
|
+
selected: {
|
30
|
+
backgroundColor: "primary.100",
|
31
|
+
borderWidth: 1,
|
32
|
+
borderStyle: "solid",
|
33
|
+
borderColor: "primary.400",
|
34
|
+
color: "primary.400"
|
27
35
|
}
|
28
36
|
},
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
}
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
paddingX: 12,
|
42
|
-
paddingY: 6,
|
43
|
-
...textKindVariants.body3
|
37
|
+
defaultValue: "fill"
|
38
|
+
}), propVariant({
|
39
|
+
prop: "size",
|
40
|
+
variants: {
|
41
|
+
sm: __spreadValues({
|
42
|
+
paddingX: 12,
|
43
|
+
paddingY: 6
|
44
|
+
}, textKindVariants.body3),
|
45
|
+
md: __spreadValues({
|
46
|
+
paddingX: 16,
|
47
|
+
paddingY: 10
|
48
|
+
}, textKindVariants.body2)
|
44
49
|
},
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
case "add":
|
58
|
-
return Icon.Thin.Add;
|
59
|
-
default:
|
60
|
-
return () => /* @__PURE__ */ React.createElement(React.Fragment, null);
|
50
|
+
defaultValue: "sm"
|
51
|
+
}), propVariant({
|
52
|
+
prop: "action",
|
53
|
+
variants: {
|
54
|
+
add: {
|
55
|
+
ActionIconComponent: Icon.Thin.Add
|
56
|
+
},
|
57
|
+
delete: {
|
58
|
+
ActionIconComponent: Icon.Thin.Close
|
59
|
+
},
|
60
|
+
none: {
|
61
|
+
ActionIconComponent: null
|
61
62
|
}
|
62
|
-
},
|
63
|
-
|
63
|
+
},
|
64
|
+
defaultValue: "none"
|
65
|
+
}))((_a) => {
|
66
|
+
var _b = _a, { label, onAction, ActionIconComponent } = _b, restProps = __objRest(_b, ["label", "onAction", "ActionIconComponent"]);
|
67
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
64
68
|
display: "inline-flex",
|
65
69
|
alignItems: "center",
|
66
|
-
borderRadius: 24
|
67
|
-
|
68
|
-
}, label, action && /* @__PURE__ */ React.createElement(Box, {
|
70
|
+
borderRadius: 24
|
71
|
+
}, restProps), label, ActionIconComponent && /* @__PURE__ */ React.createElement(Box, {
|
69
72
|
as: "button",
|
73
|
+
type: "button",
|
70
74
|
ml: 4,
|
71
75
|
p: 0,
|
72
76
|
lineHeight: 0,
|
@@ -74,21 +78,11 @@ var Chip = emotion_styled_browser_esm_default((props) => {
|
|
74
78
|
border: "none",
|
75
79
|
cursor: "pointer",
|
76
80
|
onClick: onAction
|
77
|
-
}, /* @__PURE__ */ React.createElement(
|
81
|
+
}, /* @__PURE__ */ React.createElement(ActionIconComponent, {
|
78
82
|
size: 14,
|
79
83
|
fill: "black"
|
80
84
|
})));
|
81
|
-
}
|
82
|
-
prop: "kind",
|
83
|
-
variants: kindVariants
|
84
|
-
}), variant({
|
85
|
-
prop: "size",
|
86
|
-
variants: sizeVariants
|
87
|
-
}));
|
88
|
-
Chip.defaultProps = {
|
89
|
-
kind: "fill",
|
90
|
-
size: "sm"
|
91
|
-
};
|
85
|
+
});
|
92
86
|
export {
|
93
87
|
Chip
|
94
88
|
};
|
package/lib/Tag/Chip/index.js
CHANGED
@@ -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/Tag/Chip/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Chip} from "./Chip.js";
|
7
|
+
import { Chip } from "./Chip.js";
|
8
8
|
export {
|
9
9
|
Chip
|
10
10
|
};
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadValues,
|
3
5
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
6
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
7
|
|
6
8
|
// libs/shared/ui-system/src/lib/Tag/IconBadge/IconBadge.tsx
|
7
9
|
init_react_shim();
|
8
|
-
import {propVariant, system} from "../../../core/index.js";
|
9
|
-
import {Box} from "../../../private/Box/index.js";
|
10
|
+
import { propVariant, system } from "../../../core/index.js";
|
11
|
+
import { Box } from "../../../private/Box/index.js";
|
10
12
|
var IconBadge = system()(propVariant({
|
11
13
|
prop: "size",
|
12
14
|
variants: {
|
@@ -26,20 +28,22 @@ var IconBadge = system()(propVariant({
|
|
26
28
|
iconSize: 8
|
27
29
|
}
|
28
30
|
}
|
29
|
-
}))((
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
31
|
+
}))((_a) => {
|
32
|
+
var _b = _a, { iconSize, IconComponent } = _b, restProps = __objRest(_b, ["iconSize", "IconComponent"]);
|
33
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
34
|
+
backgroundColor: "black",
|
35
|
+
borderColor: "white",
|
36
|
+
borderStyle: "solid",
|
37
|
+
borderWidth: 2,
|
38
|
+
borderRadius: "50%",
|
39
|
+
display: "inline-flex",
|
40
|
+
justifyContent: "center",
|
41
|
+
alignItems: "center"
|
42
|
+
}, restProps), /* @__PURE__ */ React.createElement(IconComponent, {
|
43
|
+
size: iconSize,
|
44
|
+
fill: "white"
|
45
|
+
}));
|
46
|
+
});
|
43
47
|
export {
|
44
48
|
IconBadge
|
45
49
|
};
|
@@ -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/Tag/IconBadge/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {IconBadge} from "./IconBadge.js";
|
7
|
+
import { IconBadge } from "./IconBadge.js";
|
8
8
|
export {
|
9
9
|
IconBadge
|
10
10
|
};
|
@@ -1,13 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadValues,
|
3
5
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
6
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
7
|
|
6
8
|
// libs/shared/ui-system/src/lib/Tag/StateTag/StateTag.tsx
|
7
9
|
init_react_shim();
|
8
|
-
import {styleVariant, system} from "../../../core/index.js";
|
9
|
-
import {Box} from "../../../private/Box/index.js";
|
10
|
-
import {kindVariants as textKindVariants, weightVariants as textWeightVariants} from "../../Typography/Text/index.js";
|
10
|
+
import { styleVariant, system } from "../../../core/index.js";
|
11
|
+
import { Box } from "../../../private/Box/index.js";
|
12
|
+
import { kindVariants as textKindVariants, weightVariants as textWeightVariants } from "../../Typography/Text/index.js";
|
11
13
|
var StateTag = system()(styleVariant({
|
12
14
|
prop: "state",
|
13
15
|
variants: {
|
@@ -30,18 +32,20 @@ var StateTag = system()(styleVariant({
|
|
30
32
|
}), styleVariant({
|
31
33
|
prop: "size",
|
32
34
|
variants: {
|
33
|
-
sm: {paddingY: 4, paddingX: 8,
|
34
|
-
md: {paddingY: 6, paddingX: 8,
|
35
|
-
lg: {paddingX: 8, paddingY: 8,
|
35
|
+
sm: __spreadValues(__spreadValues({ paddingY: 4, paddingX: 8 }, textKindVariants.body6), textWeightVariants.semiBold),
|
36
|
+
md: __spreadValues(__spreadValues({ paddingY: 6, paddingX: 8 }, textKindVariants.body6), textWeightVariants.semiBold),
|
37
|
+
lg: __spreadValues(__spreadValues({ paddingX: 8, paddingY: 8 }, textKindVariants.body5), textWeightVariants.bold)
|
36
38
|
},
|
37
39
|
skipForward: true
|
38
|
-
}))((
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
}
|
40
|
+
}))((_a) => {
|
41
|
+
var _b = _a, { color = "violetBlue", state } = _b, props = __objRest(_b, ["color", "state"]);
|
42
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
43
|
+
display: "inline-block",
|
44
|
+
verticalAlign: "top",
|
45
|
+
borderRadius: 62,
|
46
|
+
backgroundColor: state === "accent" ? `${color}.500` : void 0
|
47
|
+
}, props));
|
48
|
+
});
|
45
49
|
export {
|
46
50
|
StateTag
|
47
51
|
};
|
@@ -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/Tag/StateTag/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {StateTag} from "./StateTag.js";
|
7
|
+
import { StateTag } from "./StateTag.js";
|
8
8
|
export {
|
9
9
|
StateTag
|
10
10
|
};
|
package/lib/Tag/Tag/Tag.js
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__spreadValues,
|
3
4
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
5
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
6
|
|
6
7
|
// libs/shared/ui-system/src/lib/Tag/Tag/Tag.tsx
|
7
8
|
init_react_shim();
|
8
|
-
import {styleVariant, system} from "../../../core/index.js";
|
9
|
-
import {Box} from "../../../private/Box/index.js";
|
10
|
-
import {kindVariants as textKindVariants, weightVariants as textWeightVariants} from "../../Typography/Text/index.js";
|
9
|
+
import { styleVariant, system } from "../../../core/index.js";
|
10
|
+
import { Box } from "../../../private/Box/index.js";
|
11
|
+
import { kindVariants as textKindVariants, weightVariants as textWeightVariants } from "../../Typography/Text/index.js";
|
11
12
|
var Tag = system()(styleVariant({
|
12
13
|
prop: "state",
|
13
14
|
variants: {
|
@@ -33,32 +34,25 @@ var Tag = system()(styleVariant({
|
|
33
34
|
}), styleVariant({
|
34
35
|
prop: "size",
|
35
36
|
variants: {
|
36
|
-
sm: {
|
37
|
+
sm: __spreadValues(__spreadValues({
|
37
38
|
paddingX: 6,
|
38
|
-
paddingY: 4
|
39
|
-
|
40
|
-
|
41
|
-
},
|
42
|
-
md: {
|
39
|
+
paddingY: 4
|
40
|
+
}, textKindVariants.body6), textWeightVariants.semiBold),
|
41
|
+
md: __spreadValues(__spreadValues({
|
43
42
|
paddingX: 6,
|
44
|
-
paddingY: 4
|
45
|
-
|
46
|
-
|
47
|
-
},
|
48
|
-
lg: {
|
43
|
+
paddingY: 4
|
44
|
+
}, textKindVariants.body5), textWeightVariants.bold),
|
45
|
+
lg: __spreadValues(__spreadValues({
|
49
46
|
paddingX: 12,
|
50
|
-
paddingY: 8
|
51
|
-
|
52
|
-
...textWeightVariants.bold
|
53
|
-
}
|
47
|
+
paddingY: 8
|
48
|
+
}, textKindVariants.title5), textWeightVariants.bold)
|
54
49
|
},
|
55
50
|
skipForward: true,
|
56
51
|
defaultValue: "sm"
|
57
|
-
}))((props) => /* @__PURE__ */ React.createElement(Box, {
|
52
|
+
}))((props) => /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
58
53
|
display: "inline-flex",
|
59
|
-
borderRadius: 2
|
60
|
-
|
61
|
-
}));
|
54
|
+
borderRadius: 2
|
55
|
+
}, props)));
|
62
56
|
Tag.forwardStyle = true;
|
63
57
|
export {
|
64
58
|
Tag
|
package/lib/Tag/Tag/index.js
CHANGED
@@ -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/Tag/Tag/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Tag} from "./Tag.js";
|
7
|
+
import { Tag } from "./Tag.js";
|
8
8
|
export {
|
9
9
|
Tag
|
10
10
|
};
|
@@ -0,0 +1,184 @@
|
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
__spreadProps,
|
4
|
+
__spreadValues,
|
5
|
+
init_react_shim
|
6
|
+
} from "../../chunk-IPJCOOHW.js";
|
7
|
+
|
8
|
+
// libs/shared/ui-system/src/lib/Tooltip/Tooltip.tsx
|
9
|
+
init_react_shim();
|
10
|
+
import { createElement, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
11
|
+
import { defaultTheme, propVariant, system } from "../../core/index.js";
|
12
|
+
import { useWindowResizeEvent } from "../../hooks/useWindowResizeEvent/index.js";
|
13
|
+
import { Box } from "../../private/Box/index.js";
|
14
|
+
import { FadeAnimation } from "../Animation/FadeAnimation/index.js";
|
15
|
+
import { Elevation } from "../Elevation/index.js";
|
16
|
+
import { Position } from "../Layout/Position/index.js";
|
17
|
+
import { Portal } from "../Portal/index.js";
|
18
|
+
import { Body } from "../Typography/Body/index.js";
|
19
|
+
var ANIMATION_TIME_MS = 500;
|
20
|
+
var Tooltip = system()(propVariant({
|
21
|
+
prop: "kind",
|
22
|
+
variants: {
|
23
|
+
default: {
|
24
|
+
backgroundColor: defaultTheme.colors.gray[900],
|
25
|
+
color: defaultTheme.colors.gray[100]
|
26
|
+
},
|
27
|
+
primary: {
|
28
|
+
backgroundColor: defaultTheme.colors.orange[600],
|
29
|
+
color: defaultTheme.colors.orange[100]
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}), propVariant({
|
33
|
+
prop: "position",
|
34
|
+
variants: {
|
35
|
+
top: {
|
36
|
+
tailStyle: {
|
37
|
+
top: "auto",
|
38
|
+
bottom: 0,
|
39
|
+
left: "calc(50% - 8px)",
|
40
|
+
right: "auto",
|
41
|
+
transform: void 0
|
42
|
+
}
|
43
|
+
},
|
44
|
+
bottom: {
|
45
|
+
tailStyle: {
|
46
|
+
top: 0,
|
47
|
+
bottom: "auto",
|
48
|
+
left: "calc(50% - 8px)",
|
49
|
+
right: "auto",
|
50
|
+
transform: "rotate(180deg)"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
left: {
|
54
|
+
tailStyle: {
|
55
|
+
top: "calc(50% - 4px)",
|
56
|
+
bottom: "auto",
|
57
|
+
left: "auto",
|
58
|
+
right: "-4px",
|
59
|
+
transform: "rotate(270deg)"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
right: {
|
63
|
+
tailStyle: {
|
64
|
+
top: "calc(50% - 4px)",
|
65
|
+
bottom: "auto",
|
66
|
+
left: "-4px",
|
67
|
+
right: "auto",
|
68
|
+
transform: "rotate(90deg)"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}))(({ opened, backgroundColor, position, tailStyle, color, contentTitle, content, children }) => {
|
73
|
+
const [isOpened, setIsOpened] = useState(opened != null ? opened : false);
|
74
|
+
const [openerRect, setOpenerRect] = useState(null);
|
75
|
+
const [tooltipRect, setTooltipRect] = useState(null);
|
76
|
+
const openerRef = useRef();
|
77
|
+
const tooltipRef = useCallback((node) => {
|
78
|
+
if (node !== null) {
|
79
|
+
setTooltipRect(node.getBoundingClientRect());
|
80
|
+
}
|
81
|
+
}, []);
|
82
|
+
const open = useCallback(() => {
|
83
|
+
if (!openerRef.current) {
|
84
|
+
return;
|
85
|
+
}
|
86
|
+
setOpenerRect(openerRef.current.getBoundingClientRect());
|
87
|
+
setIsOpened(true);
|
88
|
+
}, []);
|
89
|
+
const close = useCallback(() => {
|
90
|
+
setIsOpened(false);
|
91
|
+
}, []);
|
92
|
+
useEffect(() => {
|
93
|
+
if (opened === void 0) {
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
if (opened) {
|
97
|
+
open();
|
98
|
+
return;
|
99
|
+
}
|
100
|
+
close();
|
101
|
+
}, [close, open, opened]);
|
102
|
+
const tooltipTransform = useMemo(() => {
|
103
|
+
if (openerRect === null) {
|
104
|
+
return null;
|
105
|
+
}
|
106
|
+
const { width: tooltipWidth, height: tooltipHeight } = tooltipRect != null ? tooltipRect : { width: 0, height: 0 };
|
107
|
+
const {
|
108
|
+
top: openerTop,
|
109
|
+
bottom: openerBottom,
|
110
|
+
left: openerLeft,
|
111
|
+
right: openerRight,
|
112
|
+
width: openerWidth,
|
113
|
+
height: openerHeight
|
114
|
+
} = openerRect;
|
115
|
+
const [translateX, translateY] = {
|
116
|
+
top: [openerLeft - tooltipWidth / 2 + openerWidth / 2, openerTop - tooltipHeight - 4],
|
117
|
+
bottom: [openerLeft - tooltipWidth / 2 + openerWidth / 2, openerBottom + 4],
|
118
|
+
right: [openerRight + 4, openerTop - tooltipHeight / 2 + openerHeight / 2],
|
119
|
+
left: [openerLeft - tooltipWidth - 4, openerTop - tooltipHeight / 2 + openerHeight / 2]
|
120
|
+
}[position];
|
121
|
+
return {
|
122
|
+
transform: {
|
123
|
+
translateX,
|
124
|
+
translateY
|
125
|
+
}
|
126
|
+
};
|
127
|
+
}, [openerRect, position, tooltipRect]);
|
128
|
+
const updateOpenerRect = useCallback(() => {
|
129
|
+
if (isOpened && openerRef.current) {
|
130
|
+
setOpenerRect(openerRef.current.getBoundingClientRect());
|
131
|
+
}
|
132
|
+
}, [isOpened]);
|
133
|
+
useWindowResizeEvent(updateOpenerRect);
|
134
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, createElement("span", {
|
135
|
+
ref: openerRef,
|
136
|
+
style: {
|
137
|
+
width: "fit-content",
|
138
|
+
display: "inline-block"
|
139
|
+
},
|
140
|
+
onMouseEnter: open,
|
141
|
+
onMouseLeave: close
|
142
|
+
}, children), /* @__PURE__ */ React.createElement(Portal, {
|
143
|
+
id: "tooltip",
|
144
|
+
position: "static"
|
145
|
+
}, isOpened && tooltipTransform !== null && /* @__PURE__ */ React.createElement(FadeAnimation, {
|
146
|
+
type: "in",
|
147
|
+
duration: ANIMATION_TIME_MS
|
148
|
+
}, /* @__PURE__ */ React.createElement(Position, __spreadProps(__spreadValues({
|
149
|
+
position: "absolute",
|
150
|
+
left: 0,
|
151
|
+
top: 0
|
152
|
+
}, tooltipTransform), {
|
153
|
+
zIndex: 3
|
154
|
+
}), /* @__PURE__ */ React.createElement(Box, {
|
155
|
+
ref: tooltipRef
|
156
|
+
}, /* @__PURE__ */ React.createElement(Elevation, {
|
157
|
+
level: 2
|
158
|
+
}, /* @__PURE__ */ React.createElement(Box, {
|
159
|
+
backgroundColor,
|
160
|
+
m: 8,
|
161
|
+
p: 12,
|
162
|
+
borderRadius: 3
|
163
|
+
}, contentTitle && /* @__PURE__ */ React.createElement(Box, {
|
164
|
+
mb: 2
|
165
|
+
}, /* @__PURE__ */ React.createElement(Body, {
|
166
|
+
level: 2,
|
167
|
+
weight: "bold",
|
168
|
+
color
|
169
|
+
}, contentTitle)), /* @__PURE__ */ React.createElement(Body, {
|
170
|
+
level: 4,
|
171
|
+
color
|
172
|
+
}, content), /* @__PURE__ */ React.createElement("svg", {
|
173
|
+
viewBox: "7 10 10 5",
|
174
|
+
width: "16px",
|
175
|
+
style: __spreadProps(__spreadValues({}, tailStyle), { position: "absolute" })
|
176
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
177
|
+
fill: backgroundColor,
|
178
|
+
fillRule: "evenodd",
|
179
|
+
d: "M17 10l-5 5-5-5z"
|
180
|
+
})))))))));
|
181
|
+
});
|
182
|
+
export {
|
183
|
+
Tooltip
|
184
|
+
};
|
@@ -1,22 +1,33 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadValues,
|
3
5
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
6
|
+
} from "../../../chunk-IPJCOOHW.js";
|
5
7
|
|
6
8
|
// libs/shared/ui-system/src/lib/Typography/Body/Body.tsx
|
7
9
|
init_react_shim();
|
8
|
-
import {propVariant, system} from "../../../core/index.js";
|
9
|
-
import {Text} from "../Text/index.js";
|
10
|
+
import { propVariant, system } from "../../../core/index.js";
|
11
|
+
import { Text } from "../Text/index.js";
|
10
12
|
var Body = system()(propVariant({
|
11
13
|
prop: "level",
|
12
|
-
variants: {
|
14
|
+
variants: {
|
15
|
+
1: { kind: "body1" },
|
16
|
+
2: { kind: "body2" },
|
17
|
+
3: { kind: "body3" },
|
18
|
+
4: { kind: "body4" },
|
19
|
+
5: { kind: "body5" },
|
20
|
+
6: { kind: "body6" }
|
21
|
+
},
|
13
22
|
responsive: true,
|
14
23
|
skipForward: true
|
15
|
-
}))((
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
24
|
+
}))((_a) => {
|
25
|
+
var _b = _a, { kind } = _b, props = __objRest(_b, ["kind"]);
|
26
|
+
return /* @__PURE__ */ React.createElement(Text, __spreadValues({
|
27
|
+
as: "p",
|
28
|
+
kind
|
29
|
+
}, props));
|
30
|
+
});
|
20
31
|
Body.forwardStyle = true;
|
21
32
|
export {
|
22
33
|
Body
|
@@ -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/Typography/Body/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Body} from "./Body.js";
|
7
|
+
import { Body } from "./Body.js";
|
8
8
|
export {
|
9
9
|
Body
|
10
10
|
};
|