@psnext/design-system 2.4.0 → 2.5.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 (479) hide show
  1. package/DESIGN.md +27 -4
  2. package/SKILL.md +1 -1
  3. package/dist/Header.cjs +1 -1
  4. package/dist/Header.cjs.map +1 -1
  5. package/dist/Header.js +1 -1
  6. package/dist/Header.js.map +1 -1
  7. package/dist/Mosaic.cjs +472 -0
  8. package/dist/Mosaic.cjs.map +1 -0
  9. package/dist/Mosaic.js +459 -0
  10. package/dist/Mosaic.js.map +1 -0
  11. package/dist/index.cjs +13 -2
  12. package/dist/index.d.cts +5 -5
  13. package/dist/index.d.cts.map +1 -1
  14. package/dist/index.d.ts +5 -5
  15. package/dist/index.js +7 -3
  16. package/dist/index10.d.cts +6 -6
  17. package/dist/index10.d.cts.map +1 -1
  18. package/dist/index10.d.ts +6 -6
  19. package/dist/index11.d.cts +3 -3
  20. package/dist/index11.d.ts +3 -3
  21. package/dist/index12.d.cts +12 -12
  22. package/dist/index12.d.cts.map +1 -1
  23. package/dist/index12.d.ts +12 -12
  24. package/dist/index13.d.cts +6 -6
  25. package/dist/index13.d.cts.map +1 -1
  26. package/dist/index13.d.ts +6 -6
  27. package/dist/index14.d.cts +5 -5
  28. package/dist/index14.d.ts +5 -5
  29. package/dist/index15.d.cts +58 -23
  30. package/dist/index15.d.cts.map +1 -1
  31. package/dist/index15.d.ts +58 -23
  32. package/dist/index15.d.ts.map +1 -1
  33. package/dist/index16.d.cts +23 -32
  34. package/dist/index16.d.cts.map +1 -1
  35. package/dist/index16.d.ts +23 -32
  36. package/dist/index16.d.ts.map +1 -1
  37. package/dist/index17.d.cts +34 -15
  38. package/dist/index17.d.cts.map +1 -1
  39. package/dist/index17.d.ts +34 -15
  40. package/dist/index17.d.ts.map +1 -1
  41. package/dist/index18.d.cts +13 -67
  42. package/dist/index18.d.cts.map +1 -1
  43. package/dist/index18.d.ts +13 -67
  44. package/dist/index18.d.ts.map +1 -1
  45. package/dist/index19.d.cts +55 -48
  46. package/dist/index19.d.cts.map +1 -1
  47. package/dist/index19.d.ts +55 -48
  48. package/dist/index19.d.ts.map +1 -1
  49. package/dist/index2.d.cts +8 -8
  50. package/dist/index2.d.cts.map +1 -1
  51. package/dist/index2.d.ts +8 -8
  52. package/dist/index2.d.ts.map +1 -1
  53. package/dist/index20.d.cts +45 -75
  54. package/dist/index20.d.cts.map +1 -1
  55. package/dist/index20.d.ts +45 -75
  56. package/dist/index20.d.ts.map +1 -1
  57. package/dist/index21.d.cts +90 -28
  58. package/dist/index21.d.cts.map +1 -1
  59. package/dist/index21.d.ts +90 -28
  60. package/dist/index21.d.ts.map +1 -1
  61. package/dist/index22.d.cts +28 -56
  62. package/dist/index22.d.cts.map +1 -1
  63. package/dist/index22.d.ts +28 -56
  64. package/dist/index22.d.ts.map +1 -1
  65. package/dist/index23.d.cts +53 -78
  66. package/dist/index23.d.cts.map +1 -1
  67. package/dist/index23.d.ts +53 -78
  68. package/dist/index23.d.ts.map +1 -1
  69. package/dist/index24.d.cts +83 -33
  70. package/dist/index24.d.cts.map +1 -1
  71. package/dist/index24.d.ts +83 -33
  72. package/dist/index24.d.ts.map +1 -1
  73. package/dist/index25.d.cts +43 -11
  74. package/dist/index25.d.cts.map +1 -1
  75. package/dist/index25.d.ts +43 -11
  76. package/dist/index25.d.ts.map +1 -1
  77. package/dist/index26.d.cts +11 -74
  78. package/dist/index26.d.cts.map +1 -1
  79. package/dist/index26.d.ts +11 -74
  80. package/dist/index26.d.ts.map +1 -1
  81. package/dist/index27.d.cts +68 -59
  82. package/dist/index27.d.cts.map +1 -1
  83. package/dist/index27.d.ts +68 -59
  84. package/dist/index27.d.ts.map +1 -1
  85. package/dist/index28.d.cts +47 -30
  86. package/dist/index28.d.cts.map +1 -1
  87. package/dist/index28.d.ts +47 -30
  88. package/dist/index28.d.ts.map +1 -1
  89. package/dist/index29.d.cts +63 -17
  90. package/dist/index29.d.cts.map +1 -1
  91. package/dist/index29.d.ts +63 -17
  92. package/dist/index29.d.ts.map +1 -1
  93. package/dist/index3.d.cts +13 -13
  94. package/dist/index3.d.cts.map +1 -1
  95. package/dist/index3.d.ts +13 -13
  96. package/dist/index30.d.cts +29 -80
  97. package/dist/index30.d.cts.map +1 -1
  98. package/dist/index30.d.ts +29 -80
  99. package/dist/index30.d.ts.map +1 -1
  100. package/dist/index31.d.cts +19 -34
  101. package/dist/index31.d.cts.map +1 -1
  102. package/dist/index31.d.ts +19 -34
  103. package/dist/index31.d.ts.map +1 -1
  104. package/dist/index32.d.cts +80 -18
  105. package/dist/index32.d.cts.map +1 -1
  106. package/dist/index32.d.ts +79 -17
  107. package/dist/index32.d.ts.map +1 -1
  108. package/dist/index33.d.cts +32 -51
  109. package/dist/index33.d.cts.map +1 -1
  110. package/dist/index33.d.ts +32 -51
  111. package/dist/index33.d.ts.map +1 -1
  112. package/dist/index34.d.cts +19 -36
  113. package/dist/index34.d.cts.map +1 -1
  114. package/dist/index34.d.ts +19 -36
  115. package/dist/index34.d.ts.map +1 -1
  116. package/dist/index35.d.cts +43 -61
  117. package/dist/index35.d.cts.map +1 -1
  118. package/dist/index35.d.ts +43 -61
  119. package/dist/index35.d.ts.map +1 -1
  120. package/dist/index36.d.cts +35 -11
  121. package/dist/index36.d.cts.map +1 -1
  122. package/dist/index36.d.ts +35 -11
  123. package/dist/index36.d.ts.map +1 -1
  124. package/dist/index37.d.cts +68 -20
  125. package/dist/index37.d.cts.map +1 -1
  126. package/dist/index37.d.ts +68 -20
  127. package/dist/index37.d.ts.map +1 -1
  128. package/dist/index38.d.cts +14 -15
  129. package/dist/index38.d.cts.map +1 -1
  130. package/dist/index38.d.ts +14 -15
  131. package/dist/index38.d.ts.map +1 -1
  132. package/dist/index39.d.cts +22 -98
  133. package/dist/index39.d.cts.map +1 -1
  134. package/dist/index39.d.ts +22 -98
  135. package/dist/index39.d.ts.map +1 -1
  136. package/dist/index4.d.cts +2 -2
  137. package/dist/index4.d.cts.map +1 -1
  138. package/dist/index4.d.ts +2 -2
  139. package/dist/index4.d.ts.map +1 -1
  140. package/dist/index40.d.cts +15 -17
  141. package/dist/index40.d.cts.map +1 -1
  142. package/dist/index40.d.ts +15 -17
  143. package/dist/index40.d.ts.map +1 -1
  144. package/dist/index41.d.cts +84 -35
  145. package/dist/index41.d.cts.map +1 -1
  146. package/dist/index41.d.ts +84 -35
  147. package/dist/index41.d.ts.map +1 -1
  148. package/dist/index42.d.cts +118 -38
  149. package/dist/index42.d.cts.map +1 -1
  150. package/dist/index42.d.ts +118 -38
  151. package/dist/index42.d.ts.map +1 -1
  152. package/dist/index43.d.cts +15 -89
  153. package/dist/index43.d.cts.map +1 -1
  154. package/dist/index43.d.ts +15 -89
  155. package/dist/index43.d.ts.map +1 -1
  156. package/dist/index44.d.cts +56 -1
  157. package/dist/index44.d.cts.map +1 -0
  158. package/dist/index44.d.ts +56 -1
  159. package/dist/index44.d.ts.map +1 -0
  160. package/dist/index45.d.cts +31 -34
  161. package/dist/index45.d.cts.map +1 -1
  162. package/dist/index45.d.ts +31 -34
  163. package/dist/index45.d.ts.map +1 -1
  164. package/dist/index46.d.cts +89 -21
  165. package/dist/index46.d.cts.map +1 -1
  166. package/dist/index46.d.ts +89 -21
  167. package/dist/index46.d.ts.map +1 -1
  168. package/dist/index47.d.cts +1 -41
  169. package/dist/index47.d.ts +1 -41
  170. package/dist/index48.d.cts +122 -20
  171. package/dist/index48.d.cts.map +1 -1
  172. package/dist/index48.d.ts +122 -20
  173. package/dist/index48.d.ts.map +1 -1
  174. package/dist/index49.d.cts +40 -13
  175. package/dist/index49.d.cts.map +1 -1
  176. package/dist/index49.d.ts +40 -13
  177. package/dist/index49.d.ts.map +1 -1
  178. package/dist/index5.d.cts +7 -7
  179. package/dist/index5.d.cts.map +1 -1
  180. package/dist/index5.d.ts +7 -7
  181. package/dist/index50.d.cts +22 -63
  182. package/dist/index50.d.cts.map +1 -1
  183. package/dist/index50.d.ts +22 -63
  184. package/dist/index50.d.ts.map +1 -1
  185. package/dist/index51.d.cts +33 -55
  186. package/dist/index51.d.cts.map +1 -1
  187. package/dist/index51.d.ts +33 -55
  188. package/dist/index51.d.ts.map +1 -1
  189. package/dist/index52.d.cts +18 -24
  190. package/dist/index52.d.cts.map +1 -1
  191. package/dist/index52.d.ts +18 -24
  192. package/dist/index52.d.ts.map +1 -1
  193. package/dist/index53.d.cts +12 -200
  194. package/dist/index53.d.cts.map +1 -1
  195. package/dist/index53.d.ts +12 -200
  196. package/dist/index53.d.ts.map +1 -1
  197. package/dist/index54.d.cts +58 -15
  198. package/dist/index54.d.cts.map +1 -1
  199. package/dist/index54.d.ts +58 -15
  200. package/dist/index54.d.ts.map +1 -1
  201. package/dist/index55.d.cts +93 -23
  202. package/dist/index55.d.cts.map +1 -1
  203. package/dist/index55.d.ts +93 -23
  204. package/dist/index55.d.ts.map +1 -1
  205. package/dist/index56.d.cts +27 -21
  206. package/dist/index56.d.cts.map +1 -1
  207. package/dist/index56.d.ts +27 -21
  208. package/dist/index56.d.ts.map +1 -1
  209. package/dist/index57.d.cts +203 -6
  210. package/dist/index57.d.cts.map +1 -1
  211. package/dist/index57.d.ts +203 -6
  212. package/dist/index57.d.ts.map +1 -1
  213. package/dist/index58.d.cts +17 -41
  214. package/dist/index58.d.cts.map +1 -1
  215. package/dist/index58.d.ts +17 -41
  216. package/dist/index58.d.ts.map +1 -1
  217. package/dist/index59.d.cts +24 -47
  218. package/dist/index59.d.cts.map +1 -1
  219. package/dist/index59.d.ts +24 -47
  220. package/dist/index59.d.ts.map +1 -1
  221. package/dist/index6.d.cts +5 -5
  222. package/dist/index6.d.cts.map +1 -1
  223. package/dist/index6.d.ts +5 -5
  224. package/dist/index60.d.cts +19 -57
  225. package/dist/index60.d.cts.map +1 -1
  226. package/dist/index60.d.ts +19 -57
  227. package/dist/index60.d.ts.map +1 -1
  228. package/dist/index61.d.cts +6 -39
  229. package/dist/index61.d.cts.map +1 -1
  230. package/dist/index61.d.ts +6 -39
  231. package/dist/index61.d.ts.map +1 -1
  232. package/dist/index62.d.cts +44 -18
  233. package/dist/index62.d.cts.map +1 -1
  234. package/dist/index62.d.ts +44 -18
  235. package/dist/index62.d.ts.map +1 -1
  236. package/dist/index63.d.cts +47 -41
  237. package/dist/index63.d.cts.map +1 -1
  238. package/dist/index63.d.ts +47 -41
  239. package/dist/index63.d.ts.map +1 -1
  240. package/dist/index64.d.cts +55 -15
  241. package/dist/index64.d.cts.map +1 -1
  242. package/dist/index64.d.ts +55 -15
  243. package/dist/index64.d.ts.map +1 -1
  244. package/dist/index65.d.cts +36 -39
  245. package/dist/index65.d.cts.map +1 -1
  246. package/dist/index65.d.ts +36 -39
  247. package/dist/index65.d.ts.map +1 -1
  248. package/dist/index66.d.cts +16 -17
  249. package/dist/index66.d.cts.map +1 -1
  250. package/dist/index66.d.ts +16 -17
  251. package/dist/index66.d.ts.map +1 -1
  252. package/dist/index67.d.cts +38 -84
  253. package/dist/index67.d.cts.map +1 -1
  254. package/dist/index67.d.ts +38 -84
  255. package/dist/index67.d.ts.map +1 -1
  256. package/dist/index68.d.cts +17 -13
  257. package/dist/index68.d.cts.map +1 -1
  258. package/dist/index68.d.ts +17 -13
  259. package/dist/index68.d.ts.map +1 -1
  260. package/dist/index69.d.cts +41 -30
  261. package/dist/index69.d.cts.map +1 -1
  262. package/dist/index69.d.ts +41 -30
  263. package/dist/index69.d.ts.map +1 -1
  264. package/dist/index7.d.cts +8 -8
  265. package/dist/index7.d.ts +8 -8
  266. package/dist/index7.d.ts.map +1 -1
  267. package/dist/index70.d.cts +17 -28
  268. package/dist/index70.d.cts.map +1 -1
  269. package/dist/index70.d.ts +17 -28
  270. package/dist/index70.d.ts.map +1 -1
  271. package/dist/index71.d.cts +88 -79
  272. package/dist/index71.d.cts.map +1 -1
  273. package/dist/index71.d.ts +88 -79
  274. package/dist/index71.d.ts.map +1 -1
  275. package/dist/index72.d.cts +13 -272
  276. package/dist/index72.d.cts.map +1 -1
  277. package/dist/index72.d.ts +13 -272
  278. package/dist/index72.d.ts.map +1 -1
  279. package/dist/index73.d.cts +37 -0
  280. package/dist/index73.d.cts.map +1 -0
  281. package/dist/index73.d.ts +37 -0
  282. package/dist/index73.d.ts.map +1 -0
  283. package/dist/index74.d.cts +36 -0
  284. package/dist/index74.d.cts.map +1 -0
  285. package/dist/index74.d.ts +36 -0
  286. package/dist/index74.d.ts.map +1 -0
  287. package/dist/index75.d.cts +86 -0
  288. package/dist/index75.d.cts.map +1 -0
  289. package/dist/index75.d.ts +86 -0
  290. package/dist/index75.d.ts.map +1 -0
  291. package/dist/index76.d.cts +278 -0
  292. package/dist/index76.d.cts.map +1 -0
  293. package/dist/index76.d.ts +278 -0
  294. package/dist/index76.d.ts.map +1 -0
  295. package/dist/index8.d.cts +4 -4
  296. package/dist/index8.d.cts.map +1 -1
  297. package/dist/index8.d.ts +4 -4
  298. package/dist/index9.d.cts +2 -2
  299. package/dist/index9.d.cts.map +1 -1
  300. package/dist/index9.d.ts +2 -2
  301. package/dist/layouts/Container/index.d.cts +1 -1
  302. package/dist/layouts/Container/index.d.ts +1 -1
  303. package/dist/layouts/MultiColumn/index.d.cts +1 -1
  304. package/dist/layouts/MultiColumn/index.d.ts +1 -1
  305. package/dist/layouts/PageBackground/index.d.cts +1 -1
  306. package/dist/layouts/PageBackground/index.d.ts +1 -1
  307. package/dist/layouts/Stack/index.d.cts +1 -1
  308. package/dist/layouts/Stack/index.d.ts +1 -1
  309. package/dist/layouts/TwoColumn/index.d.cts +1 -1
  310. package/dist/layouts/TwoColumn/index.d.ts +1 -1
  311. package/dist/layouts/index.d.cts +5 -5
  312. package/dist/layouts/index.d.ts +5 -5
  313. package/dist/patterns/DataTable/index.d.cts +3 -3
  314. package/dist/patterns/DataTable/index.d.cts.map +1 -1
  315. package/dist/patterns/DataTable/index.d.ts +3 -3
  316. package/dist/patterns/Footer/index.d.cts +7 -7
  317. package/dist/patterns/Footer/index.d.ts +7 -7
  318. package/dist/patterns/Header/index.d.cts +1 -1
  319. package/dist/patterns/Header/index.d.ts +1 -1
  320. package/dist/patterns/MediaObject/index.d.cts +14 -14
  321. package/dist/patterns/MediaObject/index.d.cts.map +1 -1
  322. package/dist/patterns/MediaObject/index.d.ts +13 -13
  323. package/dist/patterns/NavRail/index.d.cts +1 -1
  324. package/dist/patterns/NavRail/index.d.ts +1 -1
  325. package/dist/patterns/SectionCard/index.d.cts +2 -2
  326. package/dist/patterns/SectionCard/index.d.cts.map +1 -1
  327. package/dist/patterns/SectionCard/index.d.ts +2 -2
  328. package/dist/patterns/SectionCard/index.d.ts.map +1 -1
  329. package/dist/patterns/SectionHeading/index.d.cts +3 -3
  330. package/dist/patterns/SectionHeading/index.d.cts.map +1 -1
  331. package/dist/patterns/SectionHeading/index.d.ts +3 -3
  332. package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
  333. package/dist/patterns/index.d.cts +2 -2
  334. package/dist/patterns/index.d.ts +2 -2
  335. package/dist/primitives/Checkbox/index.cjs +1 -1
  336. package/dist/primitives/Checkbox/index.cjs.map +1 -1
  337. package/dist/primitives/Checkbox/index.d.cts +1 -1
  338. package/dist/primitives/Checkbox/index.d.ts +1 -1
  339. package/dist/primitives/Checkbox/index.js +1 -1
  340. package/dist/primitives/Checkbox/index.js.map +1 -1
  341. package/dist/primitives/CheckboxTree/index.d.cts +1 -1
  342. package/dist/primitives/CheckboxTree/index.d.ts +1 -1
  343. package/dist/primitives/CircularProgress/index.cjs +106 -0
  344. package/dist/primitives/CircularProgress/index.cjs.map +1 -0
  345. package/dist/primitives/CircularProgress/index.d.cts +2 -0
  346. package/dist/primitives/CircularProgress/index.d.ts +2 -0
  347. package/dist/primitives/CircularProgress/index.js +105 -0
  348. package/dist/primitives/CircularProgress/index.js.map +1 -0
  349. package/dist/primitives/Collapsible/index.d.cts +1 -1
  350. package/dist/primitives/Collapsible/index.d.ts +1 -1
  351. package/dist/primitives/Command/index.d.cts +1 -1
  352. package/dist/primitives/Command/index.d.ts +1 -1
  353. package/dist/primitives/ContextMenu/index.d.cts +1 -1
  354. package/dist/primitives/ContextMenu/index.d.ts +1 -1
  355. package/dist/primitives/Credits/index.d.cts +1 -1
  356. package/dist/primitives/Credits/index.d.ts +1 -1
  357. package/dist/primitives/Dialog/index.d.cts +1 -1
  358. package/dist/primitives/Dialog/index.d.ts +1 -1
  359. package/dist/primitives/Drawer/index.cjs +34 -2
  360. package/dist/primitives/Drawer/index.cjs.map +1 -1
  361. package/dist/primitives/Drawer/index.d.cts +1 -1
  362. package/dist/primitives/Drawer/index.d.ts +1 -1
  363. package/dist/primitives/Drawer/index.js +34 -2
  364. package/dist/primitives/Drawer/index.js.map +1 -1
  365. package/dist/primitives/DropdownMenu/index.d.cts +1 -1
  366. package/dist/primitives/DropdownMenu/index.d.ts +1 -1
  367. package/dist/primitives/Empty/index.d.cts +1 -1
  368. package/dist/primitives/Empty/index.d.ts +1 -1
  369. package/dist/primitives/Field/index.d.cts +1 -1
  370. package/dist/primitives/Field/index.d.ts +1 -1
  371. package/dist/primitives/FileUpload/index.cjs +354 -0
  372. package/dist/primitives/FileUpload/index.cjs.map +1 -0
  373. package/dist/primitives/FileUpload/index.d.cts +2 -0
  374. package/dist/primitives/FileUpload/index.d.ts +2 -0
  375. package/dist/primitives/FileUpload/index.js +351 -0
  376. package/dist/primitives/FileUpload/index.js.map +1 -0
  377. package/dist/primitives/Form/index.d.cts +1 -1
  378. package/dist/primitives/Form/index.d.ts +1 -1
  379. package/dist/primitives/Heading/index.d.cts +1 -1
  380. package/dist/primitives/Heading/index.d.ts +1 -1
  381. package/dist/primitives/HoverCard/index.d.cts +1 -1
  382. package/dist/primitives/HoverCard/index.d.ts +1 -1
  383. package/dist/primitives/Icon/index.d.cts +1 -1
  384. package/dist/primitives/Icon/index.d.ts +1 -1
  385. package/dist/primitives/InfoBanner/index.d.cts +1 -1
  386. package/dist/primitives/InfoBanner/index.d.ts +1 -1
  387. package/dist/primitives/Input/index.d.cts +1 -1
  388. package/dist/primitives/Input/index.d.ts +1 -1
  389. package/dist/primitives/InputGroup/index.d.cts +1 -1
  390. package/dist/primitives/InputGroup/index.d.ts +1 -1
  391. package/dist/primitives/InputOtp/index.d.cts +1 -1
  392. package/dist/primitives/InputOtp/index.d.ts +1 -1
  393. package/dist/primitives/Item/index.d.cts +1 -1
  394. package/dist/primitives/Item/index.d.ts +1 -1
  395. package/dist/primitives/Kbd/index.d.cts +1 -1
  396. package/dist/primitives/Kbd/index.d.ts +1 -1
  397. package/dist/primitives/Label/index.d.cts +1 -1
  398. package/dist/primitives/Label/index.d.ts +1 -1
  399. package/dist/primitives/Link/index.d.cts +1 -1
  400. package/dist/primitives/Link/index.d.ts +1 -1
  401. package/dist/primitives/Logo/index.d.cts +1 -1
  402. package/dist/primitives/Logo/index.d.ts +1 -1
  403. package/dist/primitives/Menubar/index.d.cts +1 -1
  404. package/dist/primitives/Menubar/index.d.ts +1 -1
  405. package/dist/primitives/Mosaic/index.cjs +4 -0
  406. package/dist/primitives/Mosaic/index.d.cts +2 -0
  407. package/dist/primitives/Mosaic/index.d.ts +2 -0
  408. package/dist/primitives/Mosaic/index.js +2 -0
  409. package/dist/primitives/NativeSelect/index.d.cts +1 -1
  410. package/dist/primitives/NativeSelect/index.d.ts +1 -1
  411. package/dist/primitives/NavRail/index.d.cts +2 -2
  412. package/dist/primitives/NavRail/index.d.ts +2 -2
  413. package/dist/primitives/NavigationMenu/index.d.cts +1 -1
  414. package/dist/primitives/NavigationMenu/index.d.ts +1 -1
  415. package/dist/primitives/NotchedCard/index.cjs +390 -0
  416. package/dist/primitives/NotchedCard/index.cjs.map +1 -0
  417. package/dist/primitives/NotchedCard/index.d.cts +2 -0
  418. package/dist/primitives/NotchedCard/index.d.ts +2 -0
  419. package/dist/primitives/NotchedCard/index.js +385 -0
  420. package/dist/primitives/NotchedCard/index.js.map +1 -0
  421. package/dist/primitives/Pagination/index.d.cts +1 -1
  422. package/dist/primitives/Pagination/index.d.ts +1 -1
  423. package/dist/primitives/Popover/index.d.cts +1 -1
  424. package/dist/primitives/Popover/index.d.ts +1 -1
  425. package/dist/primitives/Progress/index.d.cts +1 -1
  426. package/dist/primitives/Progress/index.d.ts +1 -1
  427. package/dist/primitives/RadioGroup/index.cjs +1 -1
  428. package/dist/primitives/RadioGroup/index.cjs.map +1 -1
  429. package/dist/primitives/RadioGroup/index.d.cts +1 -1
  430. package/dist/primitives/RadioGroup/index.d.ts +1 -1
  431. package/dist/primitives/RadioGroup/index.js +1 -1
  432. package/dist/primitives/RadioGroup/index.js.map +1 -1
  433. package/dist/primitives/Resizable/index.d.cts +1 -1
  434. package/dist/primitives/Resizable/index.d.ts +1 -1
  435. package/dist/primitives/ScrollArea/index.d.cts +1 -1
  436. package/dist/primitives/ScrollArea/index.d.ts +1 -1
  437. package/dist/primitives/Select/index.d.cts +1 -1
  438. package/dist/primitives/Select/index.d.ts +1 -1
  439. package/dist/primitives/Sheet/index.cjs +34 -2
  440. package/dist/primitives/Sheet/index.cjs.map +1 -1
  441. package/dist/primitives/Sheet/index.d.cts +1 -1
  442. package/dist/primitives/Sheet/index.d.ts +1 -1
  443. package/dist/primitives/Sheet/index.js +34 -2
  444. package/dist/primitives/Sheet/index.js.map +1 -1
  445. package/dist/primitives/Sidebar/index.d.cts +1 -1
  446. package/dist/primitives/Sidebar/index.d.ts +1 -1
  447. package/dist/primitives/Skeleton/index.d.cts +1 -1
  448. package/dist/primitives/Skeleton/index.d.ts +1 -1
  449. package/dist/primitives/Slider/index.d.cts +1 -1
  450. package/dist/primitives/Slider/index.d.ts +1 -1
  451. package/dist/primitives/Sonner/index.d.cts +1 -1
  452. package/dist/primitives/Sonner/index.d.ts +1 -1
  453. package/dist/primitives/Spinner/index.d.cts +1 -1
  454. package/dist/primitives/Spinner/index.d.ts +1 -1
  455. package/dist/primitives/Switch/index.d.cts +1 -1
  456. package/dist/primitives/Switch/index.d.ts +1 -1
  457. package/dist/primitives/Table/index.d.cts +1 -1
  458. package/dist/primitives/Table/index.d.ts +1 -1
  459. package/dist/primitives/Tabs/index.d.cts +1 -1
  460. package/dist/primitives/Tabs/index.d.ts +1 -1
  461. package/dist/primitives/Text/index.d.cts +1 -1
  462. package/dist/primitives/Text/index.d.ts +1 -1
  463. package/dist/primitives/Textarea/index.d.cts +1 -1
  464. package/dist/primitives/Textarea/index.d.ts +1 -1
  465. package/dist/primitives/ThemeProvider/index.d.cts +1 -1
  466. package/dist/primitives/ThemeProvider/index.d.ts +1 -1
  467. package/dist/primitives/Toggle/index.d.cts +1 -1
  468. package/dist/primitives/Toggle/index.d.ts +1 -1
  469. package/dist/primitives/ToggleGroup/index.d.cts +1 -1
  470. package/dist/primitives/ToggleGroup/index.d.ts +1 -1
  471. package/dist/primitives/Tooltip/index.d.cts +1 -1
  472. package/dist/primitives/Tooltip/index.d.ts +1 -1
  473. package/dist/primitives/index.cjs +13 -2
  474. package/dist/primitives/index.d.cts +55 -51
  475. package/dist/primitives/index.d.ts +55 -51
  476. package/dist/primitives/index.js +7 -3
  477. package/package.json +1 -1
  478. package/dist/index47.d.cts.map +0 -1
  479. package/dist/index47.d.ts.map +0 -1
@@ -1,59 +1,40 @@
1
- import { t as Button } from "./index8.cjs";
2
- import { t as Input } from "./index32.cjs";
3
- import * as react_jsx_runtime103 from "react/jsx-runtime";
4
- import * as class_variance_authority_types9 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime234 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types21 from "class-variance-authority/types";
5
3
  import { VariantProps } from "class-variance-authority";
6
4
  import * as React from "react";
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_runtime103.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_runtime103.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_types21.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_runtime103.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_runtime103.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_runtime103.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_runtime103.JSX.Element;
37
+ }: InfoBannerProps): react_jsx_runtime234.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=index33.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index33.d.cts","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,eAA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AAA,GAAkB,KAAK,KAAA,CAAM,kCACvC,oBAAoB;EAxBhB;EAuBM,OAAA,CAAA,EAGE,YAHa,CAAA,OAGO,kBAHP,CAAA,CAAA,SAAA,CAAA;EAAA;OAAQ,EAAA,MAAM;;aACnB,CAAA,EAMJ,KAAA,CAAM,SANF;;MAEY,CAAA,EAMvB,KAAA,CAAM,SANiB;;aAIV,CAAA,EAAA,OAAA;;EAEE,OAAA,CAAA,EAAA,OAAA;EAUjB;EAAU,SAAA,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"}
package/dist/index33.d.ts CHANGED
@@ -1,59 +1,40 @@
1
- import { t as Button } from "./index8.js";
2
- import { t as Input } from "./index32.js";
3
1
  import { VariantProps } from "class-variance-authority";
4
2
  import * as React from "react";
5
- import * as react_jsx_runtime105 from "react/jsx-runtime";
6
- import * as class_variance_authority_types9 from "class-variance-authority/types";
3
+ import * as react_jsx_runtime153 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types13 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_runtime105.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_runtime105.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"`. */
6
+ //#region src/primitives/InfoBanner/InfoBanner.d.ts
7
+ declare const infoBannerVariants: (props?: ({
8
+ variant?: "warning" | "info" | "success" | "error" | "neutral" | null | undefined;
9
+ } & class_variance_authority_types13.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_runtime105.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_runtime105.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_runtime105.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_runtime105.JSX.Element;
37
+ }: InfoBannerProps): react_jsx_runtime153.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=index33.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index33.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,CA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A,SAAA,CAAA;EAAA;OAAQ,EAAA,MAAM;;aACnB,CAAA,EAMJ,KAAA,CAAM,SANF;;MAEY,CAAA,EAMvB,KAAA,CAAM,SANiB;;aAIV,CAAA,EAAA,OAAA;;EAEE,OAAA,CAAA,EAAA,OAAA;EAUjB;EAAU,SAAA,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_runtime204 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime133 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types14 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?: "default" | "sm" | "lg" | "xs" | null | undefined;
10
+ shape?: "default" | "round" | null | undefined;
11
+ } & class_variance_authority_types14.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_runtime204.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_runtime204.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_runtime204.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_runtime204.JSX.Element;
23
+ }: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime133.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=index34.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index34.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":"index34.d.cts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,gCAAA,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/index34.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_runtime315 from "react/jsx-runtime";
3
- import { OTPInput } from "input-otp";
3
+ import * as react_jsx_runtime152 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types12 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?: "xs" | "sm" | "lg" | "default" | null | undefined;
10
+ shape?: "default" | "round" | null | undefined;
11
+ } & class_variance_authority_types12.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_runtime315.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_runtime315.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_runtime315.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_runtime315.JSX.Element;
23
+ }: Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>): react_jsx_runtime152.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=index34.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index34.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":"index34.d.ts","names":[],"sources":["../src/primitives/Input/Input.tsx"],"mappings":";;;;;;cAOM,qBAiCL;;;;AAvCmC,CAAA,GAuCnC,gCAAA,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_runtime259 from "react/jsx-runtime";
3
- import * as class_variance_authority_types20 from "class-variance-authority/types";
1
+ import { t as Button } from "./index8.cjs";
2
+ import { t as Input } from "./index34.cjs";
3
+ import * as react_jsx_runtime85 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_runtime259.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_runtime259.JSX.Element;
18
- declare const itemVariants: (props?: ({
19
- variant?: "default" | "outline" | "muted" | null | undefined;
20
- size?: "default" | "sm" | null | undefined;
21
- } & class_variance_authority_types20.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_runtime259.JSX.Element;
35
- declare const itemMediaVariants: (props?: ({
36
- variant?: "default" | "icon" | "image" | null | undefined;
37
- } & class_variance_authority_types20.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_runtime85.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_runtime85.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_runtime259.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_runtime259.JSX.Element;
50
- /** Emphasised title line within `ItemContent`. */
51
- declare function ItemTitle({
52
- className,
53
- ...props
54
- }: React.ComponentProps<"div">): react_jsx_runtime259.JSX.Element;
55
- /** Muted, line-clamped supporting text within `ItemContent`. */
56
- declare function ItemDescription({
57
- className,
58
- ...props
59
- }: React.ComponentProps<"p">): react_jsx_runtime259.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_runtime85.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_runtime259.JSX.Element;
65
- /** Full-width header row spanning the top of an `Item`. */
66
- declare function ItemHeader({
46
+ }: React.ComponentProps<"span">): react_jsx_runtime85.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_runtime259.JSX.Element;
70
- /** Full-width footer row spanning the bottom of an `Item`. */
71
- declare function ItemFooter({
51
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime85.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_runtime259.JSX.Element;
56
+ }: React.ComponentProps<"textarea">): react_jsx_runtime85.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=index35.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index35.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,EA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AAA,CAAA,GAAA,CAAA,OApB3E;;iBAiCO,eAAA,CA7BP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6BgD,KAAA,CAAM,cA7BtD,CAAA,OA6B4E,KA7B5E,CAAA,CAAA,EA6BkF,mBAAA,CAAA,GAAA,CAAA,OA7BlF;;iBA2CO,kBAAA,CAzCK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCuC,KAAA,CAAM,cAzC7C,CAAA,UAAA,CAAA,CAAA,EAyCuE,mBAAA,CAAA,GAAA,CAAA,OAzCvE"}
package/dist/index35.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 "./index34.js";
2
3
  import { VariantProps } from "class-variance-authority";
3
4
  import * as React from "react";
4
- import * as react_jsx_runtime304 from "react/jsx-runtime";
5
- import * as class_variance_authority_types27 from "class-variance-authority/types";
5
+ import * as react_jsx_runtime145 from "react/jsx-runtime";
6
+ import * as class_variance_authority_types9 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_runtime304.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_runtime304.JSX.Element;
18
- declare const itemVariants: (props?: ({
19
- variant?: "default" | "outline" | "muted" | null | undefined;
20
- size?: "default" | "sm" | null | undefined;
21
- } & class_variance_authority_types27.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_runtime304.JSX.Element;
35
- declare const itemMediaVariants: (props?: ({
36
- variant?: "default" | "image" | "icon" | null | undefined;
37
- } & class_variance_authority_types27.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_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"`. */
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_runtime304.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_runtime304.JSX.Element;
50
- /** Emphasised title line within `ItemContent`. */
51
- declare function ItemTitle({
52
- className,
53
- ...props
54
- }: React.ComponentProps<"div">): react_jsx_runtime304.JSX.Element;
55
- /** Muted, line-clamped supporting text within `ItemContent`. */
56
- declare function ItemDescription({
57
- className,
58
- ...props
59
- }: React.ComponentProps<"p">): react_jsx_runtime304.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_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({
62
44
  className,
63
45
  ...props
64
- }: React.ComponentProps<"div">): react_jsx_runtime304.JSX.Element;
65
- /** Full-width header row spanning the top of an `Item`. */
66
- declare function ItemHeader({
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({
67
49
  className,
68
50
  ...props
69
- }: React.ComponentProps<"div">): react_jsx_runtime304.JSX.Element;
70
- /** Full-width footer row spanning the bottom of an `Item`. */
71
- declare function ItemFooter({
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({
72
54
  className,
73
55
  ...props
74
- }: React.ComponentProps<"div">): react_jsx_runtime304.JSX.Element;
56
+ }: React.ComponentProps<"textarea">): react_jsx_runtime145.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=index35.d.ts.map