@antscorp/antsomi-ui 1.3.3-beta.20 → 1.3.3-beta.21

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 (673) hide show
  1. package/README.md +78 -78
  2. package/dist/0173b5993573afa04880.woff +0 -0
  3. package/dist/0dfb9214dfd945cd7290.png +1 -0
  4. package/dist/2883cad25a2b4e87ce5f.eot +0 -0
  5. package/dist/4f54a37971347e3d7122.png +1 -0
  6. package/dist/574b7bee0563a9fe9a29.png +1 -0
  7. package/dist/6b586356e837581204dc.svg +1 -0
  8. package/dist/72eec5c1c786b45a667f.ttf +0 -0
  9. package/dist/bc6bf11c6f5e6743aa4c.png +1 -0
  10. package/dist/dbc405edd6e0806efbc9.svg +1 -0
  11. package/dist/e32f09119052a55cce3c.png +1 -0
  12. package/dist/e3851b9384a984c6fdb5.png +1 -0
  13. package/dist/index.js +2 -0
  14. package/dist/index.js.LICENSE.txt +69 -0
  15. package/dist/main.css +168 -0
  16. package/dist/public/icons/2d496b55d85a9545d7311c073af442bb.png +0 -0
  17. package/dist/public/icons/2fbb4e0927d18e3f8e5c6511ab88d5b3.png +0 -0
  18. package/dist/public/icons/725a52bd91a3ce534b10833df510e5fa.png +0 -0
  19. package/dist/public/icons/7d037e0b378e87a82804443636cd0e13.svg +346 -0
  20. package/dist/public/icons/90553767e0a05b9585a54797cfd9ce51.png +0 -0
  21. package/dist/public/icons/bb64e23a1ff390a416d765ee556096ab.svg +87 -0
  22. package/dist/public/icons/d327b24e9c5d8f486f08d253aab58ce6.png +0 -0
  23. package/dist/public/icons/f1cf266d0a0a53ce07f2dbb859869b7a.png +0 -0
  24. package/dist/public/icons/placeholder-image.png +0 -0
  25. package/dist/public/icons/stars_slider.png +0 -0
  26. package/dist/public/icons/transparent.svg +1 -0
  27. package/es/assets/css/main.scss +4 -4
  28. package/es/assets/images/feedback.svg +3 -3
  29. package/es/components/atoms/Alert/Alert.d.ts +4 -4
  30. package/es/components/atoms/Alert/Alert.js +19 -19
  31. package/es/components/atoms/Alert/index.d.ts +1 -1
  32. package/es/components/atoms/Alert/index.js +1 -1
  33. package/es/components/atoms/Button/Button.d.ts +1 -1
  34. package/es/components/atoms/Button/Button.js +1 -1
  35. package/es/components/atoms/Button/index.d.ts +4 -4
  36. package/es/components/atoms/Button/index.js +2 -2
  37. package/es/components/atoms/Button/test.d.ts +3 -3
  38. package/es/components/atoms/Button/test.js +99 -99
  39. package/es/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  40. package/es/components/atoms/Checkbox/Checkbox.js +1 -1
  41. package/es/components/atoms/Checkbox/index.d.ts +1 -1
  42. package/es/components/atoms/Checkbox/index.js +1 -1
  43. package/es/components/atoms/Divider/Divider.d.ts +1 -1
  44. package/es/components/atoms/Divider/Divider.js +1 -1
  45. package/es/components/atoms/Divider/index.d.ts +1 -1
  46. package/es/components/atoms/Divider/index.js +1 -1
  47. package/es/components/atoms/DividerPure/DividerPure.d.ts +10 -10
  48. package/es/components/atoms/DividerPure/DividerPure.js +27 -27
  49. package/es/components/atoms/DividerPure/index.d.ts +1 -1
  50. package/es/components/atoms/DividerPure/index.js +1 -1
  51. package/es/components/atoms/DividerPure/styled.d.ts +1 -1
  52. package/es/components/atoms/DividerPure/styled.js +41 -41
  53. package/es/components/atoms/Empty/Empty.d.ts +5 -5
  54. package/es/components/atoms/Empty/Empty.js +2 -2
  55. package/es/components/atoms/Empty/index.d.ts +1 -1
  56. package/es/components/atoms/Empty/index.js +1 -1
  57. package/es/components/atoms/Flex/Flex.d.ts +2 -2
  58. package/es/components/atoms/Flex/Flex.js +1 -1
  59. package/es/components/atoms/Flex/index.d.ts +1 -1
  60. package/es/components/atoms/Flex/index.js +1 -1
  61. package/es/components/atoms/FloatButton/FloatButton.d.ts +1 -1
  62. package/es/components/atoms/FloatButton/FloatButton.js +1 -1
  63. package/es/components/atoms/FloatButton/index.d.ts +1 -1
  64. package/es/components/atoms/FloatButton/index.js +2 -2
  65. package/es/components/atoms/Grid/Grid.d.ts +3 -3
  66. package/es/components/atoms/Grid/Grid.js +3 -3
  67. package/es/components/atoms/Grid/index.d.ts +1 -1
  68. package/es/components/atoms/Grid/index.js +1 -1
  69. package/es/components/atoms/Icon/index.d.ts +10 -10
  70. package/es/components/atoms/Icon/index.js +36 -36
  71. package/es/components/atoms/Input/Input.d.ts +28 -28
  72. package/es/components/atoms/Input/Input.js +95 -95
  73. package/es/components/atoms/Input/index.d.ts +2 -2
  74. package/es/components/atoms/Input/index.js +1 -1
  75. package/es/components/atoms/Input/styled.d.ts +11 -11
  76. package/es/components/atoms/Input/styled.js +109 -109
  77. package/es/components/atoms/InputNumber/InputNumber.d.ts +6 -6
  78. package/es/components/atoms/InputNumber/InputNumber.js +27 -27
  79. package/es/components/atoms/InputNumber/index.d.ts +1 -1
  80. package/es/components/atoms/InputNumber/index.js +1 -1
  81. package/es/components/atoms/Message/Message.d.ts +1 -1
  82. package/es/components/atoms/Message/Message.js +1 -1
  83. package/es/components/atoms/Message/index.d.ts +1 -1
  84. package/es/components/atoms/Message/index.js +1 -1
  85. package/es/components/atoms/Notification/Notification.d.ts +1 -1
  86. package/es/components/atoms/Notification/Notification.js +1 -1
  87. package/es/components/atoms/Notification/index.d.ts +1 -1
  88. package/es/components/atoms/Notification/index.js +1 -1
  89. package/es/components/atoms/Pagination/Pagination.d.ts +2 -2
  90. package/es/components/atoms/Pagination/Pagination.js +2 -2
  91. package/es/components/atoms/Pagination/index.d.ts +1 -1
  92. package/es/components/atoms/Pagination/index.js +1 -1
  93. package/es/components/atoms/Popover/Popover.d.ts +4 -4
  94. package/es/components/atoms/Popover/Popover.js +2 -2
  95. package/es/components/atoms/Popover/index.d.ts +1 -1
  96. package/es/components/atoms/Popover/index.js +1 -1
  97. package/es/components/atoms/Popover/styled.d.ts +4 -4
  98. package/es/components/atoms/Popover/styled.js +5 -5
  99. package/es/components/atoms/Progress/Progress.d.ts +2 -2
  100. package/es/components/atoms/Progress/Progress.js +2 -2
  101. package/es/components/atoms/Progress/index.d.ts +1 -1
  102. package/es/components/atoms/Progress/index.js +1 -1
  103. package/es/components/atoms/Radio/Radio.d.ts +1 -1
  104. package/es/components/atoms/Radio/Radio.js +1 -1
  105. package/es/components/atoms/Radio/index.d.ts +7 -7
  106. package/es/components/atoms/Radio/index.js +25 -25
  107. package/es/components/atoms/Rate/Rate.d.ts +2 -2
  108. package/es/components/atoms/Rate/Rate.js +2 -2
  109. package/es/components/atoms/Rate/index.d.ts +1 -1
  110. package/es/components/atoms/Rate/index.js +1 -1
  111. package/es/components/atoms/RateV2/RateV2.d.ts +18 -18
  112. package/es/components/atoms/RateV2/RateV2.js +73 -73
  113. package/es/components/atoms/RateV2/index.d.ts +1 -1
  114. package/es/components/atoms/RateV2/index.js +1 -1
  115. package/es/components/atoms/RequiredLabel/index.d.ts +7 -7
  116. package/es/components/atoms/RequiredLabel/index.js +24 -24
  117. package/es/components/atoms/RequiredLabel/styled.d.ts +2 -2
  118. package/es/components/atoms/RequiredLabel/styled.js +10 -10
  119. package/es/components/atoms/ScrollBox/index.d.ts +9 -9
  120. package/es/components/atoms/ScrollBox/index.js +51 -51
  121. package/es/components/atoms/Segmented/Segmented.d.ts +2 -2
  122. package/es/components/atoms/Segmented/Segmented.js +2 -2
  123. package/es/components/atoms/Segmented/index.d.ts +1 -1
  124. package/es/components/atoms/Segmented/index.js +1 -1
  125. package/es/components/atoms/Skeleton/Skeleton.d.ts +8 -8
  126. package/es/components/atoms/Skeleton/Skeleton.js +2 -2
  127. package/es/components/atoms/Skeleton/index.d.ts +1 -1
  128. package/es/components/atoms/Skeleton/index.js +1 -1
  129. package/es/components/atoms/Slider/index.d.ts +6 -6
  130. package/es/components/atoms/Slider/index.js +25 -25
  131. package/es/components/atoms/Slider/styled.d.ts +7 -7
  132. package/es/components/atoms/Slider/styled.js +44 -44
  133. package/es/components/atoms/SliderV2/index.d.ts +6 -6
  134. package/es/components/atoms/SliderV2/index.js +21 -21
  135. package/es/components/atoms/Space/Space.d.ts +6 -6
  136. package/es/components/atoms/Space/Space.js +9 -9
  137. package/es/components/atoms/Space/index.d.ts +1 -1
  138. package/es/components/atoms/Space/index.js +1 -1
  139. package/es/components/atoms/Spin/Spin.d.ts +10 -10
  140. package/es/components/atoms/Spin/Spin.js +28 -28
  141. package/es/components/atoms/Spin/index.d.ts +1 -1
  142. package/es/components/atoms/Spin/index.js +1 -1
  143. package/es/components/atoms/Spin/styled.d.ts +1 -1
  144. package/es/components/atoms/Spin/styled.js +7 -7
  145. package/es/components/atoms/Statistic/Statistic.d.ts +1 -1
  146. package/es/components/atoms/Statistic/Statistic.js +2 -2
  147. package/es/components/atoms/Statistic/index.d.ts +1 -1
  148. package/es/components/atoms/Statistic/index.js +1 -1
  149. package/es/components/atoms/Steps/Steps.d.ts +4 -4
  150. package/es/components/atoms/Steps/Steps.js +2 -2
  151. package/es/components/atoms/Steps/index.d.ts +1 -1
  152. package/es/components/atoms/Steps/index.js +1 -1
  153. package/es/components/atoms/Switch/Switch.d.ts +2 -2
  154. package/es/components/atoms/Switch/Switch.js +2 -2
  155. package/es/components/atoms/Switch/index.d.ts +1 -1
  156. package/es/components/atoms/Switch/index.js +1 -1
  157. package/es/components/atoms/Tag/Tag.d.ts +1 -1
  158. package/es/components/atoms/Tag/Tag.js +1 -1
  159. package/es/components/atoms/Tag/index.d.ts +1 -1
  160. package/es/components/atoms/Tag/index.js +1 -1
  161. package/es/components/atoms/Text/index.d.ts +10 -10
  162. package/es/components/atoms/Text/index.js +27 -27
  163. package/es/components/atoms/Text/styled.d.ts +7 -7
  164. package/es/components/atoms/Text/styled.js +52 -52
  165. package/es/components/atoms/Timeline/Timeline.d.ts +4 -4
  166. package/es/components/atoms/Timeline/Timeline.js +2 -2
  167. package/es/components/atoms/Timeline/index.d.ts +1 -1
  168. package/es/components/atoms/Timeline/index.js +1 -1
  169. package/es/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  170. package/es/components/atoms/Tooltip/Tooltip.js +1 -1
  171. package/es/components/atoms/Tooltip/index.d.ts +1 -1
  172. package/es/components/atoms/Tooltip/index.js +1 -1
  173. package/es/components/atoms/Typography/Text.d.ts +1 -1
  174. package/es/components/atoms/Typography/Text.js +1 -1
  175. package/es/components/atoms/Typography/index.d.ts +1 -1
  176. package/es/components/atoms/Typography/index.js +1 -1
  177. package/es/components/atoms/Watermark/Watermark.d.ts +2 -2
  178. package/es/components/atoms/Watermark/Watermark.js +2 -2
  179. package/es/components/atoms/Watermark/index.d.ts +1 -1
  180. package/es/components/atoms/Watermark/index.js +1 -1
  181. package/es/components/atoms/index.d.ts +36 -36
  182. package/es/components/atoms/index.js +35 -35
  183. package/es/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
  184. package/es/components/common/ConfigProvider/ConfigProvider.js +42 -42
  185. package/es/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
  186. package/es/components/common/ConfigProvider/GlobalStyle.js +527 -527
  187. package/es/components/common/ConfigProvider/index.d.ts +1 -1
  188. package/es/components/common/ConfigProvider/index.js +1 -1
  189. package/es/components/common/index.d.ts +1 -1
  190. package/es/components/common/index.js +1 -1
  191. package/es/components/icons/AccountCircle.d.ts +3 -3
  192. package/es/components/icons/AccountCircle.js +3 -3
  193. package/es/components/icons/AddShoppingCart.d.ts +3 -3
  194. package/es/components/icons/AddShoppingCart.js +3 -3
  195. package/es/components/icons/ArrowGrowIcon.d.ts +2 -2
  196. package/es/components/icons/ArrowGrowIcon.js +4 -4
  197. package/es/components/icons/AssignmentInd.d.ts +3 -3
  198. package/es/components/icons/AssignmentInd.js +3 -3
  199. package/es/components/icons/AudioRecordIcon.d.ts +2 -2
  200. package/es/components/icons/AudioRecordIcon.js +4 -4
  201. package/es/components/icons/BugIcon.d.ts +2 -2
  202. package/es/components/icons/BugIcon.js +4 -4
  203. package/es/components/icons/Call.d.ts +3 -3
  204. package/es/components/icons/Call.js +3 -3
  205. package/es/components/icons/CameraIcon.d.ts +2 -2
  206. package/es/components/icons/CameraIcon.js +4 -4
  207. package/es/components/icons/CaptureIcon.d.ts +2 -2
  208. package/es/components/icons/CaptureIcon.js +4 -4
  209. package/es/components/icons/Category.d.ts +3 -3
  210. package/es/components/icons/Category.js +5 -5
  211. package/es/components/icons/ChatBubbleOutline.d.ts +3 -3
  212. package/es/components/icons/ChatBubbleOutline.js +3 -3
  213. package/es/components/icons/CheckSlimIcon.d.ts +2 -2
  214. package/es/components/icons/CheckSlimIcon.js +4 -4
  215. package/es/components/icons/CircleNotifications.d.ts +3 -3
  216. package/es/components/icons/CircleNotifications.js +3 -3
  217. package/es/components/icons/CloseIcon.d.ts +4 -4
  218. package/es/components/icons/CloseIcon.js +22 -22
  219. package/es/components/icons/CommentIcon.d.ts +2 -2
  220. package/es/components/icons/CommentIcon.js +4 -4
  221. package/es/components/icons/ConfirmationNumber.d.ts +3 -3
  222. package/es/components/icons/ConfirmationNumber.js +3 -3
  223. package/es/components/icons/DesktopWindows.d.ts +3 -3
  224. package/es/components/icons/DesktopWindows.js +3 -3
  225. package/es/components/icons/EventIcon.d.ts +4 -4
  226. package/es/components/icons/EventIcon.js +18 -18
  227. package/es/components/icons/FactCheck.d.ts +3 -3
  228. package/es/components/icons/FactCheck.js +3 -3
  229. package/es/components/icons/FreeDrawIcon.d.ts +2 -2
  230. package/es/components/icons/FreeDrawIcon.js +4 -4
  231. package/es/components/icons/GPTIcon.d.ts +2 -2
  232. package/es/components/icons/GPTIcon.js +18 -18
  233. package/es/components/icons/GPTIconV2.d.ts +2 -2
  234. package/es/components/icons/GPTIconV2.js +18 -18
  235. package/es/components/icons/GPTIconV3.d.ts +2 -2
  236. package/es/components/icons/GPTIconV3.js +5 -5
  237. package/es/components/icons/HighlightIcon.d.ts +2 -2
  238. package/es/components/icons/HighlightIcon.js +4 -4
  239. package/es/components/icons/HightlightAlt.d.ts +3 -3
  240. package/es/components/icons/HightlightAlt.js +3 -3
  241. package/es/components/icons/HowToReg.d.ts +3 -3
  242. package/es/components/icons/HowToReg.js +3 -3
  243. package/es/components/icons/IdeaIcon.d.ts +2 -2
  244. package/es/components/icons/IdeaIcon.js +4 -4
  245. package/es/components/icons/Interactive.d.ts +3 -3
  246. package/es/components/icons/Interactive.js +3 -3
  247. package/es/components/icons/InvisibleIcon.d.ts +2 -2
  248. package/es/components/icons/InvisibleIcon.js +5 -5
  249. package/es/components/icons/List.d.ts +3 -3
  250. package/es/components/icons/List.js +3 -3
  251. package/es/components/icons/LocalMallIcon.d.ts +3 -3
  252. package/es/components/icons/LocalMallIcon.js +3 -3
  253. package/es/components/icons/MobileFriendly.d.ts +3 -3
  254. package/es/components/icons/MobileFriendly.js +3 -3
  255. package/es/components/icons/MuteIcon.d.ts +2 -2
  256. package/es/components/icons/MuteIcon.js +4 -4
  257. package/es/components/icons/NotificationsActive.d.ts +3 -3
  258. package/es/components/icons/NotificationsActive.js +3 -3
  259. package/es/components/icons/OpenUrlIcon.d.ts +2 -2
  260. package/es/components/icons/OpenUrlIcon.js +4 -4
  261. package/es/components/icons/PauseIcon.d.ts +2 -2
  262. package/es/components/icons/PauseIcon.js +4 -4
  263. package/es/components/icons/Payment.d.ts +3 -3
  264. package/es/components/icons/Payment.js +3 -3
  265. package/es/components/icons/PersonAddDisabled.d.ts +3 -3
  266. package/es/components/icons/PersonAddDisabled.js +4 -4
  267. package/es/components/icons/PhoneCallback.d.ts +3 -3
  268. package/es/components/icons/PhoneCallback.js +3 -3
  269. package/es/components/icons/PlaneIcon.d.ts +2 -2
  270. package/es/components/icons/PlaneIcon.js +8 -8
  271. package/es/components/icons/Preview.d.ts +3 -3
  272. package/es/components/icons/Preview.js +3 -3
  273. package/es/components/icons/Redeem.d.ts +3 -3
  274. package/es/components/icons/Redeem.js +3 -3
  275. package/es/components/icons/RemoveRedEye.d.ts +3 -3
  276. package/es/components/icons/RemoveRedEye.js +3 -3
  277. package/es/components/icons/RemoveShoppingCart.d.ts +3 -3
  278. package/es/components/icons/RemoveShoppingCart.js +3 -3
  279. package/es/components/icons/RequestIcon.d.ts +2 -2
  280. package/es/components/icons/RequestIcon.js +4 -4
  281. package/es/components/icons/Search.d.ts +3 -3
  282. package/es/components/icons/Search.js +3 -3
  283. package/es/components/icons/ShoppingBag.d.ts +3 -3
  284. package/es/components/icons/ShoppingBag.js +3 -3
  285. package/es/components/icons/ShoppingCart.d.ts +3 -3
  286. package/es/components/icons/ShoppingCart.js +3 -3
  287. package/es/components/icons/StopRecordIcon.d.ts +2 -2
  288. package/es/components/icons/StopRecordIcon.js +4 -4
  289. package/es/components/icons/Store.d.ts +3 -3
  290. package/es/components/icons/Store.js +3 -3
  291. package/es/components/icons/UserIcon.d.ts +2 -2
  292. package/es/components/icons/UserIcon.js +8 -8
  293. package/es/components/icons/VerticalDotsIcon.d.ts +2 -2
  294. package/es/components/icons/VerticalDotsIcon.js +4 -4
  295. package/es/components/icons/WarningIcon.d.ts +2 -2
  296. package/es/components/icons/WarningIcon.js +4 -4
  297. package/es/components/icons/Web.d.ts +3 -3
  298. package/es/components/icons/Web.js +3 -3
  299. package/es/components/icons/WebAsset.d.ts +3 -3
  300. package/es/components/icons/WebAsset.js +3 -3
  301. package/es/components/icons/index.d.ts +54 -54
  302. package/es/components/icons/index.js +54 -54
  303. package/es/components/icons/type.d.ts +3 -3
  304. package/es/components/icons/type.js +1 -1
  305. package/es/components/index.d.ts +4 -4
  306. package/es/components/index.js +4 -4
  307. package/es/components/molecules/AlignSetting/index.d.ts +19 -19
  308. package/es/components/molecules/AlignSetting/index.js +52 -52
  309. package/es/components/molecules/AlignSetting/styled.d.ts +1 -1
  310. package/es/components/molecules/AlignSetting/styled.js +7 -7
  311. package/es/components/molecules/AlignSetting/utils.d.ts +3 -3
  312. package/es/components/molecules/AlignSetting/utils.js +19 -19
  313. package/es/components/molecules/CaptureScreen/CaptureScreen.d.ts +16 -16
  314. package/es/components/molecules/CaptureScreen/CaptureScreen.js +834 -834
  315. package/es/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +17 -17
  316. package/es/components/molecules/CaptureScreen/components/CommentBox/CommentBox.js +80 -80
  317. package/es/components/molecules/CaptureScreen/components/CommentBox/index.d.ts +1 -1
  318. package/es/components/molecules/CaptureScreen/components/CommentBox/index.js +1 -1
  319. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.d.ts +12 -12
  320. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +136 -136
  321. package/es/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +15 -15
  322. package/es/components/molecules/CaptureScreen/components/CommentBox/types.js +1 -1
  323. package/es/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +4 -4
  324. package/es/components/molecules/CaptureScreen/components/Cursor/Cursor.js +17 -17
  325. package/es/components/molecules/CaptureScreen/components/Cursor/index.d.ts +1 -1
  326. package/es/components/molecules/CaptureScreen/components/Cursor/index.js +1 -1
  327. package/es/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +7 -7
  328. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +79 -79
  329. package/es/components/molecules/CaptureScreen/components/Cursor/types.d.ts +10 -10
  330. package/es/components/molecules/CaptureScreen/components/Cursor/types.js +1 -1
  331. package/es/components/molecules/CaptureScreen/constants.d.ts +41 -41
  332. package/es/components/molecules/CaptureScreen/constants.js +118 -118
  333. package/es/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +5 -5
  334. package/es/components/molecules/CaptureScreen/hooks/useImageEditor.js +103 -103
  335. package/es/components/molecules/CaptureScreen/index.d.ts +1 -1
  336. package/es/components/molecules/CaptureScreen/index.js +1 -1
  337. package/es/components/molecules/CaptureScreen/styled.d.ts +26 -26
  338. package/es/components/molecules/CaptureScreen/styled.js +255 -255
  339. package/es/components/molecules/CaptureScreen/themes/black.d.ts +54 -54
  340. package/es/components/molecules/CaptureScreen/themes/black.js +64 -64
  341. package/es/components/molecules/CaptureScreen/themes/white.d.ts +54 -54
  342. package/es/components/molecules/CaptureScreen/themes/white.js +64 -64
  343. package/es/components/molecules/CaptureScreen/types.d.ts +108 -108
  344. package/es/components/molecules/CaptureScreen/types.js +1 -1
  345. package/es/components/molecules/CaptureScreen/utils.d.ts +13 -13
  346. package/es/components/molecules/CaptureScreen/utils.js +62 -62
  347. package/es/components/molecules/Card/Card.d.ts +1 -1
  348. package/es/components/molecules/Card/Card.js +2 -2
  349. package/es/components/molecules/Card/index.d.ts +1 -1
  350. package/es/components/molecules/Card/index.js +1 -1
  351. package/es/components/molecules/Cascader/Cascader.d.ts +1 -1
  352. package/es/components/molecules/Cascader/Cascader.js +1 -1
  353. package/es/components/molecules/Cascader/index.d.ts +1 -1
  354. package/es/components/molecules/Cascader/index.js +1 -1
  355. package/es/components/molecules/ChatBox/ChatBox.d.ts +3 -3
  356. package/es/components/molecules/ChatBox/ChatBox.js +188 -188
  357. package/es/components/molecules/ChatBox/MessageItem.d.ts +5 -5
  358. package/es/components/molecules/ChatBox/MessageItem.js +66 -66
  359. package/es/components/molecules/ChatBox/constants.d.ts +6 -6
  360. package/es/components/molecules/ChatBox/constants.js +51 -51
  361. package/es/components/molecules/ChatBox/index.d.ts +1 -1
  362. package/es/components/molecules/ChatBox/index.js +1 -1
  363. package/es/components/molecules/ChatBox/styled.d.ts +10 -10
  364. package/es/components/molecules/ChatBox/styled.js +280 -280
  365. package/es/components/molecules/ChatBox/types.d.ts +32 -32
  366. package/es/components/molecules/ChatBox/types.js +1 -1
  367. package/es/components/molecules/Collapse/Collapse.d.ts +4 -4
  368. package/es/components/molecules/Collapse/Collapse.js +11 -11
  369. package/es/components/molecules/Collapse/index.d.ts +1 -1
  370. package/es/components/molecules/Collapse/index.js +1 -1
  371. package/es/components/molecules/ColorPicker/ChromePicker/index.d.ts +1 -1
  372. package/es/components/molecules/ColorPicker/ChromePicker/index.js +3 -3
  373. package/es/components/molecules/ColorPicker/ChromePicker/styled.d.ts +1 -1
  374. package/es/components/molecules/ColorPicker/ChromePicker/styled.js +15 -15
  375. package/es/components/molecules/ColorPicker/CustomPicker/index.d.ts +2 -2
  376. package/es/components/molecules/ColorPicker/CustomPicker/index.js +117 -117
  377. package/es/components/molecules/ColorPicker/CustomPicker/styled.d.ts +9 -9
  378. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +104 -104
  379. package/es/components/molecules/ColorPicker/SketchPicker/index.d.ts +10 -10
  380. package/es/components/molecules/ColorPicker/SketchPicker/index.js +5 -5
  381. package/es/components/molecules/ColorPicker/SketchPicker/styled.d.ts +1 -1
  382. package/es/components/molecules/ColorPicker/SketchPicker/styled.js +10 -10
  383. package/es/components/molecules/ColorPicker/index.d.ts +13 -13
  384. package/es/components/molecules/ColorPicker/index.js +95 -95
  385. package/es/components/molecules/ColorPicker/styled.d.ts +1 -1
  386. package/es/components/molecules/ColorPicker/styled.js +10 -10
  387. package/es/components/molecules/ColorSetting/index.d.ts +14 -14
  388. package/es/components/molecules/ColorSetting/index.js +97 -97
  389. package/es/components/molecules/ColorSetting/styled.d.ts +7 -7
  390. package/es/components/molecules/ColorSetting/styled.js +42 -42
  391. package/es/components/molecules/DatePicker/DatePicker.d.ts +8 -8
  392. package/es/components/molecules/DatePicker/DatePicker.js +8 -8
  393. package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
  394. package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.js +428 -428
  395. package/es/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
  396. package/es/components/molecules/DatePicker/components/AdvancedPicker/constants.js +74 -74
  397. package/es/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
  398. package/es/components/molecules/DatePicker/components/AdvancedPicker/index.js +1 -1
  399. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
  400. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +49 -49
  401. package/es/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
  402. package/es/components/molecules/DatePicker/components/AdvancedPicker/types.js +1 -1
  403. package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
  404. package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.js +84 -84
  405. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
  406. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.js +70 -70
  407. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
  408. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/constants.js +4 -4
  409. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
  410. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/index.js +1 -1
  411. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
  412. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/types.js +1 -1
  413. package/es/components/molecules/DatePicker/index.d.ts +3 -3
  414. package/es/components/molecules/DatePicker/index.js +1 -1
  415. package/es/components/molecules/Drawer/Drawer.d.ts +1 -1
  416. package/es/components/molecules/Drawer/Drawer.js +2 -2
  417. package/es/components/molecules/Drawer/index.d.ts +1 -1
  418. package/es/components/molecules/Drawer/index.js +1 -1
  419. package/es/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  420. package/es/components/molecules/Dropdown/Dropdown.js +1 -1
  421. package/es/components/molecules/Dropdown/index.d.ts +1 -1
  422. package/es/components/molecules/Dropdown/index.js +1 -1
  423. package/es/components/molecules/EdgeSetting/index.d.ts +39 -39
  424. package/es/components/molecules/EdgeSetting/index.js +192 -192
  425. package/es/components/molecules/EdgeSetting/styled.d.ts +3 -3
  426. package/es/components/molecules/EdgeSetting/styled.js +18 -18
  427. package/es/components/molecules/FontFamilySelect/constants.d.ts +307 -307
  428. package/es/components/molecules/FontFamilySelect/constants.js +257 -257
  429. package/es/components/molecules/FontFamilySelect/index.d.ts +17 -17
  430. package/es/components/molecules/FontFamilySelect/index.js +53 -53
  431. package/es/components/molecules/FontSetting/constants.d.ts +3 -3
  432. package/es/components/molecules/FontSetting/constants.js +22 -22
  433. package/es/components/molecules/FontSetting/index.d.ts +24 -24
  434. package/es/components/molecules/FontSetting/index.js +54 -54
  435. package/es/components/molecules/FontSetting/types.d.ts +22 -22
  436. package/es/components/molecules/FontSetting/types.js +1 -1
  437. package/es/components/molecules/FontWeightSelect/constants.d.ts +28 -28
  438. package/es/components/molecules/FontWeightSelect/constants.js +11 -11
  439. package/es/components/molecules/FontWeightSelect/index.d.ts +9 -9
  440. package/es/components/molecules/FontWeightSelect/index.js +39 -39
  441. package/es/components/molecules/Form/Form.d.ts +1 -1
  442. package/es/components/molecules/Form/Form.js +1 -1
  443. package/es/components/molecules/Form/index.d.ts +1 -1
  444. package/es/components/molecules/Form/index.js +1 -1
  445. package/es/components/molecules/GradientSetting/index.d.ts +36 -36
  446. package/es/components/molecules/GradientSetting/index.js +99 -99
  447. package/es/components/molecules/GradientSetting/styled.d.ts +1 -1
  448. package/es/components/molecules/GradientSetting/styled.js +59 -59
  449. package/es/components/molecules/IconSelection/components/Icon/index.d.ts +10 -10
  450. package/es/components/molecules/IconSelection/components/Icon/index.js +28 -28
  451. package/es/components/molecules/IconSelection/constants.d.ts +56 -56
  452. package/es/components/molecules/IconSelection/constants.js +89 -89
  453. package/es/components/molecules/IconSelection/index.d.ts +3 -3
  454. package/es/components/molecules/IconSelection/index.js +143 -143
  455. package/es/components/molecules/IconSelection/styled.d.ts +8 -8
  456. package/es/components/molecules/IconSelection/styled.js +80 -80
  457. package/es/components/molecules/IconSelection/types.d.ts +26 -26
  458. package/es/components/molecules/IconSelection/types.js +2 -2
  459. package/es/components/molecules/IconSelection/utils.d.ts +4 -4
  460. package/es/components/molecules/IconSelection/utils.js +13 -13
  461. package/es/components/molecules/InputNumber/index.d.ts +9 -9
  462. package/es/components/molecules/InputNumber/index.js +81 -81
  463. package/es/components/molecules/InputNumberWithUnit/index.d.ts +31 -31
  464. package/es/components/molecules/InputNumberWithUnit/index.js +37 -37
  465. package/es/components/molecules/InputNumberWithUnit/styled.d.ts +1 -1
  466. package/es/components/molecules/InputNumberWithUnit/styled.js +20 -20
  467. package/es/components/molecules/InputSearch/index.d.ts +7 -7
  468. package/es/components/molecules/InputSearch/index.js +23 -23
  469. package/es/components/molecules/InputSearch/styled.d.ts +1 -1
  470. package/es/components/molecules/InputSearch/styled.js +48 -48
  471. package/es/components/molecules/Modal/Modal.d.ts +23 -23
  472. package/es/components/molecules/Modal/Modal.js +26 -26
  473. package/es/components/molecules/Modal/index.d.ts +1 -1
  474. package/es/components/molecules/Modal/index.js +1 -1
  475. package/es/components/molecules/Modal/styled.d.ts +15 -15
  476. package/es/components/molecules/Modal/styled.js +78 -78
  477. package/es/components/molecules/Popconfirm/Popconfirm.d.ts +4 -4
  478. package/es/components/molecules/Popconfirm/Popconfirm.js +2 -2
  479. package/es/components/molecules/Popconfirm/index.d.ts +1 -1
  480. package/es/components/molecules/Popconfirm/index.js +1 -1
  481. package/es/components/molecules/PopupDraggable/PopupDraggable.d.ts +6 -6
  482. package/es/components/molecules/PopupDraggable/PopupDraggable.js +52 -52
  483. package/es/components/molecules/PopupDraggable/index.d.ts +1 -1
  484. package/es/components/molecules/PopupDraggable/index.js +1 -1
  485. package/es/components/molecules/PopupDraggable/styled.d.ts +5 -5
  486. package/es/components/molecules/PopupDraggable/styled.js +52 -52
  487. package/es/components/molecules/PopupDraggable/types.d.ts +15 -15
  488. package/es/components/molecules/PopupDraggable/types.js +1 -1
  489. package/es/components/molecules/RadioGroup/index.d.ts +7 -7
  490. package/es/components/molecules/RadioGroup/index.js +23 -23
  491. package/es/components/molecules/RadioGroup/styled.d.ts +3 -3
  492. package/es/components/molecules/RadioGroup/styled.js +14 -14
  493. package/es/components/molecules/ResizeGrid/ResizeGrid.d.ts +3 -3
  494. package/es/components/molecules/ResizeGrid/ResizeGrid.js +353 -353
  495. package/es/components/molecules/ResizeGrid/components/Cell/Cell.d.ts +3 -3
  496. package/es/components/molecules/ResizeGrid/components/Cell/Cell.js +67 -67
  497. package/es/components/molecules/ResizeGrid/components/Cell/index.d.ts +1 -1
  498. package/es/components/molecules/ResizeGrid/components/Cell/index.js +1 -1
  499. package/es/components/molecules/ResizeGrid/components/Cell/styled.d.ts +3 -3
  500. package/es/components/molecules/ResizeGrid/components/Cell/styled.js +62 -62
  501. package/es/components/molecules/ResizeGrid/constant.d.ts +34 -34
  502. package/es/components/molecules/ResizeGrid/constant.js +108 -108
  503. package/es/components/molecules/ResizeGrid/index.d.ts +2 -2
  504. package/es/components/molecules/ResizeGrid/index.js +1 -1
  505. package/es/components/molecules/ResizeGrid/styled.d.ts +3 -3
  506. package/es/components/molecules/ResizeGrid/styled.js +20 -20
  507. package/es/components/molecules/ResizeGrid/types.d.ts +128 -128
  508. package/es/components/molecules/ResizeGrid/types.js +1 -1
  509. package/es/components/molecules/Result/Result.d.ts +1 -1
  510. package/es/components/molecules/Result/Result.js +2 -2
  511. package/es/components/molecules/Result/index.d.ts +1 -1
  512. package/es/components/molecules/Result/index.js +1 -1
  513. package/es/components/molecules/Select/Select.d.ts +17 -17
  514. package/es/components/molecules/Select/Select.js +50 -50
  515. package/es/components/molecules/Select/Test.d.ts +3 -3
  516. package/es/components/molecules/Select/Test.js +22 -22
  517. package/es/components/molecules/Select/index.d.ts +2 -2
  518. package/es/components/molecules/Select/index.js +1 -1
  519. package/es/components/molecules/Select/styled.d.ts +4 -4
  520. package/es/components/molecules/Select/styled.js +41 -41
  521. package/es/components/molecules/SettingWrapper/index.d.ts +12 -12
  522. package/es/components/molecules/SettingWrapper/index.js +20 -20
  523. package/es/components/molecules/SettingWrapper/styled.d.ts +5 -5
  524. package/es/components/molecules/SettingWrapper/styled.js +17 -17
  525. package/es/components/molecules/SettingWrapperPopover/index.d.ts +16 -16
  526. package/es/components/molecules/SettingWrapperPopover/index.js +17 -17
  527. package/es/components/molecules/SliderWithInputNumber/index.d.ts +11 -11
  528. package/es/components/molecules/SliderWithInputNumber/index.js +62 -62
  529. package/es/components/molecules/SliderWithInputNumber/styled.d.ts +1 -1
  530. package/es/components/molecules/SliderWithInputNumber/styled.js +8 -8
  531. package/es/components/molecules/Tabs/Tabs.d.ts +1 -1
  532. package/es/components/molecules/Tabs/Tabs.js +1 -1
  533. package/es/components/molecules/Tabs/index.d.ts +1 -1
  534. package/es/components/molecules/Tabs/index.js +1 -1
  535. package/es/components/molecules/TextDecorationSelect/constants.d.ts +19 -19
  536. package/es/components/molecules/TextDecorationSelect/constants.js +26 -26
  537. package/es/components/molecules/TextDecorationSelect/index.d.ts +15 -15
  538. package/es/components/molecules/TextDecorationSelect/index.js +45 -45
  539. package/es/components/molecules/TextTransformSelect/constants.d.ts +13 -13
  540. package/es/components/molecules/TextTransformSelect/constants.js +19 -19
  541. package/es/components/molecules/TextTransformSelect/index.d.ts +9 -9
  542. package/es/components/molecules/TextTransformSelect/index.js +39 -39
  543. package/es/components/molecules/TreeSelect/TreeSelect.d.ts +11 -11
  544. package/es/components/molecules/TreeSelect/TreeSelect.js +2 -2
  545. package/es/components/molecules/TreeSelect/index.d.ts +1 -1
  546. package/es/components/molecules/TreeSelect/index.js +1 -1
  547. package/es/components/molecules/UploadImage/MediaIcon.d.ts +3 -3
  548. package/es/components/molecules/UploadImage/MediaIcon.js +8 -8
  549. package/es/components/molecules/UploadImage/index.d.ts +33 -33
  550. package/es/components/molecules/UploadImage/index.js +366 -366
  551. package/es/components/molecules/UploadImage/styled.d.ts +13 -13
  552. package/es/components/molecules/UploadImage/styled.js +134 -134
  553. package/es/components/molecules/index.d.ts +40 -40
  554. package/es/components/molecules/index.js +35 -35
  555. package/es/components/organism/Help/Help.d.ts +5 -5
  556. package/es/components/organism/Help/Help.js +1005 -1005
  557. package/es/components/organism/Help/constants.d.ts +140 -140
  558. package/es/components/organism/Help/constants.js +1653 -1653
  559. package/es/components/organism/Help/index.d.ts +1 -1
  560. package/es/components/organism/Help/index.js +1 -1
  561. package/es/components/organism/Help/styled.d.ts +71 -71
  562. package/es/components/organism/Help/styled.js +264 -264
  563. package/es/components/organism/Help/types.d.ts +67 -67
  564. package/es/components/organism/Help/types.js +1 -1
  565. package/es/components/organism/Help/utils.d.ts +15 -15
  566. package/es/components/organism/Help/utils.js +82 -82
  567. package/es/components/organism/PositionSetting/config.d.ts +10 -10
  568. package/es/components/organism/PositionSetting/config.js +10 -10
  569. package/es/components/organism/PositionSetting/index.d.ts +15 -15
  570. package/es/components/organism/PositionSetting/index.js +62 -62
  571. package/es/components/organism/PositionSetting/styled.d.ts +1 -1
  572. package/es/components/organism/PositionSetting/styled.js +3 -3
  573. package/es/components/organism/PositionSetting/types.d.ts +10 -10
  574. package/es/components/organism/PositionSetting/types.js +1 -1
  575. package/es/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -18
  576. package/es/components/organism/Table/CrossTabTable/CrossTabTable.js +305 -305
  577. package/es/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -11
  578. package/es/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.js +22 -22
  579. package/es/components/organism/Table/CrossTabTable/components/CustomCell/index.d.ts +1 -1
  580. package/es/components/organism/Table/CrossTabTable/components/CustomCell/index.js +1 -1
  581. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -1
  582. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +13 -13
  583. package/es/components/organism/Table/CrossTabTable/constants.d.ts +75 -75
  584. package/es/components/organism/Table/CrossTabTable/constants.js +1525 -1525
  585. package/es/components/organism/Table/CrossTabTable/index.d.ts +1 -1
  586. package/es/components/organism/Table/CrossTabTable/index.js +1 -1
  587. package/es/components/organism/Table/CrossTabTable/styled.d.ts +1 -1
  588. package/es/components/organism/Table/CrossTabTable/styled.js +13 -13
  589. package/es/components/organism/Table/CrossTabTable/types.d.ts +1 -1
  590. package/es/components/organism/Table/CrossTabTable/types.js +1 -1
  591. package/es/components/organism/Table/CrossTabTable/utils.d.ts +1 -1
  592. package/es/components/organism/Table/CrossTabTable/utils.js +1 -1
  593. package/es/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -11
  594. package/es/components/organism/Table/ExplorePivotTable/ExplorePivotTable.js +51 -51
  595. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -12
  596. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.js +41 -41
  597. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -1
  598. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/index.js +1 -1
  599. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -3
  600. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +21 -21
  601. package/es/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -4
  602. package/es/components/organism/Table/ExplorePivotTable/constants.js +84 -84
  603. package/es/components/organism/Table/ExplorePivotTable/index.d.ts +2 -2
  604. package/es/components/organism/Table/ExplorePivotTable/index.js +2 -2
  605. package/es/components/organism/Table/ExplorePivotTable/styled.d.ts +12 -12
  606. package/es/components/organism/Table/ExplorePivotTable/styled.js +15 -15
  607. package/es/components/organism/Table/ExplorePivotTable/types.d.ts +17 -17
  608. package/es/components/organism/Table/ExplorePivotTable/types.js +1 -1
  609. package/es/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -4
  610. package/es/components/organism/Table/ExplorePivotTable/utils.js +154 -154
  611. package/es/components/organism/Table/Table.d.ts +1 -1
  612. package/es/components/organism/Table/Table.js +1 -1
  613. package/es/components/organism/Table/index.d.ts +2 -2
  614. package/es/components/organism/Table/index.js +2 -2
  615. package/es/components/organism/index.d.ts +3 -3
  616. package/es/components/organism/index.js +3 -3
  617. package/es/constants/gradientSetting.d.ts +83 -83
  618. package/es/constants/gradientSetting.js +86 -86
  619. package/es/constants/index.d.ts +3 -3
  620. package/es/constants/index.js +3 -3
  621. package/es/constants/keyCode.d.ts +387 -387
  622. package/es/constants/keyCode.js +394 -394
  623. package/es/constants/storybook.d.ts +12 -12
  624. package/es/constants/storybook.js +24 -24
  625. package/es/constants/theme.d.ts +12 -12
  626. package/es/constants/theme.js +168 -168
  627. package/es/hooks/index.d.ts +2 -2
  628. package/es/hooks/index.js +21 -21
  629. package/es/hooks/useDebounce.d.ts +3 -3
  630. package/es/hooks/useDebounce.js +15 -15
  631. package/es/hooks/useDeepCompareEffect.d.ts +1 -1
  632. package/es/hooks/useDeepCompareEffect.js +21 -21
  633. package/es/index.d.ts +1 -1
  634. package/es/index.js +1 -1
  635. package/es/locales/en/translation.json +66 -66
  636. package/es/locales/i18n.d.ts +140 -140
  637. package/es/locales/i18n.js +38 -38
  638. package/es/locales/translations.d.ts +70 -70
  639. package/es/locales/translations.js +35 -35
  640. package/es/locales/types.d.ts +15 -15
  641. package/es/locales/types.js +1 -1
  642. package/es/locales/vi/translation.json +66 -66
  643. package/es/models/SavedImage.d.ts +32 -32
  644. package/es/models/SavedImage.js +26 -26
  645. package/es/models/Upload.d.ts +32 -32
  646. package/es/models/Upload.js +21 -21
  647. package/es/models/model.d.ts +8 -8
  648. package/es/models/model.js +5 -5
  649. package/es/services/MediaTemplateDesign/UploadFile/index.d.ts +6 -6
  650. package/es/services/MediaTemplateDesign/UploadFile/index.js +75 -75
  651. package/es/services/Ticket.d.ts +67 -67
  652. package/es/services/Ticket.js +73 -73
  653. package/es/services/constants.d.ts +20 -20
  654. package/es/services/constants.js +21 -21
  655. package/es/services/index.d.ts +9 -9
  656. package/es/services/index.js +64 -64
  657. package/es/test.d.ts +14 -14
  658. package/es/test.js +162 -162
  659. package/es/types/index.d.ts +6 -6
  660. package/es/types/index.js +1 -1
  661. package/es/utils/color.d.ts +10 -10
  662. package/es/utils/color.js +61 -61
  663. package/es/utils/common.d.ts +53 -53
  664. package/es/utils/common.js +355 -355
  665. package/es/utils/handleError.d.ts +2 -2
  666. package/es/utils/handleError.js +6 -6
  667. package/es/utils/index.d.ts +3 -3
  668. package/es/utils/index.js +3 -3
  669. package/es/utils/loadable.d.ts +7 -7
  670. package/es/utils/loadable.js +10 -10
  671. package/es/utils/web.d.ts +10 -10
  672. package/es/utils/web.js +26 -26
  673. package/package.json +183 -183
@@ -1,17 +1,17 @@
1
- // Libraries
2
- import styled, { css } from 'styled-components';
3
- export const StyledSettingWrapper = styled.div `
4
- display: flex;
5
-
6
- ${props => props.vertical
7
- ? css `
8
- flex-direction: column;
9
- margin-top: 5px;
10
- margin-bottom: 5px;
11
- `
12
- : css `
13
- align-items: center;
14
- justify-content: space-between;
15
- flex-wrap: wrap;
16
- `}
17
- `;
1
+ // Libraries
2
+ import styled, { css } from 'styled-components';
3
+ export const StyledSettingWrapper = styled.div `
4
+ display: flex;
5
+
6
+ ${props => props.vertical
7
+ ? css `
8
+ flex-direction: column;
9
+ margin-top: 5px;
10
+ margin-bottom: 5px;
11
+ `
12
+ : css `
13
+ align-items: center;
14
+ justify-content: space-between;
15
+ flex-wrap: wrap;
16
+ `}
17
+ `;
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { SettingWrapperProps } from '../SettingWrapper';
3
- import { PopoverProps } from 'antd';
4
- export type SettingWrapperPopoverProps = {
5
- label: string;
6
- wrapperProps?: Omit<SettingWrapperProps, 'label'>;
7
- popoverProps?: Omit<PopoverProps, 'content'>;
8
- iconPopover?: React.ReactNode;
9
- };
10
- /**
11
- * Renders a popover wrapper for a setting.
12
- *
13
- * @param {React.PropsWithChildren<SettingWrapperPopoverProps>} props - The props object containing the label, children, wrapperProps and popoverProps.
14
- * @returns {React.ReactElement} The rendered popover wrapper.
15
- */
16
- export declare const SettingWrapperPopover: React.FC<React.PropsWithChildren<SettingWrapperPopoverProps>>;
1
+ import React from 'react';
2
+ import { SettingWrapperProps } from '../SettingWrapper';
3
+ import { PopoverProps } from 'antd';
4
+ export type SettingWrapperPopoverProps = {
5
+ label: string;
6
+ wrapperProps?: Omit<SettingWrapperProps, 'label'>;
7
+ popoverProps?: Omit<PopoverProps, 'content'>;
8
+ iconPopover?: React.ReactNode;
9
+ };
10
+ /**
11
+ * Renders a popover wrapper for a setting.
12
+ *
13
+ * @param {React.PropsWithChildren<SettingWrapperPopoverProps>} props - The props object containing the label, children, wrapperProps and popoverProps.
14
+ * @returns {React.ReactElement} The rendered popover wrapper.
15
+ */
16
+ export declare const SettingWrapperPopover: React.FC<React.PropsWithChildren<SettingWrapperPopoverProps>>;
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- import { SettingWrapper } from '../SettingWrapper';
3
- import { Button, Icon, Popover } from '../../atoms';
4
- /**
5
- * Renders a popover wrapper for a setting.
6
- *
7
- * @param {React.PropsWithChildren<SettingWrapperPopoverProps>} props - The props object containing the label, children, wrapperProps and popoverProps.
8
- * @returns {React.ReactElement} The rendered popover wrapper.
9
- */
10
- export const SettingWrapperPopover = ({ label, children, wrapperProps, popoverProps, iconPopover, }) => {
11
- var _a, _b;
12
- return (React.createElement(SettingWrapper, Object.assign({ label: label, labelStyle: Object.assign({ fontWeight: 'bold' }, ((_a = wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.labelStyle) !== null && _a !== void 0 ? _a : {})) }, (wrapperProps !== null && wrapperProps !== void 0 ? wrapperProps : {})),
13
- React.createElement(Popover, Object.assign({ content: children, trigger: ['click'], overlayInnerStyle: Object.assign({ padding: '12px 16px', minWidth: 288, maxHeight: '90vh', overflow: 'auto' }, ((_b = popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.overlayInnerStyle) !== null && _b !== void 0 ? _b : {})) }, (popoverProps !== null && popoverProps !== void 0 ? popoverProps : {})), iconPopover)));
14
- };
15
- SettingWrapperPopover.defaultProps = {
16
- iconPopover: React.createElement(Button, { icon: React.createElement(Icon, { type: "icon-ants-edit-2" }), type: "text" }),
17
- };
1
+ import React from 'react';
2
+ import { SettingWrapper } from '../SettingWrapper';
3
+ import { Button, Icon, Popover } from '../../atoms';
4
+ /**
5
+ * Renders a popover wrapper for a setting.
6
+ *
7
+ * @param {React.PropsWithChildren<SettingWrapperPopoverProps>} props - The props object containing the label, children, wrapperProps and popoverProps.
8
+ * @returns {React.ReactElement} The rendered popover wrapper.
9
+ */
10
+ export const SettingWrapperPopover = ({ label, children, wrapperProps, popoverProps, iconPopover, }) => {
11
+ var _a, _b;
12
+ return (React.createElement(SettingWrapper, Object.assign({ label: label, labelStyle: Object.assign({ fontWeight: 'bold' }, ((_a = wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.labelStyle) !== null && _a !== void 0 ? _a : {})) }, (wrapperProps !== null && wrapperProps !== void 0 ? wrapperProps : {})),
13
+ React.createElement(Popover, Object.assign({ content: children, trigger: ['click'], overlayInnerStyle: Object.assign({ padding: '12px 16px', minWidth: 288, maxHeight: '90vh', overflow: 'auto' }, ((_b = popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.overlayInnerStyle) !== null && _b !== void 0 ? _b : {})) }, (popoverProps !== null && popoverProps !== void 0 ? popoverProps : {})), iconPopover)));
14
+ };
15
+ SettingWrapperPopover.defaultProps = {
16
+ iconPopover: React.createElement(Button, { icon: React.createElement(Icon, { type: "icon-ants-edit-2" }), type: "text" }),
17
+ };
@@ -1,11 +1,11 @@
1
- import React, { CSSProperties } from 'react';
2
- import { SliderProps } from '@antscorp/antsomi-ui/es/components/atoms/Slider';
3
- interface SliderWithInputNumberProps extends SliderProps {
4
- precision?: number;
5
- label?: React.ReactNode;
6
- labelClassName?: string;
7
- labelStyling?: Partial<CSSProperties>;
8
- inputStyling?: Partial<CSSProperties>;
9
- }
10
- export declare const SliderWithInputNumber: React.FC<SliderWithInputNumberProps>;
11
- export {};
1
+ import React, { CSSProperties } from 'react';
2
+ import { SliderProps } from '@antscorp/antsomi-ui/es/components/atoms/Slider';
3
+ interface SliderWithInputNumberProps extends SliderProps {
4
+ precision?: number;
5
+ label?: React.ReactNode;
6
+ labelClassName?: string;
7
+ labelStyling?: Partial<CSSProperties>;
8
+ inputStyling?: Partial<CSSProperties>;
9
+ }
10
+ export declare const SliderWithInputNumber: React.FC<SliderWithInputNumberProps>;
11
+ export {};
@@ -1,62 +1,62 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- // Libraries
13
- import React, { useEffect, useState } from 'react';
14
- // Atoms
15
- import { Slider } from '@antscorp/antsomi-ui/es/components/atoms/Slider';
16
- // Molecules
17
- import { InputNumber } from '@antscorp/antsomi-ui/es/components/molecules/InputNumber';
18
- // Styled
19
- import { SliderWithInputNumberWrapper } from './styled';
20
- // Utils
21
- import { handleError } from '@antscorp/antsomi-ui/es/utils';
22
- const PATH = '@antscorp/antsomi-ui/es/components/molecules/SliderWithInputNumber/index.tsx';
23
- export const SliderWithInputNumber = props => {
24
- // Props
25
- const { label, labelClassName, labelStyling, inputStyling, defaultValue, min, max, step, precision } = props, restOf = __rest(props, ["label", "labelClassName", "labelStyling", "inputStyling", "defaultValue", "min", "max", "step", "precision"]);
26
- // State
27
- const [value, setValue] = useState(defaultValue);
28
- useEffect(() => {
29
- if (props.value !== undefined) {
30
- setValue(props.value);
31
- }
32
- }, [props.value]);
33
- const onChangeInputNumber = (value) => {
34
- try {
35
- if (value !== null) {
36
- setValue(value);
37
- typeof props.onAfterChange === 'function' && props.onAfterChange(value);
38
- }
39
- }
40
- catch (error) {
41
- handleError(error, {
42
- path: PATH,
43
- name: 'onChange',
44
- args: {},
45
- });
46
- }
47
- };
48
- return (React.createElement(SliderWithInputNumberWrapper, null,
49
- React.createElement("div", { className: labelClassName, style: labelStyling }, label),
50
- React.createElement("div", { style: {
51
- display: 'flex',
52
- alignItems: 'center',
53
- width: '100%',
54
- } },
55
- React.createElement(Slider, Object.assign({ defaultValue: defaultValue, min: min, max: max, step: step }, restOf, { onChange: value => setValue(value), value: value })),
56
- React.createElement(InputNumber, { defaultValue: defaultValue, value: value, min: min, max: max, step: step || 1, style: Object.assign({ flexShrink: 0, width: 57, marginLeft: 20 }, inputStyling),
57
- // precision={precision}
58
- onChange: onChangeInputNumber }))));
59
- };
60
- SliderWithInputNumber.defaultProps = {
61
- defaultValue: 0,
62
- };
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ // Libraries
13
+ import React, { useEffect, useState } from 'react';
14
+ // Atoms
15
+ import { Slider } from '@antscorp/antsomi-ui/es/components/atoms/Slider';
16
+ // Molecules
17
+ import { InputNumber } from '@antscorp/antsomi-ui/es/components/molecules/InputNumber';
18
+ // Styled
19
+ import { SliderWithInputNumberWrapper } from './styled';
20
+ // Utils
21
+ import { handleError } from '@antscorp/antsomi-ui/es/utils';
22
+ const PATH = '@antscorp/antsomi-ui/es/components/molecules/SliderWithInputNumber/index.tsx';
23
+ export const SliderWithInputNumber = props => {
24
+ // Props
25
+ const { label, labelClassName, labelStyling, inputStyling, defaultValue, min, max, step, precision } = props, restOf = __rest(props, ["label", "labelClassName", "labelStyling", "inputStyling", "defaultValue", "min", "max", "step", "precision"]);
26
+ // State
27
+ const [value, setValue] = useState(defaultValue);
28
+ useEffect(() => {
29
+ if (props.value !== undefined) {
30
+ setValue(props.value);
31
+ }
32
+ }, [props.value]);
33
+ const onChangeInputNumber = (value) => {
34
+ try {
35
+ if (value !== null) {
36
+ setValue(value);
37
+ typeof props.onAfterChange === 'function' && props.onAfterChange(value);
38
+ }
39
+ }
40
+ catch (error) {
41
+ handleError(error, {
42
+ path: PATH,
43
+ name: 'onChange',
44
+ args: {},
45
+ });
46
+ }
47
+ };
48
+ return (React.createElement(SliderWithInputNumberWrapper, null,
49
+ React.createElement("div", { className: labelClassName, style: labelStyling }, label),
50
+ React.createElement("div", { style: {
51
+ display: 'flex',
52
+ alignItems: 'center',
53
+ width: '100%',
54
+ } },
55
+ React.createElement(Slider, Object.assign({ defaultValue: defaultValue, min: min, max: max, step: step }, restOf, { onChange: value => setValue(value), value: value })),
56
+ React.createElement(InputNumber, { defaultValue: defaultValue, value: value, min: min, max: max, step: step || 1, style: Object.assign({ flexShrink: 0, width: 57, marginLeft: 20 }, inputStyling),
57
+ // precision={precision}
58
+ onChange: onChangeInputNumber }))));
59
+ };
60
+ SliderWithInputNumber.defaultProps = {
61
+ defaultValue: 0,
62
+ };
@@ -1 +1 @@
1
- export declare const SliderWithInputNumberWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const SliderWithInputNumberWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,8 +1,8 @@
1
- var _a;
2
- // Libraries
3
- import styled from 'styled-components';
4
- // Constants
5
- import { THEME } from '@antscorp/antsomi-ui/es/constants';
6
- export const SliderWithInputNumberWrapper = styled.div `
7
- font-size: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.fontSize}px;
8
- `;
1
+ var _a;
2
+ // Libraries
3
+ import styled from 'styled-components';
4
+ // Constants
5
+ import { THEME } from '@antscorp/antsomi-ui/es/constants';
6
+ export const SliderWithInputNumberWrapper = styled.div `
7
+ font-size: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.fontSize}px;
8
+ `;
@@ -1 +1 @@
1
- export { Tabs } from 'antd';
1
+ export { Tabs } from 'antd';
@@ -1 +1 @@
1
- export { Tabs } from 'antd';
1
+ export { Tabs } from 'antd';
@@ -1 +1 @@
1
- export { Tabs } from './Tabs';
1
+ export { Tabs } from './Tabs';
@@ -1 +1 @@
1
- export { Tabs } from './Tabs';
1
+ export { Tabs } from './Tabs';
@@ -1,19 +1,19 @@
1
- export declare const OPTION_TEXT_DECORATION: readonly [{
2
- readonly label: "None";
3
- readonly value: "none";
4
- }, {
5
- readonly label: "Underline";
6
- readonly value: "underline";
7
- }, {
8
- readonly label: "Overline";
9
- readonly value: "overline";
10
- }, {
11
- readonly label: "Line Through";
12
- readonly value: "line-through";
13
- }, {
14
- readonly label: "Underline - Overline";
15
- readonly value: "underline overline";
16
- }, {
17
- readonly label: "Underline - Line Through";
18
- readonly value: "underline line-through";
19
- }];
1
+ export declare const OPTION_TEXT_DECORATION: readonly [{
2
+ readonly label: "None";
3
+ readonly value: "none";
4
+ }, {
5
+ readonly label: "Underline";
6
+ readonly value: "underline";
7
+ }, {
8
+ readonly label: "Overline";
9
+ readonly value: "overline";
10
+ }, {
11
+ readonly label: "Line Through";
12
+ readonly value: "line-through";
13
+ }, {
14
+ readonly label: "Underline - Overline";
15
+ readonly value: "underline overline";
16
+ }, {
17
+ readonly label: "Underline - Line Through";
18
+ readonly value: "underline line-through";
19
+ }];
@@ -1,26 +1,26 @@
1
- export const OPTION_TEXT_DECORATION = [
2
- {
3
- label: 'None',
4
- value: 'none',
5
- },
6
- {
7
- label: 'Underline',
8
- value: 'underline',
9
- },
10
- {
11
- label: 'Overline',
12
- value: 'overline',
13
- },
14
- {
15
- label: 'Line Through',
16
- value: 'line-through',
17
- },
18
- {
19
- label: 'Underline - Overline',
20
- value: 'underline overline',
21
- },
22
- {
23
- label: 'Underline - Line Through',
24
- value: 'underline line-through',
25
- },
26
- ];
1
+ export const OPTION_TEXT_DECORATION = [
2
+ {
3
+ label: 'None',
4
+ value: 'none',
5
+ },
6
+ {
7
+ label: 'Underline',
8
+ value: 'underline',
9
+ },
10
+ {
11
+ label: 'Overline',
12
+ value: 'overline',
13
+ },
14
+ {
15
+ label: 'Line Through',
16
+ value: 'line-through',
17
+ },
18
+ {
19
+ label: 'Underline - Overline',
20
+ value: 'underline overline',
21
+ },
22
+ {
23
+ label: 'Underline - Line Through',
24
+ value: 'underline line-through',
25
+ },
26
+ ];
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { SelectProps } from '../Select';
3
- import { OPTION_TEXT_DECORATION } from './constants';
4
- export type TextDecorationSelectProps = Omit<SelectProps, 'onChange'> & {
5
- label?: string;
6
- showOptions?: (typeof OPTION_TEXT_DECORATION)[number]['label'][];
7
- onChange?: (textTransform: (typeof OPTION_TEXT_DECORATION)[number]['value']) => void;
8
- };
9
- /**
10
- * Generates a function comment for the given function body.
11
- *
12
- * @param {TextDecorationSelectProps} props - the props for the TextDecorationSelect component
13
- * @return {React.FC<TextDecorationSelectProps>} the TextDecorationSelect component
14
- */
15
- export declare const TextDecorationSelect: React.FC<TextDecorationSelectProps>;
1
+ import React from 'react';
2
+ import { SelectProps } from '../Select';
3
+ import { OPTION_TEXT_DECORATION } from './constants';
4
+ export type TextDecorationSelectProps = Omit<SelectProps, 'onChange'> & {
5
+ label?: string;
6
+ showOptions?: (typeof OPTION_TEXT_DECORATION)[number]['label'][];
7
+ onChange?: (textTransform: (typeof OPTION_TEXT_DECORATION)[number]['value']) => void;
8
+ };
9
+ /**
10
+ * Generates a function comment for the given function body.
11
+ *
12
+ * @param {TextDecorationSelectProps} props - the props for the TextDecorationSelect component
13
+ * @return {React.FC<TextDecorationSelectProps>} the TextDecorationSelect component
14
+ */
15
+ export declare const TextDecorationSelect: React.FC<TextDecorationSelectProps>;
@@ -1,45 +1,45 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import React, { useEffect, useMemo, useState } from 'react';
13
- import { Select } from '../Select';
14
- import { OPTION_TEXT_DECORATION } from './constants';
15
- import { SettingWrapper } from '../SettingWrapper';
16
- /**
17
- * Generates a function comment for the given function body.
18
- *
19
- * @param {TextDecorationSelectProps} props - the props for the TextDecorationSelect component
20
- * @return {React.FC<TextDecorationSelectProps>} the TextDecorationSelect component
21
- */
22
- export const TextDecorationSelect = (props) => {
23
- const { defaultValue, label, value, showOptions, onChange } = props, selectProps = __rest(props, ["defaultValue", "label", "value", "showOptions", "onChange"]);
24
- const [selected, setSelected] = useState(defaultValue || value);
25
- useEffect(() => {
26
- setSelected(value === null || value === void 0 ? void 0 : value.toString());
27
- }, [value]);
28
- const textDecorationOptions = useMemo(() => {
29
- let draftFontFamily = [...OPTION_TEXT_DECORATION];
30
- if (showOptions === null || showOptions === void 0 ? void 0 : showOptions.length) {
31
- draftFontFamily = OPTION_TEXT_DECORATION.filter(({ label }) => showOptions.some(font => font === label));
32
- }
33
- return draftFontFamily;
34
- }, [showOptions]);
35
- const handleChange = (value) => {
36
- if (onChange && typeof onChange === 'function') {
37
- onChange(value);
38
- }
39
- };
40
- return (React.createElement(SettingWrapper, { label: label !== null && label !== void 0 ? label : '', containerStyle: { width: '100%' }, vertical: true },
41
- React.createElement(Select, Object.assign({ value: selected, options: [...textDecorationOptions], style: { width: '100%' }, onChange: select => {
42
- setSelected(select);
43
- handleChange(select);
44
- }, showSearch: true }, selectProps))));
45
- };
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { useEffect, useMemo, useState } from 'react';
13
+ import { Select } from '../Select';
14
+ import { OPTION_TEXT_DECORATION } from './constants';
15
+ import { SettingWrapper } from '../SettingWrapper';
16
+ /**
17
+ * Generates a function comment for the given function body.
18
+ *
19
+ * @param {TextDecorationSelectProps} props - the props for the TextDecorationSelect component
20
+ * @return {React.FC<TextDecorationSelectProps>} the TextDecorationSelect component
21
+ */
22
+ export const TextDecorationSelect = (props) => {
23
+ const { defaultValue, label, value, showOptions, onChange } = props, selectProps = __rest(props, ["defaultValue", "label", "value", "showOptions", "onChange"]);
24
+ const [selected, setSelected] = useState(defaultValue || value);
25
+ useEffect(() => {
26
+ setSelected(value === null || value === void 0 ? void 0 : value.toString());
27
+ }, [value]);
28
+ const textDecorationOptions = useMemo(() => {
29
+ let draftFontFamily = [...OPTION_TEXT_DECORATION];
30
+ if (showOptions === null || showOptions === void 0 ? void 0 : showOptions.length) {
31
+ draftFontFamily = OPTION_TEXT_DECORATION.filter(({ label }) => showOptions.some(font => font === label));
32
+ }
33
+ return draftFontFamily;
34
+ }, [showOptions]);
35
+ const handleChange = (value) => {
36
+ if (onChange && typeof onChange === 'function') {
37
+ onChange(value);
38
+ }
39
+ };
40
+ return (React.createElement(SettingWrapper, { label: label !== null && label !== void 0 ? label : '', containerStyle: { width: '100%' }, vertical: true },
41
+ React.createElement(Select, Object.assign({ value: selected, options: [...textDecorationOptions], style: { width: '100%' }, onChange: select => {
42
+ setSelected(select);
43
+ handleChange(select);
44
+ }, showSearch: true }, selectProps))));
45
+ };
@@ -1,13 +1,13 @@
1
- export declare const OPTION_TEXT_TRANSFORM: readonly [{
2
- readonly label: "None";
3
- readonly value: "none";
4
- }, {
5
- readonly label: "Capitalize";
6
- readonly value: "capitalize";
7
- }, {
8
- readonly label: "Uppercase";
9
- readonly value: "uppercase";
10
- }, {
11
- readonly label: "Lowercase";
12
- readonly value: "lowercase";
13
- }];
1
+ export declare const OPTION_TEXT_TRANSFORM: readonly [{
2
+ readonly label: "None";
3
+ readonly value: "none";
4
+ }, {
5
+ readonly label: "Capitalize";
6
+ readonly value: "capitalize";
7
+ }, {
8
+ readonly label: "Uppercase";
9
+ readonly value: "uppercase";
10
+ }, {
11
+ readonly label: "Lowercase";
12
+ readonly value: "lowercase";
13
+ }];
@@ -1,19 +1,19 @@
1
- // export const LABEL_TEXT_TRANSFORM = 'None' || 'Capitalize' || 'Uppercase' || 'Lowercase';
2
- export const OPTION_TEXT_TRANSFORM = [
3
- {
4
- label: 'None',
5
- value: 'none',
6
- },
7
- {
8
- label: 'Capitalize',
9
- value: 'capitalize',
10
- },
11
- {
12
- label: 'Uppercase',
13
- value: 'uppercase',
14
- },
15
- {
16
- label: 'Lowercase',
17
- value: 'lowercase',
18
- },
19
- ];
1
+ // export const LABEL_TEXT_TRANSFORM = 'None' || 'Capitalize' || 'Uppercase' || 'Lowercase';
2
+ export const OPTION_TEXT_TRANSFORM = [
3
+ {
4
+ label: 'None',
5
+ value: 'none',
6
+ },
7
+ {
8
+ label: 'Capitalize',
9
+ value: 'capitalize',
10
+ },
11
+ {
12
+ label: 'Uppercase',
13
+ value: 'uppercase',
14
+ },
15
+ {
16
+ label: 'Lowercase',
17
+ value: 'lowercase',
18
+ },
19
+ ];
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { SelectProps } from '../Select';
3
- import { OPTION_TEXT_TRANSFORM } from './constants';
4
- export type TextTransformSelectProps = Omit<SelectProps, 'onChange'> & {
5
- label?: string;
6
- showOptions?: (typeof OPTION_TEXT_TRANSFORM)[number]['label'][];
7
- onChange?: (textTransform: (typeof OPTION_TEXT_TRANSFORM)[number]['value']) => void;
8
- };
9
- export declare const TextTransformSelect: React.FC<TextTransformSelectProps>;
1
+ import React from 'react';
2
+ import { SelectProps } from '../Select';
3
+ import { OPTION_TEXT_TRANSFORM } from './constants';
4
+ export type TextTransformSelectProps = Omit<SelectProps, 'onChange'> & {
5
+ label?: string;
6
+ showOptions?: (typeof OPTION_TEXT_TRANSFORM)[number]['label'][];
7
+ onChange?: (textTransform: (typeof OPTION_TEXT_TRANSFORM)[number]['value']) => void;
8
+ };
9
+ export declare const TextTransformSelect: React.FC<TextTransformSelectProps>;