@teach-in/react 0.1.1 → 0.3.0

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 (338) hide show
  1. package/dist/{chunk-HH7MLUOF.mjs → chunk-25XG46X6.mjs} +1 -1
  2. package/dist/chunk-2ASQXBDD.mjs +47 -0
  3. package/dist/chunk-2CEZXLZR.mjs +167 -0
  4. package/dist/chunk-2OPPNAW2.mjs +19 -0
  5. package/dist/chunk-2SNKT7I4.mjs +9 -0
  6. package/dist/chunk-3LOCA2SP.mjs +19 -0
  7. package/dist/chunk-4KPEPEPC.mjs +26 -0
  8. package/dist/{chunk-2W4N27WQ.mjs → chunk-6NZ4IHNU.mjs} +4 -3
  9. package/dist/{chunk-S2TB4GD2.mjs → chunk-773RYGHT.mjs} +2 -2
  10. package/dist/{chunk-CLDAITOP.mjs → chunk-BUVPBB4J.mjs} +2 -2
  11. package/dist/chunk-C4PCTOGM.mjs +12 -0
  12. package/dist/chunk-CA2EAK5M.mjs +40 -0
  13. package/dist/chunk-E5QSNLSR.mjs +38 -0
  14. package/dist/chunk-EJQH6CYW.mjs +1 -0
  15. package/dist/chunk-FKHR6G3R.mjs +1 -0
  16. package/dist/chunk-FQUYFYMS.mjs +24 -0
  17. package/dist/chunk-HOVAPYGJ.mjs +19 -0
  18. package/dist/chunk-ICRO6HS3.mjs +1 -0
  19. package/dist/chunk-IXPMUODA.mjs +47 -0
  20. package/dist/chunk-J3GK2CGQ.mjs +1 -0
  21. package/dist/chunk-J3OZNLTZ.mjs +50 -0
  22. package/dist/chunk-JTPBZJ4S.mjs +14 -0
  23. package/dist/chunk-JUIVZCH7.mjs +1 -0
  24. package/dist/chunk-JWMPI5AZ.mjs +1 -0
  25. package/dist/chunk-L6XIUULU.mjs +14 -0
  26. package/dist/chunk-LLP2PTPK.mjs +1 -0
  27. package/dist/chunk-LUERGYYZ.mjs +19 -0
  28. package/dist/{chunk-CUVF3U67.mjs → chunk-M5F723W7.mjs} +1 -1
  29. package/dist/{chunk-6UIBJVXP.mjs → chunk-MCZBJUTN.mjs} +1 -1
  30. package/dist/chunk-MJTSZFLC.mjs +1 -0
  31. package/dist/{chunk-WTXPB253.mjs → chunk-N3QOXWJI.mjs} +1 -1
  32. package/dist/chunk-N7GOJBLM.mjs +1 -0
  33. package/dist/chunk-NDQAHQFL.mjs +1 -0
  34. package/dist/chunk-NMMWGIQE.mjs +1 -0
  35. package/dist/chunk-NOXFF2KJ.mjs +16 -0
  36. package/dist/chunk-NVLF7L4R.mjs +1 -0
  37. package/dist/{chunk-AS4T5M6E.mjs → chunk-O5T4GUJH.mjs} +3 -0
  38. package/dist/chunk-OW6U64MG.mjs +19 -0
  39. package/dist/chunk-OZSO3C5Q.mjs +14 -0
  40. package/dist/chunk-PKZZEODR.mjs +29 -0
  41. package/dist/chunk-PON4ZQKG.mjs +1 -0
  42. package/dist/chunk-Q6JSJOU4.mjs +1 -0
  43. package/dist/chunk-QCLLPJMB.mjs +17 -0
  44. package/dist/chunk-QUMDPADZ.mjs +14 -0
  45. package/dist/chunk-RRA7GWP2.mjs +1 -0
  46. package/dist/chunk-SAYYLTIE.mjs +52 -0
  47. package/dist/chunk-SLB2JE3N.mjs +19 -0
  48. package/dist/{chunk-PEB5ZH76.mjs → chunk-SPED4RBS.mjs} +1 -1
  49. package/dist/{chunk-GRWFJ4FP.mjs → chunk-TJBXXTYS.mjs} +1 -1
  50. package/dist/{chunk-WVF5LVDJ.mjs → chunk-TYMUQULA.mjs} +1 -1
  51. package/dist/chunk-U4FAPNVK.mjs +1 -0
  52. package/dist/chunk-UFYLYN5Z.mjs +37 -0
  53. package/dist/chunk-UNBE67YJ.mjs +1 -0
  54. package/dist/chunk-UUKS7JYX.mjs +1 -0
  55. package/dist/chunk-VIPLRFPR.mjs +23 -0
  56. package/dist/chunk-VWGY6KWP.mjs +15 -0
  57. package/dist/chunk-W2A6C27Y.mjs +35 -0
  58. package/dist/chunk-W6NKLZ73.mjs +61 -0
  59. package/dist/chunk-XHCXM5MU.mjs +14 -0
  60. package/dist/chunk-XKX5LFH7.mjs +19 -0
  61. package/dist/chunk-XYQVL4EX.mjs +19 -0
  62. package/dist/chunk-YBQFG6QJ.mjs +19 -0
  63. package/dist/chunk-YNCISHAU.mjs +27 -0
  64. package/dist/chunk-ZSYIKEXW.mjs +21 -0
  65. package/dist/{chunk-LR4R7GFR.mjs → chunk-ZXCQ73RT.mjs} +3 -5
  66. package/dist/index.js +1010 -185
  67. package/dist/index.mjs +244 -78
  68. package/dist/ui/actions/button/button.js +1 -1
  69. package/dist/ui/actions/button/button.mjs +1 -1
  70. package/dist/ui/actions/button/index.js +1 -1
  71. package/dist/ui/actions/button/index.mjs +1 -1
  72. package/dist/ui/actions/index.js +1 -1
  73. package/dist/ui/actions/index.mjs +1 -1
  74. package/dist/ui/data/index.d.ts +2 -0
  75. package/dist/ui/data/index.js +38 -2
  76. package/dist/ui/data/index.mjs +25 -3
  77. package/dist/ui/data/pagination/index.js +1 -0
  78. package/dist/ui/data/pagination/index.mjs +1 -1
  79. package/dist/ui/data/pagination/pagination.d.ts +6 -2
  80. package/dist/ui/data/pagination/pagination.js +6 -2
  81. package/dist/ui/data/pagination/pagination.mjs +5 -3
  82. package/dist/ui/data/table/index.d.ts +1 -0
  83. package/dist/ui/data/table/index.js +52 -0
  84. package/dist/ui/data/table/index.mjs +20 -0
  85. package/dist/ui/data/table/table.d.ts +23 -0
  86. package/dist/ui/data/table/table.js +50 -0
  87. package/dist/ui/data/table/table.mjs +19 -0
  88. package/dist/ui/data/user/index.d.ts +1 -0
  89. package/dist/ui/data/user/index.js +49 -0
  90. package/dist/ui/data/user/index.mjs +8 -0
  91. package/dist/ui/data/user/user.d.ts +6 -0
  92. package/dist/ui/data/user/user.js +47 -0
  93. package/dist/ui/data/user/user.mjs +7 -0
  94. package/dist/ui/feedback/alert/alert.d.ts +1 -1
  95. package/dist/ui/feedback/index.d.ts +2 -0
  96. package/dist/ui/feedback/index.js +68 -13
  97. package/dist/ui/feedback/index.mjs +34 -7
  98. package/dist/ui/feedback/progress/circular-progress.d.ts +9 -0
  99. package/dist/ui/feedback/progress/circular-progress.js +47 -0
  100. package/dist/ui/feedback/progress/circular-progress.mjs +7 -0
  101. package/dist/ui/feedback/progress/index.d.ts +2 -0
  102. package/dist/ui/feedback/progress/index.js +60 -0
  103. package/dist/ui/feedback/progress/index.mjs +12 -0
  104. package/dist/ui/feedback/progress/progress.d.ts +9 -0
  105. package/dist/ui/feedback/progress/progress.js +47 -0
  106. package/dist/ui/feedback/progress/progress.mjs +7 -0
  107. package/dist/ui/feedback/spinner/index.js +3 -5
  108. package/dist/ui/feedback/spinner/index.mjs +1 -1
  109. package/dist/ui/feedback/spinner/spinner.d.ts +8 -4
  110. package/dist/ui/feedback/spinner/spinner.js +3 -5
  111. package/dist/ui/feedback/spinner/spinner.mjs +1 -1
  112. package/dist/ui/feedback/toast/index.d.ts +1 -0
  113. package/dist/ui/feedback/toast/index.js +73 -0
  114. package/dist/ui/feedback/toast/index.mjs +21 -0
  115. package/dist/ui/feedback/toast/toast.d.ts +17 -0
  116. package/dist/ui/feedback/toast/toast.js +71 -0
  117. package/dist/ui/feedback/toast/toast.mjs +21 -0
  118. package/dist/ui/feedback/tooltip/index.js +1 -1
  119. package/dist/ui/feedback/tooltip/index.mjs +1 -1
  120. package/dist/ui/feedback/tooltip/tooltip.d.ts +2 -2
  121. package/dist/ui/feedback/tooltip/tooltip.js +1 -1
  122. package/dist/ui/feedback/tooltip/tooltip.mjs +1 -1
  123. package/dist/ui/form/index.js +83 -43
  124. package/dist/ui/form/index.mjs +24 -15
  125. package/dist/ui/form/rhf/fields/autocomplete-field.mjs +15 -10
  126. package/dist/ui/form/rhf/fields/checkbox-field.js +1 -1
  127. package/dist/ui/form/rhf/fields/checkbox-field.mjs +16 -11
  128. package/dist/ui/form/rhf/fields/date-picker-field.mjs +15 -10
  129. package/dist/ui/form/rhf/fields/email-field.mjs +15 -10
  130. package/dist/ui/form/rhf/fields/index.d.ts +1 -0
  131. package/dist/ui/form/rhf/fields/index.js +79 -39
  132. package/dist/ui/form/rhf/fields/index.mjs +24 -15
  133. package/dist/ui/form/rhf/fields/input-field.mjs +15 -10
  134. package/dist/ui/form/rhf/fields/radio-field.d.ts +10 -0
  135. package/dist/ui/form/rhf/fields/radio-field.js +78 -0
  136. package/dist/ui/form/rhf/fields/radio-field.mjs +31 -0
  137. package/dist/ui/form/rhf/fields/select-field.mjs +15 -10
  138. package/dist/ui/form/rhf/fields/switch-field.mjs +15 -10
  139. package/dist/ui/form/rhf/fields/text-field.mjs +15 -10
  140. package/dist/ui/form/rhf/fields/textarea-field.mjs +15 -10
  141. package/dist/ui/form/rhf/index.js +79 -39
  142. package/dist/ui/form/rhf/index.mjs +24 -15
  143. package/dist/ui/format/date.js +2 -2
  144. package/dist/ui/format/date.mjs +1 -1
  145. package/dist/ui/format/datetime.js +4 -3
  146. package/dist/ui/format/datetime.mjs +1 -1
  147. package/dist/ui/format/index.js +6 -5
  148. package/dist/ui/format/index.mjs +8 -8
  149. package/dist/ui/index.d.ts +1 -0
  150. package/dist/ui/index.js +1010 -185
  151. package/dist/ui/index.mjs +244 -78
  152. package/dist/ui/inputs/checkbox/checkbox-group.d.ts +9 -0
  153. package/dist/ui/inputs/checkbox/checkbox-group.js +45 -0
  154. package/dist/ui/inputs/checkbox/checkbox-group.mjs +7 -0
  155. package/dist/ui/inputs/checkbox/checkbox.js +1 -1
  156. package/dist/ui/inputs/checkbox/checkbox.mjs +1 -1
  157. package/dist/ui/inputs/checkbox/index.d.ts +1 -0
  158. package/dist/ui/inputs/checkbox/index.js +12 -3
  159. package/dist/ui/inputs/checkbox/index.mjs +7 -3
  160. package/dist/ui/inputs/index.d.ts +1 -0
  161. package/dist/ui/inputs/index.js +93 -30
  162. package/dist/ui/inputs/index.mjs +33 -16
  163. package/dist/ui/inputs/radio/index.d.ts +2 -0
  164. package/dist/ui/inputs/radio/index.js +57 -0
  165. package/dist/ui/inputs/radio/index.mjs +12 -0
  166. package/dist/ui/inputs/radio/radio-group.d.ts +9 -0
  167. package/dist/ui/inputs/radio/radio-group.js +49 -0
  168. package/dist/ui/inputs/radio/radio-group.mjs +7 -0
  169. package/dist/ui/inputs/radio/radio.d.ts +6 -0
  170. package/dist/ui/inputs/radio/radio.js +32 -0
  171. package/dist/ui/inputs/radio/radio.mjs +7 -0
  172. package/dist/ui/inputs/switch/favorite-switch.d.ts +6 -0
  173. package/dist/ui/inputs/switch/favorite-switch.js +62 -0
  174. package/dist/ui/inputs/switch/favorite-switch.mjs +8 -0
  175. package/dist/ui/inputs/switch/index.d.ts +1 -0
  176. package/dist/ui/inputs/switch/index.js +35 -0
  177. package/dist/ui/inputs/switch/index.mjs +5 -1
  178. package/dist/ui/layout/accordion/accordion.d.ts +10 -0
  179. package/dist/ui/layout/accordion/accordion.js +35 -0
  180. package/dist/ui/layout/accordion/accordion.mjs +9 -0
  181. package/dist/ui/layout/accordion/index.d.ts +1 -0
  182. package/dist/ui/layout/accordion/index.js +37 -0
  183. package/dist/ui/layout/accordion/index.mjs +10 -0
  184. package/dist/ui/layout/{container.d.ts → container/container.d.ts} +2 -2
  185. package/dist/ui/layout/{container.js → container/container.js} +3 -3
  186. package/dist/ui/layout/container/container.mjs +137 -0
  187. package/dist/ui/layout/container/index.d.ts +1 -0
  188. package/dist/ui/layout/container/index.js +66 -0
  189. package/dist/ui/layout/container/index.mjs +137 -0
  190. package/dist/ui/layout/divider/divider.d.ts +6 -0
  191. package/dist/ui/layout/divider/divider.js +48 -0
  192. package/dist/ui/layout/divider/divider.mjs +7 -0
  193. package/dist/ui/layout/divider/index.d.ts +1 -0
  194. package/dist/ui/layout/divider/index.js +50 -0
  195. package/dist/ui/layout/divider/index.mjs +8 -0
  196. package/dist/ui/layout/{flex.js → flex/flex.js} +1 -1
  197. package/dist/ui/layout/{flex.mjs → flex/flex.mjs} +1 -1
  198. package/dist/ui/layout/flex/index.d.ts +1 -0
  199. package/dist/ui/layout/flex/index.js +84 -0
  200. package/dist/ui/layout/flex/index.mjs +8 -0
  201. package/dist/ui/layout/grid/grid.d.ts +118 -0
  202. package/dist/ui/layout/grid/grid.js +84 -0
  203. package/dist/ui/layout/grid/grid.mjs +7 -0
  204. package/dist/ui/layout/grid/index.d.ts +1 -0
  205. package/dist/ui/layout/grid/index.js +86 -0
  206. package/dist/ui/layout/grid/index.mjs +8 -0
  207. package/dist/ui/layout/index.d.ts +4 -0
  208. package/dist/ui/layout/index.js +97 -9
  209. package/dist/ui/layout/index.mjs +115 -50
  210. package/dist/ui/layout/page/index.js +3 -5
  211. package/dist/ui/layout/page/index.mjs +13 -9
  212. package/dist/ui/layout/page/page-loading.js +3 -5
  213. package/dist/ui/layout/page/page-loading.mjs +10 -6
  214. package/dist/ui/layout/page/section-loading.js +3 -5
  215. package/dist/ui/layout/page/section-loading.mjs +10 -6
  216. package/dist/ui/layout/scroll-shadow/index.d.ts +1 -0
  217. package/dist/ui/layout/scroll-shadow/index.js +49 -0
  218. package/dist/ui/layout/scroll-shadow/index.mjs +8 -0
  219. package/dist/ui/layout/scroll-shadow/scroll-shadow.d.ts +9 -0
  220. package/dist/ui/layout/scroll-shadow/scroll-shadow.js +47 -0
  221. package/dist/ui/layout/scroll-shadow/scroll-shadow.mjs +7 -0
  222. package/dist/ui/navigation/breadcrumbs/breadcrumbs.d.ts +6 -0
  223. package/dist/ui/navigation/breadcrumbs/breadcrumbs.js +57 -0
  224. package/dist/ui/navigation/breadcrumbs/breadcrumbs.mjs +9 -0
  225. package/dist/ui/navigation/breadcrumbs/index.d.ts +1 -0
  226. package/dist/ui/navigation/breadcrumbs/index.js +59 -0
  227. package/dist/ui/navigation/breadcrumbs/index.mjs +10 -0
  228. package/dist/ui/navigation/index.d.ts +3 -0
  229. package/dist/ui/navigation/index.js +98 -2
  230. package/dist/ui/navigation/index.mjs +31 -2
  231. package/dist/ui/navigation/navbar/index.d.ts +1 -0
  232. package/dist/ui/navigation/navbar/index.js +85 -0
  233. package/dist/ui/navigation/navbar/index.mjs +20 -0
  234. package/dist/ui/navigation/navbar/navbar.d.ts +26 -0
  235. package/dist/ui/navigation/navbar/navbar.js +83 -0
  236. package/dist/ui/navigation/navbar/navbar.mjs +19 -0
  237. package/dist/ui/navigation/tabs/index.d.ts +1 -0
  238. package/dist/ui/navigation/tabs/index.js +56 -0
  239. package/dist/ui/navigation/tabs/index.mjs +8 -0
  240. package/dist/ui/navigation/tabs/tabs.d.ts +7 -0
  241. package/dist/ui/navigation/tabs/tabs.js +54 -0
  242. package/dist/ui/navigation/tabs/tabs.mjs +7 -0
  243. package/dist/ui/overlays/dropdown/dropdown.d.ts +28 -0
  244. package/dist/ui/overlays/dropdown/dropdown.js +48 -0
  245. package/dist/ui/overlays/dropdown/dropdown.mjs +15 -0
  246. package/dist/ui/overlays/dropdown/index.d.ts +1 -0
  247. package/dist/ui/overlays/dropdown/index.js +50 -0
  248. package/dist/ui/overlays/dropdown/index.mjs +16 -0
  249. package/dist/ui/overlays/index.d.ts +1 -0
  250. package/dist/ui/overlays/index.js +22 -0
  251. package/dist/ui/overlays/index.mjs +14 -1
  252. package/dist/ui/provider/index.js +31 -2
  253. package/dist/ui/provider/index.mjs +14 -1
  254. package/dist/ui/provider/ui-provider.d.ts +3 -1
  255. package/dist/ui/provider/ui-provider.js +31 -2
  256. package/dist/ui/provider/ui-provider.mjs +14 -1
  257. package/dist/ui/surface/bento/bento.d.ts +86 -0
  258. package/dist/ui/surface/bento/bento.js +74 -0
  259. package/dist/ui/surface/bento/bento.mjs +9 -0
  260. package/dist/ui/surface/bento/index.d.ts +1 -0
  261. package/dist/ui/surface/bento/index.js +76 -0
  262. package/dist/ui/surface/bento/index.mjs +10 -0
  263. package/dist/ui/surface/card/card.d.ts +36 -0
  264. package/dist/ui/surface/card/card.js +65 -0
  265. package/dist/ui/surface/card/card.mjs +7 -0
  266. package/dist/ui/surface/card/index.d.ts +1 -0
  267. package/dist/ui/surface/card/index.js +67 -0
  268. package/dist/ui/surface/card/index.mjs +8 -0
  269. package/dist/ui/surface/index.d.ts +2 -0
  270. package/dist/ui/surface/index.js +115 -0
  271. package/dist/ui/surface/index.mjs +16 -0
  272. package/dist/ui/theme/colors/blue.d.ts +12 -0
  273. package/dist/ui/theme/colors/blue.js +42 -0
  274. package/dist/ui/theme/colors/blue.mjs +7 -0
  275. package/dist/ui/theme/colors/common.d.ts +113 -0
  276. package/dist/ui/theme/colors/common.js +171 -0
  277. package/dist/ui/theme/colors/common.mjs +16 -0
  278. package/dist/ui/theme/colors/cyan.d.ts +12 -0
  279. package/dist/ui/theme/colors/cyan.js +42 -0
  280. package/dist/ui/theme/colors/cyan.mjs +7 -0
  281. package/dist/ui/theme/colors/flat.d.ts +22 -0
  282. package/dist/ui/theme/colors/flat.js +52 -0
  283. package/dist/ui/theme/colors/flat.mjs +28 -0
  284. package/dist/ui/theme/colors/green.d.ts +12 -0
  285. package/dist/ui/theme/colors/green.js +42 -0
  286. package/dist/ui/theme/colors/green.mjs +7 -0
  287. package/dist/ui/theme/colors/index.d.ts +118 -0
  288. package/dist/ui/theme/colors/index.js +353 -0
  289. package/dist/ui/theme/colors/index.mjs +26 -0
  290. package/dist/ui/theme/colors/pink.d.ts +12 -0
  291. package/dist/ui/theme/colors/pink.js +42 -0
  292. package/dist/ui/theme/colors/pink.mjs +7 -0
  293. package/dist/ui/theme/colors/purple.d.ts +12 -0
  294. package/dist/ui/theme/colors/purple.js +42 -0
  295. package/dist/ui/theme/colors/purple.mjs +7 -0
  296. package/dist/ui/theme/colors/red.d.ts +12 -0
  297. package/dist/ui/theme/colors/red.js +42 -0
  298. package/dist/ui/theme/colors/red.mjs +7 -0
  299. package/dist/ui/theme/colors/semantic.d.ts +7 -0
  300. package/dist/ui/theme/colors/semantic.js +347 -0
  301. package/dist/ui/theme/colors/semantic.mjs +22 -0
  302. package/dist/ui/theme/colors/shipgray.d.ts +12 -0
  303. package/dist/ui/theme/colors/shipgray.js +42 -0
  304. package/dist/ui/theme/colors/shipgray.mjs +7 -0
  305. package/dist/ui/theme/colors/types.d.ts +38 -0
  306. package/dist/ui/theme/colors/types.js +19 -0
  307. package/dist/ui/theme/colors/types.mjs +2 -0
  308. package/dist/ui/theme/colors/yellow.d.ts +12 -0
  309. package/dist/ui/theme/colors/yellow.js +42 -0
  310. package/dist/ui/theme/colors/yellow.mjs +7 -0
  311. package/dist/ui/theme/colors/zinc.d.ts +12 -0
  312. package/dist/ui/theme/colors/zinc.js +42 -0
  313. package/dist/ui/theme/colors/zinc.mjs +7 -0
  314. package/dist/ui/theme/colors.d.ts +1 -0
  315. package/dist/ui/theme/colors.js +353 -0
  316. package/dist/ui/theme/colors.mjs +27 -0
  317. package/dist/ui/theme/index.js +364 -2
  318. package/dist/ui/theme/index.mjs +20 -2
  319. package/dist/ui/theme/swap-color-values.d.ts +1 -0
  320. package/dist/ui/theme/swap-color-values.js +46 -0
  321. package/dist/ui/theme/swap-color-values.mjs +7 -0
  322. package/dist/ui/theme/theme.d.ts +1 -2
  323. package/dist/ui/theme/theme.js +332 -183
  324. package/dist/ui/theme/theme.mjs +18 -3
  325. package/package.json +17 -3
  326. package/dist/chunk-6WK4W5LL.mjs +0 -17
  327. package/dist/chunk-FELJP42D.mjs +0 -220
  328. package/dist/ui/layout/container.mjs +0 -86
  329. package/dist/ui/theme/theme.css +0 -2
  330. /package/dist/{chunk-54ZSBA6H.mjs → chunk-54FA62HL.mjs} +0 -0
  331. /package/dist/{chunk-5EWHMXCP.mjs → chunk-57JRJHSH.mjs} +0 -0
  332. /package/dist/{chunk-5HUR2CNH.mjs → chunk-AR4IYKG5.mjs} +0 -0
  333. /package/dist/{chunk-5YMUHF45.mjs → chunk-AT6DX4DN.mjs} +0 -0
  334. /package/dist/{chunk-JJHHWDZT.mjs → chunk-BGNMWHME.mjs} +0 -0
  335. /package/dist/{chunk-OEHJDT6R.mjs → chunk-CTKWGSNJ.mjs} +0 -0
  336. /package/dist/{chunk-UURZJWWV.mjs → chunk-CYSW4N3T.mjs} +0 -0
  337. /package/dist/{chunk-WJXIRSSW.mjs → chunk-CZEO3U25.mjs} +0 -0
  338. /package/dist/ui/layout/{flex.d.ts → flex/flex.d.ts} +0 -0
@@ -0,0 +1,84 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/ui/layout/flex/index.ts
22
+ var flex_exports = {};
23
+ __export(flex_exports, {
24
+ Flex: () => Flex
25
+ });
26
+ module.exports = __toCommonJS(flex_exports);
27
+
28
+ // src/ui/layout/flex/flex.tsx
29
+ var import_tailwind_variants = require("tailwind-variants");
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var variants = (0, import_tailwind_variants.tv)({
32
+ base: "flex",
33
+ variants: {
34
+ direction: {
35
+ row: "flex-row",
36
+ column: "flex-col",
37
+ "row-reverse": "flex-row-reverse",
38
+ "column-reverse": "flex-col-reverse"
39
+ },
40
+ align: {
41
+ start: "items-start",
42
+ center: "items-center",
43
+ end: "items-end",
44
+ stretch: "items-stretch",
45
+ baseline: "items-baseline"
46
+ },
47
+ justify: {
48
+ start: "justify-start",
49
+ center: "justify-center",
50
+ end: "justify-end",
51
+ between: "justify-between",
52
+ around: "justify-around",
53
+ evenly: "justify-evenly"
54
+ },
55
+ wrap: {
56
+ nowrap: "flex-nowrap",
57
+ wrap: "flex-wrap",
58
+ "wrap-reverse": "flex-wrap-reverse"
59
+ },
60
+ gap: {
61
+ 0: "gap-0",
62
+ 1: "gap-1",
63
+ 2: "gap-2",
64
+ 4: "gap-4",
65
+ 6: "gap-6",
66
+ 8: "gap-8"
67
+ }
68
+ },
69
+ defaultVariants: {
70
+ direction: "row",
71
+ align: "stretch",
72
+ justify: "start",
73
+ wrap: "nowrap",
74
+ gap: 0
75
+ }
76
+ });
77
+ var Flex = ({ className, ...props }) => {
78
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: variants({ ...props, className }), ...props });
79
+ };
80
+ Flex.displayName = "TeachInUI.Flex";
81
+ // Annotate the CommonJS export names for ESM import in node:
82
+ 0 && (module.exports = {
83
+ Flex
84
+ });
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../../chunk-JUIVZCH7.mjs";
3
+ import {
4
+ Flex
5
+ } from "../../../chunk-M5F723W7.mjs";
6
+ export {
7
+ Flex
8
+ };
@@ -0,0 +1,118 @@
1
+ import type { VariantProps } from "tailwind-variants";
2
+ import React from "react";
3
+ declare const variants: import("tailwind-variants").TVReturnType<{
4
+ columns: {
5
+ 1: string;
6
+ 2: string;
7
+ 3: string;
8
+ 4: string;
9
+ 6: string;
10
+ 12: string;
11
+ };
12
+ gap: {
13
+ 0: string;
14
+ 1: string;
15
+ 2: string;
16
+ 4: string;
17
+ 6: string;
18
+ 8: string;
19
+ };
20
+ align: {
21
+ start: string;
22
+ center: string;
23
+ end: string;
24
+ stretch: string;
25
+ };
26
+ justify: {
27
+ start: string;
28
+ center: string;
29
+ end: string;
30
+ between: string;
31
+ around: string;
32
+ evenly: string;
33
+ };
34
+ flow: {
35
+ row: string;
36
+ col: string;
37
+ "row-dense": string;
38
+ "col-dense": string;
39
+ };
40
+ }, undefined, "grid", {
41
+ columns: {
42
+ 1: string;
43
+ 2: string;
44
+ 3: string;
45
+ 4: string;
46
+ 6: string;
47
+ 12: string;
48
+ };
49
+ gap: {
50
+ 0: string;
51
+ 1: string;
52
+ 2: string;
53
+ 4: string;
54
+ 6: string;
55
+ 8: string;
56
+ };
57
+ align: {
58
+ start: string;
59
+ center: string;
60
+ end: string;
61
+ stretch: string;
62
+ };
63
+ justify: {
64
+ start: string;
65
+ center: string;
66
+ end: string;
67
+ between: string;
68
+ around: string;
69
+ evenly: string;
70
+ };
71
+ flow: {
72
+ row: string;
73
+ col: string;
74
+ "row-dense": string;
75
+ "col-dense": string;
76
+ };
77
+ }, undefined, import("tailwind-variants").TVReturnType<{
78
+ columns: {
79
+ 1: string;
80
+ 2: string;
81
+ 3: string;
82
+ 4: string;
83
+ 6: string;
84
+ 12: string;
85
+ };
86
+ gap: {
87
+ 0: string;
88
+ 1: string;
89
+ 2: string;
90
+ 4: string;
91
+ 6: string;
92
+ 8: string;
93
+ };
94
+ align: {
95
+ start: string;
96
+ center: string;
97
+ end: string;
98
+ stretch: string;
99
+ };
100
+ justify: {
101
+ start: string;
102
+ center: string;
103
+ end: string;
104
+ between: string;
105
+ around: string;
106
+ evenly: string;
107
+ };
108
+ flow: {
109
+ row: string;
110
+ col: string;
111
+ "row-dense": string;
112
+ "col-dense": string;
113
+ };
114
+ }, undefined, "grid", unknown, unknown, undefined>>;
115
+ export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof variants> {
116
+ }
117
+ export declare const Grid: React.FC<GridProps>;
118
+ export {};
@@ -0,0 +1,84 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/ui/layout/grid/grid.tsx
22
+ var grid_exports = {};
23
+ __export(grid_exports, {
24
+ Grid: () => Grid
25
+ });
26
+ module.exports = __toCommonJS(grid_exports);
27
+ var import_tailwind_variants = require("tailwind-variants");
28
+ var import_jsx_runtime = require("react/jsx-runtime");
29
+ var variants = (0, import_tailwind_variants.tv)({
30
+ base: "grid",
31
+ variants: {
32
+ columns: {
33
+ 1: "grid-cols-1",
34
+ 2: "grid-cols-2",
35
+ 3: "grid-cols-3",
36
+ 4: "grid-cols-4",
37
+ 6: "grid-cols-6",
38
+ 12: "grid-cols-12"
39
+ },
40
+ gap: {
41
+ 0: "gap-0",
42
+ 1: "gap-1",
43
+ 2: "gap-2",
44
+ 4: "gap-4",
45
+ 6: "gap-6",
46
+ 8: "gap-8"
47
+ },
48
+ align: {
49
+ start: "items-start",
50
+ center: "items-center",
51
+ end: "items-end",
52
+ stretch: "items-stretch"
53
+ },
54
+ justify: {
55
+ start: "justify-start",
56
+ center: "justify-center",
57
+ end: "justify-end",
58
+ between: "justify-between",
59
+ around: "justify-around",
60
+ evenly: "justify-evenly"
61
+ },
62
+ flow: {
63
+ row: "grid-flow-row",
64
+ col: "grid-flow-col",
65
+ "row-dense": "grid-flow-row-dense",
66
+ "col-dense": "grid-flow-col-dense"
67
+ }
68
+ },
69
+ defaultVariants: {
70
+ columns: 3,
71
+ gap: 4,
72
+ align: "stretch",
73
+ justify: "start",
74
+ flow: "row"
75
+ }
76
+ });
77
+ var Grid = ({ className, ...props }) => {
78
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: variants({ ...props, className }), ...props });
79
+ };
80
+ Grid.displayName = "TeachInUI.Grid";
81
+ // Annotate the CommonJS export names for ESM import in node:
82
+ 0 && (module.exports = {
83
+ Grid
84
+ });
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import {
3
+ Grid
4
+ } from "../../../chunk-W6NKLZ73.mjs";
5
+ export {
6
+ Grid
7
+ };
@@ -0,0 +1 @@
1
+ export * from "./grid";
@@ -0,0 +1,86 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/ui/layout/grid/index.ts
22
+ var grid_exports = {};
23
+ __export(grid_exports, {
24
+ Grid: () => Grid
25
+ });
26
+ module.exports = __toCommonJS(grid_exports);
27
+
28
+ // src/ui/layout/grid/grid.tsx
29
+ var import_tailwind_variants = require("tailwind-variants");
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var variants = (0, import_tailwind_variants.tv)({
32
+ base: "grid",
33
+ variants: {
34
+ columns: {
35
+ 1: "grid-cols-1",
36
+ 2: "grid-cols-2",
37
+ 3: "grid-cols-3",
38
+ 4: "grid-cols-4",
39
+ 6: "grid-cols-6",
40
+ 12: "grid-cols-12"
41
+ },
42
+ gap: {
43
+ 0: "gap-0",
44
+ 1: "gap-1",
45
+ 2: "gap-2",
46
+ 4: "gap-4",
47
+ 6: "gap-6",
48
+ 8: "gap-8"
49
+ },
50
+ align: {
51
+ start: "items-start",
52
+ center: "items-center",
53
+ end: "items-end",
54
+ stretch: "items-stretch"
55
+ },
56
+ justify: {
57
+ start: "justify-start",
58
+ center: "justify-center",
59
+ end: "justify-end",
60
+ between: "justify-between",
61
+ around: "justify-around",
62
+ evenly: "justify-evenly"
63
+ },
64
+ flow: {
65
+ row: "grid-flow-row",
66
+ col: "grid-flow-col",
67
+ "row-dense": "grid-flow-row-dense",
68
+ "col-dense": "grid-flow-col-dense"
69
+ }
70
+ },
71
+ defaultVariants: {
72
+ columns: 3,
73
+ gap: 4,
74
+ align: "stretch",
75
+ justify: "start",
76
+ flow: "row"
77
+ }
78
+ });
79
+ var Grid = ({ className, ...props }) => {
80
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: variants({ ...props, className }), ...props });
81
+ };
82
+ Grid.displayName = "TeachInUI.Grid";
83
+ // Annotate the CommonJS export names for ESM import in node:
84
+ 0 && (module.exports = {
85
+ Grid
86
+ });
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../../chunk-NDQAHQFL.mjs";
3
+ import {
4
+ Grid
5
+ } from "../../../chunk-W6NKLZ73.mjs";
6
+ export {
7
+ Grid
8
+ };
@@ -1,3 +1,7 @@
1
1
  export * from "./container";
2
2
  export * from "./page";
3
3
  export * from "./flex";
4
+ export * from "./grid";
5
+ export * from "./divider";
6
+ export * from "./scroll-shadow";
7
+ export * from "./accordion";
@@ -31,14 +31,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
31
31
  // src/ui/layout/index.ts
32
32
  var layout_exports = {};
33
33
  __export(layout_exports, {
34
+ Accordion: () => Accordion,
35
+ AccordionItem: () => AccordionItem,
34
36
  Actions: () => Actions,
35
37
  Body: () => Body,
36
38
  Container: () => Container,
39
+ Divider: () => Divider,
37
40
  Flex: () => Flex,
41
+ Grid: () => Grid,
38
42
  Header: () => Header,
39
43
  PageContent: () => PageContent,
40
44
  PageLoading: () => PageLoading,
41
45
  Root: () => Root,
46
+ ScrollShadow: () => ScrollShadow,
42
47
  Section: () => Section,
43
48
  SectionActions: () => SectionActions,
44
49
  SectionHeader: () => SectionHeader,
@@ -48,7 +53,7 @@ __export(layout_exports, {
48
53
  });
49
54
  module.exports = __toCommonJS(layout_exports);
50
55
 
51
- // src/ui/layout/container.tsx
56
+ // src/ui/layout/container/container.tsx
52
57
  var import_react_slot = require("@radix-ui/react-slot");
53
58
  var import_tailwind_variants = require("tailwind-variants");
54
59
 
@@ -56,11 +61,9 @@ var import_tailwind_variants = require("tailwind-variants");
56
61
  var import_react = __toESM(require("react"));
57
62
  var import_spinner = require("@heroui/spinner");
58
63
  var import_jsx_runtime = require("react/jsx-runtime");
59
- var Spinner = import_react.default.forwardRef(
60
- ({ label = "\u0418\u0434\u0451\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430...", ...props }, ref) => {
61
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, label, ...props });
62
- }
63
- );
64
+ var Spinner = import_react.default.forwardRef((props, ref) => {
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, ...props });
66
+ });
64
67
  Spinner.displayName = "TeachInUI.Spinner";
65
68
 
66
69
  // src/ui/style/css.ts
@@ -70,13 +73,13 @@ function cn(...inputs) {
70
73
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
71
74
  }
72
75
 
73
- // src/ui/layout/container.tsx
76
+ // src/ui/layout/container/container.tsx
74
77
  var import_jsx_runtime2 = require("react/jsx-runtime");
75
78
  var variants = (0, import_tailwind_variants.tv)({
76
79
  base: "w-full mx-auto px-6",
77
80
  variants: {
78
81
  size: {
79
- xs: "max-w-screen-xs",
82
+ xs: "max-w-xs",
80
83
  sm: "max-w-screen-sm",
81
84
  md: "max-w-screen-md",
82
85
  lg: "max-w-screen-lg",
@@ -166,7 +169,7 @@ var import_jsx_runtime6 = require("react/jsx-runtime");
166
169
  var SectionLoading = () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex min-h-[400px] items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Spinner, {}) });
167
170
  SectionLoading.displayName = "TeachInUI.SectionLoading";
168
171
 
169
- // src/ui/layout/flex.tsx
172
+ // src/ui/layout/flex/flex.tsx
170
173
  var import_tailwind_variants2 = require("tailwind-variants");
171
174
  var import_jsx_runtime7 = require("react/jsx-runtime");
172
175
  var variants2 = (0, import_tailwind_variants2.tv)({
@@ -219,16 +222,101 @@ var Flex = ({ className, ...props }) => {
219
222
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: variants2({ ...props, className }), ...props });
220
223
  };
221
224
  Flex.displayName = "TeachInUI.Flex";
225
+
226
+ // src/ui/layout/grid/grid.tsx
227
+ var import_tailwind_variants3 = require("tailwind-variants");
228
+ var import_jsx_runtime8 = require("react/jsx-runtime");
229
+ var variants3 = (0, import_tailwind_variants3.tv)({
230
+ base: "grid",
231
+ variants: {
232
+ columns: {
233
+ 1: "grid-cols-1",
234
+ 2: "grid-cols-2",
235
+ 3: "grid-cols-3",
236
+ 4: "grid-cols-4",
237
+ 6: "grid-cols-6",
238
+ 12: "grid-cols-12"
239
+ },
240
+ gap: {
241
+ 0: "gap-0",
242
+ 1: "gap-1",
243
+ 2: "gap-2",
244
+ 4: "gap-4",
245
+ 6: "gap-6",
246
+ 8: "gap-8"
247
+ },
248
+ align: {
249
+ start: "items-start",
250
+ center: "items-center",
251
+ end: "items-end",
252
+ stretch: "items-stretch"
253
+ },
254
+ justify: {
255
+ start: "justify-start",
256
+ center: "justify-center",
257
+ end: "justify-end",
258
+ between: "justify-between",
259
+ around: "justify-around",
260
+ evenly: "justify-evenly"
261
+ },
262
+ flow: {
263
+ row: "grid-flow-row",
264
+ col: "grid-flow-col",
265
+ "row-dense": "grid-flow-row-dense",
266
+ "col-dense": "grid-flow-col-dense"
267
+ }
268
+ },
269
+ defaultVariants: {
270
+ columns: 3,
271
+ gap: 4,
272
+ align: "stretch",
273
+ justify: "start",
274
+ flow: "row"
275
+ }
276
+ });
277
+ var Grid = ({ className, ...props }) => {
278
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: variants3({ ...props, className }), ...props });
279
+ };
280
+ Grid.displayName = "TeachInUI.Grid";
281
+
282
+ // src/ui/layout/divider/divider.tsx
283
+ var import_react2 = __toESM(require("react"));
284
+ var import_divider = require("@heroui/divider");
285
+ var import_jsx_runtime9 = require("react/jsx-runtime");
286
+ var Divider = import_react2.default.forwardRef((props, ref) => {
287
+ const { ...restProps } = props;
288
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_divider.Divider, { ref, ...restProps });
289
+ });
290
+ Divider.displayName = "TeachInUI.Divider";
291
+
292
+ // src/ui/layout/scroll-shadow/scroll-shadow.tsx
293
+ var import_react3 = __toESM(require("react"));
294
+ var import_scroll_shadow = require("@heroui/scroll-shadow");
295
+ var import_jsx_runtime10 = require("react/jsx-runtime");
296
+ var ScrollShadow = import_react3.default.forwardRef((props, ref) => {
297
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_scroll_shadow.ScrollShadow, { ref, ...props });
298
+ });
299
+ ScrollShadow.displayName = "TeachInUI.ScrollShadow";
300
+
301
+ // src/ui/layout/accordion/accordion.tsx
302
+ var import_accordion = require("@heroui/accordion");
303
+ var Accordion = Object.assign(import_accordion.Accordion, { displayName: "TeachInUI.Accordion" });
304
+ var AccordionItem = Object.assign(import_accordion.AccordionItem, { displayName: "TeachInUI.AccordionItem" });
222
305
  // Annotate the CommonJS export names for ESM import in node:
223
306
  0 && (module.exports = {
307
+ Accordion,
308
+ AccordionItem,
224
309
  Actions,
225
310
  Body,
226
311
  Container,
312
+ Divider,
227
313
  Flex,
314
+ Grid,
228
315
  Header,
229
316
  PageContent,
230
317
  PageLoading,
231
318
  Root,
319
+ ScrollShadow,
232
320
  Section,
233
321
  SectionActions,
234
322
  SectionHeader,