@class101/cdn-ui-system 0.0.7 → 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-37VQUPZR.js +217 -0
- package/chunk-BDSNAS3L.js +183 -0
- package/chunk-CGEEKALF.js +184 -0
- package/chunk-ESGHR2XF.js +603 -0
- package/chunk-IFZN3H2K.js +515 -0
- package/chunk-IPFBPHEG.js +9145 -0
- package/chunk-J3Q2BPOW.js +19 -0
- package/chunk-KBZLTPPY.js +58 -0
- package/chunk-KTYFPJF3.js +5428 -0
- package/chunk-LE44IRCL.js +152 -0
- package/chunk-LN36XQS3.js +47 -0
- package/chunk-MBYCGPJ2.js +29 -0
- package/chunk-O6RRFC57.js +255 -0
- package/chunk-QNI6E7MT.js +39 -0
- package/chunk-R4HM35UZ.js +84 -0
- package/chunk-RYCV4KQR.js +187 -0
- package/chunk-SFQY5CLW.js +300 -0
- package/chunk-SFWBAQL4.js +21 -0
- package/chunk-SPRM5WZD.js +29 -0
- package/chunk-SU3NURQK.js +254 -0
- package/chunk-T7TBQTBE.js +1510 -0
- package/chunk-VIIHQGZ3.js +76 -0
- package/chunk-XXMJSYNO.js +952 -0
- package/contexts/ImageContext/ImageContext.js +5 -3
- package/contexts/ImageContext/index.js +5 -3
- package/contexts/LinkContext/LinkContext.js +5 -3
- package/contexts/LinkContext/index.js +5 -3
- 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 +19 -10
- package/core/colors/DarkModeColors.js +6 -3
- package/core/colors/LightModeColors.js +6 -3
- package/core/index.js +21 -9
- package/core/props/action.js +8 -3
- package/core/props/animator.js +8 -3
- package/core/props/background.js +14 -4
- package/core/props/border.js +33 -5
- package/core/props/color.js +8 -3
- package/core/props/flexbox.js +17 -4
- package/core/props/icon.js +8 -3
- package/core/props/image.js +15 -6
- package/core/props/index.js +47 -22
- package/core/props/layout.js +37 -5
- package/core/props/position.js +8 -3
- package/core/props/shadow.js +8 -3
- package/core/props/space.js +8 -3
- package/core/props/transform.js +34 -3
- package/core/props/transition.js +8 -3
- package/core/props/types/ResponsiveValue.js +6 -2
- package/core/props/types/SystemComponent.js +6 -2
- package/core/props/typography.js +15 -5
- package/core/props/utils/calculateResponsiveValues.js +27 -0
- package/core/props/utils/getResponsiveValue.js +17 -10
- package/core/props/utils/skipForwardProps.js +8 -4
- package/core/props/video.js +9 -3
- package/core/theme/baseTheme.js +17 -4
- package/core/theme/defaultTheme.js +12 -10
- package/core/theme/signatureTheme.js +14 -11
- package/core/variants/baseVariant/baseVariant.js +7 -5
- package/core/variants/baseVariant/index.js +5 -3
- package/core/variants/makeStyled/index.js +11 -0
- package/core/variants/makeStyled/makeStyled.js +19 -0
- package/core/variants/propVariant/index.js +5 -3
- package/core/variants/propVariant/propVariant.js +12 -14
- package/core/variants/propVariant/propVariant.spec.js +13 -11
- 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 +5 -3
- package/core/variants/styleVariant/styleVariant.js +21 -14
- package/core/variants/styleVariant/styleVariant.spec.js +17 -13
- 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 +5 -3
- package/core/variants/system/system.js +27 -19
- 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 +5 -3
- package/hooks/useResponsiveValue/useResponsiveValue.js +18 -8
- package/hooks/useWindowResizeEvent/index.js +10 -0
- package/hooks/useWindowResizeEvent/useWindowResizeEvent.js +27 -0
- package/index.js +160 -100
- package/lib/Accordion/Accordion.js +27 -17
- package/lib/Accordion/index.js +5 -3
- package/lib/Action/Action.js +18 -15
- package/lib/Action/index.js +5 -3
- package/lib/Alert/Alert.js +16 -11
- package/lib/Alert/index.js +5 -3
- package/lib/Animation/Animator/Animator.js +37 -25
- package/lib/Animation/Animator/index.js +5 -3
- package/lib/Animation/FadeAnimation/FadeAnimation.js +28 -15
- package/lib/Animation/FadeAnimation/index.js +5 -3
- package/lib/Animation/RotateAnimation/RotateAnimation.js +16 -8
- package/lib/Animation/RotateAnimation/index.js +5 -3
- package/lib/Animation/SlideAnimation/SlideAnimation.js +20 -10
- package/lib/Animation/SlideAnimation/index.js +5 -3
- package/lib/Animation/Transition/Transition.js +27 -16
- package/lib/Animation/Transition/index.js +5 -3
- package/lib/Avatar/Avatar.js +100 -82
- package/lib/Avatar/index.js +5 -3
- package/lib/Backdrop/Backdrop.js +15 -9
- package/lib/Backdrop/index.js +5 -3
- package/lib/Background/Background.js +15 -25
- package/lib/Background/index.js +5 -3
- package/lib/BackgroundImage/BackgroundImage.js +20 -0
- package/lib/BackgroundImage/index.js +10 -0
- package/lib/BreadCrumb/BreadCrumb.js +21 -12
- package/lib/BreadCrumb/index.js +5 -3
- package/lib/BulletPagination/BulletPagination.js +37 -0
- package/lib/BulletPagination/index.js +10 -0
- package/lib/Button/Button/Button.js +69 -19
- package/lib/Button/Button/index.js +5 -3
- package/lib/Button/ContainedButton/ContainedButton.js +147 -123
- package/lib/Button/ContainedButton/index.js +5 -3
- package/lib/Button/GhostButton/GhostButton.js +155 -0
- package/lib/Button/GhostButton/index.js +10 -0
- package/lib/Button/TextButton/TextButton.js +112 -104
- package/lib/Button/TextButton/index.js +5 -3
- 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 +6 -3
- package/lib/ConditionalWrapper/index.js +5 -3
- package/lib/ContentArea/ContentArea.js +41 -0
- package/lib/ContentArea/index.js +10 -0
- package/lib/Divider/Divider.js +19 -15
- package/lib/Divider/index.js +5 -3
- 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 +18 -7
- package/lib/Elevation/index.js +5 -3
- 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 +26 -20
- package/lib/Form/CheckBox/index.js +5 -3
- package/lib/Form/CheckBoxField/CheckBoxField.js +26 -17
- package/lib/Form/CheckBoxField/index.js +5 -3
- package/lib/Form/Description/Description.js +28 -19
- package/lib/Form/Description/index.js +5 -3
- package/lib/Form/FormField/FormField.js +10 -7
- package/lib/Form/FormField/index.js +5 -3
- package/lib/Form/HiddenInput/HiddenInput.js +26 -22
- package/lib/Form/HiddenInput/index.js +5 -3
- package/lib/Form/InlineTextLabel/InlineTextLabel.js +78 -20
- package/lib/Form/InlineTextLabel/index.js +5 -3
- package/lib/Form/Input/Input.js +23 -46
- package/lib/Form/Input/index.js +5 -3
- package/lib/Form/Label/Label.js +6 -3
- package/lib/Form/Label/index.js +5 -3
- 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 +21 -17
- package/lib/Form/Range/index.js +5 -3
- package/lib/Form/SearchInput/SearchInput.js +72 -0
- package/lib/Form/SearchInput/index.js +10 -0
- package/lib/Form/Select/Select.js +60 -44
- package/lib/Form/Select/index.js +5 -3
- package/lib/Form/SelectField/SelectField.js +23 -16
- package/lib/Form/SelectField/index.js +5 -3
- package/lib/Form/TextArea/TextArea.js +16 -10
- package/lib/Form/TextArea/index.js +5 -3
- package/lib/Form/TextAreaField/TextAreaField.js +28 -0
- package/lib/Form/TextAreaField/index.js +10 -0
- package/lib/Form/TextField/TextField.js +23 -16
- package/lib/Form/TextField/index.js +5 -3
- 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 +9 -6
- package/lib/Form/TextLabel/index.js +5 -3
- package/lib/GlobalStyle/GlobalStyle.js +33 -5
- package/lib/GlobalStyle/index.js +5 -3
- package/lib/GridList/GridList.js +44 -24
- package/lib/GridList/__mocks__/index.js +4 -2
- package/lib/GridList/index.js +5 -3
- package/lib/Highlight/Highlight.js +7 -4
- package/lib/Highlight/index.js +5 -3
- package/lib/HtmlContentStyle/HtmlContentStyle.js +38 -45
- package/lib/HtmlContentStyle/index.js +5 -3
- package/lib/Icon/Icon.js +4 -2
- package/lib/Icon/fill/Add.js +26 -13
- package/lib/Icon/fill/AddCircle.js +26 -13
- package/lib/Icon/fill/Alert.js +33 -20
- package/lib/Icon/fill/AlertCircle.js +26 -13
- package/lib/Icon/fill/Analysis.js +26 -13
- package/lib/Icon/fill/AppDownloadCircle.js +26 -13
- package/lib/Icon/fill/AppleCircle.js +26 -13
- package/lib/Icon/fill/Archive.js +26 -13
- package/lib/Icon/fill/ArrowDown.js +26 -13
- package/lib/Icon/fill/ArrowLeft.js +26 -13
- package/lib/Icon/fill/ArrowRight.js +26 -13
- package/lib/Icon/fill/ArrowUp.js +26 -13
- package/lib/Icon/fill/Badge.js +26 -13
- package/lib/Icon/fill/Bell.js +26 -13
- package/lib/Icon/fill/BellOff.js +26 -13
- package/lib/Icon/fill/Bold.js +26 -13
- package/lib/Icon/fill/Bookmark.js +26 -13
- package/lib/Icon/fill/Camera.js +26 -13
- package/lib/Icon/fill/Canlendar.js +26 -13
- package/lib/Icon/fill/Caption.js +29 -16
- package/lib/Icon/fill/Cart.js +32 -0
- package/lib/Icon/fill/Check.js +33 -20
- package/lib/Icon/fill/CheckCircle.js +26 -13
- package/lib/Icon/fill/CheckboxIndeterminated.js +26 -13
- package/lib/Icon/fill/CheckboxOff.js +26 -13
- package/lib/Icon/fill/CheckboxOn.js +26 -13
- package/lib/Icon/fill/ChevronDown.js +26 -13
- package/lib/Icon/fill/ChevronLeft.js +26 -13
- package/lib/Icon/fill/ChevronRight.js +26 -13
- package/lib/Icon/fill/ChevronUp.js +26 -13
- package/lib/Icon/fill/Clap.js +26 -13
- package/lib/Icon/fill/ClearStyle.js +26 -13
- package/lib/Icon/fill/Clip.js +26 -13
- package/lib/Icon/fill/Clock.js +33 -20
- package/lib/Icon/fill/Close.js +26 -13
- package/lib/Icon/fill/CloseCircle.js +26 -13
- package/lib/Icon/fill/Comment.js +26 -13
- package/lib/Icon/fill/Compass.js +26 -13
- package/lib/Icon/fill/Confetti.js +34 -21
- package/lib/Icon/fill/Contents.js +26 -13
- package/lib/Icon/fill/Copy.js +29 -16
- package/lib/Icon/fill/Coupon.js +26 -13
- package/lib/Icon/fill/CreditCard.js +26 -13
- package/lib/Icon/fill/Crop.js +26 -13
- package/lib/Icon/fill/Crown.js +26 -13
- package/lib/Icon/fill/DepositPassbook.js +26 -13
- package/lib/Icon/fill/Design.js +29 -16
- package/lib/Icon/fill/Development.js +26 -13
- package/lib/Icon/fill/DisclosureDown.js +26 -13
- package/lib/Icon/fill/DisclosureUp.js +26 -13
- package/lib/Icon/fill/Dislike.js +26 -13
- package/lib/Icon/fill/Divider.js +26 -13
- package/lib/Icon/fill/Download.js +29 -16
- package/lib/Icon/fill/DropDown.js +26 -13
- package/lib/Icon/fill/DropUp.js +26 -13
- package/lib/Icon/fill/Earybird.js +26 -13
- package/lib/Icon/fill/Edit.js +28 -15
- package/lib/Icon/fill/EyeOff.js +26 -13
- package/lib/Icon/fill/EyeOn.js +29 -16
- package/lib/Icon/fill/FacebookCircle.js +26 -13
- package/lib/Icon/fill/Filter.js +26 -13
- package/lib/Icon/fill/FullScreen.js +26 -13
- package/lib/Icon/fill/FullScreenExit.js +26 -13
- package/lib/Icon/fill/Gear.js +28 -15
- package/lib/Icon/fill/Ghost.js +26 -13
- package/lib/Icon/fill/Gift.js +26 -13
- package/lib/Icon/fill/Groove.js +26 -13
- package/lib/Icon/fill/Hashtag.js +26 -13
- package/lib/Icon/fill/Heart.js +26 -13
- package/lib/Icon/fill/HeartFull.js +26 -13
- package/lib/Icon/fill/HelpCircle.js +26 -13
- package/lib/Icon/fill/Home.js +26 -13
- package/lib/Icon/fill/Hot.js +26 -13
- package/lib/Icon/fill/InfoCircle.js +26 -13
- package/lib/Icon/fill/InstagramCircle.js +29 -16
- package/lib/Icon/fill/Laptop.js +26 -13
- package/lib/Icon/fill/Like.js +26 -13
- package/lib/Icon/fill/Link.js +29 -16
- package/lib/Icon/fill/LinkOutside.js +29 -16
- package/lib/Icon/fill/ListBullet.js +26 -13
- package/lib/Icon/fill/ListNumber.js +26 -13
- package/lib/Icon/fill/Location.js +26 -13
- package/lib/Icon/fill/LocationCurrent.js +26 -13
- package/lib/Icon/fill/Lock.js +26 -13
- package/lib/Icon/fill/LockOff.js +26 -13
- package/lib/Icon/fill/Logout.js +26 -13
- package/lib/Icon/fill/Menu.js +26 -13
- package/lib/Icon/fill/Message.js +32 -19
- package/lib/Icon/fill/Mic.js +29 -16
- package/lib/Icon/fill/Minus.js +26 -13
- package/lib/Icon/fill/MinusCircle.js +26 -13
- package/lib/Icon/fill/Mobile.js +26 -13
- package/lib/Icon/fill/Monitor.js +26 -13
- package/lib/Icon/fill/MoreHorizontal.js +26 -13
- package/lib/Icon/fill/MoreVertical.js +26 -13
- package/lib/Icon/fill/NaverCircle.js +26 -13
- package/lib/Icon/fill/Notice.js +26 -13
- package/lib/Icon/fill/Oa.js +26 -13
- package/lib/Icon/fill/Paper1.js +26 -13
- package/lib/Icon/fill/Paper2.js +26 -13
- package/lib/Icon/fill/Paper3.js +26 -13
- package/lib/Icon/fill/Person.js +29 -16
- package/lib/Icon/fill/Phone.js +26 -13
- package/lib/Icon/fill/Photo.js +29 -16
- package/lib/Icon/fill/PhotoAdd.js +29 -16
- package/lib/Icon/fill/PhotoDouble.js +32 -19
- package/lib/Icon/fill/Pin.js +26 -13
- package/lib/Icon/fill/Pip.js +29 -16
- package/lib/Icon/fill/Play.js +26 -13
- package/lib/Icon/fill/PlayBackA.js +32 -19
- package/lib/Icon/fill/PlayCircle.js +26 -13
- package/lib/Icon/fill/PlayFast.js +26 -13
- package/lib/Icon/fill/PlayFast10Sec.js +29 -16
- package/lib/Icon/fill/PlayFast15Sec.js +29 -16
- package/lib/Icon/fill/PlayFast5Sec.js +29 -16
- package/lib/Icon/fill/PlayNext.js +26 -13
- package/lib/Icon/fill/PlayPause.js +26 -13
- package/lib/Icon/fill/PlayPrev.js +26 -13
- package/lib/Icon/fill/PlayRewind10Sec.js +29 -16
- package/lib/Icon/fill/PlayRewind15Sec.js +29 -16
- package/lib/Icon/fill/PlayRewind5Sec.js +29 -16
- package/lib/Icon/fill/PlaySpeedX025.js +26 -13
- package/lib/Icon/fill/PlaySpeedX05.js +26 -13
- package/lib/Icon/fill/PlaySpeedX1.js +26 -13
- package/lib/Icon/fill/PlaySpeedX15.js +26 -13
- package/lib/Icon/fill/PlaySpeedX2.js +26 -13
- package/lib/Icon/fill/PlaystoreCircle.js +26 -13
- package/lib/Icon/fill/PointCircle.js +29 -16
- package/lib/Icon/fill/Project.js +26 -13
- package/lib/Icon/fill/Quote.js +26 -13
- package/lib/Icon/fill/QuoteReverse.js +26 -13
- package/lib/Icon/fill/Receipt.js +26 -13
- package/lib/Icon/fill/Repeat.js +26 -13
- package/lib/Icon/fill/Replay.js +29 -16
- package/lib/Icon/fill/Reply.js +26 -13
- package/lib/Icon/fill/Report.js +26 -13
- package/lib/Icon/fill/Rocket.js +26 -13
- package/lib/Icon/fill/RotateClockwise.js +33 -20
- package/lib/Icon/fill/Sad.js +26 -13
- package/lib/Icon/fill/Search.js +26 -13
- package/lib/Icon/fill/Send.js +26 -13
- package/lib/Icon/fill/Send2.js +26 -13
- package/lib/Icon/fill/Serious.js +26 -13
- package/lib/Icon/fill/Share.js +29 -16
- package/lib/Icon/fill/Sheild.js +26 -13
- package/lib/Icon/fill/ShippingTruck.js +29 -16
- package/lib/Icon/fill/Smile.js +26 -13
- package/lib/Icon/fill/SocialMedia.js +26 -13
- package/lib/Icon/fill/Sorting.js +32 -19
- package/lib/Icon/fill/Square.js +26 -13
- package/lib/Icon/fill/Star.js +26 -13
- package/lib/Icon/fill/StarFull.js +26 -13
- package/lib/Icon/fill/StarHalf.js +26 -13
- package/lib/Icon/fill/Stock.js +26 -13
- package/lib/Icon/fill/Store.js +26 -13
- package/lib/Icon/fill/Subtitle.js +26 -13
- package/lib/Icon/fill/TalkHelp.js +33 -20
- package/lib/Icon/fill/TextH1.js +26 -13
- package/lib/Icon/fill/TextH2.js +26 -13
- package/lib/Icon/fill/TextH3.js +26 -13
- package/lib/Icon/fill/ThunderCircle.js +26 -13
- package/lib/Icon/fill/Timer.js +26 -13
- package/lib/Icon/fill/ToggleOff.js +26 -13
- package/lib/Icon/fill/ToggleOn.js +26 -13
- package/lib/Icon/fill/ToteBag.js +26 -13
- package/lib/Icon/fill/Trash.js +26 -13
- package/lib/Icon/fill/TwitterCircle.js +26 -13
- package/lib/Icon/fill/Undo.js +26 -13
- package/lib/Icon/fill/Video.js +26 -13
- package/lib/Icon/fill/Volume.js +29 -16
- package/lib/Icon/fill/VolumeMute.js +26 -13
- package/lib/Icon/fill/Web.js +26 -13
- package/lib/Icon/fill/Won.js +26 -13
- package/lib/Icon/fill/WonBadge.js +26 -13
- package/lib/Icon/fill/WonCircle.js +26 -13
- package/lib/Icon/fill/Write.js +26 -13
- package/lib/Icon/fill/YoutubeCircle.js +29 -16
- package/lib/Icon/fill/index.js +182 -178
- package/lib/Icon/index.js +4 -2
- package/lib/Icon/regular/Add.js +26 -13
- package/lib/Icon/regular/AddCircle.js +29 -16
- package/lib/Icon/regular/Alert.js +29 -16
- package/lib/Icon/regular/AlertCircle.js +29 -16
- package/lib/Icon/regular/Analysis.js +26 -13
- package/lib/Icon/regular/AppDownloadCircle.js +32 -19
- package/lib/Icon/regular/AppleCircle.js +31 -18
- package/lib/Icon/regular/Archive.js +29 -16
- package/lib/Icon/regular/ArrowDown.js +26 -13
- package/lib/Icon/regular/ArrowLeft.js +26 -13
- package/lib/Icon/regular/ArrowRight.js +26 -13
- package/lib/Icon/regular/ArrowUp.js +26 -13
- package/lib/Icon/regular/Badge.js +29 -16
- package/lib/Icon/regular/Bell.js +31 -18
- package/lib/Icon/regular/BellOff.js +31 -18
- package/lib/Icon/regular/Bold.js +26 -13
- package/lib/Icon/regular/Bookmark.js +26 -13
- package/lib/Icon/regular/Camera.js +29 -16
- package/lib/Icon/regular/Canlendar.js +29 -16
- package/lib/Icon/regular/Caption.js +29 -16
- package/lib/Icon/regular/Cart.js +32 -0
- package/lib/Icon/regular/Check.js +26 -13
- package/lib/Icon/regular/CheckCircle.js +29 -16
- package/lib/Icon/regular/CheckboxIndeterminated.js +26 -13
- package/lib/Icon/regular/CheckboxOff.js +26 -13
- package/lib/Icon/regular/CheckboxOn.js +26 -13
- package/lib/Icon/regular/ChevronDown.js +26 -13
- package/lib/Icon/regular/ChevronLeft.js +26 -13
- package/lib/Icon/regular/ChevronRight.js +26 -13
- package/lib/Icon/regular/ChevronUp.js +26 -13
- package/lib/Icon/regular/Clap.js +29 -16
- package/lib/Icon/regular/ClearStyle.js +26 -13
- package/lib/Icon/regular/Clip.js +26 -13
- package/lib/Icon/regular/Clock.js +31 -18
- package/lib/Icon/regular/Close.js +26 -13
- package/lib/Icon/regular/CloseCircle.js +29 -16
- package/lib/Icon/regular/Comment.js +29 -16
- package/lib/Icon/regular/Compass.js +29 -16
- package/lib/Icon/regular/Confetti.js +26 -13
- package/lib/Icon/regular/Contents.js +29 -16
- package/lib/Icon/regular/Copy.js +29 -16
- package/lib/Icon/regular/Coupon.js +26 -13
- package/lib/Icon/regular/CreditCard.js +26 -13
- package/lib/Icon/regular/Crop.js +26 -13
- package/lib/Icon/regular/Crown.js +26 -13
- package/lib/Icon/regular/DepositPassbook.js +26 -13
- package/lib/Icon/regular/Design.js +29 -16
- package/lib/Icon/regular/Development.js +26 -13
- package/lib/Icon/regular/DisclosureDown.js +26 -13
- package/lib/Icon/regular/DisclosureUp.js +26 -13
- package/lib/Icon/regular/Dislike.js +33 -20
- package/lib/Icon/regular/Divider.js +26 -13
- package/lib/Icon/regular/Download.js +29 -16
- package/lib/Icon/regular/DropDown.js +26 -13
- package/lib/Icon/regular/DropUp.js +26 -13
- package/lib/Icon/regular/Earybird.js +29 -16
- package/lib/Icon/regular/Edit.js +26 -13
- package/lib/Icon/regular/EyeOff.js +26 -13
- package/lib/Icon/regular/EyeOn.js +29 -16
- package/lib/Icon/regular/FacebookCircle.js +31 -18
- package/lib/Icon/regular/Filter.js +26 -13
- package/lib/Icon/regular/FullScreen.js +26 -13
- package/lib/Icon/regular/FullScreenExit.js +26 -13
- package/lib/Icon/regular/Gear.js +28 -15
- package/lib/Icon/regular/Ghost.js +29 -16
- package/lib/Icon/regular/Gift.js +26 -13
- package/lib/Icon/regular/Groove.js +26 -13
- package/lib/Icon/regular/Hashtag.js +26 -13
- package/lib/Icon/regular/Heart.js +26 -13
- package/lib/Icon/regular/HeartFull.js +26 -13
- package/lib/Icon/regular/HelpCircle.js +29 -16
- package/lib/Icon/regular/Home.js +29 -16
- package/lib/Icon/regular/Hot.js +29 -16
- package/lib/Icon/regular/InfoCircle.js +29 -16
- package/lib/Icon/regular/InstagramCircle.js +32 -19
- package/lib/Icon/regular/Laptop.js +26 -13
- package/lib/Icon/regular/Like.js +26 -13
- package/lib/Icon/regular/Link.js +29 -16
- package/lib/Icon/regular/LinkOutside.js +29 -16
- package/lib/Icon/regular/ListBullet.js +26 -13
- package/lib/Icon/regular/ListNumber.js +26 -13
- package/lib/Icon/regular/Location.js +29 -16
- package/lib/Icon/regular/LocationCurrent.js +26 -13
- package/lib/Icon/regular/Lock.js +29 -16
- package/lib/Icon/regular/LockOff.js +29 -16
- package/lib/Icon/regular/Logout.js +26 -13
- package/lib/Icon/regular/Menu.js +26 -13
- package/lib/Icon/regular/Message.js +26 -13
- package/lib/Icon/regular/Mic.js +29 -16
- package/lib/Icon/regular/Minus.js +26 -13
- package/lib/Icon/regular/MinusCircle.js +29 -16
- package/lib/Icon/regular/Mobile.js +29 -16
- package/lib/Icon/regular/Monitor.js +26 -13
- package/lib/Icon/regular/MoreHorizontal.js +26 -13
- package/lib/Icon/regular/MoreVertical.js +26 -13
- package/lib/Icon/regular/NaverCircle.js +29 -16
- package/lib/Icon/regular/Notice.js +26 -13
- package/lib/Icon/regular/Oa.js +26 -13
- package/lib/Icon/regular/Paper1.js +26 -13
- package/lib/Icon/regular/Paper2.js +29 -16
- package/lib/Icon/regular/Paper3.js +29 -16
- package/lib/Icon/regular/Person.js +26 -13
- package/lib/Icon/regular/Phone.js +26 -13
- package/lib/Icon/regular/Photo.js +29 -16
- package/lib/Icon/regular/PhotoAdd.js +32 -19
- package/lib/Icon/regular/PhotoDouble.js +32 -19
- package/lib/Icon/regular/Pin.js +26 -13
- package/lib/Icon/regular/Pip.js +29 -16
- package/lib/Icon/regular/Play.js +26 -13
- package/lib/Icon/regular/PlayBackA.js +32 -19
- package/lib/Icon/regular/PlayCircle.js +29 -16
- package/lib/Icon/regular/PlayFast.js +26 -13
- package/lib/Icon/regular/PlayFast10Sec.js +29 -16
- package/lib/Icon/regular/PlayFast15Sec.js +29 -16
- package/lib/Icon/regular/PlayFast5Sec.js +29 -16
- package/lib/Icon/regular/PlayNext.js +26 -13
- package/lib/Icon/regular/PlayPause.js +26 -13
- package/lib/Icon/regular/PlayPrev.js +26 -13
- package/lib/Icon/regular/PlayRewind10Sec.js +29 -16
- package/lib/Icon/regular/PlayRewind15Sec.js +29 -16
- package/lib/Icon/regular/PlayRewind5Sec.js +29 -16
- package/lib/Icon/regular/PlaySpeedX025.js +26 -13
- package/lib/Icon/regular/PlaySpeedX05.js +26 -13
- package/lib/Icon/regular/PlaySpeedX1.js +26 -13
- package/lib/Icon/regular/PlaySpeedX15.js +26 -13
- package/lib/Icon/regular/PlaySpeedX2.js +26 -13
- package/lib/Icon/regular/PlaystoreCircle.js +29 -16
- package/lib/Icon/regular/PointCircle.js +29 -16
- package/lib/Icon/regular/Project.js +26 -13
- package/lib/Icon/regular/Quote.js +26 -13
- package/lib/Icon/regular/QuoteReverse.js +26 -13
- package/lib/Icon/regular/Receipt.js +29 -16
- package/lib/Icon/regular/Repeat.js +26 -13
- package/lib/Icon/regular/Replay.js +29 -16
- package/lib/Icon/regular/Reply.js +31 -18
- package/lib/Icon/regular/Report.js +26 -13
- package/lib/Icon/regular/Rocket.js +29 -16
- package/lib/Icon/regular/RotateClockwise.js +26 -13
- package/lib/Icon/regular/Sad.js +32 -19
- package/lib/Icon/regular/Search.js +26 -13
- package/lib/Icon/regular/Send.js +26 -13
- package/lib/Icon/regular/Send2.js +26 -13
- package/lib/Icon/regular/Serious.js +29 -16
- package/lib/Icon/regular/Share.js +29 -16
- package/lib/Icon/regular/Sheild.js +29 -16
- package/lib/Icon/regular/ShippingTruck.js +26 -13
- package/lib/Icon/regular/Smile.js +29 -16
- package/lib/Icon/regular/SocialMedia.js +29 -16
- package/lib/Icon/regular/Sorting.js +32 -19
- package/lib/Icon/regular/Square.js +26 -13
- package/lib/Icon/regular/Star.js +26 -13
- package/lib/Icon/regular/StarFull.js +26 -13
- package/lib/Icon/regular/StarHalf.js +26 -13
- package/lib/Icon/regular/Stock.js +26 -13
- package/lib/Icon/regular/Store.js +26 -13
- package/lib/Icon/regular/Subtitle.js +29 -16
- package/lib/Icon/regular/TalkHelp.js +29 -16
- package/lib/Icon/regular/TextH1.js +26 -13
- package/lib/Icon/regular/TextH2.js +26 -13
- package/lib/Icon/regular/TextH3.js +26 -13
- package/lib/Icon/regular/ThunderCircle.js +29 -16
- package/lib/Icon/regular/Timer.js +31 -18
- package/lib/Icon/regular/ToggleOff.js +26 -13
- package/lib/Icon/regular/ToggleOn.js +26 -13
- package/lib/Icon/regular/ToteBag.js +26 -13
- package/lib/Icon/regular/Trash.js +29 -16
- package/lib/Icon/regular/Twitter.js +32 -0
- package/lib/Icon/regular/TwitterCircle.js +29 -16
- package/lib/Icon/regular/Undo.js +26 -13
- package/lib/Icon/regular/Video.js +29 -16
- package/lib/Icon/regular/Volume.js +29 -16
- package/lib/Icon/regular/VolumeMute.js +26 -13
- package/lib/Icon/regular/Web.js +26 -13
- package/lib/Icon/regular/Won.js +26 -13
- package/lib/Icon/regular/WonBadge.js +29 -16
- package/lib/Icon/regular/WonCircle.js +29 -16
- package/lib/Icon/regular/Write.js +26 -13
- package/lib/Icon/regular/YoutubeCircle.js +29 -16
- package/lib/Icon/regular/index.js +184 -178
- package/lib/Icon/thin/Add.js +26 -13
- package/lib/Icon/thin/AddCircle.js +29 -16
- package/lib/Icon/thin/Alert.js +35 -22
- package/lib/Icon/thin/AlertCircle.js +29 -16
- package/lib/Icon/thin/Analysis.js +26 -13
- package/lib/Icon/thin/AppDownloadCircle.js +29 -16
- package/lib/Icon/thin/AppleCircle.js +31 -18
- package/lib/Icon/thin/Archive.js +29 -16
- package/lib/Icon/thin/ArrowDown.js +26 -13
- package/lib/Icon/thin/ArrowLeft.js +26 -13
- package/lib/Icon/thin/ArrowRight.js +26 -13
- package/lib/Icon/thin/ArrowUp.js +26 -13
- package/lib/Icon/thin/Badge.js +29 -16
- package/lib/Icon/thin/Bell.js +26 -13
- package/lib/Icon/thin/BellOff.js +26 -13
- package/lib/Icon/thin/Bold.js +26 -13
- package/lib/Icon/thin/Bookmark.js +26 -13
- package/lib/Icon/thin/Camera.js +29 -16
- package/lib/Icon/thin/Canlendar.js +29 -16
- package/lib/Icon/thin/Caption.js +29 -16
- package/lib/Icon/thin/Cart.js +32 -0
- package/lib/Icon/thin/Check.js +26 -13
- package/lib/Icon/thin/CheckCircle.js +29 -16
- package/lib/Icon/thin/CheckboxIndeterminated.js +28 -15
- package/lib/Icon/thin/CheckboxOff.js +26 -13
- package/lib/Icon/thin/CheckboxOn.js +28 -15
- package/lib/Icon/thin/ChevronDown.js +26 -13
- package/lib/Icon/thin/ChevronLeft.js +26 -13
- package/lib/Icon/thin/ChevronRight.js +26 -13
- package/lib/Icon/thin/ChevronUp.js +26 -13
- package/lib/Icon/thin/Clap.js +26 -13
- package/lib/Icon/thin/ClearStyle.js +26 -13
- package/lib/Icon/thin/Clip.js +26 -13
- package/lib/Icon/thin/Clock.js +29 -16
- package/lib/Icon/thin/Close.js +26 -13
- package/lib/Icon/thin/CloseCircle.js +29 -16
- package/lib/Icon/thin/Comment.js +29 -16
- package/lib/Icon/thin/Compass.js +29 -16
- package/lib/Icon/thin/Confetti.js +26 -13
- package/lib/Icon/thin/Contents.js +29 -16
- package/lib/Icon/thin/Copy.js +29 -16
- package/lib/Icon/thin/Coupon.js +26 -13
- package/lib/Icon/thin/CreditCard.js +26 -13
- package/lib/Icon/thin/Crop.js +26 -13
- package/lib/Icon/thin/Crown.js +26 -13
- package/lib/Icon/thin/DepositPassbook.js +26 -13
- package/lib/Icon/thin/Design.js +29 -16
- package/lib/Icon/thin/Development.js +26 -13
- package/lib/Icon/thin/DisclosureDown.js +26 -13
- package/lib/Icon/thin/DisclosureUp.js +26 -13
- package/lib/Icon/thin/Dislike.js +33 -20
- package/lib/Icon/thin/Divider.js +26 -13
- package/lib/Icon/thin/Download.js +29 -16
- package/lib/Icon/thin/DropDown.js +26 -13
- package/lib/Icon/thin/DropUp.js +26 -13
- package/lib/Icon/thin/Earybird.js +29 -16
- package/lib/Icon/thin/Edit.js +26 -13
- package/lib/Icon/thin/EyeOff.js +26 -13
- package/lib/Icon/thin/EyeOn.js +29 -16
- package/lib/Icon/thin/FacebookCircle.js +31 -18
- package/lib/Icon/thin/Filter.js +26 -13
- package/lib/Icon/thin/FullScreen.js +26 -13
- package/lib/Icon/thin/FullScreenExit.js +26 -13
- package/lib/Icon/thin/Gear.js +26 -13
- package/lib/Icon/thin/Ghost.js +29 -16
- package/lib/Icon/thin/Gift.js +26 -13
- package/lib/Icon/thin/Groove.js +26 -13
- package/lib/Icon/thin/Hashtag.js +26 -13
- package/lib/Icon/thin/Heart.js +26 -13
- package/lib/Icon/thin/HeartFull.js +26 -13
- package/lib/Icon/thin/HelpCircle.js +29 -16
- package/lib/Icon/thin/Home.js +29 -16
- package/lib/Icon/thin/Hot.js +29 -16
- package/lib/Icon/thin/InfoCircle.js +29 -16
- package/lib/Icon/thin/InstagramCircle.js +32 -19
- package/lib/Icon/thin/Laptop.js +26 -13
- package/lib/Icon/thin/Like.js +26 -13
- package/lib/Icon/thin/Link.js +29 -16
- package/lib/Icon/thin/LinkOutside.js +29 -16
- package/lib/Icon/thin/ListBullet.js +26 -13
- package/lib/Icon/thin/ListNumber.js +26 -13
- package/lib/Icon/thin/Location.js +29 -16
- package/lib/Icon/thin/LocationCurrent.js +26 -13
- package/lib/Icon/thin/Lock.js +29 -16
- package/lib/Icon/thin/LockOff.js +29 -16
- package/lib/Icon/thin/Logout.js +26 -13
- package/lib/Icon/thin/Menu.js +26 -13
- package/lib/Icon/thin/Message.js +26 -13
- package/lib/Icon/thin/Mic.js +29 -16
- package/lib/Icon/thin/Minus.js +26 -13
- package/lib/Icon/thin/MinusCircle.js +29 -16
- package/lib/Icon/thin/Mobile.js +29 -16
- package/lib/Icon/thin/Monitor.js +26 -13
- package/lib/Icon/thin/MoreHorizontal.js +26 -13
- package/lib/Icon/thin/MoreVertical.js +26 -13
- package/lib/Icon/thin/NaverCircle.js +29 -16
- package/lib/Icon/thin/Notice.js +26 -13
- package/lib/Icon/thin/Oa.js +26 -13
- package/lib/Icon/thin/Paper1.js +26 -13
- package/lib/Icon/thin/Paper2.js +29 -16
- package/lib/Icon/thin/Paper3.js +29 -16
- package/lib/Icon/thin/Person.js +26 -13
- package/lib/Icon/thin/Phone.js +26 -13
- package/lib/Icon/thin/Photo.js +29 -16
- package/lib/Icon/thin/PhotoAdd.js +29 -16
- package/lib/Icon/thin/PhotoDouble.js +29 -16
- package/lib/Icon/thin/Pin.js +26 -13
- package/lib/Icon/thin/Pip.js +29 -16
- package/lib/Icon/thin/Play.js +26 -13
- package/lib/Icon/thin/PlayBackA.js +26 -13
- package/lib/Icon/thin/PlayCircle.js +29 -16
- package/lib/Icon/thin/PlayFast.js +26 -13
- package/lib/Icon/thin/PlayFast10Sec.js +29 -16
- package/lib/Icon/thin/PlayFast15Sec.js +29 -16
- package/lib/Icon/thin/PlayFast5Sec.js +29 -16
- package/lib/Icon/thin/PlayNext.js +26 -13
- package/lib/Icon/thin/PlayPause.js +26 -13
- package/lib/Icon/thin/PlayPrev.js +26 -13
- package/lib/Icon/thin/PlayRewind10Sec.js +29 -16
- package/lib/Icon/thin/PlayRewind15Sec.js +29 -16
- package/lib/Icon/thin/PlayRewind5Sec.js +29 -16
- package/lib/Icon/thin/PlaySpeedX025.js +26 -13
- package/lib/Icon/thin/PlaySpeedX05.js +26 -13
- package/lib/Icon/thin/PlaySpeedX1.js +26 -13
- package/lib/Icon/thin/PlaySpeedX15.js +26 -13
- package/lib/Icon/thin/PlaySpeedX2.js +26 -13
- package/lib/Icon/thin/PlaystoreCircle.js +29 -16
- package/lib/Icon/thin/PointCircle.js +29 -16
- package/lib/Icon/thin/Project.js +26 -13
- package/lib/Icon/thin/Quote.js +26 -13
- package/lib/Icon/thin/QuoteReverse.js +26 -13
- package/lib/Icon/thin/Receipt.js +29 -16
- package/lib/Icon/thin/Repeat.js +26 -13
- package/lib/Icon/thin/Replay.js +29 -16
- package/lib/Icon/thin/Reply.js +29 -16
- package/lib/Icon/thin/Report.js +26 -13
- package/lib/Icon/thin/Rocket.js +29 -16
- package/lib/Icon/thin/RotateClockwise.js +29 -16
- package/lib/Icon/thin/Sad.js +32 -19
- package/lib/Icon/thin/Search.js +26 -13
- package/lib/Icon/thin/Send.js +26 -13
- package/lib/Icon/thin/Send2.js +26 -13
- package/lib/Icon/thin/Serious.js +35 -22
- package/lib/Icon/thin/Share.js +29 -16
- package/lib/Icon/thin/Sheild.js +29 -16
- package/lib/Icon/thin/ShippingTruck.js +26 -13
- package/lib/Icon/thin/Smile.js +32 -19
- package/lib/Icon/thin/SocialMedia.js +29 -16
- package/lib/Icon/thin/Sorting.js +26 -13
- package/lib/Icon/thin/Square.js +26 -13
- package/lib/Icon/thin/Star.js +26 -13
- package/lib/Icon/thin/StarFull.js +26 -13
- package/lib/Icon/thin/StarHalf.js +26 -13
- package/lib/Icon/thin/Stock.js +26 -13
- package/lib/Icon/thin/Store.js +26 -13
- package/lib/Icon/thin/Subtitle.js +29 -16
- package/lib/Icon/thin/TalkHelp.js +29 -16
- package/lib/Icon/thin/TextH1.js +26 -13
- package/lib/Icon/thin/TextH2.js +26 -13
- package/lib/Icon/thin/TextH3.js +26 -13
- package/lib/Icon/thin/ThunderCircle.js +29 -16
- package/lib/Icon/thin/Timer.js +29 -16
- package/lib/Icon/thin/ToggleOff.js +26 -13
- package/lib/Icon/thin/ToggleOn.js +26 -13
- package/lib/Icon/thin/ToteBag.js +26 -13
- package/lib/Icon/thin/Trash.js +29 -16
- package/lib/Icon/thin/TwitterCircle.js +29 -16
- package/lib/Icon/thin/Undo.js +26 -13
- package/lib/Icon/thin/Video.js +29 -16
- package/lib/Icon/thin/Volume.js +29 -16
- package/lib/Icon/thin/VolumeMute.js +29 -16
- package/lib/Icon/thin/Web.js +26 -13
- package/lib/Icon/thin/Won.js +26 -13
- package/lib/Icon/thin/WonBadge.js +29 -16
- package/lib/Icon/thin/WonCircle.js +29 -16
- package/lib/Icon/thin/Write.js +26 -13
- package/lib/Icon/thin/YoutubeCircle.js +29 -16
- package/lib/Icon/thin/index.js +182 -178
- package/lib/Icon/types.js +6 -2
- package/lib/ImageThumbnail/ImageThumbnail.js +27 -0
- package/lib/ImageThumbnail/index.js +10 -0
- package/lib/Layout/Center/Center.js +17 -23
- package/lib/Layout/Center/index.js +5 -3
- package/lib/Layout/HStack/HStack.js +18 -9
- package/lib/Layout/HStack/index.js +5 -3
- package/lib/Layout/Position/Position.js +8 -6
- package/lib/Layout/Position/index.js +5 -3
- package/lib/Layout/ResponsiveStack/ResponsiveStack.js +15 -8
- package/lib/Layout/ResponsiveStack/index.js +5 -3
- package/lib/Layout/VStack/VStack.js +18 -9
- package/lib/Layout/VStack/index.js +5 -3
- package/lib/Layout/ZStack/ZStack.js +38 -25
- package/lib/Layout/ZStack/index.js +5 -3
- package/lib/LinearGradient/LinearGradient.js +52 -0
- package/lib/LinearGradient/index.js +10 -0
- package/lib/Link/Link.js +20 -39
- package/lib/Link/index.js +5 -3
- 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 +40 -21
- package/lib/Media/Image/index.js +5 -3
- package/lib/Media/Image/useActualSizes.js +27 -165
- package/lib/Media/SeekBar/SeekBar.js +10 -7
- package/lib/Media/SeekBar/index.js +5 -3
- package/lib/Media/Video/Video.js +11 -8
- package/lib/Media/Video/index.js +5 -3
- package/lib/Media/VideoCaption/VideoCaption.js +10 -7
- package/lib/Media/VideoCaption/index.js +5 -3
- package/lib/Media/VideoOverlay/VideoOverlay.js +23 -23
- package/lib/Media/VideoOverlay/index.js +5 -3
- package/lib/Media/VolumeBar/VolumeBar.js +14 -11
- package/lib/Media/VolumeBar/index.js +5 -3
- package/lib/Menu/Menu/Menu.js +19 -13
- package/lib/Menu/Menu/index.js +5 -3
- package/lib/Menu/MenuIcon/MenuIcon.js +15 -8
- package/lib/Menu/MenuIcon/index.js +5 -3
- package/lib/Menu/MenuItem/MenuItem.js +17 -14
- package/lib/Menu/MenuItem/index.js +5 -3
- package/lib/Menu/MenuText/MenuText.js +50 -35
- package/lib/Menu/MenuText/index.js +5 -3
- package/lib/Menu/MenuTextButton/MenuTextButton.js +16 -9
- package/lib/Menu/MenuTextButton/index.js +5 -3
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.js +38 -27
- package/lib/Menu/MenuTextButtonItem/index.js +5 -3
- package/lib/Menu/MenuTextItem/MenuTextItem.js +18 -11
- package/lib/Menu/MenuTextItem/index.js +5 -3
- package/lib/ModalBottomSheet/ModalBottomSheet.js +30 -123
- package/lib/ModalBottomSheet/index.js +6 -4
- package/lib/ModalBottomSheet/useModalBottomSheet.js +6 -4
- package/lib/NewLine/NewLine.js +13 -9
- package/lib/NewLine/index.js +5 -3
- package/lib/Opacity/Opacity.js +8 -4
- package/lib/Opacity/index.js +5 -3
- package/lib/Overlay/Overlay.js +10 -6
- package/lib/Overlay/index.js +5 -3
- package/lib/Pagination/Pagination.js +388 -14
- package/lib/Pagination/index.js +5 -3
- package/lib/Paper/Paper.js +111 -0
- package/lib/Paper/index.js +10 -0
- package/lib/PopoverBottomSheet/PopoverBottomSheet.js +64 -122
- package/lib/PopoverBottomSheet/index.js +5 -3
- package/lib/Portal/Portal.js +28 -36
- package/lib/Portal/index.js +5 -3
- package/lib/Profile/Profile.js +9 -6
- package/lib/Profile/index.js +5 -3
- package/lib/ProfileLabel/ProfileLabel.js +92 -57
- package/lib/ProfileLabel/index.js +5 -3
- package/lib/Progress/ProgressBar/ProgressBar.js +12 -9
- package/lib/Progress/ProgressBar/index.js +5 -3
- package/lib/Progress/ProgressStep/ProgressStep.js +65 -52
- package/lib/Progress/ProgressStep/index.js +5 -3
- package/lib/Rank/Rank.js +21 -18
- package/lib/Rank/index.js +5 -3
- package/lib/Ratio/Ratio.js +44 -35
- package/lib/Ratio/index.js +5 -3
- 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 +18 -19
- package/lib/Section/index.js +5 -3
- package/lib/SectionHeader/SectionHeader.js +15 -11
- package/lib/SectionHeader/index.js +5 -3
- 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 +26 -19
- package/lib/Skeleton/index.js +5 -3
- package/lib/SlideList/SlideList.js +21 -14
- package/lib/SlideList/__mocks__/index.js +4 -2
- package/lib/SlideList/index.js +5 -3
- package/lib/Slider/Slider.js +1236 -121
- package/lib/Slider/hooks/usePageControl.js +98 -0
- package/lib/Slider/index.js +7 -5
- 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 +19 -10
- package/lib/SliderSection/index.js +5 -3
- package/lib/Space/Space.js +26 -0
- package/lib/Space/index.js +10 -0
- package/lib/Spinner/Spinner.js +34 -22
- package/lib/Spinner/index.js +5 -3
- package/lib/Svg/Svg.js +49 -0
- package/lib/Svg/index.js +10 -0
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +6 -3
- package/lib/Tab/ScrollTabPanel/index.js +5 -3
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +12 -68
- package/lib/Tab/ScrollTabPanelWithObserver/index.js +5 -3
- package/lib/Tab/ScrollTabs/ScrollTabs.js +44 -31
- package/lib/Tab/ScrollTabs/index.js +5 -3
- package/lib/Tab/Tab/Tab.js +41 -50
- package/lib/Tab/Tab/index.js +5 -3
- package/lib/Tab/ViewPagerTabPanel/ViewPagerTabPanel.js +12 -6
- package/lib/Tab/ViewPagerTabPanel/index.js +5 -3
- package/lib/Tab/ViewPagerTabs/ViewPagerTabs.js +47 -19
- package/lib/Tab/ViewPagerTabs/index.js +5 -3
- package/lib/Table/Table.js +6950 -0
- package/lib/Table/index.js +10 -0
- package/lib/Tag/Chip/Chip.js +66 -62
- package/lib/Tag/Chip/index.js +5 -3
- package/lib/Tag/IconBadge/IconBadge.js +25 -18
- package/lib/Tag/IconBadge/index.js +5 -3
- package/lib/Tag/StateTag/StateTag.js +22 -15
- package/lib/Tag/StateTag/index.js +5 -3
- package/lib/Tag/Tag/Tag.js +21 -24
- package/lib/Tag/Tag/index.js +5 -3
- package/lib/Tooltip/Tooltip.js +184 -0
- package/lib/Tooltip/index.js +10 -0
- package/lib/Typography/Body/Body.js +24 -10
- package/lib/Typography/Body/index.js +5 -3
- package/lib/Typography/Paragraph/Paragraph.js +17 -10
- package/lib/Typography/Paragraph/index.js +5 -3
- package/lib/Typography/Text/Text.js +41 -54
- package/lib/Typography/Text/index.js +5 -3
- package/lib/Typography/Title/Title.js +22 -14
- package/lib/Typography/Title/index.js +5 -3
- package/lib/Underline/Underline.js +47 -34
- package/lib/Underline/index.js +5 -3
- package/lib/ViewPager/ViewPager.js +14 -8
- package/lib/ViewPager/index.js +5 -3
- package/lib/ViewPager/type.js +6 -2
- package/lib/ViewPagerItem/ViewPagerItem.js +9 -6
- package/lib/ViewPagerItem/index.js +5 -3
- 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 +7 -5
- package/lib/deprecated/Slide/index.js +4 -2
- package/lib/deprecated/Swiper/Swiper.js +19 -9
- package/lib/deprecated/Swiper/hooks/useAutoPlay.js +6 -4
- package/lib/deprecated/Swiper/hooks/useSwiper.js +468 -12
- package/lib/deprecated/Swiper/index.js +4 -2
- package/lib/deprecated/Swiper/types/SwiperOptions.js +6 -2
- package/mime-types-SLPLVYDI.js +9284 -0
- package/package.json +3 -2
- package/private/Bar/Bar.js +8 -5
- package/private/Bar/index.js +5 -3
- package/private/Box/Box.js +13 -5
- package/private/Box/index.js +5 -3
- package/private/Box/variants.js +6 -0
- package/private/ForwardStyle/ForwardStyle.js +14 -14
- package/private/ForwardStyle/StyledChildren.js +35 -0
- package/private/ForwardStyle/index.js +5 -3
- package/private/Stack/Stack.js +75 -64
- package/private/Stack/index.js +5 -3
- package/private/Transform/Transform.js +8 -6
- package/private/Transform/index.js +5 -3
- package/@types/image.d.js +0 -2
- package/@types/theme.d.js +0 -5
- package/lib/Animation/Animator/Animator.stories.js +0 -63
- package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +0 -42
- package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +0 -35
- package/lib/Animation/Transition/Transition.stories.js +0 -47
- package/lib/Background/Background.stories.js +0 -35
- package/lib/Button/ButtonIcon/ButtonIcon.js +0 -48
- package/lib/Button/ButtonIcon/index.js +0 -8
- package/lib/Button/IconButton/IconButton.js +0 -141
- package/lib/Button/IconButton/index.js +0 -8
- package/lib/Button/TextButton/TextButton.stories.js +0 -59
- package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +0 -40
- package/lib/Divider/Divider.stories.js +0 -78
- package/lib/Elevation/Elevation.stories.js +0 -33
- package/lib/Form/Description/Description.stories.js +0 -34
- package/lib/Form/FormField/FormField.stories.js +0 -36
- package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +0 -40
- package/lib/Form/Input/Input.stories.js +0 -34
- package/lib/Form/Label/Label.stories.js +0 -40
- package/lib/Form/Select/Select.stories.js +0 -45
- package/lib/Form/SelectField/SelectField.stories.js +0 -89
- package/lib/Form/TextField/TextField.stories.js +0 -84
- package/lib/Form/TextLabel/TextLabel.stories.js +0 -31
- package/lib/Frame/Frame.js +0 -70
- package/lib/Frame/index.js +0 -8
- package/lib/Highlight/Highlight.stories.js +0 -27
- package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +0 -19
- package/lib/Layout/Center/Center.stories.js +0 -40
- package/lib/Layout/Position/Position.stories.js +0 -39
- package/lib/Link/Link.stories.js +0 -34
- package/lib/Media/Image/Image.stories.js +0 -24
- package/lib/Menu/Menu/Menu.stories.js +0 -60
- package/lib/Menu/MenuIcon/MenuIcon.stories.js +0 -28
- package/lib/Menu/MenuItem/MenuItem.stories.js +0 -39
- package/lib/Menu/MenuText/MenuText.stories.js +0 -35
- package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +0 -86
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +0 -170
- package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +0 -85
- package/lib/Opacity/Opacity.stories.js +0 -30
- package/lib/Overlay/Overlay.stories.js +0 -30
- package/lib/Pagination/Pagination.stories.js +0 -34
- package/lib/Progress/ProgressBar/ProgressBar.stories.js +0 -54
- package/lib/Progress/ProgressStep/ProgressStep.stories.js +0 -40
- package/lib/Rank/Rank.stories.js +0 -36
- package/lib/Ratio/Ratio.stories.js +0 -31
- package/lib/Section/Section.stories.js +0 -46
- package/lib/SlideList/SlideList.stories.js +0 -57
- package/lib/Slider/Slider.stories.js +0 -44
- package/lib/Slider/__mocks__/index.js +0 -49
- package/lib/Slider/constants.js +0 -20
- package/lib/Slider/internalHooks/useAutoPlay.js +0 -38
- package/lib/Slider/internalHooks/usePageControl.js +0 -42
- package/lib/Slider/internalHooks/useVirtual.js +0 -25
- package/lib/Slider/useSlider.js +0 -40
- package/lib/SliderSection/SliderSection.stories.js +0 -81
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +0 -18
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +0 -18
- package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +0 -55
- package/lib/Tab/Tab/Tab.stories.js +0 -44
- package/lib/Tag/Chip/Chip.stories.js +0 -53
- package/lib/Tag/Tag/Tag.stories.js +0 -40
- package/lib/Typography/Body/Body.stories.js +0 -33
- package/lib/Typography/Caption/Caption.js +0 -20
- package/lib/Typography/Caption/Caption.stories.js +0 -40
- package/lib/Typography/Caption/index.js +0 -8
- package/lib/Typography/Paragraph/Paragraph.stories.js +0 -40
- package/lib/Typography/Title/Title.stories.js +0 -38
- package/lib/Underline/Underline.stories.js +0 -35
- package/lib/ViewPager/ViewPager.stories.js +0 -74
- package/lib/deprecated/Swiper/Swiper.stories.js +0 -177
- package/private/Box/Box.stories.js +0 -60
- package/private/ForwardStyle/ForwardStyle.stories.js +0 -23
- package/private/Space/Space.js +0 -12
- package/private/Space/Space.stories.js +0 -36
- package/private/Space/index.js +0 -8
- package/private/Svg/Svg.js +0 -34
- package/private/Svg/index.js +0 -8
- package/utils/appendCssUnit/appendCssUnit.js +0 -13
- package/utils/appendCssUnit/appendCssUnit.spec.js +0 -31
- package/utils/appendCssUnit/index.js +0 -8
- package/utils/index.js +0 -8
@@ -1,135 +1,57 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
import
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
});
|
1
|
+
import {
|
2
|
+
useLazyUnmount,
|
3
|
+
useLockBodyScroll
|
4
|
+
} from "../../chunk-O6RRFC57.js";
|
5
|
+
import "../../chunk-LN36XQS3.js";
|
6
|
+
import {
|
7
|
+
React,
|
8
|
+
init_react_shim
|
9
|
+
} from "../../chunk-VIIHQGZ3.js";
|
11
10
|
|
12
11
|
// libs/shared/ui-system/src/lib/PopoverBottomSheet/PopoverBottomSheet.tsx
|
13
12
|
init_react_shim();
|
14
|
-
import {useCallback, useEffect
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
import {
|
25
|
-
|
26
|
-
|
27
|
-
useEffect(() => {
|
28
|
-
if (state) {
|
29
|
-
setIsMounted(state);
|
30
|
-
return void 0;
|
31
|
-
}
|
32
|
-
const timer = setTimeout(() => {
|
33
|
-
setIsMounted(false);
|
34
|
-
}, delay);
|
35
|
-
return () => {
|
36
|
-
clearTimeout(timer);
|
37
|
-
};
|
38
|
-
}, [delay, state]);
|
39
|
-
return isMounted;
|
40
|
-
};
|
41
|
-
|
42
|
-
// libs/shared/utils-hooks/src/lib/useLockBodyScroll/index.ts
|
43
|
-
init_react_shim();
|
44
|
-
|
45
|
-
// libs/shared/utils-hooks/src/lib/useLockBodyScroll/useLockBodyScroll.ts
|
46
|
-
init_react_shim();
|
47
|
-
import {useEffect as useEffect2, useRef} from "react";
|
48
|
-
|
49
|
-
// libs/shared/utils-browser/src/index.ts
|
50
|
-
init_react_shim();
|
51
|
-
|
52
|
-
// libs/shared/utils-browser/src/lib/canUseDOM.ts
|
53
|
-
init_react_shim();
|
54
|
-
|
55
|
-
// libs/shared/utils-browser/src/lib/isBrowser.ts
|
56
|
-
init_react_shim();
|
57
|
-
|
58
|
-
// libs/shared/utils-browser/src/lib/isServer.ts
|
59
|
-
init_react_shim();
|
60
|
-
var isServer = typeof window === "undefined";
|
61
|
-
|
62
|
-
// libs/shared/utils-browser/src/lib/isBrowser.ts
|
63
|
-
var isBrowser = !isServer;
|
64
|
-
|
65
|
-
// libs/shared/utils-browser/src/lib/canUseDOM.ts
|
66
|
-
var canUseDOM = Boolean(isBrowser && window.document && window.document.createElement);
|
67
|
-
|
68
|
-
// libs/shared/utils-hooks/src/lib/useLockBodyScroll/useLockBodyScroll.ts
|
69
|
-
var useLockBodyScroll = (locked = false) => {
|
70
|
-
const bodyStyleRef = useRef({paddingRight: "", overflow: ""});
|
71
|
-
const lockBodyScroll = () => {
|
72
|
-
if (!canUseDOM) {
|
73
|
-
return;
|
74
|
-
}
|
75
|
-
bodyStyleRef.current = {
|
76
|
-
paddingRight: document.body.style.paddingRight,
|
77
|
-
overflow: document.body.style.overflow
|
78
|
-
};
|
79
|
-
const scrollBarWidth = window.innerWidth - document.documentElement.clientWidth;
|
80
|
-
document.body.style.paddingRight = `${scrollBarWidth}px`;
|
81
|
-
document.body.style.overflow = "hidden";
|
82
|
-
};
|
83
|
-
const unlockBodyScroll = () => {
|
84
|
-
if (!canUseDOM) {
|
85
|
-
return;
|
86
|
-
}
|
87
|
-
document.body.style.paddingRight = bodyStyleRef.current.paddingRight;
|
88
|
-
document.body.style.overflow = bodyStyleRef.current.overflow;
|
89
|
-
};
|
90
|
-
useEffect2(() => {
|
91
|
-
if (locked) {
|
92
|
-
lockBodyScroll();
|
93
|
-
} else {
|
94
|
-
unlockBodyScroll();
|
95
|
-
}
|
96
|
-
return () => {
|
97
|
-
unlockBodyScroll();
|
98
|
-
};
|
99
|
-
}, [locked]);
|
100
|
-
};
|
101
|
-
|
102
|
-
// libs/shared/ui-system/src/lib/PopoverBottomSheet/PopoverBottomSheet.tsx
|
103
|
-
import {system} from "../../core/index.js";
|
104
|
-
import {Box} from "../../private/Box/index.js";
|
105
|
-
import {Action} from "../Action/index.js";
|
106
|
-
import {SlideAnimation} from "../Animation/SlideAnimation/index.js";
|
107
|
-
import {Icon} from "../Icon/index.js";
|
108
|
-
import {HStack} from "../Layout/HStack/index.js";
|
109
|
-
import {Position} from "../Layout/Position/index.js";
|
110
|
-
import {Portal} from "../Portal/index.js";
|
111
|
-
import {Title} from "../Typography/Title/index.js";
|
112
|
-
import {Backdrop} from "../Backdrop/index.js";
|
113
|
-
import {VStack} from "../Layout/VStack/index.js";
|
13
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
14
|
+
import { system } from "../../core/index.js";
|
15
|
+
import { useWindowResizeEvent } from "../../hooks/useWindowResizeEvent/index.js";
|
16
|
+
import { Box } from "../../private/Box/index.js";
|
17
|
+
import { Action } from "../Action/index.js";
|
18
|
+
import { SlideAnimation } from "../Animation/SlideAnimation/index.js";
|
19
|
+
import { Backdrop } from "../Backdrop/index.js";
|
20
|
+
import { Icon } from "../Icon/index.js";
|
21
|
+
import { HStack } from "../Layout/HStack/index.js";
|
22
|
+
import { Position } from "../Layout/Position/index.js";
|
23
|
+
import { VStack } from "../Layout/VStack/index.js";
|
24
|
+
import { Portal } from "../Portal/index.js";
|
25
|
+
import { Title } from "../Typography/Title/index.js";
|
114
26
|
var ANIMATION_TIME_MS = 500;
|
115
|
-
var PopoverBottomSheet = system()()(({
|
116
|
-
|
27
|
+
var PopoverBottomSheet = system()()(({
|
28
|
+
title,
|
29
|
+
renderOpener,
|
30
|
+
children,
|
31
|
+
opened,
|
32
|
+
popoverColor = "white",
|
33
|
+
onClose,
|
34
|
+
anchorRef,
|
35
|
+
transformOrigin = { vertical: "top", horizontal: "left" }
|
36
|
+
}) => {
|
37
|
+
const [isOpened, setIsOpened] = useState(opened != null ? opened : false);
|
117
38
|
const isMounted = useLazyUnmount(isOpened, ANIMATION_TIME_MS);
|
118
|
-
const [
|
119
|
-
const
|
39
|
+
const [anchorRect, setAnchorRect] = useState(null);
|
40
|
+
const openerRef = useRef();
|
120
41
|
useLockBodyScroll(isOpened);
|
121
42
|
const open = useCallback(() => {
|
122
|
-
|
43
|
+
var _a;
|
44
|
+
if (!openerRef.current) {
|
123
45
|
return;
|
124
46
|
}
|
125
|
-
|
47
|
+
setAnchorRect(((_a = anchorRef == null ? void 0 : anchorRef.current) != null ? _a : openerRef.current).getBoundingClientRect());
|
126
48
|
setIsOpened(true);
|
127
|
-
}, [
|
49
|
+
}, [anchorRef]);
|
128
50
|
const close = useCallback(() => {
|
129
51
|
setIsOpened(false);
|
130
|
-
onClose
|
52
|
+
onClose == null ? void 0 : onClose();
|
131
53
|
}, [onClose]);
|
132
|
-
|
54
|
+
useEffect(() => {
|
133
55
|
if (opened === void 0) {
|
134
56
|
return;
|
135
57
|
}
|
@@ -140,9 +62,17 @@ var PopoverBottomSheet = system()()(({title, renderOpener, children, opened, pop
|
|
140
62
|
close();
|
141
63
|
}, [close, open, opened]);
|
142
64
|
const opener = useMemo(() => renderOpener((ref) => {
|
143
|
-
|
65
|
+
ref && (openerRef.current = ref);
|
144
66
|
}, open), [open, renderOpener]);
|
145
|
-
const popoverLayout =
|
67
|
+
const popoverLayout = anchorRect !== null ? { top: anchorRect.top + anchorRect.height, left: anchorRect.left } : null;
|
68
|
+
const updateAnchorRect = useCallback(() => {
|
69
|
+
var _a;
|
70
|
+
if (!isOpened || !openerRef.current) {
|
71
|
+
return;
|
72
|
+
}
|
73
|
+
setAnchorRect(((_a = anchorRef == null ? void 0 : anchorRef.current) != null ? _a : openerRef.current).getBoundingClientRect());
|
74
|
+
}, [anchorRef, isOpened]);
|
75
|
+
useWindowResizeEvent(updateAnchorRect);
|
146
76
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, opener, popoverLayout !== null && isMounted && /* @__PURE__ */ React.createElement(Portal, {
|
147
77
|
id: "popover",
|
148
78
|
zIndex: 1
|
@@ -166,6 +96,10 @@ var PopoverBottomSheet = system()()(({title, renderOpener, children, opened, pop
|
|
166
96
|
duration: ANIMATION_TIME_MS,
|
167
97
|
fillMode: "forwards"
|
168
98
|
}, /* @__PURE__ */ React.createElement(Box, {
|
99
|
+
transform: {
|
100
|
+
translateY: transformOrigin.vertical === "bottom" ? "-100%" : 0,
|
101
|
+
translateX: transformOrigin.horizontal === "right" ? "-100%" : 0
|
102
|
+
},
|
169
103
|
width: ["100%", "100%", "unset"],
|
170
104
|
minWidth: ["unset", "unset", 200],
|
171
105
|
maxHeight: "calc(100% - 48px)",
|
@@ -193,7 +127,15 @@ var PopoverBottomSheet = system()()(({title, renderOpener, children, opened, pop
|
|
193
127
|
}, /* @__PURE__ */ React.createElement(Icon.Regular.Close, {
|
194
128
|
size: 20,
|
195
129
|
fill: "black"
|
196
|
-
}))),
|
130
|
+
}))), /* @__PURE__ */ React.createElement(VStack, {
|
131
|
+
overflow: "auto",
|
132
|
+
"overscroll-behavior": "contain",
|
133
|
+
maxHeight: [
|
134
|
+
"calc(100vh - 140px)",
|
135
|
+
"calc(100vh - 140px)",
|
136
|
+
`calc(100vh - ${popoverLayout.top}px - 40px)`
|
137
|
+
]
|
138
|
+
}, typeof children === "function" ? children({ closePopover: close }) : children))))))))));
|
197
139
|
});
|
198
140
|
export {
|
199
141
|
PopoverBottomSheet
|
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
init_react_shim
|
3
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
4
|
|
4
5
|
// libs/shared/ui-system/src/lib/PopoverBottomSheet/index.ts
|
5
|
-
|
6
|
+
init_react_shim();
|
7
|
+
import { PopoverBottomSheet } from "./PopoverBottomSheet.js";
|
6
8
|
export {
|
7
9
|
PopoverBottomSheet
|
8
10
|
};
|
package/lib/Portal/Portal.js
CHANGED
@@ -1,44 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import {
|
2
|
+
canUseDOM,
|
3
|
+
findOrCreateElementById
|
4
|
+
} from "../../chunk-LN36XQS3.js";
|
5
|
+
import {
|
6
|
+
Global,
|
7
|
+
css
|
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
|
+
init_react_shim
|
15
|
+
} from "../../chunk-VIIHQGZ3.js";
|
11
16
|
|
12
17
|
// libs/shared/ui-system/src/lib/Portal/Portal.tsx
|
13
18
|
init_react_shim();
|
14
|
-
import {css, Global} from "https://jspm.dev/@emotion/react@11.1.5";
|
15
19
|
import ReactDOM from "react-dom";
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
// libs/shared/utils-browser/src/lib/findOrCreateElementById.ts
|
21
|
-
init_react_shim();
|
22
|
-
function findOrCreateElementById(id) {
|
23
|
-
const existingElement = document.getElementById(id);
|
24
|
-
if (existingElement) {
|
25
|
-
return existingElement;
|
20
|
+
var Portal = ({ id, zIndex = 0, position = "relative", children }) => {
|
21
|
+
if (!canUseDOM) {
|
22
|
+
return null;
|
26
23
|
}
|
27
|
-
const container = document.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
position: relative;
|
38
|
-
z-index: ${zIndex};
|
39
|
-
}
|
40
|
-
`
|
41
|
-
}), ReactDOM.createPortal(children, findOrCreateElementById(id)));
|
24
|
+
const container = document.fullscreenElement ? document.fullscreenElement : findOrCreateElementById(id);
|
25
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Global, {
|
26
|
+
styles: css`
|
27
|
+
#${id} {
|
28
|
+
position: ${position};
|
29
|
+
z-index: ${zIndex};
|
30
|
+
}
|
31
|
+
`
|
32
|
+
}), ReactDOM.createPortal(children, container));
|
33
|
+
};
|
42
34
|
export {
|
43
35
|
Portal
|
44
36
|
};
|
package/lib/Portal/index.js
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
init_react_shim
|
3
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
4
|
|
4
5
|
// libs/shared/ui-system/src/lib/Portal/index.ts
|
5
|
-
|
6
|
+
init_react_shim();
|
7
|
+
import { Portal } from "./Portal.js";
|
6
8
|
export {
|
7
9
|
Portal
|
8
10
|
};
|
package/lib/Profile/Profile.js
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
init_react_shim
|
4
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
5
|
|
4
6
|
// libs/shared/ui-system/src/lib/Profile/Profile.tsx
|
5
|
-
|
6
|
-
import {
|
7
|
-
|
7
|
+
init_react_shim();
|
8
|
+
import { useMemo, cloneElement } from "react";
|
9
|
+
import { Stack } from "../../private/Stack/index.js";
|
10
|
+
var Profile = ({ direction, size, renderAvatar, renderProfileLabel }) => {
|
8
11
|
const spacing = useMemo(() => {
|
9
12
|
if (direction === "horizontal") {
|
10
13
|
if (size === "xl") {
|
@@ -33,7 +36,7 @@ var Profile = ({direction, size, renderAvatar, renderProfileLabel}) => {
|
|
33
36
|
direction,
|
34
37
|
spacing,
|
35
38
|
alignment: "center"
|
36
|
-
}, cloneElement(renderAvatar(), {size}), cloneElement(renderProfileLabel(), {
|
39
|
+
}, cloneElement(renderAvatar(), { size }), cloneElement(renderProfileLabel(), {
|
37
40
|
size,
|
38
41
|
center: direction === "vertical"
|
39
42
|
}));
|
package/lib/Profile/index.js
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
init_react_shim
|
3
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
4
|
|
4
5
|
// libs/shared/ui-system/src/lib/Profile/index.ts
|
5
|
-
|
6
|
+
init_react_shim();
|
7
|
+
import { Profile } from "./Profile.js";
|
6
8
|
export {
|
7
9
|
Profile
|
8
10
|
};
|
@@ -1,67 +1,102 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
__objRest,
|
4
|
+
__spreadValues,
|
5
|
+
init_react_shim
|
6
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
7
|
|
4
8
|
// libs/shared/ui-system/src/lib/ProfileLabel/ProfileLabel.tsx
|
5
|
-
|
6
|
-
import {
|
7
|
-
import
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
},
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
xl
|
29
|
-
|
30
|
-
},
|
31
|
-
lg: {
|
32
|
-
...textKindVariants.caption1
|
33
|
-
},
|
34
|
-
md: {
|
35
|
-
...textKindVariants.caption2
|
36
|
-
},
|
37
|
-
sm: {
|
38
|
-
...textKindVariants.caption2
|
39
|
-
}
|
40
|
-
};
|
41
|
-
var ProfileLabel = styled(({direction, size = "md", name, description, highlight, icon, isSpacing, ...restProps}) => {
|
42
|
-
const isLarge = size === "xl" || size === "lg" || isSpacing === "lg";
|
43
|
-
return /* @__PURE__ */ React.createElement(Stack, {
|
9
|
+
init_react_shim();
|
10
|
+
import { propVariant, system } from "../../core/index.js";
|
11
|
+
import { Stack } from "../../private/Stack/index.js";
|
12
|
+
import { Highlight } from "../Highlight/index.js";
|
13
|
+
import { Text } from "../Typography/Text/index.js";
|
14
|
+
var ProfileLabel = system()()((_a) => {
|
15
|
+
var _b = _a, {
|
16
|
+
direction,
|
17
|
+
size = "md",
|
18
|
+
name,
|
19
|
+
description,
|
20
|
+
highlight,
|
21
|
+
icon,
|
22
|
+
color = "gray.700"
|
23
|
+
} = _b, restProps = __objRest(_b, [
|
24
|
+
"direction",
|
25
|
+
"size",
|
26
|
+
"name",
|
27
|
+
"description",
|
28
|
+
"highlight",
|
29
|
+
"icon",
|
30
|
+
"color"
|
31
|
+
]);
|
32
|
+
const isLarge = size === "xl" || size === "lg";
|
33
|
+
return /* @__PURE__ */ React.createElement(Stack, __spreadValues({
|
44
34
|
direction,
|
45
35
|
alignment: direction === "horizontal" ? "center" : void 0,
|
46
|
-
spacing: isLarge ? 4 : 2
|
47
|
-
|
48
|
-
|
49
|
-
|
36
|
+
spacing: isLarge ? 4 : 2
|
37
|
+
}, restProps), highlight ? /* @__PURE__ */ React.createElement(Highlight, null, /* @__PURE__ */ React.createElement(NameLabel, {
|
38
|
+
size,
|
39
|
+
color
|
50
40
|
}, name)) : /* @__PURE__ */ React.createElement(NameLabel, {
|
51
|
-
size
|
52
|
-
}, name), icon, description && /* @__PURE__ */ React.createElement(DescriptionLabel, {
|
53
41
|
size,
|
54
|
-
color
|
42
|
+
color
|
43
|
+
}, name), icon, description && /* @__PURE__ */ React.createElement(DescriptionLabel, {
|
44
|
+
size
|
55
45
|
}, description));
|
56
|
-
})
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
46
|
+
});
|
47
|
+
var NameLabel = system()(propVariant({
|
48
|
+
prop: "size",
|
49
|
+
variants: {
|
50
|
+
xl: {
|
51
|
+
kind: "title4",
|
52
|
+
weight: "bold"
|
53
|
+
},
|
54
|
+
lg: {
|
55
|
+
kind: "body1",
|
56
|
+
weight: "bold"
|
57
|
+
},
|
58
|
+
md: {
|
59
|
+
kind: "body3",
|
60
|
+
weight: "bold"
|
61
|
+
},
|
62
|
+
sm: {
|
63
|
+
kind: "body4",
|
64
|
+
weight: "bold"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
skipForward: true
|
68
|
+
}))((_a) => {
|
69
|
+
var _b = _a, { kind } = _b, restProps = __objRest(_b, ["kind"]);
|
70
|
+
return /* @__PURE__ */ React.createElement(Text, __spreadValues({
|
71
|
+
kind,
|
72
|
+
as: "p"
|
73
|
+
}, restProps));
|
74
|
+
});
|
75
|
+
var DescriptionLabel = system()(propVariant({
|
76
|
+
prop: "size",
|
77
|
+
variants: {
|
78
|
+
xl: {
|
79
|
+
kind: "body4"
|
80
|
+
},
|
81
|
+
lg: {
|
82
|
+
kind: "body4"
|
83
|
+
},
|
84
|
+
md: {
|
85
|
+
kind: "body5"
|
86
|
+
},
|
87
|
+
sm: {
|
88
|
+
kind: "body5"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
skipForward: true
|
92
|
+
}))((_a) => {
|
93
|
+
var _b = _a, { kind } = _b, restProps = __objRest(_b, ["kind"]);
|
94
|
+
return /* @__PURE__ */ React.createElement(Text, __spreadValues({
|
95
|
+
kind,
|
96
|
+
color: "gray.600",
|
97
|
+
as: "p"
|
98
|
+
}, restProps));
|
99
|
+
});
|
65
100
|
export {
|
66
101
|
ProfileLabel
|
67
102
|
};
|
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
init_react_shim
|
3
|
+
} from "../../chunk-VIIHQGZ3.js";
|
3
4
|
|
4
5
|
// libs/shared/ui-system/src/lib/ProfileLabel/index.ts
|
5
|
-
|
6
|
+
init_react_shim();
|
7
|
+
import { ProfileLabel } from "./ProfileLabel.js";
|
6
8
|
export {
|
7
9
|
ProfileLabel
|
8
10
|
};
|
@@ -1,12 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
React,
|
3
|
+
init_react_shim
|
4
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
3
5
|
|
4
6
|
// libs/shared/ui-system/src/lib/Progress/ProgressBar/ProgressBar.tsx
|
5
|
-
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
7
|
+
init_react_shim();
|
8
|
+
import { useCallback, useMemo } from "react";
|
9
|
+
import { Bar } from "../../../private/Bar/index.js";
|
10
|
+
import { SlideAnimation } from "../../Animation/SlideAnimation/index.js";
|
11
|
+
import { Background } from "../../Background/index.js";
|
12
|
+
import { VStack } from "../../Layout/VStack/index.js";
|
10
13
|
var ProgressBar = ({
|
11
14
|
color = "black",
|
12
15
|
bgColor = "gray.400",
|
@@ -19,10 +22,10 @@ var ProgressBar = ({
|
|
19
22
|
}) => {
|
20
23
|
const to = useMemo(() => [`${Math.min(progress, 100) - 100}%`, 0], [progress]);
|
21
24
|
const handleProgressStart = useCallback(() => {
|
22
|
-
onProgressStart
|
25
|
+
onProgressStart == null ? void 0 : onProgressStart();
|
23
26
|
}, [onProgressStart]);
|
24
27
|
const handleProgressEnd = useCallback(() => {
|
25
|
-
onProgressEnd
|
28
|
+
onProgressEnd == null ? void 0 : onProgressEnd();
|
26
29
|
}, [onProgressEnd]);
|
27
30
|
return /* @__PURE__ */ React.createElement(Background, {
|
28
31
|
color: bgColor
|
@@ -1,8 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import {
|
2
|
+
init_react_shim
|
3
|
+
} from "../../../chunk-VIIHQGZ3.js";
|
3
4
|
|
4
5
|
// libs/shared/ui-system/src/lib/Progress/ProgressBar/index.ts
|
5
|
-
|
6
|
+
init_react_shim();
|
7
|
+
import { ProgressBar } from "./ProgressBar.js";
|
6
8
|
export {
|
7
9
|
ProgressBar
|
8
10
|
};
|