@tipp/ui 0.1.6 → 0.1.8

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 (383) hide show
  1. package/dist/atoms/avatar.d.cts +1 -1
  2. package/dist/atoms/avatar.d.ts +1 -1
  3. package/dist/atoms/check-box.d.cts +1 -1
  4. package/dist/atoms/check-box.d.ts +1 -1
  5. package/dist/atoms/collapse.cjs +50 -0
  6. package/dist/atoms/collapse.cjs.map +1 -0
  7. package/dist/atoms/collapse.d.cts +10 -0
  8. package/dist/atoms/collapse.d.ts +10 -0
  9. package/dist/atoms/collapse.js +8 -0
  10. package/dist/atoms/collapse.js.map +1 -0
  11. package/dist/atoms/index.cjs +516 -0
  12. package/dist/atoms/index.cjs.map +1 -0
  13. package/dist/atoms/index.d.cts +13 -0
  14. package/dist/atoms/index.d.ts +13 -0
  15. package/dist/atoms/index.js +197 -0
  16. package/dist/atoms/index.js.map +1 -0
  17. package/dist/chunk-27L4OHTY.js +27 -0
  18. package/dist/chunk-27L4OHTY.js.map +1 -0
  19. package/dist/chunk-2DNE6UUJ.js +110 -0
  20. package/dist/chunk-2DNE6UUJ.js.map +1 -0
  21. package/dist/chunk-2KI32NVG.js +26 -0
  22. package/dist/chunk-2KI32NVG.js.map +1 -0
  23. package/dist/chunk-2LNGRFNA.js +112 -0
  24. package/dist/chunk-2LNGRFNA.js.map +1 -0
  25. package/dist/chunk-2M3VXTYB.js +129 -0
  26. package/dist/chunk-2M3VXTYB.js.map +1 -0
  27. package/dist/chunk-2MV4AUHD.js +128 -0
  28. package/dist/chunk-2MV4AUHD.js.map +1 -0
  29. package/dist/chunk-2W73AR2R.js +115 -0
  30. package/dist/chunk-2W73AR2R.js.map +1 -0
  31. package/dist/chunk-2ZXOUX2G.js +115 -0
  32. package/dist/chunk-2ZXOUX2G.js.map +1 -0
  33. package/dist/chunk-3PF7OMJ2.js +1 -0
  34. package/dist/chunk-3PF7OMJ2.js.map +1 -0
  35. package/dist/chunk-3QWUK5TO.js +127 -0
  36. package/dist/chunk-3QWUK5TO.js.map +1 -0
  37. package/dist/chunk-3SX45JRI.js +115 -0
  38. package/dist/chunk-3SX45JRI.js.map +1 -0
  39. package/dist/chunk-42B6HX3M.js +115 -0
  40. package/dist/chunk-42B6HX3M.js.map +1 -0
  41. package/dist/chunk-4BB7L3KU.js +102 -0
  42. package/dist/chunk-4BB7L3KU.js.map +1 -0
  43. package/dist/chunk-4DDZULLY.js +112 -0
  44. package/dist/chunk-4DDZULLY.js.map +1 -0
  45. package/dist/chunk-4G6627MF.js +123 -0
  46. package/dist/chunk-4G6627MF.js.map +1 -0
  47. package/dist/chunk-4GAJSRUI.js +152 -0
  48. package/dist/chunk-4GAJSRUI.js.map +1 -0
  49. package/dist/chunk-4NBSVGGS.js +128 -0
  50. package/dist/chunk-4NBSVGGS.js.map +1 -0
  51. package/dist/chunk-4OOII7DI.js +100 -0
  52. package/dist/chunk-4OOII7DI.js.map +1 -0
  53. package/dist/chunk-4P7ZJOCM.js +111 -0
  54. package/dist/chunk-4P7ZJOCM.js.map +1 -0
  55. package/dist/chunk-4TYGAGTF.js +62 -0
  56. package/dist/chunk-4TYGAGTF.js.map +1 -0
  57. package/dist/chunk-5BGEXH2G.js +128 -0
  58. package/dist/chunk-5BGEXH2G.js.map +1 -0
  59. package/dist/chunk-5HSJCSTW.js +84 -0
  60. package/dist/chunk-5HSJCSTW.js.map +1 -0
  61. package/dist/chunk-5ILC3SI7.js +88 -0
  62. package/dist/chunk-5ILC3SI7.js.map +1 -0
  63. package/dist/chunk-5QDSOJFW.js +115 -0
  64. package/dist/chunk-5QDSOJFW.js.map +1 -0
  65. package/dist/chunk-5WLUD6NK.js +84 -0
  66. package/dist/chunk-5WLUD6NK.js.map +1 -0
  67. package/dist/chunk-65BJUTFT.js +115 -0
  68. package/dist/chunk-65BJUTFT.js.map +1 -0
  69. package/dist/chunk-6LG5L6EW.js +84 -0
  70. package/dist/chunk-6LG5L6EW.js.map +1 -0
  71. package/dist/chunk-6MFZ4EVU.js +112 -0
  72. package/dist/chunk-6MFZ4EVU.js.map +1 -0
  73. package/dist/chunk-6O5WO54I.js +112 -0
  74. package/dist/chunk-6O5WO54I.js.map +1 -0
  75. package/dist/chunk-6TAF3R6J.js +110 -0
  76. package/dist/chunk-6TAF3R6J.js.map +1 -0
  77. package/dist/chunk-6X4I5AAF.js +102 -0
  78. package/dist/chunk-6X4I5AAF.js.map +1 -0
  79. package/dist/chunk-76NL7K3Z.js +112 -0
  80. package/dist/chunk-76NL7K3Z.js.map +1 -0
  81. package/dist/chunk-7DVBR2AB.js +61 -0
  82. package/dist/chunk-7DVBR2AB.js.map +1 -0
  83. package/dist/chunk-7EDMK3RI.js +120 -0
  84. package/dist/chunk-7EDMK3RI.js.map +1 -0
  85. package/dist/chunk-7MRNTBSF.js +94 -0
  86. package/dist/chunk-7MRNTBSF.js.map +1 -0
  87. package/dist/chunk-7XHVXM26.js +112 -0
  88. package/dist/chunk-7XHVXM26.js.map +1 -0
  89. package/dist/chunk-A2NPHLZL.js +58 -0
  90. package/dist/chunk-A2NPHLZL.js.map +1 -0
  91. package/dist/chunk-A4HB2N3E.js +84 -0
  92. package/dist/chunk-A4HB2N3E.js.map +1 -0
  93. package/dist/chunk-AJFT3OBC.js +112 -0
  94. package/dist/chunk-AJFT3OBC.js.map +1 -0
  95. package/dist/chunk-BAZLOURW.js +110 -0
  96. package/dist/chunk-BAZLOURW.js.map +1 -0
  97. package/dist/chunk-BHVOOK5W.js +115 -0
  98. package/dist/chunk-BHVOOK5W.js.map +1 -0
  99. package/dist/chunk-BOQD5BQZ.js +112 -0
  100. package/dist/chunk-BOQD5BQZ.js.map +1 -0
  101. package/dist/chunk-BSTJBBEX.js +39 -0
  102. package/dist/chunk-BSTJBBEX.js.map +1 -0
  103. package/dist/chunk-BTTGAVHQ.js +115 -0
  104. package/dist/chunk-BTTGAVHQ.js.map +1 -0
  105. package/dist/chunk-CQCAE7AI.js +136 -0
  106. package/dist/chunk-CQCAE7AI.js.map +1 -0
  107. package/dist/chunk-CTZQPSJS.js +128 -0
  108. package/dist/chunk-CTZQPSJS.js.map +1 -0
  109. package/dist/chunk-D7WKYHHH.js +115 -0
  110. package/dist/chunk-D7WKYHHH.js.map +1 -0
  111. package/dist/chunk-DAEZ55AR.js +112 -0
  112. package/dist/chunk-DAEZ55AR.js.map +1 -0
  113. package/dist/chunk-DEY76FPA.js +85 -0
  114. package/dist/chunk-DEY76FPA.js.map +1 -0
  115. package/dist/chunk-DL7UX53Q.js +127 -0
  116. package/dist/chunk-DL7UX53Q.js.map +1 -0
  117. package/dist/chunk-DSEZROBT.js +112 -0
  118. package/dist/chunk-DSEZROBT.js.map +1 -0
  119. package/dist/chunk-DUTHAUB2.js +137 -0
  120. package/dist/chunk-DUTHAUB2.js.map +1 -0
  121. package/dist/chunk-DZSYRWUW.js +127 -0
  122. package/dist/chunk-DZSYRWUW.js.map +1 -0
  123. package/dist/chunk-DZSZIOEI.js +112 -0
  124. package/dist/chunk-DZSZIOEI.js.map +1 -0
  125. package/dist/chunk-EL6BPIX7.js +83 -0
  126. package/dist/chunk-EL6BPIX7.js.map +1 -0
  127. package/dist/chunk-FETMGSPF.js +84 -0
  128. package/dist/chunk-FETMGSPF.js.map +1 -0
  129. package/dist/chunk-FHYXFC2U.js +115 -0
  130. package/dist/chunk-FHYXFC2U.js.map +1 -0
  131. package/dist/chunk-FI5TJMNV.js +128 -0
  132. package/dist/chunk-FI5TJMNV.js.map +1 -0
  133. package/dist/chunk-G7FCL6ZF.js +120 -0
  134. package/dist/chunk-G7FCL6ZF.js.map +1 -0
  135. package/dist/chunk-GVMJX6Z4.js +115 -0
  136. package/dist/chunk-GVMJX6Z4.js.map +1 -0
  137. package/dist/chunk-GWHGDUKQ.js +88 -0
  138. package/dist/chunk-GWHGDUKQ.js.map +1 -0
  139. package/dist/chunk-HBUNVKOV.js +103 -0
  140. package/dist/chunk-HBUNVKOV.js.map +1 -0
  141. package/dist/chunk-HJO3Y576.js +27 -0
  142. package/dist/chunk-HJO3Y576.js.map +1 -0
  143. package/dist/chunk-HW7H5HTH.js +112 -0
  144. package/dist/chunk-HW7H5HTH.js.map +1 -0
  145. package/dist/chunk-IMMW2HK5.js +59 -0
  146. package/dist/chunk-IMMW2HK5.js.map +1 -0
  147. package/dist/chunk-IMUYV43Y.js +109 -0
  148. package/dist/chunk-IMUYV43Y.js.map +1 -0
  149. package/dist/chunk-IMWZDYN7.js +112 -0
  150. package/dist/chunk-IMWZDYN7.js.map +1 -0
  151. package/dist/chunk-IVTZHY7Z.js +58 -0
  152. package/dist/chunk-IVTZHY7Z.js.map +1 -0
  153. package/dist/chunk-J7HKGFZV.js +91 -0
  154. package/dist/chunk-J7HKGFZV.js.map +1 -0
  155. package/dist/chunk-JES76J4X.js +111 -0
  156. package/dist/chunk-JES76J4X.js.map +1 -0
  157. package/dist/chunk-JNWT5GPB.js +61 -0
  158. package/dist/chunk-JNWT5GPB.js.map +1 -0
  159. package/dist/chunk-KBBUVJZ4.js +120 -0
  160. package/dist/chunk-KBBUVJZ4.js.map +1 -0
  161. package/dist/chunk-KCZYNTRS.js +100 -0
  162. package/dist/chunk-KCZYNTRS.js.map +1 -0
  163. package/dist/chunk-KJ4EH7BR.js +59 -0
  164. package/dist/chunk-KJ4EH7BR.js.map +1 -0
  165. package/dist/chunk-KVE2W62U.js +118 -0
  166. package/dist/chunk-KVE2W62U.js.map +1 -0
  167. package/dist/chunk-KY5MG4R3.js +84 -0
  168. package/dist/chunk-KY5MG4R3.js.map +1 -0
  169. package/dist/chunk-KZHBVTOV.js +120 -0
  170. package/dist/chunk-KZHBVTOV.js.map +1 -0
  171. package/dist/chunk-LQG3AHLP.js +112 -0
  172. package/dist/chunk-LQG3AHLP.js.map +1 -0
  173. package/dist/chunk-LVH4YUST.js +26 -0
  174. package/dist/chunk-LVH4YUST.js.map +1 -0
  175. package/dist/chunk-MA63MDND.js +112 -0
  176. package/dist/chunk-MA63MDND.js.map +1 -0
  177. package/dist/chunk-MACX4CE5.js +85 -0
  178. package/dist/chunk-MACX4CE5.js.map +1 -0
  179. package/dist/chunk-N56EMPMG.js +65 -0
  180. package/dist/chunk-N56EMPMG.js.map +1 -0
  181. package/dist/chunk-NBNMTQGR.js +26 -0
  182. package/dist/chunk-NBNMTQGR.js.map +1 -0
  183. package/dist/chunk-NCAJEO7P.js +115 -0
  184. package/dist/chunk-NCAJEO7P.js.map +1 -0
  185. package/dist/chunk-NCBCBTAQ.js +103 -0
  186. package/dist/chunk-NCBCBTAQ.js.map +1 -0
  187. package/dist/chunk-NDUKDKGB.js +39 -0
  188. package/dist/chunk-NDUKDKGB.js.map +1 -0
  189. package/dist/chunk-NGN57V7B.js +59 -0
  190. package/dist/chunk-NGN57V7B.js.map +1 -0
  191. package/dist/chunk-NRYELQXA.js +28 -0
  192. package/dist/chunk-NRYELQXA.js.map +1 -0
  193. package/dist/chunk-OB733UDT.js +127 -0
  194. package/dist/chunk-OB733UDT.js.map +1 -0
  195. package/dist/chunk-OCJNQGHN.js +26 -0
  196. package/dist/chunk-OCJNQGHN.js.map +1 -0
  197. package/dist/chunk-OEFGW5WQ.js +59 -0
  198. package/dist/chunk-OEFGW5WQ.js.map +1 -0
  199. package/dist/chunk-OJJGHURF.js +128 -0
  200. package/dist/chunk-OJJGHURF.js.map +1 -0
  201. package/dist/chunk-OR3SYACX.js +110 -0
  202. package/dist/chunk-OR3SYACX.js.map +1 -0
  203. package/dist/chunk-P27SSXGW.js +112 -0
  204. package/dist/chunk-P27SSXGW.js.map +1 -0
  205. package/dist/chunk-P3MNKH2Y.js +112 -0
  206. package/dist/chunk-P3MNKH2Y.js.map +1 -0
  207. package/dist/chunk-PBBRRA3D.js +85 -0
  208. package/dist/chunk-PBBRRA3D.js.map +1 -0
  209. package/dist/chunk-PMZJHV3B.js +110 -0
  210. package/dist/chunk-PMZJHV3B.js.map +1 -0
  211. package/dist/chunk-Q2BTVVTT.js +28 -0
  212. package/dist/chunk-Q2BTVVTT.js.map +1 -0
  213. package/dist/chunk-Q4NXIDU4.js +103 -0
  214. package/dist/chunk-Q4NXIDU4.js.map +1 -0
  215. package/dist/chunk-QAZKFB75.js +115 -0
  216. package/dist/chunk-QAZKFB75.js.map +1 -0
  217. package/dist/chunk-QC2CBBOL.js +115 -0
  218. package/dist/chunk-QC2CBBOL.js.map +1 -0
  219. package/dist/chunk-QOAOZNA3.js +115 -0
  220. package/dist/chunk-QOAOZNA3.js.map +1 -0
  221. package/dist/chunk-QPGMVI4F.js +129 -0
  222. package/dist/chunk-QPGMVI4F.js.map +1 -0
  223. package/dist/chunk-QUO6QC3J.js +115 -0
  224. package/dist/chunk-QUO6QC3J.js.map +1 -0
  225. package/dist/chunk-QXIGN7NS.js +57 -0
  226. package/dist/chunk-QXIGN7NS.js.map +1 -0
  227. package/dist/chunk-RAB36GRV.js +10 -0
  228. package/dist/chunk-RAB36GRV.js.map +1 -0
  229. package/dist/chunk-RRB3MNEK.js +128 -0
  230. package/dist/chunk-RRB3MNEK.js.map +1 -0
  231. package/dist/chunk-RYKW6VGO.js +115 -0
  232. package/dist/chunk-RYKW6VGO.js.map +1 -0
  233. package/dist/chunk-RZAV5DII.js +92 -0
  234. package/dist/chunk-RZAV5DII.js.map +1 -0
  235. package/dist/chunk-SIP42ITB.js +112 -0
  236. package/dist/chunk-SIP42ITB.js.map +1 -0
  237. package/dist/chunk-SPW2TQ6V.js +128 -0
  238. package/dist/chunk-SPW2TQ6V.js.map +1 -0
  239. package/dist/chunk-TDLEISIH.js +26 -0
  240. package/dist/chunk-TDLEISIH.js.map +1 -0
  241. package/dist/chunk-TFHM4UV3.js +128 -0
  242. package/dist/chunk-TFHM4UV3.js.map +1 -0
  243. package/dist/chunk-TYEPY57X.js +58 -0
  244. package/dist/chunk-TYEPY57X.js.map +1 -0
  245. package/dist/chunk-U2GQWNTX.js +102 -0
  246. package/dist/chunk-U2GQWNTX.js.map +1 -0
  247. package/dist/chunk-UNIVE56Y.js +58 -0
  248. package/dist/chunk-UNIVE56Y.js.map +1 -0
  249. package/dist/chunk-V3FONR6W.js +137 -0
  250. package/dist/chunk-V3FONR6W.js.map +1 -0
  251. package/dist/chunk-VA2MV5R5.js +62 -0
  252. package/dist/chunk-VA2MV5R5.js.map +1 -0
  253. package/dist/chunk-VBEZ4YQV.js +59 -0
  254. package/dist/chunk-VBEZ4YQV.js.map +1 -0
  255. package/dist/chunk-VBUUDBRU.js +112 -0
  256. package/dist/chunk-VBUUDBRU.js.map +1 -0
  257. package/dist/chunk-VEASW5N2.js +37 -0
  258. package/dist/chunk-VEASW5N2.js.map +1 -0
  259. package/dist/chunk-VMGLGDMN.js +109 -0
  260. package/dist/chunk-VMGLGDMN.js.map +1 -0
  261. package/dist/chunk-VR4ZX524.js +115 -0
  262. package/dist/chunk-VR4ZX524.js.map +1 -0
  263. package/dist/chunk-W4OUB7S7.js +25 -0
  264. package/dist/chunk-W4OUB7S7.js.map +1 -0
  265. package/dist/chunk-WEHYVZVA.js +128 -0
  266. package/dist/chunk-WEHYVZVA.js.map +1 -0
  267. package/dist/chunk-WN3DQQSJ.js +1 -0
  268. package/dist/chunk-WN3DQQSJ.js.map +1 -0
  269. package/dist/chunk-WNEHE5M4.js +152 -0
  270. package/dist/chunk-WNEHE5M4.js.map +1 -0
  271. package/dist/chunk-WOD22USJ.js +59 -0
  272. package/dist/chunk-WOD22USJ.js.map +1 -0
  273. package/dist/chunk-WSRJG33Z.js +109 -0
  274. package/dist/chunk-WSRJG33Z.js.map +1 -0
  275. package/dist/chunk-WWCWPFEJ.js +1 -0
  276. package/dist/chunk-WWCWPFEJ.js.map +1 -0
  277. package/dist/chunk-XSHODZPC.js +100 -0
  278. package/dist/chunk-XSHODZPC.js.map +1 -0
  279. package/dist/chunk-XX4MMXEU.js +102 -0
  280. package/dist/chunk-XX4MMXEU.js.map +1 -0
  281. package/dist/chunk-XYP34NO7.js +112 -0
  282. package/dist/chunk-XYP34NO7.js.map +1 -0
  283. package/dist/chunk-YCTIDPGT.js +84 -0
  284. package/dist/chunk-YCTIDPGT.js.map +1 -0
  285. package/dist/chunk-YILNYNQI.js +88 -0
  286. package/dist/chunk-YILNYNQI.js.map +1 -0
  287. package/dist/chunk-YLN2MLII.js +83 -0
  288. package/dist/chunk-YLN2MLII.js.map +1 -0
  289. package/dist/chunk-YR6DWD7J.js +88 -0
  290. package/dist/chunk-YR6DWD7J.js.map +1 -0
  291. package/dist/chunk-YXWQDUS3.js +58 -0
  292. package/dist/chunk-YXWQDUS3.js.map +1 -0
  293. package/dist/chunk-Z2QG4JZT.js +84 -0
  294. package/dist/chunk-Z2QG4JZT.js.map +1 -0
  295. package/dist/chunk-ZE5G2S34.js +65 -0
  296. package/dist/chunk-ZE5G2S34.js.map +1 -0
  297. package/dist/chunk-ZEE3JSQX.js +115 -0
  298. package/dist/chunk-ZEE3JSQX.js.map +1 -0
  299. package/dist/chunk-ZPRQAFMU.js +100 -0
  300. package/dist/chunk-ZPRQAFMU.js.map +1 -0
  301. package/dist/chunk-ZSGVUIMS.js +112 -0
  302. package/dist/chunk-ZSGVUIMS.js.map +1 -0
  303. package/dist/chunk-ZSKEEFOJ.js +115 -0
  304. package/dist/chunk-ZSKEEFOJ.js.map +1 -0
  305. package/dist/chunk-ZUD2IRNN.js +84 -0
  306. package/dist/chunk-ZUD2IRNN.js.map +1 -0
  307. package/dist/icon.cjs +2 -0
  308. package/dist/icon.cjs.map +1 -1
  309. package/dist/icon.d.cts +1 -1
  310. package/dist/icon.d.ts +1 -1
  311. package/dist/icon.js +3 -1
  312. package/dist/icons/down.cjs +96 -0
  313. package/dist/icons/down.cjs.map +1 -0
  314. package/dist/icons/down.d.cts +6 -0
  315. package/dist/icons/down.d.ts +6 -0
  316. package/dist/icons/down.js +8 -0
  317. package/dist/icons/down.js.map +1 -0
  318. package/dist/icons/types.cjs +19 -0
  319. package/dist/icons/types.cjs.map +1 -0
  320. package/dist/icons/types.d.cts +6 -0
  321. package/dist/icons/types.d.ts +6 -0
  322. package/dist/icons/types.js +1 -0
  323. package/dist/icons/types.js.map +1 -0
  324. package/dist/icons/up.cjs +96 -0
  325. package/dist/icons/up.cjs.map +1 -0
  326. package/dist/icons/up.d.cts +6 -0
  327. package/dist/icons/up.d.ts +6 -0
  328. package/dist/icons/up.js +8 -0
  329. package/dist/icons/up.js.map +1 -0
  330. package/dist/index.cjs +232 -2
  331. package/dist/index.cjs.map +1 -1
  332. package/dist/index.css +60 -0
  333. package/dist/index.d.cts +5 -1
  334. package/dist/index.d.ts +5 -1
  335. package/dist/index.js +43 -26
  336. package/dist/molecules/expand-table/index.cjs +588 -0
  337. package/dist/molecules/expand-table/index.cjs.map +1 -0
  338. package/dist/molecules/expand-table/index.d.cts +21 -0
  339. package/dist/molecules/expand-table/index.d.ts +21 -0
  340. package/dist/molecules/expand-table/index.js +62 -0
  341. package/dist/molecules/expand-table/index.js.map +1 -0
  342. package/dist/molecules/expand-table/react-table.d.cjs +5 -0
  343. package/dist/molecules/expand-table/react-table.d.cjs.map +1 -0
  344. package/dist/molecules/expand-table/react-table.d.d.cts +16 -0
  345. package/dist/molecules/expand-table/react-table.d.d.ts +16 -0
  346. package/dist/molecules/expand-table/react-table.d.js +3 -0
  347. package/dist/molecules/expand-table/react-table.d.js.map +1 -0
  348. package/dist/molecules/expand-table/row.cjs +427 -0
  349. package/dist/molecules/expand-table/row.cjs.map +1 -0
  350. package/dist/molecules/expand-table/row.d.cts +15 -0
  351. package/dist/molecules/expand-table/row.d.ts +15 -0
  352. package/dist/molecules/expand-table/row.js +57 -0
  353. package/dist/molecules/expand-table/row.js.map +1 -0
  354. package/dist/molecules/expand-table.cjs +558 -0
  355. package/dist/molecules/expand-table.cjs.map +1 -0
  356. package/dist/molecules/expand-table.d.cts +23 -0
  357. package/dist/molecules/expand-table.d.ts +23 -0
  358. package/dist/molecules/expand-table.js +59 -0
  359. package/dist/molecules/expand-table.js.map +1 -0
  360. package/dist/molecules/index.cjs +590 -0
  361. package/dist/molecules/index.cjs.map +1 -0
  362. package/dist/molecules/index.d.cts +4 -0
  363. package/dist/molecules/index.d.ts +4 -0
  364. package/dist/molecules/index.js +63 -0
  365. package/dist/molecules/index.js.map +1 -0
  366. package/dist/types/react-table.d.cjs +5 -0
  367. package/dist/types/react-table.d.cjs.map +1 -0
  368. package/dist/types/react-table.d.d.cts +17 -0
  369. package/dist/types/react-table.d.d.ts +17 -0
  370. package/dist/types/react-table.d.js +3 -0
  371. package/dist/types/react-table.d.js.map +1 -0
  372. package/package.json +9 -7
  373. package/src/atoms/collapse.tsx +32 -0
  374. package/src/atoms/index.ts +48 -0
  375. package/src/icon.ts +1 -0
  376. package/src/icons/down.tsx +25 -0
  377. package/src/icons/types.ts +4 -0
  378. package/src/icons/up.tsx +25 -0
  379. package/src/index.ts +3 -49
  380. package/src/molecules/expand-table/index.tsx +131 -0
  381. package/src/molecules/expand-table/row.tsx +67 -0
  382. package/src/molecules/index.ts +1 -0
  383. package/src/types/react-table.d.ts +19 -0
@@ -0,0 +1,15 @@
1
+ import { Row as Row$1, RowData } from '@tanstack/react-table';
2
+ import React__default from 'react';
3
+
4
+ type ExpandComp<Datum> = React__default.FC<{
5
+ row: Row$1<Datum>;
6
+ }>;
7
+ type OnRowClick<Datum> = (data: Datum) => void;
8
+ interface RowProps<Datum extends RowData> {
9
+ row: Row$1<Datum>;
10
+ ExpandComp?: ExpandComp<Datum>;
11
+ onRowClick?: OnRowClick<Datum>;
12
+ }
13
+ declare function Row<Datum extends RowData>(props: RowProps<Datum>): React__default.ReactNode;
14
+
15
+ export { type ExpandComp, type OnRowClick, Row };
@@ -0,0 +1,57 @@
1
+ import {
2
+ Row
3
+ } from "../../chunk-ZE5G2S34.js";
4
+ import "../../chunk-WN3DQQSJ.js";
5
+ import "../../chunk-IIBITN2G.js";
6
+ import "../../chunk-JPIZP2PZ.js";
7
+ import "../../chunk-XJJDE4YP.js";
8
+ import "../../chunk-ACVANQJ4.js";
9
+ import "../../chunk-355MU6BH.js";
10
+ import "../../chunk-HYITAA4J.js";
11
+ import "../../chunk-5H3YPCZK.js";
12
+ import "../../chunk-74DX4CU7.js";
13
+ import "../../chunk-OYM4XCHQ.js";
14
+ import "../../chunk-YJ7ZFOYL.js";
15
+ import "../../chunk-5ZITU5L7.js";
16
+ import "../../chunk-ILRUXI2E.js";
17
+ import "../../chunk-365QMK4D.js";
18
+ import "../../chunk-YO3BQW6S.js";
19
+ import "../../chunk-6IVCARWS.js";
20
+ import "../../chunk-6DJOIRMF.js";
21
+ import "../../chunk-FPD73OHW.js";
22
+ import "../../chunk-ZKZDVS7G.js";
23
+ import "../../chunk-MUNMDHRF.js";
24
+ import "../../chunk-TVDKGMBI.js";
25
+ import "../../chunk-HLOY6BIP.js";
26
+ import "../../chunk-O3T3TM3V.js";
27
+ import "../../chunk-O3DNDMV3.js";
28
+ import "../../chunk-XQOL7UBI.js";
29
+ import "../../chunk-TULWX7D6.js";
30
+ import "../../chunk-XQOZWYUA.js";
31
+ import "../../chunk-5AVBYDPB.js";
32
+ import "../../chunk-OCJNQGHN.js";
33
+ import "../../chunk-Q37G2GS6.js";
34
+ import "../../chunk-VTJZMOSP.js";
35
+ import "../../chunk-P6B2PNYI.js";
36
+ import "../../chunk-YTZSKMX3.js";
37
+ import "../../chunk-2DZ2Y3JI.js";
38
+ import "../../chunk-25HMMI7R.js";
39
+ import "../../chunk-EGEQY3KT.js";
40
+ import "../../chunk-4Y5BEXVN.js";
41
+ import "../../chunk-RET725VL.js";
42
+ import "../../chunk-B6XJN6EC.js";
43
+ import "../../chunk-FYEASFUU.js";
44
+ import "../../chunk-MIMJ7LON.js";
45
+ import "../../chunk-IQEEPHOY.js";
46
+ import "../../chunk-JEHDCZQU.js";
47
+ import "../../chunk-OHMOP5PV.js";
48
+ import "../../chunk-J242TTFH.js";
49
+ import "../../chunk-EAXUQEO5.js";
50
+ import "../../chunk-CZEGRZBK.js";
51
+ import "../../chunk-ALOPZ54P.js";
52
+ import "../../chunk-YGL6SWKN.js";
53
+ import "../../chunk-N552FDTV.js";
54
+ export {
55
+ Row
56
+ };
57
+ //# sourceMappingURL=row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,558 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // src/molecules/expand-table.tsx
60
+ var expand_table_exports = {};
61
+ __export(expand_table_exports, {
62
+ ExpandTable: () => ExpandTable
63
+ });
64
+ module.exports = __toCommonJS(expand_table_exports);
65
+ var import_react_table = require("@tanstack/react-table");
66
+ var import_react11 = require("react");
67
+
68
+ // src/atoms/alert-dialog.tsx
69
+ var import_themes = require("@radix-ui/themes");
70
+
71
+ // src/atoms/aspect-ratio.tsx
72
+ var import_themes2 = require("@radix-ui/themes");
73
+
74
+ // src/atoms/avatar.tsx
75
+ var import_themes3 = require("@radix-ui/themes");
76
+ var import_react = require("react");
77
+ var import_jsx_runtime = require("react/jsx-runtime");
78
+ var Avatar = (0, import_react.forwardRef)(
79
+ (props, ref) => {
80
+ const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
81
+ const radixSize = (0, import_react.useMemo)(() => {
82
+ switch (size) {
83
+ case "small":
84
+ return "1";
85
+ case "medium":
86
+ return "2";
87
+ case "large":
88
+ return "3";
89
+ case "full":
90
+ return "4";
91
+ default:
92
+ return size;
93
+ }
94
+ }, [size]);
95
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
96
+ }
97
+ );
98
+ Avatar.displayName = "Avatar";
99
+
100
+ // src/atoms/badge.tsx
101
+ var import_themes4 = require("@radix-ui/themes");
102
+ var import_react2 = require("react");
103
+ var import_jsx_runtime2 = require("react/jsx-runtime");
104
+ var Badge = (0, import_react2.forwardRef)(
105
+ (props, ref) => {
106
+ const _a = props, { size, color } = _a, rest = __objRest(_a, ["size", "color"]);
107
+ const radixSize = (0, import_react2.useMemo)(() => {
108
+ switch (size) {
109
+ case "small":
110
+ return "1";
111
+ case "large":
112
+ return "3";
113
+ default:
114
+ return "1";
115
+ }
116
+ }, [size]);
117
+ const radixColor = (0, import_react2.useMemo)(() => {
118
+ switch (color) {
119
+ case "error":
120
+ return "red";
121
+ case "neutral":
122
+ return "gray";
123
+ case "success":
124
+ return "green";
125
+ case "accent":
126
+ default:
127
+ return void 0;
128
+ }
129
+ }, [color]);
130
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes4.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
131
+ }
132
+ );
133
+ Badge.displayName = "Badge";
134
+
135
+ // src/atoms/blockquote.tsx
136
+ var import_themes5 = require("@radix-ui/themes");
137
+
138
+ // src/atoms/box.tsx
139
+ var import_themes6 = require("@radix-ui/themes");
140
+
141
+ // src/atoms/button.tsx
142
+ var import_themes7 = require("@radix-ui/themes");
143
+ var import_react3 = require("react");
144
+ var import_jsx_runtime3 = require("react/jsx-runtime");
145
+ var Button = (0, import_react3.forwardRef)(
146
+ (props, ref) => {
147
+ const _a = props, { size } = _a, restProps = __objRest(_a, ["size"]);
148
+ const radixSize = (0, import_react3.useMemo)(() => {
149
+ switch (size) {
150
+ case "small":
151
+ return "2";
152
+ case "medium":
153
+ return "3";
154
+ case "large":
155
+ return "4";
156
+ default:
157
+ return "3";
158
+ }
159
+ }, [size]);
160
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes7.Button, __spreadProps(__spreadValues({}, restProps), { ref, size: radixSize }));
161
+ }
162
+ );
163
+ Button.displayName = "Button";
164
+
165
+ // src/atoms/call-out.tsx
166
+ var import_themes8 = require("@radix-ui/themes");
167
+
168
+ // src/atoms/card.tsx
169
+ var import_themes9 = require("@radix-ui/themes");
170
+
171
+ // src/atoms/check-box.tsx
172
+ var import_themes10 = require("@radix-ui/themes");
173
+ var import_react4 = require("react");
174
+ var import_jsx_runtime4 = require("react/jsx-runtime");
175
+ var Checkbox = (0, import_react4.forwardRef)(
176
+ (props, ref) => {
177
+ const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
178
+ const radixSize = (0, import_react4.useMemo)(() => {
179
+ switch (size) {
180
+ case "small":
181
+ return "1";
182
+ case "medium":
183
+ return "2";
184
+ case "large":
185
+ return "3";
186
+ }
187
+ }, [size]);
188
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes10.Checkbox, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize }));
189
+ }
190
+ );
191
+ Checkbox.displayName = "Checkbox";
192
+
193
+ // src/atoms/check-box-card.tsx
194
+ var import_themes11 = require("@radix-ui/themes");
195
+
196
+ // src/atoms/check-box-group.tsx
197
+ var import_themes12 = require("@radix-ui/themes");
198
+ var import_react5 = require("react");
199
+ var import_jsx_runtime5 = require("react/jsx-runtime");
200
+ var Root = (0, import_react5.forwardRef)((props, ref) => {
201
+ const _a = props, { children, size } = _a, rest = __objRest(_a, ["children", "size"]);
202
+ const groupSize = (0, import_react5.useMemo)(() => {
203
+ switch (size) {
204
+ case "small":
205
+ return "1";
206
+ case "large":
207
+ return "3";
208
+ case "medium":
209
+ default:
210
+ return "2";
211
+ }
212
+ }, [size]);
213
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes12.CheckboxGroup.Root, __spreadProps(__spreadValues({}, rest), { ref, size: groupSize, children }));
214
+ });
215
+ Root.displayName = "CheckboxGroup.Root";
216
+ var CheckboxGroup = {
217
+ Root,
218
+ Item: import_themes12.CheckboxGroup.Item
219
+ };
220
+
221
+ // src/atoms/code.tsx
222
+ var import_themes13 = require("@radix-ui/themes");
223
+
224
+ // src/atoms/container.tsx
225
+ var import_themes14 = require("@radix-ui/themes");
226
+
227
+ // src/atoms/data-list.tsx
228
+ var import_themes15 = require("@radix-ui/themes");
229
+
230
+ // src/atoms/date-picker/index.tsx
231
+ var import_react6 = require("react");
232
+ var import_react_datepicker = __toESM(require("react-datepicker"), 1);
233
+ var import_jsx_runtime6 = require("react/jsx-runtime");
234
+ var DatePicker = (0, import_react6.forwardRef)(
235
+ (props, ref) => {
236
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
237
+ import_react_datepicker.default,
238
+ __spreadProps(__spreadValues({}, props), {
239
+ open: true,
240
+ ref,
241
+ wrapperClassName: "tipp_datePicker"
242
+ })
243
+ );
244
+ }
245
+ );
246
+ DatePicker.displayName = "DatePicker";
247
+
248
+ // src/atoms/dialog.tsx
249
+ var import_themes16 = require("@radix-ui/themes");
250
+
251
+ // src/atoms/dropdown-menu.tsx
252
+ var import_themes17 = require("@radix-ui/themes");
253
+
254
+ // src/atoms/em.tsx
255
+ var import_themes18 = require("@radix-ui/themes");
256
+
257
+ // src/atoms/flex.tsx
258
+ var import_themes19 = require("@radix-ui/themes");
259
+
260
+ // src/atoms/grid.tsx
261
+ var import_themes20 = require("@radix-ui/themes");
262
+
263
+ // src/atoms/heading.tsx
264
+ var import_themes21 = require("@radix-ui/themes");
265
+ var import_react7 = require("react");
266
+ var import_themes22 = require("@radix-ui/themes");
267
+ var import_jsx_runtime7 = require("react/jsx-runtime");
268
+
269
+ // src/atoms/hover-card.tsx
270
+ var import_themes23 = require("@radix-ui/themes");
271
+
272
+ // src/atoms/icon-button.tsx
273
+ var import_themes24 = require("@radix-ui/themes");
274
+
275
+ // src/atoms/inset.tsx
276
+ var import_themes25 = require("@radix-ui/themes");
277
+
278
+ // src/atoms/kbd.tsx
279
+ var import_themes26 = require("@radix-ui/themes");
280
+
281
+ // src/atoms/link.tsx
282
+ var import_themes27 = require("@radix-ui/themes");
283
+ var import_react8 = require("react");
284
+ var import_themes28 = require("@radix-ui/themes");
285
+ var import_jsx_runtime8 = require("react/jsx-runtime");
286
+
287
+ // src/atoms/popover.tsx
288
+ var import_themes29 = require("@radix-ui/themes");
289
+
290
+ // src/atoms/progress.tsx
291
+ var import_themes30 = require("@radix-ui/themes");
292
+
293
+ // src/atoms/quote.tsx
294
+ var import_themes31 = require("@radix-ui/themes");
295
+
296
+ // src/atoms/radio.tsx
297
+ var import_themes32 = require("@radix-ui/themes");
298
+
299
+ // src/atoms/radio-cards.tsx
300
+ var import_themes33 = require("@radix-ui/themes");
301
+
302
+ // src/atoms/radio-group.tsx
303
+ var import_themes34 = require("@radix-ui/themes");
304
+
305
+ // src/atoms/scroll-area.tsx
306
+ var import_themes35 = require("@radix-ui/themes");
307
+
308
+ // src/atoms/section.tsx
309
+ var import_themes36 = require("@radix-ui/themes");
310
+
311
+ // src/atoms/segmented-control.tsx
312
+ var import_themes37 = require("@radix-ui/themes");
313
+
314
+ // src/atoms/select.tsx
315
+ var import_themes38 = require("@radix-ui/themes");
316
+
317
+ // src/atoms/separator.tsx
318
+ var import_themes39 = require("@radix-ui/themes");
319
+
320
+ // src/atoms/skeleton.tsx
321
+ var import_themes40 = require("@radix-ui/themes");
322
+
323
+ // src/atoms/strong.tsx
324
+ var import_themes41 = require("@radix-ui/themes");
325
+
326
+ // src/atoms/switch.tsx
327
+ var import_themes42 = require("@radix-ui/themes");
328
+
329
+ // src/atoms/tab-nav.tsx
330
+ var import_themes43 = require("@radix-ui/themes");
331
+
332
+ // src/atoms/tabs.tsx
333
+ var import_themes44 = require("@radix-ui/themes");
334
+
335
+ // src/atoms/text-area.tsx
336
+ var import_themes45 = require("@radix-ui/themes");
337
+
338
+ // src/atoms/text.tsx
339
+ var import_themes46 = require("@radix-ui/themes");
340
+ var import_react9 = require("react");
341
+ var import_jsx_runtime9 = require("react/jsx-runtime");
342
+ function Text(props) {
343
+ const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
344
+ const radixSize = (0, import_react9.useMemo)(() => {
345
+ switch (variant) {
346
+ case "caption":
347
+ return "1";
348
+ case "subtitle":
349
+ return "3";
350
+ case "body":
351
+ return "2";
352
+ default:
353
+ return size;
354
+ }
355
+ }, [size, variant]);
356
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
357
+ }
358
+
359
+ // src/atoms/text-field.tsx
360
+ var import_themes47 = require("@radix-ui/themes");
361
+
362
+ // src/atoms/tooltip.tsx
363
+ var import_themes48 = require("@radix-ui/themes");
364
+
365
+ // src/atoms/collapse.tsx
366
+ var import_react10 = require("react");
367
+ var import_jsx_runtime10 = require("react/jsx-runtime");
368
+ function Collapse(props) {
369
+ const { children } = props;
370
+ const [open, setOpen] = (0, import_react10.useState)(() => {
371
+ return props.open || props.defaultOpen || false;
372
+ });
373
+ (0, import_react10.useEffect)(() => {
374
+ if (props.open === void 0)
375
+ return;
376
+ setOpen(props.open);
377
+ }, [props.open]);
378
+ const ref = (0, import_react10.useRef)(null);
379
+ (0, import_react10.useEffect)(() => {
380
+ if (!ref.current)
381
+ return;
382
+ ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : "0";
383
+ }, [open]);
384
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "collapse", ref, children });
385
+ }
386
+
387
+ // src/icons/down.tsx
388
+ var React6 = __toESM(require("react"), 1);
389
+ var import_jsx_runtime11 = require("react/jsx-runtime");
390
+ var TriangleArrowDownIcon = React6.forwardRef(
391
+ (_a, forwardedRef) => {
392
+ var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
393
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
394
+ "svg",
395
+ __spreadProps(__spreadValues({
396
+ fill: "none",
397
+ height: "7",
398
+ viewBox: "0 0 8 7",
399
+ width: "8",
400
+ xmlns: "http://www.w3.org/2000/svg"
401
+ }, props), {
402
+ ref: forwardedRef,
403
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
404
+ "path",
405
+ {
406
+ d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
407
+ fill: color
408
+ }
409
+ )
410
+ })
411
+ );
412
+ }
413
+ );
414
+ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
415
+
416
+ // src/icons/up.tsx
417
+ var React7 = __toESM(require("react"), 1);
418
+ var import_jsx_runtime12 = require("react/jsx-runtime");
419
+ var TriangleArrowUpIcon = React7.forwardRef(
420
+ (_a, forwardedRef) => {
421
+ var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
422
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
423
+ "svg",
424
+ __spreadProps(__spreadValues({
425
+ fill: "none",
426
+ height: "7",
427
+ viewBox: "0 0 8 7",
428
+ width: "8",
429
+ xmlns: "http://www.w3.org/2000/svg"
430
+ }, props), {
431
+ ref: forwardedRef,
432
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
433
+ "path",
434
+ {
435
+ d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
436
+ fill: color
437
+ }
438
+ )
439
+ })
440
+ );
441
+ }
442
+ );
443
+ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
444
+
445
+ // src/molecules/expand-table.tsx
446
+ var import_jsx_runtime13 = require("react/jsx-runtime");
447
+ function ExpandTable(props) {
448
+ const { data, columns, ExpandComp, placeholder, onRowClick } = props;
449
+ const [sorting, setSorting] = (0, import_react11.useState)([]);
450
+ const { getRowModel, getHeaderGroups } = (0, import_react_table.useReactTable)({
451
+ data: data || [],
452
+ columns,
453
+ getCoreRowModel: (0, import_react_table.getCoreRowModel)(),
454
+ getSortedRowModel: (0, import_react_table.getSortedRowModel)(),
455
+ state: {
456
+ sorting
457
+ },
458
+ onSortingChange: setSorting
459
+ });
460
+ const rowModels = getRowModel();
461
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "expand-table", children: [
462
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "tr", children: headerGroup.headers.map((header) => {
463
+ const sortable = header.column.getCanSort();
464
+ const sortedState = header.column.getIsSorted();
465
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
466
+ "div",
467
+ {
468
+ className: "th",
469
+ style: {
470
+ width: header.getSize()
471
+ },
472
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
473
+ "button",
474
+ {
475
+ onClick: header.column.getToggleSortingHandler(),
476
+ style: sortable ? { cursor: "pointer" } : void 0,
477
+ type: "button",
478
+ children: [
479
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { variant: "body", children: (0, import_react_table.flexRender)(
480
+ header.column.columnDef.header,
481
+ header.getContext()
482
+ ) }),
483
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
484
+ import_themes19.Flex,
485
+ {
486
+ direction: "column",
487
+ style: { marginLeft: "var(--space-2)" },
488
+ children: [
489
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
490
+ TriangleArrowUpIcon,
491
+ {
492
+ color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
493
+ }
494
+ ),
495
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
496
+ TriangleArrowDownIcon,
497
+ {
498
+ color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
499
+ }
500
+ )
501
+ ]
502
+ }
503
+ ) : null
504
+ ]
505
+ }
506
+ )
507
+ },
508
+ header.id
509
+ );
510
+ }) }, headerGroup.id)) }),
511
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "tbody", children: [
512
+ rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
513
+ rowModels.rows.map((row) => {
514
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
515
+ TanstackRow,
516
+ {
517
+ ExpandComp,
518
+ onRowClick,
519
+ row
520
+ },
521
+ `row_${row.id}`
522
+ );
523
+ })
524
+ ] })
525
+ ] });
526
+ }
527
+ function TanstackRow(props) {
528
+ const { row, ExpandComp, onRowClick } = props;
529
+ const [open, setOpen] = (0, import_react11.useState)(false);
530
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "tr-wrapper", children: [
531
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
532
+ "button",
533
+ {
534
+ className: "tr",
535
+ onClick: onRowClick,
536
+ type: "button",
537
+ children: row.getVisibleCells().map((cell) => {
538
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
539
+ "div",
540
+ {
541
+ className: "td",
542
+ style: { width: cell.column.getSize() },
543
+ children: (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext())
544
+ },
545
+ cell.id
546
+ );
547
+ })
548
+ },
549
+ `tr_${row.id}`
550
+ ),
551
+ ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ExpandComp, { row }) }) : null
552
+ ] }, `tr-wrapper_${row.id}`);
553
+ }
554
+ // Annotate the CommonJS export names for ESM import in node:
555
+ 0 && (module.exports = {
556
+ ExpandTable
557
+ });
558
+ //# sourceMappingURL=expand-table.cjs.map