@psnext/design-system 2.5.0 → 2.6.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 (432) hide show
  1. package/DESIGN.md +5 -0
  2. package/SKILL.md +1 -1
  3. package/dist/Header.cjs +2 -2
  4. package/dist/Header.js +2 -2
  5. package/dist/index.cjs +12 -2
  6. package/dist/index.d.cts +5 -5
  7. package/dist/index.d.ts +5 -5
  8. package/dist/index.js +4 -3
  9. package/dist/index10.d.cts +7 -7
  10. package/dist/index10.d.cts.map +1 -1
  11. package/dist/index10.d.ts +6 -6
  12. package/dist/index11.d.cts +3 -3
  13. package/dist/index11.d.ts +3 -3
  14. package/dist/index12.d.cts +12 -12
  15. package/dist/index12.d.ts +12 -12
  16. package/dist/index12.d.ts.map +1 -1
  17. package/dist/index13.d.cts +6 -6
  18. package/dist/index13.d.ts +6 -6
  19. package/dist/index13.d.ts.map +1 -1
  20. package/dist/index14.d.cts +5 -5
  21. package/dist/index14.d.ts +5 -5
  22. package/dist/index15.d.cts +2 -2
  23. package/dist/index15.d.ts +2 -2
  24. package/dist/index16.d.cts +3 -3
  25. package/dist/index16.d.ts +3 -3
  26. package/dist/index16.d.ts.map +1 -1
  27. package/dist/index17.d.cts +2 -2
  28. package/dist/index17.d.ts +2 -2
  29. package/dist/index18.d.cts +4 -4
  30. package/dist/index18.d.ts +4 -4
  31. package/dist/index19.d.cts +11 -11
  32. package/dist/index19.d.cts.map +1 -1
  33. package/dist/index19.d.ts +11 -11
  34. package/dist/index2.d.cts +8 -8
  35. package/dist/index2.d.ts +8 -8
  36. package/dist/index20.d.cts +10 -10
  37. package/dist/index20.d.ts +10 -10
  38. package/dist/index21.d.cts +30 -81
  39. package/dist/index21.d.cts.map +1 -1
  40. package/dist/index21.d.ts +30 -81
  41. package/dist/index21.d.ts.map +1 -1
  42. package/dist/index22.d.cts +109 -27
  43. package/dist/index22.d.cts.map +1 -1
  44. package/dist/index22.d.ts +109 -27
  45. package/dist/index22.d.ts.map +1 -1
  46. package/dist/index23.d.cts +75 -53
  47. package/dist/index23.d.cts.map +1 -1
  48. package/dist/index23.d.ts +75 -53
  49. package/dist/index23.d.ts.map +1 -1
  50. package/dist/index24.d.cts +28 -93
  51. package/dist/index24.d.cts.map +1 -1
  52. package/dist/index24.d.ts +28 -93
  53. package/dist/index24.d.ts.map +1 -1
  54. package/dist/index25.d.cts +58 -33
  55. package/dist/index25.d.cts.map +1 -1
  56. package/dist/index25.d.ts +58 -33
  57. package/dist/index25.d.ts.map +1 -1
  58. package/dist/index26.d.cts +93 -11
  59. package/dist/index26.d.cts.map +1 -1
  60. package/dist/index26.d.ts +93 -11
  61. package/dist/index26.d.ts.map +1 -1
  62. package/dist/index27.d.cts +32 -63
  63. package/dist/index27.d.cts.map +1 -1
  64. package/dist/index27.d.ts +32 -63
  65. package/dist/index27.d.ts.map +1 -1
  66. package/dist/index28.d.cts +11 -48
  67. package/dist/index28.d.cts.map +1 -1
  68. package/dist/index28.d.ts +11 -48
  69. package/dist/index28.d.ts.map +1 -1
  70. package/dist/index29.d.cts +68 -59
  71. package/dist/index29.d.cts.map +1 -1
  72. package/dist/index29.d.ts +68 -59
  73. package/dist/index29.d.ts.map +1 -1
  74. package/dist/index3.d.cts +13 -13
  75. package/dist/index3.d.ts +13 -13
  76. package/dist/index30.d.cts +47 -30
  77. package/dist/index30.d.cts.map +1 -1
  78. package/dist/index30.d.ts +47 -30
  79. package/dist/index30.d.ts.map +1 -1
  80. package/dist/index31.d.cts +63 -17
  81. package/dist/index31.d.cts.map +1 -1
  82. package/dist/index31.d.ts +63 -17
  83. package/dist/index31.d.ts.map +1 -1
  84. package/dist/index32.d.cts +29 -80
  85. package/dist/index32.d.cts.map +1 -1
  86. package/dist/index32.d.ts +29 -80
  87. package/dist/index32.d.ts.map +1 -1
  88. package/dist/index33.d.cts +19 -34
  89. package/dist/index33.d.cts.map +1 -1
  90. package/dist/index33.d.ts +19 -34
  91. package/dist/index33.d.ts.map +1 -1
  92. package/dist/index34.d.cts +80 -18
  93. package/dist/index34.d.cts.map +1 -1
  94. package/dist/index34.d.ts +80 -18
  95. package/dist/index34.d.ts.map +1 -1
  96. package/dist/index35.d.cts +32 -51
  97. package/dist/index35.d.cts.map +1 -1
  98. package/dist/index35.d.ts +32 -51
  99. package/dist/index35.d.ts.map +1 -1
  100. package/dist/index36.d.cts +19 -36
  101. package/dist/index36.d.cts.map +1 -1
  102. package/dist/index36.d.ts +19 -36
  103. package/dist/index36.d.ts.map +1 -1
  104. package/dist/index37.d.cts +43 -61
  105. package/dist/index37.d.cts.map +1 -1
  106. package/dist/index37.d.ts +43 -61
  107. package/dist/index37.d.ts.map +1 -1
  108. package/dist/index38.d.cts +35 -11
  109. package/dist/index38.d.cts.map +1 -1
  110. package/dist/index38.d.ts +35 -11
  111. package/dist/index38.d.ts.map +1 -1
  112. package/dist/index39.d.cts +68 -20
  113. package/dist/index39.d.cts.map +1 -1
  114. package/dist/index39.d.ts +66 -18
  115. package/dist/index39.d.ts.map +1 -1
  116. package/dist/index4.d.cts +2 -2
  117. package/dist/index4.d.cts.map +1 -1
  118. package/dist/index4.d.ts +2 -2
  119. package/dist/index40.d.cts +14 -15
  120. package/dist/index40.d.cts.map +1 -1
  121. package/dist/index40.d.ts +14 -15
  122. package/dist/index40.d.ts.map +1 -1
  123. package/dist/index41.d.cts +22 -98
  124. package/dist/index41.d.cts.map +1 -1
  125. package/dist/index41.d.ts +22 -98
  126. package/dist/index41.d.ts.map +1 -1
  127. package/dist/index42.d.cts +15 -120
  128. package/dist/index42.d.cts.map +1 -1
  129. package/dist/index42.d.ts +15 -120
  130. package/dist/index42.d.ts.map +1 -1
  131. package/dist/index43.d.cts +99 -16
  132. package/dist/index43.d.cts.map +1 -1
  133. package/dist/index43.d.ts +99 -16
  134. package/dist/index43.d.ts.map +1 -1
  135. package/dist/index44.d.cts +118 -49
  136. package/dist/index44.d.cts.map +1 -1
  137. package/dist/index44.d.ts +118 -49
  138. package/dist/index44.d.ts.map +1 -1
  139. package/dist/index45.d.cts +16 -39
  140. package/dist/index45.d.cts.map +1 -1
  141. package/dist/index45.d.ts +16 -39
  142. package/dist/index45.d.ts.map +1 -1
  143. package/dist/index46.d.cts +37 -77
  144. package/dist/index46.d.cts.map +1 -1
  145. package/dist/index46.d.ts +37 -77
  146. package/dist/index46.d.ts.map +1 -1
  147. package/dist/index47.d.cts +96 -1
  148. package/dist/index47.d.cts.map +1 -0
  149. package/dist/index47.d.ts +96 -1
  150. package/dist/index47.d.ts.map +1 -0
  151. package/dist/index48.d.cts +1 -127
  152. package/dist/index48.d.ts +1 -127
  153. package/dist/index49.d.cts +121 -42
  154. package/dist/index49.d.cts.map +1 -1
  155. package/dist/index49.d.ts +121 -42
  156. package/dist/index49.d.ts.map +1 -1
  157. package/dist/index5.d.cts +7 -7
  158. package/dist/index5.d.cts.map +1 -1
  159. package/dist/index5.d.ts +7 -7
  160. package/dist/index50.d.cts +42 -22
  161. package/dist/index50.d.cts.map +1 -1
  162. package/dist/index50.d.ts +42 -22
  163. package/dist/index50.d.ts.map +1 -1
  164. package/dist/index51.d.cts +21 -34
  165. package/dist/index51.d.cts.map +1 -1
  166. package/dist/index51.d.ts +21 -34
  167. package/dist/index51.d.ts.map +1 -1
  168. package/dist/index52.d.cts +33 -17
  169. package/dist/index52.d.cts.map +1 -1
  170. package/dist/index52.d.ts +33 -17
  171. package/dist/index52.d.ts.map +1 -1
  172. package/dist/index53.d.cts +18 -14
  173. package/dist/index53.d.cts.map +1 -1
  174. package/dist/index53.d.ts +18 -14
  175. package/dist/index53.d.ts.map +1 -1
  176. package/dist/index54.d.cts +12 -60
  177. package/dist/index54.d.cts.map +1 -1
  178. package/dist/index54.d.ts +12 -60
  179. package/dist/index54.d.ts.map +1 -1
  180. package/dist/index55.d.cts +51 -80
  181. package/dist/index55.d.cts.map +1 -1
  182. package/dist/index55.d.ts +51 -80
  183. package/dist/index55.d.ts.map +1 -1
  184. package/dist/index56.d.cts +91 -24
  185. package/dist/index56.d.cts.map +1 -1
  186. package/dist/index56.d.ts +91 -24
  187. package/dist/index56.d.ts.map +1 -1
  188. package/dist/index57.d.cts +25 -203
  189. package/dist/index57.d.cts.map +1 -1
  190. package/dist/index57.d.ts +25 -203
  191. package/dist/index57.d.ts.map +1 -1
  192. package/dist/index58.d.cts +198 -15
  193. package/dist/index58.d.cts.map +1 -1
  194. package/dist/index58.d.ts +198 -15
  195. package/dist/index58.d.ts.map +1 -1
  196. package/dist/index59.d.cts +21 -23
  197. package/dist/index59.d.cts.map +1 -1
  198. package/dist/index59.d.ts +21 -23
  199. package/dist/index59.d.ts.map +1 -1
  200. package/dist/index6.d.cts +5 -5
  201. package/dist/index6.d.cts.map +1 -1
  202. package/dist/index6.d.ts +5 -5
  203. package/dist/index6.d.ts.map +1 -1
  204. package/dist/index60.d.cts +21 -18
  205. package/dist/index60.d.cts.map +1 -1
  206. package/dist/index60.d.ts +21 -18
  207. package/dist/index60.d.ts.map +1 -1
  208. package/dist/index61.d.cts +21 -8
  209. package/dist/index61.d.cts.map +1 -1
  210. package/dist/index61.d.ts +21 -8
  211. package/dist/index61.d.ts.map +1 -1
  212. package/dist/index62.d.cts +6 -44
  213. package/dist/index62.d.cts.map +1 -1
  214. package/dist/index62.d.ts +6 -44
  215. package/dist/index62.d.ts.map +1 -1
  216. package/dist/index63.d.cts +46 -47
  217. package/dist/index63.d.cts.map +1 -1
  218. package/dist/index63.d.ts +46 -47
  219. package/dist/index63.d.ts.map +1 -1
  220. package/dist/index64.d.cts +47 -59
  221. package/dist/index64.d.cts.map +1 -1
  222. package/dist/index64.d.ts +47 -59
  223. package/dist/index64.d.ts.map +1 -1
  224. package/dist/index65.d.cts +56 -38
  225. package/dist/index65.d.cts.map +1 -1
  226. package/dist/index65.d.ts +56 -38
  227. package/dist/index65.d.ts.map +1 -1
  228. package/dist/index66.d.cts +37 -16
  229. package/dist/index66.d.cts.map +1 -1
  230. package/dist/index66.d.ts +35 -14
  231. package/dist/index66.d.ts.map +1 -1
  232. package/dist/index67.d.cts +20 -41
  233. package/dist/index67.d.cts.map +1 -1
  234. package/dist/index67.d.ts +20 -41
  235. package/dist/index67.d.ts.map +1 -1
  236. package/dist/index68.d.cts +41 -19
  237. package/dist/index68.d.cts.map +1 -1
  238. package/dist/index68.d.ts +41 -19
  239. package/dist/index68.d.ts.map +1 -1
  240. package/dist/index69.d.cts +14 -39
  241. package/dist/index69.d.cts.map +1 -1
  242. package/dist/index69.d.ts +14 -39
  243. package/dist/index69.d.ts.map +1 -1
  244. package/dist/index7.d.cts +8 -8
  245. package/dist/index7.d.ts +8 -8
  246. package/dist/index7.d.ts.map +1 -1
  247. package/dist/index70.d.cts +39 -16
  248. package/dist/index70.d.cts.map +1 -1
  249. package/dist/index70.d.ts +39 -16
  250. package/dist/index70.d.ts.map +1 -1
  251. package/dist/index71.d.cts +17 -83
  252. package/dist/index71.d.cts.map +1 -1
  253. package/dist/index71.d.ts +17 -83
  254. package/dist/index71.d.ts.map +1 -1
  255. package/dist/index72.d.cts +83 -11
  256. package/dist/index72.d.cts.map +1 -1
  257. package/dist/index72.d.ts +83 -11
  258. package/dist/index72.d.ts.map +1 -1
  259. package/dist/index73.d.cts +12 -30
  260. package/dist/index73.d.cts.map +1 -1
  261. package/dist/index73.d.ts +12 -30
  262. package/dist/index73.d.ts.map +1 -1
  263. package/dist/index74.d.cts +28 -27
  264. package/dist/index74.d.cts.map +1 -1
  265. package/dist/index74.d.ts +28 -27
  266. package/dist/index74.d.ts.map +1 -1
  267. package/dist/index75.d.cts +33 -83
  268. package/dist/index75.d.cts.map +1 -1
  269. package/dist/index75.d.ts +33 -83
  270. package/dist/index75.d.ts.map +1 -1
  271. package/dist/index76.d.cts +82 -273
  272. package/dist/index76.d.cts.map +1 -1
  273. package/dist/index76.d.ts +82 -273
  274. package/dist/index76.d.ts.map +1 -1
  275. package/dist/index77.d.cts +278 -0
  276. package/dist/index77.d.cts.map +1 -0
  277. package/dist/index77.d.ts +278 -0
  278. package/dist/index77.d.ts.map +1 -0
  279. package/dist/index8.d.cts +4 -4
  280. package/dist/index8.d.ts +4 -4
  281. package/dist/index9.d.cts +2 -2
  282. package/dist/index9.d.cts.map +1 -1
  283. package/dist/index9.d.ts +2 -2
  284. package/dist/index9.d.ts.map +1 -1
  285. package/dist/layouts/Container/index.d.cts +1 -1
  286. package/dist/layouts/Container/index.d.ts +1 -1
  287. package/dist/layouts/MultiColumn/index.d.cts +1 -1
  288. package/dist/layouts/MultiColumn/index.d.ts +1 -1
  289. package/dist/layouts/PageBackground/index.d.cts +1 -1
  290. package/dist/layouts/PageBackground/index.d.ts +1 -1
  291. package/dist/layouts/Stack/index.d.cts +1 -1
  292. package/dist/layouts/Stack/index.d.ts +1 -1
  293. package/dist/layouts/TwoColumn/index.d.cts +1 -1
  294. package/dist/layouts/TwoColumn/index.d.ts +1 -1
  295. package/dist/layouts/index.d.cts +5 -5
  296. package/dist/layouts/index.d.ts +5 -5
  297. package/dist/patterns/DataTable/index.d.cts +3 -3
  298. package/dist/patterns/DataTable/index.d.cts.map +1 -1
  299. package/dist/patterns/DataTable/index.d.ts +3 -3
  300. package/dist/patterns/DataTable/index.d.ts.map +1 -1
  301. package/dist/patterns/Footer/index.d.cts +7 -7
  302. package/dist/patterns/Footer/index.d.ts +7 -7
  303. package/dist/patterns/Footer/index.d.ts.map +1 -1
  304. package/dist/patterns/Header/index.d.cts +1 -1
  305. package/dist/patterns/Header/index.d.ts +1 -1
  306. package/dist/patterns/MediaObject/index.d.cts +13 -13
  307. package/dist/patterns/MediaObject/index.d.ts +14 -14
  308. package/dist/patterns/NavRail/index.d.cts +1 -1
  309. package/dist/patterns/NavRail/index.d.ts +1 -1
  310. package/dist/patterns/SectionCard/index.d.cts +2 -2
  311. package/dist/patterns/SectionCard/index.d.cts.map +1 -1
  312. package/dist/patterns/SectionCard/index.d.ts +2 -2
  313. package/dist/patterns/SectionCard/index.d.ts.map +1 -1
  314. package/dist/patterns/SectionHeading/index.d.cts +3 -3
  315. package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
  316. package/dist/patterns/SectionHeading/index.d.ts +3 -3
  317. package/dist/patterns/index.d.cts +2 -2
  318. package/dist/patterns/index.d.ts +2 -2
  319. package/dist/primitives/Combobox/index.cjs +210 -0
  320. package/dist/primitives/Combobox/index.cjs.map +1 -0
  321. package/dist/primitives/Combobox/index.d.cts +2 -0
  322. package/dist/primitives/Combobox/index.d.ts +2 -0
  323. package/dist/primitives/Combobox/index.js +199 -0
  324. package/dist/primitives/Combobox/index.js.map +1 -0
  325. package/dist/primitives/ContextMenu/index.d.cts +1 -1
  326. package/dist/primitives/ContextMenu/index.d.ts +1 -1
  327. package/dist/primitives/Credits/index.d.cts +1 -1
  328. package/dist/primitives/Credits/index.d.ts +1 -1
  329. package/dist/primitives/Drawer/index.d.cts +1 -1
  330. package/dist/primitives/Drawer/index.d.ts +1 -1
  331. package/dist/primitives/DropdownMenu/index.d.cts +1 -1
  332. package/dist/primitives/DropdownMenu/index.d.ts +1 -1
  333. package/dist/primitives/Empty/index.d.cts +1 -1
  334. package/dist/primitives/Empty/index.d.ts +1 -1
  335. package/dist/primitives/Field/index.d.cts +1 -1
  336. package/dist/primitives/Field/index.d.ts +1 -1
  337. package/dist/primitives/FileUpload/index.d.cts +1 -1
  338. package/dist/primitives/FileUpload/index.d.ts +1 -1
  339. package/dist/primitives/Form/index.d.cts +1 -1
  340. package/dist/primitives/Form/index.d.ts +1 -1
  341. package/dist/primitives/Heading/index.d.cts +1 -1
  342. package/dist/primitives/Heading/index.d.ts +1 -1
  343. package/dist/primitives/HoverCard/index.d.cts +1 -1
  344. package/dist/primitives/HoverCard/index.d.ts +1 -1
  345. package/dist/primitives/Icon/index.d.cts +1 -1
  346. package/dist/primitives/Icon/index.d.ts +1 -1
  347. package/dist/primitives/InfoBanner/index.d.cts +1 -1
  348. package/dist/primitives/InfoBanner/index.d.ts +1 -1
  349. package/dist/primitives/Input/index.d.cts +1 -1
  350. package/dist/primitives/Input/index.d.ts +1 -1
  351. package/dist/primitives/InputGroup/index.d.cts +1 -1
  352. package/dist/primitives/InputGroup/index.d.ts +1 -1
  353. package/dist/primitives/InputOtp/index.d.cts +1 -1
  354. package/dist/primitives/InputOtp/index.d.ts +1 -1
  355. package/dist/primitives/Item/index.d.cts +1 -1
  356. package/dist/primitives/Item/index.d.ts +1 -1
  357. package/dist/primitives/Kbd/index.d.cts +1 -1
  358. package/dist/primitives/Kbd/index.d.ts +1 -1
  359. package/dist/primitives/Label/index.d.cts +1 -1
  360. package/dist/primitives/Label/index.d.ts +1 -1
  361. package/dist/primitives/Link/index.d.cts +1 -1
  362. package/dist/primitives/Link/index.d.ts +1 -1
  363. package/dist/primitives/Logo/index.d.cts +1 -1
  364. package/dist/primitives/Logo/index.d.ts +1 -1
  365. package/dist/primitives/Menubar/index.d.cts +1 -1
  366. package/dist/primitives/Menubar/index.d.ts +1 -1
  367. package/dist/primitives/Mosaic/index.d.cts +1 -1
  368. package/dist/primitives/Mosaic/index.d.ts +1 -1
  369. package/dist/primitives/NativeSelect/index.d.cts +1 -1
  370. package/dist/primitives/NativeSelect/index.d.ts +1 -1
  371. package/dist/primitives/NavRail/index.d.cts +2 -2
  372. package/dist/primitives/NavRail/index.d.ts +2 -2
  373. package/dist/primitives/NavigationMenu/index.d.cts +1 -1
  374. package/dist/primitives/NavigationMenu/index.d.ts +1 -1
  375. package/dist/primitives/NotchedCard/index.d.cts +1 -1
  376. package/dist/primitives/NotchedCard/index.d.ts +1 -1
  377. package/dist/primitives/Pagination/index.d.cts +1 -1
  378. package/dist/primitives/Pagination/index.d.ts +1 -1
  379. package/dist/primitives/Popover/index.d.cts +1 -1
  380. package/dist/primitives/Popover/index.d.ts +1 -1
  381. package/dist/primitives/Progress/index.d.cts +1 -1
  382. package/dist/primitives/Progress/index.d.ts +1 -1
  383. package/dist/primitives/RadioGroup/index.d.cts +1 -1
  384. package/dist/primitives/RadioGroup/index.d.ts +1 -1
  385. package/dist/primitives/Resizable/index.d.cts +1 -1
  386. package/dist/primitives/Resizable/index.d.ts +1 -1
  387. package/dist/primitives/ScrollArea/index.d.cts +1 -1
  388. package/dist/primitives/ScrollArea/index.d.ts +1 -1
  389. package/dist/primitives/Select/index.d.cts +1 -1
  390. package/dist/primitives/Select/index.d.ts +1 -1
  391. package/dist/primitives/Sheet/index.d.cts +1 -1
  392. package/dist/primitives/Sheet/index.d.ts +1 -1
  393. package/dist/primitives/Sidebar/index.d.cts +1 -1
  394. package/dist/primitives/Sidebar/index.d.ts +1 -1
  395. package/dist/primitives/Skeleton/index.d.cts +1 -1
  396. package/dist/primitives/Skeleton/index.d.ts +1 -1
  397. package/dist/primitives/Slider/index.d.cts +1 -1
  398. package/dist/primitives/Slider/index.d.ts +1 -1
  399. package/dist/primitives/Sonner/index.d.cts +1 -1
  400. package/dist/primitives/Sonner/index.d.ts +1 -1
  401. package/dist/primitives/Spinner/index.d.cts +1 -1
  402. package/dist/primitives/Spinner/index.d.ts +1 -1
  403. package/dist/primitives/Switch/index.d.cts +1 -1
  404. package/dist/primitives/Switch/index.d.ts +1 -1
  405. package/dist/primitives/Table/index.d.cts +1 -1
  406. package/dist/primitives/Table/index.d.ts +1 -1
  407. package/dist/primitives/Tabs/index.cjs +153 -10
  408. package/dist/primitives/Tabs/index.cjs.map +1 -1
  409. package/dist/primitives/Tabs/index.d.cts +1 -1
  410. package/dist/primitives/Tabs/index.d.ts +1 -1
  411. package/dist/primitives/Tabs/index.js +153 -10
  412. package/dist/primitives/Tabs/index.js.map +1 -1
  413. package/dist/primitives/Text/index.d.cts +1 -1
  414. package/dist/primitives/Text/index.d.ts +1 -1
  415. package/dist/primitives/Textarea/index.d.cts +1 -1
  416. package/dist/primitives/Textarea/index.d.ts +1 -1
  417. package/dist/primitives/ThemeProvider/index.d.cts +1 -1
  418. package/dist/primitives/ThemeProvider/index.d.ts +1 -1
  419. package/dist/primitives/Toggle/index.d.cts +1 -1
  420. package/dist/primitives/Toggle/index.d.ts +1 -1
  421. package/dist/primitives/ToggleGroup/index.d.cts +1 -1
  422. package/dist/primitives/ToggleGroup/index.d.ts +1 -1
  423. package/dist/primitives/Tooltip/index.d.cts +1 -1
  424. package/dist/primitives/Tooltip/index.d.ts +1 -1
  425. package/dist/primitives/index.cjs +12 -2
  426. package/dist/primitives/index.d.cts +50 -49
  427. package/dist/primitives/index.d.ts +50 -49
  428. package/dist/primitives/index.js +4 -3
  429. package/dist/styles/tokens/mode-dark.css +1 -1
  430. package/package.json +1 -1
  431. package/dist/index48.d.cts.map +0 -1
  432. package/dist/index48.d.ts.map +0 -1
package/dist/index35.d.ts CHANGED
@@ -1,59 +1,40 @@
1
- import { t as Button } from "./index8.js";
2
- import { t as Input } from "./index34.js";
3
1
  import { VariantProps } from "class-variance-authority";
4
2
  import * as React from "react";
5
- import * as react_jsx_runtime145 from "react/jsx-runtime";
6
- import * as class_variance_authority_types9 from "class-variance-authority/types";
3
+ import * as react_jsx_runtime311 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types26 from "class-variance-authority/types";
7
5
 
8
- //#region src/primitives/InputGroup/InputGroup.d.ts
9
- /** Bordered container that groups a control (input/textarea) with addons, buttons, and text into one focusable field. */
10
- declare function InputGroup({
11
- className,
12
- /** Chrome style `default` bordered group or `ai` (AI gradient border). */
13
- variant,
14
- ...props
15
- }: React.ComponentProps<"div"> & {
16
- variant?: "default" | "ai";
17
- }): react_jsx_runtime145.JSX.Element;
18
- declare const inputGroupAddonVariants: (props?: ({
19
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
20
- } & class_variance_authority_types9.ClassProp) | undefined) => string;
21
- /** A leading/trailing or stacked slot for icons, text, or buttons; clicking it focuses the group's input. */
22
- declare function InputGroupAddon({
23
- className,
24
- /** Where the addon sits relative to the control: inline (left/right) or block (top/bottom). */
25
- align,
26
- ...props
27
- }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime145.JSX.Element;
28
- declare const inputGroupButtonVariants: (props?: ({
29
- size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
30
- } & class_variance_authority_types9.ClassProp) | undefined) => string;
31
- /** A compact Button sized to sit inside an addon without overflowing the group's height. */
32
- declare function InputGroupButton({
33
- className,
34
- /** The button's HTML type; defaults to `"button"` so it does not submit forms. */
35
- type,
36
- /** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
6
+ //#region src/primitives/InfoBanner/InfoBanner.d.ts
7
+ declare const infoBannerVariants: (props?: ({
8
+ variant?: "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
9
+ } & class_variance_authority_types26.ClassProp) | undefined) => string;
10
+ type InfoBannerProps = Omit<React.ComponentProps<"div">, "title"> & VariantProps<typeof infoBannerVariants> & {
11
+ /** Intent that drives the banner colors and default icon. Default `info`. */
12
+ variant?: VariantProps<typeof infoBannerVariants>["variant"];
13
+ /** Banner heading. */
14
+ title: string;
15
+ /** Optional supporting copy below the title. */
16
+ description?: React.ReactNode;
17
+ /** Override the default per-variant leading icon. */
18
+ icon?: React.ReactNode;
19
+ /** Show the trailing dismiss button. Default true. */
20
+ dismissible?: boolean;
21
+ /** Controlled visibility. When provided, overrides internal state. */
22
+ visible?: boolean;
23
+ /** Called when the dismiss button is pressed. */
24
+ onDismiss?: () => void;
25
+ };
26
+ /** Dismissible inline status banner colored by intent (info/success/warning/error/neutral). */
27
+ declare function InfoBanner({
28
+ title,
29
+ description,
37
30
  variant,
38
- /** Compact sizing tuned for the group: text (`xs`/`sm`) or square icon (`icon-xs`/`icon-sm`). */
39
- size,
40
- ...props
41
- }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime145.JSX.Element;
42
- /** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
43
- declare function InputGroupText({
44
- className,
45
- ...props
46
- }: React.ComponentProps<"span">): react_jsx_runtime145.JSX.Element;
47
- /** The Input control for the group: borderless and transparent so the group container provides the chrome. */
48
- declare function InputGroupInput({
49
- className,
50
- ...props
51
- }: React.ComponentProps<typeof Input>): react_jsx_runtime145.JSX.Element;
52
- /** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
53
- declare function InputGroupTextarea({
31
+ icon,
32
+ dismissible,
33
+ visible,
34
+ onDismiss,
54
35
  className,
55
36
  ...props
56
- }: React.ComponentProps<"textarea">): react_jsx_runtime145.JSX.Element;
37
+ }: InfoBannerProps): react_jsx_runtime311.JSX.Element | null;
57
38
  //#endregion
58
- export { InputGroupText as a, InputGroupInput as i, InputGroupAddon as n, InputGroupTextarea as o, InputGroupButton as r, InputGroup as t };
39
+ export { InfoBannerProps as n, infoBannerVariants as r, InfoBanner as t };
59
40
  //# sourceMappingURL=index35.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index35.d.ts","names":[],"sources":["../src/primitives/InputGroup/InputGroup.tsx"],"mappings":";;;;;;;;;iBAWS,UAAA;;;;;GAKN,KAAA,CAAM;EALA,OAAA,CAAA,EAAA,SAAU,GAAA,IAAA;CAAA,CAAA,EAK4C,oBAAA,CAAA,GAAA,CAAA,OAL5C;cAqCb,uBApCJ,EAAA,CAAA,KAIO,CAJP,EAAA,CAAA;OAEA,CAAA,EAAA,cAAA,GAAA,YAAA,GAAA,aAAA,GAAA,WAAA,GAAA,IAAA,GAAA,SAAA;IAmDD,+BAAA,CAAA,SAjDQ,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAsD,iBAoDtD,eAAA,CApDsD;EAAA,SAAA;EAAA;OAoDtD;EAAA,GAAA;AAAe,CAAf,EAKN,KAAA,CAAM,cALe,CAAA,KAAA,CAAA,GAKS,YALT,CAAA,OAK6B,uBAL7B,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;cAuBlB,wBAvBkB,EAAA,CAAA,KAGtB,CAHsB,EAAA,CAAA;MACtB,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,SAAA,GAAA,SAAA,GAA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,CAAA,EAAA,GAAA,GAAA,IAAA;;;iBAAV,UAAA,CAGP;EAAA,KAAA;EAAA,WAAA;EAAA,OAAA;EAAA,IAAA;EAAA,WAAA;EAAA,OAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAOC,eAPD,CAAA,EAOgB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAPhB,IAAA"}
@@ -1,43 +1,26 @@
1
- import * as react_jsx_runtime128 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime153 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
3
+ import { VariantProps } from "class-variance-authority";
2
4
  import * as React from "react";
3
- import { OTPInput } from "input-otp";
4
5
 
5
- //#region src/primitives/InputOtp/InputOtp.d.ts
6
- type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
7
- type InputOTPSize = "default" | "lg" | "sm" | "xs";
8
- /** One-time-passcode field: a row of single-character slots backed by a hidden input. */
9
- declare function InputOTP({
6
+ //#region src/primitives/Input/Input.d.ts
7
+ declare const inputVariants: (props?: ({
8
+ variant?: "default" | "ai" | null | undefined;
9
+ size?: "sm" | "lg" | "xs" | "default" | null | undefined;
10
+ shape?: "default" | "round" | null | undefined;
11
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
12
+ /** Styled text input that supports the Figma size and roundness axes; forwards all native `<input>` props. */
13
+ declare function Input({
10
14
  className,
11
- containerClassName,
15
+ type,
16
+ /** Chrome style — `default` bordered field or `ai` (AI gradient border). */
17
+ variant,
18
+ /** Height/typography preset — Mini (`xs`), Small (`sm`), Regular (`default`), or Large (`lg`). */
12
19
  size,
13
- placeholder,
20
+ /** Corner roundness — `default` (12px) or `round` (pill). */
21
+ shape,
14
22
  ...props
15
- }: DistributiveOmit<React.ComponentProps<typeof OTPInput>, "size" | "placeholder"> & {
16
- /** Class applied to the outer flex container that wraps the slot groups. */
17
- containerClassName?: string;
18
- /** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
19
- size?: InputOTPSize;
20
- /** Single character shown in empty slots as a hint until the user types. */
21
- placeholder?: string;
22
- }): react_jsx_runtime128.JSX.Element;
23
- /** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
24
- declare function InputOTPGroup({
25
- className,
26
- ...props
27
- }: React.ComponentProps<"div">): react_jsx_runtime128.JSX.Element;
28
- /** A single character cell rendering its char, active ring, fake caret, and placeholder. */
29
- declare function InputOTPSlot({
30
- index,
31
- className,
32
- ...props
33
- }: React.ComponentProps<"div"> & {
34
- /** Zero-based position of this slot within the input's character buffer. */
35
- index: number;
36
- }): react_jsx_runtime128.JSX.Element;
37
- /** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
38
- declare function InputOTPSeparator({
39
- ...props
40
- }: React.ComponentProps<"div">): react_jsx_runtime128.JSX.Element;
23
+ }: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime153.JSX.Element;
41
24
  //#endregion
42
- export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
25
+ export { inputVariants as n, Input as t };
43
26
  //# sourceMappingURL=index36.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KASK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,oBAAA,CAAA,GAAA,CAAA,OAnCyE;AAAA;AAEzD,iBAuDR,aAAA,CAnCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmC+B,KAAA,CAAM,cAnCrC,CAAA,KAAA,CAAA,CAAA,EAmC0D,oBAAA,CAAA,GAAA,CAAA,OAnC1D;;iBA8CR,YAAA,CA7CP;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAiDC,KAAA,CAAM,cAjDP,CAAA,KAAA,CAAA,GAAA;;OAEA,EAAA,MAAA;IAkDD,oBAAA,CAAA,GAAA,CAAA,OAjDC;;iBAgFO,iBAAA,CA9EiB;EAAA,GAAA;AAAA,CAAA,EA8Ee,KAAA,CAAM,cA9ErB,CAAA,KAAA,CAAA,CAAA,EA8E0C,oBAAA,CAAA,GAAA,CAAA,OA9E1C"}
1
+ {"version":3,"file":"index36.d.cts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,KAAA,CAAK;EAAA,SAAA;EAAA,IAAA;;SAEZ;;;;;EAQM,GAAA;AAAM,CAAA,EAAX,IAAW,CAAN,KAAA,CAAM,cAAA,CAAA,OAAA,CAAA,EAAA,MAAA,CAAA,GAAmC,YAAnC,CAAA,OAAuD,aAAvD,CAAA,CAAA,EAAqE,oBAAA,CAAA,GAAA,CAAA,OAArE"}
package/dist/index36.d.ts CHANGED
@@ -1,43 +1,26 @@
1
+ import { VariantProps } from "class-variance-authority";
1
2
  import * as React from "react";
2
- import * as react_jsx_runtime318 from "react/jsx-runtime";
3
- import { OTPInput } from "input-otp";
3
+ import * as react_jsx_runtime104 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
4
5
 
5
- //#region src/primitives/InputOtp/InputOtp.d.ts
6
- type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
7
- type InputOTPSize = "default" | "lg" | "sm" | "xs";
8
- /** One-time-passcode field: a row of single-character slots backed by a hidden input. */
9
- declare function InputOTP({
6
+ //#region src/primitives/Input/Input.d.ts
7
+ declare const inputVariants: (props?: ({
8
+ variant?: "default" | "ai" | null | undefined;
9
+ size?: "default" | "xs" | "sm" | "lg" | null | undefined;
10
+ shape?: "default" | "round" | null | undefined;
11
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
12
+ /** Styled text input that supports the Figma size and roundness axes; forwards all native `<input>` props. */
13
+ declare function Input({
10
14
  className,
11
- containerClassName,
15
+ type,
16
+ /** Chrome style — `default` bordered field or `ai` (AI gradient border). */
17
+ variant,
18
+ /** Height/typography preset — Mini (`xs`), Small (`sm`), Regular (`default`), or Large (`lg`). */
12
19
  size,
13
- placeholder,
20
+ /** Corner roundness — `default` (12px) or `round` (pill). */
21
+ shape,
14
22
  ...props
15
- }: DistributiveOmit<React.ComponentProps<typeof OTPInput>, "size" | "placeholder"> & {
16
- /** Class applied to the outer flex container that wraps the slot groups. */
17
- containerClassName?: string;
18
- /** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
19
- size?: InputOTPSize;
20
- /** Single character shown in empty slots as a hint until the user types. */
21
- placeholder?: string;
22
- }): react_jsx_runtime318.JSX.Element;
23
- /** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
24
- declare function InputOTPGroup({
25
- className,
26
- ...props
27
- }: React.ComponentProps<"div">): react_jsx_runtime318.JSX.Element;
28
- /** A single character cell rendering its char, active ring, fake caret, and placeholder. */
29
- declare function InputOTPSlot({
30
- index,
31
- className,
32
- ...props
33
- }: React.ComponentProps<"div"> & {
34
- /** Zero-based position of this slot within the input's character buffer. */
35
- index: number;
36
- }): react_jsx_runtime318.JSX.Element;
37
- /** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
38
- declare function InputOTPSeparator({
39
- ...props
40
- }: React.ComponentProps<"div">): react_jsx_runtime318.JSX.Element;
23
+ }: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime104.JSX.Element;
41
24
  //#endregion
42
- export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
25
+ export { inputVariants as n, Input as t };
43
26
  //# sourceMappingURL=index36.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KASK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,oBAAA,CAAA,GAAA,CAAA,OAnCyE;AAAA;AAEzD,iBAuDR,aAAA,CAnCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmC+B,KAAA,CAAM,cAnCrC,CAAA,KAAA,CAAA,CAAA,EAmC0D,oBAAA,CAAA,GAAA,CAAA,OAnC1D;;iBA8CR,YAAA,CA7CP;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAiDC,KAAA,CAAM,cAjDP,CAAA,KAAA,CAAA,GAAA;;OAEA,EAAA,MAAA;IAkDD,oBAAA,CAAA,GAAA,CAAA,OAjDC;;iBAgFO,iBAAA,CA9EiB;EAAA,GAAA;AAAA,CAAA,EA8Ee,KAAA,CAAM,cA9ErB,CAAA,KAAA,CAAA,CAAA,EA8E0C,oBAAA,CAAA,GAAA,CAAA,OA9E1C"}
1
+ {"version":3,"file":"index36.d.ts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAGQ,KAAA,CAAK;EAAA,SAAA;EAAA,IAAA;;SAEZ;;;;;EAQM,GAAA;AAAM,CAAA,EAAX,IAAW,CAAN,KAAA,CAAM,cAAA,CAAA,OAAA,CAAA,EAAA,MAAA,CAAA,GAAmC,YAAnC,CAAA,OAAuD,aAAvD,CAAA,CAAA,EAAqE,oBAAA,CAAA,GAAA,CAAA,OAArE"}
@@ -1,77 +1,59 @@
1
- import { t as Separator } from "./index9.cjs";
2
- import * as react_jsx_runtime100 from "react/jsx-runtime";
3
- import * as class_variance_authority_types12 from "class-variance-authority/types";
1
+ import { t as Button } from "./index8.cjs";
2
+ import { t as Input } from "./index36.cjs";
3
+ import * as react_jsx_runtime163 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types9 from "class-variance-authority/types";
4
5
  import { VariantProps } from "class-variance-authority";
5
6
  import * as React from "react";
6
7
 
7
- //#region src/primitives/Item/Item.d.ts
8
- /** Vertical list container that groups related `Item`s (role="list"). */
9
- declare function ItemGroup({
8
+ //#region src/primitives/InputGroup/InputGroup.d.ts
9
+ /** Bordered container that groups a control (input/textarea) with addons, buttons, and text into one focusable field. */
10
+ declare function InputGroup({
10
11
  className,
11
- ...props
12
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
13
- /** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
14
- declare function ItemSeparator({
15
- className,
16
- ...props
17
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime100.JSX.Element;
18
- declare const itemVariants: (props?: ({
19
- variant?: "default" | "outline" | "muted" | null | undefined;
20
- size?: "default" | "sm" | null | undefined;
21
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
22
- /** A flexible list/row primitive composing media, content, and actions into a single line. */
23
- declare function Item({
24
- className,
25
- /** Visual treatment of the row surface. */
12
+ /** Chrome style — `default` bordered group or `ai` (AI gradient border). */
26
13
  variant,
27
- /** Vertical density / padding of the row. */
28
- size,
29
- /** Render as the child element (e.g. an anchor) via Radix `Slot` instead of a `div`. */
30
- asChild,
31
14
  ...props
32
- }: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
33
- asChild?: boolean;
34
- }): react_jsx_runtime100.JSX.Element;
35
- declare const itemMediaVariants: (props?: ({
36
- variant?: "default" | "image" | "icon" | null | undefined;
37
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
38
- /** Leading media slot for an `Item` holds an icon, image, or avatar. */
39
- declare function ItemMedia({
40
- className,
41
- /** Media framing: bare, a bordered icon tile, or a clipped image box. */
15
+ }: React.ComponentProps<"div"> & {
16
+ variant?: "default" | "ai";
17
+ }): react_jsx_runtime163.JSX.Element;
18
+ declare const inputGroupAddonVariants: (props?: ({
19
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
20
+ } & class_variance_authority_types9.ClassProp) | undefined) => string;
21
+ /** A leading/trailing or stacked slot for icons, text, or buttons; clicking it focuses the group's input. */
22
+ declare function InputGroupAddon({
23
+ className,
24
+ /** Where the addon sits relative to the control: inline (left/right) or block (top/bottom). */
25
+ align,
26
+ ...props
27
+ }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime163.JSX.Element;
28
+ declare const inputGroupButtonVariants: (props?: ({
29
+ size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
30
+ } & class_variance_authority_types9.ClassProp) | undefined) => string;
31
+ /** A compact Button sized to sit inside an addon without overflowing the group's height. */
32
+ declare function InputGroupButton({
33
+ className,
34
+ /** The button's HTML type; defaults to `"button"` so it does not submit forms. */
35
+ type,
36
+ /** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
42
37
  variant,
38
+ /** Compact sizing tuned for the group: text (`xs`/`sm`) or square icon (`icon-xs`/`icon-sm`). */
39
+ size,
43
40
  ...props
44
- }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime100.JSX.Element;
45
- /** Primary content column of an `Item`, stacking title and description. */
46
- declare function ItemContent({
47
- className,
48
- ...props
49
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
50
- /** Emphasised title line within `ItemContent`. */
51
- declare function ItemTitle({
52
- className,
53
- ...props
54
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
55
- /** Muted, line-clamped supporting text within `ItemContent`. */
56
- declare function ItemDescription({
57
- className,
58
- ...props
59
- }: React.ComponentProps<"p">): react_jsx_runtime100.JSX.Element;
60
- /** Trailing actions slot of an `Item` — holds buttons or controls. */
61
- declare function ItemActions({
41
+ }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime163.JSX.Element;
42
+ /** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
43
+ declare function InputGroupText({
62
44
  className,
63
45
  ...props
64
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
65
- /** Full-width header row spanning the top of an `Item`. */
66
- declare function ItemHeader({
46
+ }: React.ComponentProps<"span">): react_jsx_runtime163.JSX.Element;
47
+ /** The Input control for the group: borderless and transparent so the group container provides the chrome. */
48
+ declare function InputGroupInput({
67
49
  className,
68
50
  ...props
69
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
70
- /** Full-width footer row spanning the bottom of an `Item`. */
71
- declare function ItemFooter({
51
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime163.JSX.Element;
52
+ /** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
53
+ declare function InputGroupTextarea({
72
54
  className,
73
55
  ...props
74
- }: React.ComponentProps<"div">): react_jsx_runtime100.JSX.Element;
56
+ }: React.ComponentProps<"textarea">): react_jsx_runtime163.JSX.Element;
75
57
  //#endregion
76
- export { ItemFooter as a, ItemMedia as c, ItemDescription as i, ItemSeparator as l, ItemActions as n, ItemGroup as o, ItemContent as r, ItemHeader as s, Item as t, ItemTitle as u };
58
+ export { InputGroupText as a, InputGroupInput as i, InputGroupAddon as n, InputGroupTextarea as o, InputGroupButton as r, InputGroup as t };
77
59
  //# sourceMappingURL=index37.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index37.d.cts","names":[],"sources":["../src/primitives/Item/Item.tsx"],"mappings":";;;;;;;;iBAQS,SAAA;;;GAAmC,KAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;;iBAY9D,aAAA;;;GAAuC,KAAA,CAAM,sBAAsB,aAAU,oBAAA,CAAA,GAAA,CAAA;AAhBnC,cA2B7C,YAvBY,EAAA,CAAA,KAAgC,CAAhC,EAAA,CAAA;EAAA,OAAA,CAAA,EAAA,SAAA,GAAA,SAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;MAAG,CAAA,EAAA,SAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA0CpB,gCAAA,CAAA,SA1CiD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAqB,iBA6C9D,IAAA,CA7C8D;EAAA,SAAA;EAAA;SAYjD;;;;SAAgE;EAAA,GAAA;AAAA,CAAA,EA0CnF,KAAA,CAAM,cA1C6E,CAAA,KAAA,CAAA,GA0CrD,YA1CqD,CAAA,OA0CjC,YA1CiC,CAAA,GAAA;EAAA,OAAA,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EA0CI,oBAAA,CAAA,GAAA,CAAA,OAZzF;cAyBK,iBAtBO,EAAA,CAAA,KACX,CADW,EAAA,CAAA;EAAA,OAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAoCZ,gCAAA,CAAA,SAnCC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBAsCO,SAAA,CAlCP;EAAA,SAAA;;SAIC;EAAA,GAAA;AAAM,CAAA,E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BlF;;iBA2CO,kBAAA,CAzCK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCuC,KAAA,CAAM,cAzC7C,CAAA,UAAA,CAAA,CAAA,EAyCuE,oBAAA,CAAA,GAAA,CAAA,OAzCvE"}
package/dist/index37.d.ts CHANGED
@@ -1,77 +1,59 @@
1
- import { t as Separator } from "./index9.js";
1
+ import { t as Button } from "./index8.js";
2
+ import { t as Input } from "./index36.js";
2
3
  import { VariantProps } from "class-variance-authority";
3
4
  import * as React from "react";
4
- import * as react_jsx_runtime115 from "react/jsx-runtime";
5
- import * as class_variance_authority_types7 from "class-variance-authority/types";
5
+ import * as react_jsx_runtime159 from "react/jsx-runtime";
6
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
6
7
 
7
- //#region src/primitives/Item/Item.d.ts
8
- /** Vertical list container that groups related `Item`s (role="list"). */
9
- declare function ItemGroup({
8
+ //#region src/primitives/InputGroup/InputGroup.d.ts
9
+ /** Bordered container that groups a control (input/textarea) with addons, buttons, and text into one focusable field. */
10
+ declare function InputGroup({
10
11
  className,
11
- ...props
12
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
13
- /** Horizontal divider rendered between `Item`s inside an `ItemGroup`. */
14
- declare function ItemSeparator({
15
- className,
16
- ...props
17
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime115.JSX.Element;
18
- declare const itemVariants: (props?: ({
19
- variant?: "default" | "outline" | "muted" | null | undefined;
20
- size?: "sm" | "default" | null | undefined;
21
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
22
- /** A flexible list/row primitive composing media, content, and actions into a single line. */
23
- declare function Item({
24
- className,
25
- /** Visual treatment of the row surface. */
12
+ /** Chrome style — `default` bordered group or `ai` (AI gradient border). */
26
13
  variant,
27
- /** Vertical density / padding of the row. */
28
- size,
29
- /** Render as the child element (e.g. an anchor) via Radix `Slot` instead of a `div`. */
30
- asChild,
31
14
  ...props
32
- }: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
33
- asChild?: boolean;
34
- }): react_jsx_runtime115.JSX.Element;
35
- declare const itemMediaVariants: (props?: ({
36
- variant?: "default" | "image" | "icon" | null | undefined;
37
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
38
- /** Leading media slot for an `Item` holds an icon, image, or avatar. */
39
- declare function ItemMedia({
40
- className,
41
- /** Media framing: bare, a bordered icon tile, or a clipped image box. */
15
+ }: React.ComponentProps<"div"> & {
16
+ variant?: "default" | "ai";
17
+ }): react_jsx_runtime159.JSX.Element;
18
+ declare const inputGroupAddonVariants: (props?: ({
19
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
20
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
21
+ /** A leading/trailing or stacked slot for icons, text, or buttons; clicking it focuses the group's input. */
22
+ declare function InputGroupAddon({
23
+ className,
24
+ /** Where the addon sits relative to the control: inline (left/right) or block (top/bottom). */
25
+ align,
26
+ ...props
27
+ }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime159.JSX.Element;
28
+ declare const inputGroupButtonVariants: (props?: ({
29
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
30
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
31
+ /** A compact Button sized to sit inside an addon without overflowing the group's height. */
32
+ declare function InputGroupButton({
33
+ className,
34
+ /** The button's HTML type; defaults to `"button"` so it does not submit forms. */
35
+ type,
36
+ /** Visual style forwarded to the underlying Button; defaults to `"ghost"`. */
42
37
  variant,
38
+ /** Compact sizing tuned for the group: text (`xs`/`sm`) or square icon (`icon-xs`/`icon-sm`). */
39
+ size,
43
40
  ...props
44
- }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime115.JSX.Element;
45
- /** Primary content column of an `Item`, stacking title and description. */
46
- declare function ItemContent({
47
- className,
48
- ...props
49
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
50
- /** Emphasised title line within `ItemContent`. */
51
- declare function ItemTitle({
52
- className,
53
- ...props
54
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
55
- /** Muted, line-clamped supporting text within `ItemContent`. */
56
- declare function ItemDescription({
57
- className,
58
- ...props
59
- }: React.ComponentProps<"p">): react_jsx_runtime115.JSX.Element;
60
- /** Trailing actions slot of an `Item` — holds buttons or controls. */
61
- declare function ItemActions({
41
+ }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime159.JSX.Element;
42
+ /** Muted inline text for prefixes, suffixes, or counts placed inside an addon (e.g. `$`, `USD`, `12 results`). */
43
+ declare function InputGroupText({
62
44
  className,
63
45
  ...props
64
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
65
- /** Full-width header row spanning the top of an `Item`. */
66
- declare function ItemHeader({
46
+ }: React.ComponentProps<"span">): react_jsx_runtime159.JSX.Element;
47
+ /** The Input control for the group: borderless and transparent so the group container provides the chrome. */
48
+ declare function InputGroupInput({
67
49
  className,
68
50
  ...props
69
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
70
- /** Full-width footer row spanning the bottom of an `Item`. */
71
- declare function ItemFooter({
51
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime159.JSX.Element;
52
+ /** The Textarea control for the group: borderless, transparent, and non-resizing so the group provides the chrome. */
53
+ declare function InputGroupTextarea({
72
54
  className,
73
55
  ...props
74
- }: React.ComponentProps<"div">): react_jsx_runtime115.JSX.Element;
56
+ }: React.ComponentProps<"textarea">): react_jsx_runtime159.JSX.Element;
75
57
  //#endregion
76
- export { ItemFooter as a, ItemMedia as c, ItemDescription as i, ItemSeparator as l, ItemActions as n, ItemGroup as o, ItemContent as r, ItemHeader as s, Item as t, ItemTitle as u };
58
+ export { InputGroupText as a, InputGroupInput as i, InputGroupAddon as n, InputGroupTextarea as o, InputGroupButton as r, InputGroup as t };
77
59
  //# sourceMappingURL=index37.d.ts.map
@@ -1 +1 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"react/jsx-runtime";
1
+ import * as react_jsx_runtime155 from "react/jsx-runtime";
2
2
  import * as React from "react";
3
+ import { OTPInput } from "input-otp";
3
4
 
4
- //#region src/primitives/Kbd/Kbd.d.ts
5
- /** A small key cap that renders a single keyboard key or symbol (e.g. ⌘, Ctrl, ↩). */
6
- declare function Kbd({
7
- /** Extra classes merged onto the key cap. */
5
+ //#region src/primitives/InputOtp/InputOtp.d.ts
6
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
7
+ type InputOTPSize = "default" | "lg" | "sm" | "xs";
8
+ /** One-time-passcode field: a row of single-character slots backed by a hidden input. */
9
+ declare function InputOTP({
8
10
  className,
11
+ containerClassName,
12
+ size,
13
+ placeholder,
9
14
  ...props
10
- }: React.ComponentProps<"kbd">): react_jsx_runtime93.JSX.Element;
11
- /** Lays out multiple `Kbd` keys (and separators) inline as a single shortcut combo. */
12
- declare function KbdGroup({
13
- /** Extra classes merged onto the group wrapper. */
15
+ }: DistributiveOmit<React.ComponentProps<typeof OTPInput>, "size" | "placeholder"> & {
16
+ /** Class applied to the outer flex container that wraps the slot groups. */
17
+ containerClassName?: string;
18
+ /** Slot dimensions and type scale: Mini 24px / Small 32px / Default 36px / Large 40px. */
19
+ size?: InputOTPSize;
20
+ /** Single character shown in empty slots as a hint until the user types. */
21
+ placeholder?: string;
22
+ }): react_jsx_runtime155.JSX.Element;
23
+ /** Visual cluster of adjacent slots; use multiple groups around an `InputOTPSeparator`. */
24
+ declare function InputOTPGroup({
14
25
  className,
15
26
  ...props
16
- }: React.ComponentProps<"div">): react_jsx_runtime93.JSX.Element;
27
+ }: React.ComponentProps<"div">): react_jsx_runtime155.JSX.Element;
28
+ /** A single character cell rendering its char, active ring, fake caret, and placeholder. */
29
+ declare function InputOTPSlot({
30
+ index,
31
+ className,
32
+ ...props
33
+ }: React.ComponentProps<"div"> & {
34
+ /** Zero-based position of this slot within the input's character buffer. */
35
+ index: number;
36
+ }): react_jsx_runtime155.JSX.Element;
37
+ /** Decorative divider (a minus icon) placed between two `InputOTPGroup`s. */
38
+ declare function InputOTPSeparator({
39
+ ...props
40
+ }: React.ComponentProps<"div">): react_jsx_runtime155.JSX.Element;
17
41
  //#endregion
18
- export { KbdGroup as n, Kbd as t };
42
+ export { InputOTPSlot as i, InputOTPGroup as n, InputOTPSeparator as r, InputOTP as t };
19
43
  //# sourceMappingURL=index38.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index38.d.cts","names":[],"sources":["../src/primitives/Kbd/Kbd.tsx"],"mappings":";;;;;iBAKS,GAAA;;EAL2B,SAK3B;EAAG,GAAA;AAAA,CAAA,EAIT,KAAA,CAAM,cAJG,CAAA,KAAA,CAAA,CAAA,EAIkB,mBAAA,CAAA,GAAA,CAAA,OAJlB;;iBAoBH,QAAA,CAlBP;;WAE4B;EAAA,GAAA;AAAA,CAAA,EAoB3B,KAAA,CAAM,cApBqB,CAAA,KAAA,CAAA,CAAA,EAoBA,mBAAA,CAAA,GAAA,CAAA,OApBA"}
1
+ {"version":3,"file":"index38.d.cts","names":[],"sources":["../src/primitives/InputOtp/InputOtp.tsx"],"mappings":";;;;;KASK,8BAA8B,eAAe,oBAAoB,KAAK,GAAG;KAEzE,YAAA;;AAN0B,iBA0BtB,QAAA,CAtBY;EAAA,SAAA;EAAA,kBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAqD,CAArD,EA4BlB,gBA5BkB,CA4BD,KAAA,CAAM,cA5BL,CAAA,OA4B2B,QA5B3B,CAAA,EAAA,MAAA,GAAA,aAAA,CAAA,GAAA;EAAA;oBAAc,CAAA,EAAA,MAAA;;MAAwC,CAAA,EAgClE,YAhCkE;;aAAL,CAAA,EAAA,MAAA;AAAI,CAAA,CAAA,EAmCzE,oBAAA,CAAA,GAAA,CAAA,OAnCyE;AAAA;AAEzD,iBAuDR,aAAA,CAnCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmC+B,KAAA,CAAM,cAnCrC,C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