@momo-webplatform/mobase 0.0.43 → 0.0.44

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 (352) hide show
  1. package/dist/cjs/index.cjs +5790 -0
  2. package/dist/cjs/index.cjs.map +1 -0
  3. package/dist/cjs/index.d.cts +661 -0
  4. package/dist/esm/index.d.ts +661 -0
  5. package/dist/esm/index.js +5260 -0
  6. package/dist/esm/index.js.map +1 -0
  7. package/package.json +63 -114
  8. package/LICENSE +0 -21
  9. package/publish/cjs/components/Accordion/Accordion.js +0 -44
  10. package/publish/cjs/components/Accordion/index.js +0 -8
  11. package/publish/cjs/components/AlertDialog/AlertDialog.js +0 -62
  12. package/publish/cjs/components/AlertDialog/index.js +0 -16
  13. package/publish/cjs/components/Badge/Badge.js +0 -24
  14. package/publish/cjs/components/Badge/index.js +0 -6
  15. package/publish/cjs/components/Breadcrumb/Breadcrumb.js +0 -55
  16. package/publish/cjs/components/Breadcrumb/index.js +0 -11
  17. package/publish/cjs/components/Button/Button.js +0 -74
  18. package/publish/cjs/components/Button/index.js +0 -6
  19. package/publish/cjs/components/Callout/Callout.js +0 -46
  20. package/publish/cjs/components/Callout/index.js +0 -5
  21. package/publish/cjs/components/Card/Card.js +0 -47
  22. package/publish/cjs/components/Card/index.js +0 -10
  23. package/publish/cjs/components/Checkbox/Checkbox.js +0 -67
  24. package/publish/cjs/components/Checkbox/index.js +0 -9
  25. package/publish/cjs/components/Choicebox/Choicebox.js +0 -90
  26. package/publish/cjs/components/Choicebox/index.js +0 -6
  27. package/publish/cjs/components/Combobox/Combobox.js +0 -19
  28. package/publish/cjs/components/Combobox/index.js +0 -7
  29. package/publish/cjs/components/Command/Command.js +0 -74
  30. package/publish/cjs/components/Command/index.js +0 -13
  31. package/publish/cjs/components/Dialog/Dialog.js +0 -90
  32. package/publish/cjs/components/Dialog/index.js +0 -15
  33. package/publish/cjs/components/DialogQr/DialogQr.js +0 -98
  34. package/publish/cjs/components/DialogQr/index.js +0 -5
  35. package/publish/cjs/components/Footer/Footer.js +0 -15
  36. package/publish/cjs/components/Footer/FooterContent.js +0 -27
  37. package/publish/cjs/components/Footer/index.js +0 -5
  38. package/publish/cjs/components/Header/Header.js +0 -19
  39. package/publish/cjs/components/Header/ListItem.js +0 -12
  40. package/publish/cjs/components/Header/ListItemMobile.js +0 -15
  41. package/publish/cjs/components/Header/MobileMenu.js +0 -61
  42. package/publish/cjs/components/Header/NavItems.js +0 -26
  43. package/publish/cjs/components/Header/NavItemsMobile.js +0 -35
  44. package/publish/cjs/components/Header/index.js +0 -5
  45. package/publish/cjs/components/IconButton/IconButton.js +0 -67
  46. package/publish/cjs/components/IconButton/index.js +0 -5
  47. package/publish/cjs/components/LightboxGallery/LightboxGallery.js +0 -203
  48. package/publish/cjs/components/LightboxGallery/index.js +0 -7
  49. package/publish/cjs/components/NavigationMenu/NavigationMenu.js +0 -62
  50. package/publish/cjs/components/NavigationMenu/index.js +0 -13
  51. package/publish/cjs/components/Pagination/Pagination.js +0 -31
  52. package/publish/cjs/components/Pagination/index.js +0 -8
  53. package/publish/cjs/components/Popover/Popover.js +0 -37
  54. package/publish/cjs/components/Popover/index.js +0 -7
  55. package/publish/cjs/components/RadioGroup/RadioGroup.js +0 -53
  56. package/publish/cjs/components/RadioGroup/index.js +0 -6
  57. package/publish/cjs/components/SearchBar/SearchBar.js +0 -48
  58. package/publish/cjs/components/SearchBar/index.js +0 -5
  59. package/publish/cjs/components/Select/Select.js +0 -67
  60. package/publish/cjs/components/Select/index.js +0 -14
  61. package/publish/cjs/components/Stepper/Stepper.js +0 -100
  62. package/publish/cjs/components/Stepper/index.js +0 -5
  63. package/publish/cjs/components/Switch/Switch.js +0 -33
  64. package/publish/cjs/components/Switch/index.js +0 -5
  65. package/publish/cjs/components/Tabs/Tabs.js +0 -41
  66. package/publish/cjs/components/Tabs/index.js +0 -8
  67. package/publish/cjs/components/TextArea/TextArea.js +0 -38
  68. package/publish/cjs/components/TextArea/index.js +0 -5
  69. package/publish/cjs/components/TextButton/TextButton.js +0 -63
  70. package/publish/cjs/components/TextButton/index.js +0 -6
  71. package/publish/cjs/components/TextInput/TextInput.js +0 -65
  72. package/publish/cjs/components/TextInput/index.js +0 -5
  73. package/publish/cjs/components/Toast/Toast.js +0 -66
  74. package/publish/cjs/components/Toast/index.js +0 -8
  75. package/publish/cjs/components/Toast/toaster.js +0 -14
  76. package/publish/cjs/components/Toast/useToast.js +0 -157
  77. package/publish/cjs/components/Tooltip/Tooltip.js +0 -44
  78. package/publish/cjs/components/Tooltip/index.js +0 -9
  79. package/publish/cjs/foundation/SpinerIcon.js +0 -7
  80. package/publish/cjs/helpers/SpinerIcon.js +0 -7
  81. package/publish/cjs/helpers/animations.js +0 -18
  82. package/publish/cjs/helpers/clone-deep.js +0 -15
  83. package/publish/cjs/helpers/clone-deep.spec.js +0 -22
  84. package/publish/cjs/helpers/constants.js +0 -204
  85. package/publish/cjs/helpers/generic-forward-ref.js +0 -5
  86. package/publish/cjs/helpers/http.js +0 -10
  87. package/publish/cjs/helpers/is-client.js +0 -7
  88. package/publish/cjs/helpers/is-object.js +0 -12
  89. package/publish/cjs/helpers/is-object.spec.js +0 -24
  90. package/publish/cjs/helpers/merge-deep.js +0 -29
  91. package/publish/cjs/helpers/merge-deep.spec.js +0 -56
  92. package/publish/cjs/helpers/omit.js +0 -16
  93. package/publish/cjs/helpers/omit.spec.js +0 -9
  94. package/publish/cjs/helpers/utils.js +0 -23
  95. package/publish/cjs/index.js +0 -48
  96. package/publish/cjs/mobase-tw-plugin/animations/index.js +0 -25
  97. package/publish/cjs/mobase-tw-plugin/colors/blue.js +0 -16
  98. package/publish/cjs/mobase-tw-plugin/colors/common.js +0 -23
  99. package/publish/cjs/mobase-tw-plugin/colors/gray.js +0 -16
  100. package/publish/cjs/mobase-tw-plugin/colors/green.js +0 -16
  101. package/publish/cjs/mobase-tw-plugin/colors/index.js +0 -9
  102. package/publish/cjs/mobase-tw-plugin/colors/orange.js +0 -16
  103. package/publish/cjs/mobase-tw-plugin/colors/pink.js +0 -16
  104. package/publish/cjs/mobase-tw-plugin/colors/purple.js +0 -16
  105. package/publish/cjs/mobase-tw-plugin/colors/red.js +0 -16
  106. package/publish/cjs/mobase-tw-plugin/colors/yellow.js +0 -16
  107. package/publish/cjs/mobase-tw-plugin/font-sizes.js +0 -98
  108. package/publish/cjs/mobase-tw-plugin/index.js +0 -5
  109. package/publish/cjs/mobase-tw-plugin/layout.js +0 -48
  110. package/publish/cjs/mobase-tw-plugin/plugin.js +0 -201
  111. package/publish/cjs/mobase-tw-plugin/radius.js +0 -16
  112. package/publish/cjs/mobase-tw-plugin/types.js +0 -54
  113. package/publish/cjs/mobase-tw-plugin/utilities/custom.js +0 -25
  114. package/publish/cjs/mobase-tw-plugin/utilities/index.js +0 -14
  115. package/publish/cjs/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -30
  116. package/publish/cjs/mobase-tw-plugin/utilities/transition.js +0 -88
  117. package/publish/cjs/mobase-tw-plugin/utils/index.js +0 -17
  118. package/publish/cjs/mobase-tw-plugin/utils/object.js +0 -53
  119. package/publish/cjs/mobase-tw-plugin/utils/theme.js +0 -70
  120. package/publish/cjs/site/index.js +0 -5
  121. package/publish/cjs/site/meta.js +0 -57
  122. package/publish/cjs/tsconfig.lib.tsbuildinfo +0 -1
  123. package/publish/cjs/types/index.js +0 -2
  124. package/publish/esm/components/Accordion/Accordion.d.ts +0 -20
  125. package/publish/esm/components/Accordion/Accordion.js +0 -15
  126. package/publish/esm/components/Accordion/index.d.ts +0 -2
  127. package/publish/esm/components/Accordion/index.js +0 -1
  128. package/publish/esm/components/AlertDialog/AlertDialog.d.ts +0 -49
  129. package/publish/esm/components/AlertDialog/AlertDialog.js +0 -26
  130. package/publish/esm/components/AlertDialog/index.d.ts +0 -2
  131. package/publish/esm/components/AlertDialog/index.js +0 -5
  132. package/publish/esm/components/Badge/Badge.d.ts +0 -10
  133. package/publish/esm/components/Badge/Badge.js +0 -20
  134. package/publish/esm/components/Badge/index.d.ts +0 -1
  135. package/publish/esm/components/Badge/index.js +0 -1
  136. package/publish/esm/components/Breadcrumb/Breadcrumb.d.ts +0 -20
  137. package/publish/esm/components/Breadcrumb/Breadcrumb.js +0 -23
  138. package/publish/esm/components/Breadcrumb/index.d.ts +0 -2
  139. package/publish/esm/components/Breadcrumb/index.js +0 -2
  140. package/publish/esm/components/Button/Button.d.ts +0 -26
  141. package/publish/esm/components/Button/Button.js +0 -44
  142. package/publish/esm/components/Button/index.d.ts +0 -2
  143. package/publish/esm/components/Button/index.js +0 -1
  144. package/publish/esm/components/Callout/Callout.d.ts +0 -19
  145. package/publish/esm/components/Callout/Callout.js +0 -43
  146. package/publish/esm/components/Callout/index.d.ts +0 -1
  147. package/publish/esm/components/Callout/index.js +0 -1
  148. package/publish/esm/components/Card/Card.d.ts +0 -9
  149. package/publish/esm/components/Card/Card.js +0 -16
  150. package/publish/esm/components/Card/index.d.ts +0 -1
  151. package/publish/esm/components/Card/index.js +0 -1
  152. package/publish/esm/components/Checkbox/Checkbox.d.ts +0 -40
  153. package/publish/esm/components/Checkbox/Checkbox.js +0 -36
  154. package/publish/esm/components/Checkbox/index.d.ts +0 -2
  155. package/publish/esm/components/Checkbox/index.js +0 -1
  156. package/publish/esm/components/Choicebox/Choicebox.d.ts +0 -31
  157. package/publish/esm/components/Choicebox/Choicebox.js +0 -62
  158. package/publish/esm/components/Choicebox/index.d.ts +0 -1
  159. package/publish/esm/components/Choicebox/index.js +0 -1
  160. package/publish/esm/components/Combobox/Combobox.d.ts +0 -19
  161. package/publish/esm/components/Combobox/Combobox.js +0 -13
  162. package/publish/esm/components/Combobox/index.d.ts +0 -1
  163. package/publish/esm/components/Combobox/index.js +0 -1
  164. package/publish/esm/components/Command/Command.d.ts +0 -57
  165. package/publish/esm/components/Command/Command.js +0 -40
  166. package/publish/esm/components/Command/index.d.ts +0 -1
  167. package/publish/esm/components/Command/index.js +0 -1
  168. package/publish/esm/components/Dialog/Dialog.d.ts +0 -51
  169. package/publish/esm/components/Dialog/Dialog.js +0 -54
  170. package/publish/esm/components/Dialog/index.d.ts +0 -1
  171. package/publish/esm/components/Dialog/index.js +0 -1
  172. package/publish/esm/components/DialogQr/DialogQr.d.ts +0 -33
  173. package/publish/esm/components/DialogQr/DialogQr.js +0 -91
  174. package/publish/esm/components/DialogQr/index.d.ts +0 -1
  175. package/publish/esm/components/DialogQr/index.js +0 -1
  176. package/publish/esm/components/Footer/Footer.d.ts +0 -22
  177. package/publish/esm/components/Footer/Footer.js +0 -9
  178. package/publish/esm/components/Footer/FooterContent.d.ts +0 -4
  179. package/publish/esm/components/Footer/FooterContent.js +0 -27
  180. package/publish/esm/components/Footer/index.d.ts +0 -1
  181. package/publish/esm/components/Footer/index.js +0 -1
  182. package/publish/esm/components/Header/Header.d.ts +0 -44
  183. package/publish/esm/components/Header/Header.js +0 -13
  184. package/publish/esm/components/Header/ListItem.d.ts +0 -9
  185. package/publish/esm/components/Header/ListItem.js +0 -10
  186. package/publish/esm/components/Header/ListItemMobile.d.ts +0 -9
  187. package/publish/esm/components/Header/ListItemMobile.js +0 -10
  188. package/publish/esm/components/Header/MobileMenu.d.ts +0 -6
  189. package/publish/esm/components/Header/MobileMenu.js +0 -56
  190. package/publish/esm/components/Header/NavItems.d.ts +0 -2
  191. package/publish/esm/components/Header/NavItems.js +0 -21
  192. package/publish/esm/components/Header/NavItemsMobile.d.ts +0 -2
  193. package/publish/esm/components/Header/NavItemsMobile.js +0 -30
  194. package/publish/esm/components/Header/index.d.ts +0 -1
  195. package/publish/esm/components/Header/index.js +0 -1
  196. package/publish/esm/components/IconButton/IconButton.d.ts +0 -22
  197. package/publish/esm/components/IconButton/IconButton.js +0 -40
  198. package/publish/esm/components/IconButton/index.d.ts +0 -2
  199. package/publish/esm/components/IconButton/index.js +0 -1
  200. package/publish/esm/components/LightboxGallery/LightboxGallery.d.ts +0 -35
  201. package/publish/esm/components/LightboxGallery/LightboxGallery.js +0 -171
  202. package/publish/esm/components/LightboxGallery/index.d.ts +0 -1
  203. package/publish/esm/components/LightboxGallery/index.js +0 -1
  204. package/publish/esm/components/NavigationMenu/NavigationMenu.d.ts +0 -12
  205. package/publish/esm/components/NavigationMenu/NavigationMenu.js +0 -28
  206. package/publish/esm/components/NavigationMenu/index.d.ts +0 -1
  207. package/publish/esm/components/NavigationMenu/index.js +0 -1
  208. package/publish/esm/components/Pagination/Pagination.d.ts +0 -16
  209. package/publish/esm/components/Pagination/Pagination.js +0 -28
  210. package/publish/esm/components/Pagination/index.d.ts +0 -1
  211. package/publish/esm/components/Pagination/index.js +0 -1
  212. package/publish/esm/components/Popover/Popover.d.ts +0 -6
  213. package/publish/esm/components/Popover/Popover.js +0 -9
  214. package/publish/esm/components/Popover/index.d.ts +0 -1
  215. package/publish/esm/components/Popover/index.js +0 -1
  216. package/publish/esm/components/RadioGroup/RadioGroup.d.ts +0 -13
  217. package/publish/esm/components/RadioGroup/RadioGroup.js +0 -26
  218. package/publish/esm/components/RadioGroup/index.d.ts +0 -1
  219. package/publish/esm/components/RadioGroup/index.js +0 -1
  220. package/publish/esm/components/SearchBar/SearchBar.d.ts +0 -7
  221. package/publish/esm/components/SearchBar/SearchBar.js +0 -45
  222. package/publish/esm/components/SearchBar/index.d.ts +0 -1
  223. package/publish/esm/components/SearchBar/index.js +0 -1
  224. package/publish/esm/components/Select/Select.d.ts +0 -19
  225. package/publish/esm/components/Select/Select.js +0 -32
  226. package/publish/esm/components/Select/index.d.ts +0 -1
  227. package/publish/esm/components/Select/index.js +0 -1
  228. package/publish/esm/components/Stepper/Stepper.d.ts +0 -15
  229. package/publish/esm/components/Stepper/Stepper.js +0 -97
  230. package/publish/esm/components/Stepper/index.d.ts +0 -1
  231. package/publish/esm/components/Stepper/index.js +0 -1
  232. package/publish/esm/components/Switch/Switch.d.ts +0 -4
  233. package/publish/esm/components/Switch/Switch.js +0 -7
  234. package/publish/esm/components/Switch/index.d.ts +0 -1
  235. package/publish/esm/components/Switch/index.js +0 -1
  236. package/publish/esm/components/Tabs/Tabs.d.ts +0 -16
  237. package/publish/esm/components/Tabs/Tabs.js +0 -12
  238. package/publish/esm/components/Tabs/index.d.ts +0 -1
  239. package/publish/esm/components/Tabs/index.js +0 -1
  240. package/publish/esm/components/TextArea/TextArea.d.ts +0 -9
  241. package/publish/esm/components/TextArea/TextArea.js +0 -35
  242. package/publish/esm/components/TextArea/index.d.ts +0 -2
  243. package/publish/esm/components/TextArea/index.js +0 -1
  244. package/publish/esm/components/TextButton/TextButton.d.ts +0 -22
  245. package/publish/esm/components/TextButton/TextButton.js +0 -36
  246. package/publish/esm/components/TextButton/index.d.ts +0 -2
  247. package/publish/esm/components/TextButton/index.js +0 -1
  248. package/publish/esm/components/TextInput/TextInput.d.ts +0 -11
  249. package/publish/esm/components/TextInput/TextInput.js +0 -62
  250. package/publish/esm/components/TextInput/index.d.ts +0 -2
  251. package/publish/esm/components/TextInput/index.js +0 -1
  252. package/publish/esm/components/Toast/Toast.d.ts +0 -15
  253. package/publish/esm/components/Toast/Toast.js +0 -34
  254. package/publish/esm/components/Toast/index.d.ts +0 -2
  255. package/publish/esm/components/Toast/index.js +0 -2
  256. package/publish/esm/components/Toast/toaster.d.ts +0 -1
  257. package/publish/esm/components/Toast/toaster.js +0 -10
  258. package/publish/esm/components/Toast/useToast.d.ts +0 -44
  259. package/publish/esm/components/Toast/useToast.js +0 -129
  260. package/publish/esm/components/Tooltip/Tooltip.d.ts +0 -12
  261. package/publish/esm/components/Tooltip/Tooltip.js +0 -14
  262. package/publish/esm/components/Tooltip/index.d.ts +0 -1
  263. package/publish/esm/components/Tooltip/index.js +0 -1
  264. package/publish/esm/foundation/SpinerIcon.d.ts +0 -6
  265. package/publish/esm/foundation/SpinerIcon.js +0 -5
  266. package/publish/esm/helpers/SpinerIcon.d.ts +0 -6
  267. package/publish/esm/helpers/SpinerIcon.js +0 -5
  268. package/publish/esm/helpers/animations.d.ts +0 -26
  269. package/publish/esm/helpers/animations.js +0 -14
  270. package/publish/esm/helpers/clone-deep.d.ts +0 -1
  271. package/publish/esm/helpers/clone-deep.js +0 -11
  272. package/publish/esm/helpers/clone-deep.spec.d.ts +0 -1
  273. package/publish/esm/helpers/clone-deep.spec.js +0 -20
  274. package/publish/esm/helpers/constants.d.ts +0 -69
  275. package/publish/esm/helpers/constants.js +0 -201
  276. package/publish/esm/helpers/generic-forward-ref.d.ts +0 -5
  277. package/publish/esm/helpers/generic-forward-ref.js +0 -3
  278. package/publish/esm/helpers/http.d.ts +0 -1
  279. package/publish/esm/helpers/http.js +0 -6
  280. package/publish/esm/helpers/is-client.d.ts +0 -1
  281. package/publish/esm/helpers/is-client.js +0 -3
  282. package/publish/esm/helpers/is-object.d.ts +0 -6
  283. package/publish/esm/helpers/is-object.js +0 -8
  284. package/publish/esm/helpers/is-object.spec.d.ts +0 -1
  285. package/publish/esm/helpers/is-object.spec.js +0 -22
  286. package/publish/esm/helpers/merge-deep.d.ts +0 -7
  287. package/publish/esm/helpers/merge-deep.js +0 -25
  288. package/publish/esm/helpers/merge-deep.spec.d.ts +0 -1
  289. package/publish/esm/helpers/merge-deep.spec.js +0 -54
  290. package/publish/esm/helpers/omit.d.ts +0 -1
  291. package/publish/esm/helpers/omit.js +0 -12
  292. package/publish/esm/helpers/omit.spec.d.ts +0 -1
  293. package/publish/esm/helpers/omit.spec.js +0 -7
  294. package/publish/esm/helpers/utils.d.ts +0 -8
  295. package/publish/esm/helpers/utils.js +0 -18
  296. package/publish/esm/index.d.ts +0 -32
  297. package/publish/esm/index.js +0 -32
  298. package/publish/esm/mobase-tw-plugin/animations/index.d.ts +0 -34
  299. package/publish/esm/mobase-tw-plugin/animations/index.js +0 -22
  300. package/publish/esm/mobase-tw-plugin/colors/blue.d.ts +0 -13
  301. package/publish/esm/mobase-tw-plugin/colors/blue.js +0 -13
  302. package/publish/esm/mobase-tw-plugin/colors/common.d.ts +0 -109
  303. package/publish/esm/mobase-tw-plugin/colors/common.js +0 -20
  304. package/publish/esm/mobase-tw-plugin/colors/gray.d.ts +0 -13
  305. package/publish/esm/mobase-tw-plugin/colors/gray.js +0 -13
  306. package/publish/esm/mobase-tw-plugin/colors/green.d.ts +0 -13
  307. package/publish/esm/mobase-tw-plugin/colors/green.js +0 -13
  308. package/publish/esm/mobase-tw-plugin/colors/index.d.ts +0 -110
  309. package/publish/esm/mobase-tw-plugin/colors/index.js +0 -5
  310. package/publish/esm/mobase-tw-plugin/colors/orange.d.ts +0 -13
  311. package/publish/esm/mobase-tw-plugin/colors/orange.js +0 -13
  312. package/publish/esm/mobase-tw-plugin/colors/pink.d.ts +0 -13
  313. package/publish/esm/mobase-tw-plugin/colors/pink.js +0 -13
  314. package/publish/esm/mobase-tw-plugin/colors/purple.d.ts +0 -13
  315. package/publish/esm/mobase-tw-plugin/colors/purple.js +0 -13
  316. package/publish/esm/mobase-tw-plugin/colors/red.d.ts +0 -13
  317. package/publish/esm/mobase-tw-plugin/colors/red.js +0 -13
  318. package/publish/esm/mobase-tw-plugin/colors/yellow.d.ts +0 -13
  319. package/publish/esm/mobase-tw-plugin/colors/yellow.js +0 -13
  320. package/publish/esm/mobase-tw-plugin/font-sizes.d.ts +0 -59
  321. package/publish/esm/mobase-tw-plugin/font-sizes.js +0 -94
  322. package/publish/esm/mobase-tw-plugin/index.d.ts +0 -1
  323. package/publish/esm/mobase-tw-plugin/index.js +0 -1
  324. package/publish/esm/mobase-tw-plugin/layout.d.ts +0 -45
  325. package/publish/esm/mobase-tw-plugin/layout.js +0 -45
  326. package/publish/esm/mobase-tw-plugin/plugin.d.ts +0 -10
  327. package/publish/esm/mobase-tw-plugin/plugin.js +0 -194
  328. package/publish/esm/mobase-tw-plugin/radius.d.ts +0 -9
  329. package/publish/esm/mobase-tw-plugin/radius.js +0 -12
  330. package/publish/esm/mobase-tw-plugin/types.d.ts +0 -103
  331. package/publish/esm/mobase-tw-plugin/types.js +0 -51
  332. package/publish/esm/mobase-tw-plugin/utilities/custom.d.ts +0 -24
  333. package/publish/esm/mobase-tw-plugin/utilities/custom.js +0 -23
  334. package/publish/esm/mobase-tw-plugin/utilities/index.d.ts +0 -114
  335. package/publish/esm/mobase-tw-plugin/utilities/index.js +0 -8
  336. package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.d.ts +0 -23
  337. package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -28
  338. package/publish/esm/mobase-tw-plugin/utilities/transition.d.ts +0 -86
  339. package/publish/esm/mobase-tw-plugin/utilities/transition.js +0 -86
  340. package/publish/esm/mobase-tw-plugin/utils/index.d.ts +0 -1
  341. package/publish/esm/mobase-tw-plugin/utils/index.js +0 -1
  342. package/publish/esm/mobase-tw-plugin/utils/object.d.ts +0 -10
  343. package/publish/esm/mobase-tw-plugin/utils/object.js +0 -44
  344. package/publish/esm/mobase-tw-plugin/utils/theme.d.ts +0 -2
  345. package/publish/esm/mobase-tw-plugin/utils/theme.js +0 -65
  346. package/publish/esm/site/index.d.ts +0 -2
  347. package/publish/esm/site/index.js +0 -2
  348. package/publish/esm/site/meta.d.ts +0 -1
  349. package/publish/esm/site/meta.js +0 -53
  350. package/publish/esm/tsconfig.lib.tsbuildinfo +0 -1
  351. package/publish/esm/types/index.d.ts +0 -3
  352. package/publish/esm/types/index.js +0 -1
@@ -1,6 +0,0 @@
1
- /**
2
- * Check if provided parameter is plain object
3
- * @param item
4
- * @returns boolean
5
- */
6
- export declare function isObject(item: unknown): item is Record<string, unknown>;
@@ -1,8 +0,0 @@
1
- /**
2
- * Check if provided parameter is plain object
3
- * @param item
4
- * @returns boolean
5
- */
6
- export function isObject(item) {
7
- return item !== null && typeof item === 'object' && item.constructor === Object;
8
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import { isObject } from './is-object';
3
- describe('isObject function', () => {
4
- it('should return true for an empty object', () => {
5
- expect(isObject({})).toBe(true);
6
- });
7
- it('should return true for a non-empty object', () => {
8
- expect(isObject({ key: 'value' })).toBe(true);
9
- });
10
- it('should return false for a string', () => {
11
- expect(isObject('string')).toBe(false);
12
- });
13
- it('should return false for an array', () => {
14
- expect(isObject([1, 2, 3])).toBe(false);
15
- });
16
- it('should return false for null', () => {
17
- expect(isObject(null)).toBe(false);
18
- });
19
- it('should return false for undefined', () => {
20
- expect(isObject(undefined)).toBe(false);
21
- });
22
- });
@@ -1,7 +0,0 @@
1
- /**
2
- * Merge and deep copy the values of all of the enumerable own properties of target object from source object to a new object
3
- * @param target The target object to get properties from.
4
- * @param source The source object from which to copy properties.
5
- * @return A new merged and deep copied object.
6
- */
7
- export declare function mergeDeep<T extends object, S extends object>(target: T, source: S): T & S;
@@ -1,25 +0,0 @@
1
- import { cloneDeep } from './clone-deep';
2
- import { isObject } from './is-object';
3
- /**
4
- * Merge and deep copy the values of all of the enumerable own properties of target object from source object to a new object
5
- * @param target The target object to get properties from.
6
- * @param source The source object from which to copy properties.
7
- * @return A new merged and deep copied object.
8
- */
9
- export function mergeDeep(target, source) {
10
- if (isObject(source) && Object.keys(source).length === 0) {
11
- return cloneDeep({ ...target, ...source });
12
- }
13
- const output = { ...target, ...source };
14
- if (isObject(source) && isObject(target)) {
15
- for (const key in source) {
16
- if (isObject(source[key]) && key in target && isObject(target[key])) {
17
- output[key] = mergeDeep(target[key], source[key]);
18
- }
19
- else {
20
- output[key] = isObject(source[key]) ? cloneDeep(source[key]) : source[key];
21
- }
22
- }
23
- }
24
- return output;
25
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,54 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import { mergeDeep } from './merge-deep';
3
- describe('Helpers / Merge deep', () => {
4
- it('should merge keys that do not exist in target', () => {
5
- const target = {};
6
- const source = { foo: 'bar' };
7
- const result = mergeDeep(target, source);
8
- expect(result).to.deep.equal({ foo: 'bar' });
9
- });
10
- it('should merge keys that do not exist in source', () => {
11
- const target = { foo: 'bar' };
12
- const source = {};
13
- const result = mergeDeep(target, source);
14
- expect(result).to.deep.equal({ foo: 'bar' });
15
- });
16
- it('should override target key if source key is identical', () => {
17
- const target = { foo: { bar: 'baz' } };
18
- const source = { foo: { bar: 'foobar' } };
19
- const result = mergeDeep(target, source);
20
- expect(result).to.deep.equal({ foo: { bar: 'foobar' } });
21
- });
22
- it('should merge keys and do not mutate target and source', () => {
23
- const target = {
24
- foo: { a: 1, b: { c: 2, f: { g: 3 } } },
25
- baz: 5,
26
- };
27
- const source = {
28
- foo: { b: { c: 3, d: 3 } },
29
- bar: { a: 1 },
30
- };
31
- const result = mergeDeep(target, source);
32
- expect(result).to.deep.equal({ foo: { a: 1, b: { c: 3, d: 3, f: { g: 3 } } }, baz: 5, bar: { a: 1 } });
33
- expect(target).to.deep.equal({
34
- foo: { a: 1, b: { c: 2, f: { g: 3 } } },
35
- baz: 5,
36
- });
37
- expect(source).to.deep.equal({
38
- foo: { b: { c: 3, d: 3 } },
39
- bar: { a: 1 },
40
- });
41
- result.foo.b.c = 97;
42
- result.baz = 98;
43
- result.bar.a = 99;
44
- expect(result).to.deep.equal({ foo: { a: 1, b: { c: 97, d: 3, f: { g: 3 } } }, baz: 98, bar: { a: 99 } });
45
- expect(target).to.deep.equal({
46
- foo: { a: 1, b: { c: 2, f: { g: 3 } } },
47
- baz: 5,
48
- });
49
- expect(source).to.deep.equal({
50
- foo: { b: { c: 3, d: 3 } },
51
- bar: { a: 1 },
52
- });
53
- });
54
- });
@@ -1 +0,0 @@
1
- export declare const omit: <T extends object, K extends string>(keys: readonly K[]) => (obj: T) => Omit<T, K>;
@@ -1,12 +0,0 @@
1
- export const omit = (keys) => (obj) => {
2
- const result = {};
3
- for (const key in obj) {
4
- // @ts-expect-error - bypass
5
- if (keys.includes(key)) {
6
- continue;
7
- }
8
- // @ts-expect-error - bypass
9
- result[key] = obj[key];
10
- }
11
- return result;
12
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import { omit } from './omit';
3
- describe('omit', () => {
4
- it('should omit keys from object', () => {
5
- expect(omit(['a', 'b'])({ a: 'a', b: 'b', c: 'c' })).toEqual({ c: 'c' });
6
- });
7
- });
@@ -1,8 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- interface AddQueryToLinkParams {
4
- link?: string;
5
- query?: Record<string, string>;
6
- }
7
- export declare const addQueryToLink: ({ link, query }: AddQueryToLinkParams) => string;
8
- export {};
@@ -1,18 +0,0 @@
1
- import { clsx } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
- import { NEXT_PUBLIC_REACT_APP_FRONT_END } from "../helpers/constants";
4
- export function cn(...inputs) {
5
- return twMerge(clsx(inputs));
6
- }
7
- export const addQueryToLink = ({ link, query = {} }) => {
8
- if (!link)
9
- return "";
10
- const url = new URL(link, NEXT_PUBLIC_REACT_APP_FRONT_END || "");
11
- const searchParams = new URLSearchParams(url.search);
12
- Object.entries(query).forEach(([key, value]) => {
13
- if (value)
14
- searchParams.append(key, value);
15
- });
16
- url.search = searchParams.toString();
17
- return url.toString();
18
- };
@@ -1,32 +0,0 @@
1
- export * from "./components/Accordion";
2
- export * from "./components/Breadcrumb";
3
- export * from "./components/Button";
4
- export * from "./components/Checkbox";
5
- export * from "./components/Dialog";
6
- export * from "./components/DialogQr";
7
- export * from "./components/AlertDialog";
8
- export * from "./components/IconButton";
9
- export * from "./components/Pagination";
10
- export * from "./components/Popover";
11
- export * from "./components/Tabs";
12
- export * from "./components/TextArea";
13
- export * from "./components/Toast";
14
- export * from "./components/TextButton";
15
- export * from "./components/Tooltip";
16
- export * from "./components/TextInput";
17
- export * from "./components/Stepper";
18
- export * from "./components/Select";
19
- export * from "./components/NavigationMenu";
20
- export * from "./components/Switch";
21
- export * from "./components/RadioGroup";
22
- export * from "./components/Header";
23
- export * from "./components/Footer";
24
- export * from "./components/Card";
25
- export * from "./components/Command";
26
- export * from "./components/Combobox";
27
- export * from "./components/Callout";
28
- export * from "./components/SearchBar";
29
- export * from "./components/LightboxGallery";
30
- export * from "./components/Choicebox";
31
- export * from "./mobase-tw-plugin";
32
- export * from "./site";
@@ -1,32 +0,0 @@
1
- export * from "./components/Accordion";
2
- export * from "./components/Breadcrumb";
3
- export * from "./components/Button";
4
- export * from "./components/Checkbox";
5
- export * from "./components/Dialog";
6
- export * from "./components/DialogQr";
7
- export * from "./components/AlertDialog";
8
- export * from "./components/IconButton";
9
- export * from "./components/Pagination";
10
- export * from "./components/Popover";
11
- export * from "./components/Tabs";
12
- export * from "./components/TextArea";
13
- export * from "./components/Toast";
14
- export * from "./components/TextButton";
15
- export * from "./components/Tooltip";
16
- export * from "./components/TextInput";
17
- export * from "./components/Stepper";
18
- export * from "./components/Select";
19
- export * from "./components/NavigationMenu";
20
- export * from "./components/Switch";
21
- export * from "./components/RadioGroup";
22
- export * from "./components/Header";
23
- export * from "./components/Footer";
24
- export * from "./components/Card";
25
- export * from "./components/Command";
26
- export * from "./components/Combobox";
27
- export * from "./components/Callout";
28
- export * from "./components/SearchBar";
29
- export * from "./components/LightboxGallery";
30
- export * from "./components/Choicebox";
31
- export * from "./mobase-tw-plugin";
32
- export * from "./site";
@@ -1,34 +0,0 @@
1
- export declare const animations: {
2
- animation: {
3
- "accordion-down": string;
4
- "accordion-up": string;
5
- "spin-loading": string;
6
- "fade-in": string;
7
- };
8
- keyframes: {
9
- "accordion-down": {
10
- from: {
11
- height: string;
12
- };
13
- to: {
14
- height: string;
15
- };
16
- };
17
- "accordion-up": {
18
- from: {
19
- height: string;
20
- };
21
- to: {
22
- height: string;
23
- };
24
- };
25
- "fade-in": {
26
- "0%": {
27
- opacity: string;
28
- };
29
- "100%": {
30
- opacity: string;
31
- };
32
- };
33
- };
34
- };
@@ -1,22 +0,0 @@
1
- export const animations = {
2
- animation: {
3
- "accordion-down": "accordion-down 0.2s ease-out",
4
- "accordion-up": "accordion-up 0.2s ease-out",
5
- "spin-loading": "spin 1s steps(12, end) infinite",
6
- "fade-in": "fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both",
7
- },
8
- keyframes: {
9
- "accordion-down": {
10
- from: { height: "0" },
11
- to: { height: "var(--radix-accordion-content-height)" },
12
- },
13
- "accordion-up": {
14
- from: { height: "var(--radix-accordion-content-height)" },
15
- to: { height: "0" },
16
- },
17
- "fade-in": {
18
- "0%": { opacity: "0" },
19
- "100%": { opacity: "1" },
20
- },
21
- },
22
- };
@@ -1,13 +0,0 @@
1
- export declare const blue: {
2
- 50: string;
3
- 100: string;
4
- 200: string;
5
- 300: string;
6
- 400: string;
7
- 500: string;
8
- 600: string;
9
- 700: string;
10
- 800: string;
11
- 900: string;
12
- DEFAULT: string;
13
- };
@@ -1,13 +0,0 @@
1
- export const blue = {
2
- 50: "#eef8ff",
3
- 100: "#d9eeff",
4
- 200: "#bce1ff",
5
- 300: "#8ed0ff",
6
- 400: "#59b4ff",
7
- 500: "#429cff",
8
- 600: "#1b74f5",
9
- 700: "#145ee1",
10
- 800: "#174bb6",
11
- 900: "#19428f",
12
- DEFAULT: "#429cff",
13
- };
@@ -1,109 +0,0 @@
1
- export declare const commonColors: {
2
- white: string;
3
- black: string;
4
- blue: {
5
- 50: string;
6
- 100: string;
7
- 200: string;
8
- 300: string;
9
- 400: string;
10
- 500: string;
11
- 600: string;
12
- 700: string;
13
- 800: string;
14
- 900: string;
15
- DEFAULT: string;
16
- };
17
- green: {
18
- 50: string;
19
- 100: string;
20
- 200: string;
21
- 300: string;
22
- 400: string;
23
- 500: string;
24
- 600: string;
25
- 700: string;
26
- 800: string;
27
- 900: string;
28
- DEFAULT: string;
29
- };
30
- pink: {
31
- 50: string;
32
- 100: string;
33
- 200: string;
34
- 300: string;
35
- 400: string;
36
- 500: string;
37
- 600: string;
38
- 700: string;
39
- 800: string;
40
- 900: string;
41
- DEFAULT: string;
42
- };
43
- purple: {
44
- 50: string;
45
- 100: string;
46
- 200: string;
47
- 300: string;
48
- 400: string;
49
- 500: string;
50
- 600: string;
51
- 700: string;
52
- 800: string;
53
- 900: string;
54
- DEFAULT: string;
55
- };
56
- red: {
57
- 50: string;
58
- 100: string;
59
- 200: string;
60
- 300: string;
61
- 400: string;
62
- 500: string;
63
- 600: string;
64
- 700: string;
65
- 800: string;
66
- 900: string;
67
- DEFAULT: string;
68
- };
69
- yellow: {
70
- 50: string;
71
- 100: string;
72
- 200: string;
73
- 300: string;
74
- 400: string;
75
- 500: string;
76
- 600: string;
77
- 700: string;
78
- 800: string;
79
- 900: string;
80
- DEFAULT: string;
81
- };
82
- gray: {
83
- 50: string;
84
- 100: string;
85
- 200: string;
86
- 300: string;
87
- 400: string;
88
- 500: string;
89
- 600: string;
90
- 700: string;
91
- 800: string;
92
- 900: string;
93
- DEFAULT: string;
94
- };
95
- orange: {
96
- 50: string;
97
- 100: string;
98
- 200: string;
99
- 300: string;
100
- 400: string;
101
- 500: string;
102
- 600: string;
103
- 700: string;
104
- 800: string;
105
- 900: string;
106
- DEFAULT: string;
107
- };
108
- };
109
- export type CommonColors = typeof commonColors;
@@ -1,20 +0,0 @@
1
- import { blue } from "./blue";
2
- import { green } from "./green";
3
- import { pink } from "./pink";
4
- import { purple } from "./purple";
5
- import { red } from "./red";
6
- import { yellow } from "./yellow";
7
- import { orange } from "./orange";
8
- import { gray } from "./gray";
9
- export const commonColors = {
10
- white: "#ffffff",
11
- black: "#000000",
12
- blue,
13
- green,
14
- pink,
15
- purple,
16
- red,
17
- yellow,
18
- gray,
19
- orange,
20
- };
@@ -1,13 +0,0 @@
1
- export declare const gray: {
2
- 50: string;
3
- 100: string;
4
- 200: string;
5
- 300: string;
6
- 400: string;
7
- 500: string;
8
- 600: string;
9
- 700: string;
10
- 800: string;
11
- 900: string;
12
- DEFAULT: string;
13
- };
@@ -1,13 +0,0 @@
1
- export const gray = {
2
- 50: "#FAFAFA",
3
- 100: "#F5F5F5",
4
- 200: "#E5E5E5",
5
- 300: "#D4D4D4",
6
- 400: "#A3A3A3",
7
- 500: "#737373",
8
- 600: "#525252",
9
- 700: "#404040",
10
- 800: "#262626",
11
- 900: "#171717",
12
- DEFAULT: "#737373",
13
- };
@@ -1,13 +0,0 @@
1
- export declare const green: {
2
- 50: string;
3
- 100: string;
4
- 200: string;
5
- 300: string;
6
- 400: string;
7
- 500: string;
8
- 600: string;
9
- 700: string;
10
- 800: string;
11
- 900: string;
12
- DEFAULT: string;
13
- };
@@ -1,13 +0,0 @@
1
- export const green = {
2
- 50: "#f1fcf3",
3
- 100: "#dff9e5",
4
- 200: "#c0f2cc",
5
- 300: "#8fe6a4",
6
- 400: "#57d175",
7
- 500: "#34c759",
8
- 600: "#22973f",
9
- 700: "#1e7735",
10
- 800: "#1d5e2e",
11
- 900: "#194e28",
12
- DEFAULT: "#34c759",
13
- };
@@ -1,110 +0,0 @@
1
- import { commonColors } from "./common";
2
- declare const colors: {
3
- white: string;
4
- black: string;
5
- blue: {
6
- 50: string;
7
- 100: string;
8
- 200: string;
9
- 300: string;
10
- 400: string;
11
- 500: string;
12
- 600: string;
13
- 700: string;
14
- 800: string;
15
- 900: string;
16
- DEFAULT: string;
17
- };
18
- green: {
19
- 50: string;
20
- 100: string;
21
- 200: string;
22
- 300: string;
23
- 400: string;
24
- 500: string;
25
- 600: string;
26
- 700: string;
27
- 800: string;
28
- 900: string;
29
- DEFAULT: string;
30
- };
31
- pink: {
32
- 50: string;
33
- 100: string;
34
- 200: string;
35
- 300: string;
36
- 400: string;
37
- 500: string;
38
- 600: string;
39
- 700: string;
40
- 800: string;
41
- 900: string;
42
- DEFAULT: string;
43
- };
44
- purple: {
45
- 50: string;
46
- 100: string;
47
- 200: string;
48
- 300: string;
49
- 400: string;
50
- 500: string;
51
- 600: string;
52
- 700: string;
53
- 800: string;
54
- 900: string;
55
- DEFAULT: string;
56
- };
57
- red: {
58
- 50: string;
59
- 100: string;
60
- 200: string;
61
- 300: string;
62
- 400: string;
63
- 500: string;
64
- 600: string;
65
- 700: string;
66
- 800: string;
67
- 900: string;
68
- DEFAULT: string;
69
- };
70
- yellow: {
71
- 50: string;
72
- 100: string;
73
- 200: string;
74
- 300: string;
75
- 400: string;
76
- 500: string;
77
- 600: string;
78
- 700: string;
79
- 800: string;
80
- 900: string;
81
- DEFAULT: string;
82
- };
83
- gray: {
84
- 50: string;
85
- 100: string;
86
- 200: string;
87
- 300: string;
88
- 400: string;
89
- 500: string;
90
- 600: string;
91
- 700: string;
92
- 800: string;
93
- 900: string;
94
- DEFAULT: string;
95
- };
96
- orange: {
97
- 50: string;
98
- 100: string;
99
- 200: string;
100
- 300: string;
101
- 400: string;
102
- 500: string;
103
- 600: string;
104
- 700: string;
105
- 800: string;
106
- 900: string;
107
- DEFAULT: string;
108
- };
109
- };
110
- export { colors, commonColors };
@@ -1,5 +0,0 @@
1
- import { commonColors } from "./common";
2
- const colors = {
3
- ...commonColors,
4
- };
5
- export { colors, commonColors };
@@ -1,13 +0,0 @@
1
- export declare const orange: {
2
- 50: string;
3
- 100: string;
4
- 200: string;
5
- 300: string;
6
- 400: string;
7
- 500: string;
8
- 600: string;
9
- 700: string;
10
- 800: string;
11
- 900: string;
12
- DEFAULT: string;
13
- };