@pfct/purple 1.5.0-rc.1 → 1.5.0-rc.10

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.
Files changed (325) hide show
  1. package/dist/Icon/utils/svgr-cli.template.d.ts +7 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/clsx.C11secjj.js +1 -0
  4. package/dist/chunks/clsx.OuTLNxxd.js +16 -0
  5. package/dist/chunks/index.1jpVsLW3.js +1 -0
  6. package/dist/chunks/index.B0nfUjLZ.js +374 -0
  7. package/dist/chunks/index.BCUPRn9W.js +5 -0
  8. package/dist/chunks/index.BGQJ5UjQ.js +1 -0
  9. package/dist/chunks/index.BKQj6Ros.js +1 -0
  10. package/dist/chunks/index.BX-VsGjT.js +1 -0
  11. package/dist/chunks/index.BZCoWHJr.js +41 -0
  12. package/dist/chunks/index.BZPx6jYI.js +8 -0
  13. package/dist/chunks/index.Bi2dd8ax.js +354 -0
  14. package/dist/chunks/index.BrP7bNBb.js +35 -0
  15. package/dist/chunks/index.CL8HuWEm.js +154 -0
  16. package/dist/chunks/{index.styled.D_VcbV29.js → index.Ca_yAFix.js} +266 -328
  17. package/dist/chunks/{index.LN3KW-I4.js → index.Cc-miKAT.js} +1 -1
  18. package/dist/chunks/index.Cg4EOYHb.js +71 -0
  19. package/dist/chunks/index.CuQJFSqG.js +82 -0
  20. package/dist/chunks/index.D2jUN9AV.js +1 -0
  21. package/dist/chunks/index.DB6HVhpz.js +1 -0
  22. package/dist/chunks/index.DG2yRD83.js +27 -0
  23. package/dist/chunks/index.DLeNytVF.js +9 -0
  24. package/dist/chunks/index.DMhXgOEz.js +1 -0
  25. package/dist/chunks/index.DaxnLcvM.js +1 -0
  26. package/dist/chunks/index.Dh7jK0Mq.js +777 -0
  27. package/dist/chunks/index.DqB4vTTG.js +1 -0
  28. package/dist/chunks/index.F4-yWY3F.js +1335 -0
  29. package/dist/chunks/index.R27B_vrp.js +1 -0
  30. package/dist/chunks/index.Sb_wKSRC.js +13 -0
  31. package/dist/chunks/index.Zd9j6m3g.js +1 -0
  32. package/dist/chunks/index.kG55MjaG.js +659 -0
  33. package/dist/components/Accordion/index.cjs.js +1 -1
  34. package/dist/components/Accordion/index.es.js +266 -445
  35. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  36. package/dist/components/Badge/BaseBadge/index.es.js +1 -1
  37. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  38. package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
  39. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  40. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +24 -26
  41. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  42. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +1 -1
  43. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  44. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +1 -1
  45. package/dist/components/BottomSheet/index.cjs.js +1 -1
  46. package/dist/components/BottomSheet/index.es.js +1 -1
  47. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  48. package/dist/components/Button/BaseButton/index.es.js +1 -1
  49. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  50. package/dist/components/Button/DoubleButton/index.es.js +1 -1
  51. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  52. package/dist/components/Button/FloatBaseButton/index.es.js +1 -1
  53. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  54. package/dist/components/Button/FloatDoubleButton/index.es.js +1 -1
  55. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  56. package/dist/components/Button/FloatSingleButton/index.es.js +1 -1
  57. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  58. package/dist/components/Button/SingleButton/index.es.js +1 -1
  59. package/dist/components/Button/index.cjs.js +1 -1
  60. package/dist/components/Button/index.es.js +1 -1
  61. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  62. package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
  63. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  64. package/dist/components/Chips/ChipItem/index.es.js +20 -22
  65. package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
  66. package/dist/components/Chips/ChipItem/index.styled.es.js +21 -23
  67. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  68. package/dist/components/Chips/ChipsFrame/index.es.js +12 -12
  69. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  70. package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
  71. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  72. package/dist/components/Control/CheckMark/index.es.js +18 -20
  73. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  74. package/dist/components/Control/RadioButton/index.es.js +1 -1
  75. package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
  76. package/dist/components/Control/RadioButton/index.styled.es.js +18 -20
  77. package/dist/components/Control/Switch/index.cjs.js +1 -1
  78. package/dist/components/Control/Switch/index.d.ts +37 -9
  79. package/dist/components/Control/Switch/index.es.js +190 -84
  80. package/dist/components/Control/index.cjs.js +1 -1
  81. package/dist/components/Control/index.d.ts +2 -1
  82. package/dist/components/Control/index.es.js +4 -4
  83. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  84. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +20 -22
  85. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  86. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +20 -22
  87. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
  88. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +1 -1
  89. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
  90. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +20 -22
  91. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  92. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +20 -22
  93. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  94. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +20 -22
  95. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
  96. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +29 -31
  97. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  98. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +1 -1
  99. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
  100. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +1 -1
  101. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  102. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
  103. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  104. package/dist/components/DatePicker/BaseDatePicker/index.es.js +28 -30
  105. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +1 -1
  107. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  108. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +18 -20
  109. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  110. package/dist/components/Input/NumberInput/index.es.js +50 -52
  111. package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
  112. package/dist/components/Input/PostfixInput/index.util.es.js +21 -23
  113. package/dist/components/Input/TextField/index.cjs.js +1 -1
  114. package/dist/components/Input/TextField/index.es.js +12 -12
  115. package/dist/components/Input/index.cjs.js +1 -1
  116. package/dist/components/Input/index.es.js +29 -31
  117. package/dist/components/{Modal → LegacyModal}/BaseModal/index.cjs.js +1 -1
  118. package/dist/components/{Modal → LegacyModal}/BaseModal/index.es.js +2 -2
  119. package/dist/components/LegacyModal/index.cjs.js +1 -0
  120. package/dist/components/LegacyModal/index.d.ts +31 -0
  121. package/dist/components/LegacyModal/index.es.js +9 -0
  122. package/dist/components/List/index.cjs.js +1 -1
  123. package/dist/components/List/index.es.js +8 -8
  124. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  125. package/dist/components/Loading/ProgressBar/index.es.js +1 -1
  126. package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
  127. package/dist/components/Loading/ProgressBar/index.styled.es.js +19 -21
  128. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  129. package/dist/components/Loading/Spinner/index.es.js +1 -1
  130. package/dist/components/Loading/index.cjs.js +1 -1
  131. package/dist/components/Loading/index.es.js +1 -1
  132. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  133. package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
  134. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  135. package/dist/components/MiniButton/IconMiniButton/index.d.ts +1 -1
  136. package/dist/components/MiniButton/IconMiniButton/index.es.js +34 -31
  137. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  138. package/dist/components/MiniButton/UnderLineMiniButton/index.d.ts +1 -0
  139. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +36 -31
  140. package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
  141. package/dist/components/MiniButton/common/index.styled.es.js +20 -22
  142. package/dist/components/Modal/index.cjs.js +1 -1
  143. package/dist/components/Modal/index.d.ts +14 -27
  144. package/dist/components/Modal/index.es.js +99 -7
  145. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  146. package/dist/components/Navigation/BaseNavigation/index.es.js +9 -9
  147. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  148. package/dist/components/Navigation/BottomNavigationBar/index.es.js +5 -5
  149. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  150. package/dist/components/Navigation/PageNavigationBar/index.es.js +12 -12
  151. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  152. package/dist/components/Navigation/TitleNavigationBar/index.es.js +10 -10
  153. package/dist/components/Navigation/index.cjs.js +1 -1
  154. package/dist/components/Navigation/index.es.js +12 -12
  155. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  156. package/dist/components/OverlayRoot/index.es.js +18 -20
  157. package/dist/components/Segment/BaseSegment/index.styled.cjs.js +1 -1
  158. package/dist/components/Segment/BaseSegment/index.styled.es.js +1 -1
  159. package/dist/components/Segment/ExtendSegment/index.styled.cjs.js +1 -1
  160. package/dist/components/Segment/ExtendSegment/index.styled.es.js +1 -1
  161. package/dist/components/SelectBox/index.cjs.js +1 -1
  162. package/dist/components/SelectBox/index.es.js +16 -16
  163. package/dist/components/SelectBox/index.styled.cjs.js +1 -1
  164. package/dist/components/SelectBox/index.styled.es.js +25 -27
  165. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  166. package/dist/components/Tabs/FillTabs/index.es.js +20 -22
  167. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  168. package/dist/components/Tabs/TextTabs/index.d.ts +15 -11
  169. package/dist/components/Tabs/TextTabs/index.es.js +53 -66
  170. package/dist/components/Tabs/index.cjs.js +1 -1
  171. package/dist/components/Tabs/index.es.js +5 -4
  172. package/dist/components/Tag/index.cjs.js +1 -1
  173. package/dist/components/Tag/index.es.js +1 -1
  174. package/dist/components/Tag/index.styled.cjs.js +1 -1
  175. package/dist/components/Tag/index.styled.es.js +18 -20
  176. package/dist/components/Terms/index.cjs.js +1 -1
  177. package/dist/components/Terms/index.es.js +16 -17
  178. package/dist/components/TextArea/index.cjs.js +1 -0
  179. package/dist/components/TextArea/index.d.ts +80 -0
  180. package/dist/components/TextArea/index.es.js +30 -0
  181. package/dist/components/Title/index.cjs.js +1 -1
  182. package/dist/components/Title/index.es.js +1 -1
  183. package/dist/components/Title/index.styled.cjs.js +1 -1
  184. package/dist/components/Title/index.styled.es.js +22 -24
  185. package/dist/components/Toast/index.cjs.js +1 -0
  186. package/dist/components/Toast/index.d.ts +5 -0
  187. package/dist/components/Toast/index.es.js +36 -0
  188. package/dist/components/index.cjs.js +1 -1
  189. package/dist/components/index.d.ts +6 -3
  190. package/dist/components/index.es.js +156 -122
  191. package/dist/components/ui/bottomSheet.cjs.js +13 -13
  192. package/dist/components/ui/bottomSheet.es.js +76 -71
  193. package/dist/components/ui/button.cjs.js +1 -1
  194. package/dist/components/ui/button.es.js +4 -4
  195. package/dist/components/ui/checkbox.cjs.js +1 -0
  196. package/dist/components/ui/checkbox.d.ts +9 -0
  197. package/dist/components/ui/checkbox.es.js +446 -0
  198. package/dist/components/ui/dialog.cjs.js +1 -1
  199. package/dist/components/ui/dialog.es.js +30 -30
  200. package/dist/components/ui/drawer.cjs.js +1 -1
  201. package/dist/components/ui/drawer.es.js +2 -2
  202. package/dist/components/ui/impact-tooltip.cjs.js +1 -0
  203. package/dist/components/ui/impact-tooltip.d.ts +16 -0
  204. package/dist/components/ui/impact-tooltip.es.js +672 -0
  205. package/dist/components/ui/share-ui.cjs.js +1 -1
  206. package/dist/components/ui/share-ui.es.js +2 -2
  207. package/dist/components/ui/tooltip.cjs.js +1 -0
  208. package/dist/components/ui/tooltip.d.ts +9 -0
  209. package/dist/components/ui/tooltip.es.js +771 -0
  210. package/dist/components/ui/typography.cjs.js +1 -1
  211. package/dist/components/ui/typography.es.js +3 -3
  212. package/dist/core/Colors/index.cjs.js +1 -1
  213. package/dist/core/Colors/index.d.ts +0 -4
  214. package/dist/core/Colors/index.es.js +4 -8
  215. package/dist/core/Display/Mobile.cjs.js +1 -1
  216. package/dist/core/Display/Mobile.es.js +1 -1
  217. package/dist/core/Display/Pc.cjs.js +1 -1
  218. package/dist/core/Display/Pc.es.js +1 -1
  219. package/dist/core/Display/index.styled.cjs.js +1 -1
  220. package/dist/core/Display/index.styled.es.js +19 -21
  221. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  222. package/dist/core/Typography/BaseTypography/index.es.js +2 -2
  223. package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
  224. package/dist/hooks/useLayoutIsMobile.es.js +19 -21
  225. package/dist/icons/src/aliases/aliases.cjs.js +1 -1
  226. package/dist/icons/src/aliases/aliases.d.ts +11 -11
  227. package/dist/icons/src/aliases/aliases.es.js +46 -46
  228. package/dist/icons/src/aliases/index.cjs.js +1 -1
  229. package/dist/icons/src/aliases/index.es.js +92 -92
  230. package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
  231. package/dist/icons/src/aliases/prefixed.d.ts +16 -16
  232. package/dist/icons/src/aliases/prefixed.es.js +46 -46
  233. package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
  234. package/dist/icons/src/aliases/suffixed.d.ts +18 -18
  235. package/dist/icons/src/aliases/suffixed.es.js +48 -48
  236. package/dist/icons/src/icons/index.cjs.js +1 -1
  237. package/dist/icons/src/icons/index.d.ts +15 -15
  238. package/dist/icons/src/icons/index.es.js +44 -44
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +379 -345
  241. package/dist/lib/utils.cjs.js +1 -1
  242. package/dist/lib/utils.es.js +2729 -2
  243. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  244. package/dist/library/BasicLayout/Footer.d.ts +2 -2
  245. package/dist/library/BasicLayout/Footer.es.js +37 -36
  246. package/dist/library/BasicLayout/index.cjs.js +1 -1
  247. package/dist/library/BasicLayout/index.d.ts +1 -1
  248. package/dist/library/BasicLayout/index.es.js +22 -24
  249. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  250. package/dist/library/BasicLayout/index.styled.es.js +47 -49
  251. package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
  252. package/dist/utils/GenerateColorStyle/chip.es.js +1 -1
  253. package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
  254. package/dist/utils/GenerateColorStyle/index.es.js +8 -8
  255. package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
  256. package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +19 -21
  257. package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
  258. package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +19 -21
  259. package/dist/utils/index.cjs.js +1 -1
  260. package/dist/utils/index.es.js +8 -8
  261. package/package.json +16 -9
  262. package/dist/chunks/index.B0KRXeX3.js +0 -205
  263. package/dist/chunks/index.BIcga6m3.js +0 -1
  264. package/dist/chunks/index.BiFBNKMb.js +0 -51
  265. package/dist/chunks/index.C4mr2-78.js +0 -1
  266. package/dist/chunks/index.CAOufkQO.js +0 -1072
  267. package/dist/chunks/index.DLcqcWxM.js +0 -29
  268. package/dist/chunks/index.Dazlhpef.js +0 -45
  269. package/dist/chunks/index.DnJQUgiG.js +0 -1
  270. package/dist/chunks/index.SS1p-Ys5.js +0 -1
  271. package/dist/chunks/index.styled.DX1B4OiV.js +0 -412
  272. package/dist/chunks/utils.B9KdtH6G.js +0 -2493
  273. package/dist/chunks/utils.Gb5_Gcy7.js +0 -1
  274. package/dist/components/Control/CheckBox/CheckIcon.cjs.js +0 -1
  275. package/dist/components/Control/CheckBox/CheckIcon.d.ts +0 -6
  276. package/dist/components/Control/CheckBox/CheckIcon.es.js +0 -26
  277. package/dist/components/Control/CheckBox/index.cjs.js +0 -1
  278. package/dist/components/Control/CheckBox/index.d.ts +0 -12
  279. package/dist/components/Control/CheckBox/index.es.js +0 -96
  280. package/dist/components/Control/CheckBox/index.styled.cjs.js +0 -24
  281. package/dist/components/Control/CheckBox/index.styled.d.ts +0 -18
  282. package/dist/components/Control/CheckBox/index.styled.es.js +0 -30
  283. package/dist/components/Control/Switch/index.styled.cjs.js +0 -32
  284. package/dist/components/Control/Switch/index.styled.d.ts +0 -15
  285. package/dist/components/Control/Switch/index.styled.es.js +0 -42
  286. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.cjs.js +0 -8
  287. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.d.ts +0 -9
  288. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.es.js +0 -14
  289. package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +0 -1
  290. package/dist/components/ToastMessage/BaseToastMessage/index.d.ts +0 -13
  291. package/dist/components/ToastMessage/BaseToastMessage/index.es.js +0 -25
  292. package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +0 -1
  293. package/dist/components/ToastMessage/BaseToastMessage/index.styled.d.ts +0 -10
  294. package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +0 -80
  295. package/dist/components/ToastMessage/Toast/index.cjs.js +0 -1
  296. package/dist/components/ToastMessage/Toast/index.d.ts +0 -13
  297. package/dist/components/ToastMessage/Toast/index.es.js +0 -32
  298. package/dist/components/ToastMessage/Toast/index.styled.cjs.js +0 -13
  299. package/dist/components/ToastMessage/Toast/index.styled.d.ts +0 -8
  300. package/dist/components/ToastMessage/Toast/index.styled.es.js +0 -18
  301. package/dist/components/ToastMessage/index.cjs.js +0 -1
  302. package/dist/components/ToastMessage/index.d.ts +0 -1
  303. package/dist/components/ToastMessage/index.es.js +0 -4
  304. package/dist/components/Tooltip/BasicTooltip/index.cjs.js +0 -1
  305. package/dist/components/Tooltip/BasicTooltip/index.d.ts +0 -5
  306. package/dist/components/Tooltip/BasicTooltip/index.es.js +0 -6
  307. package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +0 -1
  308. package/dist/components/Tooltip/ImpactTooltip/index.d.ts +0 -7
  309. package/dist/components/Tooltip/ImpactTooltip/index.es.js +0 -23
  310. package/dist/components/Tooltip/TooltipBase/index.cjs.js +0 -8
  311. package/dist/components/Tooltip/TooltipBase/index.d.ts +0 -18
  312. package/dist/components/Tooltip/TooltipBase/index.es.js +0 -146
  313. package/dist/components/Tooltip/TooltipBase/index.styled.cjs.js +0 -107
  314. package/dist/components/Tooltip/TooltipBase/index.styled.d.ts +0 -22
  315. package/dist/components/Tooltip/TooltipBase/index.styled.es.js +0 -2006
  316. package/dist/components/Tooltip/index.cjs.js +0 -1
  317. package/dist/components/Tooltip/index.d.ts +0 -6
  318. package/dist/components/Tooltip/index.es.js +0 -6
  319. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.d.ts +0 -0
  320. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.cjs.js +0 -0
  321. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.d.ts +0 -0
  322. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.es.js +0 -0
  323. /package/dist/components/{Modal → LegacyModal}/index.styled.cjs.js +0 -0
  324. /package/dist/components/{Modal → LegacyModal}/index.styled.d.ts +0 -0
  325. /package/dist/components/{Modal → LegacyModal}/index.styled.es.js +0 -0
@@ -0,0 +1,672 @@
1
+ import { j as c } from "../../chunks/jsx-runtime.Drh4NO5G.js";
2
+ import * as l from "react";
3
+ import { c as _ } from "../../chunks/index.DLeNytVF.js";
4
+ import { u as S, c as Je } from "../../chunks/index.CuQJFSqG.js";
5
+ import { P as F, c as ie, u as oe, a as Qe } from "../../chunks/index.CL8HuWEm.js";
6
+ import { h as et, R as tt, u as ot, D as rt } from "../../chunks/index.kG55MjaG.js";
7
+ import { u as U, P as nt } from "../../chunks/index.BrP7bNBb.js";
8
+ import { u as st } from "../../chunks/index.Sb_wKSRC.js";
9
+ import { R as at, u as it, o as ct, s as lt, f as ut, a as pt, b as dt, h as ft, l as mt, c as vt } from "../../chunks/index.F4-yWY3F.js";
10
+ import { u as ht } from "../../chunks/index.DG2yRD83.js";
11
+ import { P as ce } from "../../chunks/index.Cg4EOYHb.js";
12
+ import { cn as gt } from "../../lib/utils.es.js";
13
+ import { c as le } from "../../chunks/index.Cc-miKAT.js";
14
+ import "../../icons/src/icons/Alarm_fill.es.js";
15
+ import "../../icons/src/icons/Chevron_down.es.js";
16
+ import Pt from "../../icons/src/icons/Cancel.es.js";
17
+ import "../../icons/src/icons/Check.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/Double_Chevron_left.es.js";
21
+ import "../../icons/src/icons/Chevron_up.es.js";
22
+ import "../../icons/src/icons/Eye_fill.es.js";
23
+ import "../../icons/src/icons/Double_Chevron_right.es.js";
24
+ import "../../icons/src/icons/Eye_slash_fill.es.js";
25
+ import "../../icons/src/icons/Cancel_circle.es.js";
26
+ import "../../icons/src/icons/Filter.es.js";
27
+ import "../../icons/src/icons/Calendar.es.js";
28
+ import "../../icons/src/icons/Cart_fill.es.js";
29
+ import "../../icons/src/icons/Information.es.js";
30
+ import "../../icons/src/icons/Menu.es.js";
31
+ import "../../icons/src/icons/More.es.js";
32
+ import "../../icons/src/icons/Person_fill.es.js";
33
+ import "../../icons/src/icons/Plus.es.js";
34
+ import "../../icons/src/icons/Question_circle.es.js";
35
+ import "../../icons/src/icons/Re.es.js";
36
+ import "../../icons/src/icons/Search.es.js";
37
+ import "../../icons/src/icons/Setting_fill.es.js";
38
+ import "../../icons/src/icons/Share.es.js";
39
+ import "../../icons/src/icons/Store.es.js";
40
+ var $ = "focusScope.autoFocusOnMount", H = "focusScope.autoFocusOnUnmount", re = { bubbles: !1, cancelable: !0 }, xt = "FocusScope", ue = l.forwardRef((e, o) => {
41
+ const {
42
+ loop: t = !1,
43
+ trapped: r = !1,
44
+ onMountAutoFocus: s,
45
+ onUnmountAutoFocus: a,
46
+ ...i
47
+ } = e, [n, p] = l.useState(null), d = U(s), g = U(a), m = l.useRef(null), v = S(o, (u) => p(u)), h = l.useRef({
48
+ paused: !1,
49
+ pause() {
50
+ this.paused = !0;
51
+ },
52
+ resume() {
53
+ this.paused = !1;
54
+ }
55
+ }).current;
56
+ l.useEffect(() => {
57
+ if (r) {
58
+ let u = function(x) {
59
+ if (h.paused || !n) return;
60
+ const P = x.target;
61
+ n.contains(P) ? m.current = P : w(m.current, { select: !0 });
62
+ }, C = function(x) {
63
+ if (h.paused || !n) return;
64
+ const P = x.relatedTarget;
65
+ P !== null && (n.contains(P) || w(m.current, { select: !0 }));
66
+ }, f = function(x) {
67
+ if (document.activeElement === document.body)
68
+ for (const j of x)
69
+ j.removedNodes.length > 0 && w(n);
70
+ };
71
+ document.addEventListener("focusin", u), document.addEventListener("focusout", C);
72
+ const y = new MutationObserver(f);
73
+ return n && y.observe(n, { childList: !0, subtree: !0 }), () => {
74
+ document.removeEventListener("focusin", u), document.removeEventListener("focusout", C), y.disconnect();
75
+ };
76
+ }
77
+ }, [r, n, h.paused]), l.useEffect(() => {
78
+ if (n) {
79
+ se.add(h);
80
+ const u = document.activeElement;
81
+ if (!n.contains(u)) {
82
+ const f = new CustomEvent($, re);
83
+ n.addEventListener($, d), n.dispatchEvent(f), f.defaultPrevented || (Ct(Et(pe(n)), { select: !0 }), document.activeElement === u && w(n));
84
+ }
85
+ return () => {
86
+ n.removeEventListener($, d), setTimeout(() => {
87
+ const f = new CustomEvent(H, re);
88
+ n.addEventListener(H, g), n.dispatchEvent(f), f.defaultPrevented || w(u ?? document.body, { select: !0 }), n.removeEventListener(H, g), se.remove(h);
89
+ }, 0);
90
+ };
91
+ }
92
+ }, [n, d, g, h]);
93
+ const b = l.useCallback(
94
+ (u) => {
95
+ if (!t && !r || h.paused) return;
96
+ const C = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, f = document.activeElement;
97
+ if (C && f) {
98
+ const y = u.currentTarget, [x, P] = yt(y);
99
+ x && P ? !u.shiftKey && f === P ? (u.preventDefault(), t && w(x, { select: !0 })) : u.shiftKey && f === x && (u.preventDefault(), t && w(P, { select: !0 })) : f === y && u.preventDefault();
100
+ }
101
+ },
102
+ [t, r, h.paused]
103
+ );
104
+ return /* @__PURE__ */ c.jsx(F.div, { tabIndex: -1, ...i, ref: v, onKeyDown: b });
105
+ });
106
+ ue.displayName = xt;
107
+ function Ct(e, { select: o = !1 } = {}) {
108
+ const t = document.activeElement;
109
+ for (const r of e)
110
+ if (w(r, { select: o }), document.activeElement !== t) return;
111
+ }
112
+ function yt(e) {
113
+ const o = pe(e), t = ne(o, e), r = ne(o.reverse(), e);
114
+ return [t, r];
115
+ }
116
+ function pe(e) {
117
+ const o = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
118
+ acceptNode: (r) => {
119
+ const s = r.tagName === "INPUT" && r.type === "hidden";
120
+ return r.disabled || r.hidden || s ? NodeFilter.FILTER_SKIP : r.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
121
+ }
122
+ });
123
+ for (; t.nextNode(); ) o.push(t.currentNode);
124
+ return o;
125
+ }
126
+ function ne(e, o) {
127
+ for (const t of e)
128
+ if (!bt(t, { upTo: o })) return t;
129
+ }
130
+ function bt(e, { upTo: o }) {
131
+ if (getComputedStyle(e).visibility === "hidden") return !0;
132
+ for (; e; ) {
133
+ if (o !== void 0 && e === o) return !1;
134
+ if (getComputedStyle(e).display === "none") return !0;
135
+ e = e.parentElement;
136
+ }
137
+ return !1;
138
+ }
139
+ function wt(e) {
140
+ return e instanceof HTMLInputElement && "select" in e;
141
+ }
142
+ function w(e, { select: o = !1 } = {}) {
143
+ if (e && e.focus) {
144
+ const t = document.activeElement;
145
+ e.focus({ preventScroll: !0 }), e !== t && wt(e) && o && e.select();
146
+ }
147
+ }
148
+ var se = At();
149
+ function At() {
150
+ let e = [];
151
+ return {
152
+ add(o) {
153
+ const t = e[0];
154
+ o !== t && (t == null || t.pause()), e = ae(e, o), e.unshift(o);
155
+ },
156
+ remove(o) {
157
+ var t;
158
+ e = ae(e, o), (t = e[0]) == null || t.resume();
159
+ }
160
+ };
161
+ }
162
+ function ae(e, o) {
163
+ const t = [...e], r = t.indexOf(o);
164
+ return r !== -1 && t.splice(r, 1), t;
165
+ }
166
+ function Et(e) {
167
+ return e.filter((o) => o.tagName !== "A");
168
+ }
169
+ var K = "Popper", [de, fe] = ie(K), [Ot, me] = de(K), ve = (e) => {
170
+ const { __scopePopper: o, children: t } = e, [r, s] = l.useState(null);
171
+ return /* @__PURE__ */ c.jsx(Ot, { scope: o, anchor: r, onAnchorChange: s, children: t });
172
+ };
173
+ ve.displayName = K;
174
+ var he = "PopperAnchor", ge = l.forwardRef(
175
+ (e, o) => {
176
+ const { __scopePopper: t, virtualRef: r, ...s } = e, a = me(he, t), i = l.useRef(null), n = S(o, i), p = l.useRef(null);
177
+ return l.useEffect(() => {
178
+ const d = p.current;
179
+ p.current = (r == null ? void 0 : r.current) || i.current, d !== p.current && a.onAnchorChange(p.current);
180
+ }), r ? null : /* @__PURE__ */ c.jsx(F.div, { ...s, ref: n });
181
+ }
182
+ );
183
+ ge.displayName = he;
184
+ var W = "PopperContent", [Rt, Nt] = de(W), Pe = l.forwardRef(
185
+ (e, o) => {
186
+ var G, Z, q, J, Q, ee;
187
+ const {
188
+ __scopePopper: t,
189
+ side: r = "bottom",
190
+ sideOffset: s = 0,
191
+ align: a = "center",
192
+ alignOffset: i = 0,
193
+ arrowPadding: n = 0,
194
+ avoidCollisions: p = !0,
195
+ collisionBoundary: d = [],
196
+ collisionPadding: g = 0,
197
+ sticky: m = "partial",
198
+ hideWhenDetached: v = !1,
199
+ updatePositionStrategy: h = "optimized",
200
+ onPlaced: b,
201
+ ...u
202
+ } = e, C = me(W, t), [f, y] = l.useState(null), x = S(o, (N) => y(N)), [P, j] = l.useState(null), E = ht(P), ke = (E == null ? void 0 : E.width) ?? 0, V = (E == null ? void 0 : E.height) ?? 0, De = r + (a !== "center" ? "-" + a : ""), Le = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, Y = Array.isArray(d) ? d : [d], $e = Y.length > 0, I = {
203
+ padding: Le,
204
+ boundary: Y.filter(St),
205
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
206
+ altBoundary: $e
207
+ }, { refs: He, floatingStyles: X, placement: Ue, isPositioned: M, middlewareData: O } = it({
208
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
209
+ strategy: "fixed",
210
+ placement: De,
211
+ whileElementsMounted: (...N) => vt(...N, {
212
+ animationFrame: h === "always"
213
+ }),
214
+ elements: {
215
+ reference: C.anchor
216
+ },
217
+ middleware: [
218
+ ct({ mainAxis: s + V, alignmentAxis: i }),
219
+ p && lt({
220
+ mainAxis: !0,
221
+ crossAxis: !1,
222
+ limiter: m === "partial" ? mt() : void 0,
223
+ ...I
224
+ }),
225
+ p && ut({ ...I }),
226
+ pt({
227
+ ...I,
228
+ apply: ({ elements: N, rects: te, availableWidth: Be, availableHeight: Ge }) => {
229
+ const { width: Ze, height: qe } = te.reference, D = N.floating.style;
230
+ D.setProperty("--radix-popper-available-width", `${Be}px`), D.setProperty("--radix-popper-available-height", `${Ge}px`), D.setProperty("--radix-popper-anchor-width", `${Ze}px`), D.setProperty("--radix-popper-anchor-height", `${qe}px`);
231
+ }
232
+ }),
233
+ P && dt({ element: P, padding: n }),
234
+ Ft({ arrowWidth: ke, arrowHeight: V }),
235
+ v && ft({ strategy: "referenceHidden", ...I })
236
+ ]
237
+ }), [B, Ke] = ye(Ue), k = U(b);
238
+ oe(() => {
239
+ M && (k == null || k());
240
+ }, [M, k]);
241
+ const We = (G = O.arrow) == null ? void 0 : G.x, ze = (Z = O.arrow) == null ? void 0 : Z.y, Ve = ((q = O.arrow) == null ? void 0 : q.centerOffset) !== 0, [Ye, Xe] = l.useState();
242
+ return oe(() => {
243
+ f && Xe(window.getComputedStyle(f).zIndex);
244
+ }, [f]), /* @__PURE__ */ c.jsx(
245
+ "div",
246
+ {
247
+ ref: He.setFloating,
248
+ "data-radix-popper-content-wrapper": "",
249
+ style: {
250
+ ...X,
251
+ transform: M ? X.transform : "translate(0, -200%)",
252
+ // keep off the page when measuring
253
+ minWidth: "max-content",
254
+ zIndex: Ye,
255
+ "--radix-popper-transform-origin": [
256
+ (J = O.transformOrigin) == null ? void 0 : J.x,
257
+ (Q = O.transformOrigin) == null ? void 0 : Q.y
258
+ ].join(" "),
259
+ // hide the content if using the hide middleware and should be hidden
260
+ // set visibility to hidden and disable pointer events so the UI behaves
261
+ // as if the PopperContent isn't there at all
262
+ ...((ee = O.hide) == null ? void 0 : ee.referenceHidden) && {
263
+ visibility: "hidden",
264
+ pointerEvents: "none"
265
+ }
266
+ },
267
+ dir: e.dir,
268
+ children: /* @__PURE__ */ c.jsx(
269
+ Rt,
270
+ {
271
+ scope: t,
272
+ placedSide: B,
273
+ onArrowChange: j,
274
+ arrowX: We,
275
+ arrowY: ze,
276
+ shouldHideArrow: Ve,
277
+ children: /* @__PURE__ */ c.jsx(
278
+ F.div,
279
+ {
280
+ "data-side": B,
281
+ "data-align": Ke,
282
+ ...u,
283
+ ref: x,
284
+ style: {
285
+ ...u.style,
286
+ // if the PopperContent hasn't been placed yet (not all measurements done)
287
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
288
+ animation: M ? void 0 : "none"
289
+ }
290
+ }
291
+ )
292
+ }
293
+ )
294
+ }
295
+ );
296
+ }
297
+ );
298
+ Pe.displayName = W;
299
+ var xe = "PopperArrow", _t = {
300
+ top: "bottom",
301
+ right: "left",
302
+ bottom: "top",
303
+ left: "right"
304
+ }, Ce = l.forwardRef(function(o, t) {
305
+ const { __scopePopper: r, ...s } = o, a = Nt(xe, r), i = _t[a.placedSide];
306
+ return (
307
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
308
+ // doesn't report size as we'd expect on SVG elements.
309
+ // it reports their bounding box which is effectively the largest path inside the SVG.
310
+ /* @__PURE__ */ c.jsx(
311
+ "span",
312
+ {
313
+ ref: a.onArrowChange,
314
+ style: {
315
+ position: "absolute",
316
+ left: a.arrowX,
317
+ top: a.arrowY,
318
+ [i]: 0,
319
+ transformOrigin: {
320
+ top: "",
321
+ right: "0 0",
322
+ bottom: "center 0",
323
+ left: "100% 0"
324
+ }[a.placedSide],
325
+ transform: {
326
+ top: "translateY(100%)",
327
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
328
+ bottom: "rotate(180deg)",
329
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
330
+ }[a.placedSide],
331
+ visibility: a.shouldHideArrow ? "hidden" : void 0
332
+ },
333
+ children: /* @__PURE__ */ c.jsx(
334
+ at,
335
+ {
336
+ ...s,
337
+ ref: t,
338
+ style: {
339
+ ...s.style,
340
+ // ensures the element can be measured correctly (mostly for if SVG)
341
+ display: "block"
342
+ }
343
+ }
344
+ )
345
+ }
346
+ )
347
+ );
348
+ });
349
+ Ce.displayName = xe;
350
+ function St(e) {
351
+ return e !== null;
352
+ }
353
+ var Ft = (e) => ({
354
+ name: "transformOrigin",
355
+ options: e,
356
+ fn(o) {
357
+ var C, f, y;
358
+ const { placement: t, rects: r, middlewareData: s } = o, i = ((C = s.arrow) == null ? void 0 : C.centerOffset) !== 0, n = i ? 0 : e.arrowWidth, p = i ? 0 : e.arrowHeight, [d, g] = ye(t), m = { start: "0%", center: "50%", end: "100%" }[g], v = (((f = s.arrow) == null ? void 0 : f.x) ?? 0) + n / 2, h = (((y = s.arrow) == null ? void 0 : y.y) ?? 0) + p / 2;
359
+ let b = "", u = "";
360
+ return d === "bottom" ? (b = i ? m : `${v}px`, u = `${-p}px`) : d === "top" ? (b = i ? m : `${v}px`, u = `${r.floating.height + p}px`) : d === "right" ? (b = `${-p}px`, u = i ? m : `${h}px`) : d === "left" && (b = `${r.floating.width + p}px`, u = i ? m : `${h}px`), { data: { x: b, y: u } };
361
+ }
362
+ });
363
+ function ye(e) {
364
+ const [o, t = "center"] = e.split("-");
365
+ return [o, t];
366
+ }
367
+ var Tt = ve, be = ge, jt = Pe, It = Ce, L = "Popover", [we, Do] = ie(L, [
368
+ fe
369
+ ]), T = fe(), [Mt, A] = we(L), Ae = (e) => {
370
+ const {
371
+ __scopePopover: o,
372
+ children: t,
373
+ open: r,
374
+ defaultOpen: s,
375
+ onOpenChange: a,
376
+ modal: i = !1
377
+ } = e, n = T(o), p = l.useRef(null), [d, g] = l.useState(!1), [m, v] = Qe({
378
+ prop: r,
379
+ defaultProp: s ?? !1,
380
+ onChange: a,
381
+ caller: L
382
+ });
383
+ return /* @__PURE__ */ c.jsx(Tt, { ...n, children: /* @__PURE__ */ c.jsx(
384
+ Mt,
385
+ {
386
+ scope: o,
387
+ contentId: st(),
388
+ triggerRef: p,
389
+ open: m,
390
+ onOpenChange: v,
391
+ onOpenToggle: l.useCallback(() => v((h) => !h), [v]),
392
+ hasCustomAnchor: d,
393
+ onCustomAnchorAdd: l.useCallback(() => g(!0), []),
394
+ onCustomAnchorRemove: l.useCallback(() => g(!1), []),
395
+ modal: i,
396
+ children: t
397
+ }
398
+ ) });
399
+ };
400
+ Ae.displayName = L;
401
+ var Ee = "PopoverAnchor", Oe = l.forwardRef(
402
+ (e, o) => {
403
+ const { __scopePopover: t, ...r } = e, s = A(Ee, t), a = T(t), { onCustomAnchorAdd: i, onCustomAnchorRemove: n } = s;
404
+ return l.useEffect(() => (i(), () => n()), [i, n]), /* @__PURE__ */ c.jsx(be, { ...a, ...r, ref: o });
405
+ }
406
+ );
407
+ Oe.displayName = Ee;
408
+ var Re = "PopoverTrigger", Ne = l.forwardRef(
409
+ (e, o) => {
410
+ const { __scopePopover: t, ...r } = e, s = A(Re, t), a = T(t), i = S(o, s.triggerRef), n = /* @__PURE__ */ c.jsx(
411
+ F.button,
412
+ {
413
+ type: "button",
414
+ "aria-haspopup": "dialog",
415
+ "aria-expanded": s.open,
416
+ "aria-controls": s.contentId,
417
+ "data-state": Me(s.open),
418
+ ...r,
419
+ ref: i,
420
+ onClick: _(e.onClick, s.onOpenToggle)
421
+ }
422
+ );
423
+ return s.hasCustomAnchor ? n : /* @__PURE__ */ c.jsx(be, { asChild: !0, ...a, children: n });
424
+ }
425
+ );
426
+ Ne.displayName = Re;
427
+ var z = "PopoverPortal", [kt, Dt] = we(z, {
428
+ forceMount: void 0
429
+ }), _e = (e) => {
430
+ const { __scopePopover: o, forceMount: t, children: r, container: s } = e, a = A(z, o);
431
+ return /* @__PURE__ */ c.jsx(kt, { scope: o, forceMount: t, children: /* @__PURE__ */ c.jsx(ce, { present: t || a.open, children: /* @__PURE__ */ c.jsx(nt, { asChild: !0, container: s, children: r }) }) });
432
+ };
433
+ _e.displayName = z;
434
+ var R = "PopoverContent", Se = l.forwardRef(
435
+ (e, o) => {
436
+ const t = Dt(R, e.__scopePopover), { forceMount: r = t.forceMount, ...s } = e, a = A(R, e.__scopePopover);
437
+ return /* @__PURE__ */ c.jsx(ce, { present: r || a.open, children: a.modal ? /* @__PURE__ */ c.jsx($t, { ...s, ref: o }) : /* @__PURE__ */ c.jsx(Ht, { ...s, ref: o }) });
438
+ }
439
+ );
440
+ Se.displayName = R;
441
+ var Lt = Je("PopoverContent.RemoveScroll"), $t = l.forwardRef(
442
+ (e, o) => {
443
+ const t = A(R, e.__scopePopover), r = l.useRef(null), s = S(o, r), a = l.useRef(!1);
444
+ return l.useEffect(() => {
445
+ const i = r.current;
446
+ if (i) return et(i);
447
+ }, []), /* @__PURE__ */ c.jsx(tt, { as: Lt, allowPinchZoom: !0, children: /* @__PURE__ */ c.jsx(
448
+ Fe,
449
+ {
450
+ ...e,
451
+ ref: s,
452
+ trapFocus: t.open,
453
+ disableOutsidePointerEvents: !0,
454
+ onCloseAutoFocus: _(e.onCloseAutoFocus, (i) => {
455
+ var n;
456
+ i.preventDefault(), a.current || (n = t.triggerRef.current) == null || n.focus();
457
+ }),
458
+ onPointerDownOutside: _(
459
+ e.onPointerDownOutside,
460
+ (i) => {
461
+ const n = i.detail.originalEvent, p = n.button === 0 && n.ctrlKey === !0, d = n.button === 2 || p;
462
+ a.current = d;
463
+ },
464
+ { checkForDefaultPrevented: !1 }
465
+ ),
466
+ onFocusOutside: _(
467
+ e.onFocusOutside,
468
+ (i) => i.preventDefault(),
469
+ { checkForDefaultPrevented: !1 }
470
+ )
471
+ }
472
+ ) });
473
+ }
474
+ ), Ht = l.forwardRef(
475
+ (e, o) => {
476
+ const t = A(R, e.__scopePopover), r = l.useRef(!1), s = l.useRef(!1);
477
+ return /* @__PURE__ */ c.jsx(
478
+ Fe,
479
+ {
480
+ ...e,
481
+ ref: o,
482
+ trapFocus: !1,
483
+ disableOutsidePointerEvents: !1,
484
+ onCloseAutoFocus: (a) => {
485
+ var i, n;
486
+ (i = e.onCloseAutoFocus) == null || i.call(e, a), a.defaultPrevented || (r.current || (n = t.triggerRef.current) == null || n.focus(), a.preventDefault()), r.current = !1, s.current = !1;
487
+ },
488
+ onInteractOutside: (a) => {
489
+ var p, d;
490
+ (p = e.onInteractOutside) == null || p.call(e, a), a.defaultPrevented || (r.current = !0, a.detail.originalEvent.type === "pointerdown" && (s.current = !0));
491
+ const i = a.target;
492
+ ((d = t.triggerRef.current) == null ? void 0 : d.contains(i)) && a.preventDefault(), a.detail.originalEvent.type === "focusin" && s.current && a.preventDefault();
493
+ }
494
+ }
495
+ );
496
+ }
497
+ ), Fe = l.forwardRef(
498
+ (e, o) => {
499
+ const {
500
+ __scopePopover: t,
501
+ trapFocus: r,
502
+ onOpenAutoFocus: s,
503
+ onCloseAutoFocus: a,
504
+ disableOutsidePointerEvents: i,
505
+ onEscapeKeyDown: n,
506
+ onPointerDownOutside: p,
507
+ onFocusOutside: d,
508
+ onInteractOutside: g,
509
+ ...m
510
+ } = e, v = A(R, t), h = T(t);
511
+ return ot(), /* @__PURE__ */ c.jsx(
512
+ ue,
513
+ {
514
+ asChild: !0,
515
+ loop: !0,
516
+ trapped: r,
517
+ onMountAutoFocus: s,
518
+ onUnmountAutoFocus: a,
519
+ children: /* @__PURE__ */ c.jsx(
520
+ rt,
521
+ {
522
+ asChild: !0,
523
+ disableOutsidePointerEvents: i,
524
+ onInteractOutside: g,
525
+ onEscapeKeyDown: n,
526
+ onPointerDownOutside: p,
527
+ onFocusOutside: d,
528
+ onDismiss: () => v.onOpenChange(!1),
529
+ children: /* @__PURE__ */ c.jsx(
530
+ jt,
531
+ {
532
+ "data-state": Me(v.open),
533
+ role: "dialog",
534
+ id: v.contentId,
535
+ ...h,
536
+ ...m,
537
+ ref: o,
538
+ style: {
539
+ ...m.style,
540
+ "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
541
+ "--radix-popover-content-available-width": "var(--radix-popper-available-width)",
542
+ "--radix-popover-content-available-height": "var(--radix-popper-available-height)",
543
+ "--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
544
+ "--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
545
+ }
546
+ }
547
+ )
548
+ }
549
+ )
550
+ }
551
+ );
552
+ }
553
+ ), Te = "PopoverClose", je = l.forwardRef(
554
+ (e, o) => {
555
+ const { __scopePopover: t, ...r } = e, s = A(Te, t);
556
+ return /* @__PURE__ */ c.jsx(
557
+ F.button,
558
+ {
559
+ type: "button",
560
+ ...r,
561
+ ref: o,
562
+ onClick: _(e.onClick, () => s.onOpenChange(!1))
563
+ }
564
+ );
565
+ }
566
+ );
567
+ je.displayName = Te;
568
+ var Ut = "PopoverArrow", Ie = l.forwardRef(
569
+ (e, o) => {
570
+ const { __scopePopover: t, ...r } = e, s = T(t);
571
+ return /* @__PURE__ */ c.jsx(It, { ...s, ...r, ref: o });
572
+ }
573
+ );
574
+ Ie.displayName = Ut;
575
+ function Me(e) {
576
+ return e ? "open" : "closed";
577
+ }
578
+ var Kt = Ae, Wt = Oe, zt = Ne, Vt = _e, Yt = Se, Xt = je, Bt = Ie;
579
+ const Gt = le(
580
+ "z-50 overflow-visible 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",
581
+ {
582
+ variants: {
583
+ color: {
584
+ pink: "bg-pink-400 text-gray-25",
585
+ blue: "bg-blue-400 text-gray-25",
586
+ gray: "bg-gray-700 text-gray-25",
587
+ lime: "bg-lime-400 text-gray-25"
588
+ }
589
+ },
590
+ defaultVariants: {
591
+ color: "gray"
592
+ }
593
+ }
594
+ ), Zt = le("-my-px border-none", {
595
+ variants: {
596
+ color: {
597
+ pink: "fill-pink-400",
598
+ gray: "fill-gray-700",
599
+ blue: "fill-blue-400",
600
+ lime: "fill-lime-400"
601
+ }
602
+ },
603
+ defaultVariants: {
604
+ color: "gray"
605
+ }
606
+ });
607
+ function Lo({ defaultOpen: e = !0, ...o }) {
608
+ return /* @__PURE__ */ c.jsx(Kt, { "data-slot": "impact-tooltip", defaultOpen: e, ...o });
609
+ }
610
+ function $o({ ...e }) {
611
+ return /* @__PURE__ */ c.jsx(zt, { "data-slot": "impact-tooltip-trigger", ...e });
612
+ }
613
+ function Ho({ className: e, ...o }) {
614
+ return /* @__PURE__ */ c.jsx(Wt, { "data-slot": "impact-tooltip-anchor", className: e, ...o });
615
+ }
616
+ function Uo({
617
+ color: e,
618
+ className: o,
619
+ align: t = "center",
620
+ side: r = "top",
621
+ sideOffset: s = 8,
622
+ collisionPadding: a = 20,
623
+ arrowPadding: i = 8.8,
624
+ children: n,
625
+ closeButton: p = !1,
626
+ avoidCollisions: d = !0,
627
+ hideWhenDetached: g = !1,
628
+ updatePositionStrategy: m = "optimized",
629
+ ...v
630
+ }) {
631
+ return /* @__PURE__ */ c.jsx(Vt, { forceMount: v.forceMount, children: /* @__PURE__ */ c.jsxs(
632
+ Yt,
633
+ {
634
+ "data-slot": "impact-tooltip-content",
635
+ side: r,
636
+ align: t,
637
+ sideOffset: s,
638
+ collisionPadding: a,
639
+ arrowPadding: i,
640
+ className: gt(Gt({ color: e, className: o })),
641
+ avoidCollisions: d,
642
+ hideWhenDetached: g,
643
+ updatePositionStrategy: m,
644
+ ...v,
645
+ children: [
646
+ /* @__PURE__ */ c.jsxs("div", { className: "flex items-center justify-between gap-1.25", children: [
647
+ n,
648
+ p && /* @__PURE__ */ c.jsx(qt, { children: /* @__PURE__ */ c.jsx(Pt, { size: 15 }) })
649
+ ] }),
650
+ /* @__PURE__ */ c.jsx(
651
+ Bt,
652
+ {
653
+ className: Zt({ color: e }),
654
+ width: 12,
655
+ height: 6,
656
+ style: { visibility: "visible" }
657
+ }
658
+ )
659
+ ]
660
+ }
661
+ ) });
662
+ }
663
+ function qt({ ...e }) {
664
+ return /* @__PURE__ */ c.jsx(Xt, { "data-slot": "impact-tooltip-close", ...e });
665
+ }
666
+ export {
667
+ Lo as ImpactTooltip,
668
+ Ho as ImpactTooltipAnchor,
669
+ qt as ImpactTooltipCloseButton,
670
+ Uo as ImpactTooltipContent,
671
+ $o as ImpactTooltipTrigger
672
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/jsx-runtime.713F0z8w.js"),p=require("react"),f=require("../../chunks/index.DnJQUgiG.js"),n=require("../../chunks/utils.Gb5_Gcy7.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/jsx-runtime.713F0z8w.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;