@class101/cdn-ui-system 0.0.8 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/chunk-2A2YD3YP.js +22244 -0
- package/{chunk-E2KIAABB.js → chunk-37VQUPZR.js} +1 -1
- package/{chunk-IMWQE6G2.js → chunk-BDSNAS3L.js} +3 -2
- package/chunk-CGEEKALF.js +184 -0
- package/{chunk-F522NW23.js → chunk-ESGHR2XF.js} +7 -26
- package/chunk-IFZN3H2K.js +515 -0
- package/chunk-IPFBPHEG.js +9145 -0
- package/{chunk-QN5Q5NTF.js → chunk-J3Q2BPOW.js} +1 -1
- package/chunk-KBZLTPPY.js +58 -0
- package/{chunk-IKYIYCM6.js → chunk-KTYFPJF3.js} +8 -8
- package/chunk-LE44IRCL.js +152 -0
- package/{chunk-FRNHAL35.js → chunk-LN36XQS3.js} +16 -17
- package/{chunk-AY54FCVA.js → chunk-MBYCGPJ2.js} +12 -2
- package/{chunk-2VS4JN2V.js → chunk-O6RRFC57.js} +14 -13
- package/{chunk-AXJOQSVO.js → chunk-R4HM35UZ.js} +1 -1
- package/{chunk-FTDRDLT4.js → chunk-RYCV4KQR.js} +2 -2
- package/{chunk-KBR5BGSG.js → chunk-SFQY5CLW.js} +6 -34
- package/chunk-SFWBAQL4.js +21 -0
- package/chunk-SPRM5WZD.js +29 -0
- package/chunk-SU3NURQK.js +254 -0
- package/{chunk-UAWCTQGC.js → chunk-T7TBQTBE.js} +72 -353
- package/chunk-VIIHQGZ3.js +76 -0
- package/chunk-WVIP3U54.js +42 -0
- package/{chunk-7BJXCATJ.js → chunk-XXMJSYNO.js} +6 -13
- package/contexts/ImageContext/ImageContext.js +2 -2
- package/contexts/ImageContext/index.js +2 -2
- package/contexts/LinkContext/LinkContext.js +2 -2
- package/contexts/LinkContext/index.js +2 -2
- package/contexts/SafeAreaContext/SafeAreaContext.js +11 -0
- package/contexts/SafeAreaContext/index.js +10 -0
- package/contexts/ScrollContext/ScrollContext.js +18 -0
- package/contexts/ScrollContext/index.js +11 -0
- package/contexts/UiSystemProvider.js +13 -10
- package/core/colors/DarkModeColors.js +3 -2
- package/core/colors/LightModeColors.js +3 -2
- package/core/index.js +18 -8
- package/core/props/action.js +3 -3
- package/core/props/animator.js +3 -3
- package/core/props/background.js +10 -5
- package/core/props/border.js +25 -4
- package/core/props/color.js +3 -3
- package/core/props/flexbox.js +13 -5
- package/core/props/icon.js +3 -3
- package/core/props/image.js +10 -7
- package/core/props/index.js +40 -25
- package/core/props/layout.js +29 -4
- package/core/props/position.js +3 -3
- package/core/props/shadow.js +3 -3
- package/core/props/space.js +3 -3
- package/core/props/transform.js +29 -3
- package/core/props/transition.js +3 -3
- package/core/props/types/ResponsiveValue.js +1 -1
- package/core/props/types/SystemComponent.js +1 -1
- package/core/props/typography.js +6 -3
- package/core/props/utils/calculateResponsiveValues.js +27 -0
- package/core/props/utils/getResponsiveValue.js +7 -6
- package/core/props/utils/skipForwardProps.js +2 -2
- package/core/props/video.js +3 -3
- package/core/theme/baseTheme.js +14 -3
- package/core/theme/defaultTheme.js +9 -9
- package/core/theme/signatureTheme.js +11 -10
- package/core/variants/baseVariant/baseVariant.js +4 -4
- package/core/variants/baseVariant/index.js +2 -2
- package/core/variants/makeStyled/index.js +11 -0
- package/core/variants/makeStyled/makeStyled.js +19 -0
- package/core/variants/propVariant/index.js +2 -2
- package/core/variants/propVariant/propVariant.js +9 -13
- package/core/variants/propVariant/propVariant.spec.js +10 -10
- package/core/variants/propsVariant/index.js +10 -0
- package/core/variants/propsVariant/propsVariant.js +32 -0
- package/core/variants/propsVariant/propsVariant.spec.js +73 -0
- package/core/variants/styleVariant/index.js +2 -2
- package/core/variants/styleVariant/styleVariant.js +14 -11
- package/core/variants/styleVariant/styleVariant.spec.js +14 -12
- package/core/variants/stylesVariant/index.js +10 -0
- package/core/variants/stylesVariant/stylesVariant.js +40 -0
- package/core/variants/stylesVariant/stylesVariant.spec.js +52 -0
- package/core/variants/system/index.js +2 -2
- package/core/variants/system/system.js +22 -21
- package/core/variants/system/type.js +6 -0
- package/hooks/useIsMobile/index.js +10 -0
- package/hooks/useIsMobile/useIsMobile.js +12 -0
- package/hooks/useMediaQuery/index.js +10 -0
- package/hooks/useMediaQuery/useMediaQuery.js +32 -0
- package/hooks/useNativeResponsiveValue/index.js +10 -0
- package/hooks/useNativeResponsiveValue/useNativeResponsiveValue.js +42 -0
- package/hooks/useResponsiveValue/index.js +2 -2
- package/hooks/useResponsiveValue/useResponsiveValue.js +13 -8
- package/hooks/useWindowResizeEvent/index.js +10 -0
- package/hooks/useWindowResizeEvent/useWindowResizeEvent.js +27 -0
- package/index.js +159 -101
- package/lib/Accordion/Accordion.js +23 -16
- package/lib/Accordion/index.js +2 -2
- package/lib/Action/Action.js +12 -10
- package/lib/Action/index.js +2 -2
- package/lib/Alert/Alert.js +12 -10
- package/lib/Alert/index.js +2 -2
- package/lib/Animation/Animator/Animator.js +31 -20
- package/lib/Animation/Animator/index.js +2 -2
- package/lib/Animation/FadeAnimation/FadeAnimation.js +22 -15
- package/lib/Animation/FadeAnimation/index.js +2 -2
- package/lib/Animation/RotateAnimation/RotateAnimation.js +10 -8
- package/lib/Animation/RotateAnimation/index.js +2 -2
- package/lib/Animation/SlideAnimation/SlideAnimation.js +14 -10
- package/lib/Animation/SlideAnimation/index.js +2 -2
- package/lib/Animation/Transition/Transition.js +23 -15
- package/lib/Animation/Transition/index.js +2 -2
- package/lib/Avatar/Avatar.js +96 -88
- package/lib/Avatar/index.js +2 -2
- package/lib/Backdrop/Backdrop.js +11 -8
- package/lib/Backdrop/index.js +2 -2
- package/lib/Background/Background.js +11 -22
- package/lib/Background/index.js +2 -2
- package/lib/BackgroundImage/BackgroundImage.js +20 -0
- package/lib/BackgroundImage/index.js +10 -0
- package/lib/BreadCrumb/BreadCrumb.js +13 -12
- package/lib/BreadCrumb/index.js +2 -2
- package/lib/BulletPagination/BulletPagination.js +37 -0
- package/lib/BulletPagination/index.js +10 -0
- package/lib/Button/Button/Button.js +65 -18
- package/lib/Button/Button/index.js +2 -2
- package/lib/Button/ContainedButton/ContainedButton.js +143 -122
- package/lib/Button/ContainedButton/index.js +2 -2
- package/lib/Button/GhostButton/GhostButton.js +155 -0
- package/lib/Button/GhostButton/index.js +10 -0
- package/lib/Button/TextButton/TextButton.js +108 -110
- package/lib/Button/TextButton/index.js +2 -2
- package/lib/Callout/Callout.js +71 -0
- package/lib/Callout/index.js +10 -0
- package/lib/Chip/FilterChip/FilterChip.js +77 -0
- package/lib/Chip/FilterChip/index.js +10 -0
- package/lib/Chip/InputChip/InputChip.js +1443 -0
- package/lib/Chip/InputChip/index.js +10 -0
- package/lib/ConditionalWrapper/ConditionalWrapper.js +2 -2
- package/lib/ConditionalWrapper/index.js +2 -2
- package/lib/ContentArea/ContentArea.js +41 -0
- package/lib/ContentArea/index.js +10 -0
- package/lib/Divider/Divider.js +13 -10
- package/lib/Divider/index.js +2 -2
- package/lib/Dot/Dot.js +29 -0
- package/lib/Dot/index.js +10 -0
- package/lib/Drawer/Drawer.js +57 -0
- package/lib/Drawer/index.js +10 -0
- package/lib/Elevation/Elevation.js +11 -9
- package/lib/Elevation/index.js +2 -2
- package/lib/Form/CardNumberField/CardNumberField.js +28 -0
- package/lib/Form/CardNumberField/index.js +10 -0
- package/lib/Form/CardNumberInput/CardNumberInput.js +50 -0
- package/lib/Form/CardNumberInput/constants.js +16 -0
- package/lib/Form/CardNumberInput/index.js +10 -0
- package/lib/Form/CardNumberInput/utils.js +48 -0
- package/lib/Form/CheckBox/CheckBox.js +22 -23
- package/lib/Form/CheckBox/index.js +2 -2
- package/lib/Form/CheckBoxField/CheckBoxField.js +17 -15
- package/lib/Form/CheckBoxField/index.js +2 -2
- package/lib/Form/Description/Description.js +24 -25
- package/lib/Form/Description/index.js +2 -2
- package/lib/Form/FormField/FormField.js +6 -6
- package/lib/Form/FormField/index.js +2 -2
- package/lib/Form/HiddenInput/HiddenInput.js +22 -25
- package/lib/Form/HiddenInput/index.js +2 -2
- package/lib/Form/InlineTextLabel/InlineTextLabel.js +74 -19
- package/lib/Form/InlineTextLabel/index.js +2 -2
- package/lib/Form/Input/Input.js +19 -52
- package/lib/Form/Input/index.js +2 -2
- package/lib/Form/Label/Label.js +2 -2
- package/lib/Form/Label/index.js +2 -2
- package/lib/Form/Radio/Radio.js +47 -0
- package/lib/Form/Radio/index.js +10 -0
- package/lib/Form/RadioField/RadioField.js +38 -0
- package/lib/Form/RadioField/index.js +10 -0
- package/lib/Form/RadioGroupField/RadioGroupField.js +49 -0
- package/lib/Form/RadioGroupField/index.js +10 -0
- package/lib/Form/Range/Range.js +15 -12
- package/lib/Form/Range/index.js +2 -2
- package/lib/Form/SearchInput/SearchInput.js +72 -0
- package/lib/Form/SearchInput/index.js +10 -0
- package/lib/Form/Select/Select.js +51 -45
- package/lib/Form/Select/index.js +2 -2
- package/lib/Form/SelectField/SelectField.js +19 -15
- package/lib/Form/SelectField/index.js +2 -2
- package/lib/Form/TextArea/TextArea.js +12 -9
- package/lib/Form/TextArea/index.js +2 -2
- package/lib/Form/TextAreaField/TextAreaField.js +28 -0
- package/lib/Form/TextAreaField/index.js +10 -0
- package/lib/Form/TextField/TextField.js +19 -15
- package/lib/Form/TextField/index.js +2 -2
- package/lib/Form/TextInput/TextInput.js +32 -0
- package/lib/Form/TextInput/index.js +10 -0
- package/lib/Form/TextInput/variants.js +42 -0
- package/lib/Form/TextLabel/TextLabel.js +5 -5
- package/lib/Form/TextLabel/index.js +2 -2
- package/lib/GlobalStyle/GlobalStyle.js +26 -5
- package/lib/GlobalStyle/index.js +2 -2
- package/lib/GridList/GridList.js +32 -20
- package/lib/GridList/__mocks__/index.js +1 -1
- package/lib/GridList/index.js +2 -2
- package/lib/Highlight/Highlight.js +3 -3
- package/lib/Highlight/index.js +2 -2
- package/lib/HtmlContentStyle/HtmlContentStyle.js +32 -45
- package/lib/HtmlContentStyle/index.js +2 -2
- package/lib/Icon/Icon.js +1 -1
- package/lib/Icon/fill/Add.js +22 -12
- package/lib/Icon/fill/AddCircle.js +22 -12
- package/lib/Icon/fill/Alert.js +29 -19
- package/lib/Icon/fill/AlertCircle.js +22 -12
- package/lib/Icon/fill/Analysis.js +22 -12
- package/lib/Icon/fill/AppDownloadCircle.js +22 -12
- package/lib/Icon/fill/AppleCircle.js +22 -12
- package/lib/Icon/fill/Archive.js +22 -12
- package/lib/Icon/fill/ArrowDown.js +22 -12
- package/lib/Icon/fill/ArrowLeft.js +22 -12
- package/lib/Icon/fill/ArrowRight.js +22 -12
- package/lib/Icon/fill/ArrowUp.js +22 -12
- package/lib/Icon/fill/Badge.js +22 -12
- package/lib/Icon/fill/Bell.js +22 -12
- package/lib/Icon/fill/BellOff.js +22 -12
- package/lib/Icon/fill/Bold.js +22 -12
- package/lib/Icon/fill/Bookmark.js +22 -12
- package/lib/Icon/fill/Camera.js +22 -12
- package/lib/Icon/fill/Canlendar.js +22 -12
- package/lib/Icon/fill/Caption.js +25 -15
- package/lib/Icon/fill/Cart.js +32 -0
- package/lib/Icon/fill/Check.js +29 -19
- package/lib/Icon/fill/CheckCircle.js +22 -12
- package/lib/Icon/fill/CheckboxIndeterminated.js +22 -12
- package/lib/Icon/fill/CheckboxOff.js +22 -12
- package/lib/Icon/fill/CheckboxOn.js +22 -12
- package/lib/Icon/fill/ChevronDown.js +22 -12
- package/lib/Icon/fill/ChevronLeft.js +22 -12
- package/lib/Icon/fill/ChevronRight.js +22 -12
- package/lib/Icon/fill/ChevronUp.js +22 -12
- package/lib/Icon/fill/Clap.js +22 -12
- package/lib/Icon/fill/ClearStyle.js +22 -12
- package/lib/Icon/fill/Clip.js +22 -12
- package/lib/Icon/fill/Clock.js +29 -19
- package/lib/Icon/fill/Close.js +22 -12
- package/lib/Icon/fill/CloseCircle.js +22 -12
- package/lib/Icon/fill/Comment.js +22 -12
- package/lib/Icon/fill/Compass.js +22 -12
- package/lib/Icon/fill/Confetti.js +30 -20
- package/lib/Icon/fill/Contents.js +22 -12
- package/lib/Icon/fill/Copy.js +25 -15
- package/lib/Icon/fill/Coupon.js +22 -12
- package/lib/Icon/fill/CreditCard.js +22 -12
- package/lib/Icon/fill/Crop.js +22 -12
- package/lib/Icon/fill/Crown.js +22 -12
- package/lib/Icon/fill/DepositPassbook.js +22 -12
- package/lib/Icon/fill/Design.js +25 -15
- package/lib/Icon/fill/Development.js +22 -12
- package/lib/Icon/fill/DisclosureDown.js +22 -12
- package/lib/Icon/fill/DisclosureUp.js +22 -12
- package/lib/Icon/fill/Dislike.js +22 -12
- package/lib/Icon/fill/Divider.js +22 -12
- package/lib/Icon/fill/Download.js +25 -15
- package/lib/Icon/fill/DropDown.js +22 -12
- package/lib/Icon/fill/DropUp.js +22 -12
- package/lib/Icon/fill/Earybird.js +22 -12
- package/lib/Icon/fill/Edit.js +24 -14
- package/lib/Icon/fill/EyeOff.js +22 -12
- package/lib/Icon/fill/EyeOn.js +25 -15
- package/lib/Icon/fill/FacebookCircle.js +22 -12
- package/lib/Icon/fill/Filter.js +22 -12
- package/lib/Icon/fill/FullScreen.js +22 -12
- package/lib/Icon/fill/FullScreenExit.js +22 -12
- package/lib/Icon/fill/Gear.js +24 -14
- package/lib/Icon/fill/Ghost.js +22 -12
- package/lib/Icon/fill/Gift.js +22 -12
- package/lib/Icon/fill/Groove.js +22 -12
- package/lib/Icon/fill/Hashtag.js +22 -12
- package/lib/Icon/fill/Heart.js +22 -12
- package/lib/Icon/fill/HeartFull.js +22 -12
- package/lib/Icon/fill/HelpCircle.js +22 -12
- package/lib/Icon/fill/Home.js +22 -12
- package/lib/Icon/fill/Hot.js +22 -12
- package/lib/Icon/fill/InfoCircle.js +22 -12
- package/lib/Icon/fill/InstagramCircle.js +25 -15
- package/lib/Icon/fill/Laptop.js +22 -12
- package/lib/Icon/fill/Like.js +22 -12
- package/lib/Icon/fill/Link.js +25 -15
- package/lib/Icon/fill/LinkOutside.js +25 -15
- package/lib/Icon/fill/ListBullet.js +22 -12
- package/lib/Icon/fill/ListNumber.js +22 -12
- package/lib/Icon/fill/Location.js +22 -12
- package/lib/Icon/fill/LocationCurrent.js +22 -12
- package/lib/Icon/fill/Lock.js +22 -12
- package/lib/Icon/fill/LockOff.js +22 -12
- package/lib/Icon/fill/Logout.js +22 -12
- package/lib/Icon/fill/Menu.js +22 -12
- package/lib/Icon/fill/Message.js +28 -18
- package/lib/Icon/fill/Mic.js +25 -15
- package/lib/Icon/fill/Minus.js +22 -12
- package/lib/Icon/fill/MinusCircle.js +22 -12
- package/lib/Icon/fill/Mobile.js +22 -12
- package/lib/Icon/fill/Monitor.js +22 -12
- package/lib/Icon/fill/MoreHorizontal.js +22 -12
- package/lib/Icon/fill/MoreVertical.js +22 -12
- package/lib/Icon/fill/NaverCircle.js +22 -12
- package/lib/Icon/fill/Notice.js +22 -12
- package/lib/Icon/fill/Oa.js +22 -12
- package/lib/Icon/fill/Paper1.js +22 -12
- package/lib/Icon/fill/Paper2.js +22 -12
- package/lib/Icon/fill/Paper3.js +22 -12
- package/lib/Icon/fill/Person.js +25 -15
- package/lib/Icon/fill/Phone.js +22 -12
- package/lib/Icon/fill/Photo.js +25 -15
- package/lib/Icon/fill/PhotoAdd.js +25 -15
- package/lib/Icon/fill/PhotoDouble.js +28 -18
- package/lib/Icon/fill/Pin.js +22 -12
- package/lib/Icon/fill/Pip.js +25 -15
- package/lib/Icon/fill/Play.js +22 -12
- package/lib/Icon/fill/PlayBackA.js +28 -18
- package/lib/Icon/fill/PlayCircle.js +22 -12
- package/lib/Icon/fill/PlayFast.js +22 -12
- package/lib/Icon/fill/PlayFast10Sec.js +25 -15
- package/lib/Icon/fill/PlayFast15Sec.js +25 -15
- package/lib/Icon/fill/PlayFast5Sec.js +25 -15
- package/lib/Icon/fill/PlayNext.js +22 -12
- package/lib/Icon/fill/PlayPause.js +22 -12
- package/lib/Icon/fill/PlayPrev.js +22 -12
- package/lib/Icon/fill/PlayRewind10Sec.js +25 -15
- package/lib/Icon/fill/PlayRewind15Sec.js +25 -15
- package/lib/Icon/fill/PlayRewind5Sec.js +25 -15
- package/lib/Icon/fill/PlaySpeedX025.js +22 -12
- package/lib/Icon/fill/PlaySpeedX05.js +22 -12
- package/lib/Icon/fill/PlaySpeedX1.js +22 -12
- package/lib/Icon/fill/PlaySpeedX15.js +22 -12
- package/lib/Icon/fill/PlaySpeedX2.js +22 -12
- package/lib/Icon/fill/PlaystoreCircle.js +22 -12
- package/lib/Icon/fill/PointCircle.js +25 -15
- package/lib/Icon/fill/Project.js +22 -12
- package/lib/Icon/fill/Quote.js +22 -12
- package/lib/Icon/fill/QuoteReverse.js +22 -12
- package/lib/Icon/fill/Receipt.js +22 -12
- package/lib/Icon/fill/Repeat.js +22 -12
- package/lib/Icon/fill/Replay.js +25 -15
- package/lib/Icon/fill/Reply.js +22 -12
- package/lib/Icon/fill/Report.js +22 -12
- package/lib/Icon/fill/Rocket.js +22 -12
- package/lib/Icon/fill/RotateClockwise.js +29 -19
- package/lib/Icon/fill/Sad.js +22 -12
- package/lib/Icon/fill/Search.js +22 -12
- package/lib/Icon/fill/Send.js +22 -12
- package/lib/Icon/fill/Send2.js +22 -12
- package/lib/Icon/fill/Serious.js +22 -12
- package/lib/Icon/fill/Share.js +25 -15
- package/lib/Icon/fill/Sheild.js +22 -12
- package/lib/Icon/fill/ShippingTruck.js +25 -15
- package/lib/Icon/fill/Smile.js +22 -12
- package/lib/Icon/fill/SocialMedia.js +22 -12
- package/lib/Icon/fill/Sorting.js +28 -18
- package/lib/Icon/fill/Square.js +22 -12
- package/lib/Icon/fill/Star.js +22 -12
- package/lib/Icon/fill/StarFull.js +22 -12
- package/lib/Icon/fill/StarHalf.js +22 -12
- package/lib/Icon/fill/Stock.js +22 -12
- package/lib/Icon/fill/Store.js +22 -12
- package/lib/Icon/fill/Subtitle.js +22 -12
- package/lib/Icon/fill/TalkHelp.js +29 -19
- package/lib/Icon/fill/TextH1.js +22 -12
- package/lib/Icon/fill/TextH2.js +22 -12
- package/lib/Icon/fill/TextH3.js +22 -12
- package/lib/Icon/fill/ThunderCircle.js +22 -12
- package/lib/Icon/fill/Timer.js +22 -12
- package/lib/Icon/fill/ToggleOff.js +22 -12
- package/lib/Icon/fill/ToggleOn.js +22 -12
- package/lib/Icon/fill/ToteBag.js +22 -12
- package/lib/Icon/fill/Trash.js +22 -12
- package/lib/Icon/fill/TwitterCircle.js +22 -12
- package/lib/Icon/fill/Undo.js +22 -12
- package/lib/Icon/fill/Video.js +22 -12
- package/lib/Icon/fill/Volume.js +25 -15
- package/lib/Icon/fill/VolumeMute.js +22 -12
- package/lib/Icon/fill/Web.js +22 -12
- package/lib/Icon/fill/Won.js +22 -12
- package/lib/Icon/fill/WonBadge.js +22 -12
- package/lib/Icon/fill/WonCircle.js +22 -12
- package/lib/Icon/fill/Write.js +22 -12
- package/lib/Icon/fill/YoutubeCircle.js +25 -15
- package/lib/Icon/fill/index.js +179 -177
- package/lib/Icon/index.js +1 -1
- package/lib/Icon/regular/Add.js +22 -12
- package/lib/Icon/regular/AddCircle.js +25 -15
- package/lib/Icon/regular/Alert.js +25 -15
- package/lib/Icon/regular/AlertCircle.js +25 -15
- package/lib/Icon/regular/Analysis.js +22 -12
- package/lib/Icon/regular/AppDownloadCircle.js +28 -18
- package/lib/Icon/regular/AppleCircle.js +27 -17
- package/lib/Icon/regular/Archive.js +25 -15
- package/lib/Icon/regular/ArrowDown.js +22 -12
- package/lib/Icon/regular/ArrowLeft.js +22 -12
- package/lib/Icon/regular/ArrowRight.js +22 -12
- package/lib/Icon/regular/ArrowUp.js +22 -12
- package/lib/Icon/regular/Badge.js +25 -15
- package/lib/Icon/regular/Bell.js +27 -17
- package/lib/Icon/regular/BellOff.js +27 -17
- package/lib/Icon/regular/Bold.js +22 -12
- package/lib/Icon/regular/Bookmark.js +22 -12
- package/lib/Icon/regular/Camera.js +25 -15
- package/lib/Icon/regular/Canlendar.js +25 -15
- package/lib/Icon/regular/Caption.js +25 -15
- package/lib/Icon/regular/Cart.js +32 -0
- package/lib/Icon/regular/Check.js +22 -12
- package/lib/Icon/regular/CheckCircle.js +25 -15
- package/lib/Icon/regular/CheckboxIndeterminated.js +22 -12
- package/lib/Icon/regular/CheckboxOff.js +22 -12
- package/lib/Icon/regular/CheckboxOn.js +22 -12
- package/lib/Icon/regular/ChevronDown.js +22 -12
- package/lib/Icon/regular/ChevronLeft.js +22 -12
- package/lib/Icon/regular/ChevronRight.js +22 -12
- package/lib/Icon/regular/ChevronUp.js +22 -12
- package/lib/Icon/regular/Clap.js +25 -15
- package/lib/Icon/regular/ClearStyle.js +22 -12
- package/lib/Icon/regular/Clip.js +22 -12
- package/lib/Icon/regular/Clock.js +27 -17
- package/lib/Icon/regular/Close.js +22 -12
- package/lib/Icon/regular/CloseCircle.js +25 -15
- package/lib/Icon/regular/Comment.js +25 -15
- package/lib/Icon/regular/Compass.js +25 -15
- package/lib/Icon/regular/Confetti.js +22 -12
- package/lib/Icon/regular/Contents.js +25 -15
- package/lib/Icon/regular/Copy.js +25 -15
- package/lib/Icon/regular/Coupon.js +22 -12
- package/lib/Icon/regular/CreditCard.js +22 -12
- package/lib/Icon/regular/Crop.js +22 -12
- package/lib/Icon/regular/Crown.js +22 -12
- package/lib/Icon/regular/DepositPassbook.js +22 -12
- package/lib/Icon/regular/Design.js +25 -15
- package/lib/Icon/regular/Development.js +22 -12
- package/lib/Icon/regular/DisclosureDown.js +22 -12
- package/lib/Icon/regular/DisclosureUp.js +22 -12
- package/lib/Icon/regular/Dislike.js +29 -19
- package/lib/Icon/regular/Divider.js +22 -12
- package/lib/Icon/regular/Download.js +25 -15
- package/lib/Icon/regular/DropDown.js +22 -12
- package/lib/Icon/regular/DropUp.js +22 -12
- package/lib/Icon/regular/Earybird.js +25 -15
- package/lib/Icon/regular/Edit.js +22 -12
- package/lib/Icon/regular/EyeOff.js +22 -12
- package/lib/Icon/regular/EyeOn.js +25 -15
- package/lib/Icon/regular/FacebookCircle.js +27 -17
- package/lib/Icon/regular/Filter.js +22 -12
- package/lib/Icon/regular/FullScreen.js +22 -12
- package/lib/Icon/regular/FullScreenExit.js +22 -12
- package/lib/Icon/regular/Gear.js +24 -14
- package/lib/Icon/regular/Ghost.js +25 -15
- package/lib/Icon/regular/Gift.js +22 -12
- package/lib/Icon/regular/Groove.js +22 -12
- package/lib/Icon/regular/Hashtag.js +22 -12
- package/lib/Icon/regular/Heart.js +22 -12
- package/lib/Icon/regular/HeartFull.js +22 -12
- package/lib/Icon/regular/HelpCircle.js +25 -15
- package/lib/Icon/regular/Home.js +25 -15
- package/lib/Icon/regular/Hot.js +25 -15
- package/lib/Icon/regular/InfoCircle.js +25 -15
- package/lib/Icon/regular/InstagramCircle.js +28 -18
- package/lib/Icon/regular/Laptop.js +22 -12
- package/lib/Icon/regular/Like.js +22 -12
- package/lib/Icon/regular/Link.js +25 -15
- package/lib/Icon/regular/LinkOutside.js +25 -15
- package/lib/Icon/regular/ListBullet.js +22 -12
- package/lib/Icon/regular/ListNumber.js +22 -12
- package/lib/Icon/regular/Location.js +25 -15
- package/lib/Icon/regular/LocationCurrent.js +22 -12
- package/lib/Icon/regular/Lock.js +25 -15
- package/lib/Icon/regular/LockOff.js +25 -15
- package/lib/Icon/regular/Logout.js +22 -12
- package/lib/Icon/regular/Menu.js +22 -12
- package/lib/Icon/regular/Message.js +22 -12
- package/lib/Icon/regular/Mic.js +25 -15
- package/lib/Icon/regular/Minus.js +22 -12
- package/lib/Icon/regular/MinusCircle.js +25 -15
- package/lib/Icon/regular/Mobile.js +25 -15
- package/lib/Icon/regular/Monitor.js +22 -12
- package/lib/Icon/regular/MoreHorizontal.js +22 -12
- package/lib/Icon/regular/MoreVertical.js +22 -12
- package/lib/Icon/regular/NaverCircle.js +25 -15
- package/lib/Icon/regular/Notice.js +22 -12
- package/lib/Icon/regular/Oa.js +22 -12
- package/lib/Icon/regular/Paper1.js +22 -12
- package/lib/Icon/regular/Paper2.js +25 -15
- package/lib/Icon/regular/Paper3.js +25 -15
- package/lib/Icon/regular/Person.js +22 -12
- package/lib/Icon/regular/Phone.js +22 -12
- package/lib/Icon/regular/Photo.js +25 -15
- package/lib/Icon/regular/PhotoAdd.js +28 -18
- package/lib/Icon/regular/PhotoDouble.js +28 -18
- package/lib/Icon/regular/Pin.js +22 -12
- package/lib/Icon/regular/Pip.js +25 -15
- package/lib/Icon/regular/Play.js +22 -12
- package/lib/Icon/regular/PlayBackA.js +28 -18
- package/lib/Icon/regular/PlayCircle.js +25 -15
- package/lib/Icon/regular/PlayFast.js +22 -12
- package/lib/Icon/regular/PlayFast10Sec.js +25 -15
- package/lib/Icon/regular/PlayFast15Sec.js +25 -15
- package/lib/Icon/regular/PlayFast5Sec.js +25 -15
- package/lib/Icon/regular/PlayNext.js +22 -12
- package/lib/Icon/regular/PlayPause.js +22 -12
- package/lib/Icon/regular/PlayPrev.js +22 -12
- package/lib/Icon/regular/PlayRewind10Sec.js +25 -15
- package/lib/Icon/regular/PlayRewind15Sec.js +25 -15
- package/lib/Icon/regular/PlayRewind5Sec.js +25 -15
- package/lib/Icon/regular/PlaySpeedX025.js +22 -12
- package/lib/Icon/regular/PlaySpeedX05.js +22 -12
- package/lib/Icon/regular/PlaySpeedX1.js +22 -12
- package/lib/Icon/regular/PlaySpeedX15.js +22 -12
- package/lib/Icon/regular/PlaySpeedX2.js +22 -12
- package/lib/Icon/regular/PlaystoreCircle.js +25 -15
- package/lib/Icon/regular/PointCircle.js +25 -15
- package/lib/Icon/regular/Project.js +22 -12
- package/lib/Icon/regular/Quote.js +22 -12
- package/lib/Icon/regular/QuoteReverse.js +22 -12
- package/lib/Icon/regular/Receipt.js +25 -15
- package/lib/Icon/regular/Repeat.js +22 -12
- package/lib/Icon/regular/Replay.js +25 -15
- package/lib/Icon/regular/Reply.js +27 -17
- package/lib/Icon/regular/Report.js +22 -12
- package/lib/Icon/regular/Rocket.js +25 -15
- package/lib/Icon/regular/RotateClockwise.js +22 -12
- package/lib/Icon/regular/Sad.js +28 -18
- package/lib/Icon/regular/Search.js +22 -12
- package/lib/Icon/regular/Send.js +22 -12
- package/lib/Icon/regular/Send2.js +22 -12
- package/lib/Icon/regular/Serious.js +25 -15
- package/lib/Icon/regular/Share.js +25 -15
- package/lib/Icon/regular/Sheild.js +25 -15
- package/lib/Icon/regular/ShippingTruck.js +22 -12
- package/lib/Icon/regular/Smile.js +25 -15
- package/lib/Icon/regular/SocialMedia.js +25 -15
- package/lib/Icon/regular/Sorting.js +28 -18
- package/lib/Icon/regular/Square.js +22 -12
- package/lib/Icon/regular/Star.js +22 -12
- package/lib/Icon/regular/StarFull.js +22 -12
- package/lib/Icon/regular/StarHalf.js +22 -12
- package/lib/Icon/regular/Stock.js +22 -12
- package/lib/Icon/regular/Store.js +22 -12
- package/lib/Icon/regular/Subtitle.js +25 -15
- package/lib/Icon/regular/TalkHelp.js +25 -15
- package/lib/Icon/regular/TextH1.js +22 -12
- package/lib/Icon/regular/TextH2.js +22 -12
- package/lib/Icon/regular/TextH3.js +22 -12
- package/lib/Icon/regular/ThunderCircle.js +25 -15
- package/lib/Icon/regular/Timer.js +27 -17
- package/lib/Icon/regular/ToggleOff.js +22 -12
- package/lib/Icon/regular/ToggleOn.js +22 -12
- package/lib/Icon/regular/ToteBag.js +22 -12
- package/lib/Icon/regular/Trash.js +25 -15
- package/lib/Icon/regular/Twitter.js +32 -0
- package/lib/Icon/regular/TwitterCircle.js +25 -15
- package/lib/Icon/regular/Undo.js +22 -12
- package/lib/Icon/regular/Video.js +25 -15
- package/lib/Icon/regular/Volume.js +25 -15
- package/lib/Icon/regular/VolumeMute.js +22 -12
- package/lib/Icon/regular/Web.js +22 -12
- package/lib/Icon/regular/Won.js +22 -12
- package/lib/Icon/regular/WonBadge.js +25 -15
- package/lib/Icon/regular/WonCircle.js +25 -15
- package/lib/Icon/regular/Write.js +22 -12
- package/lib/Icon/regular/YoutubeCircle.js +25 -15
- package/lib/Icon/regular/index.js +181 -177
- package/lib/Icon/thin/Add.js +22 -12
- package/lib/Icon/thin/AddCircle.js +25 -15
- package/lib/Icon/thin/Alert.js +31 -21
- package/lib/Icon/thin/AlertCircle.js +25 -15
- package/lib/Icon/thin/Analysis.js +22 -12
- package/lib/Icon/thin/AppDownloadCircle.js +25 -15
- package/lib/Icon/thin/AppleCircle.js +27 -17
- package/lib/Icon/thin/Archive.js +25 -15
- package/lib/Icon/thin/ArrowDown.js +22 -12
- package/lib/Icon/thin/ArrowLeft.js +22 -12
- package/lib/Icon/thin/ArrowRight.js +22 -12
- package/lib/Icon/thin/ArrowUp.js +22 -12
- package/lib/Icon/thin/Badge.js +25 -15
- package/lib/Icon/thin/Bell.js +22 -12
- package/lib/Icon/thin/BellOff.js +22 -12
- package/lib/Icon/thin/Bold.js +22 -12
- package/lib/Icon/thin/Bookmark.js +22 -12
- package/lib/Icon/thin/Camera.js +25 -15
- package/lib/Icon/thin/Canlendar.js +25 -15
- package/lib/Icon/thin/Caption.js +25 -15
- package/lib/Icon/thin/Cart.js +32 -0
- package/lib/Icon/thin/Check.js +22 -12
- package/lib/Icon/thin/CheckCircle.js +25 -15
- package/lib/Icon/thin/CheckboxIndeterminated.js +24 -14
- package/lib/Icon/thin/CheckboxOff.js +22 -12
- package/lib/Icon/thin/CheckboxOn.js +24 -14
- package/lib/Icon/thin/ChevronDown.js +22 -12
- package/lib/Icon/thin/ChevronLeft.js +22 -12
- package/lib/Icon/thin/ChevronRight.js +22 -12
- package/lib/Icon/thin/ChevronUp.js +22 -12
- package/lib/Icon/thin/Clap.js +22 -12
- package/lib/Icon/thin/ClearStyle.js +22 -12
- package/lib/Icon/thin/Clip.js +22 -12
- package/lib/Icon/thin/Clock.js +25 -15
- package/lib/Icon/thin/Close.js +22 -12
- package/lib/Icon/thin/CloseCircle.js +25 -15
- package/lib/Icon/thin/Comment.js +25 -15
- package/lib/Icon/thin/Compass.js +25 -15
- package/lib/Icon/thin/Confetti.js +22 -12
- package/lib/Icon/thin/Contents.js +25 -15
- package/lib/Icon/thin/Copy.js +25 -15
- package/lib/Icon/thin/Coupon.js +22 -12
- package/lib/Icon/thin/CreditCard.js +22 -12
- package/lib/Icon/thin/Crop.js +22 -12
- package/lib/Icon/thin/Crown.js +22 -12
- package/lib/Icon/thin/DepositPassbook.js +22 -12
- package/lib/Icon/thin/Design.js +25 -15
- package/lib/Icon/thin/Development.js +22 -12
- package/lib/Icon/thin/DisclosureDown.js +22 -12
- package/lib/Icon/thin/DisclosureUp.js +22 -12
- package/lib/Icon/thin/Dislike.js +29 -19
- package/lib/Icon/thin/Divider.js +22 -12
- package/lib/Icon/thin/Download.js +25 -15
- package/lib/Icon/thin/DropDown.js +22 -12
- package/lib/Icon/thin/DropUp.js +22 -12
- package/lib/Icon/thin/Earybird.js +25 -15
- package/lib/Icon/thin/Edit.js +22 -12
- package/lib/Icon/thin/EyeOff.js +22 -12
- package/lib/Icon/thin/EyeOn.js +25 -15
- package/lib/Icon/thin/FacebookCircle.js +27 -17
- package/lib/Icon/thin/Filter.js +22 -12
- package/lib/Icon/thin/FullScreen.js +22 -12
- package/lib/Icon/thin/FullScreenExit.js +22 -12
- package/lib/Icon/thin/Gear.js +22 -12
- package/lib/Icon/thin/Ghost.js +25 -15
- package/lib/Icon/thin/Gift.js +22 -12
- package/lib/Icon/thin/Groove.js +22 -12
- package/lib/Icon/thin/Hashtag.js +22 -12
- package/lib/Icon/thin/Heart.js +22 -12
- package/lib/Icon/thin/HeartFull.js +22 -12
- package/lib/Icon/thin/HelpCircle.js +25 -15
- package/lib/Icon/thin/Home.js +25 -15
- package/lib/Icon/thin/Hot.js +25 -15
- package/lib/Icon/thin/InfoCircle.js +25 -15
- package/lib/Icon/thin/InstagramCircle.js +28 -18
- package/lib/Icon/thin/Laptop.js +22 -12
- package/lib/Icon/thin/Like.js +22 -12
- package/lib/Icon/thin/Link.js +25 -15
- package/lib/Icon/thin/LinkOutside.js +25 -15
- package/lib/Icon/thin/ListBullet.js +22 -12
- package/lib/Icon/thin/ListNumber.js +22 -12
- package/lib/Icon/thin/Location.js +25 -15
- package/lib/Icon/thin/LocationCurrent.js +22 -12
- package/lib/Icon/thin/Lock.js +25 -15
- package/lib/Icon/thin/LockOff.js +25 -15
- package/lib/Icon/thin/Logout.js +22 -12
- package/lib/Icon/thin/Menu.js +22 -12
- package/lib/Icon/thin/Message.js +22 -12
- package/lib/Icon/thin/Mic.js +25 -15
- package/lib/Icon/thin/Minus.js +22 -12
- package/lib/Icon/thin/MinusCircle.js +25 -15
- package/lib/Icon/thin/Mobile.js +25 -15
- package/lib/Icon/thin/Monitor.js +22 -12
- package/lib/Icon/thin/MoreHorizontal.js +22 -12
- package/lib/Icon/thin/MoreVertical.js +22 -12
- package/lib/Icon/thin/NaverCircle.js +25 -15
- package/lib/Icon/thin/Notice.js +22 -12
- package/lib/Icon/thin/Oa.js +22 -12
- package/lib/Icon/thin/Paper1.js +22 -12
- package/lib/Icon/thin/Paper2.js +25 -15
- package/lib/Icon/thin/Paper3.js +25 -15
- package/lib/Icon/thin/Person.js +22 -12
- package/lib/Icon/thin/Phone.js +22 -12
- package/lib/Icon/thin/Photo.js +25 -15
- package/lib/Icon/thin/PhotoAdd.js +25 -15
- package/lib/Icon/thin/PhotoDouble.js +25 -15
- package/lib/Icon/thin/Pin.js +22 -12
- package/lib/Icon/thin/Pip.js +25 -15
- package/lib/Icon/thin/Play.js +22 -12
- package/lib/Icon/thin/PlayBackA.js +22 -12
- package/lib/Icon/thin/PlayCircle.js +25 -15
- package/lib/Icon/thin/PlayFast.js +22 -12
- package/lib/Icon/thin/PlayFast10Sec.js +25 -15
- package/lib/Icon/thin/PlayFast15Sec.js +25 -15
- package/lib/Icon/thin/PlayFast5Sec.js +25 -15
- package/lib/Icon/thin/PlayNext.js +22 -12
- package/lib/Icon/thin/PlayPause.js +22 -12
- package/lib/Icon/thin/PlayPrev.js +22 -12
- package/lib/Icon/thin/PlayRewind10Sec.js +25 -15
- package/lib/Icon/thin/PlayRewind15Sec.js +25 -15
- package/lib/Icon/thin/PlayRewind5Sec.js +25 -15
- package/lib/Icon/thin/PlaySpeedX025.js +22 -12
- package/lib/Icon/thin/PlaySpeedX05.js +22 -12
- package/lib/Icon/thin/PlaySpeedX1.js +22 -12
- package/lib/Icon/thin/PlaySpeedX15.js +22 -12
- package/lib/Icon/thin/PlaySpeedX2.js +22 -12
- package/lib/Icon/thin/PlaystoreCircle.js +25 -15
- package/lib/Icon/thin/PointCircle.js +25 -15
- package/lib/Icon/thin/Project.js +22 -12
- package/lib/Icon/thin/Quote.js +22 -12
- package/lib/Icon/thin/QuoteReverse.js +22 -12
- package/lib/Icon/thin/Receipt.js +25 -15
- package/lib/Icon/thin/Repeat.js +22 -12
- package/lib/Icon/thin/Replay.js +25 -15
- package/lib/Icon/thin/Reply.js +25 -15
- package/lib/Icon/thin/Report.js +22 -12
- package/lib/Icon/thin/Rocket.js +25 -15
- package/lib/Icon/thin/RotateClockwise.js +25 -15
- package/lib/Icon/thin/Sad.js +28 -18
- package/lib/Icon/thin/Search.js +22 -12
- package/lib/Icon/thin/Send.js +22 -12
- package/lib/Icon/thin/Send2.js +22 -12
- package/lib/Icon/thin/Serious.js +31 -21
- package/lib/Icon/thin/Share.js +25 -15
- package/lib/Icon/thin/Sheild.js +25 -15
- package/lib/Icon/thin/ShippingTruck.js +22 -12
- package/lib/Icon/thin/Smile.js +28 -18
- package/lib/Icon/thin/SocialMedia.js +25 -15
- package/lib/Icon/thin/Sorting.js +22 -12
- package/lib/Icon/thin/Square.js +22 -12
- package/lib/Icon/thin/Star.js +22 -12
- package/lib/Icon/thin/StarFull.js +22 -12
- package/lib/Icon/thin/StarHalf.js +22 -12
- package/lib/Icon/thin/Stock.js +22 -12
- package/lib/Icon/thin/Store.js +22 -12
- package/lib/Icon/thin/Subtitle.js +25 -15
- package/lib/Icon/thin/TalkHelp.js +25 -15
- package/lib/Icon/thin/TextH1.js +22 -12
- package/lib/Icon/thin/TextH2.js +22 -12
- package/lib/Icon/thin/TextH3.js +22 -12
- package/lib/Icon/thin/ThunderCircle.js +25 -15
- package/lib/Icon/thin/Timer.js +25 -15
- package/lib/Icon/thin/ToggleOff.js +22 -12
- package/lib/Icon/thin/ToggleOn.js +22 -12
- package/lib/Icon/thin/ToteBag.js +22 -12
- package/lib/Icon/thin/Trash.js +25 -15
- package/lib/Icon/thin/TwitterCircle.js +25 -15
- package/lib/Icon/thin/Undo.js +22 -12
- package/lib/Icon/thin/Video.js +25 -15
- package/lib/Icon/thin/Volume.js +25 -15
- package/lib/Icon/thin/VolumeMute.js +25 -15
- package/lib/Icon/thin/Web.js +22 -12
- package/lib/Icon/thin/Won.js +22 -12
- package/lib/Icon/thin/WonBadge.js +25 -15
- package/lib/Icon/thin/WonCircle.js +25 -15
- package/lib/Icon/thin/Write.js +22 -12
- package/lib/Icon/thin/YoutubeCircle.js +25 -15
- package/lib/Icon/thin/index.js +179 -177
- package/lib/Icon/types.js +1 -1
- package/lib/ImageThumbnail/ImageThumbnail.js +27 -0
- package/lib/ImageThumbnail/index.js +10 -0
- package/lib/Layout/Center/Center.js +13 -24
- package/lib/Layout/Center/index.js +2 -2
- package/lib/Layout/HStack/HStack.js +14 -8
- package/lib/Layout/HStack/index.js +2 -2
- package/lib/Layout/Position/Position.js +4 -5
- package/lib/Layout/Position/index.js +2 -2
- package/lib/Layout/ResponsiveStack/ResponsiveStack.js +11 -7
- package/lib/Layout/ResponsiveStack/index.js +2 -2
- package/lib/Layout/VStack/VStack.js +14 -8
- package/lib/Layout/VStack/index.js +2 -2
- package/lib/Layout/ZStack/ZStack.js +34 -24
- package/lib/Layout/ZStack/index.js +2 -2
- package/lib/LinearGradient/LinearGradient.js +52 -0
- package/lib/LinearGradient/index.js +10 -0
- package/lib/Link/Link.js +15 -19
- package/lib/Link/index.js +2 -2
- package/lib/Linkify/Linkify.js +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 +379 -16
- package/lib/Pagination/index.js +2 -2
- package/lib/Paper/Paper.js +111 -0
- package/lib/Paper/index.js +10 -0
- package/lib/PopoverBottomSheet/PopoverBottomSheet.js +57 -26
- package/lib/PopoverBottomSheet/index.js +2 -2
- package/lib/Portal/Portal.js +21 -12
- package/lib/Portal/index.js +2 -2
- package/lib/Profile/Profile.js +5 -5
- package/lib/Profile/index.js +2 -2
- package/lib/ProfileLabel/ProfileLabel.js +88 -64
- package/lib/ProfileLabel/index.js +2 -2
- package/lib/Progress/ProgressBar/ProgressBar.js +8 -8
- package/lib/Progress/ProgressBar/index.js +2 -2
- package/lib/Progress/ProgressStep/ProgressStep.js +61 -58
- package/lib/Progress/ProgressStep/index.js +2 -2
- package/lib/Rank/Rank.js +17 -17
- package/lib/Rank/index.js +2 -2
- package/lib/Ratio/Ratio.js +40 -41
- package/lib/Ratio/index.js +2 -2
- package/lib/SafeAreaContent/SafeAreaContent.js +26 -0
- package/lib/SafeAreaContent/index.js +10 -0
- package/lib/Scroll/Scroll.js +48 -0
- package/lib/Scroll/index.js +10 -0
- package/lib/Scroll/variant.js +6 -0
- package/lib/ScrollTarget/ScrollTarget.js +34 -0
- package/lib/ScrollTarget/index.js +10 -0
- package/lib/Section/Section.js +14 -22
- package/lib/Section/index.js +2 -2
- package/lib/SectionHeader/SectionHeader.js +11 -10
- package/lib/SectionHeader/index.js +2 -2
- package/lib/SideNavigation/SideNavigation/SideNavigation.js +15 -0
- package/lib/SideNavigation/SideNavigation/index.js +10 -0
- package/lib/SideNavigation/SideNavigationMenu/SideNavigationMenu.js +69 -0
- package/lib/SideNavigation/SideNavigationMenu/index.js +10 -0
- package/lib/SideNavigation/SideNavigationMenuGroup/SideNavigationMenuGroup.js +20 -0
- package/lib/SideNavigation/SideNavigationMenuGroup/index.js +10 -0
- package/lib/SideNavigation/SideNavigationSubMenu/SideNavigationSubMenu.js +44 -0
- package/lib/SideNavigation/SideNavigationSubMenu/index.js +10 -0
- package/lib/Skeleton/Skeleton.js +22 -18
- package/lib/Skeleton/index.js +2 -2
- package/lib/SlideList/SlideList.js +12 -12
- package/lib/SlideList/__mocks__/index.js +1 -1
- package/lib/SlideList/index.js +2 -2
- package/lib/Slider/Slider.js +1227 -123
- package/lib/Slider/hooks/usePageControl.js +98 -0
- package/lib/Slider/index.js +4 -4
- package/lib/Slider/plugins/AutoPlay.js +82 -0
- package/lib/Slider/useSliderState.js +40 -0
- package/lib/Slider/variants.js +25 -0
- package/lib/SliderSection/SliderSection.js +12 -10
- package/lib/SliderSection/index.js +2 -2
- package/lib/Space/Space.js +26 -0
- package/lib/Space/index.js +10 -0
- package/lib/Spinner/Spinner.js +30 -21
- package/lib/Spinner/index.js +2 -2
- package/lib/Svg/Svg.js +49 -0
- package/lib/Svg/index.js +10 -0
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +2 -2
- package/lib/Tab/ScrollTabPanel/index.js +2 -2
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +6 -6
- package/lib/Tab/ScrollTabPanelWithObserver/index.js +2 -2
- package/lib/Tab/ScrollTabs/ScrollTabs.js +40 -30
- package/lib/Tab/ScrollTabs/index.js +2 -2
- package/lib/Tab/Tab/Tab.js +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 +56 -0
- package/lib/VirtualizedList/index.js +10 -0
- package/lib/VirtualizedList/variants.js +6 -0
- package/lib/deprecated/Slide/Slide.js +3 -3
- package/lib/deprecated/Slide/index.js +1 -1
- package/lib/deprecated/Swiper/Swiper.js +12 -9
- package/lib/deprecated/Swiper/hooks/useAutoPlay.js +3 -3
- package/lib/deprecated/Swiper/hooks/useSwiper.js +465 -13
- package/lib/deprecated/Swiper/index.js +1 -1
- package/lib/deprecated/Swiper/types/SwiperOptions.js +1 -1
- package/{mime-types-XQXFL7W2.js → mime-types-SLPLVYDI.js} +3 -3
- package/package.json +3 -1
- 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 +71 -66
- package/private/Stack/index.js +2 -2
- package/private/Transform/Transform.js +4 -5
- package/private/Transform/index.js +2 -2
- package/@types/image.d.js +0 -6
- package/@types/theme.d.js +0 -8
- package/chunk-44GVNF2V.js +0 -39
- package/chunk-5UMHOQ7R.js +0 -38
- package/chunk-CPDZ2HQZ.js +0 -38
- package/chunk-FRH3NN2M.js +0 -38
- package/chunk-K4FOIOQK.js +0 -43
- package/chunk-K4YVFYII.js +0 -462
- package/chunk-LVICGF6E.js +0 -49
- package/chunk-RGF42JSA.js +0 -40
- package/chunk-UMKGAET2.js +0 -63
- package/lib/Animation/Animator/Animator.stories.js +0 -69
- package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +0 -45
- package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +0 -38
- package/lib/Animation/Transition/Transition.stories.js +0 -54
- package/lib/Background/Background.stories.js +0 -38
- package/lib/Button/ButtonIcon/ButtonIcon.js +0 -57
- package/lib/Button/ButtonIcon/index.js +0 -10
- package/lib/Button/IconButton/IconButton.js +0 -144
- package/lib/Button/IconButton/index.js +0 -10
- package/lib/Button/TextButton/TextButton.stories.js +0 -9
- package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +0 -43
- package/lib/Divider/Divider.stories.js +0 -81
- package/lib/Elevation/Elevation.stories.js +0 -36
- package/lib/Form/Description/Description.stories.js +0 -37
- package/lib/Form/FormField/FormField.stories.js +0 -9
- package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +0 -47
- package/lib/Form/Input/Input.stories.js +0 -9
- package/lib/Form/Label/Label.stories.js +0 -51
- package/lib/Form/Select/Select.stories.js +0 -9
- package/lib/Form/SelectField/SelectField.stories.js +0 -27
- package/lib/Form/TextField/TextField.stories.js +0 -33
- package/lib/Form/TextLabel/TextLabel.stories.js +0 -34
- package/lib/Frame/Frame.js +0 -73
- package/lib/Frame/index.js +0 -10
- package/lib/Highlight/Highlight.stories.js +0 -30
- package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +0 -22
- package/lib/Layout/Center/Center.stories.js +0 -43
- package/lib/Layout/Position/Position.stories.js +0 -42
- package/lib/Link/Link.stories.js +0 -37
- package/lib/Media/Image/Image.stories.js +0 -27
- package/lib/Menu/Menu/Menu.stories.js +0 -36
- package/lib/Menu/MenuIcon/MenuIcon.stories.js +0 -31
- package/lib/Menu/MenuItem/MenuItem.stories.js +0 -9
- package/lib/Menu/MenuText/MenuText.stories.js +0 -9
- package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +0 -10
- package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +0 -39
- package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +0 -30
- package/lib/Opacity/Opacity.stories.js +0 -33
- package/lib/Overlay/Overlay.stories.js +0 -33
- package/lib/Pagination/Pagination.stories.js +0 -37
- package/lib/Progress/ProgressBar/ProgressBar.stories.js +0 -57
- package/lib/Progress/ProgressStep/ProgressStep.stories.js +0 -43
- package/lib/Rank/Rank.stories.js +0 -39
- package/lib/Ratio/Ratio.stories.js +0 -34
- package/lib/Section/Section.stories.js +0 -49
- package/lib/SlideList/SlideList.stories.js +0 -60
- package/lib/Slider/Slider.stories.js +0 -47
- package/lib/Slider/__mocks__/index.js +0 -51
- package/lib/Slider/constants.js +0 -22
- package/lib/Slider/internalHooks/useAutoPlay.js +0 -40
- package/lib/Slider/internalHooks/usePageControl.js +0 -44
- package/lib/Slider/internalHooks/useVirtual.js +0 -27
- package/lib/Slider/useSlider.js +0 -42
- package/lib/SliderSection/SliderSection.stories.js +0 -84
- package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +0 -21
- package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +0 -21
- package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +0 -58
- package/lib/Tab/Tab/Tab.stories.js +0 -47
- package/lib/Tag/Chip/Chip.stories.js +0 -56
- package/lib/Tag/Tag/Tag.stories.js +0 -42
- package/lib/Typography/Body/Body.stories.js +0 -36
- package/lib/Typography/Caption/Caption.js +0 -23
- package/lib/Typography/Caption/Caption.stories.js +0 -43
- package/lib/Typography/Caption/index.js +0 -10
- package/lib/Typography/Paragraph/Paragraph.stories.js +0 -43
- package/lib/Typography/Title/Title.stories.js +0 -41
- package/lib/Underline/Underline.stories.js +0 -38
- package/lib/ViewPager/ViewPager.stories.js +0 -77
- package/lib/deprecated/Swiper/Swiper.stories.js +0 -184
- package/private/Box/Box.stories.js +0 -63
- package/private/ForwardStyle/ForwardStyle.stories.js +0 -26
- package/private/Space/Space.js +0 -15
- package/private/Space/Space.stories.js +0 -39
- package/private/Space/index.js +0 -10
- package/private/Svg/Svg.js +0 -37
- package/private/Svg/index.js +0 -10
- package/utils/appendCssUnit/appendCssUnit.js +0 -15
- package/utils/appendCssUnit/appendCssUnit.spec.js +0 -33
- package/utils/appendCssUnit/index.js +0 -10
- package/utils/index.js +0 -10
package/lib/Slider/Slider.js
CHANGED
@@ -1,148 +1,1252 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
|
2
|
+
EVENTS,
|
3
|
+
ExternalPanel,
|
4
|
+
ExternalRenderer,
|
5
|
+
Flicking,
|
6
|
+
NormalRenderingStrategy,
|
7
|
+
VirtualRenderingStrategy,
|
8
|
+
component_esm_default,
|
9
|
+
getDefaultCameraTransform,
|
10
|
+
getFlickingAttached,
|
11
|
+
getRenderingPanels,
|
12
|
+
range,
|
13
|
+
sync,
|
14
|
+
withFlickingMethods
|
15
|
+
} from "../../chunk-IPFBPHEG.js";
|
4
16
|
import {
|
5
17
|
emotion_styled_browser_esm_default
|
6
|
-
} from "../../chunk-
|
18
|
+
} from "../../chunk-SFQY5CLW.js";
|
7
19
|
import {
|
8
|
-
css,
|
9
20
|
useTheme
|
10
|
-
} from "../../chunk-
|
11
|
-
import "../../chunk-
|
21
|
+
} from "../../chunk-T7TBQTBE.js";
|
22
|
+
import "../../chunk-LE44IRCL.js";
|
23
|
+
import "../../chunk-CGEEKALF.js";
|
24
|
+
import "../../chunk-J3Q2BPOW.js";
|
12
25
|
import {
|
13
26
|
React,
|
27
|
+
__commonJS,
|
28
|
+
__spreadValues,
|
29
|
+
__toModule,
|
14
30
|
init_react_shim
|
15
|
-
} from "../../chunk-
|
31
|
+
} from "../../chunk-VIIHQGZ3.js";
|
32
|
+
|
33
|
+
// node_modules/@egjs/react-flicking/node_modules/react-is/cjs/react-is.development.js
|
34
|
+
var require_react_is_development = __commonJS({
|
35
|
+
"node_modules/@egjs/react-flicking/node_modules/react-is/cjs/react-is.development.js"(exports) {
|
36
|
+
init_react_shim();
|
37
|
+
"use strict";
|
38
|
+
if (true) {
|
39
|
+
(function() {
|
40
|
+
"use strict";
|
41
|
+
var REACT_ELEMENT_TYPE = 60103;
|
42
|
+
var REACT_PORTAL_TYPE = 60106;
|
43
|
+
var REACT_FRAGMENT_TYPE = 60107;
|
44
|
+
var REACT_STRICT_MODE_TYPE = 60108;
|
45
|
+
var REACT_PROFILER_TYPE = 60114;
|
46
|
+
var REACT_PROVIDER_TYPE = 60109;
|
47
|
+
var REACT_CONTEXT_TYPE = 60110;
|
48
|
+
var REACT_FORWARD_REF_TYPE = 60112;
|
49
|
+
var REACT_SUSPENSE_TYPE = 60113;
|
50
|
+
var REACT_SUSPENSE_LIST_TYPE = 60120;
|
51
|
+
var REACT_MEMO_TYPE = 60115;
|
52
|
+
var REACT_LAZY_TYPE = 60116;
|
53
|
+
var REACT_BLOCK_TYPE = 60121;
|
54
|
+
var REACT_SERVER_BLOCK_TYPE = 60122;
|
55
|
+
var REACT_FUNDAMENTAL_TYPE = 60117;
|
56
|
+
var REACT_SCOPE_TYPE = 60119;
|
57
|
+
var REACT_OPAQUE_ID_TYPE = 60128;
|
58
|
+
var REACT_DEBUG_TRACING_MODE_TYPE = 60129;
|
59
|
+
var REACT_OFFSCREEN_TYPE = 60130;
|
60
|
+
var REACT_LEGACY_HIDDEN_TYPE = 60131;
|
61
|
+
if (typeof Symbol === "function" && Symbol.for) {
|
62
|
+
var symbolFor = Symbol.for;
|
63
|
+
REACT_ELEMENT_TYPE = symbolFor("react.element");
|
64
|
+
REACT_PORTAL_TYPE = symbolFor("react.portal");
|
65
|
+
REACT_FRAGMENT_TYPE = symbolFor("react.fragment");
|
66
|
+
REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode");
|
67
|
+
REACT_PROFILER_TYPE = symbolFor("react.profiler");
|
68
|
+
REACT_PROVIDER_TYPE = symbolFor("react.provider");
|
69
|
+
REACT_CONTEXT_TYPE = symbolFor("react.context");
|
70
|
+
REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref");
|
71
|
+
REACT_SUSPENSE_TYPE = symbolFor("react.suspense");
|
72
|
+
REACT_SUSPENSE_LIST_TYPE = symbolFor("react.suspense_list");
|
73
|
+
REACT_MEMO_TYPE = symbolFor("react.memo");
|
74
|
+
REACT_LAZY_TYPE = symbolFor("react.lazy");
|
75
|
+
REACT_BLOCK_TYPE = symbolFor("react.block");
|
76
|
+
REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block");
|
77
|
+
REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental");
|
78
|
+
REACT_SCOPE_TYPE = symbolFor("react.scope");
|
79
|
+
REACT_OPAQUE_ID_TYPE = symbolFor("react.opaque.id");
|
80
|
+
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor("react.debug_trace_mode");
|
81
|
+
REACT_OFFSCREEN_TYPE = symbolFor("react.offscreen");
|
82
|
+
REACT_LEGACY_HIDDEN_TYPE = symbolFor("react.legacy_hidden");
|
83
|
+
}
|
84
|
+
var enableScopeAPI = false;
|
85
|
+
function isValidElementType(type) {
|
86
|
+
if (typeof type === "string" || typeof type === "function") {
|
87
|
+
return true;
|
88
|
+
}
|
89
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI) {
|
90
|
+
return true;
|
91
|
+
}
|
92
|
+
if (typeof type === "object" && type !== null) {
|
93
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
94
|
+
return true;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
return false;
|
98
|
+
}
|
99
|
+
function typeOf(object) {
|
100
|
+
if (typeof object === "object" && object !== null) {
|
101
|
+
var $$typeof = object.$$typeof;
|
102
|
+
switch ($$typeof) {
|
103
|
+
case REACT_ELEMENT_TYPE:
|
104
|
+
var type = object.type;
|
105
|
+
switch (type) {
|
106
|
+
case REACT_FRAGMENT_TYPE:
|
107
|
+
case REACT_PROFILER_TYPE:
|
108
|
+
case REACT_STRICT_MODE_TYPE:
|
109
|
+
case REACT_SUSPENSE_TYPE:
|
110
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
111
|
+
return type;
|
112
|
+
default:
|
113
|
+
var $$typeofType = type && type.$$typeof;
|
114
|
+
switch ($$typeofType) {
|
115
|
+
case REACT_CONTEXT_TYPE:
|
116
|
+
case REACT_FORWARD_REF_TYPE:
|
117
|
+
case REACT_LAZY_TYPE:
|
118
|
+
case REACT_MEMO_TYPE:
|
119
|
+
case REACT_PROVIDER_TYPE:
|
120
|
+
return $$typeofType;
|
121
|
+
default:
|
122
|
+
return $$typeof;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
case REACT_PORTAL_TYPE:
|
126
|
+
return $$typeof;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
return void 0;
|
130
|
+
}
|
131
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
132
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
133
|
+
var Element = REACT_ELEMENT_TYPE;
|
134
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
135
|
+
var Fragment2 = REACT_FRAGMENT_TYPE;
|
136
|
+
var Lazy = REACT_LAZY_TYPE;
|
137
|
+
var Memo = REACT_MEMO_TYPE;
|
138
|
+
var Portal = REACT_PORTAL_TYPE;
|
139
|
+
var Profiler = REACT_PROFILER_TYPE;
|
140
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
141
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
142
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
143
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
144
|
+
function isAsyncMode(object) {
|
145
|
+
{
|
146
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
147
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
148
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
149
|
+
}
|
150
|
+
}
|
151
|
+
return false;
|
152
|
+
}
|
153
|
+
function isConcurrentMode(object) {
|
154
|
+
{
|
155
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
156
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
157
|
+
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
158
|
+
}
|
159
|
+
}
|
160
|
+
return false;
|
161
|
+
}
|
162
|
+
function isContextConsumer(object) {
|
163
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
164
|
+
}
|
165
|
+
function isContextProvider(object) {
|
166
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
167
|
+
}
|
168
|
+
function isElement(object) {
|
169
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
170
|
+
}
|
171
|
+
function isForwardRef(object) {
|
172
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
173
|
+
}
|
174
|
+
function isFragment2(object) {
|
175
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
176
|
+
}
|
177
|
+
function isLazy(object) {
|
178
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
179
|
+
}
|
180
|
+
function isMemo(object) {
|
181
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
182
|
+
}
|
183
|
+
function isPortal(object) {
|
184
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
185
|
+
}
|
186
|
+
function isProfiler(object) {
|
187
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
188
|
+
}
|
189
|
+
function isStrictMode(object) {
|
190
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
191
|
+
}
|
192
|
+
function isSuspense(object) {
|
193
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
194
|
+
}
|
195
|
+
exports.ContextConsumer = ContextConsumer;
|
196
|
+
exports.ContextProvider = ContextProvider;
|
197
|
+
exports.Element = Element;
|
198
|
+
exports.ForwardRef = ForwardRef;
|
199
|
+
exports.Fragment = Fragment2;
|
200
|
+
exports.Lazy = Lazy;
|
201
|
+
exports.Memo = Memo;
|
202
|
+
exports.Portal = Portal;
|
203
|
+
exports.Profiler = Profiler;
|
204
|
+
exports.StrictMode = StrictMode;
|
205
|
+
exports.Suspense = Suspense;
|
206
|
+
exports.isAsyncMode = isAsyncMode;
|
207
|
+
exports.isConcurrentMode = isConcurrentMode;
|
208
|
+
exports.isContextConsumer = isContextConsumer;
|
209
|
+
exports.isContextProvider = isContextProvider;
|
210
|
+
exports.isElement = isElement;
|
211
|
+
exports.isForwardRef = isForwardRef;
|
212
|
+
exports.isFragment = isFragment2;
|
213
|
+
exports.isLazy = isLazy;
|
214
|
+
exports.isMemo = isMemo;
|
215
|
+
exports.isPortal = isPortal;
|
216
|
+
exports.isProfiler = isProfiler;
|
217
|
+
exports.isStrictMode = isStrictMode;
|
218
|
+
exports.isSuspense = isSuspense;
|
219
|
+
exports.isValidElementType = isValidElementType;
|
220
|
+
exports.typeOf = typeOf;
|
221
|
+
})();
|
222
|
+
}
|
223
|
+
}
|
224
|
+
});
|
225
|
+
|
226
|
+
// node_modules/@egjs/react-flicking/node_modules/react-is/index.js
|
227
|
+
var require_react_is = __commonJS({
|
228
|
+
"node_modules/@egjs/react-flicking/node_modules/react-is/index.js"(exports, module) {
|
229
|
+
init_react_shim();
|
230
|
+
"use strict";
|
231
|
+
if (false) {
|
232
|
+
module.exports = null;
|
233
|
+
} else {
|
234
|
+
module.exports = require_react_is_development();
|
235
|
+
}
|
236
|
+
}
|
237
|
+
});
|
16
238
|
|
17
239
|
// libs/shared/ui-system/src/lib/Slider/Slider.tsx
|
18
240
|
init_react_shim();
|
19
|
-
import {
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
241
|
+
import {
|
242
|
+
Children as Children2,
|
243
|
+
forwardRef,
|
244
|
+
isValidElement,
|
245
|
+
useCallback,
|
246
|
+
useEffect,
|
247
|
+
useImperativeHandle,
|
248
|
+
useMemo,
|
249
|
+
useRef
|
250
|
+
} from "react";
|
251
|
+
|
252
|
+
// node_modules/@egjs/react-flicking/dist/flicking.esm.js
|
253
|
+
init_react_shim();
|
254
|
+
import {
|
255
|
+
Children,
|
256
|
+
Component,
|
257
|
+
Fragment,
|
258
|
+
PureComponent,
|
259
|
+
cloneElement,
|
260
|
+
createElement,
|
261
|
+
createRef
|
262
|
+
} from "react";
|
263
|
+
import React__default from "react";
|
264
|
+
|
265
|
+
// node_modules/@egjs/list-differ/dist/list-differ.esm.js
|
266
|
+
init_react_shim();
|
267
|
+
var PolyMap = /* @__PURE__ */ function() {
|
268
|
+
function PolyMap2() {
|
269
|
+
this.keys = [];
|
270
|
+
this.values = [];
|
271
|
+
}
|
272
|
+
var __proto = PolyMap2.prototype;
|
273
|
+
__proto.get = function(key) {
|
274
|
+
return this.values[this.keys.indexOf(key)];
|
275
|
+
};
|
276
|
+
__proto.set = function(key, value) {
|
277
|
+
var keys = this.keys;
|
278
|
+
var values = this.values;
|
279
|
+
var prevIndex = keys.indexOf(key);
|
280
|
+
var index = prevIndex === -1 ? keys.length : prevIndex;
|
281
|
+
keys[index] = key;
|
282
|
+
values[index] = value;
|
283
|
+
};
|
284
|
+
return PolyMap2;
|
285
|
+
}();
|
286
|
+
var HashMap = /* @__PURE__ */ function() {
|
287
|
+
function HashMap2() {
|
288
|
+
this.object = {};
|
289
|
+
}
|
290
|
+
var __proto = HashMap2.prototype;
|
291
|
+
__proto.get = function(key) {
|
292
|
+
return this.object[key];
|
293
|
+
};
|
294
|
+
__proto.set = function(key, value) {
|
295
|
+
this.object[key] = value;
|
296
|
+
};
|
297
|
+
return HashMap2;
|
298
|
+
}();
|
299
|
+
var SUPPORT_MAP = typeof Map === "function";
|
300
|
+
var Link = /* @__PURE__ */ function() {
|
301
|
+
function Link2() {
|
302
|
+
}
|
303
|
+
var __proto = Link2.prototype;
|
304
|
+
__proto.connect = function(prevLink, nextLink) {
|
305
|
+
this.prev = prevLink;
|
306
|
+
this.next = nextLink;
|
307
|
+
prevLink && (prevLink.next = this);
|
308
|
+
nextLink && (nextLink.prev = this);
|
309
|
+
};
|
310
|
+
__proto.disconnect = function() {
|
311
|
+
var prevLink = this.prev;
|
312
|
+
var nextLink = this.next;
|
313
|
+
prevLink && (prevLink.next = nextLink);
|
314
|
+
nextLink && (nextLink.prev = prevLink);
|
315
|
+
};
|
316
|
+
__proto.getIndex = function() {
|
317
|
+
var link = this;
|
318
|
+
var index = -1;
|
319
|
+
while (link) {
|
320
|
+
link = link.prev;
|
321
|
+
++index;
|
322
|
+
}
|
323
|
+
return index;
|
324
|
+
};
|
325
|
+
return Link2;
|
326
|
+
}();
|
327
|
+
function orderChanged(changed, fixed) {
|
328
|
+
var fromLinks = [];
|
329
|
+
var toLinks = [];
|
330
|
+
changed.forEach(function(_a) {
|
331
|
+
var from = _a[0], to = _a[1];
|
332
|
+
var link = new Link();
|
333
|
+
fromLinks[from] = link;
|
334
|
+
toLinks[to] = link;
|
335
|
+
});
|
336
|
+
fromLinks.forEach(function(link, i) {
|
337
|
+
link.connect(fromLinks[i - 1]);
|
338
|
+
});
|
339
|
+
return changed.filter(function(_, i) {
|
340
|
+
return !fixed[i];
|
341
|
+
}).map(function(_a, i) {
|
342
|
+
var from = _a[0], to = _a[1];
|
343
|
+
if (from === to) {
|
344
|
+
return [0, 0];
|
345
|
+
}
|
346
|
+
var fromLink = fromLinks[from];
|
347
|
+
var toLink = toLinks[to - 1];
|
348
|
+
var fromIndex = fromLink.getIndex();
|
349
|
+
fromLink.disconnect();
|
350
|
+
if (!toLink) {
|
351
|
+
fromLink.connect(void 0, fromLinks[0]);
|
352
|
+
} else {
|
353
|
+
fromLink.connect(toLink, toLink.next);
|
354
|
+
}
|
355
|
+
var toIndex = fromLink.getIndex();
|
356
|
+
return [fromIndex, toIndex];
|
357
|
+
});
|
358
|
+
}
|
359
|
+
var Result = /* @__PURE__ */ function() {
|
360
|
+
function Result2(prevList, list, added, removed, changed, maintained, changedBeforeAdded, fixed) {
|
361
|
+
this.prevList = prevList;
|
362
|
+
this.list = list;
|
363
|
+
this.added = added;
|
364
|
+
this.removed = removed;
|
365
|
+
this.changed = changed;
|
366
|
+
this.maintained = maintained;
|
367
|
+
this.changedBeforeAdded = changedBeforeAdded;
|
368
|
+
this.fixed = fixed;
|
369
|
+
}
|
370
|
+
var __proto = Result2.prototype;
|
371
|
+
Object.defineProperty(__proto, "ordered", {
|
372
|
+
get: function() {
|
373
|
+
if (!this.cacheOrdered) {
|
374
|
+
this.caculateOrdered();
|
375
|
+
}
|
376
|
+
return this.cacheOrdered;
|
64
377
|
},
|
65
|
-
|
66
|
-
|
378
|
+
enumerable: true,
|
379
|
+
configurable: true
|
380
|
+
});
|
381
|
+
Object.defineProperty(__proto, "pureChanged", {
|
382
|
+
get: function() {
|
383
|
+
if (!this.cachePureChanged) {
|
384
|
+
this.caculateOrdered();
|
385
|
+
}
|
386
|
+
return this.cachePureChanged;
|
67
387
|
},
|
68
|
-
|
69
|
-
|
388
|
+
enumerable: true,
|
389
|
+
configurable: true
|
390
|
+
});
|
391
|
+
__proto.caculateOrdered = function() {
|
392
|
+
var ordered = orderChanged(this.changedBeforeAdded, this.fixed);
|
393
|
+
var changed = this.changed;
|
394
|
+
var pureChanged = [];
|
395
|
+
this.cacheOrdered = ordered.filter(function(_a, i) {
|
396
|
+
var from = _a[0], to = _a[1];
|
397
|
+
var _b = changed[i], fromBefore = _b[0], toBefore = _b[1];
|
398
|
+
if (from !== to) {
|
399
|
+
pureChanged.push([fromBefore, toBefore]);
|
400
|
+
return true;
|
401
|
+
}
|
402
|
+
});
|
403
|
+
this.cachePureChanged = pureChanged;
|
404
|
+
};
|
405
|
+
return Result2;
|
406
|
+
}();
|
407
|
+
function diff(prevList, list, findKeyCallback) {
|
408
|
+
var mapClass = SUPPORT_MAP ? Map : findKeyCallback ? HashMap : PolyMap;
|
409
|
+
var callback = findKeyCallback || function(e) {
|
410
|
+
return e;
|
411
|
+
};
|
412
|
+
var added = [];
|
413
|
+
var removed = [];
|
414
|
+
var maintained = [];
|
415
|
+
var prevKeys = prevList.map(callback);
|
416
|
+
var keys = list.map(callback);
|
417
|
+
var prevKeyMap = new mapClass();
|
418
|
+
var keyMap = new mapClass();
|
419
|
+
var changedBeforeAdded = [];
|
420
|
+
var fixed = [];
|
421
|
+
var removedMap = {};
|
422
|
+
var changed = [];
|
423
|
+
var addedCount = 0;
|
424
|
+
var removedCount = 0;
|
425
|
+
prevKeys.forEach(function(key, prevListIndex) {
|
426
|
+
prevKeyMap.set(key, prevListIndex);
|
427
|
+
});
|
428
|
+
keys.forEach(function(key, listIndex) {
|
429
|
+
keyMap.set(key, listIndex);
|
430
|
+
});
|
431
|
+
prevKeys.forEach(function(key, prevListIndex) {
|
432
|
+
var listIndex = keyMap.get(key);
|
433
|
+
if (typeof listIndex === "undefined") {
|
434
|
+
++removedCount;
|
435
|
+
removed.push(prevListIndex);
|
436
|
+
} else {
|
437
|
+
removedMap[listIndex] = removedCount;
|
70
438
|
}
|
71
439
|
});
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
});
|
107
|
-
var
|
108
|
-
${({visible}) => visible && css`
|
109
|
-
overflow: visible;
|
110
|
-
`}
|
111
|
-
|
112
|
-
.keen-slider__slide {
|
113
|
-
${({slidesPerView, spacing}) => css`
|
114
|
-
min-width: calc((100% - ${spacing[0] * (slidesPerView[0] - 1)}px) / ${slidesPerView[0]});
|
115
|
-
max-width: calc((100% - ${spacing[0] * (slidesPerView[0] - 1)}px) / ${slidesPerView[0]});
|
116
|
-
`}
|
440
|
+
keys.forEach(function(key, listIndex) {
|
441
|
+
var prevListIndex = prevKeyMap.get(key);
|
442
|
+
if (typeof prevListIndex === "undefined") {
|
443
|
+
added.push(listIndex);
|
444
|
+
++addedCount;
|
445
|
+
} else {
|
446
|
+
maintained.push([prevListIndex, listIndex]);
|
447
|
+
removedCount = removedMap[listIndex] || 0;
|
448
|
+
changedBeforeAdded.push([prevListIndex - removedCount, listIndex - addedCount]);
|
449
|
+
fixed.push(listIndex === prevListIndex);
|
450
|
+
if (prevListIndex !== listIndex) {
|
451
|
+
changed.push([prevListIndex, listIndex]);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
});
|
455
|
+
removed.reverse();
|
456
|
+
return new Result(prevList, list, added, removed, changed, maintained, changedBeforeAdded, fixed);
|
457
|
+
}
|
458
|
+
var ListDiffer = /* @__PURE__ */ function() {
|
459
|
+
function ListDiffer2(list, findKeyCallback) {
|
460
|
+
if (list === void 0) {
|
461
|
+
list = [];
|
462
|
+
}
|
463
|
+
this.findKeyCallback = findKeyCallback;
|
464
|
+
this.list = [].slice.call(list);
|
465
|
+
}
|
466
|
+
var __proto = ListDiffer2.prototype;
|
467
|
+
__proto.update = function(list) {
|
468
|
+
var newData = [].slice.call(list);
|
469
|
+
var result = diff(this.list, newData, this.findKeyCallback);
|
470
|
+
this.list = newData;
|
471
|
+
return result;
|
472
|
+
};
|
473
|
+
return ListDiffer2;
|
474
|
+
}();
|
475
|
+
var list_differ_esm_default = ListDiffer;
|
117
476
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
477
|
+
// node_modules/@egjs/react-flicking/dist/flicking.esm.js
|
478
|
+
var import_react_is = __toModule(require_react_is());
|
479
|
+
import { findDOMNode } from "react-dom";
|
480
|
+
var extendStatics = function(d, b) {
|
481
|
+
extendStatics = Object.setPrototypeOf || {
|
482
|
+
__proto__: []
|
483
|
+
} instanceof Array && function(d2, b2) {
|
484
|
+
d2.__proto__ = b2;
|
485
|
+
} || function(d2, b2) {
|
486
|
+
for (var p in b2)
|
487
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
488
|
+
d2[p] = b2[p];
|
489
|
+
};
|
490
|
+
return extendStatics(d, b);
|
491
|
+
};
|
492
|
+
function __extends(d, b) {
|
493
|
+
if (typeof b !== "function" && b !== null)
|
494
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
495
|
+
extendStatics(d, b);
|
496
|
+
function __() {
|
497
|
+
this.constructor = d;
|
498
|
+
}
|
499
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
500
|
+
}
|
501
|
+
var __assign = function() {
|
502
|
+
__assign = Object.assign || function __assign2(t) {
|
503
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
504
|
+
s = arguments[i];
|
505
|
+
for (var p in s)
|
506
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
507
|
+
t[p] = s[p];
|
508
|
+
}
|
509
|
+
return t;
|
510
|
+
};
|
511
|
+
return __assign.apply(this, arguments);
|
512
|
+
};
|
513
|
+
function __decorate(decorators, target, key, desc) {
|
514
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
515
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
516
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
517
|
+
else
|
518
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
519
|
+
if (d = decorators[i])
|
520
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
521
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
522
|
+
}
|
523
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
524
|
+
function adopt(value) {
|
525
|
+
return value instanceof P ? value : new P(function(resolve) {
|
526
|
+
resolve(value);
|
527
|
+
});
|
528
|
+
}
|
529
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
530
|
+
function fulfilled(value) {
|
531
|
+
try {
|
532
|
+
step(generator.next(value));
|
533
|
+
} catch (e) {
|
534
|
+
reject(e);
|
535
|
+
}
|
536
|
+
}
|
537
|
+
function rejected(value) {
|
538
|
+
try {
|
539
|
+
step(generator["throw"](value));
|
540
|
+
} catch (e) {
|
541
|
+
reject(e);
|
542
|
+
}
|
543
|
+
}
|
544
|
+
function step(result) {
|
545
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
546
|
+
}
|
547
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
548
|
+
});
|
549
|
+
}
|
550
|
+
function __generator(thisArg, body) {
|
551
|
+
var _ = {
|
552
|
+
label: 0,
|
553
|
+
sent: function() {
|
554
|
+
if (t[0] & 1)
|
555
|
+
throw t[1];
|
556
|
+
return t[1];
|
557
|
+
},
|
558
|
+
trys: [],
|
559
|
+
ops: []
|
560
|
+
}, f, y, t, g;
|
561
|
+
return g = {
|
562
|
+
next: verb(0),
|
563
|
+
"throw": verb(1),
|
564
|
+
"return": verb(2)
|
565
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
566
|
+
return this;
|
567
|
+
}), g;
|
568
|
+
function verb(n) {
|
569
|
+
return function(v) {
|
570
|
+
return step([n, v]);
|
571
|
+
};
|
572
|
+
}
|
573
|
+
function step(op) {
|
574
|
+
if (f)
|
575
|
+
throw new TypeError("Generator is already executing.");
|
576
|
+
while (_)
|
577
|
+
try {
|
578
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
579
|
+
return t;
|
580
|
+
if (y = 0, t)
|
581
|
+
op = [op[0] & 2, t.value];
|
582
|
+
switch (op[0]) {
|
583
|
+
case 0:
|
584
|
+
case 1:
|
585
|
+
t = op;
|
586
|
+
break;
|
587
|
+
case 4:
|
588
|
+
_.label++;
|
589
|
+
return {
|
590
|
+
value: op[1],
|
591
|
+
done: false
|
592
|
+
};
|
593
|
+
case 5:
|
594
|
+
_.label++;
|
595
|
+
y = op[1];
|
596
|
+
op = [0];
|
597
|
+
continue;
|
598
|
+
case 7:
|
599
|
+
op = _.ops.pop();
|
600
|
+
_.trys.pop();
|
601
|
+
continue;
|
602
|
+
default:
|
603
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
604
|
+
_ = 0;
|
605
|
+
continue;
|
126
606
|
}
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
607
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
608
|
+
_.label = op[1];
|
609
|
+
break;
|
610
|
+
}
|
611
|
+
if (op[0] === 6 && _.label < t[1]) {
|
612
|
+
_.label = t[1];
|
613
|
+
t = op;
|
614
|
+
break;
|
615
|
+
}
|
616
|
+
if (t && _.label < t[2]) {
|
617
|
+
_.label = t[2];
|
618
|
+
_.ops.push(op);
|
619
|
+
break;
|
620
|
+
}
|
621
|
+
if (t[2])
|
622
|
+
_.ops.pop();
|
623
|
+
_.trys.pop();
|
624
|
+
continue;
|
625
|
+
}
|
626
|
+
op = body.call(thisArg, _);
|
627
|
+
} catch (e) {
|
628
|
+
op = [6, e];
|
629
|
+
y = 0;
|
630
|
+
} finally {
|
631
|
+
f = t = 0;
|
632
|
+
}
|
633
|
+
if (op[0] & 5)
|
634
|
+
throw op[1];
|
635
|
+
return {
|
636
|
+
value: op[0] ? op[1] : void 0,
|
637
|
+
done: true
|
638
|
+
};
|
639
|
+
}
|
640
|
+
}
|
641
|
+
function __spreadArray(to, from, pack) {
|
642
|
+
if (pack || arguments.length === 2)
|
643
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
644
|
+
if (ar || !(i in from)) {
|
645
|
+
if (!ar)
|
646
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
647
|
+
ar[i] = from[i];
|
648
|
+
}
|
649
|
+
}
|
650
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
651
|
+
}
|
652
|
+
var DEFAULT_PROPS = {
|
653
|
+
viewportTag: "div",
|
654
|
+
cameraTag: "div",
|
655
|
+
plugins: [],
|
656
|
+
useFindDOMNode: false,
|
657
|
+
hideBeforeInit: false,
|
658
|
+
onReady: function(e) {
|
659
|
+
},
|
660
|
+
onBeforeResize: function(e) {
|
661
|
+
},
|
662
|
+
onAfterResize: function(e) {
|
663
|
+
},
|
664
|
+
onHoldStart: function(e) {
|
665
|
+
},
|
666
|
+
onHoldEnd: function(e) {
|
667
|
+
},
|
668
|
+
onMoveStart: function(e) {
|
669
|
+
},
|
670
|
+
onMove: function(e) {
|
671
|
+
},
|
672
|
+
onMoveEnd: function(e) {
|
673
|
+
},
|
674
|
+
onWillChange: function(e) {
|
675
|
+
},
|
676
|
+
onChanged: function(e) {
|
677
|
+
},
|
678
|
+
onWillRestore: function(e) {
|
679
|
+
},
|
680
|
+
onRestored: function(e) {
|
681
|
+
},
|
682
|
+
onSelect: function(e) {
|
683
|
+
},
|
684
|
+
onNeedPanel: function(e) {
|
685
|
+
},
|
686
|
+
onVisibleChange: function(e) {
|
687
|
+
},
|
688
|
+
onReachEdge: function(e) {
|
689
|
+
},
|
690
|
+
onPanelChange: function(e) {
|
691
|
+
}
|
692
|
+
};
|
693
|
+
var ReactRenderer = /* @__PURE__ */ function(_super) {
|
694
|
+
__extends(ReactRenderer2, _super);
|
695
|
+
function ReactRenderer2(options) {
|
696
|
+
var _this = _super.call(this, options) || this;
|
697
|
+
_this._reactFlicking = options.reactFlicking;
|
698
|
+
return _this;
|
699
|
+
}
|
700
|
+
var __proto = ReactRenderer2.prototype;
|
701
|
+
__proto.render = function() {
|
702
|
+
return __awaiter(this, void 0, void 0, function() {
|
703
|
+
var flicking, reactFlicking, strategy;
|
704
|
+
return __generator(this, function(_a) {
|
705
|
+
flicking = getFlickingAttached(this._flicking);
|
706
|
+
reactFlicking = this._reactFlicking;
|
707
|
+
strategy = this._strategy;
|
708
|
+
strategy.updateRenderingPanels(flicking);
|
709
|
+
strategy.renderPanels(flicking);
|
710
|
+
return [
|
711
|
+
2,
|
712
|
+
new Promise(function(resolve) {
|
713
|
+
reactFlicking.renderEmitter.once("render", resolve);
|
714
|
+
reactFlicking.forceUpdate();
|
715
|
+
})
|
716
|
+
];
|
717
|
+
});
|
718
|
+
});
|
719
|
+
};
|
720
|
+
__proto.forceRenderAllPanels = function() {
|
721
|
+
return __awaiter(this, void 0, void 0, function() {
|
722
|
+
var reactFlicking;
|
723
|
+
return __generator(this, function(_a) {
|
724
|
+
switch (_a.label) {
|
725
|
+
case 0:
|
726
|
+
reactFlicking = this._reactFlicking;
|
727
|
+
return [
|
728
|
+
4,
|
729
|
+
_super.prototype.forceRenderAllPanels.call(this)
|
730
|
+
];
|
731
|
+
case 1:
|
732
|
+
_a.sent();
|
733
|
+
return [
|
734
|
+
2,
|
735
|
+
new Promise(function(resolve) {
|
736
|
+
reactFlicking.renderEmitter.once("render", resolve);
|
737
|
+
reactFlicking.forceUpdate();
|
738
|
+
})
|
739
|
+
];
|
740
|
+
}
|
741
|
+
});
|
742
|
+
});
|
743
|
+
};
|
744
|
+
__proto._collectPanels = function() {
|
745
|
+
var flicking = getFlickingAttached(this._flicking);
|
746
|
+
var reactFlicking = this._reactFlicking;
|
747
|
+
var reactPanels = reactFlicking.reactPanels;
|
748
|
+
this._panels = this._strategy.collectPanels(flicking, reactPanels);
|
749
|
+
};
|
750
|
+
__proto._createPanel = function(externalComponent, options) {
|
751
|
+
return this._strategy.createPanel(externalComponent, options);
|
752
|
+
};
|
753
|
+
return ReactRenderer2;
|
754
|
+
}(ExternalRenderer);
|
755
|
+
var StrictPanel = /* @__PURE__ */ function(_super) {
|
756
|
+
__extends(StrictPanel2, _super);
|
757
|
+
function StrictPanel2() {
|
758
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
759
|
+
_this._hide = false;
|
760
|
+
_this._elRef = createRef();
|
761
|
+
return _this;
|
762
|
+
}
|
763
|
+
var __proto = StrictPanel2.prototype;
|
764
|
+
Object.defineProperty(__proto, "nativeElement", {
|
765
|
+
get: function() {
|
766
|
+
return this._elRef.current;
|
767
|
+
},
|
768
|
+
enumerable: false,
|
769
|
+
configurable: true
|
770
|
+
});
|
771
|
+
Object.defineProperty(__proto, "rendered", {
|
772
|
+
get: function() {
|
773
|
+
return !this._hide;
|
774
|
+
},
|
775
|
+
enumerable: false,
|
776
|
+
configurable: true
|
777
|
+
});
|
778
|
+
__proto.render = function() {
|
779
|
+
return this._hide ? createElement(Fragment, null) : this._getElement();
|
780
|
+
};
|
781
|
+
__proto.show = function() {
|
782
|
+
this._hide = false;
|
783
|
+
};
|
784
|
+
__proto.hide = function() {
|
785
|
+
this._hide = true;
|
786
|
+
};
|
787
|
+
__proto._getElement = function() {
|
788
|
+
return cloneElement(Children.only(this.props.children), {
|
789
|
+
ref: this._elRef
|
790
|
+
});
|
791
|
+
};
|
792
|
+
return StrictPanel2;
|
793
|
+
}(Component);
|
794
|
+
var NonStrictPanel = /* @__PURE__ */ function(_super) {
|
795
|
+
__extends(NonStrictPanel2, _super);
|
796
|
+
function NonStrictPanel2() {
|
797
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
798
|
+
_this._hide = false;
|
799
|
+
return _this;
|
800
|
+
}
|
801
|
+
var __proto = NonStrictPanel2.prototype;
|
802
|
+
Object.defineProperty(__proto, "nativeElement", {
|
803
|
+
get: function() {
|
804
|
+
return findDOMNode(this);
|
805
|
+
},
|
806
|
+
enumerable: false,
|
807
|
+
configurable: true
|
808
|
+
});
|
809
|
+
Object.defineProperty(__proto, "rendered", {
|
810
|
+
get: function() {
|
811
|
+
return !this._hide;
|
812
|
+
},
|
813
|
+
enumerable: false,
|
814
|
+
configurable: true
|
815
|
+
});
|
816
|
+
__proto.render = function() {
|
817
|
+
return this._hide ? createElement(Fragment, null) : this.props.children;
|
818
|
+
};
|
819
|
+
__proto.show = function() {
|
820
|
+
this._hide = false;
|
821
|
+
};
|
822
|
+
__proto.hide = function() {
|
823
|
+
this._hide = true;
|
824
|
+
};
|
825
|
+
return NonStrictPanel2;
|
826
|
+
}(Component);
|
827
|
+
var ViewportSlot = function(_a) {
|
828
|
+
var children = _a.children;
|
829
|
+
return React__default.createElement(React__default.Fragment, null, children);
|
830
|
+
};
|
831
|
+
var ReactElementProvider = /* @__PURE__ */ function() {
|
832
|
+
function ReactElementProvider2(el) {
|
833
|
+
this._el = el;
|
834
|
+
}
|
835
|
+
var __proto = ReactElementProvider2.prototype;
|
836
|
+
Object.defineProperty(__proto, "element", {
|
837
|
+
get: function() {
|
838
|
+
return this._el.nativeElement;
|
839
|
+
},
|
840
|
+
enumerable: false,
|
841
|
+
configurable: true
|
842
|
+
});
|
843
|
+
Object.defineProperty(__proto, "rendered", {
|
844
|
+
get: function() {
|
845
|
+
return this._el.rendered;
|
846
|
+
},
|
847
|
+
enumerable: false,
|
848
|
+
configurable: true
|
849
|
+
});
|
850
|
+
__proto.show = function() {
|
851
|
+
this._el.show();
|
852
|
+
};
|
853
|
+
__proto.hide = function() {
|
854
|
+
this._el.hide();
|
855
|
+
};
|
856
|
+
return ReactElementProvider2;
|
857
|
+
}();
|
858
|
+
var Flicking2 = /* @__PURE__ */ function(_super) {
|
859
|
+
__extends(Flicking3, _super);
|
860
|
+
function Flicking3() {
|
861
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
862
|
+
_this._panels = [];
|
863
|
+
_this._renderEmitter = new component_esm_default();
|
864
|
+
return _this;
|
865
|
+
}
|
866
|
+
var __proto = Flicking3.prototype;
|
867
|
+
Object.defineProperty(__proto, "reactPanels", {
|
868
|
+
get: function() {
|
869
|
+
return this._panels.map(function(panel) {
|
870
|
+
return panel.current;
|
871
|
+
});
|
872
|
+
},
|
873
|
+
enumerable: false,
|
874
|
+
configurable: true
|
875
|
+
});
|
876
|
+
Object.defineProperty(__proto, "renderEmitter", {
|
877
|
+
get: function() {
|
878
|
+
return this._renderEmitter;
|
879
|
+
},
|
880
|
+
enumerable: false,
|
881
|
+
configurable: true
|
882
|
+
});
|
883
|
+
__proto.componentDidMount = function() {
|
884
|
+
var props = this.props;
|
885
|
+
var rendererOptions = {
|
886
|
+
reactFlicking: this,
|
887
|
+
strategy: props.virtual && props.panelsPerView > 0 ? new VirtualRenderingStrategy() : new NormalRenderingStrategy({
|
888
|
+
providerCtor: ReactElementProvider,
|
889
|
+
panelCtor: ExternalPanel
|
890
|
+
})
|
891
|
+
};
|
892
|
+
var flicking = new Flicking(this._viewportElement, __assign(__assign({}, props), {
|
893
|
+
renderExternal: {
|
894
|
+
renderer: ReactRenderer,
|
895
|
+
rendererOptions
|
896
|
+
}
|
897
|
+
}));
|
898
|
+
this._vanillaFlicking = flicking;
|
899
|
+
var children = this._getChildren();
|
900
|
+
this._jsxDiffer = new list_differ_esm_default(children, function(panel) {
|
901
|
+
return panel.key;
|
902
|
+
});
|
903
|
+
this._pluginsDiffer = new list_differ_esm_default();
|
904
|
+
this._bindEvents();
|
905
|
+
this._checkPlugins();
|
906
|
+
if (props.status) {
|
907
|
+
flicking.setStatus(props.status);
|
908
|
+
}
|
909
|
+
};
|
910
|
+
__proto.componentWillUnmount = function() {
|
911
|
+
var _a;
|
912
|
+
(_a = this._vanillaFlicking) === null || _a === void 0 ? void 0 : _a.destroy();
|
913
|
+
};
|
914
|
+
__proto.componentDidUpdate = function() {
|
915
|
+
var flicking = this._vanillaFlicking;
|
916
|
+
var diffResult = this._diffResult;
|
917
|
+
this._checkPlugins();
|
918
|
+
this._renderEmitter.trigger("render");
|
919
|
+
if (!diffResult || !flicking.initialized)
|
920
|
+
return;
|
921
|
+
sync(flicking, diffResult, this.reactPanels);
|
922
|
+
if (diffResult.added.length > 0 || diffResult.removed.length > 0) {
|
923
|
+
this.forceUpdate();
|
139
924
|
}
|
925
|
+
this._diffResult = null;
|
926
|
+
};
|
927
|
+
__proto.render = function() {
|
928
|
+
var _this = this;
|
929
|
+
var _a, _b, _c, _d;
|
930
|
+
var props = this.props;
|
931
|
+
var Viewport = props.viewportTag;
|
932
|
+
var Camera = props.cameraTag;
|
933
|
+
var attributes = {};
|
934
|
+
var flicking = this._vanillaFlicking;
|
935
|
+
var children = this._getChildren(props.children);
|
936
|
+
var diffResult = (_b = (_a = this._jsxDiffer) === null || _a === void 0 ? void 0 : _a.update(children)) !== null && _b !== void 0 ? _b : null;
|
937
|
+
this._panels = this._createPanelRefs(props, children);
|
938
|
+
this._diffResult = diffResult;
|
939
|
+
for (var name in props) {
|
940
|
+
if (!(name in DEFAULT_PROPS) && !(name in Flicking.prototype)) {
|
941
|
+
attributes[name] = props[name];
|
942
|
+
}
|
943
|
+
}
|
944
|
+
var initialized = !!this._diffResult && flicking && flicking.initialized;
|
945
|
+
var viewportClasses = ["flicking-viewport"];
|
946
|
+
var isHorizontal = flicking ? flicking.horizontal : (_c = props.horizontal) !== null && _c !== void 0 ? _c : true;
|
947
|
+
if (!isHorizontal) {
|
948
|
+
viewportClasses.push("vertical");
|
949
|
+
}
|
950
|
+
if (props.hideBeforeInit && !initialized) {
|
951
|
+
viewportClasses.push("flicking-hidden");
|
952
|
+
}
|
953
|
+
if (attributes.className) {
|
954
|
+
viewportClasses.push(attributes.className);
|
955
|
+
}
|
956
|
+
var cameraProps = !initialized && props.firstPanelSize ? {
|
957
|
+
style: {
|
958
|
+
transform: getDefaultCameraTransform(this.props.align, this.props.horizontal, this.props.firstPanelSize)
|
959
|
+
}
|
960
|
+
} : {};
|
961
|
+
var panels = !!props.virtual && ((_d = props.panelsPerView) !== null && _d !== void 0 ? _d : -1) > 0 ? this._getVirtualPanels(initialized) : this._getPanels(initialized);
|
962
|
+
return createElement(Viewport, __assign({}, attributes, {
|
963
|
+
className: viewportClasses.join(" "),
|
964
|
+
ref: function(e) {
|
965
|
+
e && (_this._viewportElement = e);
|
966
|
+
}
|
967
|
+
}), createElement(Camera, __assign({
|
968
|
+
className: "flicking-camera"
|
969
|
+
}, cameraProps), panels), this._getViewportSlot());
|
970
|
+
};
|
971
|
+
__proto._createPanelRefs = function(props, children) {
|
972
|
+
var _a;
|
973
|
+
var panelsPerView = (_a = props.panelsPerView) !== null && _a !== void 0 ? _a : -1;
|
974
|
+
return panelsPerView > 0 && !!props.virtual ? range(panelsPerView + 1).map(function() {
|
975
|
+
return createRef();
|
976
|
+
}) : children.map(function() {
|
977
|
+
return createRef();
|
978
|
+
});
|
979
|
+
};
|
980
|
+
__proto._bindEvents = function() {
|
981
|
+
var _this = this;
|
982
|
+
var flicking = this._vanillaFlicking;
|
983
|
+
var props = this.props;
|
984
|
+
Object.keys(EVENTS).forEach(function(eventKey) {
|
985
|
+
var eventName = EVENTS[eventKey];
|
986
|
+
var propName = "on" + (eventName.charAt(0).toUpperCase() + eventName.slice(1));
|
987
|
+
flicking.on(eventName, function(e) {
|
988
|
+
e.currentTarget = _this;
|
989
|
+
props[propName](e);
|
990
|
+
});
|
991
|
+
});
|
992
|
+
flicking.once(EVENTS.READY, function() {
|
993
|
+
_this.forceUpdate();
|
994
|
+
});
|
995
|
+
};
|
996
|
+
__proto._checkPlugins = function() {
|
997
|
+
var flicking = this._vanillaFlicking;
|
998
|
+
var _a = this._pluginsDiffer.update(this.props.plugins), list = _a.list, added = _a.added, removed = _a.removed, prevList = _a.prevList;
|
999
|
+
flicking.addPlugins.apply(flicking, added.map(function(index) {
|
1000
|
+
return list[index];
|
1001
|
+
}));
|
1002
|
+
flicking.removePlugins.apply(flicking, removed.map(function(index) {
|
1003
|
+
return prevList[index];
|
1004
|
+
}));
|
1005
|
+
};
|
1006
|
+
__proto._getChildren = function(children) {
|
1007
|
+
var _this = this;
|
1008
|
+
if (children === void 0) {
|
1009
|
+
children = this.props.children;
|
1010
|
+
}
|
1011
|
+
return Children.toArray(children).filter(function(child) {
|
1012
|
+
return child.type !== ViewportSlot;
|
1013
|
+
}).reduce(function(all, child) {
|
1014
|
+
return __spreadArray(__spreadArray([], all, true), _this._unpackFragment(child), true);
|
1015
|
+
}, []);
|
1016
|
+
};
|
1017
|
+
__proto._getViewportSlot = function() {
|
1018
|
+
return Children.toArray(this.props.children).filter(function(child) {
|
1019
|
+
return child.type === ViewportSlot;
|
1020
|
+
});
|
1021
|
+
};
|
1022
|
+
__proto._unpackFragment = function(child) {
|
1023
|
+
var _this = this;
|
1024
|
+
return (0, import_react_is.isFragment)(child) ? Children.toArray(child.props.children).reduce(function(allChilds, fragChild) {
|
1025
|
+
return __spreadArray(__spreadArray([], allChilds, true), _this._unpackFragment(fragChild), true);
|
1026
|
+
}, []) : [child];
|
1027
|
+
};
|
1028
|
+
__proto._getVirtualPanels = function(initialized) {
|
1029
|
+
var _this = this;
|
1030
|
+
var _a = this.props.virtual.panelClass, panelClass = _a === void 0 ? "flicking-panel" : _a;
|
1031
|
+
var panelsPerView = this.props.panelsPerView;
|
1032
|
+
var flicking = this._vanillaFlicking;
|
1033
|
+
var renderingIndexes = initialized ? flicking.renderer.strategy.getRenderingIndexesByOrder(flicking) : range(panelsPerView + 1);
|
1034
|
+
var firstPanel = flicking && flicking.panels[0];
|
1035
|
+
var size = firstPanel ? flicking.horizontal ? {
|
1036
|
+
width: firstPanel.size
|
1037
|
+
} : {
|
1038
|
+
height: firstPanel.size
|
1039
|
+
} : {};
|
1040
|
+
return renderingIndexes.map(function(idx) {
|
1041
|
+
return createElement("div", {
|
1042
|
+
key: idx,
|
1043
|
+
"data-element-index": idx,
|
1044
|
+
ref: _this._panels[idx],
|
1045
|
+
className: panelClass,
|
1046
|
+
style: size
|
1047
|
+
});
|
1048
|
+
});
|
1049
|
+
};
|
1050
|
+
__proto._getPanels = function(initialized) {
|
1051
|
+
var _this = this;
|
1052
|
+
var children = initialized ? getRenderingPanels(this._vanillaFlicking, this._diffResult) : this._getChildren();
|
1053
|
+
return this.props.useFindDOMNode ? children.map(function(child, idx) {
|
1054
|
+
return createElement(NonStrictPanel, {
|
1055
|
+
key: child.key,
|
1056
|
+
ref: _this._panels[idx]
|
1057
|
+
}, child);
|
1058
|
+
}) : children.map(function(child, idx) {
|
1059
|
+
return createElement(StrictPanel, {
|
1060
|
+
key: child.key,
|
1061
|
+
ref: _this._panels[idx]
|
1062
|
+
}, child);
|
1063
|
+
});
|
1064
|
+
};
|
1065
|
+
Flicking3.defaultProps = DEFAULT_PROPS;
|
1066
|
+
__decorate([withFlickingMethods], Flicking3.prototype, "_vanillaFlicking", void 0);
|
1067
|
+
return Flicking3;
|
1068
|
+
}(PureComponent);
|
140
1069
|
|
141
|
-
|
142
|
-
|
1070
|
+
// libs/shared/ui-system/src/lib/Slider/Slider.tsx
|
1071
|
+
import { getPaddedResponsiveArray } from "../../core/index.js";
|
1072
|
+
import { Box } from "../../private/Box/index.js";
|
1073
|
+
import { usePageControl } from "./hooks/usePageControl.js";
|
1074
|
+
import AutoPlay from "./plugins/AutoPlay.js";
|
1075
|
+
import { withSliderVariation } from "./variants.js";
|
1076
|
+
var Slider = withSliderVariation(forwardRef(({
|
1077
|
+
children,
|
1078
|
+
web_syncRef: syncRef,
|
1079
|
+
panelWidth,
|
1080
|
+
spacing,
|
1081
|
+
initial = 0,
|
1082
|
+
autoPlay = false,
|
1083
|
+
autoPlayDurationMs,
|
1084
|
+
loop = false,
|
1085
|
+
align,
|
1086
|
+
moveType,
|
1087
|
+
controls = true,
|
1088
|
+
offsetPaddingX,
|
1089
|
+
offsetMarginX
|
1090
|
+
}, forwardedRef) => {
|
1091
|
+
const ref = useRef(null);
|
1092
|
+
const { breakpoints } = useTheme();
|
1093
|
+
const plugins = useMemo(() => autoPlay ? [new AutoPlay({ duration: autoPlayDurationMs })] : [], [
|
1094
|
+
autoPlay,
|
1095
|
+
autoPlayDurationMs
|
1096
|
+
]);
|
1097
|
+
const controlsArray = getPaddedResponsiveArray(breakpoints, controls);
|
1098
|
+
const handleMoveStart = useCallback((event) => {
|
1099
|
+
if (!event.isTrusted || controlsArray.every((value) => value)) {
|
1100
|
+
return;
|
143
1101
|
}
|
1102
|
+
if (controlsArray.every((value) => !value)) {
|
1103
|
+
event.stop();
|
1104
|
+
return;
|
1105
|
+
}
|
1106
|
+
const breakpointIndex = breakpoints.findIndex((breakpoint) => parseInt(breakpoint, 10) > window.innerWidth);
|
1107
|
+
if (!controlsArray[breakpointIndex]) {
|
1108
|
+
event.stop();
|
1109
|
+
}
|
1110
|
+
}, [breakpoints, controlsArray]);
|
1111
|
+
const {
|
1112
|
+
focusToSlide,
|
1113
|
+
moveToSlide,
|
1114
|
+
moveToPrevSlide,
|
1115
|
+
moveToNextSlide,
|
1116
|
+
moveToPrevPage,
|
1117
|
+
moveToNextPage
|
1118
|
+
} = usePageControl({
|
1119
|
+
sliderRef: ref,
|
1120
|
+
loop
|
1121
|
+
});
|
1122
|
+
useImperativeHandle(forwardedRef, () => ({
|
1123
|
+
focusToSlide,
|
1124
|
+
moveToSlide,
|
1125
|
+
moveToPrevSlide,
|
1126
|
+
moveToNextSlide,
|
1127
|
+
moveToPrevPage,
|
1128
|
+
moveToNextPage,
|
1129
|
+
getCurrentIndex: () => {
|
1130
|
+
var _a, _b, _c, _d;
|
1131
|
+
return (_d = ((_a = ref.current) == null ? void 0 : _a.index) === -1 ? (_b = ref.current) == null ? void 0 : _b.defaultIndex : (_c = ref.current) == null ? void 0 : _c.index) != null ? _d : 0;
|
1132
|
+
},
|
1133
|
+
addEventListener: (eventName, handler) => {
|
1134
|
+
var _a;
|
1135
|
+
(_a = ref.current) == null ? void 0 : _a.on(eventName, handler);
|
1136
|
+
},
|
1137
|
+
removeEventListener: (eventName, handler) => {
|
1138
|
+
var _a;
|
1139
|
+
(_a = ref.current) == null ? void 0 : _a.off(eventName, handler);
|
1140
|
+
}
|
1141
|
+
}), [focusToSlide, moveToNextPage, moveToNextSlide, moveToPrevPage, moveToPrevSlide, moveToSlide]);
|
1142
|
+
useEffect(() => {
|
1143
|
+
var _a;
|
1144
|
+
(_a = syncRef == null ? void 0 : syncRef.current) == null ? void 0 : _a.addEventListener("indexChange", focusToSlide);
|
1145
|
+
return () => {
|
1146
|
+
var _a2;
|
1147
|
+
(_a2 = syncRef == null ? void 0 : syncRef.current) == null ? void 0 : _a2.removeEventListener("indexChange", focusToSlide);
|
1148
|
+
};
|
1149
|
+
}, [focusToSlide, syncRef]);
|
1150
|
+
useEffect(() => {
|
1151
|
+
var _a;
|
1152
|
+
(_a = ref.current) == null ? void 0 : _a.on("moveStart", handleMoveStart);
|
1153
|
+
return () => {
|
1154
|
+
var _a2;
|
1155
|
+
(_a2 = ref.current) == null ? void 0 : _a2.off("moveStart", handleMoveStart);
|
1156
|
+
};
|
1157
|
+
}, [handleMoveStart]);
|
1158
|
+
return /* @__PURE__ */ React.createElement(Box, {
|
1159
|
+
overflowX: "hidden",
|
1160
|
+
px: offsetPaddingX,
|
1161
|
+
mx: offsetMarginX
|
1162
|
+
}, /* @__PURE__ */ React.createElement(StyledFlicking, {
|
1163
|
+
ref,
|
1164
|
+
align,
|
1165
|
+
bound: true,
|
1166
|
+
noPanelStyleOverride: true,
|
1167
|
+
inputType: ["touch", "mouse", "pointer"],
|
1168
|
+
renderOnlyVisible: true,
|
1169
|
+
autoResize: true,
|
1170
|
+
plugins,
|
1171
|
+
defaultIndex: initial,
|
1172
|
+
circular: loop,
|
1173
|
+
moveType,
|
1174
|
+
interruptable: false,
|
1175
|
+
onWillChange: ({ index }) => {
|
1176
|
+
var _a;
|
1177
|
+
return (_a = ref.current) == null ? void 0 : _a.trigger("indexChange", index);
|
1178
|
+
},
|
1179
|
+
onSelect: ({ index }) => {
|
1180
|
+
var _a;
|
1181
|
+
return (_a = syncRef == null ? void 0 : syncRef.current) == null ? void 0 : _a.moveToSlide(index);
|
1182
|
+
}
|
1183
|
+
}, Children2.toArray(children).map((child, index) => isValidElement(child) && /* @__PURE__ */ React.createElement(Box, __spreadValues({
|
1184
|
+
key: index,
|
1185
|
+
width: panelWidth
|
1186
|
+
}, index > 0 && { ml: spacing }), child))));
|
1187
|
+
}));
|
1188
|
+
var StyledFlicking = emotion_styled_browser_esm_default(Flicking2)`
|
1189
|
+
.flicking-viewport {
|
1190
|
+
position: relative;
|
1191
|
+
overflow: visible;
|
1192
|
+
}
|
1193
|
+
.flicking-camera {
|
1194
|
+
width: 100%;
|
1195
|
+
height: 100%;
|
1196
|
+
display: -webkit-box;
|
1197
|
+
display: -ms-flexbox;
|
1198
|
+
display: flex;
|
1199
|
+
position: relative;
|
1200
|
+
-webkit-box-orient: horizontal;
|
1201
|
+
-webkit-box-direction: normal;
|
1202
|
+
-ms-flex-direction: row;
|
1203
|
+
flex-direction: row;
|
1204
|
+
z-index: 1;
|
1205
|
+
}
|
1206
|
+
.flicking-camera > * {
|
1207
|
+
-ms-flex-negative: 0;
|
1208
|
+
flex-shrink: 0;
|
1209
|
+
}
|
1210
|
+
.flicking-viewport.vertical {
|
1211
|
+
display: -webkit-inline-box;
|
1212
|
+
display: -ms-inline-flexbox;
|
1213
|
+
display: inline-flex;
|
1214
|
+
}
|
1215
|
+
.flicking-viewport.vertical > .flicking-camera {
|
1216
|
+
display: -webkit-inline-box;
|
1217
|
+
display: -ms-inline-flexbox;
|
1218
|
+
display: inline-flex;
|
1219
|
+
-webkit-box-orient: vertical;
|
1220
|
+
-webkit-box-direction: normal;
|
1221
|
+
-ms-flex-direction: column;
|
1222
|
+
flex-direction: column;
|
1223
|
+
}
|
1224
|
+
.flicking-viewport.flicking-hidden .flicking-camera > * {
|
1225
|
+
visibility: hidden;
|
144
1226
|
}
|
145
1227
|
`;
|
146
1228
|
export {
|
147
1229
|
Slider
|
148
1230
|
};
|
1231
|
+
/*! *****************************************************************************
|
1232
|
+
Copyright (c) Microsoft Corporation.
|
1233
|
+
|
1234
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
1235
|
+
purpose with or without fee is hereby granted.
|
1236
|
+
|
1237
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
1238
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
1239
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
1240
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
1241
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
1242
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
1243
|
+
PERFORMANCE OF THIS SOFTWARE.
|
1244
|
+
***************************************************************************** */
|
1245
|
+
/** @license React v17.0.2
|
1246
|
+
* react-is.development.js
|
1247
|
+
*
|
1248
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
1249
|
+
*
|
1250
|
+
* This source code is licensed under the MIT license found in the
|
1251
|
+
* LICENSE file in the root directory of this source tree.
|
1252
|
+
*/
|