@pfct/purple 1.5.0-npm-next.5 → 1.5.0-npm-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/chunks/clsx.C11secjj.js +1 -0
- package/dist/chunks/clsx.OuTLNxxd.js +16 -0
- package/dist/chunks/index.6ZBAQokh.js +82 -0
- package/dist/chunks/index.BhKv87PH.js +1 -0
- package/dist/chunks/index.BqdzwVah.js +1 -0
- package/dist/chunks/index.CIq9yakG.js +243 -0
- package/dist/chunks/index.CKKuhuuw.js +1 -0
- package/dist/chunks/index.CKdg_c8_.js +1540 -0
- package/dist/chunks/index.CQiaoKjj.js +27 -0
- package/dist/chunks/index.CRSD6wuV.js +227 -0
- package/dist/chunks/index.Ca2_YDeQ.js +1 -0
- package/dist/chunks/{index.LN3KW-I4.js → index.Cc-miKAT.js} +1 -1
- package/dist/chunks/index.Cg0AsUJe.js +340 -0
- package/dist/chunks/index.CiFVe164.js +152 -0
- package/dist/chunks/{index.styled.BYNpitkL.js → index.CqzduzUN.js} +287 -348
- package/dist/chunks/index.CzX283JL.js +1 -0
- package/dist/chunks/index.D2jUN9AV.js +1 -0
- package/dist/chunks/index.DMhXgOEz.js +1 -0
- package/dist/chunks/index.DYkYoCrb.js +13 -0
- package/dist/chunks/index.Dh7jK0Mq.js +777 -0
- package/dist/chunks/index.Ibth5ADB.js +675 -0
- package/dist/chunks/index.Tc55yzvH.js +5 -0
- package/dist/chunks/index.cLNSO_n0.js +41 -0
- package/dist/chunks/index.mFaQzo4n.js +1 -0
- package/dist/chunks/jsx-runtime.CrDL12FN.js +22 -0
- package/dist/chunks/jsx-runtime.OVHDjVDe.js +284 -0
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.es.js +245 -682
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +10 -10
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.d.ts +3 -3
- package/dist/components/Badge/BaseBadge/index.styled.es.js +2 -2
- package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
- package/dist/components/Badge/IconBadge/index.es.js +6 -6
- package/dist/components/Badge/IconBadge/index.styled.d.ts +2 -2
- package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
- package/dist/components/Badge/TextBadge/index.es.js +7 -7
- package/dist/components/Badge/TextBadge/index.styled.d.ts +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +24 -26
- package/dist/components/BottomSheet/BaseBottomSheet/index.styled.d.ts +5 -5
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +2 -2
- package/dist/components/BottomSheet/NavBottomSheet/index.styled.d.ts +2 -2
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +3 -3
- package/dist/components/BottomSheet/TitleBottomSheet/index.styled.d.ts +4 -4
- package/dist/components/BottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/index.es.js +1 -1
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +5 -5
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +2 -2
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +12 -12
- package/dist/components/Button/FloatBaseButton/index.styled.d.ts +12 -12
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +11 -11
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +12 -12
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +4 -4
- package/dist/components/Button/TestButton/index.cjs.js +1 -1
- package/dist/components/Button/TestButton/index.es.js +2 -2
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.es.js +1 -1
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.es.js +7 -7
- package/dist/components/Card/index.styled.d.ts +2 -2
- package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.es.js +8 -8
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.d.ts +5 -5
- package/dist/components/Chips/BasicChips/index.styled.es.js +2 -2
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +50 -49
- package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.styled.d.ts +2 -2
- package/dist/components/Chips/ChipItem/index.styled.es.js +21 -23
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +25 -25
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.d.ts +5 -5
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +2 -2
- package/dist/components/Comment/Group/index.cjs.js +1 -1
- package/dist/components/Comment/Group/index.es.js +3 -3
- package/dist/components/Comment/Group/index.styled.d.ts +2 -2
- package/dist/components/Comment/Item/index.cjs.js +1 -1
- package/dist/components/Comment/Item/index.es.js +6 -6
- package/dist/components/Comment/Item/index.styled.d.ts +8 -8
- package/dist/components/Comment/index.d.ts +2 -2
- package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
- package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +22 -24
- package/dist/components/Control/CheckMark/index.styled.d.ts +2 -2
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +11 -11
- package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.styled.d.ts +2 -2
- package/dist/components/Control/RadioButton/index.styled.es.js +18 -20
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.es.js +23 -25
- package/dist/components/Control/Switch/index.styled.d.ts +2 -2
- package/dist/components/Control/index.cjs.js +1 -1
- package/dist/components/Control/index.d.ts +2 -1
- package/dist/components/Control/index.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +26 -28
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +27 -29
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +28 -30
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +32 -34
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +28 -30
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.d.ts +10 -10
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +29 -31
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +5 -5
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.d.ts +5 -5
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/Month/index.styled.d.ts +2 -2
- package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/Week/index.styled.d.ts +4 -4
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +22 -22
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.styed.d.ts +6 -6
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +55 -57
- package/dist/components/DatePicker/BaseDatePicker/index.styled.d.ts +2 -2
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +26 -26
- package/dist/components/DatePicker/RangeDatePickerModal/index.styled.d.ts +5 -5
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +24 -26
- package/dist/components/DatePicker/SingleDatePickerModal/index.styled.d.ts +2 -2
- package/dist/components/Divider/index.cjs.js +1 -1
- package/dist/components/Divider/index.es.js +3 -3
- package/dist/components/Divider/index.styled.d.ts +4 -4
- package/dist/components/Input/BaseInput/index.cjs.js +1 -1
- package/dist/components/Input/BaseInput/index.es.js +39 -39
- package/dist/components/Input/BaseInput/index.styled.d.ts +2 -2
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +39 -41
- package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.es.js +60 -60
- package/dist/components/Input/PostfixInput/index.styled.d.ts +5 -5
- package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.util.es.js +21 -23
- package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
- package/dist/components/Input/ResidentNumberInput/index.es.js +73 -73
- package/dist/components/Input/ResidentNumberInput/index.styled.d.ts +8 -8
- package/dist/components/Input/TextField/index.cjs.js +1 -1
- package/dist/components/Input/TextField/index.es.js +46 -46
- package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
- package/dist/components/Input/common/InputFrame/index.es.js +17 -17
- package/dist/components/Input/common/InputFrame/index.styled.d.ts +3 -3
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +31 -33
- package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -0
- package/dist/components/LegacyModal/BaseModal/index.es.js +8 -0
- package/dist/components/LegacyModal/BaseModal/index.styled.d.ts +6 -0
- package/dist/components/LegacyModal/index.cjs.js +1 -0
- package/dist/components/LegacyModal/index.d.ts +31 -0
- package/dist/components/LegacyModal/index.es.js +9 -0
- package/dist/components/LegacyModal/index.styled.cjs.js +42 -0
- package/dist/components/LegacyModal/index.styled.d.ts +29 -0
- package/dist/components/LegacyModal/index.styled.es.js +56 -0
- package/dist/components/List/index.cjs.js +1 -1
- package/dist/components/List/index.es.js +10 -10
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +7 -7
- package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.styled.d.ts +4 -4
- package/dist/components/Loading/ProgressBar/index.styled.es.js +19 -21
- package/dist/components/Loading/Skeleton/SkeletonLayout/index.cjs.js +1 -1
- package/dist/components/Loading/Skeleton/SkeletonLayout/index.es.js +3 -3
- package/dist/components/Loading/Skeleton/SkeletonLayout/index.styled.d.ts +4 -4
- package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
- package/dist/components/Loading/Skeleton/index.es.js +10 -10
- package/dist/components/Loading/Skeleton/index.styled.d.ts +6 -6
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +2 -2
- package/dist/components/Loading/Spinner/index.styled.d.ts +2 -2
- package/dist/components/Loading/index.cjs.js +1 -1
- package/dist/components/Loading/index.es.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
- package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.d.ts +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.es.js +30 -27
- package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +43 -40
- package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
- package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
- package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
- package/dist/components/MiniButton/common/index.styled.d.ts +1 -1
- package/dist/components/MiniButton/common/index.styled.es.js +20 -22
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.d.ts +14 -27
- package/dist/components/Modal/index.es.js +99 -9
- package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
- package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
- package/dist/components/Navigation/BaseNavigation/index.styled.d.ts +8 -8
- package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/BottomNavigationBar/index.es.js +13 -13
- package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.es.js +31 -31
- package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/TitleNavigationBar/index.es.js +20 -20
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +30 -30
- package/dist/components/Navigation/index.styled.d.ts +5 -5
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +18 -20
- package/dist/components/OverlayRoot/index.styled.d.ts +1 -1
- package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
- package/dist/components/Segment/BaseSegment/index.es.js +14 -14
- package/dist/components/Segment/BaseSegment/index.styled.d.ts +10 -10
- package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
- package/dist/components/Segment/ExtendSegment/index.es.js +19 -19
- package/dist/components/Segment/ExtendSegment/index.styled.d.ts +12 -12
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +51 -51
- package/dist/components/SelectBox/index.styled.cjs.js +1 -1
- package/dist/components/SelectBox/index.styled.d.ts +8 -8
- package/dist/components/SelectBox/index.styled.es.js +25 -27
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +28 -30
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +34 -36
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +4 -4
- package/dist/components/Tag/index.styled.cjs.js +1 -1
- package/dist/components/Tag/index.styled.d.ts +2 -2
- package/dist/components/Tag/index.styled.es.js +18 -20
- package/dist/components/Terms/index.cjs.js +1 -1
- package/dist/components/Terms/index.es.js +38 -39
- package/dist/components/TextArea/index.cjs.js +1 -0
- package/dist/components/TextArea/index.d.ts +80 -0
- package/dist/components/TextArea/index.es.js +30 -0
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +13 -13
- package/dist/components/Title/index.styled.cjs.js +1 -1
- package/dist/components/Title/index.styled.d.ts +2 -2
- package/dist/components/Title/index.styled.es.js +19 -21
- package/dist/components/Toast/index.cjs.js +1 -0
- package/dist/components/Toast/index.d.ts +5 -0
- package/dist/components/Toast/index.es.js +36 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.es.js +162 -140
- package/dist/components/ui/bottomSheet.cjs.js +13 -13
- package/dist/components/ui/bottomSheet.es.js +97 -97
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.es.js +5 -5
- package/dist/components/ui/checkbox.cjs.js +1 -0
- package/dist/components/ui/checkbox.d.ts +9 -0
- package/dist/components/ui/checkbox.es.js +447 -0
- package/dist/components/ui/dialog.cjs.js +1 -1
- package/dist/components/ui/dialog.es.js +49 -49
- package/dist/components/ui/drawer.cjs.js +2 -2
- package/dist/components/ui/drawer.es.js +218 -218
- package/dist/components/ui/impact-tooltip.cjs.js +1 -0
- package/dist/components/ui/impact-tooltip.d.ts +16 -0
- package/dist/components/ui/impact-tooltip.es.js +329 -0
- package/dist/components/ui/share-ui.cjs.js +1 -1
- package/dist/components/ui/share-ui.d.ts +1 -1
- package/dist/components/ui/share-ui.es.js +34 -34
- package/dist/components/ui/tooltip.cjs.js +1 -0
- package/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip.es.js +385 -0
- package/dist/components/ui/typography.cjs.js +1 -1
- package/dist/components/ui/typography.d.ts +1 -1
- package/dist/components/ui/typography.es.js +5 -5
- package/dist/core/Colors/index.cjs.js +1 -1
- package/dist/core/Colors/index.d.ts +0 -4
- package/dist/core/Colors/index.es.js +4 -8
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +4 -4
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +4 -4
- package/dist/core/Display/index.styled.cjs.js +1 -1
- package/dist/core/Display/index.styled.d.ts +2 -2
- package/dist/core/Display/index.styled.es.js +19 -21
- package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
- package/dist/core/Typography/BaseTypography/index.d.ts +16 -16
- package/dist/core/Typography/BaseTypography/index.es.js +5 -5
- package/dist/core/Typography/index.cjs.js +1 -1
- package/dist/core/Typography/index.es.js +19 -19
- package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
- package/dist/hooks/useLayoutIsMobile.es.js +19 -21
- package/dist/icons/src/aliases/aliases.cjs.js +1 -1
- package/dist/icons/src/aliases/aliases.d.ts +10 -10
- package/dist/icons/src/aliases/aliases.es.js +42 -42
- package/dist/icons/src/aliases/index.cjs.js +1 -1
- package/dist/icons/src/aliases/index.es.js +84 -84
- package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
- package/dist/icons/src/aliases/prefixed.d.ts +12 -12
- package/dist/icons/src/aliases/prefixed.es.js +48 -48
- package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
- package/dist/icons/src/aliases/suffixed.d.ts +15 -15
- package/dist/icons/src/aliases/suffixed.es.js +44 -44
- package/dist/icons/src/icons/Alarm_fill.d.ts +1 -1
- package/dist/icons/src/icons/Calendar.d.ts +1 -1
- package/dist/icons/src/icons/Cancel.d.ts +1 -1
- package/dist/icons/src/icons/Cancel_circle.d.ts +1 -1
- package/dist/icons/src/icons/Cart_fill.d.ts +1 -1
- package/dist/icons/src/icons/Check.d.ts +1 -1
- package/dist/icons/src/icons/Chevron_down.d.ts +1 -1
- package/dist/icons/src/icons/Chevron_left.d.ts +1 -1
- package/dist/icons/src/icons/Chevron_right.d.ts +1 -1
- package/dist/icons/src/icons/Chevron_up.d.ts +1 -1
- package/dist/icons/src/icons/Double_Chevron_left.d.ts +1 -1
- package/dist/icons/src/icons/Double_Chevron_right.d.ts +1 -1
- package/dist/icons/src/icons/Eye_fill.d.ts +1 -1
- package/dist/icons/src/icons/Eye_slash_fill.d.ts +1 -1
- package/dist/icons/src/icons/Filter.d.ts +1 -1
- package/dist/icons/src/icons/Information.d.ts +1 -1
- package/dist/icons/src/icons/Menu.d.ts +1 -1
- package/dist/icons/src/icons/More.d.ts +1 -1
- package/dist/icons/src/icons/Person_fill.d.ts +1 -1
- package/dist/icons/src/icons/Plus.d.ts +1 -1
- package/dist/icons/src/icons/Question_circle.d.ts +1 -1
- package/dist/icons/src/icons/Re.d.ts +1 -1
- package/dist/icons/src/icons/Search.d.ts +1 -1
- package/dist/icons/src/icons/Setting_fill.d.ts +1 -1
- package/dist/icons/src/icons/Share.d.ts +1 -1
- package/dist/icons/src/icons/Store.d.ts +1 -1
- package/dist/icons/src/icons/index.cjs.js +1 -1
- package/dist/icons/src/icons/index.d.ts +12 -12
- package/dist/icons/src/icons/index.es.js +38 -38
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +376 -354
- package/dist/lib/utils.cjs.js +1 -1
- package/dist/lib/utils.es.js +2729 -2
- package/dist/library/BasicForm/index.cjs.js +1 -1
- package/dist/library/BasicForm/index.es.js +11 -11
- package/dist/library/BasicLayout/Body.cjs.js +1 -1
- package/dist/library/BasicLayout/Body.es.js +7 -7
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.d.ts +2 -2
- package/dist/library/BasicLayout/Footer.es.js +81 -80
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.d.ts +21 -21
- package/dist/library/BasicLayout/index.es.js +54 -56
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.d.ts +21 -21
- package/dist/library/BasicLayout/index.styled.es.js +47 -49
- package/dist/library/Flex/index.styled.d.ts +3 -3
- package/dist/library/IconWithImage/index.cjs.js +1 -1
- package/dist/library/IconWithImage/index.es.js +4 -4
- package/dist/library/IconWithImage/index.styled.d.ts +1 -1
- package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
- package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
- package/dist/library/List/BottomSheetItemList/index.styled.d.ts +1 -1
- package/dist/library/Lottie/index.cjs.js +1 -1
- package/dist/library/Lottie/index.es.js +55 -55
- package/dist/library/Lottie/index.styled.d.ts +3 -3
- package/dist/library/Spacing/index.cjs.js +1 -1
- package/dist/library/Spacing/index.es.js +3 -3
- package/dist/library/Spacing/index.styled.d.ts +2 -2
- package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/chip.es.js +2 -2
- package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/index.es.js +8 -8
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +19 -21
- package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +19 -21
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +8 -8
- package/package.json +13 -8
- package/dist/Icon/utils/svgr-cli.template.d.ts +0 -7
- package/dist/chunks/index.B7ToLlZV.js +0 -1242
- package/dist/chunks/index.BUYroSWi.js +0 -1
- package/dist/chunks/index.CycwZAWT.js +0 -67
- package/dist/chunks/index.D2Ren1qk.js +0 -45
- package/dist/chunks/index.DnJQUgiG.js +0 -1
- package/dist/chunks/index.styled.BbkiuKd_.js +0 -398
- package/dist/chunks/utils.B9KdtH6G.js +0 -2493
- package/dist/chunks/utils.Gb5_Gcy7.js +0 -1
- package/dist/components/Control/CheckBox/CheckIcon.cjs.js +0 -1
- package/dist/components/Control/CheckBox/CheckIcon.d.ts +0 -6
- package/dist/components/Control/CheckBox/CheckIcon.es.js +0 -26
- package/dist/components/Control/CheckBox/index.cjs.js +0 -1
- package/dist/components/Control/CheckBox/index.d.ts +0 -12
- package/dist/components/Control/CheckBox/index.es.js +0 -97
- package/dist/components/Control/CheckBox/index.styled.cjs.js +0 -24
- package/dist/components/Control/CheckBox/index.styled.d.ts +0 -18
- package/dist/components/Control/CheckBox/index.styled.es.js +0 -30
- package/dist/components/Modal/BaseModal/index.cjs.js +0 -1
- package/dist/components/Modal/BaseModal/index.es.js +0 -8
- package/dist/components/Modal/BaseModal/index.styled.d.ts +0 -6
- package/dist/components/Modal/index.styled.cjs.js +0 -35
- package/dist/components/Modal/index.styled.d.ts +0 -26
- package/dist/components/Modal/index.styled.es.js +0 -47
- package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +0 -1
- package/dist/components/ToastMessage/BaseToastMessage/index.d.ts +0 -13
- package/dist/components/ToastMessage/BaseToastMessage/index.es.js +0 -25
- package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +0 -1
- package/dist/components/ToastMessage/BaseToastMessage/index.styled.d.ts +0 -10
- package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +0 -81
- package/dist/components/ToastMessage/Toast/index.cjs.js +0 -1
- package/dist/components/ToastMessage/Toast/index.d.ts +0 -13
- package/dist/components/ToastMessage/Toast/index.es.js +0 -32
- package/dist/components/ToastMessage/Toast/index.styled.cjs.js +0 -13
- package/dist/components/ToastMessage/Toast/index.styled.d.ts +0 -8
- package/dist/components/ToastMessage/Toast/index.styled.es.js +0 -18
- package/dist/components/ToastMessage/index.cjs.js +0 -1
- package/dist/components/ToastMessage/index.d.ts +0 -1
- package/dist/components/ToastMessage/index.es.js +0 -4
- package/dist/components/Tooltip/BasicTooltip/index.cjs.js +0 -1
- package/dist/components/Tooltip/BasicTooltip/index.d.ts +0 -5
- package/dist/components/Tooltip/BasicTooltip/index.es.js +0 -6
- package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +0 -1
- package/dist/components/Tooltip/ImpactTooltip/index.d.ts +0 -7
- package/dist/components/Tooltip/ImpactTooltip/index.es.js +0 -23
- package/dist/components/Tooltip/TooltipBase/index.cjs.js +0 -8
- package/dist/components/Tooltip/TooltipBase/index.d.ts +0 -18
- package/dist/components/Tooltip/TooltipBase/index.es.js +0 -146
- package/dist/components/Tooltip/TooltipBase/index.styled.cjs.js +0 -107
- package/dist/components/Tooltip/TooltipBase/index.styled.d.ts +0 -22
- package/dist/components/Tooltip/TooltipBase/index.styled.es.js +0 -2006
- package/dist/components/Tooltip/index.cjs.js +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -6
- package/dist/components/Tooltip/index.es.js +0 -6
- /package/dist/components/{Modal → LegacyModal}/BaseModal/index.d.ts +0 -0
- /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.cjs.js +0 -0
- /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.es.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../chunks/jsx-runtime.CrDL12FN.js"),z=require("react"),p=require("../../chunks/index.BhKv87PH.js"),E=require("../../chunks/index.CKKuhuuw.js"),A=require("../../chunks/index.Ca2_YDeQ.js"),h=require("../../chunks/index.cLNSO_n0.js"),V=require("../../chunks/index.mFaQzo4n.js"),v=require("../../chunks/index.BqdzwVah.js"),L=require("../../lib/utils.cjs.js"),O=require("../../chunks/index.DMhXgOEz.js");require("../../icons/src/icons/Alarm_fill.cjs.js");const G=require("../../icons/src/icons/Cancel.cjs.js");require("../../icons/src/icons/Cancel_circle.cjs.js");require("../../icons/src/icons/Calendar.cjs.js");require("../../icons/src/icons/Cart_fill.cjs.js");require("../../icons/src/icons/Check.cjs.js");require("../../icons/src/icons/Chevron_down.cjs.js");require("../../icons/src/icons/Chevron_left.cjs.js");require("../../icons/src/icons/Chevron_right.cjs.js");require("../../icons/src/icons/Chevron_up.cjs.js");require("../../icons/src/icons/Double_Chevron_right.cjs.js");require("../../icons/src/icons/Double_Chevron_left.cjs.js");require("../../icons/src/icons/Eye_fill.cjs.js");require("../../icons/src/icons/Eye_slash_fill.cjs.js");require("../../icons/src/icons/Filter.cjs.js");require("../../icons/src/icons/Information.cjs.js");require("../../icons/src/icons/Menu.cjs.js");require("../../icons/src/icons/More.cjs.js");require("../../icons/src/icons/Person_fill.cjs.js");require("../../icons/src/icons/Plus.cjs.js");require("../../icons/src/icons/Question_circle.cjs.js");require("../../icons/src/icons/Re.cjs.js");require("../../icons/src/icons/Search.cjs.js");require("../../icons/src/icons/Setting_fill.cjs.js");require("../../icons/src/icons/Store.cjs.js");require("../../icons/src/icons/Share.cjs.js");function B(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const u=B(z);var j="Popover",[q,de]=p.createContextScope(j,[v.createPopperScope]),g=v.createPopperScope(),[K,x]=q(j),y=e=>{const{__scopePopover:t,children:o,open:i,defaultOpen:r,onOpenChange:n,modal:a=!1}=e,c=g(t),l=u.useRef(null),[d,P]=u.useState(!1),[R,f]=p.useControllableState({prop:i,defaultProp:r??!1,onChange:n,caller:j});return s.jsxRuntimeExports.jsx(v.Root2,{...c,children:s.jsxRuntimeExports.jsx(K,{scope:t,contentId:V.useId(),triggerRef:l,open:R,onOpenChange:f,onOpenToggle:u.useCallback(()=>f(C=>!C),[f]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>P(!0),[]),onCustomAnchorRemove:u.useCallback(()=>P(!1),[]),modal:a,children:o})})};y.displayName=j;var _="PopoverAnchor",T=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=x(_,o),n=g(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:c}=r;return u.useEffect(()=>(a(),()=>c()),[a,c]),s.jsxRuntimeExports.jsx(v.Anchor,{...n,...i,ref:t})});T.displayName=_;var w="PopoverTrigger",S=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=x(w,o),n=g(o),a=E.useComposedRefs(t,r.triggerRef),c=s.jsxRuntimeExports.jsx(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":H(r.open),...i,ref:a,onClick:p.composeEventHandlers(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?c:s.jsxRuntimeExports.jsx(v.Anchor,{asChild:!0,...n,children:c})});S.displayName=w;var b="PopoverPortal",[U,W]=q(b,{forceMount:void 0}),I=e=>{const{__scopePopover:t,forceMount:o,children:i,container:r}=e,n=x(b,t);return s.jsxRuntimeExports.jsx(U,{scope:t,forceMount:o,children:s.jsxRuntimeExports.jsx(p.Presence,{present:o||n.open,children:s.jsxRuntimeExports.jsx(A.Portal,{asChild:!0,container:r,children:i})})})};I.displayName=b;var m="PopoverContent",N=u.forwardRef((e,t)=>{const o=W(m,e.__scopePopover),{forceMount:i=o.forceMount,...r}=e,n=x(m,e.__scopePopover);return s.jsxRuntimeExports.jsx(p.Presence,{present:i||n.open,children:n.modal?s.jsxRuntimeExports.jsx(J,{...r,ref:t}):s.jsxRuntimeExports.jsx(Q,{...r,ref:t})})});N.displayName=m;var Z=E.createSlot("PopoverContent.RemoveScroll"),J=u.forwardRef((e,t)=>{const o=x(m,e.__scopePopover),i=u.useRef(null),r=E.useComposedRefs(t,i),n=u.useRef(!1);return u.useEffect(()=>{const a=i.current;if(a)return h.hideOthers(a)},[]),s.jsxRuntimeExports.jsx(h.ReactRemoveScroll,{as:Z,allowPinchZoom:!0,children:s.jsxRuntimeExports.jsx(F,{...e,ref:r,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),n.current||(c=o.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,d=c.button===2||l;n.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),Q=u.forwardRef((e,t)=>{const o=x(m,e.__scopePopover),i=u.useRef(!1),r=u.useRef(!1);return s.jsxRuntimeExports.jsx(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var a,c;(a=e.onCloseAutoFocus)==null||a.call(e,n),n.defaultPrevented||(i.current||(c=o.triggerRef.current)==null||c.focus(),n.preventDefault()),i.current=!1,r.current=!1},onInteractOutside:n=>{var l,d;(l=e.onInteractOutside)==null||l.call(e,n),n.defaultPrevented||(i.current=!0,n.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const a=n.target;((d=o.triggerRef.current)==null?void 0:d.contains(a))&&n.preventDefault(),n.detail.originalEvent.type==="focusin"&&r.current&&n.preventDefault()}})}),F=u.forwardRef((e,t)=>{const{__scopePopover:o,trapFocus:i,onOpenAutoFocus:r,onCloseAutoFocus:n,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:P,...R}=e,f=x(m,o),C=g(o);return h.useFocusGuards(),s.jsxRuntimeExports.jsx(h.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:r,onUnmountAutoFocus:n,children:s.jsxRuntimeExports.jsx(A.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:P,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>f.onOpenChange(!1),children:s.jsxRuntimeExports.jsx(v.Content,{"data-state":H(f.open),role:"dialog",id:f.contentId,...C,...R,ref:t,style:{...R.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",M=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=x(k,o);return s.jsxRuntimeExports.jsx(p.Primitive.button,{type:"button",...i,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>r.onOpenChange(!1))})});M.displayName=k;var X="PopoverArrow",D=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=g(o);return s.jsxRuntimeExports.jsx(v.Arrow,{...r,...i,ref:t})});D.displayName=X;function H(e){return e?"open":"closed"}var Y=y,ee=T,oe=S,te=I,re=N,ne=M,se=D;const ie=O.cva("z-50 overflow-hidden rounded-[8px] px-[15px] py-[12.5px] animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border-0 typo-b2",{variants:{color:{pink:"bg-pink-400 text-gray-25",blue:"bg-blue-400 text-gray-25",gray:"bg-gray-700 text-gray-25",lime:"bg-lime-400 text-gray-25"}},defaultVariants:{color:"gray"}}),ae=O.cva("-my-px border-none",{variants:{color:{pink:"fill-pink-400",gray:"fill-gray-700",blue:"fill-blue-400",lime:"fill-lime-400"}},defaultVariants:{color:"gray"}});function ce({defaultOpen:e=!0,...t}){return s.jsxRuntimeExports.jsx(Y,{"data-slot":"popover",defaultOpen:e,...t})}function ue({...e}){return s.jsxRuntimeExports.jsx(oe,{"data-slot":"popover-trigger",...e})}function pe({color:e,className:t,align:o="center",sideOffset:i=4,collisionPadding:r={left:20,right:20},arrowPadding:n=7,children:a,closeButton:c=!1,...l}){return s.jsxRuntimeExports.jsx(te,{children:s.jsxRuntimeExports.jsxs(re,{"data-slot":"popover-content",align:o,sideOffset:i,collisionPadding:r,className:L.cn(ie({color:e,className:t})),arrowPadding:n,...l,children:[s.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-1.25",children:[a,c&&s.jsxRuntimeExports.jsx($,{asChild:!0,children:s.jsxRuntimeExports.jsx(G.default,{size:15})})]}),s.jsxRuntimeExports.jsx(se,{className:ae({color:e})})]})})}function le({...e}){return s.jsxRuntimeExports.jsx(ee,{"data-slot":"popover-anchor",...e})}function $({...e}){return s.jsxRuntimeExports.jsx(ne,{"data-slot":"popover-close",...e})}exports.ImpactTooltip=ce;exports.ImpactTooltipAnchor=le;exports.ImpactTooltipCloseButton=$;exports.ImpactTooltipContent=pe;exports.ImpactTooltipTrigger=ue;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
|
+
declare const impactTooltipVariants: (props?: ({
|
|
5
|
+
color?: "pink" | "lime" | "blue" | "gray" | null | undefined;
|
|
6
|
+
} & import('../../../node_modules/class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
|
+
declare function ImpactTooltip({ defaultOpen, ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
|
|
8
|
+
declare function ImpactTooltipTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
|
|
9
|
+
type ImpactTooltipContentProps = React.ComponentProps<typeof PopoverPrimitive.Content> & VariantProps<typeof impactTooltipVariants> & {
|
|
10
|
+
closeButton?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function ImpactTooltipContent({ color, className, align, sideOffset, collisionPadding, arrowPadding, children, closeButton, ...props }: ImpactTooltipContentProps): React.JSX.Element;
|
|
13
|
+
declare function ImpactTooltipAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
|
|
14
|
+
declare function ImpactTooltipCloseButton({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Close>): React.JSX.Element;
|
|
15
|
+
export { ImpactTooltip, ImpactTooltipTrigger, ImpactTooltipContent, ImpactTooltipAnchor, ImpactTooltipCloseButton };
|
|
16
|
+
export type { ImpactTooltipContentProps };
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { j as r } from "../../chunks/jsx-runtime.OVHDjVDe.js";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { u as G, c as H, a as A, b as v, P as b } from "../../chunks/index.CRSD6wuV.js";
|
|
4
|
+
import { u as j, c as K } from "../../chunks/index.6ZBAQokh.js";
|
|
5
|
+
import { P as $, D as B } from "../../chunks/index.CiFVe164.js";
|
|
6
|
+
import { h as U, R as W, u as Z, F as q } from "../../chunks/index.Ibth5ADB.js";
|
|
7
|
+
import { u as J } from "../../chunks/index.DYkYoCrb.js";
|
|
8
|
+
import { c as O, R as Q, A as y, a as X, C as Y } from "../../chunks/index.CKdg_c8_.js";
|
|
9
|
+
import { cn as oo } from "../../lib/utils.es.js";
|
|
10
|
+
import { c as _ } from "../../chunks/index.Cc-miKAT.js";
|
|
11
|
+
import "../../icons/src/icons/Alarm_fill.es.js";
|
|
12
|
+
import eo from "../../icons/src/icons/Cancel.es.js";
|
|
13
|
+
import "../../icons/src/icons/Cancel_circle.es.js";
|
|
14
|
+
import "../../icons/src/icons/Calendar.es.js";
|
|
15
|
+
import "../../icons/src/icons/Cart_fill.es.js";
|
|
16
|
+
import "../../icons/src/icons/Check.es.js";
|
|
17
|
+
import "../../icons/src/icons/Chevron_down.es.js";
|
|
18
|
+
import "../../icons/src/icons/Chevron_left.es.js";
|
|
19
|
+
import "../../icons/src/icons/Chevron_right.es.js";
|
|
20
|
+
import "../../icons/src/icons/Chevron_up.es.js";
|
|
21
|
+
import "../../icons/src/icons/Double_Chevron_right.es.js";
|
|
22
|
+
import "../../icons/src/icons/Double_Chevron_left.es.js";
|
|
23
|
+
import "../../icons/src/icons/Eye_fill.es.js";
|
|
24
|
+
import "../../icons/src/icons/Eye_slash_fill.es.js";
|
|
25
|
+
import "../../icons/src/icons/Filter.es.js";
|
|
26
|
+
import "../../icons/src/icons/Information.es.js";
|
|
27
|
+
import "../../icons/src/icons/Menu.es.js";
|
|
28
|
+
import "../../icons/src/icons/More.es.js";
|
|
29
|
+
import "../../icons/src/icons/Person_fill.es.js";
|
|
30
|
+
import "../../icons/src/icons/Plus.es.js";
|
|
31
|
+
import "../../icons/src/icons/Question_circle.es.js";
|
|
32
|
+
import "../../icons/src/icons/Re.es.js";
|
|
33
|
+
import "../../icons/src/icons/Search.es.js";
|
|
34
|
+
import "../../icons/src/icons/Setting_fill.es.js";
|
|
35
|
+
import "../../icons/src/icons/Store.es.js";
|
|
36
|
+
import "../../icons/src/icons/Share.es.js";
|
|
37
|
+
var x = "Popover", [w, ee] = H(x, [
|
|
38
|
+
O
|
|
39
|
+
]), g = O(), [to, d] = w(x), E = (o) => {
|
|
40
|
+
const {
|
|
41
|
+
__scopePopover: a,
|
|
42
|
+
children: n,
|
|
43
|
+
open: s,
|
|
44
|
+
defaultOpen: e,
|
|
45
|
+
onOpenChange: t,
|
|
46
|
+
modal: i = !1
|
|
47
|
+
} = o, c = g(a), l = p.useRef(null), [u, P] = p.useState(!1), [h, f] = G({
|
|
48
|
+
prop: s,
|
|
49
|
+
defaultProp: e ?? !1,
|
|
50
|
+
onChange: t,
|
|
51
|
+
caller: x
|
|
52
|
+
});
|
|
53
|
+
return /* @__PURE__ */ r.jsx(Q, { ...c, children: /* @__PURE__ */ r.jsx(
|
|
54
|
+
to,
|
|
55
|
+
{
|
|
56
|
+
scope: a,
|
|
57
|
+
contentId: J(),
|
|
58
|
+
triggerRef: l,
|
|
59
|
+
open: h,
|
|
60
|
+
onOpenChange: f,
|
|
61
|
+
onOpenToggle: p.useCallback(() => f((C) => !C), [f]),
|
|
62
|
+
hasCustomAnchor: u,
|
|
63
|
+
onCustomAnchorAdd: p.useCallback(() => P(!0), []),
|
|
64
|
+
onCustomAnchorRemove: p.useCallback(() => P(!1), []),
|
|
65
|
+
modal: i,
|
|
66
|
+
children: n
|
|
67
|
+
}
|
|
68
|
+
) });
|
|
69
|
+
};
|
|
70
|
+
E.displayName = x;
|
|
71
|
+
var N = "PopoverAnchor", T = p.forwardRef(
|
|
72
|
+
(o, a) => {
|
|
73
|
+
const { __scopePopover: n, ...s } = o, e = d(N, n), t = g(n), { onCustomAnchorAdd: i, onCustomAnchorRemove: c } = e;
|
|
74
|
+
return p.useEffect(() => (i(), () => c()), [i, c]), /* @__PURE__ */ r.jsx(y, { ...t, ...s, ref: a });
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
T.displayName = N;
|
|
78
|
+
var F = "PopoverTrigger", S = p.forwardRef(
|
|
79
|
+
(o, a) => {
|
|
80
|
+
const { __scopePopover: n, ...s } = o, e = d(F, n), t = g(n), i = j(a, e.triggerRef), c = /* @__PURE__ */ r.jsx(
|
|
81
|
+
A.button,
|
|
82
|
+
{
|
|
83
|
+
type: "button",
|
|
84
|
+
"aria-haspopup": "dialog",
|
|
85
|
+
"aria-expanded": e.open,
|
|
86
|
+
"aria-controls": e.contentId,
|
|
87
|
+
"data-state": L(e.open),
|
|
88
|
+
...s,
|
|
89
|
+
ref: i,
|
|
90
|
+
onClick: v(o.onClick, e.onOpenToggle)
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
return e.hasCustomAnchor ? c : /* @__PURE__ */ r.jsx(y, { asChild: !0, ...t, children: c });
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
S.displayName = F;
|
|
97
|
+
var R = "PopoverPortal", [ro, no] = w(R, {
|
|
98
|
+
forceMount: void 0
|
|
99
|
+
}), I = (o) => {
|
|
100
|
+
const { __scopePopover: a, forceMount: n, children: s, container: e } = o, t = d(R, a);
|
|
101
|
+
return /* @__PURE__ */ r.jsx(ro, { scope: a, forceMount: n, children: /* @__PURE__ */ r.jsx(b, { present: n || t.open, children: /* @__PURE__ */ r.jsx($, { asChild: !0, container: e, children: s }) }) });
|
|
102
|
+
};
|
|
103
|
+
I.displayName = R;
|
|
104
|
+
var m = "PopoverContent", k = p.forwardRef(
|
|
105
|
+
(o, a) => {
|
|
106
|
+
const n = no(m, o.__scopePopover), { forceMount: s = n.forceMount, ...e } = o, t = d(m, o.__scopePopover);
|
|
107
|
+
return /* @__PURE__ */ r.jsx(b, { present: s || t.open, children: t.modal ? /* @__PURE__ */ r.jsx(so, { ...e, ref: a }) : /* @__PURE__ */ r.jsx(io, { ...e, ref: a }) });
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
k.displayName = m;
|
|
111
|
+
var ao = K("PopoverContent.RemoveScroll"), so = p.forwardRef(
|
|
112
|
+
(o, a) => {
|
|
113
|
+
const n = d(m, o.__scopePopover), s = p.useRef(null), e = j(a, s), t = p.useRef(!1);
|
|
114
|
+
return p.useEffect(() => {
|
|
115
|
+
const i = s.current;
|
|
116
|
+
if (i) return U(i);
|
|
117
|
+
}, []), /* @__PURE__ */ r.jsx(W, { as: ao, allowPinchZoom: !0, children: /* @__PURE__ */ r.jsx(
|
|
118
|
+
D,
|
|
119
|
+
{
|
|
120
|
+
...o,
|
|
121
|
+
ref: e,
|
|
122
|
+
trapFocus: n.open,
|
|
123
|
+
disableOutsidePointerEvents: !0,
|
|
124
|
+
onCloseAutoFocus: v(o.onCloseAutoFocus, (i) => {
|
|
125
|
+
var c;
|
|
126
|
+
i.preventDefault(), t.current || (c = n.triggerRef.current) == null || c.focus();
|
|
127
|
+
}),
|
|
128
|
+
onPointerDownOutside: v(
|
|
129
|
+
o.onPointerDownOutside,
|
|
130
|
+
(i) => {
|
|
131
|
+
const c = i.detail.originalEvent, l = c.button === 0 && c.ctrlKey === !0, u = c.button === 2 || l;
|
|
132
|
+
t.current = u;
|
|
133
|
+
},
|
|
134
|
+
{ checkForDefaultPrevented: !1 }
|
|
135
|
+
),
|
|
136
|
+
onFocusOutside: v(
|
|
137
|
+
o.onFocusOutside,
|
|
138
|
+
(i) => i.preventDefault(),
|
|
139
|
+
{ checkForDefaultPrevented: !1 }
|
|
140
|
+
)
|
|
141
|
+
}
|
|
142
|
+
) });
|
|
143
|
+
}
|
|
144
|
+
), io = p.forwardRef(
|
|
145
|
+
(o, a) => {
|
|
146
|
+
const n = d(m, o.__scopePopover), s = p.useRef(!1), e = p.useRef(!1);
|
|
147
|
+
return /* @__PURE__ */ r.jsx(
|
|
148
|
+
D,
|
|
149
|
+
{
|
|
150
|
+
...o,
|
|
151
|
+
ref: a,
|
|
152
|
+
trapFocus: !1,
|
|
153
|
+
disableOutsidePointerEvents: !1,
|
|
154
|
+
onCloseAutoFocus: (t) => {
|
|
155
|
+
var i, c;
|
|
156
|
+
(i = o.onCloseAutoFocus) == null || i.call(o, t), t.defaultPrevented || (s.current || (c = n.triggerRef.current) == null || c.focus(), t.preventDefault()), s.current = !1, e.current = !1;
|
|
157
|
+
},
|
|
158
|
+
onInteractOutside: (t) => {
|
|
159
|
+
var l, u;
|
|
160
|
+
(l = o.onInteractOutside) == null || l.call(o, t), t.defaultPrevented || (s.current = !0, t.detail.originalEvent.type === "pointerdown" && (e.current = !0));
|
|
161
|
+
const i = t.target;
|
|
162
|
+
((u = n.triggerRef.current) == null ? void 0 : u.contains(i)) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && e.current && t.preventDefault();
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
), D = p.forwardRef(
|
|
168
|
+
(o, a) => {
|
|
169
|
+
const {
|
|
170
|
+
__scopePopover: n,
|
|
171
|
+
trapFocus: s,
|
|
172
|
+
onOpenAutoFocus: e,
|
|
173
|
+
onCloseAutoFocus: t,
|
|
174
|
+
disableOutsidePointerEvents: i,
|
|
175
|
+
onEscapeKeyDown: c,
|
|
176
|
+
onPointerDownOutside: l,
|
|
177
|
+
onFocusOutside: u,
|
|
178
|
+
onInteractOutside: P,
|
|
179
|
+
...h
|
|
180
|
+
} = o, f = d(m, n), C = g(n);
|
|
181
|
+
return Z(), /* @__PURE__ */ r.jsx(
|
|
182
|
+
q,
|
|
183
|
+
{
|
|
184
|
+
asChild: !0,
|
|
185
|
+
loop: !0,
|
|
186
|
+
trapped: s,
|
|
187
|
+
onMountAutoFocus: e,
|
|
188
|
+
onUnmountAutoFocus: t,
|
|
189
|
+
children: /* @__PURE__ */ r.jsx(
|
|
190
|
+
B,
|
|
191
|
+
{
|
|
192
|
+
asChild: !0,
|
|
193
|
+
disableOutsidePointerEvents: i,
|
|
194
|
+
onInteractOutside: P,
|
|
195
|
+
onEscapeKeyDown: c,
|
|
196
|
+
onPointerDownOutside: l,
|
|
197
|
+
onFocusOutside: u,
|
|
198
|
+
onDismiss: () => f.onOpenChange(!1),
|
|
199
|
+
children: /* @__PURE__ */ r.jsx(
|
|
200
|
+
Y,
|
|
201
|
+
{
|
|
202
|
+
"data-state": L(f.open),
|
|
203
|
+
role: "dialog",
|
|
204
|
+
id: f.contentId,
|
|
205
|
+
...C,
|
|
206
|
+
...h,
|
|
207
|
+
ref: a,
|
|
208
|
+
style: {
|
|
209
|
+
...h.style,
|
|
210
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
211
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
212
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
213
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
214
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
)
|
|
220
|
+
}
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
), M = "PopoverClose", V = p.forwardRef(
|
|
224
|
+
(o, a) => {
|
|
225
|
+
const { __scopePopover: n, ...s } = o, e = d(M, n);
|
|
226
|
+
return /* @__PURE__ */ r.jsx(
|
|
227
|
+
A.button,
|
|
228
|
+
{
|
|
229
|
+
type: "button",
|
|
230
|
+
...s,
|
|
231
|
+
ref: a,
|
|
232
|
+
onClick: v(o.onClick, () => e.onOpenChange(!1))
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
);
|
|
237
|
+
V.displayName = M;
|
|
238
|
+
var co = "PopoverArrow", z = p.forwardRef(
|
|
239
|
+
(o, a) => {
|
|
240
|
+
const { __scopePopover: n, ...s } = o, e = g(n);
|
|
241
|
+
return /* @__PURE__ */ r.jsx(X, { ...e, ...s, ref: a });
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
z.displayName = co;
|
|
245
|
+
function L(o) {
|
|
246
|
+
return o ? "open" : "closed";
|
|
247
|
+
}
|
|
248
|
+
var po = E, lo = T, uo = S, fo = I, mo = k, vo = V, go = z;
|
|
249
|
+
const Po = _(
|
|
250
|
+
"z-50 overflow-hidden rounded-[8px] px-[15px] py-[12.5px] animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border-0 typo-b2",
|
|
251
|
+
{
|
|
252
|
+
variants: {
|
|
253
|
+
color: {
|
|
254
|
+
pink: "bg-pink-400 text-gray-25",
|
|
255
|
+
blue: "bg-blue-400 text-gray-25",
|
|
256
|
+
gray: "bg-gray-700 text-gray-25",
|
|
257
|
+
lime: "bg-lime-400 text-gray-25"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
defaultVariants: {
|
|
261
|
+
color: "gray"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
), ho = _("-my-px border-none", {
|
|
265
|
+
variants: {
|
|
266
|
+
color: {
|
|
267
|
+
pink: "fill-pink-400",
|
|
268
|
+
gray: "fill-gray-700",
|
|
269
|
+
blue: "fill-blue-400",
|
|
270
|
+
lime: "fill-lime-400"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
defaultVariants: {
|
|
274
|
+
color: "gray"
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
function te({ defaultOpen: o = !0, ...a }) {
|
|
278
|
+
return /* @__PURE__ */ r.jsx(po, { "data-slot": "popover", defaultOpen: o, ...a });
|
|
279
|
+
}
|
|
280
|
+
function re({ ...o }) {
|
|
281
|
+
return /* @__PURE__ */ r.jsx(uo, { "data-slot": "popover-trigger", ...o });
|
|
282
|
+
}
|
|
283
|
+
function ne({
|
|
284
|
+
color: o,
|
|
285
|
+
className: a,
|
|
286
|
+
align: n = "center",
|
|
287
|
+
sideOffset: s = 4,
|
|
288
|
+
collisionPadding: e = {
|
|
289
|
+
left: 20,
|
|
290
|
+
right: 20
|
|
291
|
+
},
|
|
292
|
+
arrowPadding: t = 7,
|
|
293
|
+
children: i,
|
|
294
|
+
closeButton: c = !1,
|
|
295
|
+
...l
|
|
296
|
+
}) {
|
|
297
|
+
return /* @__PURE__ */ r.jsx(fo, { children: /* @__PURE__ */ r.jsxs(
|
|
298
|
+
mo,
|
|
299
|
+
{
|
|
300
|
+
"data-slot": "popover-content",
|
|
301
|
+
align: n,
|
|
302
|
+
sideOffset: s,
|
|
303
|
+
collisionPadding: e,
|
|
304
|
+
className: oo(Po({ color: o, className: a })),
|
|
305
|
+
arrowPadding: t,
|
|
306
|
+
...l,
|
|
307
|
+
children: [
|
|
308
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-between gap-1.25", children: [
|
|
309
|
+
i,
|
|
310
|
+
c && /* @__PURE__ */ r.jsx(xo, { asChild: !0, children: /* @__PURE__ */ r.jsx(eo, { size: 15 }) })
|
|
311
|
+
] }),
|
|
312
|
+
/* @__PURE__ */ r.jsx(go, { className: ho({ color: o }) })
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
) });
|
|
316
|
+
}
|
|
317
|
+
function ae({ ...o }) {
|
|
318
|
+
return /* @__PURE__ */ r.jsx(lo, { "data-slot": "popover-anchor", ...o });
|
|
319
|
+
}
|
|
320
|
+
function xo({ ...o }) {
|
|
321
|
+
return /* @__PURE__ */ r.jsx(vo, { "data-slot": "popover-close", ...o });
|
|
322
|
+
}
|
|
323
|
+
export {
|
|
324
|
+
te as ImpactTooltip,
|
|
325
|
+
ae as ImpactTooltipAnchor,
|
|
326
|
+
xo as ImpactTooltipCloseButton,
|
|
327
|
+
ne as ImpactTooltipContent,
|
|
328
|
+
re as ImpactTooltipTrigger
|
|
329
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/jsx-runtime.CrDL12FN.js"),p=require("react"),f=require("../../chunks/index.DMhXgOEz.js"),n=require("../../lib/utils.cjs.js");function h(e){if(e&&typeof e=="object"&&"default"in e)return e;const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(s,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return s.default=e,Object.freeze(s)}const a=h(p),j=f.cva("flex items-center justify-between gap-3.75",{variants:{background:{default:"bg-transparent",gray:"bg-gray-25"},type:{list:"py-5",card:"p-5 rounded-[10px]"}},compoundVariants:[{background:"default",type:"card",className:"bg-white"}],defaultVariants:{background:"default",type:"list"}}),l=a.forwardRef(({className:e,type:s,background:r,...i},d)=>t.jsxRuntimeExports.jsx("div",{ref:d,className:n.cn(j({type:s,background:r,className:e})),...i}));l.displayName="ShareUI";const c=a.forwardRef(({className:e,...s},r)=>t.jsxRuntimeExports.jsx("div",{ref:r,className:n.cn("typo-h6 text-gray-900",e),...s}));c.displayName="ShareTitle";const x=a.forwardRef(({className:e,...s},r)=>t.jsxRuntimeExports.jsx("div",{ref:r,className:n.cn("typo-t4 text-gray-500",e),...s}));x.displayName="ShareDescription";const u=a.forwardRef(({className:e,...s},r)=>t.jsxRuntimeExports.jsx("div",{ref:r,className:n.cn("m-0 flex flex-1 flex-col justify-between gap-1.25 p-0",e),...s}));u.displayName="ShareTextContainer";const o=a.forwardRef(({className:e,...s},r)=>t.jsxRuntimeExports.jsx("button",{ref:r,className:n.cn("border-0 bg-none p-0",e),...s}));o.displayName="ShareButton";const m=e=>t.jsxRuntimeExports.jsx(o,{...e,children:t.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",children:[t.jsxRuntimeExports.jsx("circle",{cx:"20.5",cy:"20",r:"20",fill:"#F9E000"}),t.jsxRuntimeExports.jsx("path",{d:"M20.5006 10.7233C14.5824 10.7233 9.78516 14.3347 9.78516 18.7921C9.78516 21.6924 11.8166 24.2343 14.8677 25.6565C14.6431 26.4524 14.0564 28.5433 13.939 28.9904C13.7933 29.5454 14.1515 29.5377 14.3882 29.3893C14.5723 29.2717 17.324 27.4892 18.5117 26.7202C19.1571 26.8108 19.8208 26.859 20.5006 26.859C26.4188 26.859 31.2161 23.2476 31.2161 18.7921C31.2161 14.3366 26.4188 10.7233 20.5006 10.7233Z",fill:"#371C1D"})]})}),g=e=>t.jsxRuntimeExports.jsx(o,{...e,children:t.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",children:[t.jsxRuntimeExports.jsx("circle",{cx:"20.5",cy:"20",r:"20",fill:"#D2D2D2"}),t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2902 22.6446C13.3058 23.629 13.3058 25.225 14.2902 26.2094C15.2746 27.1937 16.8706 27.1937 17.855 26.2094L20.6367 23.4277C21.1639 22.9005 22.0187 22.9005 22.5459 23.4277C23.0731 23.9549 23.0731 24.8096 22.5459 25.3369L19.7642 28.1186C17.7254 30.1574 14.4198 30.1574 12.381 28.1185C10.3422 26.0797 10.3422 22.7742 12.381 20.7354L15.1627 17.9537C15.6899 17.4265 16.5447 17.4265 17.0719 17.9537C17.5991 18.4809 17.5991 19.3357 17.0719 19.8629L14.2902 22.6446Z",fill:"white"}),t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.1434 13.791C24.1278 12.8067 25.7238 12.8067 26.7082 13.791C27.6926 14.7754 27.6926 16.3714 26.7082 17.3558L23.9265 20.1375C23.3993 20.6647 23.3993 21.5195 23.9265 22.0467C24.4537 22.5739 25.3085 22.5739 25.8357 22.0467L28.6174 19.265C30.6562 17.2262 30.6562 13.9207 28.6174 11.8819C26.5786 9.84305 23.273 9.84305 21.2342 11.8819L18.4525 14.6635C17.9253 15.1908 17.9253 16.0455 18.4525 16.5727C18.9797 17.0999 19.8345 17.0999 20.3617 16.5727L23.1434 13.791Z",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{x:"15.8301",y:"22.8126",width:"10.5061",height:"2.62656",rx:"1.31328",transform:"rotate(-45 15.8301 22.8126)",fill:"white"})]})});exports.ShareButton=o;exports.ShareDescription=x;exports.ShareKakaoButton=m;exports.ShareTextContainer=u;exports.ShareTitle=c;exports.ShareUI=l;exports.ShareUrlButton=g;
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
declare const shareUIVariants: (props?: ({
|
|
4
4
|
background?: "default" | "gray" | null | undefined;
|
|
5
5
|
type?: "list" | "card" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
6
|
+
} & import('../../../node_modules/class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ShareUIProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof shareUIVariants> {
|
|
8
8
|
}
|
|
9
9
|
declare const ShareUI: React.ForwardRefExoticComponent<ShareUIProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { c } from "../../chunks/index.
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { j as e } from "../../chunks/jsx-runtime.OVHDjVDe.js";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { c as d } from "../../chunks/index.Cc-miKAT.js";
|
|
4
|
+
import { cn as i } from "../../lib/utils.es.js";
|
|
5
|
+
const c = d("flex items-center justify-between gap-3.75", {
|
|
6
6
|
variants: {
|
|
7
7
|
background: {
|
|
8
8
|
default: "bg-transparent",
|
|
@@ -24,36 +24,36 @@ const h = c("flex items-center justify-between gap-3.75", {
|
|
|
24
24
|
background: "default",
|
|
25
25
|
type: "list"
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
({ className:
|
|
27
|
+
}), h = s.forwardRef(({ className: t, type: a, background: r, ...o }, n) => /* @__PURE__ */ e.jsx("div", { ref: n, className: i(c({ type: a, background: r, className: t })), ...o }));
|
|
28
|
+
h.displayName = "ShareUI";
|
|
29
|
+
const f = s.forwardRef(
|
|
30
|
+
({ className: t, ...a }, r) => /* @__PURE__ */ e.jsx("div", { ref: r, className: i("typo-h6 text-gray-900", t), ...a })
|
|
31
31
|
);
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
({ className:
|
|
32
|
+
f.displayName = "ShareTitle";
|
|
33
|
+
const x = s.forwardRef(
|
|
34
|
+
({ className: t, ...a }, r) => /* @__PURE__ */ e.jsx("div", { ref: r, className: i("typo-t4 text-gray-500", t), ...a })
|
|
35
35
|
);
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
({ className:
|
|
36
|
+
x.displayName = "ShareDescription";
|
|
37
|
+
const p = s.forwardRef(
|
|
38
|
+
({ className: t, ...a }, r) => /* @__PURE__ */ e.jsx("div", { ref: r, className: i("m-0 flex flex-1 flex-col justify-between gap-1.25 p-0", t), ...a })
|
|
39
39
|
);
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
({ className:
|
|
40
|
+
p.displayName = "ShareTextContainer";
|
|
41
|
+
const l = s.forwardRef(
|
|
42
|
+
({ className: t, ...a }, r) => /* @__PURE__ */ e.jsx("button", { ref: r, className: i("border-0 bg-none p-0", t), ...a })
|
|
43
43
|
);
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
44
|
+
l.displayName = "ShareButton";
|
|
45
|
+
const u = (t) => /* @__PURE__ */ e.jsx(l, { ...t, children: /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "41", height: "40", viewBox: "0 0 41 40", fill: "none", children: [
|
|
46
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "20.5", cy: "20", r: "20", fill: "#F9E000" }),
|
|
47
|
+
/* @__PURE__ */ e.jsx(
|
|
48
48
|
"path",
|
|
49
49
|
{
|
|
50
50
|
d: "M20.5006 10.7233C14.5824 10.7233 9.78516 14.3347 9.78516 18.7921C9.78516 21.6924 11.8166 24.2343 14.8677 25.6565C14.6431 26.4524 14.0564 28.5433 13.939 28.9904C13.7933 29.5454 14.1515 29.5377 14.3882 29.3893C14.5723 29.2717 17.324 27.4892 18.5117 26.7202C19.1571 26.8108 19.8208 26.859 20.5006 26.859C26.4188 26.859 31.2161 23.2476 31.2161 18.7921C31.2161 14.3366 26.4188 10.7233 20.5006 10.7233Z",
|
|
51
51
|
fill: "#371C1D"
|
|
52
52
|
}
|
|
53
53
|
)
|
|
54
|
-
] }) }),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
54
|
+
] }) }), g = (t) => /* @__PURE__ */ e.jsx(l, { ...t, children: /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "41", height: "40", viewBox: "0 0 41 40", fill: "none", children: [
|
|
55
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "20.5", cy: "20", r: "20", fill: "#D2D2D2" }),
|
|
56
|
+
/* @__PURE__ */ e.jsx(
|
|
57
57
|
"path",
|
|
58
58
|
{
|
|
59
59
|
fillRule: "evenodd",
|
|
@@ -62,7 +62,7 @@ const x = (e) => /* @__PURE__ */ t(o, { ...e, children: /* @__PURE__ */ n("svg",
|
|
|
62
62
|
fill: "white"
|
|
63
63
|
}
|
|
64
64
|
),
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ e.jsx(
|
|
66
66
|
"path",
|
|
67
67
|
{
|
|
68
68
|
fillRule: "evenodd",
|
|
@@ -71,7 +71,7 @@ const x = (e) => /* @__PURE__ */ t(o, { ...e, children: /* @__PURE__ */ n("svg",
|
|
|
71
71
|
fill: "white"
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ e.jsx(
|
|
75
75
|
"rect",
|
|
76
76
|
{
|
|
77
77
|
x: "15.8301",
|
|
@@ -85,11 +85,11 @@ const x = (e) => /* @__PURE__ */ t(o, { ...e, children: /* @__PURE__ */ n("svg",
|
|
|
85
85
|
)
|
|
86
86
|
] }) });
|
|
87
87
|
export {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
l as ShareButton,
|
|
89
|
+
x as ShareDescription,
|
|
90
|
+
u as ShareKakaoButton,
|
|
91
|
+
p as ShareTextContainer,
|
|
92
|
+
f as ShareTitle,
|
|
93
|
+
h as ShareUI,
|
|
94
|
+
g as ShareUrlButton
|
|
95
95
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../chunks/jsx-runtime.CrDL12FN.js"),K=require("react"),T=require("../../chunks/index.BhKv87PH.js"),S=require("../../chunks/index.CKKuhuuw.js"),I=require("../../chunks/index.Ca2_YDeQ.js"),J=require("../../chunks/index.mFaQzo4n.js"),C=require("../../chunks/index.BqdzwVah.js"),Q=require("../../lib/utils.cjs.js");function Z(e){if(e&&typeof e=="object"&&"default"in e)return e;const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Z(K);var ee=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),te="VisuallyHidden",q=s.forwardRef((e,o)=>u.jsxRuntimeExports.jsx(T.Primitive.span,{...e,ref:o,style:{...ee,...e.style}}));q.displayName=te;var oe=q,[O,Pe]=T.createContextScope("Tooltip",[C.createPopperScope]),D=C.createPopperScope(),G="TooltipProvider",re=700,L="tooltip.open",[ne,k]=O(G),$=e=>{const{__scopeTooltip:o,delayDuration:t=re,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=e,l=s.useRef(!0),f=s.useRef(!1),i=s.useRef(0);return s.useEffect(()=>{const d=i.current;return()=>window.clearTimeout(d)},[]),u.jsxRuntimeExports.jsx(ne,{scope:o,isOpenDelayedRef:l,delayDuration:t,onOpen:s.useCallback(()=>{window.clearTimeout(i.current),l.current=!1},[]),onClose:s.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:f,onPointerInTransitChange:s.useCallback(d=>{f.current=d},[]),disableHoverableContent:n,children:a})};$.displayName=G;var P="Tooltip",[se,_]=O(P),F=e=>{const{__scopeTooltip:o,children:t,open:r,defaultOpen:n,onOpenChange:a,disableHoverableContent:l,delayDuration:f}=e,i=k(P,e.__scopeTooltip),d=D(o),[c,x]=s.useState(null),v=J.useId(),p=s.useRef(0),m=l??i.disableHoverableContent,y=f??i.delayDuration,h=s.useRef(!1),[E,g]=T.useControllableState({prop:r,defaultProp:n??!1,onChange:N=>{N?(i.onOpen(),document.dispatchEvent(new CustomEvent(L))):i.onClose(),a==null||a(N)},caller:P}),R=s.useMemo(()=>E?h.current?"delayed-open":"instant-open":"closed",[E]),j=s.useCallback(()=>{window.clearTimeout(p.current),p.current=0,h.current=!1,g(!0)},[g]),w=s.useCallback(()=>{window.clearTimeout(p.current),p.current=0,g(!1)},[g]),M=s.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{h.current=!0,g(!0),p.current=0},y)},[y,g]);return s.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),u.jsxRuntimeExports.jsx(C.Root2,{...d,children:u.jsxRuntimeExports.jsx(se,{scope:o,contentId:v,open:E,stateAttribute:R,trigger:c,onTriggerChange:x,onTriggerEnter:s.useCallback(()=>{i.isOpenDelayedRef.current?M():j()},[i.isOpenDelayedRef,M,j]),onTriggerLeave:s.useCallback(()=>{m?w():(window.clearTimeout(p.current),p.current=0)},[w,m]),onOpen:j,onClose:w,disableHoverableContent:m,children:t})})};F.displayName=P;var A="TooltipTrigger",V=s.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=_(A,t),a=k(A,t),l=D(t),f=s.useRef(null),i=S.useComposedRefs(o,f,n.onTriggerChange),d=s.useRef(!1),c=s.useRef(!1),x=s.useCallback(()=>d.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),u.jsxRuntimeExports.jsx(C.Anchor,{asChild:!0,...l,children:u.jsxRuntimeExports.jsx(T.Primitive.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:T.composeEventHandlers(e.onPointerMove,v=>{v.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:T.composeEventHandlers(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:T.composeEventHandlers(e.onPointerDown,()=>{n.open&&n.onClose(),d.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:T.composeEventHandlers(e.onFocus,()=>{d.current||n.onOpen()}),onBlur:T.composeEventHandlers(e.onBlur,n.onClose),onClick:T.composeEventHandlers(e.onClick,n.onClose)})})});V.displayName=A;var H="TooltipPortal",[ie,ae]=O(H,{forceMount:void 0}),z=e=>{const{__scopeTooltip:o,forceMount:t,children:r,container:n}=e,a=_(H,o);return u.jsxRuntimeExports.jsx(ie,{scope:o,forceMount:t,children:u.jsxRuntimeExports.jsx(T.Presence,{present:t||a.open,children:u.jsxRuntimeExports.jsx(I.Portal,{asChild:!0,container:n,children:r})})})};z.displayName=H;var b="TooltipContent",Y=s.forwardRef((e,o)=>{const t=ae(b,e.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...a}=e,l=_(b,e.__scopeTooltip);return u.jsxRuntimeExports.jsx(T.Presence,{present:r||l.open,children:l.disableHoverableContent?u.jsxRuntimeExports.jsx(B,{side:n,...a,ref:o}):u.jsxRuntimeExports.jsx(le,{side:n,...a,ref:o})})}),le=s.forwardRef((e,o)=>{const t=_(b,e.__scopeTooltip),r=k(b,e.__scopeTooltip),n=s.useRef(null),a=S.useComposedRefs(o,n),[l,f]=s.useState(null),{trigger:i,onClose:d}=t,c=n.current,{onPointerInTransitChange:x}=r,v=s.useCallback(()=>{f(null),x(!1)},[x]),p=s.useCallback((m,y)=>{const h=m.currentTarget,E={x:m.clientX,y:m.clientY},g=de(E,h.getBoundingClientRect()),R=xe(E,g),j=fe(y.getBoundingClientRect()),w=me([...R,...j]);f(w),x(!0)},[x]);return s.useEffect(()=>()=>v(),[v]),s.useEffect(()=>{if(i&&c){const m=h=>p(h,c),y=h=>p(h,i);return i.addEventListener("pointerleave",m),c.addEventListener("pointerleave",y),()=>{i.removeEventListener("pointerleave",m),c.removeEventListener("pointerleave",y)}}},[i,c,p,v]),s.useEffect(()=>{if(l){const m=y=>{const h=y.target,E={x:y.clientX,y:y.clientY},g=(i==null?void 0:i.contains(h))||(c==null?void 0:c.contains(h)),R=!ve(E,l);g?v():R&&(v(),d())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[i,c,l,d,v]),u.jsxRuntimeExports.jsx(B,{...e,ref:a})}),[ce,ue]=O(P,{isInside:!1}),pe=S.createSlottable("TooltipContent"),B=s.forwardRef((e,o)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:l,...f}=e,i=_(b,t),d=D(t),{onClose:c}=i;return s.useEffect(()=>(document.addEventListener(L,c),()=>document.removeEventListener(L,c)),[c]),s.useEffect(()=>{if(i.trigger){const x=v=>{const p=v.target;p!=null&&p.contains(i.trigger)&&c()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[i.trigger,c]),u.jsxRuntimeExports.jsx(I.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:x=>x.preventDefault(),onDismiss:c,children:u.jsxRuntimeExports.jsxs(C.Content,{"data-state":i.stateAttribute,...d,...f,ref:o,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[u.jsxRuntimeExports.jsx(pe,{children:r}),u.jsxRuntimeExports.jsx(ce,{scope:t,isInside:!0,children:u.jsxRuntimeExports.jsx(oe,{id:i.contentId,role:"tooltip",children:n||r})})]})})});Y.displayName=b;var U="TooltipArrow",W=s.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=D(t);return ue(U,t).isInside?null:u.jsxRuntimeExports.jsx(C.Arrow,{...n,...r,ref:o})});W.displayName=U;function de(e,o){const t=Math.abs(o.top-e.y),r=Math.abs(o.bottom-e.y),n=Math.abs(o.right-e.x),a=Math.abs(o.left-e.x);switch(Math.min(t,r,n,a)){case a:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function xe(e,o,t=5){const r=[];switch(o){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function fe(e){const{top:o,right:t,bottom:r,left:n}=e;return[{x:n,y:o},{x:t,y:o},{x:t,y:r},{x:n,y:r}]}function ve(e,o){const{x:t,y:r}=e;let n=!1;for(let a=0,l=o.length-1;a<o.length;l=a++){const f=o[a],i=o[l],d=f.x,c=f.y,x=i.x,v=i.y;c>r!=v>r&&t<(x-d)*(r-c)/(v-c)+d&&(n=!n)}return n}function me(e){const o=e.slice();return o.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),he(o)}function he(e){if(e.length<=1)return e.slice();const o=[];for(let r=0;r<e.length;r++){const n=e[r];for(;o.length>=2;){const a=o[o.length-1],l=o[o.length-2];if((a.x-l.x)*(n.y-l.y)>=(a.y-l.y)*(n.x-l.x))o.pop();else break}o.push(n)}o.pop();const t=[];for(let r=e.length-1;r>=0;r--){const n=e[r];for(;t.length>=2;){const a=t[t.length-1],l=t[t.length-2];if((a.x-l.x)*(n.y-l.y)>=(a.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),o.length===1&&t.length===1&&o[0].x===t[0].x&&o[0].y===t[0].y?o:o.concat(t)}var Te=$,ye=F,ge=V,Ee=z,be=Y,Ce=W;function X({delayDuration:e=0,...o}){return u.jsxRuntimeExports.jsx(Te,{"data-slot":"tooltip-provider",delayDuration:e,...o})}function Re({...e}){return u.jsxRuntimeExports.jsx(X,{children:u.jsxRuntimeExports.jsx(ye,{"data-slot":"tooltip",...e})})}function je({...e}){return u.jsxRuntimeExports.jsx(ge,{"data-slot":"tooltip-trigger",...e})}function we({className:e,sideOffset:o=5,collisionPadding:t={left:20,right:20},children:r,...n}){return u.jsxRuntimeExports.jsx(Ee,{children:u.jsxRuntimeExports.jsxs(be,{"data-slot":"tooltip-content",sideOffset:o,className:Q.cn("animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 typo-b2 z-50 overflow-hidden rounded-[8px] border border-gray-100 bg-white px-[15px] py-[12.5px] text-gray-400",e),collisionPadding:t,...n,children:[r,u.jsxRuntimeExports.jsx(Ce,{className:"-my-px border-none fill-white drop-shadow-[0_1px_0_var(--color-gray-100)]"})]})})}exports.Tooltip=Re;exports.TooltipContent=we;exports.TooltipProvider=X;exports.TooltipTrigger=je;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): React.JSX.Element;
|
|
4
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): React.JSX.Element;
|
|
5
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): React.JSX.Element;
|
|
6
|
+
type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content>;
|
|
7
|
+
declare function TooltipContent({ className, sideOffset, collisionPadding, children, ...props }: TooltipContentProps): React.JSX.Element;
|
|
8
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
9
|
+
export type { TooltipContentProps };
|