@class101/cdn-ui-system 0.0.7 → 0.0.11

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 (1000) hide show
  1. package/chunk-2A2YD3YP.js +22244 -0
  2. package/chunk-37VQUPZR.js +217 -0
  3. package/chunk-BDSNAS3L.js +183 -0
  4. package/chunk-CGEEKALF.js +184 -0
  5. package/chunk-ESGHR2XF.js +603 -0
  6. package/chunk-IFZN3H2K.js +515 -0
  7. package/chunk-IPFBPHEG.js +9145 -0
  8. package/chunk-J3Q2BPOW.js +19 -0
  9. package/chunk-KBZLTPPY.js +58 -0
  10. package/chunk-KTYFPJF3.js +5428 -0
  11. package/chunk-LE44IRCL.js +152 -0
  12. package/chunk-LN36XQS3.js +47 -0
  13. package/chunk-MBYCGPJ2.js +29 -0
  14. package/chunk-O6RRFC57.js +255 -0
  15. package/chunk-QNI6E7MT.js +39 -0
  16. package/chunk-R4HM35UZ.js +84 -0
  17. package/chunk-RYCV4KQR.js +187 -0
  18. package/chunk-SFQY5CLW.js +300 -0
  19. package/chunk-SFWBAQL4.js +21 -0
  20. package/chunk-SPRM5WZD.js +29 -0
  21. package/chunk-SU3NURQK.js +254 -0
  22. package/chunk-T7TBQTBE.js +1510 -0
  23. package/chunk-VIIHQGZ3.js +76 -0
  24. package/chunk-XXMJSYNO.js +952 -0
  25. package/contexts/ImageContext/ImageContext.js +5 -3
  26. package/contexts/ImageContext/index.js +5 -3
  27. package/contexts/LinkContext/LinkContext.js +5 -3
  28. package/contexts/LinkContext/index.js +5 -3
  29. package/contexts/SafeAreaContext/SafeAreaContext.js +11 -0
  30. package/contexts/SafeAreaContext/index.js +10 -0
  31. package/contexts/ScrollContext/ScrollContext.js +18 -0
  32. package/contexts/ScrollContext/index.js +11 -0
  33. package/contexts/UiSystemProvider.js +19 -10
  34. package/core/colors/DarkModeColors.js +6 -3
  35. package/core/colors/LightModeColors.js +6 -3
  36. package/core/index.js +21 -9
  37. package/core/props/action.js +8 -3
  38. package/core/props/animator.js +8 -3
  39. package/core/props/background.js +14 -4
  40. package/core/props/border.js +33 -5
  41. package/core/props/color.js +8 -3
  42. package/core/props/flexbox.js +17 -4
  43. package/core/props/icon.js +8 -3
  44. package/core/props/image.js +15 -6
  45. package/core/props/index.js +47 -22
  46. package/core/props/layout.js +37 -5
  47. package/core/props/position.js +8 -3
  48. package/core/props/shadow.js +8 -3
  49. package/core/props/space.js +8 -3
  50. package/core/props/transform.js +34 -3
  51. package/core/props/transition.js +8 -3
  52. package/core/props/types/ResponsiveValue.js +6 -2
  53. package/core/props/types/SystemComponent.js +6 -2
  54. package/core/props/typography.js +15 -5
  55. package/core/props/utils/calculateResponsiveValues.js +27 -0
  56. package/core/props/utils/getResponsiveValue.js +17 -10
  57. package/core/props/utils/skipForwardProps.js +8 -4
  58. package/core/props/video.js +9 -3
  59. package/core/theme/baseTheme.js +17 -4
  60. package/core/theme/defaultTheme.js +12 -10
  61. package/core/theme/signatureTheme.js +14 -11
  62. package/core/variants/baseVariant/baseVariant.js +7 -5
  63. package/core/variants/baseVariant/index.js +5 -3
  64. package/core/variants/makeStyled/index.js +11 -0
  65. package/core/variants/makeStyled/makeStyled.js +19 -0
  66. package/core/variants/propVariant/index.js +5 -3
  67. package/core/variants/propVariant/propVariant.js +12 -14
  68. package/core/variants/propVariant/propVariant.spec.js +13 -11
  69. package/core/variants/propsVariant/index.js +10 -0
  70. package/core/variants/propsVariant/propsVariant.js +32 -0
  71. package/core/variants/propsVariant/propsVariant.spec.js +73 -0
  72. package/core/variants/styleVariant/index.js +5 -3
  73. package/core/variants/styleVariant/styleVariant.js +21 -14
  74. package/core/variants/styleVariant/styleVariant.spec.js +17 -13
  75. package/core/variants/stylesVariant/index.js +10 -0
  76. package/core/variants/stylesVariant/stylesVariant.js +40 -0
  77. package/core/variants/stylesVariant/stylesVariant.spec.js +52 -0
  78. package/core/variants/system/index.js +5 -3
  79. package/core/variants/system/system.js +27 -19
  80. package/core/variants/system/type.js +6 -0
  81. package/hooks/useIsMobile/index.js +10 -0
  82. package/hooks/useIsMobile/useIsMobile.js +12 -0
  83. package/hooks/useMediaQuery/index.js +10 -0
  84. package/hooks/useMediaQuery/useMediaQuery.js +32 -0
  85. package/hooks/useNativeResponsiveValue/index.js +10 -0
  86. package/hooks/useNativeResponsiveValue/useNativeResponsiveValue.js +42 -0
  87. package/hooks/useResponsiveValue/index.js +5 -3
  88. package/hooks/useResponsiveValue/useResponsiveValue.js +18 -8
  89. package/hooks/useWindowResizeEvent/index.js +10 -0
  90. package/hooks/useWindowResizeEvent/useWindowResizeEvent.js +27 -0
  91. package/index.js +160 -100
  92. package/lib/Accordion/Accordion.js +27 -17
  93. package/lib/Accordion/index.js +5 -3
  94. package/lib/Action/Action.js +18 -15
  95. package/lib/Action/index.js +5 -3
  96. package/lib/Alert/Alert.js +16 -11
  97. package/lib/Alert/index.js +5 -3
  98. package/lib/Animation/Animator/Animator.js +37 -25
  99. package/lib/Animation/Animator/index.js +5 -3
  100. package/lib/Animation/FadeAnimation/FadeAnimation.js +28 -15
  101. package/lib/Animation/FadeAnimation/index.js +5 -3
  102. package/lib/Animation/RotateAnimation/RotateAnimation.js +16 -8
  103. package/lib/Animation/RotateAnimation/index.js +5 -3
  104. package/lib/Animation/SlideAnimation/SlideAnimation.js +20 -10
  105. package/lib/Animation/SlideAnimation/index.js +5 -3
  106. package/lib/Animation/Transition/Transition.js +27 -16
  107. package/lib/Animation/Transition/index.js +5 -3
  108. package/lib/Avatar/Avatar.js +100 -82
  109. package/lib/Avatar/index.js +5 -3
  110. package/lib/Backdrop/Backdrop.js +15 -9
  111. package/lib/Backdrop/index.js +5 -3
  112. package/lib/Background/Background.js +15 -25
  113. package/lib/Background/index.js +5 -3
  114. package/lib/BackgroundImage/BackgroundImage.js +20 -0
  115. package/lib/BackgroundImage/index.js +10 -0
  116. package/lib/BreadCrumb/BreadCrumb.js +21 -12
  117. package/lib/BreadCrumb/index.js +5 -3
  118. package/lib/BulletPagination/BulletPagination.js +37 -0
  119. package/lib/BulletPagination/index.js +10 -0
  120. package/lib/Button/Button/Button.js +69 -19
  121. package/lib/Button/Button/index.js +5 -3
  122. package/lib/Button/ContainedButton/ContainedButton.js +147 -123
  123. package/lib/Button/ContainedButton/index.js +5 -3
  124. package/lib/Button/GhostButton/GhostButton.js +155 -0
  125. package/lib/Button/GhostButton/index.js +10 -0
  126. package/lib/Button/TextButton/TextButton.js +112 -104
  127. package/lib/Button/TextButton/index.js +5 -3
  128. package/lib/Callout/Callout.js +71 -0
  129. package/lib/Callout/index.js +10 -0
  130. package/lib/Chip/FilterChip/FilterChip.js +77 -0
  131. package/lib/Chip/FilterChip/index.js +10 -0
  132. package/lib/Chip/InputChip/InputChip.js +1443 -0
  133. package/lib/Chip/InputChip/index.js +10 -0
  134. package/lib/ConditionalWrapper/ConditionalWrapper.js +6 -3
  135. package/lib/ConditionalWrapper/index.js +5 -3
  136. package/lib/ContentArea/ContentArea.js +41 -0
  137. package/lib/ContentArea/index.js +10 -0
  138. package/lib/Divider/Divider.js +19 -15
  139. package/lib/Divider/index.js +5 -3
  140. package/lib/Dot/Dot.js +29 -0
  141. package/lib/Dot/index.js +10 -0
  142. package/lib/Drawer/Drawer.js +57 -0
  143. package/lib/Drawer/index.js +10 -0
  144. package/lib/Elevation/Elevation.js +18 -7
  145. package/lib/Elevation/index.js +5 -3
  146. package/lib/Form/CardNumberField/CardNumberField.js +28 -0
  147. package/lib/Form/CardNumberField/index.js +10 -0
  148. package/lib/Form/CardNumberInput/CardNumberInput.js +50 -0
  149. package/lib/Form/CardNumberInput/constants.js +16 -0
  150. package/lib/Form/CardNumberInput/index.js +10 -0
  151. package/lib/Form/CardNumberInput/utils.js +48 -0
  152. package/lib/Form/CheckBox/CheckBox.js +26 -20
  153. package/lib/Form/CheckBox/index.js +5 -3
  154. package/lib/Form/CheckBoxField/CheckBoxField.js +26 -17
  155. package/lib/Form/CheckBoxField/index.js +5 -3
  156. package/lib/Form/Description/Description.js +28 -19
  157. package/lib/Form/Description/index.js +5 -3
  158. package/lib/Form/FormField/FormField.js +10 -7
  159. package/lib/Form/FormField/index.js +5 -3
  160. package/lib/Form/HiddenInput/HiddenInput.js +26 -22
  161. package/lib/Form/HiddenInput/index.js +5 -3
  162. package/lib/Form/InlineTextLabel/InlineTextLabel.js +78 -20
  163. package/lib/Form/InlineTextLabel/index.js +5 -3
  164. package/lib/Form/Input/Input.js +23 -46
  165. package/lib/Form/Input/index.js +5 -3
  166. package/lib/Form/Label/Label.js +6 -3
  167. package/lib/Form/Label/index.js +5 -3
  168. package/lib/Form/Radio/Radio.js +47 -0
  169. package/lib/Form/Radio/index.js +10 -0
  170. package/lib/Form/RadioField/RadioField.js +38 -0
  171. package/lib/Form/RadioField/index.js +10 -0
  172. package/lib/Form/RadioGroupField/RadioGroupField.js +49 -0
  173. package/lib/Form/RadioGroupField/index.js +10 -0
  174. package/lib/Form/Range/Range.js +21 -17
  175. package/lib/Form/Range/index.js +5 -3
  176. package/lib/Form/SearchInput/SearchInput.js +72 -0
  177. package/lib/Form/SearchInput/index.js +10 -0
  178. package/lib/Form/Select/Select.js +60 -44
  179. package/lib/Form/Select/index.js +5 -3
  180. package/lib/Form/SelectField/SelectField.js +23 -16
  181. package/lib/Form/SelectField/index.js +5 -3
  182. package/lib/Form/TextArea/TextArea.js +16 -10
  183. package/lib/Form/TextArea/index.js +5 -3
  184. package/lib/Form/TextAreaField/TextAreaField.js +28 -0
  185. package/lib/Form/TextAreaField/index.js +10 -0
  186. package/lib/Form/TextField/TextField.js +23 -16
  187. package/lib/Form/TextField/index.js +5 -3
  188. package/lib/Form/TextInput/TextInput.js +32 -0
  189. package/lib/Form/TextInput/index.js +10 -0
  190. package/lib/Form/TextInput/variants.js +42 -0
  191. package/lib/Form/TextLabel/TextLabel.js +9 -6
  192. package/lib/Form/TextLabel/index.js +5 -3
  193. package/lib/GlobalStyle/GlobalStyle.js +33 -5
  194. package/lib/GlobalStyle/index.js +5 -3
  195. package/lib/GridList/GridList.js +44 -24
  196. package/lib/GridList/__mocks__/index.js +4 -2
  197. package/lib/GridList/index.js +5 -3
  198. package/lib/Highlight/Highlight.js +7 -4
  199. package/lib/Highlight/index.js +5 -3
  200. package/lib/HtmlContentStyle/HtmlContentStyle.js +38 -45
  201. package/lib/HtmlContentStyle/index.js +5 -3
  202. package/lib/Icon/Icon.js +4 -2
  203. package/lib/Icon/fill/Add.js +26 -13
  204. package/lib/Icon/fill/AddCircle.js +26 -13
  205. package/lib/Icon/fill/Alert.js +33 -20
  206. package/lib/Icon/fill/AlertCircle.js +26 -13
  207. package/lib/Icon/fill/Analysis.js +26 -13
  208. package/lib/Icon/fill/AppDownloadCircle.js +26 -13
  209. package/lib/Icon/fill/AppleCircle.js +26 -13
  210. package/lib/Icon/fill/Archive.js +26 -13
  211. package/lib/Icon/fill/ArrowDown.js +26 -13
  212. package/lib/Icon/fill/ArrowLeft.js +26 -13
  213. package/lib/Icon/fill/ArrowRight.js +26 -13
  214. package/lib/Icon/fill/ArrowUp.js +26 -13
  215. package/lib/Icon/fill/Badge.js +26 -13
  216. package/lib/Icon/fill/Bell.js +26 -13
  217. package/lib/Icon/fill/BellOff.js +26 -13
  218. package/lib/Icon/fill/Bold.js +26 -13
  219. package/lib/Icon/fill/Bookmark.js +26 -13
  220. package/lib/Icon/fill/Camera.js +26 -13
  221. package/lib/Icon/fill/Canlendar.js +26 -13
  222. package/lib/Icon/fill/Caption.js +29 -16
  223. package/lib/Icon/fill/Cart.js +32 -0
  224. package/lib/Icon/fill/Check.js +33 -20
  225. package/lib/Icon/fill/CheckCircle.js +26 -13
  226. package/lib/Icon/fill/CheckboxIndeterminated.js +26 -13
  227. package/lib/Icon/fill/CheckboxOff.js +26 -13
  228. package/lib/Icon/fill/CheckboxOn.js +26 -13
  229. package/lib/Icon/fill/ChevronDown.js +26 -13
  230. package/lib/Icon/fill/ChevronLeft.js +26 -13
  231. package/lib/Icon/fill/ChevronRight.js +26 -13
  232. package/lib/Icon/fill/ChevronUp.js +26 -13
  233. package/lib/Icon/fill/Clap.js +26 -13
  234. package/lib/Icon/fill/ClearStyle.js +26 -13
  235. package/lib/Icon/fill/Clip.js +26 -13
  236. package/lib/Icon/fill/Clock.js +33 -20
  237. package/lib/Icon/fill/Close.js +26 -13
  238. package/lib/Icon/fill/CloseCircle.js +26 -13
  239. package/lib/Icon/fill/Comment.js +26 -13
  240. package/lib/Icon/fill/Compass.js +26 -13
  241. package/lib/Icon/fill/Confetti.js +34 -21
  242. package/lib/Icon/fill/Contents.js +26 -13
  243. package/lib/Icon/fill/Copy.js +29 -16
  244. package/lib/Icon/fill/Coupon.js +26 -13
  245. package/lib/Icon/fill/CreditCard.js +26 -13
  246. package/lib/Icon/fill/Crop.js +26 -13
  247. package/lib/Icon/fill/Crown.js +26 -13
  248. package/lib/Icon/fill/DepositPassbook.js +26 -13
  249. package/lib/Icon/fill/Design.js +29 -16
  250. package/lib/Icon/fill/Development.js +26 -13
  251. package/lib/Icon/fill/DisclosureDown.js +26 -13
  252. package/lib/Icon/fill/DisclosureUp.js +26 -13
  253. package/lib/Icon/fill/Dislike.js +26 -13
  254. package/lib/Icon/fill/Divider.js +26 -13
  255. package/lib/Icon/fill/Download.js +29 -16
  256. package/lib/Icon/fill/DropDown.js +26 -13
  257. package/lib/Icon/fill/DropUp.js +26 -13
  258. package/lib/Icon/fill/Earybird.js +26 -13
  259. package/lib/Icon/fill/Edit.js +28 -15
  260. package/lib/Icon/fill/EyeOff.js +26 -13
  261. package/lib/Icon/fill/EyeOn.js +29 -16
  262. package/lib/Icon/fill/FacebookCircle.js +26 -13
  263. package/lib/Icon/fill/Filter.js +26 -13
  264. package/lib/Icon/fill/FullScreen.js +26 -13
  265. package/lib/Icon/fill/FullScreenExit.js +26 -13
  266. package/lib/Icon/fill/Gear.js +28 -15
  267. package/lib/Icon/fill/Ghost.js +26 -13
  268. package/lib/Icon/fill/Gift.js +26 -13
  269. package/lib/Icon/fill/Groove.js +26 -13
  270. package/lib/Icon/fill/Hashtag.js +26 -13
  271. package/lib/Icon/fill/Heart.js +26 -13
  272. package/lib/Icon/fill/HeartFull.js +26 -13
  273. package/lib/Icon/fill/HelpCircle.js +26 -13
  274. package/lib/Icon/fill/Home.js +26 -13
  275. package/lib/Icon/fill/Hot.js +26 -13
  276. package/lib/Icon/fill/InfoCircle.js +26 -13
  277. package/lib/Icon/fill/InstagramCircle.js +29 -16
  278. package/lib/Icon/fill/Laptop.js +26 -13
  279. package/lib/Icon/fill/Like.js +26 -13
  280. package/lib/Icon/fill/Link.js +29 -16
  281. package/lib/Icon/fill/LinkOutside.js +29 -16
  282. package/lib/Icon/fill/ListBullet.js +26 -13
  283. package/lib/Icon/fill/ListNumber.js +26 -13
  284. package/lib/Icon/fill/Location.js +26 -13
  285. package/lib/Icon/fill/LocationCurrent.js +26 -13
  286. package/lib/Icon/fill/Lock.js +26 -13
  287. package/lib/Icon/fill/LockOff.js +26 -13
  288. package/lib/Icon/fill/Logout.js +26 -13
  289. package/lib/Icon/fill/Menu.js +26 -13
  290. package/lib/Icon/fill/Message.js +32 -19
  291. package/lib/Icon/fill/Mic.js +29 -16
  292. package/lib/Icon/fill/Minus.js +26 -13
  293. package/lib/Icon/fill/MinusCircle.js +26 -13
  294. package/lib/Icon/fill/Mobile.js +26 -13
  295. package/lib/Icon/fill/Monitor.js +26 -13
  296. package/lib/Icon/fill/MoreHorizontal.js +26 -13
  297. package/lib/Icon/fill/MoreVertical.js +26 -13
  298. package/lib/Icon/fill/NaverCircle.js +26 -13
  299. package/lib/Icon/fill/Notice.js +26 -13
  300. package/lib/Icon/fill/Oa.js +26 -13
  301. package/lib/Icon/fill/Paper1.js +26 -13
  302. package/lib/Icon/fill/Paper2.js +26 -13
  303. package/lib/Icon/fill/Paper3.js +26 -13
  304. package/lib/Icon/fill/Person.js +29 -16
  305. package/lib/Icon/fill/Phone.js +26 -13
  306. package/lib/Icon/fill/Photo.js +29 -16
  307. package/lib/Icon/fill/PhotoAdd.js +29 -16
  308. package/lib/Icon/fill/PhotoDouble.js +32 -19
  309. package/lib/Icon/fill/Pin.js +26 -13
  310. package/lib/Icon/fill/Pip.js +29 -16
  311. package/lib/Icon/fill/Play.js +26 -13
  312. package/lib/Icon/fill/PlayBackA.js +32 -19
  313. package/lib/Icon/fill/PlayCircle.js +26 -13
  314. package/lib/Icon/fill/PlayFast.js +26 -13
  315. package/lib/Icon/fill/PlayFast10Sec.js +29 -16
  316. package/lib/Icon/fill/PlayFast15Sec.js +29 -16
  317. package/lib/Icon/fill/PlayFast5Sec.js +29 -16
  318. package/lib/Icon/fill/PlayNext.js +26 -13
  319. package/lib/Icon/fill/PlayPause.js +26 -13
  320. package/lib/Icon/fill/PlayPrev.js +26 -13
  321. package/lib/Icon/fill/PlayRewind10Sec.js +29 -16
  322. package/lib/Icon/fill/PlayRewind15Sec.js +29 -16
  323. package/lib/Icon/fill/PlayRewind5Sec.js +29 -16
  324. package/lib/Icon/fill/PlaySpeedX025.js +26 -13
  325. package/lib/Icon/fill/PlaySpeedX05.js +26 -13
  326. package/lib/Icon/fill/PlaySpeedX1.js +26 -13
  327. package/lib/Icon/fill/PlaySpeedX15.js +26 -13
  328. package/lib/Icon/fill/PlaySpeedX2.js +26 -13
  329. package/lib/Icon/fill/PlaystoreCircle.js +26 -13
  330. package/lib/Icon/fill/PointCircle.js +29 -16
  331. package/lib/Icon/fill/Project.js +26 -13
  332. package/lib/Icon/fill/Quote.js +26 -13
  333. package/lib/Icon/fill/QuoteReverse.js +26 -13
  334. package/lib/Icon/fill/Receipt.js +26 -13
  335. package/lib/Icon/fill/Repeat.js +26 -13
  336. package/lib/Icon/fill/Replay.js +29 -16
  337. package/lib/Icon/fill/Reply.js +26 -13
  338. package/lib/Icon/fill/Report.js +26 -13
  339. package/lib/Icon/fill/Rocket.js +26 -13
  340. package/lib/Icon/fill/RotateClockwise.js +33 -20
  341. package/lib/Icon/fill/Sad.js +26 -13
  342. package/lib/Icon/fill/Search.js +26 -13
  343. package/lib/Icon/fill/Send.js +26 -13
  344. package/lib/Icon/fill/Send2.js +26 -13
  345. package/lib/Icon/fill/Serious.js +26 -13
  346. package/lib/Icon/fill/Share.js +29 -16
  347. package/lib/Icon/fill/Sheild.js +26 -13
  348. package/lib/Icon/fill/ShippingTruck.js +29 -16
  349. package/lib/Icon/fill/Smile.js +26 -13
  350. package/lib/Icon/fill/SocialMedia.js +26 -13
  351. package/lib/Icon/fill/Sorting.js +32 -19
  352. package/lib/Icon/fill/Square.js +26 -13
  353. package/lib/Icon/fill/Star.js +26 -13
  354. package/lib/Icon/fill/StarFull.js +26 -13
  355. package/lib/Icon/fill/StarHalf.js +26 -13
  356. package/lib/Icon/fill/Stock.js +26 -13
  357. package/lib/Icon/fill/Store.js +26 -13
  358. package/lib/Icon/fill/Subtitle.js +26 -13
  359. package/lib/Icon/fill/TalkHelp.js +33 -20
  360. package/lib/Icon/fill/TextH1.js +26 -13
  361. package/lib/Icon/fill/TextH2.js +26 -13
  362. package/lib/Icon/fill/TextH3.js +26 -13
  363. package/lib/Icon/fill/ThunderCircle.js +26 -13
  364. package/lib/Icon/fill/Timer.js +26 -13
  365. package/lib/Icon/fill/ToggleOff.js +26 -13
  366. package/lib/Icon/fill/ToggleOn.js +26 -13
  367. package/lib/Icon/fill/ToteBag.js +26 -13
  368. package/lib/Icon/fill/Trash.js +26 -13
  369. package/lib/Icon/fill/TwitterCircle.js +26 -13
  370. package/lib/Icon/fill/Undo.js +26 -13
  371. package/lib/Icon/fill/Video.js +26 -13
  372. package/lib/Icon/fill/Volume.js +29 -16
  373. package/lib/Icon/fill/VolumeMute.js +26 -13
  374. package/lib/Icon/fill/Web.js +26 -13
  375. package/lib/Icon/fill/Won.js +26 -13
  376. package/lib/Icon/fill/WonBadge.js +26 -13
  377. package/lib/Icon/fill/WonCircle.js +26 -13
  378. package/lib/Icon/fill/Write.js +26 -13
  379. package/lib/Icon/fill/YoutubeCircle.js +29 -16
  380. package/lib/Icon/fill/index.js +182 -178
  381. package/lib/Icon/index.js +4 -2
  382. package/lib/Icon/regular/Add.js +26 -13
  383. package/lib/Icon/regular/AddCircle.js +29 -16
  384. package/lib/Icon/regular/Alert.js +29 -16
  385. package/lib/Icon/regular/AlertCircle.js +29 -16
  386. package/lib/Icon/regular/Analysis.js +26 -13
  387. package/lib/Icon/regular/AppDownloadCircle.js +32 -19
  388. package/lib/Icon/regular/AppleCircle.js +31 -18
  389. package/lib/Icon/regular/Archive.js +29 -16
  390. package/lib/Icon/regular/ArrowDown.js +26 -13
  391. package/lib/Icon/regular/ArrowLeft.js +26 -13
  392. package/lib/Icon/regular/ArrowRight.js +26 -13
  393. package/lib/Icon/regular/ArrowUp.js +26 -13
  394. package/lib/Icon/regular/Badge.js +29 -16
  395. package/lib/Icon/regular/Bell.js +31 -18
  396. package/lib/Icon/regular/BellOff.js +31 -18
  397. package/lib/Icon/regular/Bold.js +26 -13
  398. package/lib/Icon/regular/Bookmark.js +26 -13
  399. package/lib/Icon/regular/Camera.js +29 -16
  400. package/lib/Icon/regular/Canlendar.js +29 -16
  401. package/lib/Icon/regular/Caption.js +29 -16
  402. package/lib/Icon/regular/Cart.js +32 -0
  403. package/lib/Icon/regular/Check.js +26 -13
  404. package/lib/Icon/regular/CheckCircle.js +29 -16
  405. package/lib/Icon/regular/CheckboxIndeterminated.js +26 -13
  406. package/lib/Icon/regular/CheckboxOff.js +26 -13
  407. package/lib/Icon/regular/CheckboxOn.js +26 -13
  408. package/lib/Icon/regular/ChevronDown.js +26 -13
  409. package/lib/Icon/regular/ChevronLeft.js +26 -13
  410. package/lib/Icon/regular/ChevronRight.js +26 -13
  411. package/lib/Icon/regular/ChevronUp.js +26 -13
  412. package/lib/Icon/regular/Clap.js +29 -16
  413. package/lib/Icon/regular/ClearStyle.js +26 -13
  414. package/lib/Icon/regular/Clip.js +26 -13
  415. package/lib/Icon/regular/Clock.js +31 -18
  416. package/lib/Icon/regular/Close.js +26 -13
  417. package/lib/Icon/regular/CloseCircle.js +29 -16
  418. package/lib/Icon/regular/Comment.js +29 -16
  419. package/lib/Icon/regular/Compass.js +29 -16
  420. package/lib/Icon/regular/Confetti.js +26 -13
  421. package/lib/Icon/regular/Contents.js +29 -16
  422. package/lib/Icon/regular/Copy.js +29 -16
  423. package/lib/Icon/regular/Coupon.js +26 -13
  424. package/lib/Icon/regular/CreditCard.js +26 -13
  425. package/lib/Icon/regular/Crop.js +26 -13
  426. package/lib/Icon/regular/Crown.js +26 -13
  427. package/lib/Icon/regular/DepositPassbook.js +26 -13
  428. package/lib/Icon/regular/Design.js +29 -16
  429. package/lib/Icon/regular/Development.js +26 -13
  430. package/lib/Icon/regular/DisclosureDown.js +26 -13
  431. package/lib/Icon/regular/DisclosureUp.js +26 -13
  432. package/lib/Icon/regular/Dislike.js +33 -20
  433. package/lib/Icon/regular/Divider.js +26 -13
  434. package/lib/Icon/regular/Download.js +29 -16
  435. package/lib/Icon/regular/DropDown.js +26 -13
  436. package/lib/Icon/regular/DropUp.js +26 -13
  437. package/lib/Icon/regular/Earybird.js +29 -16
  438. package/lib/Icon/regular/Edit.js +26 -13
  439. package/lib/Icon/regular/EyeOff.js +26 -13
  440. package/lib/Icon/regular/EyeOn.js +29 -16
  441. package/lib/Icon/regular/FacebookCircle.js +31 -18
  442. package/lib/Icon/regular/Filter.js +26 -13
  443. package/lib/Icon/regular/FullScreen.js +26 -13
  444. package/lib/Icon/regular/FullScreenExit.js +26 -13
  445. package/lib/Icon/regular/Gear.js +28 -15
  446. package/lib/Icon/regular/Ghost.js +29 -16
  447. package/lib/Icon/regular/Gift.js +26 -13
  448. package/lib/Icon/regular/Groove.js +26 -13
  449. package/lib/Icon/regular/Hashtag.js +26 -13
  450. package/lib/Icon/regular/Heart.js +26 -13
  451. package/lib/Icon/regular/HeartFull.js +26 -13
  452. package/lib/Icon/regular/HelpCircle.js +29 -16
  453. package/lib/Icon/regular/Home.js +29 -16
  454. package/lib/Icon/regular/Hot.js +29 -16
  455. package/lib/Icon/regular/InfoCircle.js +29 -16
  456. package/lib/Icon/regular/InstagramCircle.js +32 -19
  457. package/lib/Icon/regular/Laptop.js +26 -13
  458. package/lib/Icon/regular/Like.js +26 -13
  459. package/lib/Icon/regular/Link.js +29 -16
  460. package/lib/Icon/regular/LinkOutside.js +29 -16
  461. package/lib/Icon/regular/ListBullet.js +26 -13
  462. package/lib/Icon/regular/ListNumber.js +26 -13
  463. package/lib/Icon/regular/Location.js +29 -16
  464. package/lib/Icon/regular/LocationCurrent.js +26 -13
  465. package/lib/Icon/regular/Lock.js +29 -16
  466. package/lib/Icon/regular/LockOff.js +29 -16
  467. package/lib/Icon/regular/Logout.js +26 -13
  468. package/lib/Icon/regular/Menu.js +26 -13
  469. package/lib/Icon/regular/Message.js +26 -13
  470. package/lib/Icon/regular/Mic.js +29 -16
  471. package/lib/Icon/regular/Minus.js +26 -13
  472. package/lib/Icon/regular/MinusCircle.js +29 -16
  473. package/lib/Icon/regular/Mobile.js +29 -16
  474. package/lib/Icon/regular/Monitor.js +26 -13
  475. package/lib/Icon/regular/MoreHorizontal.js +26 -13
  476. package/lib/Icon/regular/MoreVertical.js +26 -13
  477. package/lib/Icon/regular/NaverCircle.js +29 -16
  478. package/lib/Icon/regular/Notice.js +26 -13
  479. package/lib/Icon/regular/Oa.js +26 -13
  480. package/lib/Icon/regular/Paper1.js +26 -13
  481. package/lib/Icon/regular/Paper2.js +29 -16
  482. package/lib/Icon/regular/Paper3.js +29 -16
  483. package/lib/Icon/regular/Person.js +26 -13
  484. package/lib/Icon/regular/Phone.js +26 -13
  485. package/lib/Icon/regular/Photo.js +29 -16
  486. package/lib/Icon/regular/PhotoAdd.js +32 -19
  487. package/lib/Icon/regular/PhotoDouble.js +32 -19
  488. package/lib/Icon/regular/Pin.js +26 -13
  489. package/lib/Icon/regular/Pip.js +29 -16
  490. package/lib/Icon/regular/Play.js +26 -13
  491. package/lib/Icon/regular/PlayBackA.js +32 -19
  492. package/lib/Icon/regular/PlayCircle.js +29 -16
  493. package/lib/Icon/regular/PlayFast.js +26 -13
  494. package/lib/Icon/regular/PlayFast10Sec.js +29 -16
  495. package/lib/Icon/regular/PlayFast15Sec.js +29 -16
  496. package/lib/Icon/regular/PlayFast5Sec.js +29 -16
  497. package/lib/Icon/regular/PlayNext.js +26 -13
  498. package/lib/Icon/regular/PlayPause.js +26 -13
  499. package/lib/Icon/regular/PlayPrev.js +26 -13
  500. package/lib/Icon/regular/PlayRewind10Sec.js +29 -16
  501. package/lib/Icon/regular/PlayRewind15Sec.js +29 -16
  502. package/lib/Icon/regular/PlayRewind5Sec.js +29 -16
  503. package/lib/Icon/regular/PlaySpeedX025.js +26 -13
  504. package/lib/Icon/regular/PlaySpeedX05.js +26 -13
  505. package/lib/Icon/regular/PlaySpeedX1.js +26 -13
  506. package/lib/Icon/regular/PlaySpeedX15.js +26 -13
  507. package/lib/Icon/regular/PlaySpeedX2.js +26 -13
  508. package/lib/Icon/regular/PlaystoreCircle.js +29 -16
  509. package/lib/Icon/regular/PointCircle.js +29 -16
  510. package/lib/Icon/regular/Project.js +26 -13
  511. package/lib/Icon/regular/Quote.js +26 -13
  512. package/lib/Icon/regular/QuoteReverse.js +26 -13
  513. package/lib/Icon/regular/Receipt.js +29 -16
  514. package/lib/Icon/regular/Repeat.js +26 -13
  515. package/lib/Icon/regular/Replay.js +29 -16
  516. package/lib/Icon/regular/Reply.js +31 -18
  517. package/lib/Icon/regular/Report.js +26 -13
  518. package/lib/Icon/regular/Rocket.js +29 -16
  519. package/lib/Icon/regular/RotateClockwise.js +26 -13
  520. package/lib/Icon/regular/Sad.js +32 -19
  521. package/lib/Icon/regular/Search.js +26 -13
  522. package/lib/Icon/regular/Send.js +26 -13
  523. package/lib/Icon/regular/Send2.js +26 -13
  524. package/lib/Icon/regular/Serious.js +29 -16
  525. package/lib/Icon/regular/Share.js +29 -16
  526. package/lib/Icon/regular/Sheild.js +29 -16
  527. package/lib/Icon/regular/ShippingTruck.js +26 -13
  528. package/lib/Icon/regular/Smile.js +29 -16
  529. package/lib/Icon/regular/SocialMedia.js +29 -16
  530. package/lib/Icon/regular/Sorting.js +32 -19
  531. package/lib/Icon/regular/Square.js +26 -13
  532. package/lib/Icon/regular/Star.js +26 -13
  533. package/lib/Icon/regular/StarFull.js +26 -13
  534. package/lib/Icon/regular/StarHalf.js +26 -13
  535. package/lib/Icon/regular/Stock.js +26 -13
  536. package/lib/Icon/regular/Store.js +26 -13
  537. package/lib/Icon/regular/Subtitle.js +29 -16
  538. package/lib/Icon/regular/TalkHelp.js +29 -16
  539. package/lib/Icon/regular/TextH1.js +26 -13
  540. package/lib/Icon/regular/TextH2.js +26 -13
  541. package/lib/Icon/regular/TextH3.js +26 -13
  542. package/lib/Icon/regular/ThunderCircle.js +29 -16
  543. package/lib/Icon/regular/Timer.js +31 -18
  544. package/lib/Icon/regular/ToggleOff.js +26 -13
  545. package/lib/Icon/regular/ToggleOn.js +26 -13
  546. package/lib/Icon/regular/ToteBag.js +26 -13
  547. package/lib/Icon/regular/Trash.js +29 -16
  548. package/lib/Icon/regular/Twitter.js +32 -0
  549. package/lib/Icon/regular/TwitterCircle.js +29 -16
  550. package/lib/Icon/regular/Undo.js +26 -13
  551. package/lib/Icon/regular/Video.js +29 -16
  552. package/lib/Icon/regular/Volume.js +29 -16
  553. package/lib/Icon/regular/VolumeMute.js +26 -13
  554. package/lib/Icon/regular/Web.js +26 -13
  555. package/lib/Icon/regular/Won.js +26 -13
  556. package/lib/Icon/regular/WonBadge.js +29 -16
  557. package/lib/Icon/regular/WonCircle.js +29 -16
  558. package/lib/Icon/regular/Write.js +26 -13
  559. package/lib/Icon/regular/YoutubeCircle.js +29 -16
  560. package/lib/Icon/regular/index.js +184 -178
  561. package/lib/Icon/thin/Add.js +26 -13
  562. package/lib/Icon/thin/AddCircle.js +29 -16
  563. package/lib/Icon/thin/Alert.js +35 -22
  564. package/lib/Icon/thin/AlertCircle.js +29 -16
  565. package/lib/Icon/thin/Analysis.js +26 -13
  566. package/lib/Icon/thin/AppDownloadCircle.js +29 -16
  567. package/lib/Icon/thin/AppleCircle.js +31 -18
  568. package/lib/Icon/thin/Archive.js +29 -16
  569. package/lib/Icon/thin/ArrowDown.js +26 -13
  570. package/lib/Icon/thin/ArrowLeft.js +26 -13
  571. package/lib/Icon/thin/ArrowRight.js +26 -13
  572. package/lib/Icon/thin/ArrowUp.js +26 -13
  573. package/lib/Icon/thin/Badge.js +29 -16
  574. package/lib/Icon/thin/Bell.js +26 -13
  575. package/lib/Icon/thin/BellOff.js +26 -13
  576. package/lib/Icon/thin/Bold.js +26 -13
  577. package/lib/Icon/thin/Bookmark.js +26 -13
  578. package/lib/Icon/thin/Camera.js +29 -16
  579. package/lib/Icon/thin/Canlendar.js +29 -16
  580. package/lib/Icon/thin/Caption.js +29 -16
  581. package/lib/Icon/thin/Cart.js +32 -0
  582. package/lib/Icon/thin/Check.js +26 -13
  583. package/lib/Icon/thin/CheckCircle.js +29 -16
  584. package/lib/Icon/thin/CheckboxIndeterminated.js +28 -15
  585. package/lib/Icon/thin/CheckboxOff.js +26 -13
  586. package/lib/Icon/thin/CheckboxOn.js +28 -15
  587. package/lib/Icon/thin/ChevronDown.js +26 -13
  588. package/lib/Icon/thin/ChevronLeft.js +26 -13
  589. package/lib/Icon/thin/ChevronRight.js +26 -13
  590. package/lib/Icon/thin/ChevronUp.js +26 -13
  591. package/lib/Icon/thin/Clap.js +26 -13
  592. package/lib/Icon/thin/ClearStyle.js +26 -13
  593. package/lib/Icon/thin/Clip.js +26 -13
  594. package/lib/Icon/thin/Clock.js +29 -16
  595. package/lib/Icon/thin/Close.js +26 -13
  596. package/lib/Icon/thin/CloseCircle.js +29 -16
  597. package/lib/Icon/thin/Comment.js +29 -16
  598. package/lib/Icon/thin/Compass.js +29 -16
  599. package/lib/Icon/thin/Confetti.js +26 -13
  600. package/lib/Icon/thin/Contents.js +29 -16
  601. package/lib/Icon/thin/Copy.js +29 -16
  602. package/lib/Icon/thin/Coupon.js +26 -13
  603. package/lib/Icon/thin/CreditCard.js +26 -13
  604. package/lib/Icon/thin/Crop.js +26 -13
  605. package/lib/Icon/thin/Crown.js +26 -13
  606. package/lib/Icon/thin/DepositPassbook.js +26 -13
  607. package/lib/Icon/thin/Design.js +29 -16
  608. package/lib/Icon/thin/Development.js +26 -13
  609. package/lib/Icon/thin/DisclosureDown.js +26 -13
  610. package/lib/Icon/thin/DisclosureUp.js +26 -13
  611. package/lib/Icon/thin/Dislike.js +33 -20
  612. package/lib/Icon/thin/Divider.js +26 -13
  613. package/lib/Icon/thin/Download.js +29 -16
  614. package/lib/Icon/thin/DropDown.js +26 -13
  615. package/lib/Icon/thin/DropUp.js +26 -13
  616. package/lib/Icon/thin/Earybird.js +29 -16
  617. package/lib/Icon/thin/Edit.js +26 -13
  618. package/lib/Icon/thin/EyeOff.js +26 -13
  619. package/lib/Icon/thin/EyeOn.js +29 -16
  620. package/lib/Icon/thin/FacebookCircle.js +31 -18
  621. package/lib/Icon/thin/Filter.js +26 -13
  622. package/lib/Icon/thin/FullScreen.js +26 -13
  623. package/lib/Icon/thin/FullScreenExit.js +26 -13
  624. package/lib/Icon/thin/Gear.js +26 -13
  625. package/lib/Icon/thin/Ghost.js +29 -16
  626. package/lib/Icon/thin/Gift.js +26 -13
  627. package/lib/Icon/thin/Groove.js +26 -13
  628. package/lib/Icon/thin/Hashtag.js +26 -13
  629. package/lib/Icon/thin/Heart.js +26 -13
  630. package/lib/Icon/thin/HeartFull.js +26 -13
  631. package/lib/Icon/thin/HelpCircle.js +29 -16
  632. package/lib/Icon/thin/Home.js +29 -16
  633. package/lib/Icon/thin/Hot.js +29 -16
  634. package/lib/Icon/thin/InfoCircle.js +29 -16
  635. package/lib/Icon/thin/InstagramCircle.js +32 -19
  636. package/lib/Icon/thin/Laptop.js +26 -13
  637. package/lib/Icon/thin/Like.js +26 -13
  638. package/lib/Icon/thin/Link.js +29 -16
  639. package/lib/Icon/thin/LinkOutside.js +29 -16
  640. package/lib/Icon/thin/ListBullet.js +26 -13
  641. package/lib/Icon/thin/ListNumber.js +26 -13
  642. package/lib/Icon/thin/Location.js +29 -16
  643. package/lib/Icon/thin/LocationCurrent.js +26 -13
  644. package/lib/Icon/thin/Lock.js +29 -16
  645. package/lib/Icon/thin/LockOff.js +29 -16
  646. package/lib/Icon/thin/Logout.js +26 -13
  647. package/lib/Icon/thin/Menu.js +26 -13
  648. package/lib/Icon/thin/Message.js +26 -13
  649. package/lib/Icon/thin/Mic.js +29 -16
  650. package/lib/Icon/thin/Minus.js +26 -13
  651. package/lib/Icon/thin/MinusCircle.js +29 -16
  652. package/lib/Icon/thin/Mobile.js +29 -16
  653. package/lib/Icon/thin/Monitor.js +26 -13
  654. package/lib/Icon/thin/MoreHorizontal.js +26 -13
  655. package/lib/Icon/thin/MoreVertical.js +26 -13
  656. package/lib/Icon/thin/NaverCircle.js +29 -16
  657. package/lib/Icon/thin/Notice.js +26 -13
  658. package/lib/Icon/thin/Oa.js +26 -13
  659. package/lib/Icon/thin/Paper1.js +26 -13
  660. package/lib/Icon/thin/Paper2.js +29 -16
  661. package/lib/Icon/thin/Paper3.js +29 -16
  662. package/lib/Icon/thin/Person.js +26 -13
  663. package/lib/Icon/thin/Phone.js +26 -13
  664. package/lib/Icon/thin/Photo.js +29 -16
  665. package/lib/Icon/thin/PhotoAdd.js +29 -16
  666. package/lib/Icon/thin/PhotoDouble.js +29 -16
  667. package/lib/Icon/thin/Pin.js +26 -13
  668. package/lib/Icon/thin/Pip.js +29 -16
  669. package/lib/Icon/thin/Play.js +26 -13
  670. package/lib/Icon/thin/PlayBackA.js +26 -13
  671. package/lib/Icon/thin/PlayCircle.js +29 -16
  672. package/lib/Icon/thin/PlayFast.js +26 -13
  673. package/lib/Icon/thin/PlayFast10Sec.js +29 -16
  674. package/lib/Icon/thin/PlayFast15Sec.js +29 -16
  675. package/lib/Icon/thin/PlayFast5Sec.js +29 -16
  676. package/lib/Icon/thin/PlayNext.js +26 -13
  677. package/lib/Icon/thin/PlayPause.js +26 -13
  678. package/lib/Icon/thin/PlayPrev.js +26 -13
  679. package/lib/Icon/thin/PlayRewind10Sec.js +29 -16
  680. package/lib/Icon/thin/PlayRewind15Sec.js +29 -16
  681. package/lib/Icon/thin/PlayRewind5Sec.js +29 -16
  682. package/lib/Icon/thin/PlaySpeedX025.js +26 -13
  683. package/lib/Icon/thin/PlaySpeedX05.js +26 -13
  684. package/lib/Icon/thin/PlaySpeedX1.js +26 -13
  685. package/lib/Icon/thin/PlaySpeedX15.js +26 -13
  686. package/lib/Icon/thin/PlaySpeedX2.js +26 -13
  687. package/lib/Icon/thin/PlaystoreCircle.js +29 -16
  688. package/lib/Icon/thin/PointCircle.js +29 -16
  689. package/lib/Icon/thin/Project.js +26 -13
  690. package/lib/Icon/thin/Quote.js +26 -13
  691. package/lib/Icon/thin/QuoteReverse.js +26 -13
  692. package/lib/Icon/thin/Receipt.js +29 -16
  693. package/lib/Icon/thin/Repeat.js +26 -13
  694. package/lib/Icon/thin/Replay.js +29 -16
  695. package/lib/Icon/thin/Reply.js +29 -16
  696. package/lib/Icon/thin/Report.js +26 -13
  697. package/lib/Icon/thin/Rocket.js +29 -16
  698. package/lib/Icon/thin/RotateClockwise.js +29 -16
  699. package/lib/Icon/thin/Sad.js +32 -19
  700. package/lib/Icon/thin/Search.js +26 -13
  701. package/lib/Icon/thin/Send.js +26 -13
  702. package/lib/Icon/thin/Send2.js +26 -13
  703. package/lib/Icon/thin/Serious.js +35 -22
  704. package/lib/Icon/thin/Share.js +29 -16
  705. package/lib/Icon/thin/Sheild.js +29 -16
  706. package/lib/Icon/thin/ShippingTruck.js +26 -13
  707. package/lib/Icon/thin/Smile.js +32 -19
  708. package/lib/Icon/thin/SocialMedia.js +29 -16
  709. package/lib/Icon/thin/Sorting.js +26 -13
  710. package/lib/Icon/thin/Square.js +26 -13
  711. package/lib/Icon/thin/Star.js +26 -13
  712. package/lib/Icon/thin/StarFull.js +26 -13
  713. package/lib/Icon/thin/StarHalf.js +26 -13
  714. package/lib/Icon/thin/Stock.js +26 -13
  715. package/lib/Icon/thin/Store.js +26 -13
  716. package/lib/Icon/thin/Subtitle.js +29 -16
  717. package/lib/Icon/thin/TalkHelp.js +29 -16
  718. package/lib/Icon/thin/TextH1.js +26 -13
  719. package/lib/Icon/thin/TextH2.js +26 -13
  720. package/lib/Icon/thin/TextH3.js +26 -13
  721. package/lib/Icon/thin/ThunderCircle.js +29 -16
  722. package/lib/Icon/thin/Timer.js +29 -16
  723. package/lib/Icon/thin/ToggleOff.js +26 -13
  724. package/lib/Icon/thin/ToggleOn.js +26 -13
  725. package/lib/Icon/thin/ToteBag.js +26 -13
  726. package/lib/Icon/thin/Trash.js +29 -16
  727. package/lib/Icon/thin/TwitterCircle.js +29 -16
  728. package/lib/Icon/thin/Undo.js +26 -13
  729. package/lib/Icon/thin/Video.js +29 -16
  730. package/lib/Icon/thin/Volume.js +29 -16
  731. package/lib/Icon/thin/VolumeMute.js +29 -16
  732. package/lib/Icon/thin/Web.js +26 -13
  733. package/lib/Icon/thin/Won.js +26 -13
  734. package/lib/Icon/thin/WonBadge.js +29 -16
  735. package/lib/Icon/thin/WonCircle.js +29 -16
  736. package/lib/Icon/thin/Write.js +26 -13
  737. package/lib/Icon/thin/YoutubeCircle.js +29 -16
  738. package/lib/Icon/thin/index.js +182 -178
  739. package/lib/Icon/types.js +6 -2
  740. package/lib/ImageThumbnail/ImageThumbnail.js +27 -0
  741. package/lib/ImageThumbnail/index.js +10 -0
  742. package/lib/Layout/Center/Center.js +17 -23
  743. package/lib/Layout/Center/index.js +5 -3
  744. package/lib/Layout/HStack/HStack.js +18 -9
  745. package/lib/Layout/HStack/index.js +5 -3
  746. package/lib/Layout/Position/Position.js +8 -6
  747. package/lib/Layout/Position/index.js +5 -3
  748. package/lib/Layout/ResponsiveStack/ResponsiveStack.js +15 -8
  749. package/lib/Layout/ResponsiveStack/index.js +5 -3
  750. package/lib/Layout/VStack/VStack.js +18 -9
  751. package/lib/Layout/VStack/index.js +5 -3
  752. package/lib/Layout/ZStack/ZStack.js +38 -25
  753. package/lib/Layout/ZStack/index.js +5 -3
  754. package/lib/LinearGradient/LinearGradient.js +52 -0
  755. package/lib/LinearGradient/index.js +10 -0
  756. package/lib/Link/Link.js +20 -39
  757. package/lib/Link/index.js +5 -3
  758. package/lib/Linkify/Linkify.js +2171 -0
  759. package/lib/Linkify/index.js +10 -0
  760. package/lib/List/List.js +51 -0
  761. package/lib/List/index.js +10 -0
  762. package/lib/Media/Image/Image.js +40 -21
  763. package/lib/Media/Image/index.js +5 -3
  764. package/lib/Media/Image/useActualSizes.js +27 -165
  765. package/lib/Media/SeekBar/SeekBar.js +10 -7
  766. package/lib/Media/SeekBar/index.js +5 -3
  767. package/lib/Media/Video/Video.js +11 -8
  768. package/lib/Media/Video/index.js +5 -3
  769. package/lib/Media/VideoCaption/VideoCaption.js +10 -7
  770. package/lib/Media/VideoCaption/index.js +5 -3
  771. package/lib/Media/VideoOverlay/VideoOverlay.js +23 -23
  772. package/lib/Media/VideoOverlay/index.js +5 -3
  773. package/lib/Media/VolumeBar/VolumeBar.js +14 -11
  774. package/lib/Media/VolumeBar/index.js +5 -3
  775. package/lib/Menu/Menu/Menu.js +19 -13
  776. package/lib/Menu/Menu/index.js +5 -3
  777. package/lib/Menu/MenuIcon/MenuIcon.js +15 -8
  778. package/lib/Menu/MenuIcon/index.js +5 -3
  779. package/lib/Menu/MenuItem/MenuItem.js +17 -14
  780. package/lib/Menu/MenuItem/index.js +5 -3
  781. package/lib/Menu/MenuText/MenuText.js +50 -35
  782. package/lib/Menu/MenuText/index.js +5 -3
  783. package/lib/Menu/MenuTextButton/MenuTextButton.js +16 -9
  784. package/lib/Menu/MenuTextButton/index.js +5 -3
  785. package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.js +38 -27
  786. package/lib/Menu/MenuTextButtonItem/index.js +5 -3
  787. package/lib/Menu/MenuTextItem/MenuTextItem.js +18 -11
  788. package/lib/Menu/MenuTextItem/index.js +5 -3
  789. package/lib/ModalBottomSheet/ModalBottomSheet.js +30 -123
  790. package/lib/ModalBottomSheet/index.js +6 -4
  791. package/lib/ModalBottomSheet/useModalBottomSheet.js +6 -4
  792. package/lib/NewLine/NewLine.js +13 -9
  793. package/lib/NewLine/index.js +5 -3
  794. package/lib/Opacity/Opacity.js +8 -4
  795. package/lib/Opacity/index.js +5 -3
  796. package/lib/Overlay/Overlay.js +10 -6
  797. package/lib/Overlay/index.js +5 -3
  798. package/lib/Pagination/Pagination.js +388 -14
  799. package/lib/Pagination/index.js +5 -3
  800. package/lib/Paper/Paper.js +111 -0
  801. package/lib/Paper/index.js +10 -0
  802. package/lib/PopoverBottomSheet/PopoverBottomSheet.js +64 -122
  803. package/lib/PopoverBottomSheet/index.js +5 -3
  804. package/lib/Portal/Portal.js +28 -36
  805. package/lib/Portal/index.js +5 -3
  806. package/lib/Profile/Profile.js +9 -6
  807. package/lib/Profile/index.js +5 -3
  808. package/lib/ProfileLabel/ProfileLabel.js +92 -57
  809. package/lib/ProfileLabel/index.js +5 -3
  810. package/lib/Progress/ProgressBar/ProgressBar.js +12 -9
  811. package/lib/Progress/ProgressBar/index.js +5 -3
  812. package/lib/Progress/ProgressStep/ProgressStep.js +65 -52
  813. package/lib/Progress/ProgressStep/index.js +5 -3
  814. package/lib/Rank/Rank.js +21 -18
  815. package/lib/Rank/index.js +5 -3
  816. package/lib/Ratio/Ratio.js +44 -35
  817. package/lib/Ratio/index.js +5 -3
  818. package/lib/SafeAreaContent/SafeAreaContent.js +26 -0
  819. package/lib/SafeAreaContent/index.js +10 -0
  820. package/lib/Scroll/Scroll.js +48 -0
  821. package/lib/Scroll/index.js +10 -0
  822. package/lib/Scroll/variant.js +6 -0
  823. package/lib/ScrollTarget/ScrollTarget.js +34 -0
  824. package/lib/ScrollTarget/index.js +10 -0
  825. package/lib/Section/Section.js +18 -19
  826. package/lib/Section/index.js +5 -3
  827. package/lib/SectionHeader/SectionHeader.js +15 -11
  828. package/lib/SectionHeader/index.js +5 -3
  829. package/lib/SideNavigation/SideNavigation/SideNavigation.js +15 -0
  830. package/lib/SideNavigation/SideNavigation/index.js +10 -0
  831. package/lib/SideNavigation/SideNavigationMenu/SideNavigationMenu.js +69 -0
  832. package/lib/SideNavigation/SideNavigationMenu/index.js +10 -0
  833. package/lib/SideNavigation/SideNavigationMenuGroup/SideNavigationMenuGroup.js +20 -0
  834. package/lib/SideNavigation/SideNavigationMenuGroup/index.js +10 -0
  835. package/lib/SideNavigation/SideNavigationSubMenu/SideNavigationSubMenu.js +44 -0
  836. package/lib/SideNavigation/SideNavigationSubMenu/index.js +10 -0
  837. package/lib/Skeleton/Skeleton.js +26 -19
  838. package/lib/Skeleton/index.js +5 -3
  839. package/lib/SlideList/SlideList.js +21 -14
  840. package/lib/SlideList/__mocks__/index.js +4 -2
  841. package/lib/SlideList/index.js +5 -3
  842. package/lib/Slider/Slider.js +1236 -121
  843. package/lib/Slider/hooks/usePageControl.js +98 -0
  844. package/lib/Slider/index.js +7 -5
  845. package/lib/Slider/plugins/AutoPlay.js +82 -0
  846. package/lib/Slider/useSliderState.js +40 -0
  847. package/lib/Slider/variants.js +25 -0
  848. package/lib/SliderSection/SliderSection.js +19 -10
  849. package/lib/SliderSection/index.js +5 -3
  850. package/lib/Space/Space.js +26 -0
  851. package/lib/Space/index.js +10 -0
  852. package/lib/Spinner/Spinner.js +34 -22
  853. package/lib/Spinner/index.js +5 -3
  854. package/lib/Svg/Svg.js +49 -0
  855. package/lib/Svg/index.js +10 -0
  856. package/lib/Tab/ScrollTabPanel/ScrollTabPanel.js +6 -3
  857. package/lib/Tab/ScrollTabPanel/index.js +5 -3
  858. package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.js +12 -68
  859. package/lib/Tab/ScrollTabPanelWithObserver/index.js +5 -3
  860. package/lib/Tab/ScrollTabs/ScrollTabs.js +44 -31
  861. package/lib/Tab/ScrollTabs/index.js +5 -3
  862. package/lib/Tab/Tab/Tab.js +41 -50
  863. package/lib/Tab/Tab/index.js +5 -3
  864. package/lib/Tab/ViewPagerTabPanel/ViewPagerTabPanel.js +12 -6
  865. package/lib/Tab/ViewPagerTabPanel/index.js +5 -3
  866. package/lib/Tab/ViewPagerTabs/ViewPagerTabs.js +47 -19
  867. package/lib/Tab/ViewPagerTabs/index.js +5 -3
  868. package/lib/Table/Table.js +6950 -0
  869. package/lib/Table/index.js +10 -0
  870. package/lib/Tag/Chip/Chip.js +66 -62
  871. package/lib/Tag/Chip/index.js +5 -3
  872. package/lib/Tag/IconBadge/IconBadge.js +25 -18
  873. package/lib/Tag/IconBadge/index.js +5 -3
  874. package/lib/Tag/StateTag/StateTag.js +22 -15
  875. package/lib/Tag/StateTag/index.js +5 -3
  876. package/lib/Tag/Tag/Tag.js +21 -24
  877. package/lib/Tag/Tag/index.js +5 -3
  878. package/lib/Tooltip/Tooltip.js +184 -0
  879. package/lib/Tooltip/index.js +10 -0
  880. package/lib/Typography/Body/Body.js +24 -10
  881. package/lib/Typography/Body/index.js +5 -3
  882. package/lib/Typography/Paragraph/Paragraph.js +17 -10
  883. package/lib/Typography/Paragraph/index.js +5 -3
  884. package/lib/Typography/Text/Text.js +41 -54
  885. package/lib/Typography/Text/index.js +5 -3
  886. package/lib/Typography/Title/Title.js +22 -14
  887. package/lib/Typography/Title/index.js +5 -3
  888. package/lib/Underline/Underline.js +47 -34
  889. package/lib/Underline/index.js +5 -3
  890. package/lib/ViewPager/ViewPager.js +14 -8
  891. package/lib/ViewPager/index.js +5 -3
  892. package/lib/ViewPager/type.js +6 -2
  893. package/lib/ViewPagerItem/ViewPagerItem.js +9 -6
  894. package/lib/ViewPagerItem/index.js +5 -3
  895. package/lib/VirtualizedList/VirtualizedList.js +56 -0
  896. package/lib/VirtualizedList/index.js +10 -0
  897. package/lib/VirtualizedList/variants.js +6 -0
  898. package/lib/deprecated/Slide/Slide.js +7 -5
  899. package/lib/deprecated/Slide/index.js +4 -2
  900. package/lib/deprecated/Swiper/Swiper.js +19 -9
  901. package/lib/deprecated/Swiper/hooks/useAutoPlay.js +6 -4
  902. package/lib/deprecated/Swiper/hooks/useSwiper.js +468 -12
  903. package/lib/deprecated/Swiper/index.js +4 -2
  904. package/lib/deprecated/Swiper/types/SwiperOptions.js +6 -2
  905. package/mime-types-SLPLVYDI.js +9284 -0
  906. package/package.json +3 -2
  907. package/private/Bar/Bar.js +8 -5
  908. package/private/Bar/index.js +5 -3
  909. package/private/Box/Box.js +13 -5
  910. package/private/Box/index.js +5 -3
  911. package/private/Box/variants.js +6 -0
  912. package/private/ForwardStyle/ForwardStyle.js +14 -14
  913. package/private/ForwardStyle/StyledChildren.js +35 -0
  914. package/private/ForwardStyle/index.js +5 -3
  915. package/private/Stack/Stack.js +75 -64
  916. package/private/Stack/index.js +5 -3
  917. package/private/Transform/Transform.js +8 -6
  918. package/private/Transform/index.js +5 -3
  919. package/@types/image.d.js +0 -2
  920. package/@types/theme.d.js +0 -5
  921. package/lib/Animation/Animator/Animator.stories.js +0 -63
  922. package/lib/Animation/FadeAnimation/FadeAnimation.stories.js +0 -42
  923. package/lib/Animation/SlideAnimation/SlideAnimation.stories.js +0 -35
  924. package/lib/Animation/Transition/Transition.stories.js +0 -47
  925. package/lib/Background/Background.stories.js +0 -35
  926. package/lib/Button/ButtonIcon/ButtonIcon.js +0 -48
  927. package/lib/Button/ButtonIcon/index.js +0 -8
  928. package/lib/Button/IconButton/IconButton.js +0 -141
  929. package/lib/Button/IconButton/index.js +0 -8
  930. package/lib/Button/TextButton/TextButton.stories.js +0 -59
  931. package/lib/ConditionalWrapper/ConditionalWrapper.stories.js +0 -40
  932. package/lib/Divider/Divider.stories.js +0 -78
  933. package/lib/Elevation/Elevation.stories.js +0 -33
  934. package/lib/Form/Description/Description.stories.js +0 -34
  935. package/lib/Form/FormField/FormField.stories.js +0 -36
  936. package/lib/Form/InlineTextLabel/InlineTextLabel.stories.js +0 -40
  937. package/lib/Form/Input/Input.stories.js +0 -34
  938. package/lib/Form/Label/Label.stories.js +0 -40
  939. package/lib/Form/Select/Select.stories.js +0 -45
  940. package/lib/Form/SelectField/SelectField.stories.js +0 -89
  941. package/lib/Form/TextField/TextField.stories.js +0 -84
  942. package/lib/Form/TextLabel/TextLabel.stories.js +0 -31
  943. package/lib/Frame/Frame.js +0 -70
  944. package/lib/Frame/index.js +0 -8
  945. package/lib/Highlight/Highlight.stories.js +0 -27
  946. package/lib/HtmlContentStyle/HtmlContentStyle.stories.js +0 -19
  947. package/lib/Layout/Center/Center.stories.js +0 -40
  948. package/lib/Layout/Position/Position.stories.js +0 -39
  949. package/lib/Link/Link.stories.js +0 -34
  950. package/lib/Media/Image/Image.stories.js +0 -24
  951. package/lib/Menu/Menu/Menu.stories.js +0 -60
  952. package/lib/Menu/MenuIcon/MenuIcon.stories.js +0 -28
  953. package/lib/Menu/MenuItem/MenuItem.stories.js +0 -39
  954. package/lib/Menu/MenuText/MenuText.stories.js +0 -35
  955. package/lib/Menu/MenuTextButton/MenuTextButton.stories.js +0 -86
  956. package/lib/Menu/MenuTextButtonItem/MenuTextButtonItem.stories.js +0 -170
  957. package/lib/Menu/MenuTextItem/MenuTextItem.stories.js +0 -85
  958. package/lib/Opacity/Opacity.stories.js +0 -30
  959. package/lib/Overlay/Overlay.stories.js +0 -30
  960. package/lib/Pagination/Pagination.stories.js +0 -34
  961. package/lib/Progress/ProgressBar/ProgressBar.stories.js +0 -54
  962. package/lib/Progress/ProgressStep/ProgressStep.stories.js +0 -40
  963. package/lib/Rank/Rank.stories.js +0 -36
  964. package/lib/Ratio/Ratio.stories.js +0 -31
  965. package/lib/Section/Section.stories.js +0 -46
  966. package/lib/SlideList/SlideList.stories.js +0 -57
  967. package/lib/Slider/Slider.stories.js +0 -44
  968. package/lib/Slider/__mocks__/index.js +0 -49
  969. package/lib/Slider/constants.js +0 -20
  970. package/lib/Slider/internalHooks/useAutoPlay.js +0 -38
  971. package/lib/Slider/internalHooks/usePageControl.js +0 -42
  972. package/lib/Slider/internalHooks/useVirtual.js +0 -25
  973. package/lib/Slider/useSlider.js +0 -40
  974. package/lib/SliderSection/SliderSection.stories.js +0 -81
  975. package/lib/Tab/ScrollTabPanel/ScrollTabPanel.stories.js +0 -18
  976. package/lib/Tab/ScrollTabPanelWithObserver/ScrollTabPanelWithObserver.stories.js +0 -18
  977. package/lib/Tab/ScrollTabs/ScrollTabs.stories.js +0 -55
  978. package/lib/Tab/Tab/Tab.stories.js +0 -44
  979. package/lib/Tag/Chip/Chip.stories.js +0 -53
  980. package/lib/Tag/Tag/Tag.stories.js +0 -40
  981. package/lib/Typography/Body/Body.stories.js +0 -33
  982. package/lib/Typography/Caption/Caption.js +0 -20
  983. package/lib/Typography/Caption/Caption.stories.js +0 -40
  984. package/lib/Typography/Caption/index.js +0 -8
  985. package/lib/Typography/Paragraph/Paragraph.stories.js +0 -40
  986. package/lib/Typography/Title/Title.stories.js +0 -38
  987. package/lib/Underline/Underline.stories.js +0 -35
  988. package/lib/ViewPager/ViewPager.stories.js +0 -74
  989. package/lib/deprecated/Swiper/Swiper.stories.js +0 -177
  990. package/private/Box/Box.stories.js +0 -60
  991. package/private/ForwardStyle/ForwardStyle.stories.js +0 -23
  992. package/private/Space/Space.js +0 -12
  993. package/private/Space/Space.stories.js +0 -36
  994. package/private/Space/index.js +0 -8
  995. package/private/Svg/Svg.js +0 -34
  996. package/private/Svg/index.js +0 -8
  997. package/utils/appendCssUnit/appendCssUnit.js +0 -13
  998. package/utils/appendCssUnit/appendCssUnit.spec.js +0 -31
  999. package/utils/appendCssUnit/index.js +0 -8
  1000. package/utils/index.js +0 -8
@@ -0,0 +1,73 @@
1
+ import {
2
+ __spreadValues,
3
+ init_react_shim
4
+ } from "../../../chunk-VIIHQGZ3.js";
5
+
6
+ // libs/shared/ui-system/src/core/variants/propsVariant/propsVariant.spec.ts
7
+ init_react_shim();
8
+ import { defaultTheme } from "../../theme/defaultTheme.js";
9
+ import { propsVariant } from "./propsVariant.js";
10
+ import { getPaddedResponsiveArray } from "../../props/utils/getResponsiveValue.js";
11
+ describe("propsVariant", () => {
12
+ const theme = defaultTheme;
13
+ describe("Props\uC5D0 size, direction\uC774 \uC788\uACE0", () => {
14
+ let variantFn;
15
+ beforeEach(() => {
16
+ variantFn = propsVariant({
17
+ props: [
18
+ {
19
+ name: "size",
20
+ skipForward: true
21
+ },
22
+ {
23
+ name: "direction",
24
+ responsive: true
25
+ }
26
+ ],
27
+ variants: ({ size, direction }) => ({
28
+ result: {
29
+ size,
30
+ direction
31
+ }
32
+ })
33
+ });
34
+ });
35
+ describe.each([
36
+ { props: { size: "sm", direction: "vertical" } },
37
+ { props: { size: "sm", direction: ["vertical", "horizontal"] } }
38
+ ])("prop\uC5D0 $props.size, $props.direction\uC744 \uB118\uAE30\uBA74", ({ props }) => {
39
+ let variantFnResult;
40
+ beforeEach(() => {
41
+ variantFnResult = variantFn(__spreadValues({
42
+ __theme__: theme
43
+ }, props));
44
+ });
45
+ it("skipForward \uC635\uC158\uC744 \uC900 size prop\uC740 \uC0AC\uB77C\uC9C4\uB2E4", () => {
46
+ expect(variantFnResult.size).toBeUndefined();
47
+ });
48
+ it("skipForward \uC635\uC158\uC744 \uC8FC\uC9C0 \uC54A\uC740 direction prop\uC740 \uADF8\uB300\uB85C\uC774\uB2E4", () => {
49
+ expect(variantFnResult.direction).toEqual(props.direction);
50
+ });
51
+ it("result\uC5D0 size\uB294 prop\uC73C\uB85C \uB118\uAE34 size \uAC12\uC774\uB2E4", () => {
52
+ expect(variantFnResult.result.size).toEqual(props.size);
53
+ });
54
+ it("result\uC5D0 direction\uC740 breakpoints \uB9CC\uD07C \uBC30\uC5F4\uB85C \uB9CC\uB4E4\uC5B4\uC9C4\uB2E4", () => {
55
+ expect(variantFnResult.result.direction).toEqual(getPaddedResponsiveArray(theme.breakpoints, props.direction));
56
+ });
57
+ });
58
+ describe(`prop\uC5D0 size, direction \uAC12\uC744 \uB118\uAE30\uC9C0 \uC54A\uC73C\uBA74`, () => {
59
+ let variantFnResult;
60
+ beforeEach(() => {
61
+ variantFnResult = variantFn({
62
+ __theme__: theme
63
+ });
64
+ });
65
+ it("result\uC5D0 size \uAC12\uC740 undefined\uC774\uB2E4", () => {
66
+ expect(variantFnResult.result.size).toBeUndefined();
67
+ });
68
+ it("result\uC5D0 direction \uAC12\uC740 undefined\uC774\uB2E4", () => {
69
+ expect(variantFnResult.result.direction).toBeUndefined();
70
+ });
71
+ });
72
+ });
73
+ });
@@ -1,8 +1,10 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ init_react_shim
3
+ } from "../../../chunk-VIIHQGZ3.js";
3
4
 
4
5
  // libs/shared/ui-system/src/core/variants/styleVariant/index.ts
5
- import {styleVariant} from "./styleVariant.js";
6
+ init_react_shim();
7
+ import { styleVariant } from "./styleVariant.js";
6
8
  export {
7
9
  styleVariant
8
10
  };
@@ -1,35 +1,42 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ index_esm_default
3
+ } from "../../../chunk-37VQUPZR.js";
4
+ import {
5
+ __spreadProps,
6
+ __spreadValues,
7
+ init_react_shim
8
+ } from "../../../chunk-VIIHQGZ3.js";
3
9
 
4
10
  // libs/shared/ui-system/src/core/variants/styleVariant/styleVariant.ts
5
- import css from "https://jspm.dev/@styled-system/css@5.1.5";
6
- import {getVariantValue} from "../baseVariant/baseVariant.js";
11
+ init_react_shim();
12
+ import { getVariantValue } from "../baseVariant/baseVariant.js";
13
+ import { makeStyle } from "../makeStyled/makeStyled.js";
7
14
  function styleVariant(option) {
8
15
  return (originalProps) => {
9
- const {prop, variants, responsive, defaultValue, skipForward} = option;
16
+ const { prop, variants, responsive, defaultValue, skipForward } = option;
17
+ const { __theme__, __styles__ } = originalProps;
10
18
  const variantKey = originalProps[prop] || defaultValue;
11
19
  if (!variantKey || !variants) {
12
20
  return originalProps;
13
21
  }
14
- const {__theme__, __styles__} = originalProps;
15
- const nextStyles = [...__styles__ ?? []];
22
+ const nextStyles = [...__styles__ != null ? __styles__ : []];
16
23
  if (responsive && Array.isArray(variantKey)) {
17
24
  const styles = variantKey.reduce((prev, key, index) => {
18
25
  const value = getVariantValue(key, variants);
19
26
  if (index === 0) {
20
- return {...prev, ...css(value)(__theme__)};
27
+ return __spreadValues(__spreadValues({}, prev), index_esm_default(value)(__theme__));
21
28
  }
22
29
  const media = createMediaQuery(__theme__.breakpoints[index - 1]);
23
- const style = css(value)(__theme__);
24
- return {...prev, [media]: style};
30
+ const style = index_esm_default(value)(__theme__);
31
+ return __spreadProps(__spreadValues({}, prev), { [media]: style });
25
32
  }, {});
26
- nextStyles.push(styles);
33
+ nextStyles.push(makeStyle(styles));
27
34
  } else {
28
35
  const value = getVariantValue(variantKey, variants);
29
- const style = css(value)(__theme__);
30
- nextStyles.push(style);
36
+ const style = index_esm_default(value)(__theme__);
37
+ nextStyles.push(makeStyle(style));
31
38
  }
32
- const nextProps = {...originalProps, __styles__: nextStyles};
39
+ const nextProps = __spreadProps(__spreadValues({}, originalProps), { __styles__: nextStyles });
33
40
  if (skipForward) {
34
41
  delete nextProps[prop];
35
42
  }
@@ -1,29 +1,33 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ __spreadProps,
3
+ __spreadValues,
4
+ init_react_shim
5
+ } from "../../../chunk-VIIHQGZ3.js";
3
6
 
4
7
  // libs/shared/ui-system/src/core/variants/styleVariant/styleVariant.spec.ts
5
- import {defaultTheme} from "../../theme/defaultTheme.js";
6
- import {styleVariant} from "./styleVariant.js";
8
+ init_react_shim();
9
+ import { defaultTheme } from "../../theme/defaultTheme.js";
10
+ import { styleVariant } from "./styleVariant.js";
7
11
  describe("styleVariant", () => {
8
- const defaultProps = {theme: defaultTheme};
12
+ const defaultProps = { __theme__: defaultTheme };
9
13
  describe("responsive \uAC12\uC774 \uC544\uB2C8\uBA74", () => {
10
14
  let variantFn;
11
15
  beforeEach(() => {
12
- variantFn = styleVariant({prop: "test", variants: {sm: {marginLeft: "10"}, md: {marginLeft: "20"}}});
16
+ variantFn = styleVariant({ prop: "test", variants: { sm: { marginLeft: 10 }, md: { marginLeft: 20 } } });
13
17
  });
14
18
  describe("variant\uC5D0 \uC788\uB294 prop\uC744 \uB118\uACBC\uC744 \uB54C", () => {
15
19
  let result;
16
20
  beforeEach(() => {
17
- result = variantFn({...defaultProps, test: "sm"});
21
+ result = variantFn(__spreadProps(__spreadValues({}, defaultProps), { test: "sm" }));
18
22
  });
19
23
  it("variant\uC5D0 \uB9DE\uAC8C \uAC12\uC774 \uB118\uC5B4\uC628\uB2E4", () => {
20
- expect(result.__styles__).toEqual([{marginLeft: 10}]);
24
+ expect(result.__styles__).toEqual([{ marginLeft: 10 }]);
21
25
  });
22
26
  });
23
27
  describe("variant\uC5D0 \uC5C6\uB294 prop\uC744 \uB118\uACBC\uC744 \uB54C", () => {
24
28
  let result;
25
29
  beforeEach(() => {
26
- result = variantFn({...defaultProps, test: "lg"});
30
+ result = variantFn(__spreadProps(__spreadValues({}, defaultProps), { test: "lg" }));
27
31
  });
28
32
  it("\uC2A4\uD0C0\uC77C\uC740 \uC874\uC7AC\uD558\uC9C0 \uC54A\uB294\uB2E4", () => {
29
33
  expect(result.__styles__).toEqual([{}]);
@@ -35,14 +39,14 @@ describe("styleVariant", () => {
35
39
  beforeEach(() => {
36
40
  variantFn = styleVariant({
37
41
  prop: "test",
38
- variants: {sm: {marginLeft: "10"}, md: {marginLeft: "20"}},
42
+ variants: { sm: { marginLeft: 10 }, md: { marginLeft: 20 } },
39
43
  responsive: true
40
44
  });
41
45
  });
42
46
  describe("\uAC12\uC774 \uBC30\uC5F4\uB85C \uB118\uC5B4\uAC08 \uB54C", () => {
43
47
  let result;
44
48
  beforeEach(() => {
45
- result = variantFn({...defaultProps, test: ["sm", "md", "sm"]});
49
+ result = variantFn(__spreadProps(__spreadValues({}, defaultProps), { test: ["sm", "md", "sm"] }));
46
50
  });
47
51
  it("media query\uAC00 \uC801\uC6A9\uB41C \uAC12\uC774 \uB098\uC628\uB2E4", () => {
48
52
  expect(result.__styles__).toEqual([
@@ -61,10 +65,10 @@ describe("styleVariant", () => {
61
65
  describe("\uAC12\uC774 \uBC30\uC5F4\uC774 \uC544\uB2C8\uAC8C \uB118\uC5B4\uAC08 \uB54C", () => {
62
66
  let result;
63
67
  beforeEach(() => {
64
- result = variantFn({...defaultProps, test: "sm"});
68
+ result = variantFn(__spreadProps(__spreadValues({}, defaultProps), { test: "sm" }));
65
69
  });
66
70
  it("media query\uAC00 \uC801\uC6A9\uB418\uC9C0 \uC54A\uB294 \uAC12\uC774 \uB098\uC628\uB2E4", () => {
67
- expect(result.__styles__).toEqual([{marginLeft: 10}]);
71
+ expect(result.__styles__).toEqual([{ marginLeft: 10 }]);
68
72
  });
69
73
  });
70
74
  });
@@ -0,0 +1,10 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/core/variants/stylesVariant/index.ts
6
+ init_react_shim();
7
+ import { stylesVariant } from "./stylesVariant.js";
8
+ export {
9
+ stylesVariant
10
+ };
@@ -0,0 +1,40 @@
1
+ import {
2
+ index_esm_default
3
+ } from "../../../chunk-37VQUPZR.js";
4
+ import {
5
+ __spreadProps,
6
+ __spreadValues,
7
+ init_react_shim
8
+ } from "../../../chunk-VIIHQGZ3.js";
9
+
10
+ // libs/shared/ui-system/src/core/variants/stylesVariant/stylesVariant.ts
11
+ init_react_shim();
12
+ import { getPaddedResponsiveArray } from "../../props/utils/getResponsiveValue.js";
13
+ import { getVariantValue } from "../baseVariant/index.js";
14
+ import { makeStyle } from "../makeStyled/index.js";
15
+ function stylesVariant(options) {
16
+ return (originalProps) => {
17
+ const { props, variants } = options;
18
+ const { __theme__, __styles__ } = originalProps;
19
+ const nextProps = __spreadValues({}, originalProps);
20
+ const values = props ? props.reduce((prev, curr) => {
21
+ if (curr.skipForward) {
22
+ delete nextProps[curr.name];
23
+ }
24
+ if (originalProps[curr.name] === void 0) {
25
+ return prev;
26
+ }
27
+ return __spreadProps(__spreadValues({}, prev), {
28
+ [curr.name]: curr.responsive ? getPaddedResponsiveArray(__theme__.breakpoints, originalProps[curr.name]) : originalProps[curr.name]
29
+ });
30
+ }, {}) : originalProps;
31
+ const nextStyles = [...__styles__ != null ? __styles__ : []];
32
+ nextStyles.push(makeStyle(index_esm_default(getVariantValue(values, variants))(__theme__)));
33
+ return __spreadProps(__spreadValues({}, nextProps), {
34
+ __styles__: nextStyles
35
+ });
36
+ };
37
+ }
38
+ export {
39
+ stylesVariant
40
+ };
@@ -0,0 +1,52 @@
1
+ import {
2
+ __spreadValues,
3
+ init_react_shim
4
+ } from "../../../chunk-VIIHQGZ3.js";
5
+
6
+ // libs/shared/ui-system/src/core/variants/stylesVariant/stylesVariant.spec.ts
7
+ init_react_shim();
8
+ import { defaultTheme } from "../../theme/defaultTheme.js";
9
+ import { stylesVariant } from "./stylesVariant.js";
10
+ describe("stylesVariant", () => {
11
+ const theme = defaultTheme;
12
+ describe("Props\uC5D0 size, direction\uC774 \uC788\uACE0", () => {
13
+ let variantFn;
14
+ beforeEach(() => {
15
+ variantFn = stylesVariant({
16
+ props: [
17
+ {
18
+ name: "size",
19
+ skipForward: true
20
+ },
21
+ {
22
+ name: "direction"
23
+ }
24
+ ],
25
+ variants: ({ size, direction }) => ({
26
+ marginTop: size === "sm" ? 4 : 12,
27
+ flexDirection: direction === "vertical" ? "row" : "column"
28
+ })
29
+ });
30
+ });
31
+ describe.each([
32
+ { props: { size: "sm", direction: "vertical" }, result: { marginTop: 4, flexDirection: "row" } },
33
+ { props: { size: "md", direction: "horizontal" }, result: { marginTop: 12, flexDirection: "column" } }
34
+ ])("prop\uC5D0 $props.size, $props.direction\uC744 \uB118\uAE30\uBA74", ({ props, result }) => {
35
+ let variantFnResult;
36
+ beforeEach(() => {
37
+ variantFnResult = variantFn(__spreadValues({
38
+ __theme__: theme
39
+ }, props));
40
+ });
41
+ it("skipForward \uC635\uC158\uC744 \uC900 size prop\uC740 \uC0AC\uB77C\uC9C4\uB2E4", () => {
42
+ expect(variantFnResult.size).toBeUndefined();
43
+ });
44
+ it("skipForward \uC635\uC158\uC744 \uC8FC\uC9C0 \uC54A\uC740 direction prop\uC740 \uADF8\uB300\uB85C\uC774\uB2E4", () => {
45
+ expect(variantFnResult.direction).toEqual(props.direction);
46
+ });
47
+ it("style\uC774 variant\uC5D0 \uB9DE\uAC8C \uB4E4\uC5B4\uAC04\uB2E4", () => {
48
+ expect(variantFnResult.__styles__).toEqual([result]);
49
+ });
50
+ });
51
+ });
52
+ });
@@ -1,8 +1,10 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ init_react_shim
3
+ } from "../../../chunk-VIIHQGZ3.js";
3
4
 
4
5
  // libs/shared/ui-system/src/core/variants/system/index.ts
5
- import {system} from "./system.js";
6
+ init_react_shim();
7
+ import { system } from "./system.js";
6
8
  export {
7
9
  system
8
10
  };
@@ -1,26 +1,34 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ useTheme
3
+ } from "../../../chunk-T7TBQTBE.js";
4
+ import "../../../chunk-LE44IRCL.js";
5
+ import "../../../chunk-CGEEKALF.js";
6
+ import "../../../chunk-J3Q2BPOW.js";
7
+ import {
8
+ __spreadProps,
9
+ __spreadValues,
10
+ init_react_shim
11
+ } from "../../../chunk-VIIHQGZ3.js";
3
12
 
4
13
  // libs/shared/ui-system/src/core/variants/system/system.ts
5
- import {createElement, forwardRef} from "react";
6
- import styled from "https://jspm.dev/@emotion/styled@11.3.0";
7
- import {useTheme} from "https://jspm.dev/@emotion/react@11.1.5";
14
+ init_react_shim();
15
+ import { createElement, forwardRef } from "react";
16
+ import { makeStyled } from "../makeStyled/index.js";
8
17
  function system() {
9
- return (...variants) => (component) => forwardRef((props, ref) => {
10
- const theme = useTheme();
11
- const nextProps = variants.reduce((previousProp, variant) => variant(previousProp), {
12
- ...props,
13
- ref,
14
- __theme__: theme
18
+ return (...variants) => (component) => {
19
+ const styledElement = makeStyled(component)((props) => props.__styles__);
20
+ return forwardRef((props, ref) => {
21
+ const theme = useTheme();
22
+ const nextProps = variants.reduce((previousProp, variant) => variant(previousProp), __spreadProps(__spreadValues({}, props), {
23
+ ref,
24
+ __theme__: theme
25
+ }));
26
+ if (nextProps.__styles__) {
27
+ return createElement(styledElement, nextProps);
28
+ }
29
+ return createElement(component, nextProps);
15
30
  });
16
- delete nextProps.__theme__;
17
- if (nextProps.__styles__) {
18
- const styles = nextProps.__styles__;
19
- delete nextProps.__styles__;
20
- return createElement(styled(component)(...styles), nextProps);
21
- }
22
- return createElement(component, nextProps);
23
- });
31
+ };
24
32
  }
25
33
  export {
26
34
  system
@@ -0,0 +1,6 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/core/variants/system/type.ts
6
+ init_react_shim();
@@ -0,0 +1,10 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useIsMobile/index.ts
6
+ init_react_shim();
7
+ import { useIsMobile } from "./useIsMobile.js";
8
+ export {
9
+ useIsMobile
10
+ };
@@ -0,0 +1,12 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useIsMobile/useIsMobile.tsx
6
+ init_react_shim();
7
+ import { baseTheme } from "../../core/theme/baseTheme.js";
8
+ import { useMediaQuery } from "../useMediaQuery/index.js";
9
+ var useIsMobile = () => useMediaQuery(baseTheme.mediaQueries.mobile);
10
+ export {
11
+ useIsMobile
12
+ };
@@ -0,0 +1,10 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useMediaQuery/index.ts
6
+ init_react_shim();
7
+ import { useMediaQuery } from "./useMediaQuery.js";
8
+ export {
9
+ useMediaQuery
10
+ };
@@ -0,0 +1,32 @@
1
+ import {
2
+ isServer
3
+ } from "../../chunk-LN36XQS3.js";
4
+ import {
5
+ init_react_shim
6
+ } from "../../chunk-VIIHQGZ3.js";
7
+
8
+ // libs/shared/ui-system/src/hooks/useMediaQuery/useMediaQuery.ts
9
+ init_react_shim();
10
+ import { useLayoutEffect, useState } from "react";
11
+ function useMediaQuery(query, defaultValue = false) {
12
+ const [matches, setMatches] = useState(() => {
13
+ if (isServer) {
14
+ return defaultValue;
15
+ }
16
+ return window.matchMedia(query).matches;
17
+ });
18
+ useLayoutEffect(() => {
19
+ const media = window.matchMedia(query);
20
+ const updateMatch = () => setMatches(media.matches);
21
+ if (media.addEventListener) {
22
+ media.addEventListener("change", updateMatch);
23
+ return () => media.removeEventListener("change", updateMatch);
24
+ }
25
+ media.addListener(updateMatch);
26
+ return () => media.removeListener(updateMatch);
27
+ }, [matches, query]);
28
+ return matches;
29
+ }
30
+ export {
31
+ useMediaQuery
32
+ };
@@ -0,0 +1,10 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useNativeResponsiveValue/index.ts
6
+ init_react_shim();
7
+ import { useNativeResponsiveValue } from "./useNativeResponsiveValue.js";
8
+ export {
9
+ useNativeResponsiveValue
10
+ };
@@ -0,0 +1,42 @@
1
+ import {
2
+ require_cjs
3
+ } from "../../chunk-2A2YD3YP.js";
4
+ import "../../chunk-IFZN3H2K.js";
5
+ import "../../chunk-R4HM35UZ.js";
6
+ import {
7
+ useTheme
8
+ } from "../../chunk-T7TBQTBE.js";
9
+ import "../../chunk-LE44IRCL.js";
10
+ import "../../chunk-CGEEKALF.js";
11
+ import "../../chunk-J3Q2BPOW.js";
12
+ import {
13
+ __toModule,
14
+ init_react_shim
15
+ } from "../../chunk-VIIHQGZ3.js";
16
+
17
+ // libs/shared/ui-system/src/hooks/useNativeResponsiveValue/useNativeResponsiveValue.ts
18
+ init_react_shim();
19
+
20
+ // libs/shared/utils-native-stylesheet/src/index.ts
21
+ init_react_shim();
22
+
23
+ // libs/shared/utils-native-stylesheet/src/lib/useDimension/index.ts
24
+ init_react_shim();
25
+
26
+ // libs/shared/utils-native-stylesheet/src/lib/useDimension/useDimension.ts
27
+ init_react_shim();
28
+ var import_react_native = __toModule(require_cjs());
29
+ var useDimension = () => (0, import_react_native.useWindowDimensions)();
30
+
31
+ // libs/shared/ui-system/src/hooks/useNativeResponsiveValue/useNativeResponsiveValue.ts
32
+ import { getPaddedResponsiveArray } from "../../core/index.js";
33
+ function useNativeResponsiveValue(responsiveValue) {
34
+ const { width } = useDimension();
35
+ const { breakpoints } = useTheme();
36
+ const arrayValue = getPaddedResponsiveArray(breakpoints, responsiveValue);
37
+ const matchedBreakpointIndex = [...breakpoints, `${width + 1}px`].findIndex((breakpoint) => width < parseInt(breakpoint, 10));
38
+ return arrayValue[matchedBreakpointIndex];
39
+ }
40
+ export {
41
+ useNativeResponsiveValue
42
+ };
@@ -1,8 +1,10 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
3
4
 
4
5
  // libs/shared/ui-system/src/hooks/useResponsiveValue/index.ts
5
- import {useResponsiveValue} from "./useResponsiveValue.js";
6
+ init_react_shim();
7
+ import { useResponsiveValue } from "./useResponsiveValue.js";
6
8
  export {
7
9
  useResponsiveValue
8
10
  };
@@ -1,29 +1,39 @@
1
- // tools/builders/framer-esm/build/react-shim.js
2
- import * as React from "react";
1
+ import {
2
+ useTheme
3
+ } from "../../chunk-T7TBQTBE.js";
4
+ import "../../chunk-LE44IRCL.js";
5
+ import "../../chunk-CGEEKALF.js";
6
+ import "../../chunk-J3Q2BPOW.js";
7
+ import {
8
+ init_react_shim
9
+ } from "../../chunk-VIIHQGZ3.js";
3
10
 
4
11
  // libs/shared/ui-system/src/hooks/useResponsiveValue/useResponsiveValue.ts
5
- import {useCallback, useEffect, useState} from "react";
6
- import {useTheme} from "https://jspm.dev/@emotion/react@11.1.5";
7
- function useResponsiveValue(responsiveValue) {
12
+ init_react_shim();
13
+ import { useCallback, useEffect, useState } from "react";
14
+ function useResponsiveValue(responsiveValue, watch = true) {
8
15
  const arrayValue = Array.isArray(responsiveValue) ? responsiveValue : [responsiveValue];
9
16
  const [value, setValue] = useState(arrayValue[0]);
10
- const {breakpoints} = useTheme();
17
+ const { breakpoints } = useTheme();
11
18
  const setResponsiveValue = useCallback(() => {
12
19
  if (typeof window === "undefined") {
13
20
  return;
14
21
  }
15
22
  const windowWidth = window.innerWidth;
16
- const breakpointIndex = breakpoints.findIndex((breakpoint) => parseInt(breakpoint, 10) > windowWidth);
23
+ const breakpointIndex = [...breakpoints, `${windowWidth + 1}px`].findIndex((breakpoint) => parseInt(breakpoint, 10) > windowWidth);
17
24
  const currentValue = arrayValue[Math.min(breakpointIndex < 0 ? breakpoints.length - 1 : breakpointIndex, arrayValue.length - 1)];
18
25
  setValue(currentValue);
19
26
  }, [...breakpoints, ...arrayValue]);
20
27
  useEffect(() => {
21
28
  setResponsiveValue();
29
+ if (!watch) {
30
+ return;
31
+ }
22
32
  window.addEventListener("resize", setResponsiveValue);
23
33
  return () => {
24
34
  window.removeEventListener("resize", setResponsiveValue);
25
35
  };
26
- }, [setResponsiveValue]);
36
+ }, [setResponsiveValue, watch]);
27
37
  return value;
28
38
  }
29
39
  export {
@@ -0,0 +1,10 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useWindowResizeEvent/index.ts
6
+ init_react_shim();
7
+ import { useWindowResizeEvent } from "./useWindowResizeEvent.js";
8
+ export {
9
+ useWindowResizeEvent
10
+ };
@@ -0,0 +1,27 @@
1
+ import {
2
+ init_react_shim
3
+ } from "../../chunk-VIIHQGZ3.js";
4
+
5
+ // libs/shared/ui-system/src/hooks/useWindowResizeEvent/useWindowResizeEvent.ts
6
+ init_react_shim();
7
+ import { useEffect } from "react";
8
+ var WINDOW_RESIZE_DEBOUNCE_WAIT = 300;
9
+ function useWindowResizeEvent(eventListener) {
10
+ useEffect(() => {
11
+ if (typeof window === "undefined") {
12
+ return;
13
+ }
14
+ let debounceTimerId;
15
+ const handleResize = () => {
16
+ window.clearTimeout(debounceTimerId);
17
+ debounceTimerId = window.setTimeout(eventListener, WINDOW_RESIZE_DEBOUNCE_WAIT);
18
+ };
19
+ window.addEventListener("resize", handleResize);
20
+ return () => {
21
+ window.removeEventListener("resize", handleResize);
22
+ };
23
+ }, [eventListener]);
24
+ }
25
+ export {
26
+ useWindowResizeEvent
27
+ };