@class101/cdn-ui-system 0.0.9 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/{chunk-DTERNFVI.js → chunk-37VQUPZR.js} +1 -1
- package/{chunk-JMZ4AUZW.js → chunk-BDSNAS3L.js} +3 -2
- package/chunk-CGEEKALF.js +184 -0
- package/{chunk-KK66MRIV.js → chunk-ESGHR2XF.js} +7 -26
- package/chunk-EZJASZYR.js +1668 -0
- package/chunk-IFZN3H2K.js +515 -0
- package/chunk-IPFBPHEG.js +9145 -0
- package/{chunk-FBWP7GA4.js → chunk-J3Q2BPOW.js} +1 -1
- package/chunk-KBZLTPPY.js +58 -0
- package/{chunk-TEC44RXQ.js → chunk-KTYFPJF3.js} +8 -8
- package/chunk-LE44IRCL.js +152 -0
- package/{chunk-BT7THJEN.js → chunk-LN36XQS3.js} +16 -17
- package/{chunk-KH2Z52PX.js → chunk-MBYCGPJ2.js} +12 -2
- package/{chunk-Z3JA2F2K.js → chunk-O6RRFC57.js} +14 -13
- package/{chunk-UUGOTXZB.js → chunk-R4HM35UZ.js} +1 -1
- package/{chunk-BX3MXJ4C.js → chunk-RYCV4KQR.js} +2 -2
- package/{chunk-46QFHDO4.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-ZNFXXXHP.js → chunk-T7TBQTBE.js} +72 -353
- package/chunk-VIIHQGZ3.js +76 -0
- package/chunk-WVIP3U54.js +42 -0
- package/{chunk-NBPHSYM4.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 +20659 -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 +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 +38 -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 +1226 -124
- 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 +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 +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 +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 +6657 -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 -15
- package/lib/deprecated/Swiper/index.js +1 -1
- package/lib/deprecated/Swiper/types/SwiperOptions.js +1 -1
- package/{mime-types-IGOBEFKT.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-2GRN43OO.js +0 -38
- package/chunk-BBJEN63M.js +0 -49
- package/chunk-FU5YH2ZU.js +0 -44
- package/chunk-FWF7FLXH.js +0 -63
- package/chunk-GAIKAVU2.js +0 -40
- package/chunk-PKBABOJ7.js +0 -43
- package/chunk-QV6QU2G2.js +0 -39
- package/chunk-T56ENFUN.js +0 -472
- package/chunk-UJNUQSG7.js +0 -38
- 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,17 +1,23 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadProps,
|
5
|
+
__spreadValues,
|
3
6
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
7
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
5
8
|
|
6
9
|
// libs/shared/ui-system/src/lib/Layout/VStack/VStack.tsx
|
7
10
|
init_react_shim();
|
8
|
-
import {forwardRef} from "react";
|
9
|
-
import {Stack} from "../../../private/Stack/
|
10
|
-
var VStack = forwardRef((
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
},
|
11
|
+
import { forwardRef } from "react";
|
12
|
+
import { Stack } from "../../../private/Stack/index.js";
|
13
|
+
var VStack = forwardRef((_a, ref) => {
|
14
|
+
var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
|
15
|
+
return /* @__PURE__ */ React.createElement(Stack, __spreadProps(__spreadValues({
|
16
|
+
ref
|
17
|
+
}, props), {
|
18
|
+
direction: "vertical"
|
19
|
+
}), children);
|
20
|
+
});
|
15
21
|
VStack.forwardStyle = true;
|
16
22
|
export {
|
17
23
|
VStack
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Layout/VStack/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {VStack} from "./VStack.js";
|
7
|
+
import { VStack } from "./VStack.js";
|
8
8
|
export {
|
9
9
|
VStack
|
10
10
|
};
|
@@ -1,13 +1,16 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadProps,
|
5
|
+
__spreadValues,
|
3
6
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
7
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
5
8
|
|
6
9
|
// libs/shared/ui-system/src/lib/Layout/ZStack/ZStack.tsx
|
7
10
|
init_react_shim();
|
8
|
-
import {Children, isValidElement} from "react";
|
9
|
-
import {Box} from "../../../private/Box/index.js";
|
10
|
-
import {ForwardStyle} from "../../../private/ForwardStyle/index.js";
|
11
|
+
import { Children, isValidElement } from "react";
|
12
|
+
import { Box } from "../../../private/Box/index.js";
|
13
|
+
import { ForwardStyle } from "../../../private/ForwardStyle/index.js";
|
11
14
|
var JUSTIFY_CONTENT_MAP = {
|
12
15
|
top: "flex-start",
|
13
16
|
bottom: "flex-end",
|
@@ -18,26 +21,33 @@ var ALIGN_ITEMS_MAP = {
|
|
18
21
|
trailing: "flex-end",
|
19
22
|
center: "center"
|
20
23
|
};
|
21
|
-
var ZStack = ({
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}
|
24
|
+
var ZStack = (_a) => {
|
25
|
+
var _b = _a, {
|
26
|
+
children,
|
27
|
+
verticalAlignment = "top",
|
28
|
+
horizontalAlignment = "leading"
|
29
|
+
} = _b, props = __objRest(_b, [
|
30
|
+
"children",
|
31
|
+
"verticalAlignment",
|
32
|
+
"horizontalAlignment"
|
33
|
+
]);
|
34
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadProps(__spreadValues({}, props), {
|
35
|
+
position: "relative",
|
36
|
+
display: "flex",
|
37
|
+
flexDirection: "column",
|
38
|
+
alignItems: ALIGN_ITEMS_MAP[horizontalAlignment],
|
39
|
+
justifyContent: JUSTIFY_CONTENT_MAP[verticalAlignment]
|
40
|
+
}), Children.map(children, (child, index) => {
|
41
|
+
if (!isValidElement(child) || index === 0) {
|
42
|
+
return child;
|
43
|
+
}
|
44
|
+
return /* @__PURE__ */ React.createElement(ForwardStyle, {
|
45
|
+
position: "absolute",
|
46
|
+
zIndex: 1
|
47
|
+
}, child);
|
48
|
+
}));
|
49
|
+
};
|
50
|
+
ZStack.forwardStyle = true;
|
41
51
|
export {
|
42
52
|
ZStack
|
43
53
|
};
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Layout/ZStack/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {ZStack} from "./ZStack.js";
|
7
|
+
import { ZStack } from "./ZStack.js";
|
8
8
|
export {
|
9
9
|
ZStack
|
10
10
|
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import {
|
2
|
+
themeGet
|
3
|
+
} from "../../chunk-SFWBAQL4.js";
|
4
|
+
import "../../chunk-RYCV4KQR.js";
|
5
|
+
import "../../chunk-R4HM35UZ.js";
|
6
|
+
import {
|
7
|
+
useTheme
|
8
|
+
} from "../../chunk-T7TBQTBE.js";
|
9
|
+
import "../../chunk-LE44IRCL.js";
|
10
|
+
import "../../chunk-CGEEKALF.js";
|
11
|
+
import "../../chunk-J3Q2BPOW.js";
|
12
|
+
import {
|
13
|
+
React,
|
14
|
+
__objRest,
|
15
|
+
__spreadValues,
|
16
|
+
init_react_shim
|
17
|
+
} from "../../chunk-VIIHQGZ3.js";
|
18
|
+
|
19
|
+
// libs/shared/ui-system/src/lib/LinearGradient/LinearGradient.tsx
|
20
|
+
init_react_shim();
|
21
|
+
import { propVariant, system } from "../../core/index.js";
|
22
|
+
import { Box } from "../../private/Box/index.js";
|
23
|
+
var LinearGradient = system()(propVariant({
|
24
|
+
prop: "horizontal",
|
25
|
+
variants: {
|
26
|
+
true: {
|
27
|
+
radian: "0deg"
|
28
|
+
},
|
29
|
+
false: {
|
30
|
+
radian: "90deg"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
defaultValue: false
|
34
|
+
}))((_a) => {
|
35
|
+
var _b = _a, { colors, locations, radian, children } = _b, props = __objRest(_b, ["colors", "locations", "radian", "children"]);
|
36
|
+
const theme = useTheme();
|
37
|
+
if (locations && colors.length !== locations.length) {
|
38
|
+
throw new Error("locations length should be colors length.");
|
39
|
+
}
|
40
|
+
const themeColors = colors.map((color) => themeGet(`colors.${color}`)({ theme }));
|
41
|
+
const gradientOption = `linear-gradient(${radian}, ${themeColors.map((color, index) => {
|
42
|
+
var _a2;
|
43
|
+
return `${color} ${(_a2 = locations == null ? void 0 : locations[index]) != null ? _a2 : 100 / Math.min(themeColors.length - 1, 1) * index}%`;
|
44
|
+
}).join(", ")})`;
|
45
|
+
return /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
46
|
+
background: gradientOption
|
47
|
+
}, props), children);
|
48
|
+
});
|
49
|
+
LinearGradient.forwardStyle = true;
|
50
|
+
export {
|
51
|
+
LinearGradient
|
52
|
+
};
|
package/lib/Link/Link.js
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
import {
|
2
2
|
isExternalUrl
|
3
|
-
} from "../../chunk-
|
3
|
+
} from "../../chunk-LN36XQS3.js";
|
4
4
|
import {
|
5
5
|
React,
|
6
|
+
__objRest,
|
7
|
+
__spreadValues,
|
6
8
|
init_react_shim
|
7
|
-
} from "../../chunk-
|
9
|
+
} from "../../chunk-VIIHQGZ3.js";
|
8
10
|
|
9
11
|
// libs/shared/ui-system/src/lib/Link/Link.tsx
|
10
12
|
init_react_shim();
|
11
|
-
import {useLinkContext} from "../../contexts/LinkContext/index.js";
|
13
|
+
import { useLinkContext } from "../../contexts/LinkContext/index.js";
|
12
14
|
var Link = (props) => {
|
13
|
-
const {LinkComponent} = useLinkContext();
|
14
|
-
const {to, children, innerRef,
|
15
|
-
const url = to
|
15
|
+
const { LinkComponent } = useLinkContext();
|
16
|
+
const _a = props, { to, children, innerRef } = _a, restProps = __objRest(_a, ["to", "children", "innerRef"]);
|
17
|
+
const url = to != null ? to : "";
|
16
18
|
const shouldOpenInNewTab = isExternalUrl(url);
|
17
|
-
const externalProps = {
|
18
|
-
...shouldOpenInNewTab && {target: "_blank", rel: "noreferrer"}
|
19
|
-
};
|
19
|
+
const externalProps = __spreadValues({}, shouldOpenInNewTab && { target: "_blank", rel: "noreferrer" });
|
20
20
|
if (LinkComponent) {
|
21
|
-
return /* @__PURE__ */ React.createElement(LinkComponent, {
|
21
|
+
return /* @__PURE__ */ React.createElement(LinkComponent, __spreadValues(__spreadValues({
|
22
22
|
ref: innerRef,
|
23
|
-
href: url
|
24
|
-
|
25
|
-
...restProps
|
26
|
-
}, children);
|
23
|
+
href: url
|
24
|
+
}, externalProps), restProps), children);
|
27
25
|
}
|
28
|
-
return /* @__PURE__ */ React.createElement("a", {
|
26
|
+
return /* @__PURE__ */ React.createElement("a", __spreadValues(__spreadValues({
|
29
27
|
ref: innerRef,
|
30
|
-
href: url
|
31
|
-
|
32
|
-
...restProps
|
33
|
-
}, children);
|
28
|
+
href: url
|
29
|
+
}, externalProps), restProps), children);
|
34
30
|
};
|
35
31
|
Link.forwardStyle = true;
|
36
32
|
export {
|
package/lib/Link/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../chunk-
|
3
|
+
} from "../../chunk-VIIHQGZ3.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Link/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Link} from "./Link.js";
|
7
|
+
import { Link } from "./Link.js";
|
8
8
|
export {
|
9
9
|
Link
|
10
10
|
};
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import {
|
2
|
+
convertToSecureUrl
|
3
|
+
} from "../../chunk-WVIP3U54.js";
|
4
|
+
import {
|
5
|
+
React,
|
6
|
+
init_react_shim
|
7
|
+
} from "../../chunk-VIIHQGZ3.js";
|
8
|
+
|
9
|
+
// libs/shared/ui-system/src/lib/Linkify/Linkify.tsx
|
10
|
+
init_react_shim();
|
11
|
+
|
12
|
+
// node_modules/react-linkify-it/dist/react-linkify-it.esm.js
|
13
|
+
init_react_shim();
|
14
|
+
import React2, { Fragment, isValidElement, cloneElement } from "react";
|
15
|
+
var key = 0;
|
16
|
+
var getKey = () => ++key;
|
17
|
+
var ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;
|
18
|
+
function linkIt(text, linkComponent, linkRegex) {
|
19
|
+
const elements = [];
|
20
|
+
let rest = text;
|
21
|
+
while (true) {
|
22
|
+
const match = linkRegex.exec(rest);
|
23
|
+
if (!match || match[0] === void 0)
|
24
|
+
break;
|
25
|
+
const urlStartIndex = match.index;
|
26
|
+
const urlEndIndex = match.index + match[0].length;
|
27
|
+
const textBeforeMatch = rest.slice(0, urlStartIndex);
|
28
|
+
const url = rest.slice(urlStartIndex, urlEndIndex).replace(ctrlCharactersRegex, "");
|
29
|
+
rest = rest.slice(urlEndIndex);
|
30
|
+
textBeforeMatch && elements.push(textBeforeMatch);
|
31
|
+
elements.push(linkComponent(url, getKey()));
|
32
|
+
}
|
33
|
+
rest && elements.push(React2.createElement(Fragment, {
|
34
|
+
key: getKey()
|
35
|
+
}, rest));
|
36
|
+
if (elements.length === 0) {
|
37
|
+
return text;
|
38
|
+
}
|
39
|
+
return elements;
|
40
|
+
}
|
41
|
+
function findText(children, component, regex) {
|
42
|
+
if (typeof children === "string") {
|
43
|
+
return linkIt(children, component, regex);
|
44
|
+
}
|
45
|
+
if (Array.isArray(children)) {
|
46
|
+
return children.map((c) => findText(c, component, regex));
|
47
|
+
}
|
48
|
+
if (isValidElement(children) && children.props.children && children.type !== "a" && children.type !== "button") {
|
49
|
+
return cloneElement(children, {
|
50
|
+
...children.props,
|
51
|
+
key: getKey()
|
52
|
+
}, findText(children.props.children, component, regex));
|
53
|
+
}
|
54
|
+
return children;
|
55
|
+
}
|
56
|
+
var LinkIt = (props) => {
|
57
|
+
return React2.createElement(Fragment, null, findText(props.children, props.component, props.regex));
|
58
|
+
};
|
59
|
+
|
60
|
+
// libs/shared/ui-system/src/lib/Linkify/Linkify.tsx
|
61
|
+
import { system } from "../../core/index.js";
|
62
|
+
import { Box } from "../../private/Box/index.js";
|
63
|
+
var urlRegex = /((https?):\/\/|www\.)?([-\w.]+\/[\p{L}!#$%&'"()*+,./\\:;=_?@[\]~-]*[^\s'",.;:\b)\]}?]|(([\w-]+\.)+[\w-]+[\w/-]))/u;
|
64
|
+
var Linkify = system()()(({ children }) => /* @__PURE__ */ React.createElement(LinkIt, {
|
65
|
+
regex: urlRegex,
|
66
|
+
component: (decoratedHref) => /* @__PURE__ */ React.createElement(Box, {
|
67
|
+
as: "a",
|
68
|
+
href: convertToSecureUrl(decoratedHref),
|
69
|
+
color: "blue.500"
|
70
|
+
}, decoratedHref)
|
71
|
+
}, children));
|
72
|
+
export {
|
73
|
+
Linkify
|
74
|
+
};
|
package/lib/List/List.js
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
import {
|
2
|
+
Body,
|
3
|
+
VStack
|
4
|
+
} from "../../chunk-SU3NURQK.js";
|
5
|
+
import {
|
6
|
+
React,
|
7
|
+
__objRest,
|
8
|
+
__spreadValues,
|
9
|
+
init_react_shim
|
10
|
+
} from "../../chunk-VIIHQGZ3.js";
|
11
|
+
|
12
|
+
// libs/shared/ui-system/src/lib/List/List.tsx
|
13
|
+
init_react_shim();
|
14
|
+
import { propVariant, styleVariant, system } from "../../core/index.js";
|
15
|
+
var List = system()(propVariant({
|
16
|
+
prop: "kind",
|
17
|
+
variants: {
|
18
|
+
number: {
|
19
|
+
as: "ol"
|
20
|
+
},
|
21
|
+
dot: {
|
22
|
+
as: "ul"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}), styleVariant({
|
26
|
+
prop: "kind",
|
27
|
+
variants: {
|
28
|
+
number: {
|
29
|
+
listStyle: "decimal"
|
30
|
+
},
|
31
|
+
dot: {
|
32
|
+
listStyle: "disc"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
skipForward: true
|
36
|
+
}))((_a) => {
|
37
|
+
var _b = _a, { children, as } = _b, props = __objRest(_b, ["children", "as"]);
|
38
|
+
return /* @__PURE__ */ React.createElement(VStack, __spreadValues({
|
39
|
+
as,
|
40
|
+
pl: 18,
|
41
|
+
spacing: 4
|
42
|
+
}, props), children);
|
43
|
+
});
|
44
|
+
var ListItem = ({ children }) => /* @__PURE__ */ React.createElement(Body, {
|
45
|
+
level: 2,
|
46
|
+
as: "li"
|
47
|
+
}, children);
|
48
|
+
List.Item = ListItem;
|
49
|
+
export {
|
50
|
+
List
|
51
|
+
};
|
package/lib/Media/Image/Image.js
CHANGED
@@ -1,37 +1,53 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadProps,
|
5
|
+
__spreadValues,
|
3
6
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
7
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
5
8
|
|
6
9
|
// libs/shared/ui-system/src/lib/Media/Image/Image.tsx
|
7
10
|
init_react_shim();
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
|
12
|
-
|
11
|
+
import { forwardRef } from "react";
|
12
|
+
import { useImageContext } from "../../../contexts/ImageContext/index.js";
|
13
|
+
import { Box } from "../../../private/Box/index.js";
|
14
|
+
import { useActualSizes } from "./useActualSizes.js";
|
15
|
+
var Image = forwardRef((props, ref) => {
|
16
|
+
var _b;
|
17
|
+
const _a = props, {
|
13
18
|
className,
|
14
19
|
alt,
|
20
|
+
aspectRatio,
|
15
21
|
src,
|
16
22
|
sizes,
|
17
23
|
width = "100%",
|
18
24
|
maxWidth,
|
25
|
+
maxHeight,
|
19
26
|
height = "100%",
|
20
|
-
objectFit = "cover"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
27
|
+
objectFit = "cover"
|
28
|
+
} = _a, restProps = __objRest(_a, [
|
29
|
+
"className",
|
30
|
+
"alt",
|
31
|
+
"aspectRatio",
|
32
|
+
"src",
|
33
|
+
"sizes",
|
34
|
+
"width",
|
35
|
+
"maxWidth",
|
36
|
+
"maxHeight",
|
37
|
+
"height",
|
38
|
+
"objectFit"
|
39
|
+
]);
|
40
|
+
const { imageLoader, ImageComponent } = useImageContext();
|
41
|
+
const { actualSizes } = useActualSizes({ sizes, width, maxWidth });
|
25
42
|
if (ImageComponent) {
|
26
|
-
return /* @__PURE__ */ React.createElement(ImageComponent, {
|
27
|
-
...props,
|
43
|
+
return /* @__PURE__ */ React.createElement(ImageComponent, __spreadProps(__spreadValues({}, props), {
|
28
44
|
imageLoader
|
29
|
-
});
|
45
|
+
}));
|
30
46
|
}
|
31
47
|
if (!src) {
|
32
48
|
return null;
|
33
49
|
}
|
34
|
-
const {defaultSrcSet, webpSrcSet} = imageLoader
|
50
|
+
const { defaultSrcSet, webpSrcSet } = (_b = imageLoader == null ? void 0 : imageLoader(src)) != null ? _b : {};
|
35
51
|
return /* @__PURE__ */ React.createElement(Box, {
|
36
52
|
as: "picture",
|
37
53
|
className,
|
@@ -42,20 +58,23 @@ var Image = (props) => {
|
|
42
58
|
type: "image/webp",
|
43
59
|
srcSet: webpSrcSet,
|
44
60
|
sizes: actualSizes
|
45
|
-
}), /* @__PURE__ */ React.createElement(Box, {
|
46
|
-
|
47
|
-
|
61
|
+
}), /* @__PURE__ */ React.createElement(Box, __spreadProps(__spreadValues({
|
62
|
+
ref,
|
63
|
+
as: "img"
|
64
|
+
}, restProps), {
|
65
|
+
aspectRatio,
|
48
66
|
alt,
|
49
67
|
srcSet: defaultSrcSet,
|
50
68
|
src,
|
51
69
|
sizes: actualSizes,
|
52
70
|
width: "100%",
|
53
71
|
maxWidth,
|
72
|
+
maxHeight,
|
54
73
|
height: "100%",
|
55
74
|
objectFit,
|
56
75
|
verticalAlign: "top"
|
57
|
-
}));
|
58
|
-
};
|
76
|
+
})));
|
77
|
+
});
|
59
78
|
Image.forwardStyle = true;
|
60
79
|
export {
|
61
80
|
Image
|
package/lib/Media/Image/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Media/Image/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {Image} from "./Image.js";
|
7
|
+
import { Image } from "./Image.js";
|
8
8
|
export {
|
9
9
|
Image
|
10
10
|
};
|
@@ -1,23 +1,41 @@
|
|
1
1
|
import {
|
2
2
|
useDeepCompareMemo
|
3
|
-
} from "../../../chunk-
|
4
|
-
import "../../../chunk-BT7THJEN.js";
|
3
|
+
} from "../../../chunk-O6RRFC57.js";
|
5
4
|
import {
|
6
5
|
isDefined
|
7
|
-
} from "../../../chunk-
|
6
|
+
} from "../../../chunk-MBYCGPJ2.js";
|
7
|
+
import "../../../chunk-LN36XQS3.js";
|
8
8
|
import {
|
9
9
|
useTheme
|
10
|
-
} from "../../../chunk-
|
11
|
-
import "../../../chunk-
|
10
|
+
} from "../../../chunk-T7TBQTBE.js";
|
11
|
+
import "../../../chunk-LE44IRCL.js";
|
12
|
+
import "../../../chunk-CGEEKALF.js";
|
13
|
+
import "../../../chunk-J3Q2BPOW.js";
|
12
14
|
import {
|
13
15
|
init_react_shim
|
14
|
-
} from "../../../chunk-
|
16
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
15
17
|
|
16
18
|
// libs/shared/ui-system/src/lib/Media/Image/useActualSizes.ts
|
17
19
|
init_react_shim();
|
18
|
-
|
19
|
-
|
20
|
-
|
20
|
+
|
21
|
+
// libs/shared/utils-css/src/index.ts
|
22
|
+
init_react_shim();
|
23
|
+
|
24
|
+
// libs/shared/utils-css/src/lib/appendCssUnit/index.ts
|
25
|
+
init_react_shim();
|
26
|
+
|
27
|
+
// libs/shared/utils-css/src/lib/appendCssUnit/appendCssUnit.ts
|
28
|
+
init_react_shim();
|
29
|
+
function appendCssUnit(value, cssUnit) {
|
30
|
+
if (typeof value === "number" || !Number.isNaN(Number(value))) {
|
31
|
+
return `${value}${cssUnit}`;
|
32
|
+
}
|
33
|
+
return value;
|
34
|
+
}
|
35
|
+
|
36
|
+
// libs/shared/ui-system/src/lib/Media/Image/useActualSizes.ts
|
37
|
+
function useActualSizes({ sizes, width, maxWidth }) {
|
38
|
+
const { breakpoints } = useTheme();
|
21
39
|
const actualSizes = useDeepCompareMemo(() => {
|
22
40
|
if (Array.isArray(sizes)) {
|
23
41
|
return sizes.map((size, index) => {
|
@@ -29,11 +47,20 @@ function useActualSizes({sizes, width, maxWidth}) {
|
|
29
47
|
if (isDefined(sizes)) {
|
30
48
|
return appendCssUnit(sizes, "px");
|
31
49
|
}
|
32
|
-
if (
|
50
|
+
if (Array.isArray(maxWidth)) {
|
51
|
+
return maxWidth.map((maxWidthItem, index) => {
|
52
|
+
const condition = breakpoints[Math.min(index, breakpoints.length - 1)];
|
53
|
+
if (typeof maxWidthItem === "number" || (maxWidthItem == null ? void 0 : maxWidthItem.slice(-2)) === "px") {
|
54
|
+
const result = appendCssUnit(maxWidthItem, "px");
|
55
|
+
return index < maxWidth.length - 1 ? `(min-width: ${condition}) ${result}` : result;
|
56
|
+
}
|
57
|
+
}).join(",");
|
58
|
+
}
|
59
|
+
if (typeof maxWidth === "number" || (maxWidth == null ? void 0 : maxWidth.slice(-2)) === "px") {
|
33
60
|
const result = appendCssUnit(maxWidth, "px");
|
34
61
|
return `(min-width: ${result}) ${result}`;
|
35
62
|
}
|
36
|
-
if (typeof width === "number" || width
|
63
|
+
if (typeof width === "number" || (width == null ? void 0 : width.slice(-2)) === "px") {
|
37
64
|
return appendCssUnit(width, "px");
|
38
65
|
}
|
39
66
|
return void 0;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
3
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
4
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
5
5
|
|
6
6
|
// libs/shared/ui-system/src/lib/Media/SeekBar/SeekBar.tsx
|
7
7
|
init_react_shim();
|
8
|
-
import {useState} from "react";
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
8
|
+
import { useState } from "react";
|
9
|
+
import { Bar } from "../../../private/Bar/index.js";
|
10
|
+
import { Action } from "../../Action/index.js";
|
11
|
+
import { Range } from "../../Form/Range/index.js";
|
12
|
+
import { VStack } from "../../Layout/VStack/index.js";
|
13
13
|
var SeekBar = (props) => {
|
14
14
|
const {
|
15
15
|
currentTime,
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
init_react_shim
|
3
|
-
} from "../../../chunk-
|
3
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
4
4
|
|
5
5
|
// libs/shared/ui-system/src/lib/Media/SeekBar/index.ts
|
6
6
|
init_react_shim();
|
7
|
-
import {SeekBar} from "./SeekBar.js";
|
7
|
+
import { SeekBar } from "./SeekBar.js";
|
8
8
|
export {
|
9
9
|
SeekBar
|
10
10
|
};
|
package/lib/Media/Video/Video.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import {
|
2
2
|
React,
|
3
|
+
__spreadValues,
|
3
4
|
init_react_shim
|
4
|
-
} from "../../../chunk-
|
5
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
5
6
|
|
6
7
|
// libs/shared/ui-system/src/lib/Media/Video/Video.tsx
|
7
8
|
init_react_shim();
|
8
|
-
import {forwardRef} from "react";
|
9
|
-
import {Box} from "../../../private/Box/index.js";
|
9
|
+
import { forwardRef } from "react";
|
10
|
+
import { Box } from "../../../private/Box/index.js";
|
10
11
|
var VideoBox = Box;
|
11
|
-
var Video = forwardRef((props, ref) => /* @__PURE__ */ React.createElement(VideoBox, {
|
12
|
+
var Video = forwardRef((props, ref) => /* @__PURE__ */ React.createElement(VideoBox, __spreadValues({
|
12
13
|
ref,
|
13
14
|
as: "video",
|
14
15
|
width: "100%",
|
15
16
|
height: "100%",
|
16
|
-
playsInline: true
|
17
|
-
|
18
|
-
}));
|
17
|
+
playsInline: true
|
18
|
+
}, props)));
|
19
19
|
export {
|
20
20
|
Video
|
21
21
|
};
|