@pathscale/ui 0.0.12 → 0.0.14

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 (341) hide show
  1. package/README.md +44 -39
  2. package/dist/components/accordion/index.html +7 -0
  3. package/dist/components/accordion/index.html.br +2 -0
  4. package/dist/components/accordion/index.js +7690 -1
  5. package/dist/components/accordion/index.js.br +0 -0
  6. package/dist/components/alert/index.html +7 -0
  7. package/dist/components/alert/index.html.br +0 -0
  8. package/dist/components/alert/index.js +7426 -0
  9. package/dist/components/alert/index.js.br +0 -0
  10. package/dist/components/autocomplete/index.html +7 -0
  11. package/dist/components/autocomplete/index.html.br +1 -0
  12. package/dist/components/autocomplete/index.js +5438 -1
  13. package/dist/components/autocomplete/index.js.br +0 -0
  14. package/dist/components/avatar/index.html +7 -0
  15. package/dist/components/avatar/index.html.br +0 -0
  16. package/dist/components/avatar/index.js +8795 -1
  17. package/dist/components/avatar/index.js.br +0 -0
  18. package/dist/components/badge/index.html +7 -0
  19. package/dist/components/badge/index.html.br +1 -0
  20. package/dist/components/badge/index.js +7435 -1
  21. package/dist/components/badge/index.js.br +0 -0
  22. package/dist/components/breadcrumbs/index.html +7 -0
  23. package/dist/components/breadcrumbs/index.html.br +0 -0
  24. package/dist/components/breadcrumbs/index.js +7434 -1
  25. package/dist/components/breadcrumbs/index.js.br +0 -0
  26. package/dist/components/button/index.html +7 -0
  27. package/dist/components/button/index.html.br +0 -0
  28. package/dist/components/button/index.js +8771 -1
  29. package/dist/components/button/index.js.br +0 -0
  30. package/dist/components/card/index.html +7 -0
  31. package/dist/components/card/index.html.br +2 -0
  32. package/dist/components/card/index.js +7536 -0
  33. package/dist/components/card/index.js.br +0 -0
  34. package/dist/components/chatbubble/index.html +7 -0
  35. package/dist/components/chatbubble/index.html.br +0 -0
  36. package/dist/components/chatbubble/index.js +8991 -0
  37. package/dist/components/chatbubble/index.js.br +0 -0
  38. package/dist/components/checkbox/index.html +7 -0
  39. package/dist/components/checkbox/index.html.br +0 -0
  40. package/dist/components/checkbox/index.js +7436 -1
  41. package/dist/components/checkbox/index.js.br +0 -0
  42. package/dist/components/collapse/index.html +7 -0
  43. package/dist/components/collapse/index.html.br +0 -0
  44. package/dist/components/collapse/index.js +7621 -1
  45. package/dist/components/collapse/index.js.br +0 -0
  46. package/dist/components/countdown/index.html +7 -0
  47. package/dist/components/countdown/index.html.br +0 -0
  48. package/dist/components/countdown/index.js +7378 -0
  49. package/dist/components/countdown/index.js.br +0 -0
  50. package/dist/components/diff/index.html +7 -0
  51. package/dist/components/diff/index.html.br +0 -0
  52. package/dist/components/diff/index.js +7408 -0
  53. package/dist/components/diff/index.js.br +0 -0
  54. package/dist/components/divider/index.html +7 -0
  55. package/dist/components/divider/index.html.br +0 -0
  56. package/dist/components/divider/index.js +9852 -0
  57. package/dist/components/divider/index.js.br +0 -0
  58. package/dist/components/dock/index.html +7 -0
  59. package/dist/components/dock/index.html.br +0 -0
  60. package/dist/components/dock/index.js +7503 -0
  61. package/dist/components/dock/index.js.br +0 -0
  62. package/dist/components/dropdown/index.html +7 -0
  63. package/dist/components/dropdown/index.html.br +0 -0
  64. package/dist/components/dropdown/index.js +9073 -1
  65. package/dist/components/dropdown/index.js.br +0 -0
  66. package/dist/components/field/index.html +7 -0
  67. package/dist/components/field/index.html.br +2 -0
  68. package/dist/components/field/index.js +5356 -1
  69. package/dist/components/field/index.js.br +0 -0
  70. package/dist/components/fileinput/index.html +7 -0
  71. package/dist/components/fileinput/index.html.br +2 -0
  72. package/dist/components/fileinput/index.js +7431 -1
  73. package/dist/components/fileinput/index.js.br +0 -0
  74. package/dist/components/indicator/index.html +7 -0
  75. package/dist/components/indicator/index.html.br +2 -0
  76. package/dist/components/indicator/index.js +9219 -0
  77. package/dist/components/indicator/index.js.br +0 -0
  78. package/dist/components/input/index.html +7 -0
  79. package/dist/components/input/index.html.br +2 -0
  80. package/dist/components/input/index.js +7425 -1
  81. package/dist/components/input/index.js.br +0 -0
  82. package/dist/components/join/index.html +7 -0
  83. package/dist/components/join/index.html.br +2 -0
  84. package/dist/components/join/index.js +7418 -1
  85. package/dist/components/join/index.js.br +0 -0
  86. package/dist/components/kbd/index.html +7 -0
  87. package/dist/components/kbd/index.html.br +2 -0
  88. package/dist/components/kbd/index.js +7399 -0
  89. package/dist/components/kbd/index.js.br +0 -0
  90. package/dist/components/link/index.html +7 -0
  91. package/dist/components/link/index.html.br +2 -0
  92. package/dist/components/link/index.js +7422 -0
  93. package/dist/components/link/index.js.br +0 -0
  94. package/dist/components/loading/index.html +7 -0
  95. package/dist/components/loading/index.html.br +0 -0
  96. package/dist/components/loading/index.js +7432 -0
  97. package/dist/components/loading/index.js.br +0 -0
  98. package/dist/components/mask/index.html +7 -0
  99. package/dist/components/mask/index.html.br +0 -0
  100. package/dist/components/mask/index.js +7440 -1
  101. package/dist/components/mask/index.js.br +0 -0
  102. package/dist/components/menu/index.html +7 -0
  103. package/dist/components/menu/index.html.br +2 -0
  104. package/dist/components/menu/index.js +7618 -1
  105. package/dist/components/menu/index.js.br +0 -0
  106. package/dist/components/modal/index.html +7 -0
  107. package/dist/components/modal/index.html.br +3 -0
  108. package/dist/components/modal/index.js +7599 -0
  109. package/dist/components/modal/index.js.br +0 -0
  110. package/dist/components/navbar/index.html +7 -0
  111. package/dist/components/navbar/index.html.br +2 -0
  112. package/dist/components/navbar/index.js +7475 -1
  113. package/dist/components/navbar/index.js.br +0 -0
  114. package/dist/components/pagination/index.html +7 -0
  115. package/dist/components/pagination/index.html.br +2 -0
  116. package/dist/components/pagination/index.js +7426 -1
  117. package/dist/components/pagination/index.js.br +0 -0
  118. package/dist/components/polymorphic/index.html +7 -0
  119. package/dist/components/polymorphic/index.html.br +0 -0
  120. package/dist/components/polymorphic/index.js +3031 -1
  121. package/dist/components/polymorphic/index.js.br +0 -0
  122. package/dist/components/progress/index.html +7 -0
  123. package/dist/components/progress/index.html.br +0 -0
  124. package/dist/components/progress/index.js +7413 -0
  125. package/dist/components/progress/index.js.br +0 -0
  126. package/dist/components/radialprogress/index.html +7 -0
  127. package/dist/components/radialprogress/index.html.br +0 -0
  128. package/dist/components/radialprogress/index.js +7430 -0
  129. package/dist/components/radialprogress/index.js.br +0 -0
  130. package/dist/components/radio/index.html +7 -0
  131. package/dist/components/radio/index.html.br +2 -0
  132. package/dist/components/radio/index.js +7423 -0
  133. package/dist/components/radio/index.js.br +0 -0
  134. package/dist/components/range/index.html +7 -0
  135. package/dist/components/range/index.html.br +0 -0
  136. package/dist/components/range/index.js +7462 -0
  137. package/dist/components/range/index.js.br +0 -0
  138. package/dist/components/rating/index.html +7 -0
  139. package/dist/components/rating/index.html.br +0 -0
  140. package/dist/components/rating/index.js +8858 -0
  141. package/dist/components/rating/index.js.br +0 -0
  142. package/dist/components/select/index.html +7 -0
  143. package/dist/components/select/index.html.br +0 -0
  144. package/dist/components/select/index.js +7427 -1
  145. package/dist/components/select/index.js.br +0 -0
  146. package/dist/components/skeleton/index.html +7 -0
  147. package/dist/components/skeleton/index.html.br +0 -0
  148. package/dist/components/skeleton/index.js +7381 -0
  149. package/dist/components/skeleton/index.js.br +0 -0
  150. package/dist/components/stack/index.html +7 -0
  151. package/dist/components/stack/index.html.br +0 -0
  152. package/dist/components/stack/index.js +8972 -0
  153. package/dist/components/stack/index.js.br +0 -0
  154. package/dist/components/stats/index.html +7 -0
  155. package/dist/components/stats/index.html.br +0 -0
  156. package/dist/components/stats/index.js +7508 -0
  157. package/dist/components/stats/index.js.br +0 -0
  158. package/dist/components/steps/index.html +7 -0
  159. package/dist/components/steps/index.html.br +0 -0
  160. package/dist/components/steps/index.js +8732 -1
  161. package/dist/components/steps/index.js.br +0 -0
  162. package/dist/components/swap/index.html +7 -0
  163. package/dist/components/swap/index.html.br +2 -0
  164. package/dist/components/swap/index.js +7467 -0
  165. package/dist/components/swap/index.js.br +0 -0
  166. package/dist/components/table/index.html +7 -0
  167. package/dist/components/table/index.html.br +2 -0
  168. package/dist/components/table/index.js +9493 -1
  169. package/dist/components/table/index.js.br +0 -0
  170. package/dist/components/tabs/index.html +7 -0
  171. package/dist/components/tabs/index.html.br +3 -0
  172. package/dist/components/tabs/index.js +5399 -1
  173. package/dist/components/tabs/index.js.br +0 -0
  174. package/dist/components/textarea/index.html +7 -0
  175. package/dist/components/textarea/index.html.br +0 -0
  176. package/dist/components/textarea/index.js +7425 -1
  177. package/dist/components/textarea/index.js.br +0 -0
  178. package/dist/components/timeline/index.html +7 -0
  179. package/dist/components/timeline/index.html.br +1 -0
  180. package/dist/components/timeline/index.js +7600 -1
  181. package/dist/components/timeline/index.js.br +0 -0
  182. package/dist/components/toast/index.html +7 -0
  183. package/dist/components/toast/index.html.br +0 -0
  184. package/dist/components/toast/index.js +8793 -1
  185. package/dist/components/toast/index.js.br +0 -0
  186. package/dist/components/toggle/index.html +7 -0
  187. package/dist/components/toggle/index.html.br +0 -0
  188. package/dist/components/toggle/index.js +7426 -1
  189. package/dist/components/toggle/index.js.br +0 -0
  190. package/dist/components/tooltip/index.html +7 -0
  191. package/dist/components/tooltip/index.html.br +0 -0
  192. package/dist/components/tooltip/index.js +7432 -1
  193. package/dist/components/tooltip/index.js.br +0 -0
  194. package/dist/index.css.css +176 -0
  195. package/dist/index.css.css.br +0 -0
  196. package/dist/index.css.html +7 -0
  197. package/dist/index.css.html.br +0 -0
  198. package/dist/index.css.js +126 -0
  199. package/dist/index.css.js.br +0 -0
  200. package/dist/index.html +7 -0
  201. package/dist/index.html.br +0 -0
  202. package/dist/index.js +16127 -28
  203. package/dist/index.js.br +0 -0
  204. package/package.json +38 -43
  205. package/dist/Autocomplete-gLkjMHrc.d.ts +0 -28
  206. package/dist/Avatar-Dkd_kPlV.d.ts +0 -40
  207. package/dist/CollapseTitle-BNxog3is.d.ts +0 -12
  208. package/dist/Field-DI2PA30N.d.ts +0 -49
  209. package/dist/Mask-CPb596Mg.d.ts +0 -16
  210. package/dist/Menu-DgO4SHmA.d.ts +0 -45
  211. package/dist/Progress-ChF4ior8.d.ts +0 -64
  212. package/dist/Steps-Dk-UPL6r.d.ts +0 -38
  213. package/dist/Table-CGa6Nop3.d.ts +0 -39
  214. package/dist/Tabs-WiUU0xsM.d.ts +0 -42
  215. package/dist/Timeline-Bd4SxHMT.d.ts +0 -14
  216. package/dist/chunk/2OJYONJ3.js +0 -40
  217. package/dist/chunk/2VQ2762Z.js +0 -80
  218. package/dist/chunk/2XPPNBYK.js +0 -164
  219. package/dist/chunk/3FBDYV4P.js +0 -143
  220. package/dist/chunk/3I23P4TJ.js +0 -33
  221. package/dist/chunk/55B7Q4NT.jsx +0 -258
  222. package/dist/chunk/5HG7XWVC.jsx +0 -2956
  223. package/dist/chunk/5IJ7WEIF.js +0 -43
  224. package/dist/chunk/5O6WC3OB.jsx +0 -67
  225. package/dist/chunk/6P5JIKPF.jsx +0 -51
  226. package/dist/chunk/BHLLVOVR.js +0 -46
  227. package/dist/chunk/C4YO33NN.jsx +0 -179
  228. package/dist/chunk/DJI5XKAV.js +0 -31
  229. package/dist/chunk/DN3P54J2.jsx +0 -43
  230. package/dist/chunk/DSTUGZW6.jsx +0 -81
  231. package/dist/chunk/DVFQAAZR.js +0 -43
  232. package/dist/chunk/EDDBK4J6.js +0 -42
  233. package/dist/chunk/FKSQPGOD.jsx +0 -170
  234. package/dist/chunk/FZRQDGPD.jsx +0 -54
  235. package/dist/chunk/G5UEZ2VC.js +0 -49
  236. package/dist/chunk/GL7JG772.js +0 -114
  237. package/dist/chunk/GMIXRYN3.js +0 -138
  238. package/dist/chunk/HEOKGP5U.js +0 -55
  239. package/dist/chunk/HKS7ET6T.js +0 -56
  240. package/dist/chunk/HUHXQCKK.js +0 -16
  241. package/dist/chunk/HWAGW5N4.jsx +0 -118
  242. package/dist/chunk/I36LHZUY.jsx +0 -31
  243. package/dist/chunk/IG323YKF.jsx +0 -50
  244. package/dist/chunk/JQ4HSRDP.js +0 -142
  245. package/dist/chunk/JSQBKK7L.jsx +0 -50
  246. package/dist/chunk/JWRGKHDO.js +0 -172
  247. package/dist/chunk/K3WO7SRD.js +0 -1
  248. package/dist/chunk/KQ3RAWCE.jsx +0 -57
  249. package/dist/chunk/KV6LTJHI.jsx +0 -175
  250. package/dist/chunk/KXJZKDJX.jsx +0 -0
  251. package/dist/chunk/L4A67X7S.js +0 -7
  252. package/dist/chunk/LGDDR242.jsx +0 -159
  253. package/dist/chunk/MAX47D6F.js +0 -99
  254. package/dist/chunk/MM2DZQL3.js +0 -46
  255. package/dist/chunk/MYERRMTM.js +0 -200
  256. package/dist/chunk/MZWBWFDD.js +0 -151
  257. package/dist/chunk/O7LDJCQS.jsx +0 -18
  258. package/dist/chunk/OJRG4ZAB.jsx +0 -143
  259. package/dist/chunk/P653OZ5D.js +0 -224
  260. package/dist/chunk/P7WPLZNA.jsx +0 -59
  261. package/dist/chunk/Q4442PU4.js +0 -42
  262. package/dist/chunk/QYEMOKUG.js +0 -125
  263. package/dist/chunk/R5G3PODL.jsx +0 -11
  264. package/dist/chunk/R6ZBT7CY.jsx +0 -55
  265. package/dist/chunk/RHEFVSMJ.jsx +0 -52
  266. package/dist/chunk/SPEY5RMB.js +0 -84
  267. package/dist/chunk/STFCLC5R.js +0 -2954
  268. package/dist/chunk/STKRVQR6.jsx +0 -130
  269. package/dist/chunk/SVJIYMYJ.jsx +0 -156
  270. package/dist/chunk/SYWB4UN3.jsx +0 -64
  271. package/dist/chunk/T2LDLYWV.jsx +0 -101
  272. package/dist/chunk/UNKDNDT3.js +0 -62
  273. package/dist/chunk/VN5BKHA2.jsx +0 -97
  274. package/dist/chunk/WOT36Q7O.js +0 -166
  275. package/dist/chunk/WUZETUQR.js +0 -92
  276. package/dist/chunk/XM3KF5LV.jsx +0 -179
  277. package/dist/chunk/XQCSYRVP.jsx +0 -168
  278. package/dist/chunk/YWIT2MRI.jsx +0 -43
  279. package/dist/chunk/ZYEP35R3.jsx +0 -60
  280. package/dist/classes-B_S9K-9I.d.ts +0 -13
  281. package/dist/components/Progress/index.d.ts +0 -7
  282. package/dist/components/Progress/index.js +0 -1
  283. package/dist/components/Progress/index.jsx +0 -7
  284. package/dist/components/accordion/index.d.ts +0 -20
  285. package/dist/components/accordion/index.jsx +0 -9
  286. package/dist/components/autocomplete/index.d.ts +0 -8
  287. package/dist/components/autocomplete/index.jsx +0 -7
  288. package/dist/components/avatar/index.d.ts +0 -8
  289. package/dist/components/avatar/index.jsx +0 -8
  290. package/dist/components/badge/index.d.ts +0 -17
  291. package/dist/components/badge/index.jsx +0 -8
  292. package/dist/components/breadcrumbs/index.d.ts +0 -9
  293. package/dist/components/breadcrumbs/index.jsx +0 -7
  294. package/dist/components/button/index.d.ts +0 -31
  295. package/dist/components/button/index.jsx +0 -8
  296. package/dist/components/checkbox/index.d.ts +0 -16
  297. package/dist/components/checkbox/index.jsx +0 -8
  298. package/dist/components/collapse/index.d.ts +0 -15
  299. package/dist/components/collapse/index.jsx +0 -14
  300. package/dist/components/dropdown/index.d.ts +0 -27
  301. package/dist/components/dropdown/index.jsx +0 -13
  302. package/dist/components/field/index.d.ts +0 -7
  303. package/dist/components/field/index.jsx +0 -7
  304. package/dist/components/fileinput/index.d.ts +0 -16
  305. package/dist/components/fileinput/index.jsx +0 -8
  306. package/dist/components/input/index.d.ts +0 -15
  307. package/dist/components/input/index.jsx +0 -8
  308. package/dist/components/join/index.d.ts +0 -11
  309. package/dist/components/join/index.jsx +0 -9
  310. package/dist/components/mask/index.d.ts +0 -7
  311. package/dist/components/mask/index.jsx +0 -8
  312. package/dist/components/menu/index.d.ts +0 -8
  313. package/dist/components/menu/index.jsx +0 -8
  314. package/dist/components/navbar/index.d.ts +0 -36
  315. package/dist/components/navbar/index.jsx +0 -11
  316. package/dist/components/pagination/index.d.ts +0 -8
  317. package/dist/components/pagination/index.jsx +0 -9
  318. package/dist/components/polymorphic/index.d.ts +0 -34
  319. package/dist/components/polymorphic/index.jsx +0 -8
  320. package/dist/components/select/index.d.ts +0 -15
  321. package/dist/components/select/index.jsx +0 -8
  322. package/dist/components/steps/index.d.ts +0 -7
  323. package/dist/components/steps/index.jsx +0 -8
  324. package/dist/components/table/index.d.ts +0 -8
  325. package/dist/components/table/index.jsx +0 -7
  326. package/dist/components/tabs/index.d.ts +0 -8
  327. package/dist/components/tabs/index.jsx +0 -7
  328. package/dist/components/textarea/index.d.ts +0 -15
  329. package/dist/components/textarea/index.jsx +0 -8
  330. package/dist/components/timeline/index.d.ts +0 -7
  331. package/dist/components/timeline/index.jsx +0 -7
  332. package/dist/components/toast/index.d.ts +0 -24
  333. package/dist/components/toast/index.jsx +0 -11
  334. package/dist/components/toggle/index.d.ts +0 -15
  335. package/dist/components/toggle/index.jsx +0 -8
  336. package/dist/components/tooltip/index.d.ts +0 -17
  337. package/dist/components/tooltip/index.jsx +0 -8
  338. package/dist/index.css +0 -73
  339. package/dist/index.d.ts +0 -32
  340. package/dist/index.jsx +0 -138
  341. package/dist/types-CUG9pToa.d.ts +0 -15
Binary file
package/package.json CHANGED
@@ -1,69 +1,64 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/pathscale/ui"
8
8
  },
9
+ "license": "MIT",
10
+ "description": "Highly opinionated SolidJS component library — batteries and kitchen sink included, but optimized and shiny.",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "homepage": "https://github.com/pathscale/ui",
15
+ "keywords": [
16
+ "solid",
17
+ "solidjs"
18
+ ],
19
+ "bugs": {
20
+ "url": "https://github.com/pathscale/ui/issues"
21
+ },
9
22
  "main": "./dist/index.js",
23
+ "module": "./dist/index.js",
10
24
  "devDependencies": {
11
25
  "@biomejs/biome": "1.9.4",
26
+ "@rsbuild/core": "^0.5.1",
27
+ "@rsbuild/plugin-babel": "^0.5.1",
28
+ "@rsbuild/plugin-solid": "^0.5.1",
12
29
  "@tailwindcss/vite": "^4.1.6",
13
30
  "@types/bun": "^1.2.12",
31
+ "compression-webpack-plugin": "^11.0.0",
14
32
  "esbuild-plugin-solid": "^0.6.0",
15
33
  "tailwindcss": "^4.1.6",
16
- "tsup": "^8.4.0",
17
34
  "typescript": "^5.8.3",
18
- "vite": "^6.3.5",
19
- "vite-plugin-solid": "^2.11.6",
20
- "vite-tsconfig-paths": "^5.1.4",
21
35
  "clsx": "^2.1.1",
22
36
  "tailwind-merge": "^3.3.0"
23
37
  },
38
+ "dependencies": {
39
+ "@solid-primitives/event-listener": "^2.3.0",
40
+ "@solid-primitives/intersection-observer": "^2.1.3",
41
+ "@solid-primitives/keyboard": "^1.2.5",
42
+ "@solid-primitives/media": "^2.2.5",
43
+ "@solid-primitives/props": "^3.1.8",
44
+ "@solid-primitives/resize-observer": "^2.0.22",
45
+ "@solid-primitives/scheduled": "^1.4.1",
46
+ "@solid-primitives/scroll": "^2.0.20",
47
+ "@solid-primitives/storage": "^2.1.1",
48
+ "@solid-primitives/utils": "^6.2.1",
49
+ "solid-js": "^1.8.15"
50
+ },
24
51
  "peerDependencies": {
25
52
  "solid-js": "^1.8"
26
53
  },
27
- "exports": {
28
- ".": {
29
- "types": "./dist/index.d.ts",
30
- "solid": "./dist/index.jsx",
31
- "default": "./dist/index.js"
32
- },
33
- "./*": {
34
- "types": "./dist/components/*/index.d.ts",
35
- "solid": "./dist/components/*/index.jsx",
36
- "default": "./dist/components/*/index.js"
37
- }
38
- },
39
- "bugs": {
40
- "url": "https://github.com/pathscale/ui/issues"
41
- },
42
- "description": "Highly opinionated SolidJS component library — batteries and kitchen sink included, but optimized and shiny.",
43
- "files": [
44
- "dist"
45
- ],
46
- "homepage": "https://github.com/pathscale/ui",
47
- "keywords": [
48
- "solid",
49
- "solidjs"
50
- ],
51
- "license": "MIT",
52
54
  "scripts": {
53
- "build": "tsup",
55
+ "dev": "bun rsbuild dev",
56
+ "build": "bun rsbuild build",
57
+ "preview": "bun rsbuild preview",
54
58
  "clean": "rm -rf dist node_modules",
55
- "dev": "vite serve playground --host",
56
- "format": "biome format --write",
57
- "lint": "biome lint --write"
59
+ "format": "bun biome format --write",
60
+ "lint": "bun biome lint --write"
58
61
  },
59
62
  "sideEffects": false,
60
- "type": "module",
61
- "types": "./dist/index.d.ts",
62
- "typesVersions": {
63
- "*": {
64
- "*": [
65
- "./dist/index.d.ts"
66
- ]
67
- }
68
- }
63
+ "type": "module"
69
64
  }
@@ -1,28 +0,0 @@
1
- import { Component } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const inputBoxClass: {
5
- (props?: (ConfigVariants<{
6
- state: {
7
- default: string;
8
- disabled: string;
9
- };
10
- size: {
11
- sm: string;
12
- md: string;
13
- lg: string;
14
- };
15
- }> & ClassProps) | undefined): string;
16
- variantKeys: ("size" | "state")[];
17
- };
18
-
19
- type AutocompleteProps = {
20
- items: Array<string | number>;
21
- label?: string;
22
- value?: string | number;
23
- onChange?: (val: string | number) => void;
24
- disabled?: boolean;
25
- } & VariantProps<typeof inputBoxClass>;
26
- declare const Autocomplete: Component<AutocompleteProps>;
27
-
28
- export { Autocomplete as A, type AutocompleteProps as a };
@@ -1,40 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { I as IComponentBaseProps, C as ComponentSize, a as ComponentShape, b as ComponentColor } from './types-CUG9pToa.js';
3
-
4
- type ElementType$1 = keyof JSX.IntrinsicElements;
5
- type AvatarGroupBaseProps = {
6
- /** Custom container tag */
7
- as?: ElementType$1;
8
- /** Extra classes */
9
- class?: string;
10
- className?: string;
11
- children: JSX.Element[];
12
- } & IComponentBaseProps;
13
- type PropsOf$1<E extends ElementType$1> = JSX.IntrinsicElements[E];
14
- type AvatarGroupProps<E extends ElementType$1 = "div"> = Omit<PropsOf$1<E>, keyof AvatarGroupBaseProps> & AvatarGroupBaseProps;
15
-
16
- type ElementType = keyof JSX.IntrinsicElements;
17
- type AvatarBaseProps = {
18
- src?: string;
19
- letters?: string;
20
- size?: ComponentSize | number;
21
- shape?: ComponentShape;
22
- color?: Exclude<ComponentColor, "ghost">;
23
- border?: boolean;
24
- borderColor?: Exclude<ComponentColor, "ghost">;
25
- online?: boolean;
26
- offline?: boolean;
27
- innerClass?: string;
28
- as?: ElementType;
29
- class?: string;
30
- className?: string;
31
- style?: JSX.CSSProperties;
32
- children?: JSX.Element;
33
- };
34
- type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
35
- type AvatarProps<E extends ElementType = "div"> = Omit<PropsOf<E>, "color"> & AvatarBaseProps & IComponentBaseProps;
36
- declare const _default: (<E extends ElementType = "div">(props: AvatarProps<E>) => JSX.Element) & {
37
- Group: <E extends keyof JSX.IntrinsicElements = "div">(props: AvatarGroupProps<E>) => JSX.Element;
38
- };
39
-
40
- export { type AvatarProps as A, _default as _ };
@@ -1,12 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { I as IComponentBaseProps } from './types-CUG9pToa.js';
3
-
4
- type CollapseContentProps = JSX.HTMLAttributes<HTMLDivElement> & IComponentBaseProps;
5
- declare function CollapseContent(props: CollapseContentProps): JSX.Element;
6
-
7
- type CollapseTitleProps<T extends HTMLElement = HTMLDivElement> = JSX.HTMLAttributes<T> & IComponentBaseProps;
8
- declare function CollapseTitle(props: CollapseTitleProps): JSX.Element;
9
- type SummaryProps = JSX.HTMLAttributes<HTMLElement> & IComponentBaseProps;
10
- declare function Summary(props: SummaryProps): JSX.Element;
11
-
12
- export { CollapseContent as C, Summary as S, CollapseTitle as a };
@@ -1,49 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const fieldWrapper: {
5
- (props?: (ConfigVariants<{
6
- horizontal: {
7
- true: string;
8
- false: string;
9
- };
10
- size: {
11
- sm: string;
12
- md: string;
13
- lg: string;
14
- };
15
- type: {
16
- default: string;
17
- danger: string;
18
- };
19
- grouped: {
20
- true: string;
21
- false: string;
22
- };
23
- groupMultiline: {
24
- true: string;
25
- false: string;
26
- };
27
- }> & ClassProps) | undefined): string;
28
- variantKeys: ("type" | "size" | "horizontal" | "grouped" | "groupMultiline")[];
29
- };
30
-
31
- type FieldProps = {
32
- /** Label text */
33
- label?: string;
34
- /** Helper or error message */
35
- message?: string;
36
- /** Visual intent */
37
- type?: "default" | "danger";
38
- /** Layout direction */
39
- horizontal?: boolean;
40
- /** Font/control size */
41
- size?: "sm" | "md" | "lg";
42
- /** Extra wrapper classes */
43
- className?: string;
44
- } & VariantProps<typeof fieldWrapper> & ClassProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, "children"> & {
45
- children: JSX.Element;
46
- };
47
- declare const Field: Component<FieldProps>;
48
-
49
- export { Field as F };
@@ -1,16 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { I as IComponentBaseProps } from './types-CUG9pToa.js';
3
-
4
- type MaskProps = JSX.ImgHTMLAttributes<HTMLImageElement> & IComponentBaseProps & {
5
- variant?: "squircle" | "heart" | "hexagon" | "hexagon-2" | "decagon" | "pentagon" | "diamond" | "square" | "circle" | "star" | "star-2" | "triangle" | "triangle-2" | "triangle-3" | "triangle-4" | "half-1" | "half-2";
6
- class?: string;
7
- className?: string;
8
- style?: JSX.CSSProperties;
9
- };
10
- declare function maskClassName({ className, variant, }?: Pick<MaskProps, "className" | "variant">): string;
11
- type MaskComponent = Component<MaskProps> & {
12
- className: typeof maskClassName;
13
- };
14
- declare const Mask: MaskComponent;
15
-
16
- export { Mask as M };
@@ -1,45 +0,0 @@
1
- import * as solid_js from 'solid-js';
2
- import { JSX } from 'solid-js';
3
- import { I as IComponentBaseProps, C as ComponentSize } from './types-CUG9pToa.js';
4
-
5
- type MenuTitleProps = JSX.LiHTMLAttributes<HTMLLIElement> & IComponentBaseProps & {
6
- class?: string;
7
- className?: string;
8
- };
9
-
10
- type MenuItemProps = JSX.LiHTMLAttributes<HTMLLIElement> & IComponentBaseProps & {
11
- focus?: boolean;
12
- active?: boolean;
13
- disabled?: boolean;
14
- };
15
-
16
- type MenuDropdownProps = JSX.HTMLAttributes<HTMLSpanElement> & IComponentBaseProps & {
17
- label: JSX.Element;
18
- open?: boolean;
19
- class?: string;
20
- className?: string;
21
- style?: JSX.CSSProperties;
22
- children?: JSX.Element;
23
- "data-theme"?: string;
24
- };
25
-
26
- type MenuDetailsProps = JSX.DetailsHtmlAttributes<HTMLDetailsElement> & IComponentBaseProps & {
27
- label: JSX.Element;
28
- open?: boolean;
29
- };
30
-
31
- type MenuProps = JSX.HTMLAttributes<HTMLUListElement> & IComponentBaseProps & {
32
- vertical?: boolean;
33
- horizontal?: boolean;
34
- responsive?: boolean;
35
- size?: ComponentSize;
36
- };
37
- declare const _default: ((props: MenuProps) => JSX.Element) & {
38
- Title: solid_js.Component<MenuTitleProps>;
39
- Item: solid_js.Component<MenuItemProps>;
40
- Dropdown: solid_js.Component<MenuDropdownProps>;
41
- Details: solid_js.Component<MenuDetailsProps>;
42
- Menu: (props: MenuProps) => JSX.Element;
43
- };
44
-
45
- export { type MenuProps as M, _default as _ };
@@ -1,64 +0,0 @@
1
- import { Component, ComponentProps } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- /**
5
- * The outer flex container. We don’t apply shape or variant here any more —
6
- * that all goes on the actual track (`progressWrapper`).
7
- */
8
- declare const progressContainer: {
9
- (props?: (ConfigVariants<{
10
- size: {
11
- sm: string;
12
- md: string;
13
- lg: string;
14
- };
15
- }> & ClassProps) | undefined): string;
16
- variantKeys: "size"[];
17
- };
18
- /**
19
- * The “track” itself: background, height, pill‐shape.
20
- */
21
- declare const progressWrapper: {
22
- (props?: (ConfigVariants<{
23
- size: {
24
- sm: string;
25
- md: string;
26
- lg: string;
27
- };
28
- shape: {
29
- rounded: string;
30
- circle: string;
31
- };
32
- }> & ClassProps) | undefined): string;
33
- variantKeys: ("shape" | "size")[];
34
- };
35
- /**
36
- * The colored fill bar.
37
- */
38
- declare const progressFill: {
39
- (props?: (ConfigVariants<{
40
- color: {
41
- default: string;
42
- danger: string;
43
- success: string;
44
- info: string;
45
- warning: string;
46
- };
47
- variant: {
48
- filled: string;
49
- outlined: string;
50
- ghost: string;
51
- };
52
- }> & ClassProps) | undefined): string;
53
- variantKeys: ("color" | "variant")[];
54
- };
55
-
56
- interface ProgressProps extends VariantProps<typeof progressContainer>, VariantProps<typeof progressWrapper>, VariantProps<typeof progressFill>, Omit<ComponentProps<"div">, "class" | "color"> {
57
- value?: number | null;
58
- showValue?: boolean;
59
- format?: "percent" | "raw";
60
- className?: string;
61
- }
62
- declare const Progress: Component<ProgressProps>;
63
-
64
- export { Progress as P };
@@ -1,38 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { b as ComponentColor, I as IComponentBaseProps } from './types-CUG9pToa.js';
3
-
4
- type ElementType$1 = keyof JSX.IntrinsicElements;
5
- type StepBaseProps = {
6
- /** Label for the step indicator */
7
- value?: string;
8
- /** Color variant */
9
- color?: "neutral" | ComponentColor;
10
- /** Custom element tag */
11
- as?: ElementType$1;
12
- class?: string;
13
- className?: string;
14
- style?: JSX.CSSProperties;
15
- children?: JSX.Element;
16
- "data-theme"?: string;
17
- };
18
- type PropsOf$1<E extends ElementType$1> = JSX.IntrinsicElements[E];
19
- type StepProps<E extends ElementType$1 = "li"> = Omit<PropsOf$1<E>, keyof StepBaseProps | "color"> & StepBaseProps & IComponentBaseProps;
20
-
21
- type ElementType = keyof JSX.IntrinsicElements;
22
- type StepsBaseProps = {
23
- vertical?: boolean;
24
- horizontal?: boolean;
25
- as?: ElementType;
26
- class?: string;
27
- className?: string;
28
- style?: JSX.CSSProperties;
29
- children?: JSX.Element;
30
- "data-theme"?: string;
31
- };
32
- type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
33
- type StepsProps<E extends ElementType = "ul"> = Omit<PropsOf<E>, keyof StepsBaseProps> & StepsBaseProps & IComponentBaseProps;
34
- declare const _default: (<E extends ElementType = "ul">(props: StepsProps<E>) => JSX.Element) & {
35
- Step: <E extends keyof JSX.IntrinsicElements = "li">(props: StepProps<E>) => JSX.Element;
36
- };
37
-
38
- export { _default as _ };
@@ -1,39 +0,0 @@
1
- import { JSX, ComponentProps } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const tableVariants: {
5
- (props?: (ConfigVariants<{
6
- header: {
7
- default: string;
8
- };
9
- row: {
10
- default: string;
11
- };
12
- cell: {
13
- default: string;
14
- };
15
- divider: {
16
- on: string;
17
- off: string;
18
- };
19
- }> & ClassProps) | undefined): string;
20
- variantKeys: ("header" | "cell" | "row" | "divider")[];
21
- };
22
-
23
- type Column<Row> = {
24
- key: keyof Row;
25
- header: string;
26
- sortable?: boolean;
27
- };
28
- type TableProps<Row> = {
29
- columns: Column<Row>[];
30
- rows: Row[];
31
- className?: string;
32
- rowKey: (row: Row) => string | number;
33
- onSelectionChange?: (selectedKeys: Array<string | number>) => void;
34
- renderDetail?: (row: Row) => JSX.Element;
35
- onSort?: (key: keyof Row, direction: "asc" | "desc") => void;
36
- } & VariantProps<typeof tableVariants> & ComponentProps<"table">;
37
- declare const Table: <Row extends Record<string, any>>(props: TableProps<Row>) => JSX.Element;
38
-
39
- export { type Column as C, Table as T, type TableProps as a };
@@ -1,42 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const tabsNavVariants: {
5
- (props?: (ConfigVariants<{
6
- type: {
7
- basic: string;
8
- boxed: string;
9
- toggle: string;
10
- "toggle-rounded": string;
11
- };
12
- size: {
13
- sm: string;
14
- md: string;
15
- lg: string;
16
- };
17
- alignment: {
18
- left: string;
19
- center: string;
20
- right: string;
21
- };
22
- expanded: {
23
- true: string;
24
- false: string;
25
- };
26
- }> & ClassProps) | undefined): string;
27
- variantKeys: ("type" | "size" | "alignment" | "expanded")[];
28
- };
29
-
30
- type TabItem = {
31
- label: string;
32
- content: JSX.Element;
33
- disabled?: boolean;
34
- };
35
- type TabsProps = {
36
- items: TabItem[];
37
- value?: number;
38
- onChange?: (index: number) => void;
39
- } & VariantProps<typeof tabsNavVariants>;
40
- declare const Tabs: Component<TabsProps>;
41
-
42
- export { Tabs as T, type TabsProps as a };
@@ -1,14 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
-
3
- type TimelineStage = {
4
- active?: boolean;
5
- error?: boolean;
6
- [key: string]: any;
7
- };
8
- type TimelineProps<T = TimelineStage> = {
9
- stages: T[];
10
- renderStage?: (stage: T, index: number) => JSX.Element;
11
- };
12
- declare const Timeline: Component<TimelineProps>;
13
-
14
- export { Timeline as T, type TimelineProps as a };
@@ -1,40 +0,0 @@
1
- import { CollapseTitle, CollapseContent } from './2VQ2762Z.js';
2
- import { clsx } from './HUHXQCKK.js';
3
- import { twMerge } from './STFCLC5R.js';
4
- import { template, spread, mergeProps, insert, effect, className, setAttribute, style } from 'solid-js/web';
5
- import { splitProps } from 'solid-js';
6
-
7
- var _tmpl$ = /* @__PURE__ */ template(`<div><input type=radio>`);
8
- var Accordion = (props) => {
9
- const [local, others] = splitProps(props, ["name", "icon", "dataTheme", "class", "className", "style"]);
10
- const classes = () => twMerge("collapse", clsx({
11
- "collapse-arrow": local.icon === "arrow",
12
- "collapse-plus": local.icon === "plus"
13
- }), local.class, local.className);
14
- return (() => {
15
- var _el$ = _tmpl$(), _el$2 = _el$.firstChild;
16
- spread(_el$2, mergeProps({
17
- get name() {
18
- return local.name ?? "accordion";
19
- }
20
- }, others), false, false);
21
- insert(_el$, () => props.children, null);
22
- effect((_p$) => {
23
- var _v$ = classes(), _v$2 = local.dataTheme, _v$3 = local.style;
24
- _v$ !== _p$.e && className(_el$, _p$.e = _v$);
25
- _v$2 !== _p$.t && setAttribute(_el$, "data-theme", _p$.t = _v$2);
26
- _p$.a = style(_el$, _v$3, _p$.a);
27
- return _p$;
28
- }, {
29
- e: void 0,
30
- t: void 0,
31
- a: void 0
32
- });
33
- return _el$;
34
- })();
35
- };
36
- Accordion.Title = CollapseTitle;
37
- Accordion.Content = CollapseContent;
38
- var Accordion_default = Accordion;
39
-
40
- export { Accordion_default };
@@ -1,80 +0,0 @@
1
- import { clsx } from './HUHXQCKK.js';
2
- import { twMerge } from './STFCLC5R.js';
3
- import { template, spread, mergeProps, insert } from 'solid-js/web';
4
-
5
- var _tmpl$ = /* @__PURE__ */ template(`<div>`);
6
- function CollapseContent(props) {
7
- const classes = twMerge("collapse-content", props.class);
8
- return (() => {
9
- var _el$ = _tmpl$();
10
- spread(_el$, mergeProps(props, {
11
- "class": classes
12
- }), false, false);
13
- return _el$;
14
- })();
15
- }
16
- var _tmpl$2 = /* @__PURE__ */ template(`<div>`);
17
- var _tmpl$22 = /* @__PURE__ */ template(`<summary>`);
18
- var classesFn = ({
19
- className
20
- }) => twMerge("collapse-title", className);
21
- function CollapseTitle(props) {
22
- return (() => {
23
- var _el$ = _tmpl$2();
24
- spread(_el$, mergeProps(props, {
25
- get ["class"]() {
26
- return classesFn({
27
- className: props.class
28
- });
29
- }
30
- }), false, false);
31
- return _el$;
32
- })();
33
- }
34
- function Summary(props) {
35
- return (() => {
36
- var _el$2 = _tmpl$22();
37
- spread(_el$2, mergeProps(props, {
38
- get ["class"]() {
39
- return classesFn({
40
- className: props.class
41
- });
42
- }
43
- }), false, false);
44
- return _el$2;
45
- })();
46
- }
47
- var _tmpl$3 = /* @__PURE__ */ template(`<details>`);
48
- function classesFn2({
49
- className,
50
- icon,
51
- open
52
- }) {
53
- return twMerge("collapse", className, clsx({
54
- "collapse-arrow": icon === "arrow",
55
- "collapse-plus": icon === "plus",
56
- "collapse-open": open === true,
57
- "collapse-close": open === false
58
- }));
59
- }
60
- function CollapseDetails(props) {
61
- const classes = classesFn2({
62
- className: props.class,
63
- icon: props.icon,
64
- open: props.open
65
- });
66
- return (() => {
67
- var _el$ = _tmpl$3();
68
- spread(_el$, mergeProps(props, {
69
- "class": classes,
70
- get open() {
71
- return props.open;
72
- }
73
- }), false, true);
74
- insert(_el$, () => props.children);
75
- return _el$;
76
- })();
77
- }
78
- CollapseDetails.Title = Summary;
79
-
80
- export { CollapseContent, CollapseDetails, CollapseTitle, Summary };