@class101/cdn-ui-system 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/chunk-2A2YD3YP.js +22244 -0
- package/{chunk-E2KIAABB.js → chunk-37VQUPZR.js} +1 -1
- package/{chunk-IMWQE6G2.js → chunk-BDSNAS3L.js} +3 -2
- package/chunk-CGEEKALF.js +184 -0
- package/{chunk-F522NW23.js → chunk-ESGHR2XF.js} +7 -26
- package/chunk-IFZN3H2K.js +515 -0
- package/chunk-IPFBPHEG.js +9145 -0
- package/{chunk-QN5Q5NTF.js → chunk-J3Q2BPOW.js} +1 -1
- package/chunk-KBZLTPPY.js +58 -0
- package/{chunk-IKYIYCM6.js → chunk-KTYFPJF3.js} +8 -8
- package/chunk-LE44IRCL.js +152 -0
- package/{chunk-FRNHAL35.js → chunk-LN36XQS3.js} +16 -17
- package/{chunk-AY54FCVA.js → chunk-MBYCGPJ2.js} +12 -2
- package/{chunk-2VS4JN2V.js → chunk-O6RRFC57.js} +14 -13
- package/chunk-QNI6E7MT.js +39 -0
- package/{chunk-AXJOQSVO.js → chunk-R4HM35UZ.js} +1 -1
- package/{chunk-FTDRDLT4.js → chunk-RYCV4KQR.js} +2 -2
- package/{chunk-KBR5BGSG.js → chunk-SFQY5CLW.js} +6 -34
- package/chunk-SFWBAQL4.js +21 -0
- package/chunk-SPRM5WZD.js +29 -0
- package/chunk-SU3NURQK.js +254 -0
- package/{chunk-UAWCTQGC.js → chunk-T7TBQTBE.js} +72 -353
- package/chunk-VIIHQGZ3.js +76 -0
- package/{chunk-7BJXCATJ.js → chunk-XXMJSYNO.js} +6 -13
- 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 +13 -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 +19 -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 +22 -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 +42 -0
- package/hooks/useResponsiveValue/index.js +2 -2
- package/hooks/useResponsiveValue/useResponsiveValue.js +13 -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 +22 -15
- package/lib/Animation/FadeAnimation/index.js +2 -2
- package/lib/Animation/RotateAnimation/RotateAnimation.js +10 -8
- package/lib/Animation/RotateAnimation/index.js +2 -2
- package/lib/Animation/SlideAnimation/SlideAnimation.js +14 -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 +13 -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 +1443 -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 +41 -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 +11 -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 +51 -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 +26 -5
- package/lib/GlobalStyle/index.js +2 -2
- package/lib/GridList/GridList.js +32 -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 +32 -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 +52 -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 +2171 -0
- package/lib/Linkify/index.js +10 -0
- package/lib/List/List.js +51 -0
- package/lib/List/index.js +10 -0
- package/lib/Media/Image/Image.js +36 -20
- package/lib/Media/Image/index.js +2 -2
- package/lib/Media/Image/useActualSizes.js +29 -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 +13 -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 +21 -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 +1227 -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 +12 -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 +37 -49
- 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 +6950 -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 +38 -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 +56 -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 +12 -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-SLPLVYDI.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 +7 -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 +35 -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
@@ -1,33 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Overlay/Overlay.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {Box} from "../../private/Box/index.js";
|
9
|
-
import {Image} from "../Media/Image/index.js";
|
10
|
-
import {Overlay} from "./Overlay.js";
|
11
|
-
var Overlay_stories_default = {
|
12
|
-
title: "ui-system/Overlay",
|
13
|
-
component: Overlay,
|
14
|
-
argTypes: {
|
15
|
-
level: {
|
16
|
-
defaultValue: 1,
|
17
|
-
options: [1, 2, 3, 4],
|
18
|
-
control: "select"
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
22
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Box, {
|
23
|
-
size: 1e3
|
24
|
-
}, /* @__PURE__ */ React.createElement(Overlay, {
|
25
|
-
...props
|
26
|
-
}, /* @__PURE__ */ React.createElement(Image, {
|
27
|
-
src: "https://cdn.class101.net/images/ef5a1b69-020c-40e7-ad90-af03b94b3e11/960xauto.webp"
|
28
|
-
})));
|
29
|
-
var BasicUsage = Template.bind({});
|
30
|
-
export {
|
31
|
-
BasicUsage,
|
32
|
-
Overlay_stories_default as default
|
33
|
-
};
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Pagination/Pagination.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {Pagination} from "./Pagination.js";
|
9
|
-
var Pagination_stories_default = {
|
10
|
-
title: "ui-system/Pagination",
|
11
|
-
component: Pagination,
|
12
|
-
argTypes: {
|
13
|
-
totalPage: {
|
14
|
-
defaultValue: 10,
|
15
|
-
control: "number"
|
16
|
-
},
|
17
|
-
currentIndex: {
|
18
|
-
defaultValue: 1,
|
19
|
-
control: "number"
|
20
|
-
},
|
21
|
-
pageSize: {
|
22
|
-
defaultValue: 5,
|
23
|
-
control: "number"
|
24
|
-
},
|
25
|
-
onChange: {
|
26
|
-
action: "onChange"
|
27
|
-
}
|
28
|
-
}
|
29
|
-
};
|
30
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Pagination, {
|
31
|
-
...props
|
32
|
-
});
|
33
|
-
var BasicUsage = Template.bind({});
|
34
|
-
export {
|
35
|
-
BasicUsage,
|
36
|
-
Pagination_stories_default as default
|
37
|
-
};
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Progress/ProgressBar/ProgressBar.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {VStack} from "../../Layout/VStack/index.js";
|
9
|
-
import {ProgressBar} from "./ProgressBar.js";
|
10
|
-
var ProgressBar_stories_default = {
|
11
|
-
title: "ui-system/Progress/ProgressBar",
|
12
|
-
component: ProgressBar,
|
13
|
-
argTypes: {
|
14
|
-
progress: {
|
15
|
-
defaultValue: 100,
|
16
|
-
control: {
|
17
|
-
type: "range",
|
18
|
-
min: 0,
|
19
|
-
max: 100,
|
20
|
-
step: 1
|
21
|
-
}
|
22
|
-
},
|
23
|
-
durationMs: {
|
24
|
-
defaultValue: 3e3,
|
25
|
-
control: {
|
26
|
-
type: "range",
|
27
|
-
min: 1e3,
|
28
|
-
max: 1e4,
|
29
|
-
step: 1e3
|
30
|
-
}
|
31
|
-
},
|
32
|
-
inProgress: {
|
33
|
-
defaultValue: true,
|
34
|
-
control: "boolean"
|
35
|
-
},
|
36
|
-
color: {
|
37
|
-
defaultValue: "black",
|
38
|
-
control: "color"
|
39
|
-
},
|
40
|
-
bgColor: {
|
41
|
-
defaultValue: "#d7d7d7",
|
42
|
-
control: "color"
|
43
|
-
},
|
44
|
-
height: {
|
45
|
-
defaultValue: 1,
|
46
|
-
control: "text"
|
47
|
-
}
|
48
|
-
}
|
49
|
-
};
|
50
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(VStack, null, /* @__PURE__ */ React.createElement(ProgressBar, {
|
51
|
-
...props
|
52
|
-
}));
|
53
|
-
var BasicUsage = Template.bind({});
|
54
|
-
export {
|
55
|
-
BasicUsage,
|
56
|
-
ProgressBar_stories_default as default
|
57
|
-
};
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Progress/ProgressStep/ProgressStep.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {Box} from "../../../private/Box/index.js";
|
9
|
-
import {ProgressStep} from "./ProgressStep.js";
|
10
|
-
var ProgressStep_stories_default = {
|
11
|
-
title: "ui-system/Progress/ProgressStep",
|
12
|
-
component: ProgressStep,
|
13
|
-
argTypes: {
|
14
|
-
kind: {
|
15
|
-
defaultValue: "primary",
|
16
|
-
control: "select",
|
17
|
-
options: ["primary", "secondary", "tertiary"]
|
18
|
-
},
|
19
|
-
step: {
|
20
|
-
defaultValue: 1,
|
21
|
-
control: "number"
|
22
|
-
},
|
23
|
-
lined: {
|
24
|
-
defaultValue: true,
|
25
|
-
control: "boolean"
|
26
|
-
},
|
27
|
-
direction: {
|
28
|
-
defaultValue: "vertical",
|
29
|
-
control: "select",
|
30
|
-
options: ["vertical", "horizontal"]
|
31
|
-
}
|
32
|
-
}
|
33
|
-
};
|
34
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Box, {
|
35
|
-
size: 50
|
36
|
-
}, /* @__PURE__ */ React.createElement(ProgressStep, {
|
37
|
-
...props
|
38
|
-
}));
|
39
|
-
var BasicUsage = Template.bind({});
|
40
|
-
export {
|
41
|
-
BasicUsage,
|
42
|
-
ProgressStep_stories_default as default
|
43
|
-
};
|
package/lib/Rank/Rank.stories.js
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Rank/Rank.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {Rank} from "./Rank.js";
|
9
|
-
var Rank_stories_default = {
|
10
|
-
title: "ui-system/Rank",
|
11
|
-
component: Rank,
|
12
|
-
argTypes: {
|
13
|
-
status: {
|
14
|
-
defaultValue: "up",
|
15
|
-
options: ["up", "down", "new"],
|
16
|
-
control: "select"
|
17
|
-
},
|
18
|
-
step: {
|
19
|
-
defaultValue: 1,
|
20
|
-
control: "number"
|
21
|
-
},
|
22
|
-
statusPosition: {
|
23
|
-
options: ["bottom", "right"],
|
24
|
-
control: {type: "radio"}
|
25
|
-
},
|
26
|
-
fontWeight: {
|
27
|
-
options: ["extraLight", "light"],
|
28
|
-
control: {type: "radio"}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
};
|
32
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Rank, {
|
33
|
-
...props
|
34
|
-
}, "10");
|
35
|
-
var BasicUsage = Template.bind({});
|
36
|
-
export {
|
37
|
-
BasicUsage,
|
38
|
-
Rank_stories_default as default
|
39
|
-
};
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Ratio/Ratio.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {Image} from "../Media/Image/index.js";
|
9
|
-
import {Ratio} from "./Ratio.js";
|
10
|
-
var Ratio_stories_default = {
|
11
|
-
title: "ui-system/Ratio",
|
12
|
-
component: Ratio,
|
13
|
-
argTypes: {
|
14
|
-
width: {
|
15
|
-
defaultValue: 200
|
16
|
-
},
|
17
|
-
ratio: {
|
18
|
-
defaultValue: "1:1"
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
22
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Ratio, {
|
23
|
-
...props
|
24
|
-
}, /* @__PURE__ */ React.createElement(Image, {
|
25
|
-
src: "https://upload.wikimedia.org/wikipedia/ko/2/24/Lenna.png",
|
26
|
-
width: "100%",
|
27
|
-
height: "100%",
|
28
|
-
objectFit: "cover"
|
29
|
-
}));
|
30
|
-
var BasicUsage = Template.bind({});
|
31
|
-
export {
|
32
|
-
BasicUsage,
|
33
|
-
Ratio_stories_default as default
|
34
|
-
};
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Section/Section.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {HStack} from "../Layout/HStack/index.js";
|
9
|
-
import {Image} from "../Media/Image/index.js";
|
10
|
-
import {Section} from "./Section.js";
|
11
|
-
var Section_stories_default = {
|
12
|
-
title: "ui-system/Section",
|
13
|
-
component: Section,
|
14
|
-
argTypes: {
|
15
|
-
title: {
|
16
|
-
defaultValue: "On demand",
|
17
|
-
control: "text"
|
18
|
-
},
|
19
|
-
subTitle: {
|
20
|
-
defaultValue: "Start honing your skills today",
|
21
|
-
control: "text"
|
22
|
-
}
|
23
|
-
}
|
24
|
-
};
|
25
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(Section, {
|
26
|
-
...props
|
27
|
-
}, /* @__PURE__ */ React.createElement(HStack, {
|
28
|
-
spacing: 18
|
29
|
-
}, /* @__PURE__ */ React.createElement(Image, {
|
30
|
-
src: "https://upload.wikimedia.org/wikipedia/ko/2/24/Lenna.png",
|
31
|
-
width: "200px",
|
32
|
-
height: "200px",
|
33
|
-
objectFit: "cover"
|
34
|
-
}), /* @__PURE__ */ React.createElement(Image, {
|
35
|
-
src: "https://upload.wikimedia.org/wikipedia/ko/2/24/Lenna.png",
|
36
|
-
width: "200px",
|
37
|
-
height: "200px",
|
38
|
-
objectFit: "cover"
|
39
|
-
}), /* @__PURE__ */ React.createElement(Image, {
|
40
|
-
src: "https://upload.wikimedia.org/wikipedia/ko/2/24/Lenna.png",
|
41
|
-
width: "200px",
|
42
|
-
height: "200px",
|
43
|
-
objectFit: "cover"
|
44
|
-
})));
|
45
|
-
var BasicUsage = Template.bind({});
|
46
|
-
export {
|
47
|
-
BasicUsage,
|
48
|
-
Section_stories_default as default
|
49
|
-
};
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/SlideList/SlideList.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {VStack} from "../Layout/VStack/index.js";
|
9
|
-
import {Image} from "../Media/Image/index.js";
|
10
|
-
import {Ratio} from "../Ratio/index.js";
|
11
|
-
import {Skeleton} from "../Skeleton/index.js";
|
12
|
-
import {data} from "./__mocks__/index.js";
|
13
|
-
import {SlideList} from "./SlideList.js";
|
14
|
-
var SlideList_stories_default = {
|
15
|
-
title: "ui-system/SlideList",
|
16
|
-
component: SlideList,
|
17
|
-
argTypes: {
|
18
|
-
loading: {
|
19
|
-
control: "boolean",
|
20
|
-
defaultValue: false
|
21
|
-
},
|
22
|
-
renderItem: {
|
23
|
-
control: false
|
24
|
-
},
|
25
|
-
keyExtractor: {
|
26
|
-
control: false
|
27
|
-
}
|
28
|
-
}
|
29
|
-
};
|
30
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(VStack, {
|
31
|
-
width: "100%"
|
32
|
-
}, /* @__PURE__ */ React.createElement(SlideList, {
|
33
|
-
...props
|
34
|
-
}));
|
35
|
-
var BasicUsage = Template.bind({});
|
36
|
-
BasicUsage.args = {
|
37
|
-
data,
|
38
|
-
renderItem: ({item}) => /* @__PURE__ */ React.createElement(Ratio, {
|
39
|
-
width: "100%",
|
40
|
-
ratio: "1:1"
|
41
|
-
}, /* @__PURE__ */ React.createElement(Image, {
|
42
|
-
src: item.image,
|
43
|
-
width: "100%",
|
44
|
-
height: "100%",
|
45
|
-
objectFit: "cover"
|
46
|
-
})),
|
47
|
-
renderSkeleton: () => /* @__PURE__ */ React.createElement(Ratio, {
|
48
|
-
width: "100%",
|
49
|
-
ratio: "1:1"
|
50
|
-
}, /* @__PURE__ */ React.createElement(Skeleton, {
|
51
|
-
shape: "rect"
|
52
|
-
})),
|
53
|
-
keyExtractor: (_, index) => index,
|
54
|
-
column: [2, 3, 4, 5],
|
55
|
-
spacing: 18
|
56
|
-
};
|
57
|
-
export {
|
58
|
-
BasicUsage,
|
59
|
-
SlideList_stories_default as default
|
60
|
-
};
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
React,
|
3
|
-
init_react_shim
|
4
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
5
|
-
|
6
|
-
// libs/shared/ui-system/src/lib/Slider/Slider.stories.tsx
|
7
|
-
init_react_shim();
|
8
|
-
import {VStack} from "../Layout/VStack/index.js";
|
9
|
-
import {Image} from "../Media/Image/index.js";
|
10
|
-
import {Ratio} from "../Ratio/index.js";
|
11
|
-
import {Slider} from "./Slider.js";
|
12
|
-
import {slides} from "./__mocks__/index.js";
|
13
|
-
var Slider_stories_default = {
|
14
|
-
title: "ui-system/Slider",
|
15
|
-
component: Slider,
|
16
|
-
argTypes: {
|
17
|
-
autoPlayDelayMs: {
|
18
|
-
defaultValue: 3e3,
|
19
|
-
control: {
|
20
|
-
type: "range",
|
21
|
-
min: 1e3,
|
22
|
-
max: 1e4,
|
23
|
-
step: 1e3
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
};
|
28
|
-
var Template = (props) => /* @__PURE__ */ React.createElement(VStack, {
|
29
|
-
width: "400px"
|
30
|
-
}, /* @__PURE__ */ React.createElement(Slider, {
|
31
|
-
...props
|
32
|
-
}, slides.map(({_id, imageUrl}) => /* @__PURE__ */ React.createElement(VStack, {
|
33
|
-
key: _id
|
34
|
-
}, /* @__PURE__ */ React.createElement(Ratio, {
|
35
|
-
width: "100%",
|
36
|
-
ratio: "4:3"
|
37
|
-
}, /* @__PURE__ */ React.createElement(Image, {
|
38
|
-
src: imageUrl,
|
39
|
-
width: "100%",
|
40
|
-
height: "100%",
|
41
|
-
objectFit: "cover"
|
42
|
-
}))))));
|
43
|
-
var BasicUsage = Template.bind({});
|
44
|
-
export {
|
45
|
-
BasicUsage,
|
46
|
-
Slider_stories_default as default
|
47
|
-
};
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/__mocks__/index.ts
|
6
|
-
init_react_shim();
|
7
|
-
var slides = [
|
8
|
-
{
|
9
|
-
_id: "600fd00dabeb710014d5c743",
|
10
|
-
imageUrl: "https://cdn.class101.net/images/13aa7e1c-03ca-4a69-ba86-b0f8839303e3/750xauto"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
_id: "5ffdc06c204c71000d4c4cf7",
|
14
|
-
imageUrl: "https://cdn.class101.net/images/311b5a84-c23b-43c1-8b73-62cb6b8700a7/750xauto"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
_id: "5fff05b1d36e64000d684de5",
|
18
|
-
imageUrl: "https://cdn.class101.net/images/9518d768-4651-4101-ba7b-176e2c87569d/750xauto"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
_id: "5ffdbf51682c26000e04aa91",
|
22
|
-
imageUrl: "https://cdn.class101.net/images/013bef9a-df9b-472e-8146-93996c63848e/750xauto"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
_id: "600fcd2cdf6c64000dddef32",
|
26
|
-
imageUrl: "https://cdn.class101.net/images/063cef77-6f92-4de8-ac6b-48f93e0b2063/750xauto"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
_id: "600e63115762640014791ff9",
|
30
|
-
imageUrl: "https://cdn.class101.net/images/f6067ab8-5675-4f20-b748-e717e255dcc1/750xauto"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
_id: "6012488a1a31a20014f8855b",
|
34
|
-
imageUrl: "https://cdn.class101.net/images/32220596-6625-4c83-9bb9-732ee177f0cc/750xauto"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
_id: "600e48d8dfc311000d6f388c",
|
38
|
-
imageUrl: "https://cdn.class101.net/images/54bcd444-9fd9-46f0-b67c-0531b0eb4ebd/750xauto"
|
39
|
-
},
|
40
|
-
{
|
41
|
-
_id: "5eccf579f2d36834e83e906b",
|
42
|
-
imageUrl: "https://cdn.class101.net/images/3f65161c-2a51-4faf-a301-6a9008af6dc1/750xauto"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
_id: "5f1e910be6c41a00144965c9",
|
46
|
-
imageUrl: "https://cdn.class101.net/images/f77f51e6-3b31-42e9-869d-f488e491d731/750xauto"
|
47
|
-
}
|
48
|
-
];
|
49
|
-
export {
|
50
|
-
slides
|
51
|
-
};
|
package/lib/Slider/constants.js
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/constants.ts
|
6
|
-
init_react_shim();
|
7
|
-
var ACTUAL_SLIDE_OFFSET = 2;
|
8
|
-
var INITIAL_STATES = {
|
9
|
-
index: 1,
|
10
|
-
slidesPerView: 1
|
11
|
-
};
|
12
|
-
var BREAKPOINTS_KEYS = [
|
13
|
-
"(max-width: 413px)",
|
14
|
-
"(min-width: 414px) and (max-width: 767px)",
|
15
|
-
"(min-width: 768px) and (max-width: 1239px)",
|
16
|
-
"(min-width: 1240px)"
|
17
|
-
];
|
18
|
-
export {
|
19
|
-
ACTUAL_SLIDE_OFFSET,
|
20
|
-
BREAKPOINTS_KEYS,
|
21
|
-
INITIAL_STATES
|
22
|
-
};
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/internalHooks/useAutoPlay.ts
|
6
|
-
init_react_shim();
|
7
|
-
import {useCallback, useEffect, useRef} from "react";
|
8
|
-
var useAutoPlay = ({slider, autoPlay, durationMs, onProgressStateChange}) => {
|
9
|
-
const autoPlayTimer = useRef(0);
|
10
|
-
const clearAutoPlayTimer = useCallback(() => {
|
11
|
-
if (!autoPlay) {
|
12
|
-
return;
|
13
|
-
}
|
14
|
-
onProgressStateChange?.(false);
|
15
|
-
clearTimeout(autoPlayTimer.current);
|
16
|
-
}, [autoPlay, onProgressStateChange]);
|
17
|
-
const setAutoPlayTimer = useCallback((sliderElement) => {
|
18
|
-
if (!autoPlay) {
|
19
|
-
return;
|
20
|
-
}
|
21
|
-
onProgressStateChange?.(true);
|
22
|
-
autoPlayTimer.current = window.setTimeout(() => {
|
23
|
-
clearAutoPlayTimer();
|
24
|
-
if (autoPlay) {
|
25
|
-
sliderElement.next();
|
26
|
-
}
|
27
|
-
}, durationMs);
|
28
|
-
}, [autoPlay, clearAutoPlayTimer, durationMs, onProgressStateChange]);
|
29
|
-
useEffect(() => {
|
30
|
-
if (autoPlay && slider) {
|
31
|
-
setAutoPlayTimer(slider);
|
32
|
-
} else {
|
33
|
-
clearAutoPlayTimer();
|
34
|
-
}
|
35
|
-
}, [autoPlay, clearAutoPlayTimer, setAutoPlayTimer, slider]);
|
36
|
-
return {setAutoPlayTimer, clearAutoPlayTimer};
|
37
|
-
};
|
38
|
-
export {
|
39
|
-
useAutoPlay
|
40
|
-
};
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/internalHooks/usePageControl.ts
|
6
|
-
init_react_shim();
|
7
|
-
import {useImperativeHandle} from "react";
|
8
|
-
var usePageControl = ({controlRef, slider, callback}) => {
|
9
|
-
useImperativeHandle(controlRef, () => ({
|
10
|
-
moveToPrevSlide: () => {
|
11
|
-
slider?.prev();
|
12
|
-
callback();
|
13
|
-
},
|
14
|
-
moveToNextSlide: () => {
|
15
|
-
slider?.next();
|
16
|
-
callback();
|
17
|
-
},
|
18
|
-
moveToPrevPage: () => {
|
19
|
-
const {relativeSlide, slidesPerView} = slider.details();
|
20
|
-
slider?.moveToSlide(relativeSlide - slidesPerView);
|
21
|
-
callback();
|
22
|
-
},
|
23
|
-
moveToNextPage: () => {
|
24
|
-
const {relativeSlide, slidesPerView} = slider.details();
|
25
|
-
slider?.moveToSlide(relativeSlide + slidesPerView);
|
26
|
-
callback();
|
27
|
-
},
|
28
|
-
moveToSlide: (targetIndex) => {
|
29
|
-
slider?.moveToSlide(targetIndex);
|
30
|
-
callback();
|
31
|
-
},
|
32
|
-
refresh: () => {
|
33
|
-
slider?.refresh();
|
34
|
-
callback();
|
35
|
-
},
|
36
|
-
resize: () => {
|
37
|
-
slider?.resize();
|
38
|
-
callback();
|
39
|
-
}
|
40
|
-
}));
|
41
|
-
};
|
42
|
-
export {
|
43
|
-
usePageControl
|
44
|
-
};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/internalHooks/useVirtual.ts
|
6
|
-
init_react_shim();
|
7
|
-
import {useMemo, Children, createElement} from "react";
|
8
|
-
import {ACTUAL_SLIDE_OFFSET} from "../constants.js";
|
9
|
-
var useVirtual = ({currentSlidesPerView, slideElements, loop, currentIndex}) => {
|
10
|
-
const actualSlideFrom = useMemo(() => currentIndex - ACTUAL_SLIDE_OFFSET, [currentIndex]);
|
11
|
-
const actualSlideTo = useMemo(() => currentIndex + currentSlidesPerView + ACTUAL_SLIDE_OFFSET, [currentSlidesPerView, currentIndex]);
|
12
|
-
const slideLength = useMemo(() => slideElements.length, [slideElements]);
|
13
|
-
const slides = useMemo(() => Children.map(slideElements, (child, childIndex) => {
|
14
|
-
const {type, key, props} = child;
|
15
|
-
const targetIndices = [childIndex].concat(loop ? [childIndex - slideLength, childIndex + slideLength] : []);
|
16
|
-
const isActualSlide = targetIndices.map((target) => actualSlideFrom <= target && target < actualSlideTo).some(Boolean);
|
17
|
-
return createElement(type, {
|
18
|
-
...isActualSlide && props,
|
19
|
-
className: [props.className ?? "", "keen-slider__slide"].join(""),
|
20
|
-
key
|
21
|
-
});
|
22
|
-
}), [slideElements, loop, slideLength, actualSlideFrom, actualSlideTo]);
|
23
|
-
return {slides};
|
24
|
-
};
|
25
|
-
export {
|
26
|
-
useVirtual
|
27
|
-
};
|
package/lib/Slider/useSlider.js
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
init_react_shim
|
3
|
-
} from "../../chunk-CPDZ2HQZ.js";
|
4
|
-
|
5
|
-
// libs/shared/ui-system/src/lib/Slider/useSlider.ts
|
6
|
-
init_react_shim();
|
7
|
-
import {useCallback, useRef, useState} from "react";
|
8
|
-
var useSlider = () => {
|
9
|
-
const sliderRef = useRef(null);
|
10
|
-
const [currentSliderIndex, setCurrentSliderIndex] = useState(0);
|
11
|
-
const [isSliderInProgress, setIsSliderInProgress] = useState(false);
|
12
|
-
const handleMoveToPrevSlide = useCallback(() => {
|
13
|
-
sliderRef.current?.moveToPrevSlide();
|
14
|
-
}, []);
|
15
|
-
const handleMoveToNextSlide = useCallback(() => {
|
16
|
-
sliderRef.current?.moveToNextSlide();
|
17
|
-
}, []);
|
18
|
-
const handleMoveToPrevPage = useCallback(() => {
|
19
|
-
sliderRef.current?.moveToPrevPage();
|
20
|
-
}, []);
|
21
|
-
const handleMoveToNextPage = useCallback(() => {
|
22
|
-
sliderRef.current?.moveToNextPage();
|
23
|
-
}, []);
|
24
|
-
const handleMoveTo = useCallback((index) => {
|
25
|
-
sliderRef.current?.moveToSlide(index);
|
26
|
-
}, []);
|
27
|
-
return {
|
28
|
-
sliderRef,
|
29
|
-
currentSliderIndex,
|
30
|
-
setCurrentSliderIndex,
|
31
|
-
isSliderInProgress,
|
32
|
-
setIsSliderInProgress,
|
33
|
-
handleMoveToPrevSlide,
|
34
|
-
handleMoveToNextSlide,
|
35
|
-
handleMoveToPrevPage,
|
36
|
-
handleMoveToNextPage,
|
37
|
-
handleMoveTo
|
38
|
-
};
|
39
|
-
};
|
40
|
-
export {
|
41
|
-
useSlider
|
42
|
-
};
|